RouteArgs class

The set of arguments for Route. The set of arguments for Route.

Constructors

RouteArgs({Input<String?>? deletionPolicy, Input<String?>? description, required Input<String> destRange, Input<String?>? name, required Input<String> network, Input<String?>? nextHopGateway, Input<String?>? nextHopIlb, Input<String?>? nextHopInstance, Input<String?>? nextHopInstanceZone, Input<String?>? nextHopIp, Input<String?>? nextHopVpnTunnel, Input<RouteParams?>? params, Input<int?>? priority, Input<String?>? project, Input<List<String>?>? tags})
Creates a new RouteArgs. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. Provide this property destRange The destination range of outgoing packets that this route applies to. name Name of the resource. Provided by the client when the resource is network The network that this route applies to. nextHopGateway URL to a gateway that should handle matching packets. nextHopIlb The IP address or URL to a forwarding rule of type nextHopInstance URL to an instance that should handle matching packets. nextHopInstanceZone (Optional when nextHopInstance is nextHopIp Network IP address of an instance that should handle matching packets. nextHopVpnTunnel URL to a VpnTunnel that should handle matching packets. params Additional params passed with the request, but not persisted as part of resource payload priority The priority of this route. Priority is used to break ties in cases project The ID of the project in which the resource belongs. tags A list of instance tags to which this route applies.
const
RouteArgs.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. 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
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 nextHopInstance is specified) The zone of the instance specified in nextHopInstance. Omit if nextHopInstance is specified as a URL.
final
nextHopIp → Input<String?>?
Network IP address of an instance that should handle matching packets.
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
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<List<String>?>?
A list of instance tags to which this route applies.
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