UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

55 lines 1.86 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 waf host groups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getHostGroups({ * hostFix: "www.tf-test.com", * timeOrderBy: "DESC", * }); * ``` */ function getHostGroups(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:waf/getHostGroups:getHostGroups", { "hostFix": args.hostFix, "hostGroupId": args.hostGroupId, "ids": args.ids, "listAll": args.listAll, "nameFix": args.nameFix, "nameRegex": args.nameRegex, "outputFile": args.outputFile, "ruleTag": args.ruleTag, "timeOrderBy": args.timeOrderBy, }, opts); } exports.getHostGroups = getHostGroups; /** * Use this data source to query detailed information of waf host groups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getHostGroups({ * hostFix: "www.tf-test.com", * timeOrderBy: "DESC", * }); * ``` */ function getHostGroupsOutput(args, opts) { return pulumi.output(args).apply((a) => getHostGroups(a, opts)); } exports.getHostGroupsOutput = getHostGroupsOutput; //# sourceMappingURL=getHostGroups.js.map