UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

103 lines (102 loc) 2.82 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of apig gateway services * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.apig.getGatewayServices({ * gatewayId: "gd13d8c6eq1emkiunq6p0", * }); * ``` */ export declare function getGatewayServices(args?: GetGatewayServicesArgs, opts?: pulumi.InvokeOptions): Promise<GetGatewayServicesResult>; /** * A collection of arguments for invoking getGatewayServices. */ export interface GetGatewayServicesArgs { /** * The gateway id of api gateway service. */ gatewayId?: string; /** * The name of api gateway service. This field support fuzzy query. */ name?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The status of api gateway service. */ status?: string; } /** * A collection of values returned by getGatewayServices. */ export interface GetGatewayServicesResult { /** * The gateway id of the api gateway service. */ readonly gatewayId?: string; /** * The collection of query. */ readonly gatewayServices: outputs.apig.GetGatewayServicesGatewayService[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the api gateway service. */ readonly name?: string; readonly outputFile?: string; /** * The status of the api gateway service. */ readonly status?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of apig gateway services * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.apig.getGatewayServices({ * gatewayId: "gd13d8c6eq1emkiunq6p0", * }); * ``` */ export declare function getGatewayServicesOutput(args?: GetGatewayServicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGatewayServicesResult>; /** * A collection of arguments for invoking getGatewayServices. */ export interface GetGatewayServicesOutputArgs { /** * The gateway id of api gateway service. */ gatewayId?: pulumi.Input<string>; /** * The name of api gateway service. This field support fuzzy query. */ name?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The status of api gateway service. */ status?: pulumi.Input<string>; }