Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/v1.Route
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a Route resource in the specified project using the data included in the request.
Create Route Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Route(name: string, args?: RouteArgs, opts?: CustomResourceOptions);
@overload
def Route(resource_name: str,
args: Optional[RouteArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Route(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
dest_range: Optional[str] = None,
name: Optional[str] = None,
network: Optional[str] = None,
next_hop_gateway: Optional[str] = None,
next_hop_ilb: Optional[str] = None,
next_hop_instance: Optional[str] = None,
next_hop_ip: Optional[str] = None,
next_hop_network: Optional[str] = None,
next_hop_vpn_tunnel: Optional[str] = None,
priority: Optional[int] = None,
project: Optional[str] = None,
request_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewRoute(ctx *Context, name string, args *RouteArgs, opts ...ResourceOption) (*Route, error)
public Route(string name, RouteArgs? args = null, CustomResourceOptions? opts = null)
type: google-native:compute/v1:Route
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 RouteArgs
- 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 RouteArgs
- 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 RouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RouteArgs
- 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 examplerouteResourceResourceFromComputev1 = new GoogleNative.Compute.V1.Route("examplerouteResourceResourceFromComputev1", new()
{
Description = "string",
DestRange = "string",
Name = "string",
Network = "string",
NextHopGateway = "string",
NextHopIlb = "string",
NextHopInstance = "string",
NextHopIp = "string",
NextHopNetwork = "string",
NextHopVpnTunnel = "string",
Priority = 0,
Project = "string",
RequestId = "string",
Tags = new[]
{
"string",
},
});
example, err := computev1.NewRoute(ctx, "examplerouteResourceResourceFromComputev1", &computev1.RouteArgs{
Description: pulumi.String("string"),
DestRange: pulumi.String("string"),
Name: pulumi.String("string"),
Network: pulumi.String("string"),
NextHopGateway: pulumi.String("string"),
NextHopIlb: pulumi.String("string"),
NextHopInstance: pulumi.String("string"),
NextHopIp: pulumi.String("string"),
NextHopNetwork: pulumi.String("string"),
NextHopVpnTunnel: pulumi.String("string"),
Priority: pulumi.Int(0),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var examplerouteResourceResourceFromComputev1 = new Route("examplerouteResourceResourceFromComputev1", RouteArgs.builder()
.description("string")
.destRange("string")
.name("string")
.network("string")
.nextHopGateway("string")
.nextHopIlb("string")
.nextHopInstance("string")
.nextHopIp("string")
.nextHopNetwork("string")
.nextHopVpnTunnel("string")
.priority(0)
.project("string")
.requestId("string")
.tags("string")
.build());
exampleroute_resource_resource_from_computev1 = google_native.compute.v1.Route("examplerouteResourceResourceFromComputev1",
description="string",
dest_range="string",
name="string",
network="string",
next_hop_gateway="string",
next_hop_ilb="string",
next_hop_instance="string",
next_hop_ip="string",
next_hop_network="string",
next_hop_vpn_tunnel="string",
priority=0,
project="string",
request_id="string",
tags=["string"])
const examplerouteResourceResourceFromComputev1 = new google_native.compute.v1.Route("examplerouteResourceResourceFromComputev1", {
description: "string",
destRange: "string",
name: "string",
network: "string",
nextHopGateway: "string",
nextHopIlb: "string",
nextHopInstance: "string",
nextHopIp: "string",
nextHopNetwork: "string",
nextHopVpnTunnel: "string",
priority: 0,
project: "string",
requestId: "string",
tags: ["string"],
});
type: google-native:compute/v1:Route
properties:
description: string
destRange: string
name: string
network: string
nextHopGateway: string
nextHopIlb: string
nextHopInstance: string
nextHopIp: string
nextHopNetwork: string
nextHopVpnTunnel: string
priority: 0
project: string
requestId: string
tags:
- string
Route 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 Route resource accepts the following input properties:
- Description string
- An optional description of this resource. Provide this field when you create the resource.
- Dest
Range string - The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
- Name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. - Network string
- Fully-qualified URL of the network that this route applies to.
- Next
Hop stringGateway - The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
- Next
Hop stringIlb - The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule
- Next
Hop stringInstance - The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
- Next
Hop stringIp - The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
- Next
Hop stringNetwork - The URL of the local network if it should handle matching packets.
- Next
Hop stringVpn Tunnel - The URL to a VpnTunnel that should handle matching packets.
- Priority int
- The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is
1000
. The priority value must be from0
to65535
, inclusive. - Project string
- Request
Id string - 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. 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).
- List<string>
- A list of instance tags to which this route applies.
- Description string
- An optional description of this resource. Provide this field when you create the resource.
- Dest
Range string - The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
- Name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. - Network string
- Fully-qualified URL of the network that this route applies to.
- Next
Hop stringGateway - The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
- Next
Hop stringIlb - The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule
- Next
Hop stringInstance - The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
- Next
Hop stringIp - The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
- Next
Hop stringNetwork - The URL of the local network if it should handle matching packets.
- Next
Hop stringVpn Tunnel - The URL to a VpnTunnel that should handle matching packets.
- Priority int
- The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is
1000
. The priority value must be from0
to65535
, inclusive. - Project string
- Request
Id string - 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. 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).
- []string
- A list of instance tags to which this route applies.
- description String
- An optional description of this resource. Provide this field when you create the resource.
- dest
Range String - The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
- name String
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. - network String
- Fully-qualified URL of the network that this route applies to.
- next
Hop StringGateway - The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
- next
Hop StringIlb - The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule
- next
Hop StringInstance - The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
- next
Hop StringIp - The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
- next
Hop StringNetwork - The URL of the local network if it should handle matching packets.
- next
Hop StringVpn Tunnel - The URL to a VpnTunnel that should handle matching packets.
- priority Integer
- The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is
1000
. The priority value must be from0
to65535
, inclusive. - project String
- request
Id String - 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. 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).
- List<String>
- A list of instance tags to which this route applies.
- description string
- An optional description of this resource. Provide this field when you create the resource.
- dest
Range string - The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
- name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. - network string
- Fully-qualified URL of the network that this route applies to.
- next
Hop stringGateway - The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
- next
Hop stringIlb - The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule
- next
Hop stringInstance - The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
- next
Hop stringIp - The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
- next
Hop stringNetwork - The URL of the local network if it should handle matching packets.
- next
Hop stringVpn Tunnel - The URL to a VpnTunnel that should handle matching packets.
- priority number
- The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is
1000
. The priority value must be from0
to65535
, inclusive. - project string
- request
Id string - 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. 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).
- string[]
- A list of instance tags to which this route applies.
- description str
- An optional description of this resource. Provide this field when you create the resource.
- dest_
range str - The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
- name str
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. - network str
- Fully-qualified URL of the network that this route applies to.
- next_
hop_ strgateway - The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
- next_
hop_ strilb - The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule
- next_
hop_ strinstance - The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
- next_
hop_ strip - The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
- next_
hop_ strnetwork - The URL of the local network if it should handle matching packets.
- next_
hop_ strvpn_ tunnel - The URL to a VpnTunnel that should handle matching packets.
- priority int
- The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is
1000
. The priority value must be from0
to65535
, inclusive. - project str
- request_
id str - 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. 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).
- Sequence[str]
- A list of instance tags to which this route applies.
- description String
- An optional description of this resource. Provide this field when you create the resource.
- dest
Range String - The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.
- name String
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. - network String
- Fully-qualified URL of the network that this route applies to.
- next
Hop StringGateway - The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway
- next
Hop StringIlb - The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule
- next
Hop StringInstance - The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
- next
Hop StringIp - The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
- next
Hop StringNetwork - The URL of the local network if it should handle matching packets.
- next
Hop StringVpn Tunnel - The URL to a VpnTunnel that should handle matching packets.
- priority Number
- The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is
1000
. The priority value must be from0
to65535
, inclusive. - project String
- request
Id String - 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. 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).
- List<String>
- A list of instance tags to which this route applies.
Outputs
All input properties are implicitly available as output properties. Additionally, the Route resource produces the following output properties:
- As
Paths List<Pulumi.Google Native. Compute. V1. Outputs. Route As Path Response> - AS path.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Type of this resource. Always compute#routes for Route resources.
- Next
Hop stringHub - The full resource name of the Network Connectivity Center hub that will handle matching packets.
- Next
Hop stringPeering - The network peering name that should handle matching packets, which should conform to RFC1035.
- Route
Status string - [Output only] The status of the route.
- Route
Type string - The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
- Self
Link string - Server-defined fully-qualified URL for this resource.
- Warnings
List<Pulumi.
Google Native. Compute. V1. Outputs. Route Warnings Item Response> - If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- As
Paths []RouteAs Path Response - AS path.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Type of this resource. Always compute#routes for Route resources.
- Next
Hop stringHub - The full resource name of the Network Connectivity Center hub that will handle matching packets.
- Next
Hop stringPeering - The network peering name that should handle matching packets, which should conform to RFC1035.
- Route
Status string - [Output only] The status of the route.
- Route
Type string - The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
- Self
Link string - Server-defined fully-qualified URL for this resource.
- Warnings
[]Route
Warnings Item Response - If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- as
Paths List<RouteAs Path Response> - AS path.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Type of this resource. Always compute#routes for Route resources.
- next
Hop StringHub - The full resource name of the Network Connectivity Center hub that will handle matching packets.
- next
Hop StringPeering - The network peering name that should handle matching packets, which should conform to RFC1035.
- route
Status String - [Output only] The status of the route.
- route
Type String - The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
- self
Link String - Server-defined fully-qualified URL for this resource.
- warnings
List<Route
Warnings Item Response> - If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- as
Paths RouteAs Path Response[] - AS path.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- Type of this resource. Always compute#routes for Route resources.
- next
Hop stringHub - The full resource name of the Network Connectivity Center hub that will handle matching packets.
- next
Hop stringPeering - The network peering name that should handle matching packets, which should conform to RFC1035.
- route
Status string - [Output only] The status of the route.
- route
Type string - The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
- self
Link string - Server-defined fully-qualified URL for this resource.
- warnings
Route
Warnings Item Response[] - If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- as_
paths Sequence[RouteAs Path Response] - AS path.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- id str
- The provider-assigned unique ID for this managed resource.
- kind str
- Type of this resource. Always compute#routes for Route resources.
- next_
hop_ strhub - The full resource name of the Network Connectivity Center hub that will handle matching packets.
- next_
hop_ strpeering - The network peering name that should handle matching packets, which should conform to RFC1035.
- route_
status str - [Output only] The status of the route.
- route_
type str - The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
- self_
link str - Server-defined fully-qualified URL for this resource.
- warnings
Sequence[Route
Warnings Item Response] - If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- as
Paths List<Property Map> - AS path.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Type of this resource. Always compute#routes for Route resources.
- next
Hop StringHub - The full resource name of the Network Connectivity Center hub that will handle matching packets.
- next
Hop StringPeering - The network peering name that should handle matching packets, which should conform to RFC1035.
- route
Status String - [Output only] The status of the route.
- route
Type String - The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
- self
Link String - Server-defined fully-qualified URL for this resource.
- warnings List<Property Map>
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
Supporting Types
RouteAsPathResponse, RouteAsPathResponseArgs
- As
Lists List<int> - The AS numbers of the AS Path.
- Path
Segment stringType - The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed
- As
Lists []int - The AS numbers of the AS Path.
- Path
Segment stringType - The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed
- as
Lists List<Integer> - The AS numbers of the AS Path.
- path
Segment StringType - The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed
- as
Lists number[] - The AS numbers of the AS Path.
- path
Segment stringType - The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed
- as_
lists Sequence[int] - The AS numbers of the AS Path.
- path_
segment_ strtype - The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed
- as
Lists List<Number> - The AS numbers of the AS Path.
- path
Segment StringType - The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed
RouteWarningsItemDataItemResponse, RouteWarningsItemDataItemResponseArgs
- Key string
- A key that 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, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- Value string
- A warning data value corresponding to the key.
- Key string
- A key that 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, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- Value string
- A warning data value corresponding to the key.
- key String
- A key that 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, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- value String
- A warning data value corresponding to the key.
- key string
- A key that 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, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- value string
- A warning data value corresponding to the key.
- key str
- A key that 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, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- value str
- A warning data value corresponding to the key.
- key String
- A key that 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, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- value String
- A warning data value corresponding to the key.
RouteWarningsItemResponse, RouteWarningsItemResponseArgs
- Code string
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- Data
List<Pulumi.
Google Native. Compute. V1. Inputs. Route Warnings Item Data Item Response> - Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- Message string
- A human-readable description of the warning code.
- Code string
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- Data
[]Route
Warnings Item Data Item Response - Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- Message string
- A human-readable description of the warning code.
- code String
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- data
List<Route
Warnings Item Data Item Response> - Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- message String
- A human-readable description of the warning code.
- code string
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- data
Route
Warnings Item Data Item Response[] - Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- message string
- A human-readable description of the warning code.
- code str
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- data
Sequence[Route
Warnings Item Data Item Response] - Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- message str
- A human-readable description of the warning code.
- code String
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- data List<Property Map>
- Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- 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.