@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
105 lines (104 loc) • 3.01 kB
TypeScript
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",
* });
* ```
*/
/** @deprecated volcengine.apig.GatewayServices has been deprecated in favor of volcengine.apig.getGatewayServices */
export declare function gatewayServices(args?: GatewayServicesArgs, opts?: pulumi.InvokeOptions): Promise<GatewayServicesResult>;
/**
* A collection of arguments for invoking GatewayServices.
*/
export interface GatewayServicesArgs {
/**
* 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 GatewayServices.
*/
export interface GatewayServicesResult {
/**
* The gateway id of the api gateway service.
*/
readonly gatewayId?: string;
/**
* The collection of query.
*/
readonly gatewayServices: outputs.apig.GatewayServicesGatewayService[];
/**
* 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",
* });
* ```
*/
/** @deprecated volcengine.apig.GatewayServices has been deprecated in favor of volcengine.apig.getGatewayServices */
export declare function gatewayServicesOutput(args?: GatewayServicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GatewayServicesResult>;
/**
* A collection of arguments for invoking GatewayServices.
*/
export interface GatewayServicesOutputArgs {
/**
* 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>;
}