@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
52 lines • 2.1 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.gatewayServicesOutput = exports.gatewayServices = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* 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 */
function gatewayServices(args, opts) {
pulumi.log.warn("gatewayServices is deprecated: volcengine.apig.GatewayServices has been deprecated in favor of volcengine.apig.getGatewayServices");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("volcengine:apig/gatewayServices:GatewayServices", {
"gatewayId": args.gatewayId,
"name": args.name,
"outputFile": args.outputFile,
"status": args.status,
}, opts);
}
exports.gatewayServices = gatewayServices;
/**
* 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 */
function gatewayServicesOutput(args, opts) {
return pulumi.output(args).apply((a) => gatewayServices(a, opts));
}
exports.gatewayServicesOutput = gatewayServicesOutput;
//# sourceMappingURL=gatewayServices.js.map