PolicyBasedRouteArgs constructor
- Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - required Input<
PolicyBasedRouteFilter> filter, - Input<
PolicyBasedRouteInterconnectAttachment?> ? interconnectAttachment, - Input<
Map< ? labels,String, String> ?> - 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.
Implementation
const PolicyBasedRouteArgs({
this.deletionPolicy,
this.description,
required this.filter,
this.interconnectAttachment,
this.labels,
this.name,
required this.network,
this.nextHopIlbIp,
this.nextHopOtherRoutes,
this.priority,
this.project,
this.virtualMachine,
});