scaleway.getVpcRoutes
Explore with Pulumi AI
Gets information about multiple VPC routes.
Using getVpcRoutes
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 getVpcRoutes(args: GetVpcRoutesArgs, opts?: InvokeOptions): Promise<GetVpcRoutesResult>
function getVpcRoutesOutput(args: GetVpcRoutesOutputArgs, opts?: InvokeOptions): Output<GetVpcRoutesResult>
def get_vpc_routes(is_ipv6: Optional[bool] = None,
nexthop_private_network_id: Optional[str] = None,
nexthop_resource_id: Optional[str] = None,
nexthop_resource_type: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcRoutesResult
def get_vpc_routes_output(is_ipv6: Optional[pulumi.Input[bool]] = None,
nexthop_private_network_id: Optional[pulumi.Input[str]] = None,
nexthop_resource_id: Optional[pulumi.Input[str]] = None,
nexthop_resource_type: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcRoutesResult]
func GetVpcRoutes(ctx *Context, args *GetVpcRoutesArgs, opts ...InvokeOption) (*GetVpcRoutesResult, error)
func GetVpcRoutesOutput(ctx *Context, args *GetVpcRoutesOutputArgs, opts ...InvokeOption) GetVpcRoutesResultOutput
> Note: This function is named GetVpcRoutes
in the Go SDK.
public static class GetVpcRoutes
{
public static Task<GetVpcRoutesResult> InvokeAsync(GetVpcRoutesArgs args, InvokeOptions? opts = null)
public static Output<GetVpcRoutesResult> Invoke(GetVpcRoutesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVpcRoutesResult> getVpcRoutes(GetVpcRoutesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scaleway:index/getVpcRoutes:getVpcRoutes
arguments:
# arguments dictionary
The following arguments are supported:
- Is
Ipv6 bool - Routes with an IPv6 destination will be listed.
- Nexthop
Private stringNetwork Id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- Nexthop
Resource stringId - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- Nexthop
Resource stringType - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- Region string
region
). The region in which the routes exist.- List<string>
- List of tags to filter for. routes with these exact tags are listed.
- Vpc
Id string - The VPC ID to filter for. routes with a similar VPC ID are listed.
- Is
Ipv6 bool - Routes with an IPv6 destination will be listed.
- Nexthop
Private stringNetwork Id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- Nexthop
Resource stringId - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- Nexthop
Resource stringType - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- Region string
region
). The region in which the routes exist.- []string
- List of tags to filter for. routes with these exact tags are listed.
- Vpc
Id string - The VPC ID to filter for. routes with a similar VPC ID are listed.
- is
Ipv6 Boolean - Routes with an IPv6 destination will be listed.
- nexthop
Private StringNetwork Id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthop
Resource StringId - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthop
Resource StringType - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- region String
region
). The region in which the routes exist.- List<String>
- List of tags to filter for. routes with these exact tags are listed.
- vpc
Id String - The VPC ID to filter for. routes with a similar VPC ID are listed.
- is
Ipv6 boolean - Routes with an IPv6 destination will be listed.
- nexthop
Private stringNetwork Id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthop
Resource stringId - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthop
Resource stringType - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- region string
region
). The region in which the routes exist.- string[]
- List of tags to filter for. routes with these exact tags are listed.
- vpc
Id string - The VPC ID to filter for. routes with a similar VPC ID are listed.
- is_
ipv6 bool - Routes with an IPv6 destination will be listed.
- nexthop_
private_ strnetwork_ id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthop_
resource_ strid - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthop_
resource_ strtype - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- region str
region
). The region in which the routes exist.- Sequence[str]
- List of tags to filter for. routes with these exact tags are listed.
- vpc_
id str - The VPC ID to filter for. routes with a similar VPC ID are listed.
- is
Ipv6 Boolean - Routes with an IPv6 destination will be listed.
- nexthop
Private StringNetwork Id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthop
Resource StringId - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthop
Resource StringType - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- region String
region
). The region in which the routes exist.- List<String>
- List of tags to filter for. routes with these exact tags are listed.
- vpc
Id String - The VPC ID to filter for. routes with a similar VPC ID are listed.
getVpcRoutes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Routes
List<Pulumiverse.
Scaleway. Outputs. Get Vpc Routes Route> - List of retrieved routes
- Is
Ipv6 bool - Nexthop
Private stringNetwork Id - Nexthop
Resource stringId - Nexthop
Resource stringType - List<string>
- Vpc
Id string
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Routes
[]Get
Vpc Routes Route - List of retrieved routes
- Is
Ipv6 bool - Nexthop
Private stringNetwork Id - Nexthop
Resource stringId - Nexthop
Resource stringType - []string
- Vpc
Id string
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- routes
List<Get
Vpc Routes Route> - List of retrieved routes
- is
Ipv6 Boolean - nexthop
Private StringNetwork Id - nexthop
Resource StringId - nexthop
Resource StringType - List<String>
- vpc
Id String
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- routes
Get
Vpc Routes Route[] - List of retrieved routes
- is
Ipv6 boolean - nexthop
Private stringNetwork Id - nexthop
Resource stringId - nexthop
Resource stringType - string[]
- vpc
Id string
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- routes
Sequence[Get
Vpc Routes Route] - List of retrieved routes
- is_
ipv6 bool - nexthop_
private_ strnetwork_ id - nexthop_
resource_ strid - nexthop_
resource_ strtype - Sequence[str]
- vpc_
id str
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- routes List<Property Map>
- List of retrieved routes
- is
Ipv6 Boolean - nexthop
Private StringNetwork Id - nexthop
Resource StringId - nexthop
Resource StringType - List<String>
- vpc
Id String
Supporting Types
GetVpcRoutesRoute
- Created
At string - The date on which the route was created (RFC 3339 format).
- Description string
- The description of the route.
- Destination string
- The destination IP or IP range of the route.
- Id string
The ID of the route.
Important: route IDs are regional, which means they are of the form
{region}/{id}
, e.g. `fr-par/11111111-1111-1111-1111-111111111111- Nexthop
Ip string - The IP of the route's next hop.
- Nexthop
Name string - The name of the route's next hop.
- Nexthop
Private stringNetwork Id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- Nexthop
Resource stringId - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- Nexthop
Resource stringType - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- Region string
region
). The region in which the routes exist.- List<string>
- List of tags to filter for. routes with these exact tags are listed.
- Vpc
Id string - The VPC ID to filter for. routes with a similar VPC ID are listed.
- Created
At string - The date on which the route was created (RFC 3339 format).
- Description string
- The description of the route.
- Destination string
- The destination IP or IP range of the route.
- Id string
The ID of the route.
Important: route IDs are regional, which means they are of the form
{region}/{id}
, e.g. `fr-par/11111111-1111-1111-1111-111111111111- Nexthop
Ip string - The IP of the route's next hop.
- Nexthop
Name string - The name of the route's next hop.
- Nexthop
Private stringNetwork Id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- Nexthop
Resource stringId - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- Nexthop
Resource stringType - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- Region string
region
). The region in which the routes exist.- []string
- List of tags to filter for. routes with these exact tags are listed.
- Vpc
Id string - The VPC ID to filter for. routes with a similar VPC ID are listed.
- created
At String - The date on which the route was created (RFC 3339 format).
- description String
- The description of the route.
- destination String
- The destination IP or IP range of the route.
- id String
The ID of the route.
Important: route IDs are regional, which means they are of the form
{region}/{id}
, e.g. `fr-par/11111111-1111-1111-1111-111111111111- nexthop
Ip String - The IP of the route's next hop.
- nexthop
Name String - The name of the route's next hop.
- nexthop
Private StringNetwork Id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthop
Resource StringId - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthop
Resource StringType - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- region String
region
). The region in which the routes exist.- List<String>
- List of tags to filter for. routes with these exact tags are listed.
- vpc
Id String - The VPC ID to filter for. routes with a similar VPC ID are listed.
- created
At string - The date on which the route was created (RFC 3339 format).
- description string
- The description of the route.
- destination string
- The destination IP or IP range of the route.
- id string
The ID of the route.
Important: route IDs are regional, which means they are of the form
{region}/{id}
, e.g. `fr-par/11111111-1111-1111-1111-111111111111- nexthop
Ip string - The IP of the route's next hop.
- nexthop
Name string - The name of the route's next hop.
- nexthop
Private stringNetwork Id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthop
Resource stringId - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthop
Resource stringType - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- region string
region
). The region in which the routes exist.- string[]
- List of tags to filter for. routes with these exact tags are listed.
- vpc
Id string - The VPC ID to filter for. routes with a similar VPC ID are listed.
- created_
at str - The date on which the route was created (RFC 3339 format).
- description str
- The description of the route.
- destination str
- The destination IP or IP range of the route.
- id str
The ID of the route.
Important: route IDs are regional, which means they are of the form
{region}/{id}
, e.g. `fr-par/11111111-1111-1111-1111-111111111111- nexthop_
ip str - The IP of the route's next hop.
- nexthop_
name str - The name of the route's next hop.
- nexthop_
private_ strnetwork_ id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthop_
resource_ strid - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthop_
resource_ strtype - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- region str
region
). The region in which the routes exist.- Sequence[str]
- List of tags to filter for. routes with these exact tags are listed.
- vpc_
id str - The VPC ID to filter for. routes with a similar VPC ID are listed.
- created
At String - The date on which the route was created (RFC 3339 format).
- description String
- The description of the route.
- destination String
- The destination IP or IP range of the route.
- id String
The ID of the route.
Important: route IDs are regional, which means they are of the form
{region}/{id}
, e.g. `fr-par/11111111-1111-1111-1111-111111111111- nexthop
Ip String - The IP of the route's next hop.
- nexthop
Name String - The name of the route's next hop.
- nexthop
Private StringNetwork Id - The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthop
Resource StringId - The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthop
Resource StringType - The next hop resource type to filter for. routes with a similar next hop resource type are listed.
- region String
region
). The region in which the routes exist.- List<String>
- List of tags to filter for. routes with these exact tags are listed.
- vpc
Id String - The VPC ID to filter for. routes with a similar VPC ID are listed.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.