PolicyBasedRouteState class

Input properties used for looking up and filtering PolicyBasedRoute resources.

Constructors

PolicyBasedRouteState({Input<String?>? createTime, Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? effectiveLabels, Input<PolicyBasedRouteFilter?>? filter, Input<PolicyBasedRouteInterconnectAttachment?>? interconnectAttachment, Input<String?>? kind, Input<Map<String, String>?>? labels, Input<String?>? name, Input<String?>? network, Input<String?>? nextHopIlbIp, Input<String?>? nextHopOtherRoutes, Input<int?>? priority, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<String?>? updateTime, Input<PolicyBasedRouteVirtualMachine?>? virtualMachine, Input<List<PolicyBasedRouteWarning>?>? warnings})
Creates a new PolicyBasedRouteState. createTime Time when the policy-based route was created. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. filter The filter to match L4 traffic. interconnectAttachment The interconnect attachments that this policy-based route applies to. kind Type of this resource. 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. pulumiLabels The combination of labels configured directly on the resource updateTime Time when the policy-based route was created. virtualMachine VM instances to which this policy-based route applies to. warnings If potential misconfigurations are detected for this route, this field will be populated with warning messages.
const
PolicyBasedRouteState.fromMap(Map<String, dynamic> map)
factory

Properties

createTime → Input<String?>?
Time when the policy-based route was created.
final
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
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
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
kind → Input<String?>?
Type of this resource.
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
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updateTime → Input<String?>?
Time when the policy-based route was created.
final
virtualMachine → Input<PolicyBasedRouteVirtualMachine?>?
VM instances to which this policy-based route applies to. Structure is documented below.
final
warnings → Input<List<PolicyBasedRouteWarning>?>?
If potential misconfigurations are detected for this route, this field will be populated with warning messages. 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