RouterInterfaceArgs class
The set of arguments for RouterInterface. The set of arguments for RouterInterface.
Constructors
-
RouterInterfaceArgs({Input<
String?> ? deletionPolicy, Input<String?> ? interconnectAttachment, Input<String?> ? ipRange, Input<String?> ? ipVersion, Input<String?> ? name, Input<String?> ? privateIpAddress, Input<String?> ? project, Input<String?> ? redundantInterface, Input<String?> ? region, required Input<String> router, Input<String?> ? subnetwork, Input<String?> ? vpnTunnel}) -
Creates a new RouterInterfaceArgs.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".interconnectAttachmentThe name or resource link to theipRangeIP address and range of the interface. The IP range must beipVersionIP version of this interface. Can be either IPV4 or IPV6.nameA unique name for the interface, required by GCE. ChangingprivateIpAddressThe regional private internal IP address that is usedprojectThe ID of the project in which this interface's routerbelongs.redundantInterfaceThe name of the interface that is redundant toregionThe region this interface's router sits in.routerThe name of the router this interface will be attached to.subnetworkThe URI of the subnetwork resource that this interfacevpnTunnelThe name or resource link to the VPN tunnel thisconst -
RouterInterfaceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interconnectAttachment
→ Input<
String?> ? -
The name or resource link to the
VLAN interconnect for this interface. Changing this forces a new interface to
be created. Only one of
vpnTunnel,interconnectAttachmentorsubnetworkcan be specified.final -
ipRange
→ Input<
String?> ? -
IP address and range of the interface. The IP range must be
in the RFC3927 link-local IP space. Changing this forces a new interface to be created.
final
-
ipVersion
→ Input<
String?> ? -
IP version of this interface. Can be either IPV4 or IPV6.
final
-
name
→ Input<
String?> ? -
A unique name for the interface, required by GCE. Changing
this forces a new interface to be created.
final
-
privateIpAddress
→ Input<
String?> ? -
The regional private internal IP address that is used
to establish BGP sessions to a VM instance acting as a third-party Router Appliance. Changing this forces a new interface to be created.
final
-
project
→ Input<
String?> ? -
The ID of the project in which this interface's routerbelongs.
If it is not provided, the provider project is used. Changing this forces a new interface to be created.
final
-
redundantInterface
→ Input<
String?> ? -
The name of the interface that is redundant to
this interface. Changing this forces a new interface to be created.
final
-
region
→ Input<
String?> ? -
The region this interface's router sits in.
If not specified, the project region will be used. Changing this forces a new interface to be created.
final
-
router
→ Input<
String> -
The name of the router this interface will be attached to.
Changing this forces a new interface to be created.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subnetwork
→ Input<
String?> ? -
The URI of the subnetwork resource that this interface
belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here. Changing this forces a new interface to be created. Only one of
vpnTunnel,interconnectAttachmentorsubnetworkcan be specified.final -
vpnTunnel
→ Input<
String?> ? -
The name or resource link to the VPN tunnel this
interface will be linked to. Changing this forces a new interface to be created. Only
one of
vpnTunnel,interconnectAttachmentorsubnetworkcan be specified.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited