gcp.compute.RouterStatus
Explore with Pulumi AI
Get a Cloud Router’s status within GCE from its name and region. This data source exposes the routes learned by a Cloud Router via BGP peers.
For more information see the official documentation and API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_router = gcp.compute.getRouterStatus({
    name: "myrouter",
});
import pulumi
import pulumi_gcp as gcp
my_router = gcp.compute.get_router_status(name="myrouter")
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.GetRouterStatus(ctx, &compute.GetRouterStatusArgs{
			Name: "myrouter",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var my_router = Gcp.Compute.GetRouterStatus.Invoke(new()
    {
        Name = "myrouter",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetRouterStatusArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var my-router = ComputeFunctions.getRouterStatus(GetRouterStatusArgs.builder()
            .name("myrouter")
            .build());
    }
}
variables:
  my-router:
    fn::invoke:
      function: gcp:compute:getRouterStatus
      arguments:
        name: myrouter
Using RouterStatus
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function routerStatus(args: RouterStatusArgs, opts?: InvokeOptions): Promise<RouterStatusResult>
function routerStatusOutput(args: RouterStatusOutputArgs, opts?: InvokeOptions): Output<RouterStatusResult>def router_status(name: Optional[str] = None,
                  project: Optional[str] = None,
                  region: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> RouterStatusResult
def router_status_output(name: Optional[pulumi.Input[str]] = None,
                  project: Optional[pulumi.Input[str]] = None,
                  region: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[RouterStatusResult]func RouterStatus(ctx *Context, args *RouterStatusArgs, opts ...InvokeOption) (*RouterStatusResult, error)
func RouterStatusOutput(ctx *Context, args *RouterStatusOutputArgs, opts ...InvokeOption) RouterStatusResultOutputpublic static class RouterStatus 
{
    public static Task<RouterStatusResult> InvokeAsync(RouterStatusArgs args, InvokeOptions? opts = null)
    public static Output<RouterStatusResult> Invoke(RouterStatusInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<RouterStatusResult> routerStatus(RouterStatusArgs args, InvokeOptions options)
public static Output<RouterStatusResult> routerStatus(RouterStatusArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:compute:RouterStatus
  arguments:
    # arguments dictionaryThe following arguments are supported:
RouterStatus Result
The following output properties are available:
- BestRoutes List<RouterStatus Best Route> 
- List of best compute#routesconfigurations for this router's network. See gcp.compute.Route resource for available attributes.
- BestRoutes List<RouterFor Routers Status Best Routes For Router> 
- List of best compute#routesfor this specific router. See gcp.compute.Route resource for available attributes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Network string
- The network name or resource link to the parent network of this subnetwork.
- Region string
- Project string
- BestRoutes []RouterStatus Best Route 
- List of best compute#routesconfigurations for this router's network. See gcp.compute.Route resource for available attributes.
- BestRoutes []RouterFor Routers Status Best Routes For Router 
- List of best compute#routesfor this specific router. See gcp.compute.Route resource for available attributes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Network string
- The network name or resource link to the parent network of this subnetwork.
- Region string
- Project string
- bestRoutes List<RouterStatus Best Route> 
- List of best compute#routesconfigurations for this router's network. See gcp.compute.Route resource for available attributes.
- bestRoutes List<RouterFor Routers Status Best Routes For Router> 
- List of best compute#routesfor this specific router. See gcp.compute.Route resource for available attributes.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- network String
- The network name or resource link to the parent network of this subnetwork.
- region String
- project String
- bestRoutes RouterStatus Best Route[] 
- List of best compute#routesconfigurations for this router's network. See gcp.compute.Route resource for available attributes.
- bestRoutes RouterFor Routers Status Best Routes For Router[] 
- List of best compute#routesfor this specific router. See gcp.compute.Route resource for available attributes.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- network string
- The network name or resource link to the parent network of this subnetwork.
- region string
- project string
- best_routes Sequence[RouterStatus Best Route] 
- List of best compute#routesconfigurations for this router's network. See gcp.compute.Route resource for available attributes.
- best_routes_ Sequence[Routerfor_ routers Status Best Routes For Router] 
- List of best compute#routesfor this specific router. See gcp.compute.Route resource for available attributes.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- network str
- The network name or resource link to the parent network of this subnetwork.
- region str
- project str
- bestRoutes List<Property Map>
- List of best compute#routesconfigurations for this router's network. See gcp.compute.Route resource for available attributes.
- bestRoutes List<Property Map>For Routers 
- List of best compute#routesfor this specific router. See gcp.compute.Route resource for available attributes.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- network String
- The network name or resource link to the parent network of this subnetwork.
- region String
- project String
Supporting Types
RouterStatusBestRoute   
- AsPaths List<RouterStatus Best Route As Path> 
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- DestRange string
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- Name string
- The name of the router.
- Network string
- The network name or resource link to the parent network of this subnetwork.
- NextHop stringGateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- NextHop stringHub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- NextHop stringIlb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- NextHop stringInstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- NextHop stringInstance Zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- NextHop stringInter Region Cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- NextHop stringIp 
- Network IP address of an instance that should handle matching packets.
- NextHop stringMed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- NextHop stringNetwork 
- URL to a Network that should handle matching packets.
- NextHop stringOrigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- NextHop stringPeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- NextHop stringVpn Tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- RouteStatus string
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive route
 
- RouteType 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
 
- SelfLink string
- List<string>
- A list of instance tags to which this route applies.
- Warnings
List<RouterStatus Best Route Warning> 
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- AsPaths []RouterStatus Best Route As Path 
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- DestRange string
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- Name string
- The name of the router.
- Network string
- The network name or resource link to the parent network of this subnetwork.
- NextHop stringGateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- NextHop stringHub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- NextHop stringIlb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- NextHop stringInstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- NextHop stringInstance Zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- NextHop stringInter Region Cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- NextHop stringIp 
- Network IP address of an instance that should handle matching packets.
- NextHop stringMed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- NextHop stringNetwork 
- URL to a Network that should handle matching packets.
- NextHop stringOrigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- NextHop stringPeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- NextHop stringVpn Tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- RouteStatus string
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive route
 
- RouteType 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
 
- SelfLink string
- []string
- A list of instance tags to which this route applies.
- Warnings
[]RouterStatus Best Route Warning 
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- asPaths List<RouterStatus Best Route As Path> 
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- destRange String
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- name String
- The name of the router.
- network String
- The network name or resource link to the parent network of this subnetwork.
- nextHop StringGateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- nextHop StringHub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- nextHop StringIlb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- nextHop StringInstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- nextHop StringInstance Zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- nextHop StringInter Region Cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- nextHop StringIp 
- Network IP address of an instance that should handle matching packets.
- nextHop StringMed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- nextHop StringNetwork 
- URL to a Network that should handle matching packets.
- nextHop StringOrigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- nextHop StringPeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- nextHop StringVpn Tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- routeStatus String
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive route
 
- routeType 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
 
- selfLink String
- List<String>
- A list of instance tags to which this route applies.
- warnings
List<RouterStatus Best Route Warning> 
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- asPaths RouterStatus Best Route As Path[] 
- creationTimestamp string
- Creation timestamp in RFC3339 text format.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- destRange string
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- name string
- The name of the router.
- network string
- The network name or resource link to the parent network of this subnetwork.
- nextHop stringGateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- nextHop stringHub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- nextHop stringIlb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- nextHop stringInstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- nextHop stringInstance Zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- nextHop stringInter Region Cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- nextHop stringIp 
- Network IP address of an instance that should handle matching packets.
- nextHop stringMed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- nextHop stringNetwork 
- URL to a Network that should handle matching packets.
- nextHop stringOrigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- nextHop stringPeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- nextHop stringVpn Tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- routeStatus string
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive route
 
- routeType 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
 
- selfLink string
- string[]
- A list of instance tags to which this route applies.
- warnings
RouterStatus Best Route Warning[] 
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- as_paths Sequence[RouterStatus Best Route As Path] 
- creation_timestamp str
- Creation timestamp in RFC3339 text format.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- dest_range str
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- name str
- The name of the router.
- network str
- The network name or resource link to the parent network of this subnetwork.
- next_hop_ strgateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- next_hop_ strhub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- next_hop_ strilb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- next_hop_ strinstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- next_hop_ strinstance_ zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- next_hop_ strinter_ region_ cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- next_hop_ strip 
- Network IP address of an instance that should handle matching packets.
- next_hop_ strmed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- next_hop_ strnetwork 
- URL to a Network that should handle matching packets.
- next_hop_ strorigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- next_hop_ strpeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- next_hop_ strvpn_ tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- route_status str
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive 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
- Sequence[str]
- A list of instance tags to which this route applies.
- warnings
Sequence[RouterStatus Best Route Warning] 
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- asPaths List<Property Map>
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- destRange String
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- name String
- The name of the router.
- network String
- The network name or resource link to the parent network of this subnetwork.
- nextHop StringGateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- nextHop StringHub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- nextHop StringIlb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- nextHop StringInstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- nextHop StringInstance Zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- nextHop StringInter Region Cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- nextHop StringIp 
- Network IP address of an instance that should handle matching packets.
- nextHop StringMed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- nextHop StringNetwork 
- URL to a Network that should handle matching packets.
- nextHop StringOrigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- nextHop StringPeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- nextHop StringVpn Tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- routeStatus String
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive route
 
- routeType 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
 
- selfLink String
- List<String>
- A list of instance tags to which this route applies.
- warnings List<Property Map>
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
RouterStatusBestRouteAsPath     
- AsLists List<int>
- The AS numbers of the AS Path.
- PathSegment 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
 
- AsLists []int
- The AS numbers of the AS Path.
- PathSegment 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
 
- asLists List<Integer>
- The AS numbers of the AS Path.
- pathSegment 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
 
- asLists number[]
- The AS numbers of the AS Path.
- pathSegment 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
 
- asLists List<Number>
- The AS numbers of the AS Path.
- pathSegment 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
 
RouterStatusBestRouteWarning    
- Code string
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- Datas
List<RouterStatus Best Route Warning Data> 
- 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.
- Datas
[]RouterStatus Best Route Warning Data 
- 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.
- datas
List<RouterStatus Best Route Warning Data> 
- 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.
- datas
RouterStatus Best Route Warning Data[] 
- 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.
- datas
Sequence[RouterStatus Best Route Warning Data] 
- 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.
- datas 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.
RouterStatusBestRouteWarningData     
- 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.
RouterStatusBestRoutesForRouter     
- AsPaths List<RouterStatus Best Routes For Router As Path> 
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- DestRange string
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- Name string
- The name of the router.
- Network string
- The network name or resource link to the parent network of this subnetwork.
- NextHop stringGateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- NextHop stringHub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- NextHop stringIlb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- NextHop stringInstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- NextHop stringInstance Zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- NextHop stringInter Region Cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- NextHop stringIp 
- Network IP address of an instance that should handle matching packets.
- NextHop stringMed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- NextHop stringNetwork 
- URL to a Network that should handle matching packets.
- NextHop stringOrigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- NextHop stringPeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- NextHop stringVpn Tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- RouteStatus string
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive route
 
- RouteType 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
 
- SelfLink string
- List<string>
- A list of instance tags to which this route applies.
- Warnings
List<RouterStatus Best Routes For Router Warning> 
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- AsPaths []RouterStatus Best Routes For Router As Path 
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- DestRange string
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- Name string
- The name of the router.
- Network string
- The network name or resource link to the parent network of this subnetwork.
- NextHop stringGateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- NextHop stringHub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- NextHop stringIlb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- NextHop stringInstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- NextHop stringInstance Zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- NextHop stringInter Region Cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- NextHop stringIp 
- Network IP address of an instance that should handle matching packets.
- NextHop stringMed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- NextHop stringNetwork 
- URL to a Network that should handle matching packets.
- NextHop stringOrigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- NextHop stringPeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- NextHop stringVpn Tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- RouteStatus string
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive route
 
- RouteType 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
 
- SelfLink string
- []string
- A list of instance tags to which this route applies.
- Warnings
[]RouterStatus Best Routes For Router Warning 
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- asPaths List<RouterStatus Best Routes For Router As Path> 
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- destRange String
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- name String
- The name of the router.
- network String
- The network name or resource link to the parent network of this subnetwork.
- nextHop StringGateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- nextHop StringHub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- nextHop StringIlb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- nextHop StringInstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- nextHop StringInstance Zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- nextHop StringInter Region Cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- nextHop StringIp 
- Network IP address of an instance that should handle matching packets.
- nextHop StringMed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- nextHop StringNetwork 
- URL to a Network that should handle matching packets.
- nextHop StringOrigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- nextHop StringPeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- nextHop StringVpn Tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- routeStatus String
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive route
 
- routeType 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
 
- selfLink String
- List<String>
- A list of instance tags to which this route applies.
- warnings
List<RouterStatus Best Routes For Router Warning> 
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- asPaths RouterStatus Best Routes For Router As Path[] 
- creationTimestamp string
- Creation timestamp in RFC3339 text format.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- destRange string
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- name string
- The name of the router.
- network string
- The network name or resource link to the parent network of this subnetwork.
- nextHop stringGateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- nextHop stringHub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- nextHop stringIlb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- nextHop stringInstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- nextHop stringInstance Zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- nextHop stringInter Region Cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- nextHop stringIp 
- Network IP address of an instance that should handle matching packets.
- nextHop stringMed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- nextHop stringNetwork 
- URL to a Network that should handle matching packets.
- nextHop stringOrigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- nextHop stringPeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- nextHop stringVpn Tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- routeStatus string
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive route
 
- routeType 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
 
- selfLink string
- string[]
- A list of instance tags to which this route applies.
- warnings
RouterStatus Best Routes For Router Warning[] 
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- as_paths Sequence[RouterStatus Best Routes For Router As Path] 
- creation_timestamp str
- Creation timestamp in RFC3339 text format.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- dest_range str
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- name str
- The name of the router.
- network str
- The network name or resource link to the parent network of this subnetwork.
- next_hop_ strgateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- next_hop_ strhub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- next_hop_ strilb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- next_hop_ strinstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- next_hop_ strinstance_ zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- next_hop_ strinter_ region_ cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- next_hop_ strip 
- Network IP address of an instance that should handle matching packets.
- next_hop_ strmed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- next_hop_ strnetwork 
- URL to a Network that should handle matching packets.
- next_hop_ strorigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- next_hop_ strpeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- next_hop_ strvpn_ tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- route_status str
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive 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
- Sequence[str]
- A list of instance tags to which this route applies.
- warnings
Sequence[RouterStatus Best Routes For Router Warning] 
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
- asPaths List<Property Map>
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- destRange String
- The destination range of outgoing packets that this route applies to. Only IPv4 is supported.
- name String
- The name of the router.
- network String
- The network name or resource link to the parent network of this subnetwork.
- nextHop StringGateway 
- URL to a gateway that should handle matching packets.
Currently, you can only specify the internet gateway, using a full or
partial valid URL:- 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
- 'projects/project/global/gateways/default-internet-gateway'
- 'global/gateways/default-internet-gateway'
- The string 'default-internet-gateway'.
 
- nextHop StringHub 
- The hub network that should handle matching packets, which should conform to RFC1035.
- nextHop StringIlb 
- The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. - With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: - 10.128.0.56
- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
- regions/region/forwardingRules/forwardingRule
 - When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. - Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. 
- nextHop StringInstance 
- 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/instance'
- 'projects/project/zones/zone/instances/instance'
- 'zones/zone/instances/instance'
- Just the instance name, with the zone in 'next_hop_instance_zone'.
 
- nextHop StringInstance Zone 
- The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.
- nextHop StringInter Region Cost 
- Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.
- nextHop StringIp 
- Network IP address of an instance that should handle matching packets.
- nextHop StringMed 
- Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.
- nextHop StringNetwork 
- URL to a Network that should handle matching packets.
- nextHop StringOrigin 
- Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
- nextHop StringPeering 
- The network peering name that should handle matching packets, which should conform to RFC1035.
- nextHop StringVpn Tunnel 
- 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 the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. - Default value is 1000. Valid range is 0 through 65535. 
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- routeStatus String
- The status of the route, which can be one of the following values:- 'ACTIVE' for an active route
- 'INACTIVE' for an inactive route
 
- routeType 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
 
- selfLink String
- List<String>
- A list of instance tags to which this route applies.
- warnings List<Property Map>
- If potential misconfigurations are detected for this route, this field will be populated with warning messages.
RouterStatusBestRoutesForRouterAsPath       
- AsLists List<int>
- The AS numbers of the AS Path.
- PathSegment 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
 
- AsLists []int
- The AS numbers of the AS Path.
- PathSegment 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
 
- asLists List<Integer>
- The AS numbers of the AS Path.
- pathSegment 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
 
- asLists number[]
- The AS numbers of the AS Path.
- pathSegment 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
 
- asLists List<Number>
- The AS numbers of the AS Path.
- pathSegment 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
 
RouterStatusBestRoutesForRouterWarning      
- Code string
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- Datas
List<RouterStatus Best Routes For Router Warning Data> 
- 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.
- Datas
[]RouterStatus Best Routes For Router Warning Data 
- 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.
- datas
List<RouterStatus Best Routes For Router Warning Data> 
- 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.
- datas
RouterStatus Best Routes For Router Warning Data[] 
- 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.
- datas
Sequence[RouterStatus Best Routes For Router Warning Data] 
- 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.
- datas 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.
RouterStatusBestRoutesForRouterWarningData       
- 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.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.