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 dictionaryThe following arguments are supported:
- IsIpv6 bool
- Routes with an IPv6 destination will be listed.
- NexthopPrivate stringNetwork Id 
- The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- NexthopResource stringId 
- The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- NexthopResource 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.
- VpcId string
- The VPC ID to filter for. routes with a similar VPC ID are listed.
- IsIpv6 bool
- Routes with an IPv6 destination will be listed.
- NexthopPrivate stringNetwork Id 
- The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- NexthopResource stringId 
- The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- NexthopResource 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.
- VpcId string
- The VPC ID to filter for. routes with a similar VPC ID are listed.
- isIpv6 Boolean
- Routes with an IPv6 destination will be listed.
- nexthopPrivate StringNetwork Id 
- The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthopResource StringId 
- The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthopResource 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.
- vpcId String
- The VPC ID to filter for. routes with a similar VPC ID are listed.
- isIpv6 boolean
- Routes with an IPv6 destination will be listed.
- nexthopPrivate stringNetwork Id 
- The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthopResource stringId 
- The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthopResource 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.
- vpcId 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.
- isIpv6 Boolean
- Routes with an IPv6 destination will be listed.
- nexthopPrivate StringNetwork Id 
- The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthopResource StringId 
- The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthopResource 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.
- vpcId 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
- IsIpv6 bool
- NexthopPrivate stringNetwork Id 
- NexthopResource stringId 
- NexthopResource stringType 
- List<string>
- VpcId string
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Routes
[]GetVpc Routes Route 
- List of retrieved routes
- IsIpv6 bool
- NexthopPrivate stringNetwork Id 
- NexthopResource stringId 
- NexthopResource stringType 
- []string
- VpcId string
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- routes
List<GetVpc Routes Route> 
- List of retrieved routes
- isIpv6 Boolean
- nexthopPrivate StringNetwork Id 
- nexthopResource StringId 
- nexthopResource StringType 
- List<String>
- vpcId String
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- routes
GetVpc Routes Route[] 
- List of retrieved routes
- isIpv6 boolean
- nexthopPrivate stringNetwork Id 
- nexthopResource stringId 
- nexthopResource stringType 
- string[]
- vpcId string
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- routes
Sequence[GetVpc 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
- isIpv6 Boolean
- nexthopPrivate StringNetwork Id 
- nexthopResource StringId 
- nexthopResource StringType 
- List<String>
- vpcId String
Supporting Types
GetVpcRoutesRoute   
- CreatedAt 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
- NexthopIp string
- The IP of the route's next hop.
- NexthopName string
- The name of the route's next hop.
- NexthopPrivate stringNetwork Id 
- The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- NexthopResource stringId 
- The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- NexthopResource 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.
- VpcId string
- The VPC ID to filter for. routes with a similar VPC ID are listed.
- CreatedAt 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
- NexthopIp string
- The IP of the route's next hop.
- NexthopName string
- The name of the route's next hop.
- NexthopPrivate stringNetwork Id 
- The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- NexthopResource stringId 
- The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- NexthopResource 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.
- VpcId string
- The VPC ID to filter for. routes with a similar VPC ID are listed.
- createdAt 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
- nexthopIp String
- The IP of the route's next hop.
- nexthopName String
- The name of the route's next hop.
- nexthopPrivate StringNetwork Id 
- The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthopResource StringId 
- The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthopResource 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.
- vpcId String
- The VPC ID to filter for. routes with a similar VPC ID are listed.
- createdAt 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
- nexthopIp string
- The IP of the route's next hop.
- nexthopName string
- The name of the route's next hop.
- nexthopPrivate stringNetwork Id 
- The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthopResource stringId 
- The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthopResource 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.
- vpcId 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.
- createdAt 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
- nexthopIp String
- The IP of the route's next hop.
- nexthopName String
- The name of the route's next hop.
- nexthopPrivate StringNetwork Id 
- The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
- nexthopResource StringId 
- The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
- nexthopResource 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.
- vpcId 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 scalewayTerraform Provider.
