NetworkPeeringArgs class

The set of arguments for NetworkPeering. The set of arguments for NetworkPeering.

Constructors

NetworkPeeringArgs({Input<String?>? deletionPolicy, Input<bool?>? exportCustomRoutes, Input<bool?>? exportSubnetRoutesWithPublicIp, Input<bool?>? importCustomRoutes, Input<bool?>? importSubnetRoutesWithPublicIp, Input<String?>? name, required Input<String> network, required Input<String> peerNetwork, Input<String?>? stackType, Input<String?>? updateStrategy})
Creates a new NetworkPeeringArgs. deletionPolicy (Optional) Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". exportCustomRoutes Whether to export the custom routes to the peer network. Defaults to false. exportSubnetRoutesWithPublicIp Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field. importCustomRoutes Whether to import the custom routes from the peer network. Defaults to false. importSubnetRoutesWithPublicIp Whether subnet routes with public IP range are imported. The default value is false. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported from peers and are not controlled by this field. name Name of the peering. network The primary network of the peering. peerNetwork The peer network in the peering. The peer network stackType Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Possible values: "IPV4_ONLY", "IPV4_IPV6". updateStrategy The update strategy determines the semantics for updates and deletes to the peering connection configuration. The default value is INDEPENDENT. Possible values: "INDEPENDENT", "CONSENSUS"
const
NetworkPeeringArgs.fromMap(Map<String, dynamic> map)
factory

Properties

deletionPolicy → Input<String?>?
(Optional) 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
exportCustomRoutes → Input<bool?>?
Whether to export the custom routes to the peer network. Defaults to false.
final
exportSubnetRoutesWithPublicIp → Input<bool?>?
Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
final
hashCode → int
The hash code for this object.
no setterinherited
importCustomRoutes → Input<bool?>?
Whether to import the custom routes from the peer network. Defaults to false.
final
importSubnetRoutesWithPublicIp → Input<bool?>?
Whether subnet routes with public IP range are imported. The default value is false. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported from peers and are not controlled by this field.
final
name → Input<String?>?
Name of the peering.
final
network → Input<String>
The primary network of the peering.
final
peerNetwork → Input<String>
The peer network in the peering. The peer network may belong to a different project.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackType → Input<String?>?
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Possible values: "IPV4_ONLY", "IPV4_IPV6".
final
updateStrategy → Input<String?>?
The update strategy determines the semantics for updates and deletes to the peering connection configuration. The default value is INDEPENDENT. Possible values: "INDEPENDENT", "CONSENSUS"
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