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< ? effectiveLabels, Input<String, String> ?>PolicyBasedRouteFilter?> ? filter, Input<PolicyBasedRouteInterconnectAttachment?> ? interconnectAttachment, Input<String?> ? kind, Input<Map< ? labels, Input<String, String> ?>String?> ? name, Input<String?> ? network, Input<String?> ? nextHopIlbIp, Input<String?> ? nextHopOtherRoutes, Input<int?> ? priority, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? updateTime, Input<PolicyBasedRouteVirtualMachine?> ? virtualMachine, Input<List< ? warnings})PolicyBasedRouteWarning> ?> -
Creates a new PolicyBasedRouteState.
createTimeTime when the policy-based route was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description of this resource.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.filterThe filter to match L4 traffic.interconnectAttachmentThe interconnect attachments that this policy-based route applies to.kindType of this resource.labelsUser-defined labels.nameThe name of the policy based route.networkFully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.nextHopIlbIpThe IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.nextHopOtherRoutesOther routes that will be referenced to determine the next hop of the packet.priorityThe 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.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourceupdateTimeTime when the policy-based route was created.virtualMachineVM instances to which this policy-based route applies to.warningsIf 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