PolicyBasedRouteArgs class

The set of arguments for PolicyBasedRoute. The set of arguments for PolicyBasedRoute.

Constructors

PolicyBasedRouteArgs({Input<String?>? deletionPolicy, Input<String?>? description, required Input<PolicyBasedRouteFilter> filter, Input<PolicyBasedRouteInterconnectAttachment?>? interconnectAttachment, Input<Map<String, String>?>? labels, Input<String?>? name, required Input<String> network, Input<String?>? nextHopIlbIp, Input<String?>? nextHopOtherRoutes, Input<int?>? priority, Input<String?>? project, Input<PolicyBasedRouteVirtualMachine?>? virtualMachine})
Creates a new PolicyBasedRouteArgs. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. filter The filter to match L4 traffic. interconnectAttachment The interconnect attachments that this policy-based route applies to. labels User-defined labels. name The name of the policy based route. network Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network. nextHopIlbIp The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. nextHopOtherRoutes Other routes that will be referenced to determine the next hop of the packet. priority The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive. project The ID of the project in which the resource belongs. virtualMachine VM instances to which this policy-based route applies to.
const
PolicyBasedRouteArgs.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
description → Input<String?>?
An optional description of this resource.
final
filter → Input<PolicyBasedRouteFilter>
The filter to match L4 traffic. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
interconnectAttachment → Input<PolicyBasedRouteInterconnectAttachment?>?
The interconnect attachments that this policy-based route applies to. Structure is documented below.
final
labels → Input<Map<String, String>?>?
User-defined labels.
final
name → Input<String?>?
The name of the policy based route.
final
network → Input<String>
Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
final
nextHopIlbIp → Input<String?>?
The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
final
nextHopOtherRoutes → Input<String?>?
Other routes that will be referenced to determine the next hop of the packet. Possible values are: DEFAULT_ROUTING.
final
priority → Input<int?>?
The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
virtualMachine → Input<PolicyBasedRouteVirtualMachine?>?
VM instances to which this policy-based route applies to. Structure is documented below.
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