1. Packages
  2. Ibm Provider
  3. API Docs
  4. getIsInstanceNetworkInterfaces
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getIsInstanceNetworkInterfaces

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Retrieve information of an exisitng network interfaces collection. For more information, about instance network interfaces collection, see managing an network interfaces.

    Note: VPC infrastructure services are a regional specific based endpoint, by default targets to us-south. Please make sure to target right region in the provider block as shown in the provider.tf file, if VPC service is created in region other than us-south.

    provider.tf

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
        }
    }
    
    {}
    

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fs from "fs";
    import * as ibm from "@pulumi/ibm";
    
    const exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
    const exampleIsSubnet = new ibm.IsSubnet("exampleIsSubnet", {
        vpc: exampleIsVpc.isVpcId,
        zone: "us-south-1",
        ipv4CidrBlock: "10.240.0.0/24",
    });
    const exampleIsSshKey = new ibm.IsSshKey("exampleIsSshKey", {publicKey: fs.readFileSync("~/.ssh/id_rsa.pub", "utf8")});
    const exampleIsInstance = new ibm.IsInstance("exampleIsInstance", {
        image: "a7a0626c-f97e-4180-afbe-0331ec62f32a",
        profile: "bx2-2x8",
        primaryNetworkInterface: {
            subnet: exampleIsSubnet.isSubnetId,
        },
        networkInterfaces: [{
            name: "eth1",
            subnet: exampleIsSubnet.isSubnetId,
        }],
        vpc: exampleIsVpc.isVpcId,
        zone: "us-south-1",
        keys: [exampleIsSshKey.isSshKeyId],
    });
    const exampleIsInstanceNetworkInterfaces = ibm.getIsInstanceNetworkInterfacesOutput({
        instanceName: exampleIsInstance.name,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example_is_vpc = ibm.IsVpc("exampleIsVpc")
    example_is_subnet = ibm.IsSubnet("exampleIsSubnet",
        vpc=example_is_vpc.is_vpc_id,
        zone="us-south-1",
        ipv4_cidr_block="10.240.0.0/24")
    example_is_ssh_key = ibm.IsSshKey("exampleIsSshKey", public_key=(lambda path: open(path).read())("~/.ssh/id_rsa.pub"))
    example_is_instance = ibm.IsInstance("exampleIsInstance",
        image="a7a0626c-f97e-4180-afbe-0331ec62f32a",
        profile="bx2-2x8",
        primary_network_interface={
            "subnet": example_is_subnet.is_subnet_id,
        },
        network_interfaces=[{
            "name": "eth1",
            "subnet": example_is_subnet.is_subnet_id,
        }],
        vpc=example_is_vpc.is_vpc_id,
        zone="us-south-1",
        keys=[example_is_ssh_key.is_ssh_key_id])
    example_is_instance_network_interfaces = ibm.get_is_instance_network_interfaces_output(instance_name=example_is_instance.name)
    
    package main
    
    import (
    	"os"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func readFileOrPanic(path string) pulumi.StringPtrInput {
    	data, err := os.ReadFile(path)
    	if err != nil {
    		panic(err.Error())
    	}
    	return pulumi.String(string(data))
    }
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
    		if err != nil {
    			return err
    		}
    		exampleIsSubnet, err := ibm.NewIsSubnet(ctx, "exampleIsSubnet", &ibm.IsSubnetArgs{
    			Vpc:           exampleIsVpc.IsVpcId,
    			Zone:          pulumi.String("us-south-1"),
    			Ipv4CidrBlock: pulumi.String("10.240.0.0/24"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleIsSshKey, err := ibm.NewIsSshKey(ctx, "exampleIsSshKey", &ibm.IsSshKeyArgs{
    			PublicKey: pulumi.String(readFileOrPanic("~/.ssh/id_rsa.pub")),
    		})
    		if err != nil {
    			return err
    		}
    		exampleIsInstance, err := ibm.NewIsInstance(ctx, "exampleIsInstance", &ibm.IsInstanceArgs{
    			Image:   pulumi.String("a7a0626c-f97e-4180-afbe-0331ec62f32a"),
    			Profile: pulumi.String("bx2-2x8"),
    			PrimaryNetworkInterface: &ibm.IsInstancePrimaryNetworkInterfaceArgs{
    				Subnet: exampleIsSubnet.IsSubnetId,
    			},
    			NetworkInterfaces: ibm.IsInstanceNetworkInterfaceTypeArray{
    				&ibm.IsInstanceNetworkInterfaceTypeArgs{
    					Name:   pulumi.String("eth1"),
    					Subnet: exampleIsSubnet.IsSubnetId,
    				},
    			},
    			Vpc:  exampleIsVpc.IsVpcId,
    			Zone: pulumi.String("us-south-1"),
    			Keys: pulumi.StringArray{
    				exampleIsSshKey.IsSshKeyId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_ = ibm.GetIsInstanceNetworkInterfacesOutput(ctx, ibm.GetIsInstanceNetworkInterfacesOutputArgs{
    			InstanceName: exampleIsInstance.Name,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");
    
        var exampleIsSubnet = new Ibm.IsSubnet("exampleIsSubnet", new()
        {
            Vpc = exampleIsVpc.IsVpcId,
            Zone = "us-south-1",
            Ipv4CidrBlock = "10.240.0.0/24",
        });
    
        var exampleIsSshKey = new Ibm.IsSshKey("exampleIsSshKey", new()
        {
            PublicKey = File.ReadAllText("~/.ssh/id_rsa.pub"),
        });
    
        var exampleIsInstance = new Ibm.IsInstance("exampleIsInstance", new()
        {
            Image = "a7a0626c-f97e-4180-afbe-0331ec62f32a",
            Profile = "bx2-2x8",
            PrimaryNetworkInterface = new Ibm.Inputs.IsInstancePrimaryNetworkInterfaceArgs
            {
                Subnet = exampleIsSubnet.IsSubnetId,
            },
            NetworkInterfaces = new[]
            {
                new Ibm.Inputs.IsInstanceNetworkInterfaceArgs
                {
                    Name = "eth1",
                    Subnet = exampleIsSubnet.IsSubnetId,
                },
            },
            Vpc = exampleIsVpc.IsVpcId,
            Zone = "us-south-1",
            Keys = new[]
            {
                exampleIsSshKey.IsSshKeyId,
            },
        });
    
        var exampleIsInstanceNetworkInterfaces = Ibm.GetIsInstanceNetworkInterfaces.Invoke(new()
        {
            InstanceName = exampleIsInstance.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IsVpc;
    import com.pulumi.ibm.IsSubnet;
    import com.pulumi.ibm.IsSubnetArgs;
    import com.pulumi.ibm.IsSshKey;
    import com.pulumi.ibm.IsSshKeyArgs;
    import com.pulumi.ibm.IsInstance;
    import com.pulumi.ibm.IsInstanceArgs;
    import com.pulumi.ibm.inputs.IsInstancePrimaryNetworkInterfaceArgs;
    import com.pulumi.ibm.inputs.IsInstanceNetworkInterfaceArgs;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetIsInstanceNetworkInterfacesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleIsVpc = new IsVpc("exampleIsVpc");
    
            var exampleIsSubnet = new IsSubnet("exampleIsSubnet", IsSubnetArgs.builder()
                .vpc(exampleIsVpc.isVpcId())
                .zone("us-south-1")
                .ipv4CidrBlock("10.240.0.0/24")
                .build());
    
            var exampleIsSshKey = new IsSshKey("exampleIsSshKey", IsSshKeyArgs.builder()
                .publicKey(Files.readString(Paths.get("~/.ssh/id_rsa.pub")))
                .build());
    
            var exampleIsInstance = new IsInstance("exampleIsInstance", IsInstanceArgs.builder()
                .image("a7a0626c-f97e-4180-afbe-0331ec62f32a")
                .profile("bx2-2x8")
                .primaryNetworkInterface(IsInstancePrimaryNetworkInterfaceArgs.builder()
                    .subnet(exampleIsSubnet.isSubnetId())
                    .build())
                .networkInterfaces(IsInstanceNetworkInterfaceArgs.builder()
                    .name("eth1")
                    .subnet(exampleIsSubnet.isSubnetId())
                    .build())
                .vpc(exampleIsVpc.isVpcId())
                .zone("us-south-1")
                .keys(exampleIsSshKey.isSshKeyId())
                .build());
    
            final var exampleIsInstanceNetworkInterfaces = IbmFunctions.getIsInstanceNetworkInterfaces(GetIsInstanceNetworkInterfacesArgs.builder()
                .instanceName(exampleIsInstance.name())
                .build());
    
        }
    }
    
    resources:
      exampleIsVpc:
        type: ibm:IsVpc
      exampleIsSubnet:
        type: ibm:IsSubnet
        properties:
          vpc: ${exampleIsVpc.isVpcId}
          zone: us-south-1
          ipv4CidrBlock: 10.240.0.0/24
      exampleIsSshKey:
        type: ibm:IsSshKey
        properties:
          publicKey:
            fn::readFile: ~/.ssh/id_rsa.pub
      exampleIsInstance:
        type: ibm:IsInstance
        properties:
          image: a7a0626c-f97e-4180-afbe-0331ec62f32a
          profile: bx2-2x8
          primaryNetworkInterface:
            subnet: ${exampleIsSubnet.isSubnetId}
          networkInterfaces:
            - name: eth1
              subnet: ${exampleIsSubnet.isSubnetId}
          vpc: ${exampleIsVpc.isVpcId}
          zone: us-south-1
          keys:
            - ${exampleIsSshKey.isSshKeyId}
    variables:
      exampleIsInstanceNetworkInterfaces:
        fn::invoke:
          function: ibm:getIsInstanceNetworkInterfaces
          arguments:
            instanceName: ${exampleIsInstance.name}
    

    Using getIsInstanceNetworkInterfaces

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getIsInstanceNetworkInterfaces(args: GetIsInstanceNetworkInterfacesArgs, opts?: InvokeOptions): Promise<GetIsInstanceNetworkInterfacesResult>
    function getIsInstanceNetworkInterfacesOutput(args: GetIsInstanceNetworkInterfacesOutputArgs, opts?: InvokeOptions): Output<GetIsInstanceNetworkInterfacesResult>
    def get_is_instance_network_interfaces(id: Optional[str] = None,
                                           instance_name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetIsInstanceNetworkInterfacesResult
    def get_is_instance_network_interfaces_output(id: Optional[pulumi.Input[str]] = None,
                                           instance_name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetIsInstanceNetworkInterfacesResult]
    func GetIsInstanceNetworkInterfaces(ctx *Context, args *GetIsInstanceNetworkInterfacesArgs, opts ...InvokeOption) (*GetIsInstanceNetworkInterfacesResult, error)
    func GetIsInstanceNetworkInterfacesOutput(ctx *Context, args *GetIsInstanceNetworkInterfacesOutputArgs, opts ...InvokeOption) GetIsInstanceNetworkInterfacesResultOutput

    > Note: This function is named GetIsInstanceNetworkInterfaces in the Go SDK.

    public static class GetIsInstanceNetworkInterfaces 
    {
        public static Task<GetIsInstanceNetworkInterfacesResult> InvokeAsync(GetIsInstanceNetworkInterfacesArgs args, InvokeOptions? opts = null)
        public static Output<GetIsInstanceNetworkInterfacesResult> Invoke(GetIsInstanceNetworkInterfacesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIsInstanceNetworkInterfacesResult> getIsInstanceNetworkInterfaces(GetIsInstanceNetworkInterfacesArgs args, InvokeOptions options)
    public static Output<GetIsInstanceNetworkInterfacesResult> getIsInstanceNetworkInterfaces(GetIsInstanceNetworkInterfacesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getIsInstanceNetworkInterfaces:getIsInstanceNetworkInterfaces
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceName string
    The name of an instance.
    Id string
    (String) The unique identifier for this subnet.
    InstanceName string
    The name of an instance.
    Id string
    (String) The unique identifier for this subnet.
    instanceName String
    The name of an instance.
    id String
    (String) The unique identifier for this subnet.
    instanceName string
    The name of an instance.
    id string
    (String) The unique identifier for this subnet.
    instance_name str
    The name of an instance.
    id str
    (String) The unique identifier for this subnet.
    instanceName String
    The name of an instance.
    id String
    (String) The unique identifier for this subnet.

    getIsInstanceNetworkInterfaces Result

    The following output properties are available:

    Id string
    (String) The unique identifier for this subnet.
    InstanceName string
    NetworkInterfaces List<GetIsInstanceNetworkInterfacesNetworkInterface>
    (List) Collection of network interfaces. Nested network_interfaces blocks have the following structure:
    TotalCount double
    Id string
    (String) The unique identifier for this subnet.
    InstanceName string
    NetworkInterfaces []GetIsInstanceNetworkInterfacesNetworkInterface
    (List) Collection of network interfaces. Nested network_interfaces blocks have the following structure:
    TotalCount float64
    id String
    (String) The unique identifier for this subnet.
    instanceName String
    networkInterfaces List<GetIsInstanceNetworkInterfacesNetworkInterface>
    (List) Collection of network interfaces. Nested network_interfaces blocks have the following structure:
    totalCount Double
    id string
    (String) The unique identifier for this subnet.
    instanceName string
    networkInterfaces GetIsInstanceNetworkInterfacesNetworkInterface[]
    (List) Collection of network interfaces. Nested network_interfaces blocks have the following structure:
    totalCount number
    id str
    (String) The unique identifier for this subnet.
    instance_name str
    network_interfaces Sequence[GetIsInstanceNetworkInterfacesNetworkInterface]
    (List) Collection of network interfaces. Nested network_interfaces blocks have the following structure:
    total_count float
    id String
    (String) The unique identifier for this subnet.
    instanceName String
    networkInterfaces List<Property Map>
    (List) Collection of network interfaces. Nested network_interfaces blocks have the following structure:
    totalCount Number

    Supporting Types

    GetIsInstanceNetworkInterfacesNetworkInterface

    AllowIpSpoofing bool
    (Boolean) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    CreatedAt string
    (String) The date and time that the network interface was created.
    FloatingIps List<GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIp>
    (List) The floating IPs associated with this network interface.
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    (String) The user-defined name for this subnet.
    PortSpeed double
    (Integer) The network interface port speed in Mbps.
    PrimaryIps List<GetIsInstanceNetworkInterfacesNetworkInterfacePrimaryIp>
    (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
    PrimaryIpv4Address string
    (String) The primary IPv4 address. Same as primary_ip.0.address
    ResourceType string
    (String) The resource type.
    SecurityGroups List<GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroup>
    (List) Collection of security groups.
    Status string
    (String) The status of the network interface.
    Subnets List<GetIsInstanceNetworkInterfacesNetworkInterfaceSubnet>
    (List) The associated subnet. Nested subnet blocks have the following structure:
    Type string
    (String) The type of this network interface as it relates to an instance.
    AllowIpSpoofing bool
    (Boolean) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    CreatedAt string
    (String) The date and time that the network interface was created.
    FloatingIps []GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIp
    (List) The floating IPs associated with this network interface.
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    (String) The user-defined name for this subnet.
    PortSpeed float64
    (Integer) The network interface port speed in Mbps.
    PrimaryIps []GetIsInstanceNetworkInterfacesNetworkInterfacePrimaryIp
    (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
    PrimaryIpv4Address string
    (String) The primary IPv4 address. Same as primary_ip.0.address
    ResourceType string
    (String) The resource type.
    SecurityGroups []GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroup
    (List) Collection of security groups.
    Status string
    (String) The status of the network interface.
    Subnets []GetIsInstanceNetworkInterfacesNetworkInterfaceSubnet
    (List) The associated subnet. Nested subnet blocks have the following structure:
    Type string
    (String) The type of this network interface as it relates to an instance.
    allowIpSpoofing Boolean
    (Boolean) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    createdAt String
    (String) The date and time that the network interface was created.
    floatingIps List<GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIp>
    (List) The floating IPs associated with this network interface.
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    (String) The user-defined name for this subnet.
    portSpeed Double
    (Integer) The network interface port speed in Mbps.
    primaryIps List<GetIsInstanceNetworkInterfacesNetworkInterfacePrimaryIp>
    (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
    primaryIpv4Address String
    (String) The primary IPv4 address. Same as primary_ip.0.address
    resourceType String
    (String) The resource type.
    securityGroups List<GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroup>
    (List) Collection of security groups.
    status String
    (String) The status of the network interface.
    subnets List<GetIsInstanceNetworkInterfacesNetworkInterfaceSubnet>
    (List) The associated subnet. Nested subnet blocks have the following structure:
    type String
    (String) The type of this network interface as it relates to an instance.
    allowIpSpoofing boolean
    (Boolean) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    createdAt string
    (String) The date and time that the network interface was created.
    floatingIps GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIp[]
    (List) The floating IPs associated with this network interface.
    href string
    (String) The URL for this subnet.
    id string
    (String) The unique identifier for this subnet.
    name string
    (String) The user-defined name for this subnet.
    portSpeed number
    (Integer) The network interface port speed in Mbps.
    primaryIps GetIsInstanceNetworkInterfacesNetworkInterfacePrimaryIp[]
    (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
    primaryIpv4Address string
    (String) The primary IPv4 address. Same as primary_ip.0.address
    resourceType string
    (String) The resource type.
    securityGroups GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroup[]
    (List) Collection of security groups.
    status string
    (String) The status of the network interface.
    subnets GetIsInstanceNetworkInterfacesNetworkInterfaceSubnet[]
    (List) The associated subnet. Nested subnet blocks have the following structure:
    type string
    (String) The type of this network interface as it relates to an instance.
    allow_ip_spoofing bool
    (Boolean) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    created_at str
    (String) The date and time that the network interface was created.
    floating_ips Sequence[GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIp]
    (List) The floating IPs associated with this network interface.
    href str
    (String) The URL for this subnet.
    id str
    (String) The unique identifier for this subnet.
    name str
    (String) The user-defined name for this subnet.
    port_speed float
    (Integer) The network interface port speed in Mbps.
    primary_ips Sequence[GetIsInstanceNetworkInterfacesNetworkInterfacePrimaryIp]
    (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
    primary_ipv4_address str
    (String) The primary IPv4 address. Same as primary_ip.0.address
    resource_type str
    (String) The resource type.
    security_groups Sequence[GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroup]
    (List) Collection of security groups.
    status str
    (String) The status of the network interface.
    subnets Sequence[GetIsInstanceNetworkInterfacesNetworkInterfaceSubnet]
    (List) The associated subnet. Nested subnet blocks have the following structure:
    type str
    (String) The type of this network interface as it relates to an instance.
    allowIpSpoofing Boolean
    (Boolean) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    createdAt String
    (String) The date and time that the network interface was created.
    floatingIps List<Property Map>
    (List) The floating IPs associated with this network interface.
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    (String) The user-defined name for this subnet.
    portSpeed Number
    (Integer) The network interface port speed in Mbps.
    primaryIps List<Property Map>
    (List) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP.
    primaryIpv4Address String
    (String) The primary IPv4 address. Same as primary_ip.0.address
    resourceType String
    (String) The resource type.
    securityGroups List<Property Map>
    (List) Collection of security groups.
    status String
    (String) The status of the network interface.
    subnets List<Property Map>
    (List) The associated subnet. Nested subnet blocks have the following structure:
    type String
    (String) The type of this network interface as it relates to an instance.

    GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIp

    Address string
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    Crn string
    (String) The CRN for this subnet.
    Deleteds List<GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIpDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    (String) The user-defined name for this subnet.
    Address string
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    Crn string
    (String) The CRN for this subnet.
    Deleteds []GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIpDeleted
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    (String) The user-defined name for this subnet.
    address String
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    crn String
    (String) The CRN for this subnet.
    deleteds List<GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIpDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    (String) The user-defined name for this subnet.
    address string
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    crn string
    (String) The CRN for this subnet.
    deleteds GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIpDeleted[]
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href string
    (String) The URL for this subnet.
    id string
    (String) The unique identifier for this subnet.
    name string
    (String) The user-defined name for this subnet.
    address str
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    crn str
    (String) The CRN for this subnet.
    deleteds Sequence[GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIpDeleted]
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href str
    (String) The URL for this subnet.
    id str
    (String) The unique identifier for this subnet.
    name str
    (String) The user-defined name for this subnet.
    address String
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    crn String
    (String) The CRN for this subnet.
    deleteds List<Property Map>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    (String) The user-defined name for this subnet.

    GetIsInstanceNetworkInterfacesNetworkInterfaceFloatingIpDeleted

    MoreInfo string
    (String) Link to documentation about deleted resources.
    MoreInfo string
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.
    moreInfo string
    (String) Link to documentation about deleted resources.
    more_info str
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.

    GetIsInstanceNetworkInterfacesNetworkInterfacePrimaryIp

    Address string
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    Href string
    (String) The URL for this subnet.
    Name string
    (String) The user-defined name for this subnet.
    ReservedIp string
    (String) The unique identifier for this reserved IP
    ResourceType string
    (String) The resource type.
    Address string
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    Href string
    (String) The URL for this subnet.
    Name string
    (String) The user-defined name for this subnet.
    ReservedIp string
    (String) The unique identifier for this reserved IP
    ResourceType string
    (String) The resource type.
    address String
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    href String
    (String) The URL for this subnet.
    name String
    (String) The user-defined name for this subnet.
    reservedIp String
    (String) The unique identifier for this reserved IP
    resourceType String
    (String) The resource type.
    address string
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    href string
    (String) The URL for this subnet.
    name string
    (String) The user-defined name for this subnet.
    reservedIp string
    (String) The unique identifier for this reserved IP
    resourceType string
    (String) The resource type.
    address str
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    href str
    (String) The URL for this subnet.
    name str
    (String) The user-defined name for this subnet.
    reserved_ip str
    (String) The unique identifier for this reserved IP
    resource_type str
    (String) The resource type.
    address String
    (String) The IP address of the reserved IP. Same as primary_ipv4_address
    href String
    (String) The URL for this subnet.
    name String
    (String) The user-defined name for this subnet.
    reservedIp String
    (String) The unique identifier for this reserved IP
    resourceType String
    (String) The resource type.

    GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroup

    Crn string
    (String) The CRN for this subnet.
    Deleteds List<GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroupDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    (String) The user-defined name for this subnet.
    Crn string
    (String) The CRN for this subnet.
    Deleteds []GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroupDeleted
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    (String) The user-defined name for this subnet.
    crn String
    (String) The CRN for this subnet.
    deleteds List<GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroupDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    (String) The user-defined name for this subnet.
    crn string
    (String) The CRN for this subnet.
    deleteds GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroupDeleted[]
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href string
    (String) The URL for this subnet.
    id string
    (String) The unique identifier for this subnet.
    name string
    (String) The user-defined name for this subnet.
    crn str
    (String) The CRN for this subnet.
    deleteds Sequence[GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroupDeleted]
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href str
    (String) The URL for this subnet.
    id str
    (String) The unique identifier for this subnet.
    name str
    (String) The user-defined name for this subnet.
    crn String
    (String) The CRN for this subnet.
    deleteds List<Property Map>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    (String) The user-defined name for this subnet.

    GetIsInstanceNetworkInterfacesNetworkInterfaceSecurityGroupDeleted

    MoreInfo string
    (String) Link to documentation about deleted resources.
    MoreInfo string
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.
    moreInfo string
    (String) Link to documentation about deleted resources.
    more_info str
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.

    GetIsInstanceNetworkInterfacesNetworkInterfaceSubnet

    Crn string
    (String) The CRN for this subnet.
    Deleteds List<GetIsInstanceNetworkInterfacesNetworkInterfaceSubnetDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    (String) The user-defined name for this subnet.
    Crn string
    (String) The CRN for this subnet.
    Deleteds []GetIsInstanceNetworkInterfacesNetworkInterfaceSubnetDeleted
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    Href string
    (String) The URL for this subnet.
    Id string
    (String) The unique identifier for this subnet.
    Name string
    (String) The user-defined name for this subnet.
    crn String
    (String) The CRN for this subnet.
    deleteds List<GetIsInstanceNetworkInterfacesNetworkInterfaceSubnetDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    (String) The user-defined name for this subnet.
    crn string
    (String) The CRN for this subnet.
    deleteds GetIsInstanceNetworkInterfacesNetworkInterfaceSubnetDeleted[]
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href string
    (String) The URL for this subnet.
    id string
    (String) The unique identifier for this subnet.
    name string
    (String) The user-defined name for this subnet.
    crn str
    (String) The CRN for this subnet.
    deleteds Sequence[GetIsInstanceNetworkInterfacesNetworkInterfaceSubnetDeleted]
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href str
    (String) The URL for this subnet.
    id str
    (String) The unique identifier for this subnet.
    name str
    (String) The user-defined name for this subnet.
    crn String
    (String) The CRN for this subnet.
    deleteds List<Property Map>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href String
    (String) The URL for this subnet.
    id String
    (String) The unique identifier for this subnet.
    name String
    (String) The user-defined name for this subnet.

    GetIsInstanceNetworkInterfacesNetworkInterfaceSubnetDeleted

    MoreInfo string
    (String) Link to documentation about deleted resources.
    MoreInfo string
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.
    moreInfo string
    (String) Link to documentation about deleted resources.
    more_info str
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud