@volcengine/pulumi 0.0.33 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apig/apigCustomDomain.d.ts +244 -0
- package/apig/apigCustomDomain.js +167 -0
- package/apig/apigCustomDomain.js.map +1 -0
- package/apig/apigGateway.d.ts +262 -0
- package/apig/apigGateway.js +150 -0
- package/apig/apigGateway.js.map +1 -0
- package/apig/apigGatewayService.d.ts +206 -0
- package/apig/apigGatewayService.js +159 -0
- package/apig/apigGatewayService.js.map +1 -0
- package/apig/apigRoute.d.ts +397 -0
- package/apig/apigRoute.js +299 -0
- package/apig/apigRoute.js.map +1 -0
- package/apig/apigUpstream.d.ts +375 -0
- package/apig/apigUpstream.js +278 -0
- package/apig/apigUpstream.js.map +1 -0
- package/apig/apigUpstreamSource.d.ts +214 -0
- package/apig/apigUpstreamSource.js +182 -0
- package/apig/apigUpstreamSource.js.map +1 -0
- package/apig/apigUpstreamVersion.d.ts +211 -0
- package/apig/apigUpstreamVersion.js +206 -0
- package/apig/apigUpstreamVersion.js.map +1 -0
- package/apig/customDomains.d.ts +112 -0
- package/apig/customDomains.js +55 -0
- package/apig/customDomains.js.map +1 -0
- package/apig/gatewayServices.d.ts +104 -0
- package/apig/gatewayServices.js +52 -0
- package/apig/gatewayServices.js.map +1 -0
- package/apig/gateways.d.ts +162 -0
- package/apig/gateways.js +63 -0
- package/apig/gateways.js.map +1 -0
- package/apig/getCustomDomains.d.ts +110 -0
- package/apig/getCustomDomains.js +52 -0
- package/apig/getCustomDomains.js.map +1 -0
- package/apig/getGatewayServices.d.ts +102 -0
- package/apig/getGatewayServices.js +49 -0
- package/apig/getGatewayServices.js.map +1 -0
- package/apig/getGateways.d.ts +160 -0
- package/apig/getGateways.js +60 -0
- package/apig/getGateways.js.map +1 -0
- package/apig/getRoutes.d.ts +153 -0
- package/apig/getRoutes.js +54 -0
- package/apig/getRoutes.js.map +1 -0
- package/apig/getUpstreamSources.d.ts +123 -0
- package/apig/getUpstreamSources.js +51 -0
- package/apig/getUpstreamSources.js.map +1 -0
- package/apig/getUpstreamVersions.d.ts +84 -0
- package/apig/getUpstreamVersions.js +47 -0
- package/apig/getUpstreamVersions.js.map +1 -0
- package/apig/getUpstreams.d.ts +140 -0
- package/apig/getUpstreams.js +60 -0
- package/apig/getUpstreams.js.map +1 -0
- package/apig/index.d.ts +63 -0
- package/apig/index.js +94 -0
- package/apig/index.js.map +1 -0
- package/apig/routes.d.ts +155 -0
- package/apig/routes.js +57 -0
- package/apig/routes.js.map +1 -0
- package/apig/upstreamSources.d.ts +125 -0
- package/apig/upstreamSources.js +54 -0
- package/apig/upstreamSources.js.map +1 -0
- package/apig/upstreamVersions.d.ts +86 -0
- package/apig/upstreamVersions.js +50 -0
- package/apig/upstreamVersions.js.map +1 -0
- package/apig/upstreams.d.ts +142 -0
- package/apig/upstreams.js +63 -0
- package/apig/upstreams.js.map +1 -0
- package/autoscaling/scalingGroup.d.ts +24 -0
- package/autoscaling/scalingGroup.js +4 -0
- package/autoscaling/scalingGroup.js.map +1 -1
- package/cen/interRegionBandwidth.d.ts +12 -0
- package/cen/interRegionBandwidth.js +2 -0
- package/cen/interRegionBandwidth.js.map +1 -1
- package/config/vars.d.ts +4 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/ecs/command.d.ts +65 -18
- package/ecs/command.js +10 -15
- package/ecs/command.js.map +1 -1
- package/ecs/commands.d.ts +26 -1
- package/ecs/commands.js +2 -0
- package/ecs/commands.js.map +1 -1
- package/ecs/getCommands.d.ts +26 -1
- package/ecs/getCommands.js +2 -0
- package/ecs/getCommands.js.map +1 -1
- package/ecs/getInvocations.d.ts +25 -0
- package/ecs/getInvocations.js +2 -0
- package/ecs/getInvocations.js.map +1 -1
- package/ecs/instance.d.ts +20 -0
- package/ecs/instance.js +4 -0
- package/ecs/instance.js.map +1 -1
- package/ecs/invocation.d.ts +53 -6
- package/ecs/invocation.js +15 -0
- package/ecs/invocation.js.map +1 -1
- package/ecs/invocations.d.ts +25 -0
- package/ecs/invocations.js +2 -0
- package/ecs/invocations.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +6 -2
- package/index.js.map +1 -1
- package/kafka/instance.d.ts +12 -0
- package/kafka/instance.js +2 -0
- package/kafka/instance.js.map +1 -1
- package/package.json +1 -1
- package/provider.d.ts +4 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/redis/getParameterGroups.d.ts +22 -0
- package/redis/getParameterGroups.js +22 -0
- package/redis/getParameterGroups.js.map +1 -1
- package/redis/parameterGroups.d.ts +22 -0
- package/redis/parameterGroups.js +22 -0
- package/redis/parameterGroups.js.map +1 -1
- package/tos/bucketCors.d.ts +120 -0
- package/tos/bucketCors.js +115 -0
- package/tos/bucketCors.js.map +1 -0
- package/tos/bucketEncryption.d.ts +105 -0
- package/tos/bucketEncryption.js +100 -0
- package/tos/bucketEncryption.js.map +1 -0
- package/tos/bucketNotification.d.ts +166 -0
- package/tos/bucketNotification.js +155 -0
- package/tos/bucketNotification.js.map +1 -0
- package/tos/index.d.ts +9 -0
- package/tos/index.js +16 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +6104 -3944
- package/types/output.d.ts +35681 -27825
- package/vke/node.d.ts +12 -0
- package/vke/node.js +2 -0
- package/vke/node.js.map +1 -1
- package/vpc/cidrBlockAssociate.d.ts +83 -0
- package/vpc/cidrBlockAssociate.js +80 -0
- package/vpc/cidrBlockAssociate.js.map +1 -0
- package/vpc/flowLog.d.ts +266 -0
- package/vpc/flowLog.js +148 -0
- package/vpc/flowLog.js.map +1 -0
- package/vpc/flowLogActive.d.ts +103 -0
- package/vpc/flowLogActive.js +101 -0
- package/vpc/flowLogActive.js.map +1 -0
- package/vpc/flowLogs.d.ts +231 -0
- package/vpc/flowLogs.js +63 -0
- package/vpc/flowLogs.js.map +1 -0
- package/vpc/getFlowLogs.d.ts +229 -0
- package/vpc/getFlowLogs.js +60 -0
- package/vpc/getFlowLogs.js.map +1 -0
- package/vpc/getSubnets.d.ts +9 -0
- package/vpc/getSubnets.js +1 -0
- package/vpc/getSubnets.js.map +1 -1
- package/vpc/getTrafficMirrorFilterRules.d.ts +103 -0
- package/vpc/getTrafficMirrorFilterRules.js +50 -0
- package/vpc/getTrafficMirrorFilterRules.js.map +1 -0
- package/vpc/getTrafficMirrorFilters.d.ts +118 -0
- package/vpc/getTrafficMirrorFilters.js +51 -0
- package/vpc/getTrafficMirrorFilters.js.map +1 -0
- package/vpc/getTrafficMirrorSessions.d.ts +187 -0
- package/vpc/getTrafficMirrorSessions.js +57 -0
- package/vpc/getTrafficMirrorSessions.js.map +1 -0
- package/vpc/getTrafficMirrorTargets.d.ts +121 -0
- package/vpc/getTrafficMirrorTargets.js +51 -0
- package/vpc/getTrafficMirrorTargets.js.map +1 -0
- package/vpc/getVpcs.d.ts +9 -0
- package/vpc/getVpcs.js +1 -0
- package/vpc/getVpcs.js.map +1 -1
- package/vpc/index.d.ts +51 -0
- package/vpc/index.js +67 -2
- package/vpc/index.js.map +1 -1
- package/vpc/networkInterface.d.ts +27 -7
- package/vpc/networkInterface.js +27 -7
- package/vpc/networkInterface.js.map +1 -1
- package/vpc/subnets.d.ts +9 -0
- package/vpc/subnets.js +1 -0
- package/vpc/subnets.js.map +1 -1
- package/vpc/trafficMirrorFilter.d.ts +137 -0
- package/vpc/trafficMirrorFilter.js +88 -0
- package/vpc/trafficMirrorFilter.js.map +1 -0
- package/vpc/trafficMirrorFilterRule.d.ts +245 -0
- package/vpc/trafficMirrorFilterRule.js +144 -0
- package/vpc/trafficMirrorFilterRule.js.map +1 -0
- package/vpc/trafficMirrorFilterRules.d.ts +105 -0
- package/vpc/trafficMirrorFilterRules.js +53 -0
- package/vpc/trafficMirrorFilterRules.js.map +1 -0
- package/vpc/trafficMirrorFilters.d.ts +120 -0
- package/vpc/trafficMirrorFilters.js +54 -0
- package/vpc/trafficMirrorFilters.js.map +1 -0
- package/vpc/trafficMirrorSession.d.ts +330 -0
- package/vpc/trafficMirrorSession.js +221 -0
- package/vpc/trafficMirrorSession.js.map +1 -0
- package/vpc/trafficMirrorSessions.d.ts +189 -0
- package/vpc/trafficMirrorSessions.js +60 -0
- package/vpc/trafficMirrorSessions.js.map +1 -0
- package/vpc/trafficMirrorTarget.d.ts +222 -0
- package/vpc/trafficMirrorTarget.js +159 -0
- package/vpc/trafficMirrorTarget.js.map +1 -0
- package/vpc/trafficMirrorTargets.d.ts +123 -0
- package/vpc/trafficMirrorTargets.js +54 -0
- package/vpc/trafficMirrorTargets.js.map +1 -0
- package/vpc/vpc.d.ts +8 -0
- package/vpc/vpc.js +2 -0
- package/vpc/vpc.js.map +1 -1
- package/vpc/vpcs.d.ts +9 -0
- package/vpc/vpcs.js +1 -0
- package/vpc/vpcs.js.map +1 -1
- package/waf/aclRule.d.ts +326 -0
- package/waf/aclRule.js +150 -0
- package/waf/aclRule.js.map +1 -0
- package/waf/aclRules.d.ts +170 -0
- package/waf/aclRules.js +69 -0
- package/waf/aclRules.js.map +1 -0
- package/waf/botAnalyseProtectRule.d.ts +320 -0
- package/waf/botAnalyseProtectRule.js +171 -0
- package/waf/botAnalyseProtectRule.js.map +1 -0
- package/waf/botAnalyseProtectRules.d.ts +145 -0
- package/waf/botAnalyseProtectRules.js +57 -0
- package/waf/botAnalyseProtectRules.js.map +1 -0
- package/waf/ccRule.d.ts +337 -0
- package/waf/ccRule.js +182 -0
- package/waf/ccRule.js.map +1 -0
- package/waf/ccRules.d.ts +149 -0
- package/waf/ccRules.js +61 -0
- package/waf/ccRules.js.map +1 -0
- package/waf/customBot.d.ts +191 -0
- package/waf/customBot.js +127 -0
- package/waf/customBot.js.map +1 -0
- package/waf/customBots.d.ts +86 -0
- package/waf/customBots.js +51 -0
- package/waf/customBots.js.map +1 -0
- package/waf/customPage.d.ts +310 -0
- package/waf/customPage.js +160 -0
- package/waf/customPage.js.map +1 -0
- package/waf/customPages.d.ts +110 -0
- package/waf/customPages.js +52 -0
- package/waf/customPages.js.map +1 -0
- package/waf/domains.d.ts +94 -0
- package/waf/domains.js +48 -0
- package/waf/domains.js.map +1 -0
- package/waf/getAclRules.d.ts +168 -0
- package/waf/getAclRules.js +66 -0
- package/waf/getAclRules.js.map +1 -0
- package/waf/getBotAnalyseProtectRules.d.ts +143 -0
- package/waf/getBotAnalyseProtectRules.js +54 -0
- package/waf/getBotAnalyseProtectRules.js.map +1 -0
- package/waf/getCcRules.d.ts +147 -0
- package/waf/getCcRules.js +58 -0
- package/waf/getCcRules.js.map +1 -0
- package/waf/getCustomBots.d.ts +84 -0
- package/waf/getCustomBots.js +48 -0
- package/waf/getCustomBots.js.map +1 -0
- package/waf/getCustomPages.d.ts +108 -0
- package/waf/getCustomPages.js +49 -0
- package/waf/getCustomPages.js.map +1 -0
- package/waf/getDomains.d.ts +92 -0
- package/waf/getDomains.js +45 -0
- package/waf/getDomains.js.map +1 -0
- package/waf/getHostGroups.d.ts +146 -0
- package/waf/getHostGroups.js +55 -0
- package/waf/getHostGroups.js.map +1 -0
- package/waf/getIpGroups.d.ts +105 -0
- package/waf/getIpGroups.js +49 -0
- package/waf/getIpGroups.js.map +1 -0
- package/waf/getProhibitions.d.ts +127 -0
- package/waf/getProhibitions.js +55 -0
- package/waf/getProhibitions.js.map +1 -0
- package/waf/getServiceCertificates.d.ts +71 -0
- package/waf/getServiceCertificates.js +43 -0
- package/waf/getServiceCertificates.js.map +1 -0
- package/waf/getSystemBots.d.ts +84 -0
- package/waf/getSystemBots.js +47 -0
- package/waf/getSystemBots.js.map +1 -0
- package/waf/hostGroup.d.ts +152 -0
- package/waf/hostGroup.js +90 -0
- package/waf/hostGroup.js.map +1 -0
- package/waf/hostGroups.d.ts +148 -0
- package/waf/hostGroups.js +58 -0
- package/waf/hostGroups.js.map +1 -0
- package/waf/index.d.ts +99 -0
- package/waf/index.js +139 -0
- package/waf/index.js.map +1 -0
- package/waf/instanceCtl.d.ts +95 -0
- package/waf/instanceCtl.js +76 -0
- package/waf/instanceCtl.js.map +1 -0
- package/waf/ipGroup.d.ts +132 -0
- package/waf/ipGroup.js +93 -0
- package/waf/ipGroup.js.map +1 -0
- package/waf/ipGroups.d.ts +107 -0
- package/waf/ipGroups.js +52 -0
- package/waf/ipGroups.js.map +1 -0
- package/waf/prohibitions.d.ts +129 -0
- package/waf/prohibitions.js +58 -0
- package/waf/prohibitions.js.map +1 -0
- package/waf/serviceCertificates.d.ts +73 -0
- package/waf/serviceCertificates.js +46 -0
- package/waf/serviceCertificates.js.map +1 -0
- package/waf/systemBot.d.ts +137 -0
- package/waf/systemBot.js +92 -0
- package/waf/systemBot.js.map +1 -0
- package/waf/systemBots.d.ts +86 -0
- package/waf/systemBots.js +50 -0
- package/waf/systemBots.js.map +1 -0
- package/waf/vulnerability.d.ts +116 -0
- package/waf/vulnerability.js +72 -0
- package/waf/vulnerability.js.map +1 -0
- package/waf/wafDomain.d.ts +877 -0
- package/waf/wafDomain.js +252 -0
- package/waf/wafDomain.js.map +1 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of waf system bots
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const foo = volcengine.waf.getSystemBots({
|
|
12
|
+
* host: "www.tf-test.com",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getSystemBots(args: GetSystemBotsArgs, opts?: pulumi.InvokeOptions): Promise<GetSystemBotsResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getSystemBots.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetSystemBotsArgs {
|
|
21
|
+
/**
|
|
22
|
+
* Domain name information.
|
|
23
|
+
*/
|
|
24
|
+
host: string;
|
|
25
|
+
/**
|
|
26
|
+
* A Name Regex of Resource.
|
|
27
|
+
*/
|
|
28
|
+
nameRegex?: string;
|
|
29
|
+
/**
|
|
30
|
+
* File name where to save data source results.
|
|
31
|
+
*/
|
|
32
|
+
outputFile?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getSystemBots.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetSystemBotsResult {
|
|
38
|
+
/**
|
|
39
|
+
* Host the Bot configuration information.
|
|
40
|
+
*/
|
|
41
|
+
readonly datas: outputs.waf.GetSystemBotsData[];
|
|
42
|
+
readonly host: string;
|
|
43
|
+
/**
|
|
44
|
+
* The provider-assigned unique ID for this managed resource.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
readonly nameRegex?: string;
|
|
48
|
+
readonly outputFile?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The total count of query.
|
|
51
|
+
*/
|
|
52
|
+
readonly totalCount: number;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Use this data source to query detailed information of waf system bots
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
61
|
+
*
|
|
62
|
+
* const foo = volcengine.waf.getSystemBots({
|
|
63
|
+
* host: "www.tf-test.com",
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare function getSystemBotsOutput(args: GetSystemBotsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSystemBotsResult>;
|
|
68
|
+
/**
|
|
69
|
+
* A collection of arguments for invoking getSystemBots.
|
|
70
|
+
*/
|
|
71
|
+
export interface GetSystemBotsOutputArgs {
|
|
72
|
+
/**
|
|
73
|
+
* Domain name information.
|
|
74
|
+
*/
|
|
75
|
+
host: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* A Name Regex of Resource.
|
|
78
|
+
*/
|
|
79
|
+
nameRegex?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* File name where to save data source results.
|
|
82
|
+
*/
|
|
83
|
+
outputFile?: pulumi.Input<string>;
|
|
84
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getSystemBotsOutput = exports.getSystemBots = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of waf system bots
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const foo = volcengine.waf.getSystemBots({
|
|
17
|
+
* host: "www.tf-test.com",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function getSystemBots(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("volcengine:waf/getSystemBots:getSystemBots", {
|
|
24
|
+
"host": args.host,
|
|
25
|
+
"nameRegex": args.nameRegex,
|
|
26
|
+
"outputFile": args.outputFile,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getSystemBots = getSystemBots;
|
|
30
|
+
/**
|
|
31
|
+
* Use this data source to query detailed information of waf system bots
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
37
|
+
*
|
|
38
|
+
* const foo = volcengine.waf.getSystemBots({
|
|
39
|
+
* host: "www.tf-test.com",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getSystemBotsOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply((a) => getSystemBots(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getSystemBotsOutput = getSystemBotsOutput;
|
|
47
|
+
//# sourceMappingURL=getSystemBots.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSystemBots.js","sourceRoot":"","sources":["../../waf/getSystemBots.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC;AAwCD;;;;;;;;;;;;GAYG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage waf host group
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const foo = new volcengine.waf.HostGroup("foo", {
|
|
13
|
+
* description: "tf-test",
|
|
14
|
+
* hostLists: ["www.tf-test.com"],
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* WafHostGroup can be imported using the id, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import volcengine:waf/hostGroup:HostGroup default resource_id
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class HostGroup extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing HostGroup resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HostGroupState, opts?: pulumi.CustomResourceOptions): HostGroup;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of HostGroup. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is HostGroup;
|
|
42
|
+
/**
|
|
43
|
+
* Domain name list modification action. Works only on modified scenes.
|
|
44
|
+
*/
|
|
45
|
+
readonly action: pulumi.Output<string | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Domain name group description.
|
|
48
|
+
*/
|
|
49
|
+
readonly description: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The number of domain names contained in the domain name group.
|
|
52
|
+
*/
|
|
53
|
+
readonly hostCount: pulumi.Output<number>;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the domain name group.
|
|
56
|
+
*/
|
|
57
|
+
readonly hostGroupId: pulumi.Output<number>;
|
|
58
|
+
/**
|
|
59
|
+
* Domain names that need to be added to this domain name group.
|
|
60
|
+
*/
|
|
61
|
+
readonly hostLists: pulumi.Output<string[]>;
|
|
62
|
+
/**
|
|
63
|
+
* The name of the domain name group.
|
|
64
|
+
*/
|
|
65
|
+
readonly name: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The project of Domain name group.
|
|
68
|
+
*/
|
|
69
|
+
readonly projectName: pulumi.Output<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* The list of associated rules.
|
|
72
|
+
*/
|
|
73
|
+
readonly relatedRules: pulumi.Output<outputs.waf.HostGroupRelatedRule[]>;
|
|
74
|
+
/**
|
|
75
|
+
* Domain name group update time.
|
|
76
|
+
*/
|
|
77
|
+
readonly updateTime: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a HostGroup resource with the given unique name, arguments, and options.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resource.
|
|
82
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
+
*/
|
|
85
|
+
constructor(name: string, args: HostGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Input properties used for looking up and filtering HostGroup resources.
|
|
89
|
+
*/
|
|
90
|
+
export interface HostGroupState {
|
|
91
|
+
/**
|
|
92
|
+
* Domain name list modification action. Works only on modified scenes.
|
|
93
|
+
*/
|
|
94
|
+
action?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Domain name group description.
|
|
97
|
+
*/
|
|
98
|
+
description?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The number of domain names contained in the domain name group.
|
|
101
|
+
*/
|
|
102
|
+
hostCount?: pulumi.Input<number>;
|
|
103
|
+
/**
|
|
104
|
+
* The ID of the domain name group.
|
|
105
|
+
*/
|
|
106
|
+
hostGroupId?: pulumi.Input<number>;
|
|
107
|
+
/**
|
|
108
|
+
* Domain names that need to be added to this domain name group.
|
|
109
|
+
*/
|
|
110
|
+
hostLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* The name of the domain name group.
|
|
113
|
+
*/
|
|
114
|
+
name?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The project of Domain name group.
|
|
117
|
+
*/
|
|
118
|
+
projectName?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The list of associated rules.
|
|
121
|
+
*/
|
|
122
|
+
relatedRules?: pulumi.Input<pulumi.Input<inputs.waf.HostGroupRelatedRule>[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Domain name group update time.
|
|
125
|
+
*/
|
|
126
|
+
updateTime?: pulumi.Input<string>;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* The set of arguments for constructing a HostGroup resource.
|
|
130
|
+
*/
|
|
131
|
+
export interface HostGroupArgs {
|
|
132
|
+
/**
|
|
133
|
+
* Domain name list modification action. Works only on modified scenes.
|
|
134
|
+
*/
|
|
135
|
+
action?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Domain name group description.
|
|
138
|
+
*/
|
|
139
|
+
description?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Domain names that need to be added to this domain name group.
|
|
142
|
+
*/
|
|
143
|
+
hostLists: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
|
+
/**
|
|
145
|
+
* The name of the domain name group.
|
|
146
|
+
*/
|
|
147
|
+
name?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The project of Domain name group.
|
|
150
|
+
*/
|
|
151
|
+
projectName?: pulumi.Input<string>;
|
|
152
|
+
}
|
package/waf/hostGroup.js
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.HostGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage waf host group
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.waf.HostGroup("foo", {
|
|
17
|
+
* description: "tf-test",
|
|
18
|
+
* hostLists: ["www.tf-test.com"],
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* WafHostGroup can be imported using the id, e.g.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import volcengine:waf/hostGroup:HostGroup default resource_id
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
class HostGroup extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing HostGroup resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name, id, state, opts) {
|
|
41
|
+
return new HostGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of HostGroup. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj) {
|
|
48
|
+
if (obj === undefined || obj === null) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
return obj['__pulumiType'] === HostGroup.__pulumiType;
|
|
52
|
+
}
|
|
53
|
+
constructor(name, argsOrState, opts) {
|
|
54
|
+
let resourceInputs = {};
|
|
55
|
+
opts = opts || {};
|
|
56
|
+
if (opts.id) {
|
|
57
|
+
const state = argsOrState;
|
|
58
|
+
resourceInputs["action"] = state ? state.action : undefined;
|
|
59
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
60
|
+
resourceInputs["hostCount"] = state ? state.hostCount : undefined;
|
|
61
|
+
resourceInputs["hostGroupId"] = state ? state.hostGroupId : undefined;
|
|
62
|
+
resourceInputs["hostLists"] = state ? state.hostLists : undefined;
|
|
63
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
64
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
65
|
+
resourceInputs["relatedRules"] = state ? state.relatedRules : undefined;
|
|
66
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if ((!args || args.hostLists === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'hostLists'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["action"] = args ? args.action : undefined;
|
|
74
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
75
|
+
resourceInputs["hostLists"] = args ? args.hostLists : undefined;
|
|
76
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
77
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
78
|
+
resourceInputs["hostCount"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["hostGroupId"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["relatedRules"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
82
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
super(HostGroup.__pulumiType, name, resourceInputs, opts);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.HostGroup = HostGroup;
|
|
88
|
+
/** @internal */
|
|
89
|
+
HostGroup.__pulumiType = 'volcengine:waf/hostGroup:HostGroup';
|
|
90
|
+
//# sourceMappingURL=hostGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hostGroup.js","sourceRoot":"","sources":["../../waf/hostGroup.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of waf host groups
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const foo = volcengine.waf.getHostGroups({
|
|
12
|
+
* hostFix: "www.tf-test.com",
|
|
13
|
+
* timeOrderBy: "DESC",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
/** @deprecated volcengine.waf.HostGroups has been deprecated in favor of volcengine.waf.getHostGroups */
|
|
18
|
+
export declare function hostGroups(args: HostGroupsArgs, opts?: pulumi.InvokeOptions): Promise<HostGroupsResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking HostGroups.
|
|
21
|
+
*/
|
|
22
|
+
export interface HostGroupsArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The domain name information queried.
|
|
25
|
+
*/
|
|
26
|
+
hostFix?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the domain name group.
|
|
29
|
+
*/
|
|
30
|
+
hostGroupId?: number;
|
|
31
|
+
/**
|
|
32
|
+
* A list of IDs.
|
|
33
|
+
*/
|
|
34
|
+
ids?: string[];
|
|
35
|
+
/**
|
|
36
|
+
* Whether to return all domain name groups and their name information, it returns by default.
|
|
37
|
+
*/
|
|
38
|
+
listAll?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The name of the domain name group being queried.
|
|
41
|
+
*/
|
|
42
|
+
nameFix?: string;
|
|
43
|
+
/**
|
|
44
|
+
* A Name Regex of Resource.
|
|
45
|
+
*/
|
|
46
|
+
nameRegex?: string;
|
|
47
|
+
/**
|
|
48
|
+
* File name where to save data source results.
|
|
49
|
+
*/
|
|
50
|
+
outputFile?: string;
|
|
51
|
+
/**
|
|
52
|
+
* The rule ID associated with domain name groups.
|
|
53
|
+
*/
|
|
54
|
+
ruleTag?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The list of rule ids associated with the domain name group shows the timing sequence.
|
|
57
|
+
*/
|
|
58
|
+
timeOrderBy: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A collection of values returned by HostGroups.
|
|
62
|
+
*/
|
|
63
|
+
export interface HostGroupsResult {
|
|
64
|
+
readonly hostFix?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The ID of the domain name group.
|
|
67
|
+
*/
|
|
68
|
+
readonly hostGroupId?: number;
|
|
69
|
+
/**
|
|
70
|
+
* Details of the domain name group list.
|
|
71
|
+
*/
|
|
72
|
+
readonly hostGroupLists: outputs.waf.HostGroupsHostGroupList[];
|
|
73
|
+
/**
|
|
74
|
+
* The provider-assigned unique ID for this managed resource.
|
|
75
|
+
*/
|
|
76
|
+
readonly id: string;
|
|
77
|
+
readonly ids?: string[];
|
|
78
|
+
readonly listAll?: boolean;
|
|
79
|
+
readonly nameFix?: string;
|
|
80
|
+
readonly nameRegex?: string;
|
|
81
|
+
readonly outputFile?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The ID of the rule.
|
|
84
|
+
*/
|
|
85
|
+
readonly ruleTag?: string;
|
|
86
|
+
readonly timeOrderBy: string;
|
|
87
|
+
/**
|
|
88
|
+
* The total count of query.
|
|
89
|
+
*/
|
|
90
|
+
readonly totalCount: number;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Use this data source to query detailed information of waf host groups
|
|
94
|
+
* ## Example Usage
|
|
95
|
+
*
|
|
96
|
+
* ```typescript
|
|
97
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
98
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
99
|
+
*
|
|
100
|
+
* const foo = volcengine.waf.getHostGroups({
|
|
101
|
+
* hostFix: "www.tf-test.com",
|
|
102
|
+
* timeOrderBy: "DESC",
|
|
103
|
+
* });
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
106
|
+
/** @deprecated volcengine.waf.HostGroups has been deprecated in favor of volcengine.waf.getHostGroups */
|
|
107
|
+
export declare function hostGroupsOutput(args: HostGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<HostGroupsResult>;
|
|
108
|
+
/**
|
|
109
|
+
* A collection of arguments for invoking HostGroups.
|
|
110
|
+
*/
|
|
111
|
+
export interface HostGroupsOutputArgs {
|
|
112
|
+
/**
|
|
113
|
+
* The domain name information queried.
|
|
114
|
+
*/
|
|
115
|
+
hostFix?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the domain name group.
|
|
118
|
+
*/
|
|
119
|
+
hostGroupId?: pulumi.Input<number>;
|
|
120
|
+
/**
|
|
121
|
+
* A list of IDs.
|
|
122
|
+
*/
|
|
123
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
124
|
+
/**
|
|
125
|
+
* Whether to return all domain name groups and their name information, it returns by default.
|
|
126
|
+
*/
|
|
127
|
+
listAll?: pulumi.Input<boolean>;
|
|
128
|
+
/**
|
|
129
|
+
* The name of the domain name group being queried.
|
|
130
|
+
*/
|
|
131
|
+
nameFix?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* A Name Regex of Resource.
|
|
134
|
+
*/
|
|
135
|
+
nameRegex?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* File name where to save data source results.
|
|
138
|
+
*/
|
|
139
|
+
outputFile?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The rule ID associated with domain name groups.
|
|
142
|
+
*/
|
|
143
|
+
ruleTag?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The list of rule ids associated with the domain name group shows the timing sequence.
|
|
146
|
+
*/
|
|
147
|
+
timeOrderBy: pulumi.Input<string>;
|
|
148
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.hostGroupsOutput = exports.hostGroups = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of waf host groups
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const foo = volcengine.waf.getHostGroups({
|
|
17
|
+
* hostFix: "www.tf-test.com",
|
|
18
|
+
* timeOrderBy: "DESC",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
/** @deprecated volcengine.waf.HostGroups has been deprecated in favor of volcengine.waf.getHostGroups */
|
|
23
|
+
function hostGroups(args, opts) {
|
|
24
|
+
pulumi.log.warn("hostGroups is deprecated: volcengine.waf.HostGroups has been deprecated in favor of volcengine.waf.getHostGroups");
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("volcengine:waf/hostGroups:HostGroups", {
|
|
27
|
+
"hostFix": args.hostFix,
|
|
28
|
+
"hostGroupId": args.hostGroupId,
|
|
29
|
+
"ids": args.ids,
|
|
30
|
+
"listAll": args.listAll,
|
|
31
|
+
"nameFix": args.nameFix,
|
|
32
|
+
"nameRegex": args.nameRegex,
|
|
33
|
+
"outputFile": args.outputFile,
|
|
34
|
+
"ruleTag": args.ruleTag,
|
|
35
|
+
"timeOrderBy": args.timeOrderBy,
|
|
36
|
+
}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.hostGroups = hostGroups;
|
|
39
|
+
/**
|
|
40
|
+
* Use this data source to query detailed information of waf host groups
|
|
41
|
+
* ## Example Usage
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
46
|
+
*
|
|
47
|
+
* const foo = volcengine.waf.getHostGroups({
|
|
48
|
+
* hostFix: "www.tf-test.com",
|
|
49
|
+
* timeOrderBy: "DESC",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
/** @deprecated volcengine.waf.HostGroups has been deprecated in favor of volcengine.waf.getHostGroups */
|
|
54
|
+
function hostGroupsOutput(args, opts) {
|
|
55
|
+
return pulumi.output(args).apply((a) => hostGroups(a, opts));
|
|
56
|
+
}
|
|
57
|
+
exports.hostGroupsOutput = hostGroupsOutput;
|
|
58
|
+
//# sourceMappingURL=hostGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hostGroups.js","sourceRoot":"","sources":["../../waf/hostGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,yGAAyG;AACzG,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kHAAkH,CAAC,CAAA;IAEnI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,gCAeC;AA4ED;;;;;;;;;;;;;GAaG;AACH,yGAAyG;AACzG,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|