UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

57 lines 2.24 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.hostGroupsOutput = exports.hostGroups = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of tls host groups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getHostGroups({ * hostGroupId: "fbea6619-7b0c-40f3-ac7e-45c63e3f676e", * hostGroupName: "cn", * }); * ``` */ /** @deprecated volcengine.tls.HostGroups has been deprecated in favor of volcengine.tls.getHostGroups */ function hostGroups(args, opts) { pulumi.log.warn("hostGroups is deprecated: volcengine.tls.HostGroups has been deprecated in favor of volcengine.tls.getHostGroups"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:tls/hostGroups:HostGroups", { "autoUpdate": args.autoUpdate, "hostGroupId": args.hostGroupId, "hostGroupName": args.hostGroupName, "hostIdentifier": args.hostIdentifier, "iamProjectName": args.iamProjectName, "outputFile": args.outputFile, "serviceLogging": args.serviceLogging, }, opts); } exports.hostGroups = hostGroups; /** * Use this data source to query detailed information of tls host groups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getHostGroups({ * hostGroupId: "fbea6619-7b0c-40f3-ac7e-45c63e3f676e", * hostGroupName: "cn", * }); * ``` */ /** @deprecated volcengine.tls.HostGroups has been deprecated in favor of volcengine.tls.getHostGroups */ function hostGroupsOutput(args, opts) { return pulumi.output(args).apply((a) => hostGroups(a, opts)); } exports.hostGroupsOutput = hostGroupsOutput; //# sourceMappingURL=hostGroups.js.map