UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

54 lines 1.93 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.getHostGroupsOutput = exports.getHostGroups = 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", * }); * ``` */ function getHostGroups(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:tls/getHostGroups:getHostGroups", { "autoUpdate": args.autoUpdate, "hostGroupId": args.hostGroupId, "hostGroupName": args.hostGroupName, "hostIdentifier": args.hostIdentifier, "iamProjectName": args.iamProjectName, "outputFile": args.outputFile, "serviceLogging": args.serviceLogging, }, opts); } exports.getHostGroups = getHostGroups; /** * 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", * }); * ``` */ function getHostGroupsOutput(args, opts) { return pulumi.output(args).apply((a) => getHostGroups(a, opts)); } exports.getHostGroupsOutput = getHostGroupsOutput; //# sourceMappingURL=getHostGroups.js.map