@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
28 lines • 1.07 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.getSubnetIdsOutput = exports.getSubnetIds = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Provides a list of subnet ids for a vpc.
*
* This resource can be useful for getting back a list of subnet ids for a vpc.
*/
function getSubnetIds(args, opts) {
if (!opts) {
opts = {};
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
return pulumi.runtime.invoke("huaweicloud:Vpc/getSubnetIds:getSubnetIds", {
"region": args.region,
"vpcId": args.vpcId,
}, opts);
}
exports.getSubnetIds = getSubnetIds;
function getSubnetIdsOutput(args, opts) {
return pulumi.output(args).apply(a => getSubnetIds(a, opts));
}
exports.getSubnetIdsOutput = getSubnetIdsOutput;
//# sourceMappingURL=getSubnetIds.js.map