1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkconnectivity
  5. networkconnectivity/v1
  6. PolicyBasedRoute

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.networkconnectivity/v1.PolicyBasedRoute

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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.GoogleNative.NetworkConnectivity.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.
    PolicyBasedRouteId string
    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.
    InterconnectAttachment Pulumi.GoogleNative.NetworkConnectivity.V1.Inputs.InterconnectAttachment
    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}
    NextHopIlbIp string
    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.
    NextHopOtherRoutes Pulumi.GoogleNative.NetworkConnectivity.V1.PolicyBasedRouteNextHopOtherRoutes
    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
    RequestId 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).
    VirtualMachine Pulumi.GoogleNative.NetworkConnectivity.V1.Inputs.VirtualMachine
    Optional. VM instances to which this policy-based route applies to.
    Filter FilterArgs
    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.
    PolicyBasedRouteId string
    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.
    InterconnectAttachment InterconnectAttachmentArgs
    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}
    NextHopIlbIp string
    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.
    NextHopOtherRoutes PolicyBasedRouteNextHopOtherRoutes
    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
    RequestId 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).
    VirtualMachine VirtualMachineArgs
    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.
    policyBasedRouteId String
    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.
    interconnectAttachment 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}
    nextHopIlbIp String
    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.
    nextHopOtherRoutes PolicyBasedRouteNextHopOtherRoutes
    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
    requestId 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).
    virtualMachine 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.
    policyBasedRouteId string
    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.
    interconnectAttachment 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}
    nextHopIlbIp string
    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.
    nextHopOtherRoutes PolicyBasedRouteNextHopOtherRoutes
    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
    requestId 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).
    virtualMachine VirtualMachine
    Optional. VM instances to which this policy-based route applies to.
    filter FilterArgs
    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_route_id str
    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 InterconnectAttachmentArgs
    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_ilb_ip str
    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 PolicyBasedRouteNextHopOtherRoutes
    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 VirtualMachineArgs
    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.
    policyBasedRouteId String
    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.
    interconnectAttachment 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}
    nextHopIlbIp String
    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.
    nextHopOtherRoutes "OTHER_ROUTES_UNSPECIFIED" | "DEFAULT_ROUTING"
    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
    requestId 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).
    virtualMachine 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:

    CreateTime 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.
    SelfLink string
    Server-defined fully-qualified URL for this resource.
    UpdateTime string
    Time when the policy-based route was updated.
    Warnings List<Pulumi.GoogleNative.NetworkConnectivity.V1.Outputs.WarningsResponse>
    If potential misconfigurations are detected for this route, this field will be populated with warning messages.
    CreateTime 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.
    SelfLink string
    Server-defined fully-qualified URL for this resource.
    UpdateTime string
    Time when the policy-based route was updated.
    Warnings []WarningsResponse
    If potential misconfigurations are detected for this route, this field will be populated with warning messages.
    createTime 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.
    selfLink String
    Server-defined fully-qualified URL for this resource.
    updateTime String
    Time when the policy-based route was updated.
    warnings List<WarningsResponse>
    If potential misconfigurations are detected for this route, this field will be populated with warning messages.
    createTime 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.
    selfLink string
    Server-defined fully-qualified URL for this resource.
    updateTime string
    Time when the policy-based route was updated.
    warnings WarningsResponse[]
    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[WarningsResponse]
    If potential misconfigurations are detected for this route, this field will be populated with warning messages.
    createTime 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.
    selfLink String
    Server-defined fully-qualified URL for this resource.
    updateTime 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

    ProtocolVersion Pulumi.GoogleNative.NetworkConnectivity.V1.FilterProtocolVersion
    Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
    DestRange 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.
    IpProtocol string
    Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
    SrcRange 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.
    ProtocolVersion FilterProtocolVersion
    Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
    DestRange 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.
    IpProtocol string
    Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
    SrcRange 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.
    protocolVersion FilterProtocolVersion
    Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
    destRange 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.
    ipProtocol String
    Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
    srcRange 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.
    protocolVersion FilterProtocolVersion
    Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
    destRange 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.
    ipProtocol string
    Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
    srcRange 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 FilterProtocolVersion
    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.
    protocolVersion "PROTOCOL_VERSION_UNSPECIFIED" | "IPV4"
    Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
    destRange 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.
    ipProtocol String
    Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
    srcRange 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

    ProtocolVersionUnspecified
    PROTOCOL_VERSION_UNSPECIFIEDDefault value.
    Ipv4
    IPV4The PBR is for IPv4 internet protocol traffic.
    FilterProtocolVersionProtocolVersionUnspecified
    PROTOCOL_VERSION_UNSPECIFIEDDefault value.
    FilterProtocolVersionIpv4
    IPV4The PBR is for IPv4 internet protocol traffic.
    ProtocolVersionUnspecified
    PROTOCOL_VERSION_UNSPECIFIEDDefault value.
    Ipv4
    IPV4The PBR is for IPv4 internet protocol traffic.
    ProtocolVersionUnspecified
    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

    DestRange 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.
    IpProtocol string
    Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
    ProtocolVersion string
    Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
    SrcRange 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.
    DestRange 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.
    IpProtocol string
    Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
    ProtocolVersion string
    Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
    SrcRange 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.
    destRange 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.
    ipProtocol String
    Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
    protocolVersion String
    Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
    srcRange 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.
    destRange 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.
    ipProtocol string
    Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
    protocolVersion string
    Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
    srcRange 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.
    destRange 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.
    ipProtocol String
    Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
    protocolVersion String
    Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.
    srcRange 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

    OtherRoutesUnspecified
    OTHER_ROUTES_UNSPECIFIEDDefault value.
    DefaultRouting
    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.
    PolicyBasedRouteNextHopOtherRoutesOtherRoutesUnspecified
    OTHER_ROUTES_UNSPECIFIEDDefault value.
    PolicyBasedRouteNextHopOtherRoutesDefaultRouting
    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.
    OtherRoutesUnspecified
    OTHER_ROUTES_UNSPECIFIEDDefault value.
    DefaultRouting
    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.
    OtherRoutesUnspecified
    OTHER_ROUTES_UNSPECIFIEDDefault value.
    DefaultRouting
    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

    Tags 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.
    Tags []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.
    tags 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.
    tags 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.
    tags 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.
    tags 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

    Tags 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.
    Tags []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.
    tags 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.
    tags 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.
    tags 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.
    tags 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.
    WarningMessage 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.
    WarningMessage 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.
    warningMessage 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.
    warningMessage 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.
    warningMessage String
    A human-readable description of the warning code.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi