RouteState class
Input properties used for looking up and filtering Route resources.
Constructors
-
RouteState({Input<
List< ? asPaths, Input<RouteAsPath> ?>String?> ? creationTimestamp, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? destRange, Input<String?> ? name, Input<String?> ? network, Input<String?> ? nextHopGateway, Input<String?> ? nextHopHub, Input<String?> ? nextHopIlb, Input<String?> ? nextHopInstance, Input<String?> ? nextHopInstanceZone, Input<String?> ? nextHopInterRegionCost, Input<String?> ? nextHopIp, Input<String?> ? nextHopMed, Input<String?> ? nextHopNetwork, Input<String?> ? nextHopOrigin, Input<String?> ? nextHopPeering, Input<String?> ? nextHopVpnTunnel, Input<RouteParams?> ? params, Input<int?> ? priority, Input<String?> ? project, Input<String?> ? routeStatus, Input<String?> ? routeType, Input<String?> ? selfLink, Input<List< ? tags, Input<String> ?>List< ? warnings})RouteWarning> ?> -
Creates a new RouteState.
asPathsStructure is documented below.creationTimestampCreation timestamp in RFC3339 text format.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description of this resource. Provide this propertydestRangeThe destination range of outgoing packets that this route applies to.nameName of the resource. Provided by the client when the resource isnetworkThe network that this route applies to.nextHopGatewayURL to a gateway that should handle matching packets.nextHopHubThe hub network that should handle matching packets, which should conform to RFC1035.nextHopIlbThe IP address or URL to a forwarding rule of typenextHopInstanceURL to an instance that should handle matching packets.nextHopInstanceZone(Optional whennextHopInstanceisnextHopInterRegionCostInternal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.nextHopIpNetwork IP address of an instance that should handle matching packets.nextHopMedMulti-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.nextHopNetworkURL to a Network that should handle matching packets.nextHopOriginIndicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.nextHopPeeringThe network peering name that should handle matching packets, which should conform to RFC1035.nextHopVpnTunnelURL to a VpnTunnel that should handle matching packets.paramsAdditional params passed with the request, but not persisted as part of resource payloadpriorityThe priority of this route. Priority is used to break ties in casesprojectThe ID of the project in which the resource belongs.routeStatusThe status of the route, which can be one of the following values:routeTypeThe type of this route, which can be one of the following values:selfLinkThe URI of the created resource.tagsA list of instance tags to which this route applies.warningsIf potential misconfigurations are detected for this route, this field will be populated with warning messages.const -
RouteState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
asPaths
→ Input<
List< ?RouteAsPath> ?> -
Structure is documented below.
final
-
creationTimestamp
→ Input<
String?> ? -
Creation timestamp in RFC3339 text format.
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. Provide this property
when you create the resource.
final
-
destRange
→ Input<
String?> ? -
The destination range of outgoing packets that this route applies to.
Only IPv4 is supported.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and
match the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.final -
network
→ Input<
String?> ? -
The network that this route applies to.
final
-
nextHopGateway
→ Input<
String?> ? -
URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:
final
-
nextHopHub
→ Input<
String?> ? -
The hub network that should handle matching packets, which should conform to RFC1035.
final
-
nextHopIlb
→ Input<
String?> ? -
The IP address or URL to a forwarding rule of type
loadBalancingScheme=INTERNAL that should handle matching
packets.
With the GA provider you can only specify the forwarding
rule as a partial or full URL. For example, the following
are all valid values:
final
-
nextHopInstance
→ Input<
String?> ? -
URL to an instance that should handle matching packets.
You can specify this as a full or partial URL. For example:
final
-
nextHopInstanceZone
→ Input<
String?> ? -
(Optional when
nextHopInstanceis specified) The zone of the instance specified innextHopInstance. Omit ifnextHopInstanceis specified as a URL.final -
nextHopInterRegionCost
→ Input<
String?> ? -
Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
final
-
nextHopIp
→ Input<
String?> ? -
Network IP address of an instance that should handle matching packets.
final
-
nextHopMed
→ Input<
String?> ? -
Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
final
-
nextHopNetwork
→ Input<
String?> ? -
URL to a Network that should handle matching packets.
final
-
nextHopOrigin
→ Input<
String?> ? -
Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
final
-
nextHopPeering
→ Input<
String?> ? -
The network peering name that should handle matching packets, which should conform to RFC1035.
final
-
nextHopVpnTunnel
→ Input<
String?> ? -
URL to a VpnTunnel that should handle matching packets.
final
-
params
→ Input<
RouteParams?> ? -
Additional params passed with the request, but not persisted as part of resource payload
Structure is documented below.
final
-
priority
→ Input<
int?> ? -
The priority of this route. Priority is used to break ties in cases
where there is more than one matching route of equal prefix length.
In the case of two routes with equal prefix length, the one with the
lowest-numbered priority value wins.
Default value is 1000. Valid range is 0 through 65535.
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
-
routeStatus
→ Input<
String?> ? -
The status of the route, which can be one of the following values:
final
-
routeType
→ Input<
String?> ? -
The type of this route, which can be one of the following values:
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selfLink
→ Input<
String?> ? -
The URI of the created resource.
final
-
A list of instance tags to which this route applies.
final
-
warnings
→ Input<
List< ?RouteWarning> ?> -
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