UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

46 lines 1.72 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.getServiceGroupMembersOutput = exports.getServiceGroupMembers = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to get the list of CFW service group members. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const config = new pulumi.Config(); * const groupId = config.requireObject("groupId"); * const test = huaweicloud.Cfw.getServiceGroupMembers({ * groupId: groupId, * }); * ``` */ function getServiceGroupMembers(args, opts) { if (!opts) { opts = {}; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); return pulumi.runtime.invoke("huaweicloud:Cfw/getServiceGroupMembers:getServiceGroupMembers", { "destPort": args.destPort, "fwInstanceId": args.fwInstanceId, "groupId": args.groupId, "groupType": args.groupType, "itemId": args.itemId, "keyWord": args.keyWord, "protocol": args.protocol, "region": args.region, "sourcePort": args.sourcePort, }, opts); } exports.getServiceGroupMembers = getServiceGroupMembers; function getServiceGroupMembersOutput(args, opts) { return pulumi.output(args).apply(a => getServiceGroupMembers(a, opts)); } exports.getServiceGroupMembersOutput = getServiceGroupMembersOutput; //# sourceMappingURL=getServiceGroupMembers.js.map