UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

58 lines 2.17 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 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", * }); * ``` */ /** @deprecated volcengine.waf.HostGroups has been deprecated in favor of volcengine.waf.getHostGroups */ function hostGroups(args, opts) { pulumi.log.warn("hostGroups is deprecated: volcengine.waf.HostGroups has been deprecated in favor of volcengine.waf.getHostGroups"); opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:waf/hostGroups:HostGroups", { "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.hostGroups = hostGroups; /** * 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", * }); * ``` */ /** @deprecated volcengine.waf.HostGroups has been deprecated in favor of volcengine.waf.getHostGroups */ function hostGroupsOutput(args, opts) { return pulumi.output(args).apply((a) => hostGroups(a, opts)); } exports.hostGroupsOutput = hostGroupsOutput; //# sourceMappingURL=hostGroups.js.map