@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,147 @@
|
|
|
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 cc rules
|
|
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.getCcRules({
|
|
12
|
+
* ccTypes: [1],
|
|
13
|
+
* host: "www.tf-test.com",
|
|
14
|
+
* pathOrderBy: "ASC",
|
|
15
|
+
* ruleName: "tf",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getCcRules(args: GetCcRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetCcRulesResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getCcRules.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetCcRulesArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The actions performed on subsequent requests after meeting the statistical conditions.
|
|
26
|
+
*/
|
|
27
|
+
ccTypes?: number[];
|
|
28
|
+
/**
|
|
29
|
+
* Website domain names that require the setting of protection rules.
|
|
30
|
+
*/
|
|
31
|
+
host: string;
|
|
32
|
+
/**
|
|
33
|
+
* A Name Regex of Resource.
|
|
34
|
+
*/
|
|
35
|
+
nameRegex?: string;
|
|
36
|
+
/**
|
|
37
|
+
* File name where to save data source results.
|
|
38
|
+
*/
|
|
39
|
+
outputFile?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The list shows the order.
|
|
42
|
+
*/
|
|
43
|
+
pathOrderBy: string;
|
|
44
|
+
/**
|
|
45
|
+
* Search by rule name in a fuzzy manner.
|
|
46
|
+
*/
|
|
47
|
+
ruleName?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Search precisely according to the rule ID.
|
|
50
|
+
*/
|
|
51
|
+
ruleTag?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Fuzzy search by the requested path.
|
|
54
|
+
*/
|
|
55
|
+
url?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* A collection of values returned by getCcRules.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetCcRulesResult {
|
|
61
|
+
/**
|
|
62
|
+
* The actions performed on subsequent requests after meeting the statistical conditions.
|
|
63
|
+
*/
|
|
64
|
+
readonly ccTypes?: number[];
|
|
65
|
+
/**
|
|
66
|
+
* The collection of query.
|
|
67
|
+
*/
|
|
68
|
+
readonly datas: outputs.waf.GetCcRulesData[];
|
|
69
|
+
/**
|
|
70
|
+
* Protected website domain names.
|
|
71
|
+
*/
|
|
72
|
+
readonly host: string;
|
|
73
|
+
/**
|
|
74
|
+
* The provider-assigned unique ID for this managed resource.
|
|
75
|
+
*/
|
|
76
|
+
readonly id: string;
|
|
77
|
+
readonly nameRegex?: string;
|
|
78
|
+
readonly outputFile?: string;
|
|
79
|
+
readonly pathOrderBy: string;
|
|
80
|
+
readonly ruleName?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Rule label, that is, the complete rule ID.
|
|
83
|
+
*/
|
|
84
|
+
readonly ruleTag?: string;
|
|
85
|
+
/**
|
|
86
|
+
* The total count of query.
|
|
87
|
+
*/
|
|
88
|
+
readonly totalCount: number;
|
|
89
|
+
/**
|
|
90
|
+
* The requested path.
|
|
91
|
+
*/
|
|
92
|
+
readonly url?: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Use this data source to query detailed information of waf cc rules
|
|
96
|
+
* ## Example Usage
|
|
97
|
+
*
|
|
98
|
+
* ```typescript
|
|
99
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
100
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
101
|
+
*
|
|
102
|
+
* const foo = volcengine.waf.getCcRules({
|
|
103
|
+
* ccTypes: [1],
|
|
104
|
+
* host: "www.tf-test.com",
|
|
105
|
+
* pathOrderBy: "ASC",
|
|
106
|
+
* ruleName: "tf",
|
|
107
|
+
* });
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
export declare function getCcRulesOutput(args: GetCcRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCcRulesResult>;
|
|
111
|
+
/**
|
|
112
|
+
* A collection of arguments for invoking getCcRules.
|
|
113
|
+
*/
|
|
114
|
+
export interface GetCcRulesOutputArgs {
|
|
115
|
+
/**
|
|
116
|
+
* The actions performed on subsequent requests after meeting the statistical conditions.
|
|
117
|
+
*/
|
|
118
|
+
ccTypes?: pulumi.Input<pulumi.Input<number>[]>;
|
|
119
|
+
/**
|
|
120
|
+
* Website domain names that require the setting of protection rules.
|
|
121
|
+
*/
|
|
122
|
+
host: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* A Name Regex of Resource.
|
|
125
|
+
*/
|
|
126
|
+
nameRegex?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* File name where to save data source results.
|
|
129
|
+
*/
|
|
130
|
+
outputFile?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The list shows the order.
|
|
133
|
+
*/
|
|
134
|
+
pathOrderBy: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Search by rule name in a fuzzy manner.
|
|
137
|
+
*/
|
|
138
|
+
ruleName?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Search precisely according to the rule ID.
|
|
141
|
+
*/
|
|
142
|
+
ruleTag?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Fuzzy search by the requested path.
|
|
145
|
+
*/
|
|
146
|
+
url?: pulumi.Input<string>;
|
|
147
|
+
}
|
|
@@ -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.getCcRulesOutput = exports.getCcRules = 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 cc rules
|
|
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.getCcRules({
|
|
17
|
+
* ccTypes: [1],
|
|
18
|
+
* host: "www.tf-test.com",
|
|
19
|
+
* pathOrderBy: "ASC",
|
|
20
|
+
* ruleName: "tf",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getCcRules(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("volcengine:waf/getCcRules:getCcRules", {
|
|
27
|
+
"ccTypes": args.ccTypes,
|
|
28
|
+
"host": args.host,
|
|
29
|
+
"nameRegex": args.nameRegex,
|
|
30
|
+
"outputFile": args.outputFile,
|
|
31
|
+
"pathOrderBy": args.pathOrderBy,
|
|
32
|
+
"ruleName": args.ruleName,
|
|
33
|
+
"ruleTag": args.ruleTag,
|
|
34
|
+
"url": args.url,
|
|
35
|
+
}, opts);
|
|
36
|
+
}
|
|
37
|
+
exports.getCcRules = getCcRules;
|
|
38
|
+
/**
|
|
39
|
+
* Use this data source to query detailed information of waf cc rules
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
45
|
+
*
|
|
46
|
+
* const foo = volcengine.waf.getCcRules({
|
|
47
|
+
* ccTypes: [1],
|
|
48
|
+
* host: "www.tf-test.com",
|
|
49
|
+
* pathOrderBy: "ASC",
|
|
50
|
+
* ruleName: "tf",
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
function getCcRulesOutput(args, opts) {
|
|
55
|
+
return pulumi.output(args).apply((a) => getCcRules(a, opts));
|
|
56
|
+
}
|
|
57
|
+
exports.getCcRulesOutput = getCcRulesOutput;
|
|
58
|
+
//# sourceMappingURL=getCcRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCcRules.js","sourceRoot":"","sources":["../../waf/getCcRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,gCAaC;AA6ED;;;;;;;;;;;;;;;GAeG;AACH,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"}
|
|
@@ -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 custom 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.getCustomBots({
|
|
12
|
+
* host: "www.tf-test.com",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getCustomBots(args?: GetCustomBotsArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomBotsResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getCustomBots.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetCustomBotsArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The domain names that need to be viewed.
|
|
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 getCustomBots.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetCustomBotsResult {
|
|
38
|
+
/**
|
|
39
|
+
* The Details of Custom bot.
|
|
40
|
+
*/
|
|
41
|
+
readonly datas: outputs.waf.GetCustomBotsData[];
|
|
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 custom 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.getCustomBots({
|
|
63
|
+
* host: "www.tf-test.com",
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare function getCustomBotsOutput(args?: GetCustomBotsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomBotsResult>;
|
|
68
|
+
/**
|
|
69
|
+
* A collection of arguments for invoking getCustomBots.
|
|
70
|
+
*/
|
|
71
|
+
export interface GetCustomBotsOutputArgs {
|
|
72
|
+
/**
|
|
73
|
+
* The domain names that need to be viewed.
|
|
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,48 @@
|
|
|
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.getCustomBotsOutput = exports.getCustomBots = 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 custom 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.getCustomBots({
|
|
17
|
+
* host: "www.tf-test.com",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function getCustomBots(args, opts) {
|
|
22
|
+
args = args || {};
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("volcengine:waf/getCustomBots:getCustomBots", {
|
|
25
|
+
"host": args.host,
|
|
26
|
+
"nameRegex": args.nameRegex,
|
|
27
|
+
"outputFile": args.outputFile,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getCustomBots = getCustomBots;
|
|
31
|
+
/**
|
|
32
|
+
* Use this data source to query detailed information of waf custom bots
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
38
|
+
*
|
|
39
|
+
* const foo = volcengine.waf.getCustomBots({
|
|
40
|
+
* host: "www.tf-test.com",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
function getCustomBotsOutput(args, opts) {
|
|
45
|
+
return pulumi.output(args).apply((a) => getCustomBots(a, opts));
|
|
46
|
+
}
|
|
47
|
+
exports.getCustomBotsOutput = getCustomBotsOutput;
|
|
48
|
+
//# sourceMappingURL=getCustomBots.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCustomBots.js","sourceRoot":"","sources":["../../waf/getCustomBots.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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;AATD,sCASC;AAwCD;;;;;;;;;;;;GAYG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,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,108 @@
|
|
|
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 custom pages
|
|
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.getCustomPages({
|
|
12
|
+
* host: "www.tf-test.com",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getCustomPages(args: GetCustomPagesArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomPagesResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getCustomPages.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetCustomPagesArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The domain names that need to be viewed.
|
|
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
|
+
* The name of the project to which your domain names belong.
|
|
35
|
+
*/
|
|
36
|
+
projectName?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Unique identification of the rules.
|
|
39
|
+
*/
|
|
40
|
+
ruleTag?: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A collection of values returned by getCustomPages.
|
|
44
|
+
*/
|
|
45
|
+
export interface GetCustomPagesResult {
|
|
46
|
+
/**
|
|
47
|
+
* Details of the rules.
|
|
48
|
+
*/
|
|
49
|
+
readonly datas: outputs.waf.GetCustomPagesData[];
|
|
50
|
+
/**
|
|
51
|
+
* Domain name to be protected.
|
|
52
|
+
*/
|
|
53
|
+
readonly host: string;
|
|
54
|
+
/**
|
|
55
|
+
* The provider-assigned unique ID for this managed resource.
|
|
56
|
+
*/
|
|
57
|
+
readonly id: string;
|
|
58
|
+
readonly nameRegex?: string;
|
|
59
|
+
readonly outputFile?: string;
|
|
60
|
+
readonly projectName?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Unique identification of the rules.
|
|
63
|
+
*/
|
|
64
|
+
readonly ruleTag?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The total count of query.
|
|
67
|
+
*/
|
|
68
|
+
readonly totalCount: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Use this data source to query detailed information of waf custom pages
|
|
72
|
+
* ## Example Usage
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
77
|
+
*
|
|
78
|
+
* const foo = volcengine.waf.getCustomPages({
|
|
79
|
+
* host: "www.tf-test.com",
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
export declare function getCustomPagesOutput(args: GetCustomPagesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomPagesResult>;
|
|
84
|
+
/**
|
|
85
|
+
* A collection of arguments for invoking getCustomPages.
|
|
86
|
+
*/
|
|
87
|
+
export interface GetCustomPagesOutputArgs {
|
|
88
|
+
/**
|
|
89
|
+
* The domain names that need to be viewed.
|
|
90
|
+
*/
|
|
91
|
+
host: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* A Name Regex of Resource.
|
|
94
|
+
*/
|
|
95
|
+
nameRegex?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* File name where to save data source results.
|
|
98
|
+
*/
|
|
99
|
+
outputFile?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The name of the project to which your domain names belong.
|
|
102
|
+
*/
|
|
103
|
+
projectName?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Unique identification of the rules.
|
|
106
|
+
*/
|
|
107
|
+
ruleTag?: pulumi.Input<string>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.getCustomPagesOutput = exports.getCustomPages = 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 custom pages
|
|
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.getCustomPages({
|
|
17
|
+
* host: "www.tf-test.com",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function getCustomPages(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("volcengine:waf/getCustomPages:getCustomPages", {
|
|
24
|
+
"host": args.host,
|
|
25
|
+
"nameRegex": args.nameRegex,
|
|
26
|
+
"outputFile": args.outputFile,
|
|
27
|
+
"projectName": args.projectName,
|
|
28
|
+
"ruleTag": args.ruleTag,
|
|
29
|
+
}, opts);
|
|
30
|
+
}
|
|
31
|
+
exports.getCustomPages = getCustomPages;
|
|
32
|
+
/**
|
|
33
|
+
* Use this data source to query detailed information of waf custom pages
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
39
|
+
*
|
|
40
|
+
* const foo = volcengine.waf.getCustomPages({
|
|
41
|
+
* host: "www.tf-test.com",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getCustomPagesOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply((a) => getCustomPages(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getCustomPagesOutput = getCustomPagesOutput;
|
|
49
|
+
//# sourceMappingURL=getCustomPages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCustomPages.js","sourceRoot":"","sources":["../../waf/getCustomPages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wCAUC;AAwDD;;;;;;;;;;;;GAYG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 domains
|
|
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.getDomains({});
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function getDomains(args?: GetDomainsArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainsResult>;
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking getDomains.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetDomainsArgs {
|
|
19
|
+
/**
|
|
20
|
+
* Matching mode.
|
|
21
|
+
*/
|
|
22
|
+
accurateQuery?: number;
|
|
23
|
+
/**
|
|
24
|
+
* The domain name of the protected website that needs to be queried.
|
|
25
|
+
*/
|
|
26
|
+
domain?: string;
|
|
27
|
+
/**
|
|
28
|
+
* A Name Regex of Resource.
|
|
29
|
+
*/
|
|
30
|
+
nameRegex?: string;
|
|
31
|
+
/**
|
|
32
|
+
* File name where to save data source results.
|
|
33
|
+
*/
|
|
34
|
+
outputFile?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A collection of values returned by getDomains.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetDomainsResult {
|
|
40
|
+
readonly accurateQuery?: number;
|
|
41
|
+
/**
|
|
42
|
+
* The collection of query.
|
|
43
|
+
*/
|
|
44
|
+
readonly datas: outputs.waf.GetDomainsData[];
|
|
45
|
+
/**
|
|
46
|
+
* domain names that need to be protected by WAF.
|
|
47
|
+
*/
|
|
48
|
+
readonly domain?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The provider-assigned unique ID for this managed resource.
|
|
51
|
+
*/
|
|
52
|
+
readonly id: string;
|
|
53
|
+
readonly nameRegex?: string;
|
|
54
|
+
readonly outputFile?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The total count of query.
|
|
57
|
+
*/
|
|
58
|
+
readonly totalCount: number;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Use this data source to query detailed information of waf domains
|
|
62
|
+
* ## Example Usage
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
67
|
+
*
|
|
68
|
+
* const foo = volcengine.waf.getDomains({});
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
export declare function getDomainsOutput(args?: GetDomainsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainsResult>;
|
|
72
|
+
/**
|
|
73
|
+
* A collection of arguments for invoking getDomains.
|
|
74
|
+
*/
|
|
75
|
+
export interface GetDomainsOutputArgs {
|
|
76
|
+
/**
|
|
77
|
+
* Matching mode.
|
|
78
|
+
*/
|
|
79
|
+
accurateQuery?: pulumi.Input<number>;
|
|
80
|
+
/**
|
|
81
|
+
* The domain name of the protected website that needs to be queried.
|
|
82
|
+
*/
|
|
83
|
+
domain?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* A Name Regex of Resource.
|
|
86
|
+
*/
|
|
87
|
+
nameRegex?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* File name where to save data source results.
|
|
90
|
+
*/
|
|
91
|
+
outputFile?: pulumi.Input<string>;
|
|
92
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.getDomainsOutput = exports.getDomains = 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 domains
|
|
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.getDomains({});
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
function getDomains(args, opts) {
|
|
20
|
+
args = args || {};
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("volcengine:waf/getDomains:getDomains", {
|
|
23
|
+
"accurateQuery": args.accurateQuery,
|
|
24
|
+
"domain": args.domain,
|
|
25
|
+
"nameRegex": args.nameRegex,
|
|
26
|
+
"outputFile": args.outputFile,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getDomains = getDomains;
|
|
30
|
+
/**
|
|
31
|
+
* Use this data source to query detailed information of waf domains
|
|
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.getDomains({});
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
function getDomainsOutput(args, opts) {
|
|
42
|
+
return pulumi.output(args).apply((a) => getDomains(a, opts));
|
|
43
|
+
}
|
|
44
|
+
exports.getDomainsOutput = getDomainsOutput;
|
|
45
|
+
//# sourceMappingURL=getDomains.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDomains.js","sourceRoot":"","sources":["../../waf/getDomains.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AAgDD;;;;;;;;;;GAUG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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"}
|