UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

62 lines 2.04 kB
"use strict"; // *** 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.aclsOutput = exports.acls = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of acls * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.clb.getAcls({ * ids: ["acl-3ti8n0rurx4bwbh9jzdy"], * tags: [{ * key: "k1", * value: "v1", * }], * }); * ``` */ /** @deprecated volcengine.clb.Acls has been deprecated in favor of volcengine.clb.getAcls */ function acls(args, opts) { pulumi.log.warn("acls is deprecated: volcengine.clb.Acls has been deprecated in favor of volcengine.clb.getAcls"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:clb/acls:Acls", { "aclName": args.aclName, "ids": args.ids, "nameRegex": args.nameRegex, "outputFile": args.outputFile, "projectName": args.projectName, "tags": args.tags, }, opts); } exports.acls = acls; /** * Use this data source to query detailed information of acls * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.clb.getAcls({ * ids: ["acl-3ti8n0rurx4bwbh9jzdy"], * tags: [{ * key: "k1", * value: "v1", * }], * }); * ``` */ /** @deprecated volcengine.clb.Acls has been deprecated in favor of volcengine.clb.getAcls */ function aclsOutput(args, opts) { return pulumi.output(args).apply((a) => acls(a, opts)); } exports.aclsOutput = aclsOutput; //# sourceMappingURL=acls.js.map