UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

107 lines (106 loc) 2.75 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of cen route entries */ export declare function getRouteEntries(args: GetRouteEntriesArgs, opts?: pulumi.InvokeOptions): Promise<GetRouteEntriesResult>; /** * A collection of arguments for invoking getRouteEntries. */ export interface GetRouteEntriesArgs { /** * A cen ID. */ cenId: string; /** * A destination cidr block. */ destinationCidrBlock?: string; /** * An instance ID. */ instanceId?: string; /** * An instance region ID. */ instanceRegionId?: string; /** * An instance type. */ instanceType?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getRouteEntries. */ export interface GetRouteEntriesResult { /** * The cen ID of the cen route entry. */ readonly cenId: string; /** * The collection of cen route entry query. */ readonly cenRouteEntries: outputs.cen.GetRouteEntriesCenRouteEntry[]; /** * The destination cidr block of the cen route entry. */ readonly destinationCidrBlock?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The instance id of the next hop of the cen route entry. */ readonly instanceId?: string; /** * The instance region id of the next hop of the cen route entry. */ readonly instanceRegionId?: string; /** * The instance type of the next hop of the cen route entry. */ readonly instanceType?: string; readonly outputFile?: string; /** * The total count of cen route entry. */ readonly totalCount: number; } /** * Use this data source to query detailed information of cen route entries */ export declare function getRouteEntriesOutput(args: GetRouteEntriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRouteEntriesResult>; /** * A collection of arguments for invoking getRouteEntries. */ export interface GetRouteEntriesOutputArgs { /** * A cen ID. */ cenId: pulumi.Input<string>; /** * A destination cidr block. */ destinationCidrBlock?: pulumi.Input<string>; /** * An instance ID. */ instanceId?: pulumi.Input<string>; /** * An instance region ID. */ instanceRegionId?: pulumi.Input<string>; /** * An instance type. */ instanceType?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }