ibm.IsVirtualNetworkInterface
Explore with Pulumi AI
Create, update, and delete VirtualNetworkInterfaces with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const isVirtualNetworkInterfaceInstance = new ibm.IsVirtualNetworkInterface("isVirtualNetworkInterfaceInstance", {
allowIpSpoofing: true,
autoDelete: false,
enableInfrastructureNat: true,
subnet: "7ec86020-1c6e-4889-b3f0-a15f2e50f87e",
});
import pulumi
import pulumi_ibm as ibm
is_virtual_network_interface_instance = ibm.IsVirtualNetworkInterface("isVirtualNetworkInterfaceInstance",
allow_ip_spoofing=True,
auto_delete=False,
enable_infrastructure_nat=True,
subnet="7ec86020-1c6e-4889-b3f0-a15f2e50f87e")
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.NewIsVirtualNetworkInterface(ctx, "isVirtualNetworkInterfaceInstance", &ibm.IsVirtualNetworkInterfaceArgs{
AllowIpSpoofing: pulumi.Bool(true),
AutoDelete: pulumi.Bool(false),
EnableInfrastructureNat: pulumi.Bool(true),
Subnet: pulumi.String("7ec86020-1c6e-4889-b3f0-a15f2e50f87e"),
})
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 isVirtualNetworkInterfaceInstance = new Ibm.IsVirtualNetworkInterface("isVirtualNetworkInterfaceInstance", new()
{
AllowIpSpoofing = true,
AutoDelete = false,
EnableInfrastructureNat = true,
Subnet = "7ec86020-1c6e-4889-b3f0-a15f2e50f87e",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVirtualNetworkInterface;
import com.pulumi.ibm.IsVirtualNetworkInterfaceArgs;
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 isVirtualNetworkInterfaceInstance = new IsVirtualNetworkInterface("isVirtualNetworkInterfaceInstance", IsVirtualNetworkInterfaceArgs.builder()
.allowIpSpoofing(true)
.autoDelete(false)
.enableInfrastructureNat(true)
.subnet("7ec86020-1c6e-4889-b3f0-a15f2e50f87e")
.build());
}
}
resources:
isVirtualNetworkInterfaceInstance:
type: ibm:IsVirtualNetworkInterface
properties:
allowIpSpoofing: true
autoDelete: false
enableInfrastructureNat: true
subnet: 7ec86020-1c6e-4889-b3f0-a15f2e50f87e
With Protocol_state_filtering_mode Enabled
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const isVirtualNetworkInterfaceInstance = new ibm.IsVirtualNetworkInterface("isVirtualNetworkInterfaceInstance", {
allowIpSpoofing: true,
autoDelete: false,
enableInfrastructureNat: true,
protocolStateFilteringMode: "enabled",
subnet: "7ec86020-1c6e-4889-b3f0-a15f2e50f87e",
});
import pulumi
import pulumi_ibm as ibm
is_virtual_network_interface_instance = ibm.IsVirtualNetworkInterface("isVirtualNetworkInterfaceInstance",
allow_ip_spoofing=True,
auto_delete=False,
enable_infrastructure_nat=True,
protocol_state_filtering_mode="enabled",
subnet="7ec86020-1c6e-4889-b3f0-a15f2e50f87e")
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.NewIsVirtualNetworkInterface(ctx, "isVirtualNetworkInterfaceInstance", &ibm.IsVirtualNetworkInterfaceArgs{
AllowIpSpoofing: pulumi.Bool(true),
AutoDelete: pulumi.Bool(false),
EnableInfrastructureNat: pulumi.Bool(true),
ProtocolStateFilteringMode: pulumi.String("enabled"),
Subnet: pulumi.String("7ec86020-1c6e-4889-b3f0-a15f2e50f87e"),
})
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 isVirtualNetworkInterfaceInstance = new Ibm.IsVirtualNetworkInterface("isVirtualNetworkInterfaceInstance", new()
{
AllowIpSpoofing = true,
AutoDelete = false,
EnableInfrastructureNat = true,
ProtocolStateFilteringMode = "enabled",
Subnet = "7ec86020-1c6e-4889-b3f0-a15f2e50f87e",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVirtualNetworkInterface;
import com.pulumi.ibm.IsVirtualNetworkInterfaceArgs;
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 isVirtualNetworkInterfaceInstance = new IsVirtualNetworkInterface("isVirtualNetworkInterfaceInstance", IsVirtualNetworkInterfaceArgs.builder()
.allowIpSpoofing(true)
.autoDelete(false)
.enableInfrastructureNat(true)
.protocolStateFilteringMode("enabled")
.subnet("7ec86020-1c6e-4889-b3f0-a15f2e50f87e")
.build());
}
}
resources:
isVirtualNetworkInterfaceInstance:
type: ibm:IsVirtualNetworkInterface
properties:
allowIpSpoofing: true
autoDelete: false
enableInfrastructureNat: true
protocolStateFilteringMode: enabled
subnet: 7ec86020-1c6e-4889-b3f0-a15f2e50f87e
Create IsVirtualNetworkInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsVirtualNetworkInterface(name: string, args?: IsVirtualNetworkInterfaceArgs, opts?: CustomResourceOptions);
@overload
def IsVirtualNetworkInterface(resource_name: str,
args: Optional[IsVirtualNetworkInterfaceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def IsVirtualNetworkInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_tags: Optional[Sequence[str]] = None,
allow_ip_spoofing: Optional[bool] = None,
auto_delete: Optional[bool] = None,
enable_infrastructure_nat: Optional[bool] = None,
ips: Optional[Sequence[IsVirtualNetworkInterfaceIpArgs]] = None,
is_virtual_network_interface_id: Optional[str] = None,
name: Optional[str] = None,
primary_ip: Optional[IsVirtualNetworkInterfacePrimaryIpArgs] = None,
protocol_state_filtering_mode: Optional[str] = None,
resource_group: Optional[str] = None,
security_groups: Optional[Sequence[str]] = None,
subnet: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[IsVirtualNetworkInterfaceTimeoutsArgs] = None)
func NewIsVirtualNetworkInterface(ctx *Context, name string, args *IsVirtualNetworkInterfaceArgs, opts ...ResourceOption) (*IsVirtualNetworkInterface, error)
public IsVirtualNetworkInterface(string name, IsVirtualNetworkInterfaceArgs? args = null, CustomResourceOptions? opts = null)
public IsVirtualNetworkInterface(String name, IsVirtualNetworkInterfaceArgs args)
public IsVirtualNetworkInterface(String name, IsVirtualNetworkInterfaceArgs args, CustomResourceOptions options)
type: ibm:IsVirtualNetworkInterface
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 IsVirtualNetworkInterfaceArgs
- 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 IsVirtualNetworkInterfaceArgs
- 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 IsVirtualNetworkInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsVirtualNetworkInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsVirtualNetworkInterfaceArgs
- 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 isVirtualNetworkInterfaceResource = new Ibm.IsVirtualNetworkInterface("isVirtualNetworkInterfaceResource", new()
{
AccessTags = new[]
{
"string",
},
AllowIpSpoofing = false,
AutoDelete = false,
EnableInfrastructureNat = false,
Ips = new[]
{
new Ibm.Inputs.IsVirtualNetworkInterfaceIpArgs
{
ReservedIp = "string",
Address = "string",
AutoDelete = false,
Deleteds = new[]
{
new Ibm.Inputs.IsVirtualNetworkInterfaceIpDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Name = "string",
ResourceType = "string",
},
},
IsVirtualNetworkInterfaceId = "string",
Name = "string",
PrimaryIp = new Ibm.Inputs.IsVirtualNetworkInterfacePrimaryIpArgs
{
Address = "string",
AutoDelete = false,
Deleteds = new[]
{
new Ibm.Inputs.IsVirtualNetworkInterfacePrimaryIpDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Name = "string",
ReservedIp = "string",
ResourceType = "string",
},
ProtocolStateFilteringMode = "string",
ResourceGroup = "string",
SecurityGroups = new[]
{
"string",
},
Subnet = "string",
Tags = new[]
{
"string",
},
Timeouts = new Ibm.Inputs.IsVirtualNetworkInterfaceTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewIsVirtualNetworkInterface(ctx, "isVirtualNetworkInterfaceResource", &ibm.IsVirtualNetworkInterfaceArgs{
AccessTags: pulumi.StringArray{
pulumi.String("string"),
},
AllowIpSpoofing: pulumi.Bool(false),
AutoDelete: pulumi.Bool(false),
EnableInfrastructureNat: pulumi.Bool(false),
Ips: ibm.IsVirtualNetworkInterfaceIpTypeArray{
&ibm.IsVirtualNetworkInterfaceIpTypeArgs{
ReservedIp: pulumi.String("string"),
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Deleteds: ibm.IsVirtualNetworkInterfaceIpDeletedArray{
&ibm.IsVirtualNetworkInterfaceIpDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
IsVirtualNetworkInterfaceId: pulumi.String("string"),
Name: pulumi.String("string"),
PrimaryIp: &ibm.IsVirtualNetworkInterfacePrimaryIpArgs{
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
Deleteds: ibm.IsVirtualNetworkInterfacePrimaryIpDeletedArray{
&ibm.IsVirtualNetworkInterfacePrimaryIpDeletedArgs{
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"),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Subnet: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &ibm.IsVirtualNetworkInterfaceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var isVirtualNetworkInterfaceResource = new IsVirtualNetworkInterface("isVirtualNetworkInterfaceResource", IsVirtualNetworkInterfaceArgs.builder()
.accessTags("string")
.allowIpSpoofing(false)
.autoDelete(false)
.enableInfrastructureNat(false)
.ips(IsVirtualNetworkInterfaceIpArgs.builder()
.reservedIp("string")
.address("string")
.autoDelete(false)
.deleteds(IsVirtualNetworkInterfaceIpDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.name("string")
.resourceType("string")
.build())
.isVirtualNetworkInterfaceId("string")
.name("string")
.primaryIp(IsVirtualNetworkInterfacePrimaryIpArgs.builder()
.address("string")
.autoDelete(false)
.deleteds(IsVirtualNetworkInterfacePrimaryIpDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.name("string")
.reservedIp("string")
.resourceType("string")
.build())
.protocolStateFilteringMode("string")
.resourceGroup("string")
.securityGroups("string")
.subnet("string")
.tags("string")
.timeouts(IsVirtualNetworkInterfaceTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
is_virtual_network_interface_resource = ibm.IsVirtualNetworkInterface("isVirtualNetworkInterfaceResource",
access_tags=["string"],
allow_ip_spoofing=False,
auto_delete=False,
enable_infrastructure_nat=False,
ips=[{
"reserved_ip": "string",
"address": "string",
"auto_delete": False,
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"name": "string",
"resource_type": "string",
}],
is_virtual_network_interface_id="string",
name="string",
primary_ip={
"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",
security_groups=["string"],
subnet="string",
tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const isVirtualNetworkInterfaceResource = new ibm.IsVirtualNetworkInterface("isVirtualNetworkInterfaceResource", {
accessTags: ["string"],
allowIpSpoofing: false,
autoDelete: false,
enableInfrastructureNat: false,
ips: [{
reservedIp: "string",
address: "string",
autoDelete: false,
deleteds: [{
moreInfo: "string",
}],
href: "string",
name: "string",
resourceType: "string",
}],
isVirtualNetworkInterfaceId: "string",
name: "string",
primaryIp: {
address: "string",
autoDelete: false,
deleteds: [{
moreInfo: "string",
}],
href: "string",
name: "string",
reservedIp: "string",
resourceType: "string",
},
protocolStateFilteringMode: "string",
resourceGroup: "string",
securityGroups: ["string"],
subnet: "string",
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:IsVirtualNetworkInterface
properties:
accessTags:
- string
allowIpSpoofing: false
autoDelete: false
enableInfrastructureNat: false
ips:
- address: string
autoDelete: false
deleteds:
- moreInfo: string
href: string
name: string
reservedIp: string
resourceType: string
isVirtualNetworkInterfaceId: string
name: string
primaryIp:
address: string
autoDelete: false
deleteds:
- moreInfo: string
href: string
name: string
reservedIp: string
resourceType: string
protocolStateFilteringMode: string
resourceGroup: string
securityGroups:
- string
subnet: string
tags:
- string
timeouts:
create: string
delete: string
update: string
IsVirtualNetworkInterface 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 IsVirtualNetworkInterface resource accepts the following input properties:
- List<string>
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - Enable
Infrastructure boolNat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- Ips
List<Is
Virtual Network Interface Ip> - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. Nested schema for ips: - Is
Virtual stringNetwork Interface Id - (String) The unique identifier for this VPC.
- Name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- Primary
Ip IsVirtual Network Interface Primary Ip - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- Protocol
State stringFiltering Mode 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 string - The resource group id for this virtual network interface.
- Security
Groups List<string> - The security group ids list for this virtual network interface.
- Subnet string
- The associated subnet id.
- List<string>
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - Timeouts
Is
Virtual Network Interface Timeouts
- []string
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - Enable
Infrastructure boolNat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- Ips
[]Is
Virtual Network Interface Ip Type Args - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. Nested schema for ips: - Is
Virtual stringNetwork Interface Id - (String) The unique identifier for this VPC.
- Name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- Primary
Ip IsVirtual Network Interface Primary Ip Args - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- Protocol
State stringFiltering Mode 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 string - The resource group id for this virtual network interface.
- Security
Groups []string - The security group ids list for this virtual network interface.
- Subnet string
- The associated subnet id.
- []string
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - Timeouts
Is
Virtual Network Interface Timeouts Args
- List<String>
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - enable
Infrastructure BooleanNat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- ips
List<Is
Virtual Network Interface Ip> - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. Nested schema for ips: - is
Virtual StringNetwork Interface Id - (String) The unique identifier for this VPC.
- name String
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- primary
Ip IsVirtual Network Interface Primary Ip - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol
State StringFiltering Mode 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 String - The resource group id for this virtual network interface.
- security
Groups List<String> - The security group ids list for this virtual network interface.
- subnet String
- The associated subnet id.
- List<String>
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - timeouts
Is
Virtual Network Interface Timeouts
- string[]
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- allow
Ip booleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto
Delete boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - enable
Infrastructure booleanNat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- ips
Is
Virtual Network Interface Ip[] - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. Nested schema for ips: - is
Virtual stringNetwork Interface Id - (String) The unique identifier for this VPC.
- name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- primary
Ip IsVirtual Network Interface Primary Ip - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol
State stringFiltering Mode 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 string - The resource group id for this virtual network interface.
- security
Groups string[] - The security group ids list for this virtual network interface.
- subnet string
- The associated subnet id.
- string[]
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - timeouts
Is
Virtual Network Interface Timeouts
- Sequence[str]
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- allow_
ip_ boolspoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto_
delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - enable_
infrastructure_ boolnat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- ips
Sequence[Is
Virtual Network Interface Ip Args] - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. Nested schema for ips: - is_
virtual_ strnetwork_ interface_ id - (String) The unique identifier for this VPC.
- name str
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- primary_
ip IsVirtual Network Interface Primary Ip Args - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol_
state_ strfiltering_ mode 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.
- security_
groups Sequence[str] - The security group ids list for this virtual network interface.
- subnet str
- The associated subnet id.
- Sequence[str]
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - timeouts
Is
Virtual Network Interface Timeouts Args
- List<String>
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - enable
Infrastructure BooleanNat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.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
ispending
. Nested schema for ips: - is
Virtual StringNetwork Interface Id - (String) The unique identifier for this VPC.
- name String
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- primary
Ip Property Map - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol
State StringFiltering Mode 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 String - The resource group id for this virtual network interface.
- security
Groups List<String> - The security group ids list for this virtual network interface.
- subnet String
- The associated subnet id.
- List<String>
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the IsVirtualNetworkInterface resource produces the following output properties:
- Created
At string - (String) The date and time that the virtual network interface was created.
- Crn string
- (String) The CRN for this VPC.
- Href string
- (String) The URL for this VPC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - Mac
Address string - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- Resource
Type string - (String) The resource type.
- Targets
List<Is
Virtual Network Interface Target> - (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- Vpcs
List<Is
Virtual Network Interface Vpc> - (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- Zone string
- (String) The zone name of the zone this virtual network interface resides in.
- Created
At string - (String) The date and time that the virtual network interface was created.
- Crn string
- (String) The CRN for this VPC.
- Href string
- (String) The URL for this VPC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - Mac
Address string - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- Resource
Type string - (String) The resource type.
- Targets
[]Is
Virtual Network Interface Target - (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- Vpcs
[]Is
Virtual Network Interface Vpc - (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- Zone string
- (String) The zone name of the zone this virtual network interface resides in.
- created
At String - (String) The date and time that the virtual network interface was created.
- crn String
- (String) The CRN for this VPC.
- href String
- (String) The URL for this VPC.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - mac
Address String - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- resource
Type String - (String) The resource type.
- targets
List<Is
Virtual Network Interface Target> - (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- vpcs
List<Is
Virtual Network Interface Vpc> - (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- zone String
- (String) The zone name of the zone this virtual network interface resides in.
- created
At string - (String) The date and time that the virtual network interface was created.
- crn string
- (String) The CRN for this VPC.
- href string
- (String) The URL for this VPC.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State string - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - mac
Address string - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- resource
Type string - (String) The resource type.
- targets
Is
Virtual Network Interface Target[] - (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- vpcs
Is
Virtual Network Interface Vpc[] - (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- zone string
- (String) The zone name of the zone this virtual network interface resides in.
- created_
at str - (String) The date and time that the virtual network interface was created.
- crn str
- (String) The CRN for this VPC.
- href str
- (String) The URL for this VPC.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state str - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - mac_
address str - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- resource_
type str - (String) The resource type.
- targets
Sequence[Is
Virtual Network Interface Target] - (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- vpcs
Sequence[Is
Virtual Network Interface Vpc] - (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- zone str
- (String) The zone name of the zone this virtual network interface resides in.
- created
At String - (String) The date and time that the virtual network interface was created.
- crn String
- (String) The CRN for this VPC.
- href String
- (String) The URL for this VPC.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - mac
Address String - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- resource
Type String - (String) The resource type.
- targets List<Property Map>
- (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- vpcs List<Property Map>
- (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- zone String
- (String) The zone name of the zone this virtual network interface resides in.
Look up Existing IsVirtualNetworkInterface Resource
Get an existing IsVirtualNetworkInterface 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?: IsVirtualNetworkInterfaceState, opts?: CustomResourceOptions): IsVirtualNetworkInterface
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_tags: Optional[Sequence[str]] = None,
allow_ip_spoofing: Optional[bool] = None,
auto_delete: Optional[bool] = None,
created_at: Optional[str] = None,
crn: Optional[str] = None,
enable_infrastructure_nat: Optional[bool] = None,
href: Optional[str] = None,
ips: Optional[Sequence[IsVirtualNetworkInterfaceIpArgs]] = None,
is_virtual_network_interface_id: Optional[str] = None,
lifecycle_state: Optional[str] = None,
mac_address: Optional[str] = None,
name: Optional[str] = None,
primary_ip: Optional[IsVirtualNetworkInterfacePrimaryIpArgs] = None,
protocol_state_filtering_mode: Optional[str] = None,
resource_group: Optional[str] = None,
resource_type: Optional[str] = None,
security_groups: Optional[Sequence[str]] = None,
subnet: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
targets: Optional[Sequence[IsVirtualNetworkInterfaceTargetArgs]] = None,
timeouts: Optional[IsVirtualNetworkInterfaceTimeoutsArgs] = None,
vpcs: Optional[Sequence[IsVirtualNetworkInterfaceVpcArgs]] = None,
zone: Optional[str] = None) -> IsVirtualNetworkInterface
func GetIsVirtualNetworkInterface(ctx *Context, name string, id IDInput, state *IsVirtualNetworkInterfaceState, opts ...ResourceOption) (*IsVirtualNetworkInterface, error)
public static IsVirtualNetworkInterface Get(string name, Input<string> id, IsVirtualNetworkInterfaceState? state, CustomResourceOptions? opts = null)
public static IsVirtualNetworkInterface get(String name, Output<String> id, IsVirtualNetworkInterfaceState state, CustomResourceOptions options)
resources: _: type: ibm:IsVirtualNetworkInterface 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.
- List<string>
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - Created
At string - (String) The date and time that the virtual network interface was created.
- Crn string
- (String) The CRN for this VPC.
- Enable
Infrastructure boolNat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- Href string
- (String) The URL for this VPC.
- Ips
List<Is
Virtual Network Interface Ip> - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. Nested schema for ips: - Is
Virtual stringNetwork Interface Id - (String) The unique identifier for this VPC.
- Lifecycle
State string - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - Mac
Address string - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- Name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- Primary
Ip IsVirtual Network Interface Primary Ip - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- Protocol
State stringFiltering Mode 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 string - The resource group id for this virtual network interface.
- Resource
Type string - (String) The resource type.
- Security
Groups List<string> - The security group ids list for this virtual network interface.
- Subnet string
- The associated subnet id.
- List<string>
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - Targets
List<Is
Virtual Network Interface Target> - (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- Timeouts
Is
Virtual Network Interface Timeouts - Vpcs
List<Is
Virtual Network Interface Vpc> - (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- Zone string
- (String) The zone name of the zone this virtual network interface resides in.
- []string
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Allow
Ip boolSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - Auto
Delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - Created
At string - (String) The date and time that the virtual network interface was created.
- Crn string
- (String) The CRN for this VPC.
- Enable
Infrastructure boolNat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- Href string
- (String) The URL for this VPC.
- Ips
[]Is
Virtual Network Interface Ip Type Args - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. Nested schema for ips: - Is
Virtual stringNetwork Interface Id - (String) The unique identifier for this VPC.
- Lifecycle
State string - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - Mac
Address string - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- Name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- Primary
Ip IsVirtual Network Interface Primary Ip Args - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- Protocol
State stringFiltering Mode 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 string - The resource group id for this virtual network interface.
- Resource
Type string - (String) The resource type.
- Security
Groups []string - The security group ids list for this virtual network interface.
- Subnet string
- The associated subnet id.
- []string
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - Targets
[]Is
Virtual Network Interface Target Args - (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- Timeouts
Is
Virtual Network Interface Timeouts Args - Vpcs
[]Is
Virtual Network Interface Vpc Args - (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- Zone string
- (String) The zone name of the zone this virtual network interface resides in.
- List<String>
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - created
At String - (String) The date and time that the virtual network interface was created.
- crn String
- (String) The CRN for this VPC.
- enable
Infrastructure BooleanNat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- href String
- (String) The URL for this VPC.
- ips
List<Is
Virtual Network Interface Ip> - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. Nested schema for ips: - is
Virtual StringNetwork Interface Id - (String) The unique identifier for this VPC.
- lifecycle
State String - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - mac
Address String - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- name String
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- primary
Ip IsVirtual Network Interface Primary Ip - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol
State StringFiltering Mode 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 String - The resource group id for this virtual network interface.
- resource
Type String - (String) The resource type.
- security
Groups List<String> - The security group ids list for this virtual network interface.
- subnet String
- The associated subnet id.
- List<String>
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - targets
List<Is
Virtual Network Interface Target> - (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- timeouts
Is
Virtual Network Interface Timeouts - vpcs
List<Is
Virtual Network Interface Vpc> - (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- zone String
- (String) The zone name of the zone this virtual network interface resides in.
- string[]
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- allow
Ip booleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto
Delete boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - created
At string - (String) The date and time that the virtual network interface was created.
- crn string
- (String) The CRN for this VPC.
- enable
Infrastructure booleanNat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- href string
- (String) The URL for this VPC.
- ips
Is
Virtual Network Interface Ip[] - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. Nested schema for ips: - is
Virtual stringNetwork Interface Id - (String) The unique identifier for this VPC.
- lifecycle
State string - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - mac
Address string - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- primary
Ip IsVirtual Network Interface Primary Ip - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol
State stringFiltering Mode 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 string - The resource group id for this virtual network interface.
- resource
Type string - (String) The resource type.
- security
Groups string[] - The security group ids list for this virtual network interface.
- subnet string
- The associated subnet id.
- string[]
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - targets
Is
Virtual Network Interface Target[] - (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- timeouts
Is
Virtual Network Interface Timeouts - vpcs
Is
Virtual Network Interface Vpc[] - (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- zone string
- (String) The zone name of the zone this virtual network interface resides in.
- Sequence[str]
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- allow_
ip_ boolspoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto_
delete bool - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - created_
at str - (String) The date and time that the virtual network interface was created.
- crn str
- (String) The CRN for this VPC.
- enable_
infrastructure_ boolnat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- href str
- (String) The URL for this VPC.
- ips
Sequence[Is
Virtual Network Interface Ip Args] - The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. Nested schema for ips: - is_
virtual_ strnetwork_ interface_ id - (String) The unique identifier for this VPC.
- lifecycle_
state str - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - mac_
address str - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- name str
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- primary_
ip IsVirtual Network Interface Primary Ip Args - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol_
state_ strfiltering_ mode 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 - (String) The resource type.
- security_
groups Sequence[str] - The security group ids list for this virtual network interface.
- subnet str
- The associated subnet id.
- Sequence[str]
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - targets
Sequence[Is
Virtual Network Interface Target Args] - (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- timeouts
Is
Virtual Network Interface Timeouts Args - vpcs
Sequence[Is
Virtual Network Interface Vpc Args] - (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- zone str
- (String) The zone name of the zone this virtual network interface resides in.
- List<String>
A list of access management tags to attach to the virtual network interface.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- allow
Ip BooleanSpoofing - Indicates whether source IP spoofing is allowed on this interface. If
false
, source IP spoofing is prevented on this interface. Iftrue
, source IP spoofing is allowed on this interface. - auto
Delete Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - created
At String - (String) The date and time that the virtual network interface was created.
- crn String
- (String) The CRN for this VPC.
- enable
Infrastructure BooleanNat If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
.NOTE to add
ips
only existingreserved_ip
is supported, new reserved_ip creation is not supported as it leads to unmanaged(dangling) reserved ips. Useibm.IsSubnetReservedIp
to create a reserved_ip- href String
- (String) The URL for this VPC.
- ips List<Property Map>
- The reserved IPs bound to this virtual network interface.May be empty when
lifecycle_state
ispending
. Nested schema for ips: - is
Virtual StringNetwork Interface Id - (String) The unique identifier for this VPC.
- lifecycle
State String - (String) The lifecycle state of the virtual network interface. Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
. - mac
Address String - (String) The MAC address of the interface. Absent when the interface is not attached to a target.
- name String
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- primary
Ip Property Map - The reserved IP for this virtual network interface. Nested schema for primary_ip:
- protocol
State StringFiltering Mode 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 String - The resource group id for this virtual network interface.
- resource
Type String - (String) The resource type.
- security
Groups List<String> - The security group ids list for this virtual network interface.
- subnet String
- The associated subnet id.
- List<String>
- Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (
,
). - targets List<Property Map>
- (List) The target of this virtual network interface.If absent, this virtual network interface is not attached to a target. Nested schema for target:
- timeouts Property Map
- vpcs List<Property Map>
- (List) The VPC this virtual network interface resides in. Nested schema for vpc:
- zone String
- (String) The zone name of the zone this virtual network interface resides in.
Supporting Types
IsVirtualNetworkInterfaceIp, IsVirtualNetworkInterfaceIpArgs
- Reserved
Ip string - The unique identifier for this reserved IP.
- Address 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 virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - Deleteds
List<Is
Virtual Network Interface Ip Deleted> - (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 VPC.
- Name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- Resource
Type string - (String) The resource type.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Address 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 virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - Deleteds
[]Is
Virtual Network Interface Ip Deleted - (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 VPC.
- Name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- Resource
Type string - (String) The resource type.
- reserved
Ip String - The unique identifier for this reserved IP.
- address 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 Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - deleteds
List<Is
Virtual Network Interface Ip Deleted> - (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 VPC.
- name String
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource
Type String - (String) The resource type.
- reserved
Ip string - The unique identifier for this reserved IP.
- address 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 boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - deleteds
Is
Virtual Network Interface Ip Deleted[] - (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 VPC.
- name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource
Type string - (String) The resource type.
- reserved_
ip str - The unique identifier for this reserved IP.
- address str
- 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 virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - deleteds
Sequence[Is
Virtual Network Interface Ip Deleted] - (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 VPC.
- name str
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource_
type str - (String) The resource type.
- reserved
Ip String - The unique identifier for this reserved IP.
- address 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 Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface 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 VPC.
- name String
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource
Type String - (String) The resource type.
IsVirtualNetworkInterfaceIpDeleted, IsVirtualNetworkInterfaceIpDeletedArgs
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
IsVirtualNetworkInterfacePrimaryIp, IsVirtualNetworkInterfacePrimaryIpArgs
- Address 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 virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - Deleteds
List<Is
Virtual Network Interface Primary Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this reserved IP.
- Name string
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type string - The resource type.
- Address 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 virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - Deleteds
[]Is
Virtual Network Interface Primary Ip Deleted - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this reserved IP.
- Name string
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- Reserved
Ip string - The unique identifier for this reserved IP.
- Resource
Type string - The resource type.
- address 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 Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - deleteds
List<Is
Virtual Network Interface Primary Ip Deleted> - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this reserved IP.
- name String
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type String - The resource type.
- address 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 boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - deleteds
Is
Virtual Network Interface Primary Ip Deleted[] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href string
- The URL for this reserved IP.
- name string
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved
Ip string - The unique identifier for this reserved IP.
- resource
Type string - The resource type.
- address str
- 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 virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - deleteds
Sequence[Is
Virtual Network Interface Primary Ip Deleted] - If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href str
- The URL for this reserved IP.
- name str
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved_
ip str - The unique identifier for this reserved IP.
- resource_
type str - The resource type.
- address 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 Boolean - Indicates whether this virtual network interface will be automatically deleted when
target
is deleted. Must be false if the virtual network interface is unbound. - deleteds List<Property Map>
- If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this reserved IP.
- name String
- The name for this reserved IP. The name is unique across all reserved IPs in a subnet.
- reserved
Ip String - The unique identifier for this reserved IP.
- resource
Type String - The resource type.
IsVirtualNetworkInterfacePrimaryIpDeleted, IsVirtualNetworkInterfacePrimaryIpDeletedArgs
- More
Info string - Link to documentation about deleted resources.
- More
Info string - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
- more
Info string - Link to documentation about deleted resources.
- more_
info str - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
IsVirtualNetworkInterfaceTarget, IsVirtualNetworkInterfaceTargetArgs
- Deleteds
List<Is
Virtual Network Interface Target Deleted> - (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 VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- Resource
Type string - (String) The resource type.
- Deleteds
[]Is
Virtual Network Interface Target Deleted - (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 VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- Resource
Type string - (String) The resource type.
- deleteds
List<Is
Virtual Network Interface Target Deleted> - (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 VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource
Type String - (String) The resource type.
- deleteds
Is
Virtual Network Interface Target Deleted[] - (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 VPC.
- id string
- (String) The unique identifier for this VPC.
- name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource
Type string - (String) The resource type.
- deleteds
Sequence[Is
Virtual Network Interface Target Deleted] - (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 VPC.
- id str
- (String) The unique identifier for this VPC.
- name str
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource_
type str - (String) The resource type.
- 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 VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource
Type String - (String) The resource type.
IsVirtualNetworkInterfaceTargetDeleted, IsVirtualNetworkInterfaceTargetDeletedArgs
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
IsVirtualNetworkInterfaceTimeouts, IsVirtualNetworkInterfaceTimeoutsArgs
IsVirtualNetworkInterfaceVpc, IsVirtualNetworkInterfaceVpcArgs
- Crn string
- (String) The CRN for this VPC.
- Deleteds
List<Is
Virtual Network Interface Vpc Deleted> - (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 VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- Resource
Type string - (String) The resource type.
- Crn string
- (String) The CRN for this VPC.
- Deleteds
[]Is
Virtual Network Interface Vpc Deleted - (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 VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- Resource
Type string - (String) The resource type.
- crn String
- (String) The CRN for this VPC.
- deleteds
List<Is
Virtual Network Interface Vpc Deleted> - (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 VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource
Type String - (String) The resource type.
- crn string
- (String) The CRN for this VPC.
- deleteds
Is
Virtual Network Interface Vpc Deleted[] - (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 VPC.
- id string
- (String) The unique identifier for this VPC.
- name string
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource
Type string - (String) The resource type.
- crn str
- (String) The CRN for this VPC.
- deleteds
Sequence[Is
Virtual Network Interface Vpc Deleted] - (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 VPC.
- id str
- (String) The unique identifier for this VPC.
- name str
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource_
type str - (String) The resource type.
- crn String
- (String) The CRN for this VPC.
- 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 VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- The name for this virtual network interface. The name is unique across all virtual network interfaces in the VPC.
- resource
Type String - (String) The resource type.
IsVirtualNetworkInterfaceVpcDeleted, IsVirtualNetworkInterfaceVpcDeletedArgs
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
Import
You can import the ibm_is_virtual_network_interface
resource by using id
. The unique identifier for this virtual network interface.
Syntax
$ pulumi import ibm:index/isVirtualNetworkInterface:IsVirtualNetworkInterface is_virtual_network_interface <id>
Example
$ pulumi import ibm:index/isVirtualNetworkInterface:IsVirtualNetworkInterface is_virtual_network_interface 0767-fa41aecb-4f21-423d-8082-630bfba1e1d9
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.