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

ibm.IsInstanceNetworkAttachment

Explore with Pulumi AI

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

    Create, update, and delete Instance NetworkAttachment with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const example = new ibm.IsInstanceNetworkAttachment("example", {
        instance: "<instance_id>",
        virtualNetworkInterface: {
            id: "<virtual_network_interface_id>",
        },
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example = ibm.IsInstanceNetworkAttachment("example",
        instance="<instance_id>",
        virtual_network_interface={
            "id": "<virtual_network_interface_id>",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewIsInstanceNetworkAttachment(ctx, "example", &ibm.IsInstanceNetworkAttachmentArgs{
    			Instance: pulumi.String("<instance_id>"),
    			VirtualNetworkInterface: &ibm.IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs{
    				Id: pulumi.String("<virtual_network_interface_id>"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Ibm.IsInstanceNetworkAttachment("example", new()
        {
            Instance = "<instance_id>",
            VirtualNetworkInterface = new Ibm.Inputs.IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs
            {
                Id = "<virtual_network_interface_id>",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IsInstanceNetworkAttachment;
    import com.pulumi.ibm.IsInstanceNetworkAttachmentArgs;
    import com.pulumi.ibm.inputs.IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs;
    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 example = new IsInstanceNetworkAttachment("example", IsInstanceNetworkAttachmentArgs.builder()
                .instance("<instance_id>")
                .virtualNetworkInterface(IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
                    .id("<virtual_network_interface_id>")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: ibm:IsInstanceNetworkAttachment
        properties:
          instance: <instance_id>
          virtualNetworkInterface:
            id: <virtual_network_interface_id>
    

    Create IsInstanceNetworkAttachment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IsInstanceNetworkAttachment(name: string, args: IsInstanceNetworkAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def IsInstanceNetworkAttachment(resource_name: str,
                                    args: IsInstanceNetworkAttachmentInitArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def IsInstanceNetworkAttachment(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    instance: Optional[str] = None,
                                    is_instance_network_attachment_id: Optional[str] = None,
                                    name: Optional[str] = None,
                                    virtual_network_interface: Optional[IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs] = None)
    func NewIsInstanceNetworkAttachment(ctx *Context, name string, args IsInstanceNetworkAttachmentArgs, opts ...ResourceOption) (*IsInstanceNetworkAttachment, error)
    public IsInstanceNetworkAttachment(string name, IsInstanceNetworkAttachmentArgs args, CustomResourceOptions? opts = null)
    public IsInstanceNetworkAttachment(String name, IsInstanceNetworkAttachmentArgs args)
    public IsInstanceNetworkAttachment(String name, IsInstanceNetworkAttachmentArgs args, CustomResourceOptions options)
    
    type: ibm:IsInstanceNetworkAttachment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IsInstanceNetworkAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IsInstanceNetworkAttachmentInitArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IsInstanceNetworkAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IsInstanceNetworkAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IsInstanceNetworkAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var isInstanceNetworkAttachmentResource = new Ibm.IsInstanceNetworkAttachment("isInstanceNetworkAttachmentResource", new()
    {
        Instance = "string",
        IsInstanceNetworkAttachmentId = "string",
        Name = "string",
        VirtualNetworkInterface = new Ibm.Inputs.IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs
        {
            AllowIpSpoofing = false,
            AutoDelete = false,
            EnableInfrastructureNat = false,
            Id = "string",
            Ips = new[]
            {
                new Ibm.Inputs.IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpArgs
                {
                    ReservedIp = "string",
                    Address = "string",
                    AutoDelete = false,
                    Deleteds = new[]
                    {
                        new Ibm.Inputs.IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs
                        {
                            MoreInfo = "string",
                        },
                    },
                    Href = "string",
                    Name = "string",
                    ResourceType = "string",
                },
            },
            Name = "string",
            PrimaryIps = new[]
            {
                new Ibm.Inputs.IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs
                {
                    Address = "string",
                    AutoDelete = false,
                    Deleteds = new[]
                    {
                        new Ibm.Inputs.IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs
                        {
                            MoreInfo = "string",
                        },
                    },
                    Href = "string",
                    Name = "string",
                    ReservedIp = "string",
                    ResourceType = "string",
                },
            },
            ProtocolStateFilteringMode = "string",
            ResourceGroup = "string",
            ResourceType = "string",
            SecurityGroups = new[]
            {
                "string",
            },
            Subnet = "string",
        },
    });
    
    example, err := ibm.NewIsInstanceNetworkAttachment(ctx, "isInstanceNetworkAttachmentResource", &ibm.IsInstanceNetworkAttachmentArgs{
    	Instance:                      pulumi.String("string"),
    	IsInstanceNetworkAttachmentId: pulumi.String("string"),
    	Name:                          pulumi.String("string"),
    	VirtualNetworkInterface: &ibm.IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs{
    		AllowIpSpoofing:         pulumi.Bool(false),
    		AutoDelete:              pulumi.Bool(false),
    		EnableInfrastructureNat: pulumi.Bool(false),
    		Id:                      pulumi.String("string"),
    		Ips: ibm.IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpArray{
    			&ibm.IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpArgs{
    				ReservedIp: pulumi.String("string"),
    				Address:    pulumi.String("string"),
    				AutoDelete: pulumi.Bool(false),
    				Deleteds: ibm.IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpDeletedArray{
    					&ibm.IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs{
    						MoreInfo: pulumi.String("string"),
    					},
    				},
    				Href:         pulumi.String("string"),
    				Name:         pulumi.String("string"),
    				ResourceType: pulumi.String("string"),
    			},
    		},
    		Name: pulumi.String("string"),
    		PrimaryIps: ibm.IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpArray{
    			&ibm.IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs{
    				Address:    pulumi.String("string"),
    				AutoDelete: pulumi.Bool(false),
    				Deleteds: ibm.IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArray{
    					&ibm.IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs{
    						MoreInfo: pulumi.String("string"),
    					},
    				},
    				Href:         pulumi.String("string"),
    				Name:         pulumi.String("string"),
    				ReservedIp:   pulumi.String("string"),
    				ResourceType: pulumi.String("string"),
    			},
    		},
    		ProtocolStateFilteringMode: pulumi.String("string"),
    		ResourceGroup:              pulumi.String("string"),
    		ResourceType:               pulumi.String("string"),
    		SecurityGroups: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Subnet: pulumi.String("string"),
    	},
    })
    
    var isInstanceNetworkAttachmentResource = new IsInstanceNetworkAttachment("isInstanceNetworkAttachmentResource", IsInstanceNetworkAttachmentArgs.builder()
        .instance("string")
        .isInstanceNetworkAttachmentId("string")
        .name("string")
        .virtualNetworkInterface(IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs.builder()
            .allowIpSpoofing(false)
            .autoDelete(false)
            .enableInfrastructureNat(false)
            .id("string")
            .ips(IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpArgs.builder()
                .reservedIp("string")
                .address("string")
                .autoDelete(false)
                .deleteds(IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs.builder()
                    .moreInfo("string")
                    .build())
                .href("string")
                .name("string")
                .resourceType("string")
                .build())
            .name("string")
            .primaryIps(IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs.builder()
                .address("string")
                .autoDelete(false)
                .deleteds(IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs.builder()
                    .moreInfo("string")
                    .build())
                .href("string")
                .name("string")
                .reservedIp("string")
                .resourceType("string")
                .build())
            .protocolStateFilteringMode("string")
            .resourceGroup("string")
            .resourceType("string")
            .securityGroups("string")
            .subnet("string")
            .build())
        .build());
    
    is_instance_network_attachment_resource = ibm.IsInstanceNetworkAttachment("isInstanceNetworkAttachmentResource",
        instance="string",
        is_instance_network_attachment_id="string",
        name="string",
        virtual_network_interface={
            "allow_ip_spoofing": False,
            "auto_delete": False,
            "enable_infrastructure_nat": False,
            "id": "string",
            "ips": [{
                "reserved_ip": "string",
                "address": "string",
                "auto_delete": False,
                "deleteds": [{
                    "more_info": "string",
                }],
                "href": "string",
                "name": "string",
                "resource_type": "string",
            }],
            "name": "string",
            "primary_ips": [{
                "address": "string",
                "auto_delete": False,
                "deleteds": [{
                    "more_info": "string",
                }],
                "href": "string",
                "name": "string",
                "reserved_ip": "string",
                "resource_type": "string",
            }],
            "protocol_state_filtering_mode": "string",
            "resource_group": "string",
            "resource_type": "string",
            "security_groups": ["string"],
            "subnet": "string",
        })
    
    const isInstanceNetworkAttachmentResource = new ibm.IsInstanceNetworkAttachment("isInstanceNetworkAttachmentResource", {
        instance: "string",
        isInstanceNetworkAttachmentId: "string",
        name: "string",
        virtualNetworkInterface: {
            allowIpSpoofing: false,
            autoDelete: false,
            enableInfrastructureNat: false,
            id: "string",
            ips: [{
                reservedIp: "string",
                address: "string",
                autoDelete: false,
                deleteds: [{
                    moreInfo: "string",
                }],
                href: "string",
                name: "string",
                resourceType: "string",
            }],
            name: "string",
            primaryIps: [{
                address: "string",
                autoDelete: false,
                deleteds: [{
                    moreInfo: "string",
                }],
                href: "string",
                name: "string",
                reservedIp: "string",
                resourceType: "string",
            }],
            protocolStateFilteringMode: "string",
            resourceGroup: "string",
            resourceType: "string",
            securityGroups: ["string"],
            subnet: "string",
        },
    });
    
    type: ibm:IsInstanceNetworkAttachment
    properties:
        instance: string
        isInstanceNetworkAttachmentId: string
        name: string
        virtualNetworkInterface:
            allowIpSpoofing: false
            autoDelete: false
            enableInfrastructureNat: false
            id: string
            ips:
                - address: string
                  autoDelete: false
                  deleteds:
                    - moreInfo: string
                  href: string
                  name: string
                  reservedIp: string
                  resourceType: string
            name: string
            primaryIps:
                - address: string
                  autoDelete: false
                  deleteds:
                    - moreInfo: string
                  href: string
                  name: string
                  reservedIp: string
                  resourceType: string
            protocolStateFilteringMode: string
            resourceGroup: string
            resourceType: string
            securityGroups:
                - string
            subnet: string
    

    IsInstanceNetworkAttachment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IsInstanceNetworkAttachment resource accepts the following input properties:

    Instance string
    The virtual server instance identifier.
    IsInstanceNetworkAttachmentId string
    (String) The unique identifier for this subnet.
    Name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    VirtualNetworkInterface IsInstanceNetworkAttachmentVirtualNetworkInterface
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:
    Instance string
    The virtual server instance identifier.
    IsInstanceNetworkAttachmentId string
    (String) The unique identifier for this subnet.
    Name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    VirtualNetworkInterface IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:
    instance String
    The virtual server instance identifier.
    isInstanceNetworkAttachmentId String
    (String) The unique identifier for this subnet.
    name String
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    virtualNetworkInterface IsInstanceNetworkAttachmentVirtualNetworkInterface
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:
    instance string
    The virtual server instance identifier.
    isInstanceNetworkAttachmentId string
    (String) The unique identifier for this subnet.
    name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    virtualNetworkInterface IsInstanceNetworkAttachmentVirtualNetworkInterface
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:
    instance str
    The virtual server instance identifier.
    is_instance_network_attachment_id str
    (String) The unique identifier for this subnet.
    name str
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    virtual_network_interface IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:
    instance String
    The virtual server instance identifier.
    isInstanceNetworkAttachmentId String
    (String) The unique identifier for this subnet.
    name String
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    virtualNetworkInterface Property Map
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IsInstanceNetworkAttachment resource produces the following output properties:

    CreatedAt string
    (String) The date and time that the instance network attachment was created.
    Href string
    (String) The URL for this subnet.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    NetworkAttachment string
    (String) The id of the network attachment.
    PortSpeed double
    (Integer) The port speed for this instance network attachment in Mbps.
    ResourceType string
    (String) The resource type.
    Type string
    (String) The instance network attachment type.
    CreatedAt string
    (String) The date and time that the instance network attachment was created.
    Href string
    (String) The URL for this subnet.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    NetworkAttachment string
    (String) The id of the network attachment.
    PortSpeed float64
    (Integer) The port speed for this instance network attachment in Mbps.
    ResourceType string
    (String) The resource type.
    Type string
    (String) The instance network attachment type.
    createdAt String
    (String) The date and time that the instance network attachment was created.
    href String
    (String) The URL for this subnet.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    networkAttachment String
    (String) The id of the network attachment.
    portSpeed Double
    (Integer) The port speed for this instance network attachment in Mbps.
    resourceType String
    (String) The resource type.
    type String
    (String) The instance network attachment type.
    createdAt string
    (String) The date and time that the instance network attachment was created.
    href string
    (String) The URL for this subnet.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleState string
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    networkAttachment string
    (String) The id of the network attachment.
    portSpeed number
    (Integer) The port speed for this instance network attachment in Mbps.
    resourceType string
    (String) The resource type.
    type string
    (String) The instance network attachment type.
    created_at str
    (String) The date and time that the instance network attachment was created.
    href str
    (String) The URL for this subnet.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state str
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    network_attachment str
    (String) The id of the network attachment.
    port_speed float
    (Integer) The port speed for this instance network attachment in Mbps.
    resource_type str
    (String) The resource type.
    type str
    (String) The instance network attachment type.
    createdAt String
    (String) The date and time that the instance network attachment was created.
    href String
    (String) The URL for this subnet.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    networkAttachment String
    (String) The id of the network attachment.
    portSpeed Number
    (Integer) The port speed for this instance network attachment in Mbps.
    resourceType String
    (String) The resource type.
    type String
    (String) The instance network attachment type.

    Look up Existing IsInstanceNetworkAttachment Resource

    Get an existing IsInstanceNetworkAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IsInstanceNetworkAttachmentState, opts?: CustomResourceOptions): IsInstanceNetworkAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            href: Optional[str] = None,
            instance: Optional[str] = None,
            is_instance_network_attachment_id: Optional[str] = None,
            lifecycle_state: Optional[str] = None,
            name: Optional[str] = None,
            network_attachment: Optional[str] = None,
            port_speed: Optional[float] = None,
            resource_type: Optional[str] = None,
            type: Optional[str] = None,
            virtual_network_interface: Optional[IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs] = None) -> IsInstanceNetworkAttachment
    func GetIsInstanceNetworkAttachment(ctx *Context, name string, id IDInput, state *IsInstanceNetworkAttachmentState, opts ...ResourceOption) (*IsInstanceNetworkAttachment, error)
    public static IsInstanceNetworkAttachment Get(string name, Input<string> id, IsInstanceNetworkAttachmentState? state, CustomResourceOptions? opts = null)
    public static IsInstanceNetworkAttachment get(String name, Output<String> id, IsInstanceNetworkAttachmentState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IsInstanceNetworkAttachment    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt string
    (String) The date and time that the instance network attachment was created.
    Href string
    (String) The URL for this subnet.
    Instance string
    The virtual server instance identifier.
    IsInstanceNetworkAttachmentId string
    (String) The unique identifier for this subnet.
    LifecycleState string
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    Name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    NetworkAttachment string
    (String) The id of the network attachment.
    PortSpeed double
    (Integer) The port speed for this instance network attachment in Mbps.
    ResourceType string
    (String) The resource type.
    Type string
    (String) The instance network attachment type.
    VirtualNetworkInterface IsInstanceNetworkAttachmentVirtualNetworkInterface
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:
    CreatedAt string
    (String) The date and time that the instance network attachment was created.
    Href string
    (String) The URL for this subnet.
    Instance string
    The virtual server instance identifier.
    IsInstanceNetworkAttachmentId string
    (String) The unique identifier for this subnet.
    LifecycleState string
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    Name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    NetworkAttachment string
    (String) The id of the network attachment.
    PortSpeed float64
    (Integer) The port speed for this instance network attachment in Mbps.
    ResourceType string
    (String) The resource type.
    Type string
    (String) The instance network attachment type.
    VirtualNetworkInterface IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:
    createdAt String
    (String) The date and time that the instance network attachment was created.
    href String
    (String) The URL for this subnet.
    instance String
    The virtual server instance identifier.
    isInstanceNetworkAttachmentId String
    (String) The unique identifier for this subnet.
    lifecycleState String
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    name String
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    networkAttachment String
    (String) The id of the network attachment.
    portSpeed Double
    (Integer) The port speed for this instance network attachment in Mbps.
    resourceType String
    (String) The resource type.
    type String
    (String) The instance network attachment type.
    virtualNetworkInterface IsInstanceNetworkAttachmentVirtualNetworkInterface
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:
    createdAt string
    (String) The date and time that the instance network attachment was created.
    href string
    (String) The URL for this subnet.
    instance string
    The virtual server instance identifier.
    isInstanceNetworkAttachmentId string
    (String) The unique identifier for this subnet.
    lifecycleState string
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    networkAttachment string
    (String) The id of the network attachment.
    portSpeed number
    (Integer) The port speed for this instance network attachment in Mbps.
    resourceType string
    (String) The resource type.
    type string
    (String) The instance network attachment type.
    virtualNetworkInterface IsInstanceNetworkAttachmentVirtualNetworkInterface
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:
    created_at str
    (String) The date and time that the instance network attachment was created.
    href str
    (String) The URL for this subnet.
    instance str
    The virtual server instance identifier.
    is_instance_network_attachment_id str
    (String) The unique identifier for this subnet.
    lifecycle_state str
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    name str
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    network_attachment str
    (String) The id of the network attachment.
    port_speed float
    (Integer) The port speed for this instance network attachment in Mbps.
    resource_type str
    (String) The resource type.
    type str
    (String) The instance network attachment type.
    virtual_network_interface IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:
    createdAt String
    (String) The date and time that the instance network attachment was created.
    href String
    (String) The URL for this subnet.
    instance String
    The virtual server instance identifier.
    isInstanceNetworkAttachmentId String
    (String) The unique identifier for this subnet.
    lifecycleState String
    (String) The lifecycle state of the instance network attachment.

    • Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
    name String
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    networkAttachment String
    (String) The id of the network attachment.
    portSpeed Number
    (Integer) The port speed for this instance network attachment in Mbps.
    resourceType String
    (String) The resource type.
    type String
    (String) The instance network attachment type.
    virtualNetworkInterface Property Map
    The virtual network interface for this instance network attachment. Nested schema for virtual_network_interface:

    Supporting Types

    IsInstanceNetworkAttachmentVirtualNetworkInterface, IsInstanceNetworkAttachmentVirtualNetworkInterfaceArgs

    AllowIpSpoofing bool
    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.
    AutoDelete bool
    Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
    EnableInfrastructureNat bool
    If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    Id string

    The unique identifier for this virtual network interface.

    NOTE to add ips only existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    Ips List<IsInstanceNetworkAttachmentVirtualNetworkInterfaceIp>
    The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
    Name string
    The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
    PrimaryIps List<IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIp>
    (List) The primary IP address of the virtual network interface for the instance networkattachment. Nested schema for primary_ip:
    ProtocolStateFilteringMode string

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    ResourceGroup string
    The resource group id for this virtual network interface.
    ResourceType string
    The resource type.
    SecurityGroups List<string>
    The security groups for this virtual network interface.
    Subnet string
    (List) The subnet of the virtual network interface for the instance network attachment. Nested schema for subnet:
    AllowIpSpoofing bool
    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.
    AutoDelete bool
    Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
    EnableInfrastructureNat bool
    If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    Id string

    The unique identifier for this virtual network interface.

    NOTE to add ips only existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    Ips []IsInstanceNetworkAttachmentVirtualNetworkInterfaceIp
    The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
    Name string
    The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
    PrimaryIps []IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIp
    (List) The primary IP address of the virtual network interface for the instance networkattachment. Nested schema for primary_ip:
    ProtocolStateFilteringMode string

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    ResourceGroup string
    The resource group id for this virtual network interface.
    ResourceType string
    The resource type.
    SecurityGroups []string
    The security groups for this virtual network interface.
    Subnet string
    (List) The subnet of the virtual network interface for the instance network attachment. Nested schema for subnet:
    allowIpSpoofing 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.
    autoDelete Boolean
    Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
    enableInfrastructureNat Boolean
    If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    id String

    The unique identifier for this virtual network interface.

    NOTE to add ips only existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    ips List<IsInstanceNetworkAttachmentVirtualNetworkInterfaceIp>
    The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
    name String
    The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
    primaryIps List<IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIp>
    (List) The primary IP address of the virtual network interface for the instance networkattachment. Nested schema for primary_ip:
    protocolStateFilteringMode String

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    resourceGroup String
    The resource group id for this virtual network interface.
    resourceType String
    The resource type.
    securityGroups List<String>
    The security groups for this virtual network interface.
    subnet String
    (List) The subnet of the virtual network interface for the instance network attachment. Nested schema for subnet:
    allowIpSpoofing 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.
    autoDelete boolean
    Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
    enableInfrastructureNat boolean
    If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    id string

    The unique identifier for this virtual network interface.

    NOTE to add ips only existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    ips IsInstanceNetworkAttachmentVirtualNetworkInterfaceIp[]
    The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
    name string
    The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
    primaryIps IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIp[]
    (List) The primary IP address of the virtual network interface for the instance networkattachment. Nested schema for primary_ip:
    protocolStateFilteringMode string

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    resourceGroup string
    The resource group id for this virtual network interface.
    resourceType string
    The resource type.
    securityGroups string[]
    The security groups for this virtual network interface.
    subnet string
    (List) The subnet of the virtual network interface for the instance network attachment. Nested schema for subnet:
    allow_ip_spoofing bool
    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.
    auto_delete bool
    Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
    enable_infrastructure_nat bool
    If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    id str

    The unique identifier for this virtual network interface.

    NOTE to add ips only existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    ips Sequence[IsInstanceNetworkAttachmentVirtualNetworkInterfaceIp]
    The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
    name str
    The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
    primary_ips Sequence[IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIp]
    (List) The primary IP address of the virtual network interface for the instance networkattachment. Nested schema for primary_ip:
    protocol_state_filtering_mode str

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    resource_group str
    The resource group id for this virtual network interface.
    resource_type str
    The resource type.
    security_groups Sequence[str]
    The security groups for this virtual network interface.
    subnet str
    (List) The subnet of the virtual network interface for the instance network attachment. Nested schema for subnet:
    allowIpSpoofing 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.
    autoDelete Boolean
    Indicates whether this virtual network interface will be automatically deleted whentarget is deleted.
    enableInfrastructureNat Boolean
    If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    id String

    The unique identifier for this virtual network interface.

    NOTE to add ips only existing reserved_ip is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Use ibm.IsSubnetReservedIp to create a reserved_ip

    ips List<Property Map>
    The reserved IPs bound to this virtual network interface.May be empty when lifecycle_state is pending.
    name String
    The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
    primaryIps List<Property Map>
    (List) The primary IP address of the virtual network interface for the instance networkattachment. Nested schema for primary_ip:
    protocolStateFilteringMode String

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    resourceGroup String
    The resource group id for this virtual network interface.
    resourceType String
    The resource type.
    securityGroups List<String>
    The security groups for this virtual network interface.
    subnet String
    (List) The subnet of the virtual network interface for the instance network attachment. Nested schema for subnet:

    IsInstanceNetworkAttachmentVirtualNetworkInterfaceIp, IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpArgs

    ReservedIp string
    The unique identifier for this reserved IP.
    Address string
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    AutoDelete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    Deleteds List<IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpDeleted>
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    Href string
    (String) The URL for this subnet.
    Name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    ResourceType string
    (String) The resource type.
    ReservedIp string
    The unique identifier for this reserved IP.
    Address string
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    AutoDelete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    Deleteds []IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpDeleted
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    Href string
    (String) The URL for this subnet.
    Name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    ResourceType string
    (String) The resource type.
    reservedIp String
    The unique identifier for this reserved IP.
    address String
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    autoDelete Boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    deleteds List<IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpDeleted>
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href String
    (String) The URL for this subnet.
    name String
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    resourceType String
    (String) The resource type.
    reservedIp string
    The unique identifier for this reserved IP.
    address string
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    autoDelete boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    deleteds IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpDeleted[]
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href string
    (String) The URL for this subnet.
    name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    resourceType string
    (String) The resource type.
    reserved_ip str
    The unique identifier for this reserved IP.
    address str
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    auto_delete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    deleteds Sequence[IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpDeleted]
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href str
    (String) The URL for this subnet.
    name str
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    resource_type str
    (String) The resource type.
    reservedIp String
    The unique identifier for this reserved IP.
    address String
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    autoDelete Boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound.
    deleteds List<Property Map>
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href String
    (String) The URL for this subnet.
    name String
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    resourceType String
    (String) The resource type.

    IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpDeleted, IsInstanceNetworkAttachmentVirtualNetworkInterfaceIpDeletedArgs

    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.

    IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIp, IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpArgs

    Address string
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    AutoDelete bool
    Indicates whether this primary_ip will be automatically deleted when vni is deleted.
    Deleteds List<IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted>
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    Href string
    (String) The URL for this subnet.
    Name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    ReservedIp string
    The unique identifier for this reserved IP.
    ResourceType string
    (String) The resource type.
    Address string
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    AutoDelete bool
    Indicates whether this primary_ip will be automatically deleted when vni is deleted.
    Deleteds []IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    Href string
    (String) The URL for this subnet.
    Name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    ReservedIp string
    The unique identifier for this reserved IP.
    ResourceType string
    (String) The resource type.
    address String
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    autoDelete Boolean
    Indicates whether this primary_ip will be automatically deleted when vni is deleted.
    deleteds List<IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted>
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href String
    (String) The URL for this subnet.
    name String
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    reservedIp String
    The unique identifier for this reserved IP.
    resourceType String
    (String) The resource type.
    address string
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    autoDelete boolean
    Indicates whether this primary_ip will be automatically deleted when vni is deleted.
    deleteds IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted[]
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href string
    (String) The URL for this subnet.
    name string
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    reservedIp string
    The unique identifier for this reserved IP.
    resourceType string
    (String) The resource type.
    address str
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    auto_delete bool
    Indicates whether this primary_ip will be automatically deleted when vni is deleted.
    deleteds Sequence[IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted]
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href str
    (String) The URL for this subnet.
    name str
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    reserved_ip str
    The unique identifier for this reserved IP.
    resource_type str
    (String) The resource type.
    address String
    (String) The IP address.If the address has not yet been selected, the value will be 0.0.0.0.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
    autoDelete Boolean
    Indicates whether this primary_ip will be automatically deleted when vni is deleted.
    deleteds List<Property Map>
    (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
    href String
    (String) The URL for this subnet.
    name String
    The name for this instance network attachment. The name is unique across all network attachments for the instance.
    reservedIp String
    The unique identifier for this reserved IP.
    resourceType String
    (String) The resource type.

    IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeleted, IsInstanceNetworkAttachmentVirtualNetworkInterfacePrimaryIpDeletedArgs

    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.

    Import

    You can import the ibm_is_instance_network_attachment resource by using id.

    The id property can be formed from instance, and id in the following format:

    /

    • instance: A string. The virtual server instance identifier.

    • id: A string. The instance network attachment identifier.

    Syntax

    $ pulumi import ibm:index/isInstanceNetworkAttachment:IsInstanceNetworkAttachment is_instance_network_attachment <instance>/<id>
    

    To learn more about importing existing cloud resources, see Importing 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