1. Packages
  2. Scaleway
  3. API Docs
  4. getVpcRoutes
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

scaleway.getVpcRoutes

Explore with Pulumi AI

scaleway logo
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

    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:

    IsIpv6 bool
    Routes with an IPv6 destination will be listed.
    NexthopPrivateNetworkId string
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    NexthopResourceId string
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    NexthopResourceType string
    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.
    Tags 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.
    NexthopPrivateNetworkId string
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    NexthopResourceId string
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    NexthopResourceType string
    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.
    Tags []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.
    nexthopPrivateNetworkId String
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    nexthopResourceId String
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    nexthopResourceType String
    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.
    tags 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.
    nexthopPrivateNetworkId string
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    nexthopResourceId string
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    nexthopResourceType string
    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.
    tags 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_network_id str
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    nexthop_resource_id str
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    nexthop_resource_type str
    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.
    tags 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.
    nexthopPrivateNetworkId String
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    nexthopResourceId String
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    nexthopResourceType String
    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.
    tags 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.GetVpcRoutesRoute>
    List of retrieved routes
    IsIpv6 bool
    NexthopPrivateNetworkId string
    NexthopResourceId string
    NexthopResourceType string
    Tags List<string>
    VpcId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    Routes []GetVpcRoutesRoute
    List of retrieved routes
    IsIpv6 bool
    NexthopPrivateNetworkId string
    NexthopResourceId string
    NexthopResourceType string
    Tags []string
    VpcId string
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    routes List<GetVpcRoutesRoute>
    List of retrieved routes
    isIpv6 Boolean
    nexthopPrivateNetworkId String
    nexthopResourceId String
    nexthopResourceType String
    tags List<String>
    vpcId String
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    routes GetVpcRoutesRoute[]
    List of retrieved routes
    isIpv6 boolean
    nexthopPrivateNetworkId string
    nexthopResourceId string
    nexthopResourceType string
    tags string[]
    vpcId string
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    routes Sequence[GetVpcRoutesRoute]
    List of retrieved routes
    is_ipv6 bool
    nexthop_private_network_id str
    nexthop_resource_id str
    nexthop_resource_type str
    tags 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
    nexthopPrivateNetworkId String
    nexthopResourceId String
    nexthopResourceType String
    tags 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.
    NexthopPrivateNetworkId string
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    NexthopResourceId string
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    NexthopResourceType string
    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.
    Tags 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.
    NexthopPrivateNetworkId string
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    NexthopResourceId string
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    NexthopResourceType string
    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.
    Tags []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.
    nexthopPrivateNetworkId String
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    nexthopResourceId String
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    nexthopResourceType String
    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.
    tags 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.
    nexthopPrivateNetworkId string
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    nexthopResourceId string
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    nexthopResourceType string
    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.
    tags 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_network_id str
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    nexthop_resource_id str
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    nexthop_resource_type str
    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.
    tags 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.
    nexthopPrivateNetworkId String
    The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
    nexthopResourceId String
    The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
    nexthopResourceType String
    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.
    tags 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 scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse