@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
97 lines (96 loc) • 3.08 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets information about multiple VPC routes.
*/
export declare function getRoutes(args?: GetRoutesArgs, opts?: pulumi.InvokeOptions): Promise<GetRoutesResult>;
/**
* A collection of arguments for invoking getRoutes.
*/
export interface GetRoutesArgs {
/**
* Routes with an IPv6 destination will be listed.
*/
isIpv6?: boolean;
/**
* The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
*/
nexthopPrivateNetworkId?: string;
/**
* The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
*/
nexthopResourceId?: string;
/**
* The next hop resource type to filter for. routes with a similar next hop resource type are listed.
*/
nexthopResourceType?: string;
/**
* `region`). The region in which the routes exist.
*/
region?: string;
/**
* List of tags to filter for. routes with these exact tags are listed.
*/
tags?: string[];
/**
* The VPC ID to filter for. routes with a similar VPC ID are listed.
*/
vpcId?: string;
}
/**
* A collection of values returned by getRoutes.
*/
export interface GetRoutesResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly isIpv6?: boolean;
readonly nexthopPrivateNetworkId?: string;
readonly nexthopResourceId?: string;
readonly nexthopResourceType?: string;
readonly region: string;
/**
* List of retrieved routes
*/
readonly routes: outputs.network.GetRoutesRoute[];
readonly tags?: string[];
readonly vpcId?: string;
}
/**
* Gets information about multiple VPC routes.
*/
export declare function getRoutesOutput(args?: GetRoutesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRoutesResult>;
/**
* A collection of arguments for invoking getRoutes.
*/
export interface GetRoutesOutputArgs {
/**
* Routes with an IPv6 destination will be listed.
*/
isIpv6?: pulumi.Input<boolean>;
/**
* The next hop private network ID to filter for. routes with a similar next hop private network ID are listed.
*/
nexthopPrivateNetworkId?: pulumi.Input<string>;
/**
* The next hop resource ID to filter for. routes with a similar next hop resource ID are listed.
*/
nexthopResourceId?: pulumi.Input<string>;
/**
* The next hop resource type to filter for. routes with a similar next hop resource type are listed.
*/
nexthopResourceType?: pulumi.Input<string>;
/**
* `region`). The region in which the routes exist.
*/
region?: pulumi.Input<string>;
/**
* List of tags to filter for. routes with these exact tags are listed.
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The VPC ID to filter for. routes with a similar VPC ID are listed.
*/
vpcId?: pulumi.Input<string>;
}