// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.Yandex.Outputs
{

    [OutputType]
    public sealed class GetComputeInstanceGroupInstanceTemplateNetworkInterfaceResult
    {
        /// <summary>
        /// List of dns records.  The structure is documented below.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetComputeInstanceGroupInstanceTemplateNetworkInterfaceDnsRecordResult> DnsRecords;
        /// <summary>
        /// The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
        /// </summary>
        public readonly string IpAddress;
        /// <summary>
        /// Is IPv4 address assigned.
        /// </summary>
        public readonly bool Ipv4;
        public readonly bool Ipv6;
        /// <summary>
        /// Manual set static IPv6 address.
        /// </summary>
        public readonly string Ipv6Address;
        /// <summary>
        /// List of ipv6 dns records.  The structure is documented below.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetComputeInstanceGroupInstanceTemplateNetworkInterfaceIpv6DnsRecordResult> Ipv6DnsRecords;
        /// <summary>
        /// The instance's public address for accessing the internet over NAT.
        /// </summary>
        public readonly bool Nat;
        /// <summary>
        /// List of nat dns records.  The structure is documented below.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetComputeInstanceGroupInstanceTemplateNetworkInterfaceNatDnsRecordResult> NatDnsRecords;
        /// <summary>
        /// The public IP address of the instance.
        /// </summary>
        public readonly string NatIpAddress;
        /// <summary>
        /// The ID of the network.
        /// </summary>
        public readonly string NetworkId;
        /// <summary>
        /// Security group ids for network interface.
        /// </summary>
        public readonly ImmutableArray<string> SecurityGroupIds;
        /// <summary>
        /// The IDs of the subnets.
        /// </summary>
        public readonly ImmutableArray<string> SubnetIds;

        [OutputConstructor]
        private GetComputeInstanceGroupInstanceTemplateNetworkInterfaceResult(
            ImmutableArray<Outputs.GetComputeInstanceGroupInstanceTemplateNetworkInterfaceDnsRecordResult> dnsRecords,

            string ipAddress,

            bool ipv4,

            bool ipv6,

            string ipv6Address,

            ImmutableArray<Outputs.GetComputeInstanceGroupInstanceTemplateNetworkInterfaceIpv6DnsRecordResult> ipv6DnsRecords,

            bool nat,

            ImmutableArray<Outputs.GetComputeInstanceGroupInstanceTemplateNetworkInterfaceNatDnsRecordResult> natDnsRecords,

            string natIpAddress,

            string networkId,

            ImmutableArray<string> securityGroupIds,

            ImmutableArray<string> subnetIds)
        {
            DnsRecords = dnsRecords;
            IpAddress = ipAddress;
            Ipv4 = ipv4;
            Ipv6 = ipv6;
            Ipv6Address = ipv6Address;
            Ipv6DnsRecords = ipv6DnsRecords;
            Nat = nat;
            NatDnsRecords = natDnsRecords;
            NatIpAddress = natIpAddress;
            NetworkId = networkId;
            SecurityGroupIds = securityGroupIds;
            SubnetIds = subnetIds;
        }
    }
}
