Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networkconnectivity/v1.PolicyBasedRoute
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new policy-based route in a given project and location. Auto-naming is currently not supported for this resource.
Create PolicyBasedRoute Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyBasedRoute(name: string, args: PolicyBasedRouteArgs, opts?: CustomResourceOptions);
@overload
def PolicyBasedRoute(resource_name: str,
args: PolicyBasedRouteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyBasedRoute(resource_name: str,
opts: Optional[ResourceOptions] = None,
network: Optional[str] = None,
filter: Optional[FilterArgs] = None,
policy_based_route_id: Optional[str] = None,
next_hop_ilb_ip: Optional[str] = None,
name: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
next_hop_other_routes: Optional[PolicyBasedRouteNextHopOtherRoutes] = None,
interconnect_attachment: Optional[InterconnectAttachmentArgs] = None,
priority: Optional[int] = None,
project: Optional[str] = None,
request_id: Optional[str] = None,
virtual_machine: Optional[VirtualMachineArgs] = None)
func NewPolicyBasedRoute(ctx *Context, name string, args PolicyBasedRouteArgs, opts ...ResourceOption) (*PolicyBasedRoute, error)
public PolicyBasedRoute(string name, PolicyBasedRouteArgs args, CustomResourceOptions? opts = null)
public PolicyBasedRoute(String name, PolicyBasedRouteArgs args)
public PolicyBasedRoute(String name, PolicyBasedRouteArgs args, CustomResourceOptions options)
type: google-native:networkconnectivity/v1:PolicyBasedRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PolicyBasedRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PolicyBasedRouteArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PolicyBasedRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyBasedRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyBasedRouteArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var policyBasedRouteResource = new GoogleNative.NetworkConnectivity.V1.PolicyBasedRoute("policyBasedRouteResource", new()
{
Network = "string",
Filter = new GoogleNative.NetworkConnectivity.V1.Inputs.FilterArgs
{
ProtocolVersion = GoogleNative.NetworkConnectivity.V1.FilterProtocolVersion.ProtocolVersionUnspecified,
DestRange = "string",
IpProtocol = "string",
SrcRange = "string",
},
PolicyBasedRouteId = "string",
NextHopIlbIp = "string",
Name = "string",
Labels =
{
{ "string", "string" },
},
Description = "string",
NextHopOtherRoutes = GoogleNative.NetworkConnectivity.V1.PolicyBasedRouteNextHopOtherRoutes.OtherRoutesUnspecified,
InterconnectAttachment = new GoogleNative.NetworkConnectivity.V1.Inputs.InterconnectAttachmentArgs
{
Region = "string",
},
Priority = 0,
Project = "string",
RequestId = "string",
VirtualMachine = new GoogleNative.NetworkConnectivity.V1.Inputs.VirtualMachineArgs
{
Tags = new[]
{
"string",
},
},
});
example, err := networkconnectivity.NewPolicyBasedRoute(ctx, "policyBasedRouteResource", &networkconnectivity.PolicyBasedRouteArgs{
Network: pulumi.String("string"),
Filter: &networkconnectivity.FilterArgs{
ProtocolVersion: networkconnectivity.FilterProtocolVersionProtocolVersionUnspecified,
DestRange: pulumi.String("string"),
IpProtocol: pulumi.String("string"),
SrcRange: pulumi.String("string"),
},
PolicyBasedRouteId: pulumi.String("string"),
NextHopIlbIp: pulumi.String("string"),
Name: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
NextHopOtherRoutes: networkconnectivity.PolicyBasedRouteNextHopOtherRoutesOtherRoutesUnspecified,
InterconnectAttachment: &networkconnectivity.InterconnectAttachmentArgs{
Region: pulumi.String("string"),
},
Priority: pulumi.Int(0),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
VirtualMachine: &networkconnectivity.VirtualMachineArgs{
Tags: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var policyBasedRouteResource = new PolicyBasedRoute("policyBasedRouteResource", PolicyBasedRouteArgs.builder()
.network("string")
.filter(FilterArgs.builder()
.protocolVersion("PROTOCOL_VERSION_UNSPECIFIED")
.destRange("string")
.ipProtocol("string")
.srcRange("string")
.build())
.policyBasedRouteId("string")
.nextHopIlbIp("string")
.name("string")
.labels(Map.of("string", "string"))
.description("string")
.nextHopOtherRoutes("OTHER_ROUTES_UNSPECIFIED")
.interconnectAttachment(InterconnectAttachmentArgs.builder()
.region("string")
.build())
.priority(0)
.project("string")
.requestId("string")
.virtualMachine(VirtualMachineArgs.builder()
.tags("string")
.build())
.build());
policy_based_route_resource = google_native.networkconnectivity.v1.PolicyBasedRoute("policyBasedRouteResource",
network="string",
filter=google_native.networkconnectivity.v1.FilterArgs(
protocol_version=google_native.networkconnectivity.v1.FilterProtocolVersion.PROTOCOL_VERSION_UNSPECIFIED,
dest_range="string",
ip_protocol="string",
src_range="string",
),
policy_based_route_id="string",
next_hop_ilb_ip="string",
name="string",
labels={
"string": "string",
},
description="string",
next_hop_other_routes=google_native.networkconnectivity.v1.PolicyBasedRouteNextHopOtherRoutes.OTHER_ROUTES_UNSPECIFIED,
interconnect_attachment=google_native.networkconnectivity.v1.InterconnectAttachmentArgs(
region="string",
),
priority=0,
project="string",
request_id="string",
virtual_machine=google_native.networkconnectivity.v1.VirtualMachineArgs(
tags=["string"],
))
const policyBasedRouteResource = new google_native.networkconnectivity.v1.PolicyBasedRoute("policyBasedRouteResource", {
network: "string",
filter: {
protocolVersion: google_native.networkconnectivity.v1.FilterProtocolVersion.ProtocolVersionUnspecified,
destRange: "string",
ipProtocol: "string",
srcRange: "string",
},
policyBasedRouteId: "string",
nextHopIlbIp: "string",
name: "string",
labels: {
string: "string",
},
description: "string",
nextHopOtherRoutes: google_native.networkconnectivity.v1.PolicyBasedRouteNextHopOtherRoutes.OtherRoutesUnspecified,
interconnectAttachment: {
region: "string",
},
priority: 0,
project: "string",
requestId: "string",
virtualMachine: {
tags: ["string"],
},
});
type: google-native:networkconnectivity/v1:PolicyBasedRoute
properties:
description: string
filter:
destRange: string
ipProtocol: string
protocolVersion: PROTOCOL_VERSION_UNSPECIFIED
srcRange: string
interconnectAttachment:
region: string
labels:
string: string
name: string
network: string
nextHopIlbIp: string
nextHopOtherRoutes: OTHER_ROUTES_UNSPECIFIED
policyBasedRouteId: string
priority: 0
project: string
requestId: string
virtualMachine:
tags:
- string
PolicyBasedRoute Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The PolicyBasedRoute resource accepts the following input properties:
- Filter
Pulumi.
Google Native. Network Connectivity. V1. Inputs. Filter - The filter to match L4 traffic.
- Network string
- Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
- Policy
Based stringRoute Id - Required. Unique id for the policy-based route to create.
- Description string
- Optional. An optional description of this resource. Provide this field when you create the resource.
- Interconnect
Attachment Pulumi.Google Native. Network Connectivity. V1. Inputs. Interconnect Attachment - Optional. The interconnect attachments that this policy-based route applies to.
- Labels Dictionary<string, string>
- User-defined labels.
- Name string
- Immutable. A unique name of the resource in the form of
projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}
- Next
Hop stringIlb Ip - Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported.
- Next
Hop Pulumi.Other Routes Google Native. Network Connectivity. V1. Policy Based Route Next Hop Other Routes - Optional. Other routes that will be referenced to determine the next hop of the packet.
- Priority int
- Optional. 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 string
- Request
Id string - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Virtual
Machine Pulumi.Google Native. Network Connectivity. V1. Inputs. Virtual Machine - Optional. VM instances to which this policy-based route applies to.
- Filter
Filter
Args - The filter to match L4 traffic.
- Network string
- Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
- Policy
Based stringRoute Id - Required. Unique id for the policy-based route to create.
- Description string
- Optional. An optional description of this resource. Provide this field when you create the resource.
- Interconnect
Attachment InterconnectAttachment Args - Optional. The interconnect attachments that this policy-based route applies to.
- Labels map[string]string
- User-defined labels.
- Name string
- Immutable. A unique name of the resource in the form of
projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}
- Next
Hop stringIlb Ip - Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported.
- Next
Hop PolicyOther Routes Based Route Next Hop Other Routes - Optional. Other routes that will be referenced to determine the next hop of the packet.
- Priority int
- Optional. 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 string
- Request
Id string - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Virtual
Machine VirtualMachine Args - Optional. VM instances to which this policy-based route applies to.
- filter Filter
- The filter to match L4 traffic.
- network String
- Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
- policy
Based StringRoute Id - Required. Unique id for the policy-based route to create.
- description String
- Optional. An optional description of this resource. Provide this field when you create the resource.
- interconnect
Attachment InterconnectAttachment - Optional. The interconnect attachments that this policy-based route applies to.
- labels Map<String,String>
- User-defined labels.
- name String
- Immutable. A unique name of the resource in the form of
projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}
- next
Hop StringIlb Ip - Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported.
- next
Hop PolicyOther Routes Based Route Next Hop Other Routes - Optional. Other routes that will be referenced to determine the next hop of the packet.
- priority Integer
- Optional. 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 String
- request
Id String - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- virtual
Machine VirtualMachine - Optional. VM instances to which this policy-based route applies to.
- filter Filter
- The filter to match L4 traffic.
- network string
- Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
- policy
Based stringRoute Id - Required. Unique id for the policy-based route to create.
- description string
- Optional. An optional description of this resource. Provide this field when you create the resource.
- interconnect
Attachment InterconnectAttachment - Optional. The interconnect attachments that this policy-based route applies to.
- labels {[key: string]: string}
- User-defined labels.
- name string
- Immutable. A unique name of the resource in the form of
projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}
- next
Hop stringIlb Ip - Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported.
- next
Hop PolicyOther Routes Based Route Next Hop Other Routes - Optional. Other routes that will be referenced to determine the next hop of the packet.
- priority number
- Optional. 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 string
- request
Id string - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- virtual
Machine VirtualMachine - Optional. VM instances to which this policy-based route applies to.
- filter
Filter
Args - The filter to match L4 traffic.
- network str
- Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
- policy_
based_ strroute_ id - Required. Unique id for the policy-based route to create.
- description str
- Optional. An optional description of this resource. Provide this field when you create the resource.
- interconnect_
attachment InterconnectAttachment Args - Optional. The interconnect attachments that this policy-based route applies to.
- labels Mapping[str, str]
- User-defined labels.
- name str
- Immutable. A unique name of the resource in the form of
projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}
- next_
hop_ strilb_ ip - Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported.
- next_
hop_ Policyother_ routes Based Route Next Hop Other Routes - Optional. Other routes that will be referenced to determine the next hop of the packet.
- priority int
- Optional. 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 str
- request_
id str - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- virtual_
machine VirtualMachine Args - Optional. VM instances to which this policy-based route applies to.
- filter Property Map
- The filter to match L4 traffic.
- network String
- Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
- policy
Based StringRoute Id - Required. Unique id for the policy-based route to create.
- description String
- Optional. An optional description of this resource. Provide this field when you create the resource.
- interconnect
Attachment Property Map - Optional. The interconnect attachments that this policy-based route applies to.
- labels Map<String>
- User-defined labels.
- name String
- Immutable. A unique name of the resource in the form of
projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}
- next
Hop StringIlb Ip - Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported.
- next
Hop "OTHER_ROUTES_UNSPECIFIED" | "DEFAULT_ROUTING"Other Routes - Optional. Other routes that will be referenced to determine the next hop of the packet.
- priority Number
- Optional. 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 String
- request
Id String - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- virtual
Machine Property Map - Optional. VM instances to which this policy-based route applies to.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyBasedRoute resource produces the following output properties:
- Create
Time string - Time when the policy-based route was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources.
- Self
Link string - Server-defined fully-qualified URL for this resource.
- Update
Time string - Time when the policy-based route was updated.
- Warnings
List<Pulumi.
Google Native. Network Connectivity. V1. Outputs. Warnings Response> - If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- Create
Time string - Time when the policy-based route was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources.
- Self
Link string - Server-defined fully-qualified URL for this resource.
- Update
Time string - Time when the policy-based route was updated.
- Warnings
[]Warnings
Response - If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- create
Time String - Time when the policy-based route was created.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources.
- self
Link String - Server-defined fully-qualified URL for this resource.
- update
Time String - Time when the policy-based route was updated.
- warnings
List<Warnings
Response> - If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- create
Time string - Time when the policy-based route was created.
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources.
- self
Link string - Server-defined fully-qualified URL for this resource.
- update
Time string - Time when the policy-based route was updated.
- warnings
Warnings
Response[] - If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- create_
time str - Time when the policy-based route was created.
- id str
- The provider-assigned unique ID for this managed resource.
- kind str
- Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources.
- self_
link str - Server-defined fully-qualified URL for this resource.
- update_
time str - Time when the policy-based route was updated.
- warnings
Sequence[Warnings
Response] - If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- create
Time String - Time when the policy-based route was created.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources.
- self
Link String - Server-defined fully-qualified URL for this resource.
- update
Time String - Time when the policy-based route was updated.
- warnings List<Property Map>
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
Supporting Types
Filter, FilterArgs
- Protocol
Version Pulumi.Google Native. Network Connectivity. V1. Filter Protocol Version - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- Dest
Range string - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- Ip
Protocol string - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- Src
Range string - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- Protocol
Version FilterProtocol Version - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- Dest
Range string - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- Ip
Protocol string - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- Src
Range string - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- protocol
Version FilterProtocol Version - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- dest
Range String - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- ip
Protocol String - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- src
Range String - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- protocol
Version FilterProtocol Version - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- dest
Range string - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- ip
Protocol string - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- src
Range string - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- protocol_
version FilterProtocol Version - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- dest_
range str - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- ip_
protocol str - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- src_
range str - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- protocol
Version "PROTOCOL_VERSION_UNSPECIFIED" | "IPV4" - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- dest
Range String - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- ip
Protocol String - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- src
Range String - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
FilterProtocolVersion, FilterProtocolVersionArgs
- Protocol
Version Unspecified - PROTOCOL_VERSION_UNSPECIFIEDDefault value.
- Ipv4
- IPV4The PBR is for IPv4 internet protocol traffic.
- Filter
Protocol Version Protocol Version Unspecified - PROTOCOL_VERSION_UNSPECIFIEDDefault value.
- Filter
Protocol Version Ipv4 - IPV4The PBR is for IPv4 internet protocol traffic.
- Protocol
Version Unspecified - PROTOCOL_VERSION_UNSPECIFIEDDefault value.
- Ipv4
- IPV4The PBR is for IPv4 internet protocol traffic.
- Protocol
Version Unspecified - PROTOCOL_VERSION_UNSPECIFIEDDefault value.
- Ipv4
- IPV4The PBR is for IPv4 internet protocol traffic.
- PROTOCOL_VERSION_UNSPECIFIED
- PROTOCOL_VERSION_UNSPECIFIEDDefault value.
- IPV4
- IPV4The PBR is for IPv4 internet protocol traffic.
- "PROTOCOL_VERSION_UNSPECIFIED"
- PROTOCOL_VERSION_UNSPECIFIEDDefault value.
- "IPV4"
- IPV4The PBR is for IPv4 internet protocol traffic.
FilterResponse, FilterResponseArgs
- Dest
Range string - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- Ip
Protocol string - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- Protocol
Version string - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- Src
Range string - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- Dest
Range string - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- Ip
Protocol string - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- Protocol
Version string - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- Src
Range string - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- dest
Range String - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- ip
Protocol String - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- protocol
Version String - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- src
Range String - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- dest
Range string - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- ip
Protocol string - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- protocol
Version string - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- src
Range string - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- dest_
range str - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- ip_
protocol str - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- protocol_
version str - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- src_
range str - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- dest
Range String - Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
- ip
Protocol String - Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
- protocol
Version String - Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
- src
Range String - Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
InterconnectAttachment, InterconnectAttachmentArgs
- Region string
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
- Region string
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
- region String
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
- region string
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
- region str
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
- region String
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
InterconnectAttachmentResponse, InterconnectAttachmentResponseArgs
- Region string
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
- Region string
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
- region String
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
- region string
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
- region str
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
- region String
- Optional. Cloud region to install this policy-based route on interconnect attachment. Use
all
to install it on all interconnect attachments.
PolicyBasedRouteNextHopOtherRoutes, PolicyBasedRouteNextHopOtherRoutesArgs
- Other
Routes Unspecified - OTHER_ROUTES_UNSPECIFIEDDefault value.
- Default
Routing - DEFAULT_ROUTINGUse the routes from the default routing tables (system-generated routes, custom routes, peering route) to determine the next hop. This will effectively exclude matching packets being applied on other PBRs with a lower priority.
- Policy
Based Route Next Hop Other Routes Other Routes Unspecified - OTHER_ROUTES_UNSPECIFIEDDefault value.
- Policy
Based Route Next Hop Other Routes Default Routing - DEFAULT_ROUTINGUse the routes from the default routing tables (system-generated routes, custom routes, peering route) to determine the next hop. This will effectively exclude matching packets being applied on other PBRs with a lower priority.
- Other
Routes Unspecified - OTHER_ROUTES_UNSPECIFIEDDefault value.
- Default
Routing - DEFAULT_ROUTINGUse the routes from the default routing tables (system-generated routes, custom routes, peering route) to determine the next hop. This will effectively exclude matching packets being applied on other PBRs with a lower priority.
- Other
Routes Unspecified - OTHER_ROUTES_UNSPECIFIEDDefault value.
- Default
Routing - DEFAULT_ROUTINGUse the routes from the default routing tables (system-generated routes, custom routes, peering route) to determine the next hop. This will effectively exclude matching packets being applied on other PBRs with a lower priority.
- OTHER_ROUTES_UNSPECIFIED
- OTHER_ROUTES_UNSPECIFIEDDefault value.
- DEFAULT_ROUTING
- DEFAULT_ROUTINGUse the routes from the default routing tables (system-generated routes, custom routes, peering route) to determine the next hop. This will effectively exclude matching packets being applied on other PBRs with a lower priority.
- "OTHER_ROUTES_UNSPECIFIED"
- OTHER_ROUTES_UNSPECIFIEDDefault value.
- "DEFAULT_ROUTING"
- DEFAULT_ROUTINGUse the routes from the default routing tables (system-generated routes, custom routes, peering route) to determine the next hop. This will effectively exclude matching packets being applied on other PBRs with a lower priority.
VirtualMachine, VirtualMachineArgs
- List<string>
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
- []string
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
- List<String>
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
- string[]
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
- Sequence[str]
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
- List<String>
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
VirtualMachineResponse, VirtualMachineResponseArgs
- List<string>
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
- []string
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
- List<String>
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
- string[]
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
- Sequence[str]
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
- List<String>
- Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.
WarningsResponse, WarningsResponseArgs
- Code string
- A warning code, if applicable.
- Data Dictionary<string, string>
- Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
- Warning
Message string - A human-readable description of the warning code.
- Code string
- A warning code, if applicable.
- Data map[string]string
- Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
- Warning
Message string - A human-readable description of the warning code.
- code String
- A warning code, if applicable.
- data Map<String,String>
- Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
- warning
Message String - A human-readable description of the warning code.
- code string
- A warning code, if applicable.
- data {[key: string]: string}
- Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
- warning
Message string - A human-readable description of the warning code.
- code str
- A warning code, if applicable.
- data Mapping[str, str]
- Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
- warning_
message str - A human-readable description of the warning code.
- code String
- A warning code, if applicable.
- data Map<String>
- Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.
- warning
Message String - A human-readable description of the warning code.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.