UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

71 lines 2.59 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.allCertificatesOutput = exports.allCertificates = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of alb all certificates * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.alb.getAllCertificates({ * ids: [ * "cert-1pf4a8k8tokcg845wfariphc2", * "cert-xoekc6lpu9s054ov5eohm3bj", * ], * projectName: "default", * tags: [{ * key: "key1", * value: "value2", * }], * }); * ``` */ /** @deprecated volcengine.alb.AllCertificates has been deprecated in favor of volcengine.alb.getAllCertificates */ function allCertificates(args, opts) { pulumi.log.warn("allCertificates is deprecated: volcengine.alb.AllCertificates has been deprecated in favor of volcengine.alb.getAllCertificates"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:alb/allCertificates:AllCertificates", { "certificateName": args.certificateName, "certificateType": args.certificateType, "ids": args.ids, "nameRegex": args.nameRegex, "outputFile": args.outputFile, "projectName": args.projectName, "tags": args.tags, }, opts); } exports.allCertificates = allCertificates; /** * Use this data source to query detailed information of alb all certificates * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.alb.getAllCertificates({ * ids: [ * "cert-1pf4a8k8tokcg845wfariphc2", * "cert-xoekc6lpu9s054ov5eohm3bj", * ], * projectName: "default", * tags: [{ * key: "key1", * value: "value2", * }], * }); * ``` */ /** @deprecated volcengine.alb.AllCertificates has been deprecated in favor of volcengine.alb.getAllCertificates */ function allCertificatesOutput(args, opts) { return pulumi.output(args).apply((a) => allCertificates(a, opts)); } exports.allCertificatesOutput = allCertificatesOutput; //# sourceMappingURL=allCertificates.js.map