UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

125 lines (124 loc) 3.69 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of transit router route entries * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.transit_router.getRouteEntries({ * ids: ["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"], * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55", * }); * ``` */ /** @deprecated volcengine.transit_router.RouteEntries has been deprecated in favor of volcengine.transit_router.getRouteEntries */ export declare function routeEntries(args: RouteEntriesArgs, opts?: pulumi.InvokeOptions): Promise<RouteEntriesResult>; /** * A collection of arguments for invoking RouteEntries. */ export interface RouteEntriesArgs { /** * The target network segment of the route entry. */ destinationCidrBlock?: string; /** * The ids of the transit router route entry. */ ids?: string[]; /** * File name where to save data source results. */ outputFile?: string; /** * The status of the route entry. */ status?: string; /** * The name of the route entry. */ transitRouterRouteEntryName?: string; /** * The id of the route table. */ transitRouterRouteTableId: string; } /** * A collection of values returned by RouteEntries. */ export interface RouteEntriesResult { /** * The target network segment of the route entry. */ readonly destinationCidrBlock?: string; /** * The list of route entries. */ readonly entries: outputs.transit_router.RouteEntriesEntry[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly outputFile?: string; /** * The status of the route entry. */ readonly status?: string; /** * The total count of data query. */ readonly totalCount: number; /** * The name of the route entry. */ readonly transitRouterRouteEntryName?: string; readonly transitRouterRouteTableId: string; } /** * Use this data source to query detailed information of transit router route entries * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.transit_router.getRouteEntries({ * ids: ["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"], * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55", * }); * ``` */ /** @deprecated volcengine.transit_router.RouteEntries has been deprecated in favor of volcengine.transit_router.getRouteEntries */ export declare function routeEntriesOutput(args: RouteEntriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RouteEntriesResult>; /** * A collection of arguments for invoking RouteEntries. */ export interface RouteEntriesOutputArgs { /** * The target network segment of the route entry. */ destinationCidrBlock?: pulumi.Input<string>; /** * The ids of the transit router route entry. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The status of the route entry. */ status?: pulumi.Input<string>; /** * The name of the route entry. */ transitRouterRouteEntryName?: pulumi.Input<string>; /** * The id of the route table. */ transitRouterRouteTableId: pulumi.Input<string>; }