@pulumi/alicloud 3.24.0 → 3.26.0-alpha.1659111205
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/actiontrail/trail.d.ts +4 -4
- package/actiontrail/trailDeprecated.d.ts +1 -1
- package/adb/cluster.d.ts +4 -1
- package/adb/cluster.js +2 -0
- package/adb/cluster.js.map +1 -1
- package/adb/dbcluster.d.ts +13 -1
- package/adb/dbcluster.js +2 -0
- package/adb/dbcluster.js.map +1 -1
- package/amqp/instance.d.ts +3 -3
- package/cloudfirewall/addressBook.d.ts +175 -0
- package/cloudfirewall/addressBook.js +108 -0
- package/cloudfirewall/addressBook.js.map +1 -0
- package/cloudfirewall/getAddressBooks.d.ts +72 -0
- package/cloudfirewall/getAddressBooks.js +43 -0
- package/cloudfirewall/getAddressBooks.js.map +1 -0
- package/cloudfirewall/index.d.ts +2 -0
- package/cloudfirewall/index.js +6 -0
- package/cloudfirewall/index.js.map +1 -1
- package/cms/getHybridMonitorDatas.d.ts +94 -0
- package/cms/getHybridMonitorDatas.js +49 -0
- package/cms/getHybridMonitorDatas.js.map +1 -0
- package/cms/index.d.ts +1 -0
- package/cms/index.js +1 -0
- package/cms/index.js.map +1 -1
- package/cs/getKubernetesClusters.d.ts +12 -0
- package/cs/getKubernetesClusters.js +4 -0
- package/cs/getKubernetesClusters.js.map +1 -1
- package/cs/getManagedKubernetesClusters.d.ts +12 -0
- package/cs/getManagedKubernetesClusters.js +4 -0
- package/cs/getManagedKubernetesClusters.js.map +1 -1
- package/cs/getServerlessKubernetesClusters.d.ts +12 -0
- package/cs/getServerlessKubernetesClusters.js +4 -0
- package/cs/getServerlessKubernetesClusters.js.map +1 -1
- package/cs/kubernetes.d.ts +258 -79
- package/cs/kubernetes.js +0 -9
- package/cs/kubernetes.js.map +1 -1
- package/cs/managedKubernetes.d.ts +345 -109
- package/cs/managedKubernetes.js.map +1 -1
- package/cs/nodePool.d.ts +69 -18
- package/cs/nodePool.js +8 -3
- package/cs/nodePool.js.map +1 -1
- package/cs/serverlessKubernetes.d.ts +4 -1
- package/cs/serverlessKubernetes.js +4 -1
- package/cs/serverlessKubernetes.js.map +1 -1
- package/eci/containerGroup.d.ts +2 -2
- package/ecs/activation.d.ts +134 -0
- package/ecs/activation.js +89 -0
- package/ecs/activation.js.map +1 -0
- package/ecs/ecsInstanceSet.d.ts +18 -0
- package/ecs/ecsInstanceSet.js +2 -0
- package/ecs/ecsInstanceSet.js.map +1 -1
- package/ecs/getActivations.d.ts +69 -0
- package/ecs/getActivations.js +44 -0
- package/ecs/getActivations.js.map +1 -0
- package/ecs/index.d.ts +2 -0
- package/ecs/index.js +6 -0
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +63 -0
- package/ecs/instance.js +8 -0
- package/ecs/instance.js.map +1 -1
- package/ess/scalingConfiguration.d.ts +12 -0
- package/ess/scalingConfiguration.js +2 -0
- package/ess/scalingConfiguration.js.map +1 -1
- package/hbr/getHanaInstances.d.ts +89 -0
- package/hbr/getHanaInstances.js +48 -0
- package/hbr/getHanaInstances.js.map +1 -0
- package/hbr/hanaInstance.d.ts +240 -0
- package/hbr/hanaInstance.js +122 -0
- package/hbr/hanaInstance.js.map +1 -0
- package/hbr/index.d.ts +2 -0
- package/hbr/index.js +6 -0
- package/hbr/index.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/lindorm/instance.d.ts +30 -0
- package/lindorm/instance.js +4 -0
- package/lindorm/instance.js.map +1 -1
- package/mse/cluster.d.ts +12 -0
- package/mse/cluster.js +2 -0
- package/mse/cluster.js.map +1 -1
- package/oos/template.d.ts +12 -0
- package/oos/template.js +2 -0
- package/oos/template.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/polardb/cluster.d.ts +12 -0
- package/polardb/cluster.js +2 -0
- package/polardb/cluster.js.map +1 -1
- package/sms/index.d.ts +1 -0
- package/sms/index.js +37 -0
- package/sms/index.js.map +1 -0
- package/sms/shortUrl.d.ts +110 -0
- package/sms/shortUrl.js +94 -0
- package/sms/shortUrl.js.map +1 -0
- package/types/input.d.ts +34 -16
- package/types/output.d.ts +207 -7
package/actiontrail/trail.d.ts
CHANGED
|
@@ -103,9 +103,9 @@ export declare class Trail extends pulumi.CustomResource {
|
|
|
103
103
|
*/
|
|
104
104
|
readonly trailName: pulumi.Output<string>;
|
|
105
105
|
/**
|
|
106
|
-
* The regions to which the trail is applied.
|
|
106
|
+
* The regions to which the trail is applied. Default to `All`.
|
|
107
107
|
*/
|
|
108
|
-
readonly trailRegion: pulumi.Output<string
|
|
108
|
+
readonly trailRegion: pulumi.Output<string>;
|
|
109
109
|
/**
|
|
110
110
|
* Create a Trail resource with the given unique name, arguments, and options.
|
|
111
111
|
*
|
|
@@ -174,7 +174,7 @@ export interface TrailState {
|
|
|
174
174
|
*/
|
|
175
175
|
trailName?: pulumi.Input<string>;
|
|
176
176
|
/**
|
|
177
|
-
* The regions to which the trail is applied.
|
|
177
|
+
* The regions to which the trail is applied. Default to `All`.
|
|
178
178
|
*/
|
|
179
179
|
trailRegion?: pulumi.Input<string>;
|
|
180
180
|
}
|
|
@@ -237,7 +237,7 @@ export interface TrailArgs {
|
|
|
237
237
|
*/
|
|
238
238
|
trailName?: pulumi.Input<string>;
|
|
239
239
|
/**
|
|
240
|
-
* The regions to which the trail is applied.
|
|
240
|
+
* The regions to which the trail is applied. Default to `All`.
|
|
241
241
|
*/
|
|
242
242
|
trailRegion?: pulumi.Input<string>;
|
|
243
243
|
}
|
|
@@ -81,7 +81,7 @@ export declare class TrailDeprecated extends pulumi.CustomResource {
|
|
|
81
81
|
readonly slsWriteRoleArn: pulumi.Output<string>;
|
|
82
82
|
readonly status: pulumi.Output<string | undefined>;
|
|
83
83
|
readonly trailName: pulumi.Output<string>;
|
|
84
|
-
readonly trailRegion: pulumi.Output<string
|
|
84
|
+
readonly trailRegion: pulumi.Output<string>;
|
|
85
85
|
/**
|
|
86
86
|
* Create a TrailDeprecated resource with the given unique name, arguments, and options.
|
|
87
87
|
*
|
package/adb/cluster.d.ts
CHANGED
|
@@ -96,7 +96,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
96
96
|
* The description of cluster.
|
|
97
97
|
*/
|
|
98
98
|
readonly description: pulumi.Output<string>;
|
|
99
|
-
readonly elasticIoResource: pulumi.Output<number
|
|
99
|
+
readonly elasticIoResource: pulumi.Output<number>;
|
|
100
100
|
/**
|
|
101
101
|
* Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)
|
|
102
102
|
*/
|
|
@@ -135,6 +135,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
135
135
|
readonly tags: pulumi.Output<{
|
|
136
136
|
[key: string]: any;
|
|
137
137
|
} | undefined>;
|
|
138
|
+
readonly vpcId: pulumi.Output<string>;
|
|
138
139
|
/**
|
|
139
140
|
* The virtual switch ID to launch DB instances in one VPC.
|
|
140
141
|
*/
|
|
@@ -232,6 +233,7 @@ export interface ClusterState {
|
|
|
232
233
|
tags?: pulumi.Input<{
|
|
233
234
|
[key: string]: any;
|
|
234
235
|
}>;
|
|
236
|
+
vpcId?: pulumi.Input<string>;
|
|
235
237
|
/**
|
|
236
238
|
* The virtual switch ID to launch DB instances in one VPC.
|
|
237
239
|
*/
|
|
@@ -316,6 +318,7 @@ export interface ClusterArgs {
|
|
|
316
318
|
tags?: pulumi.Input<{
|
|
317
319
|
[key: string]: any;
|
|
318
320
|
}>;
|
|
321
|
+
vpcId?: pulumi.Input<string>;
|
|
319
322
|
/**
|
|
320
323
|
* The virtual switch ID to launch DB instances in one VPC.
|
|
321
324
|
*/
|
package/adb/cluster.js
CHANGED
|
@@ -77,6 +77,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
77
77
|
resourceInputs["securityIps"] = state ? state.securityIps : undefined;
|
|
78
78
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
79
79
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
80
|
+
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
80
81
|
resourceInputs["vswitchId"] = state ? state.vswitchId : undefined;
|
|
81
82
|
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
82
83
|
}
|
|
@@ -108,6 +109,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
108
109
|
resourceInputs["resourceGroupId"] = args ? args.resourceGroupId : undefined;
|
|
109
110
|
resourceInputs["securityIps"] = args ? args.securityIps : undefined;
|
|
110
111
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
112
|
+
resourceInputs["vpcId"] = args ? args.vpcId : undefined;
|
|
111
113
|
resourceInputs["vswitchId"] = args ? args.vswitchId : undefined;
|
|
112
114
|
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
113
115
|
resourceInputs["connectionString"] = undefined /*out*/;
|
package/adb/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../adb/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../adb/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAwH9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MA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IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BA2LC;AA7KG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
package/adb/dbcluster.d.ts
CHANGED
|
@@ -122,7 +122,7 @@ export declare class DBCluster extends pulumi.CustomResource {
|
|
|
122
122
|
/**
|
|
123
123
|
* The elastic io resource.
|
|
124
124
|
*/
|
|
125
|
-
readonly elasticIoResource: pulumi.Output<number
|
|
125
|
+
readonly elasticIoResource: pulumi.Output<number>;
|
|
126
126
|
/**
|
|
127
127
|
* The maintenance window of the cluster. Format: hh:mmZ-hh:mmZ.
|
|
128
128
|
*/
|
|
@@ -170,6 +170,10 @@ export declare class DBCluster extends pulumi.CustomResource {
|
|
|
170
170
|
readonly tags: pulumi.Output<{
|
|
171
171
|
[key: string]: any;
|
|
172
172
|
} | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* The vpc ID of the resource.
|
|
175
|
+
*/
|
|
176
|
+
readonly vpcId: pulumi.Output<string>;
|
|
173
177
|
/**
|
|
174
178
|
* The vswitch id.
|
|
175
179
|
*/
|
|
@@ -284,6 +288,10 @@ export interface DBClusterState {
|
|
|
284
288
|
tags?: pulumi.Input<{
|
|
285
289
|
[key: string]: any;
|
|
286
290
|
}>;
|
|
291
|
+
/**
|
|
292
|
+
* The vpc ID of the resource.
|
|
293
|
+
*/
|
|
294
|
+
vpcId?: pulumi.Input<string>;
|
|
287
295
|
/**
|
|
288
296
|
* The vswitch id.
|
|
289
297
|
*/
|
|
@@ -382,6 +390,10 @@ export interface DBClusterArgs {
|
|
|
382
390
|
tags?: pulumi.Input<{
|
|
383
391
|
[key: string]: any;
|
|
384
392
|
}>;
|
|
393
|
+
/**
|
|
394
|
+
* The vpc ID of the resource.
|
|
395
|
+
*/
|
|
396
|
+
vpcId?: pulumi.Input<string>;
|
|
385
397
|
/**
|
|
386
398
|
* The vswitch id.
|
|
387
399
|
*/
|
package/adb/dbcluster.js
CHANGED
|
@@ -95,6 +95,7 @@ class DBCluster extends pulumi.CustomResource {
|
|
|
95
95
|
resourceInputs["securityIps"] = state ? state.securityIps : undefined;
|
|
96
96
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
97
97
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
98
|
+
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
98
99
|
resourceInputs["vswitchId"] = state ? state.vswitchId : undefined;
|
|
99
100
|
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
100
101
|
}
|
|
@@ -126,6 +127,7 @@ class DBCluster extends pulumi.CustomResource {
|
|
|
126
127
|
resourceInputs["resourceGroupId"] = args ? args.resourceGroupId : undefined;
|
|
127
128
|
resourceInputs["securityIps"] = args ? args.securityIps : undefined;
|
|
128
129
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
130
|
+
resourceInputs["vpcId"] = args ? args.vpcId : undefined;
|
|
129
131
|
resourceInputs["vswitchId"] = args ? args.vswitchId : undefined;
|
|
130
132
|
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
131
133
|
resourceInputs["connectionString"] = undefined /*out*/;
|
package/adb/dbcluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dbcluster.js","sourceRoot":"","sources":["../../adb/dbcluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,SAAU,SAAQ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Ac,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IA7MD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BA+MC;AAjMG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
|
package/amqp/instance.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
66
66
|
*/
|
|
67
67
|
readonly instanceName: pulumi.Output<string>;
|
|
68
68
|
/**
|
|
69
|
-
* The Instance Type. Valid values: `professional`, `vip`.
|
|
69
|
+
* The Instance Type. Valid values: `professional`, `enterprise`, `vip`.
|
|
70
70
|
*/
|
|
71
71
|
readonly instanceType: pulumi.Output<string>;
|
|
72
72
|
readonly logistics: pulumi.Output<string | undefined>;
|
|
@@ -139,7 +139,7 @@ export interface InstanceState {
|
|
|
139
139
|
*/
|
|
140
140
|
instanceName?: pulumi.Input<string>;
|
|
141
141
|
/**
|
|
142
|
-
* The Instance Type. Valid values: `professional`, `vip`.
|
|
142
|
+
* The Instance Type. Valid values: `professional`, `enterprise`, `vip`.
|
|
143
143
|
*/
|
|
144
144
|
instanceType?: pulumi.Input<string>;
|
|
145
145
|
logistics?: pulumi.Input<string>;
|
|
@@ -204,7 +204,7 @@ export interface InstanceArgs {
|
|
|
204
204
|
*/
|
|
205
205
|
instanceName?: pulumi.Input<string>;
|
|
206
206
|
/**
|
|
207
|
-
* The Instance Type. Valid values: `professional`, `vip`.
|
|
207
|
+
* The Instance Type. Valid values: `professional`, `enterprise`, `vip`.
|
|
208
208
|
*/
|
|
209
209
|
instanceType: pulumi.Input<string>;
|
|
210
210
|
logistics?: pulumi.Input<string>;
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a Cloud Firewall Address Book resource.
|
|
5
|
+
*
|
|
6
|
+
* For information about Cloud Firewall Address Book and how to use it, see [What is Address Book](https://www.alibabacloud.com/help/en/cloud-firewall/latest/describeaddressbook).
|
|
7
|
+
*
|
|
8
|
+
* > **NOTE:** Available in v1.178.0+.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* Basic Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
17
|
+
*
|
|
18
|
+
* const example = new alicloud.cloudfirewall.AddressBook("example", {
|
|
19
|
+
* autoAddTagEcs: 0,
|
|
20
|
+
* description: "example_value",
|
|
21
|
+
* ecsTags: [{
|
|
22
|
+
* tagKey: "created",
|
|
23
|
+
* tagValue: "tfTestAcc0",
|
|
24
|
+
* }],
|
|
25
|
+
* groupName: "example_value",
|
|
26
|
+
* groupType: "tag",
|
|
27
|
+
* tagRelation: "and",
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* Cloud Firewall Address Book can be imported using the id, e.g.
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import alicloud:cloudfirewall/addressBook:AddressBook example <id>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare class AddressBook extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing AddressBook resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AddressBookState, opts?: pulumi.CustomResourceOptions): AddressBook;
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of AddressBook. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj: any): obj is AddressBook;
|
|
55
|
+
/**
|
|
56
|
+
* The list of addresses.
|
|
57
|
+
*/
|
|
58
|
+
readonly addressLists: pulumi.Output<string[] | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Whether you want to automatically add new matching tags of the ECS IP address to the Address Book. Valid values: `0`, `1`.
|
|
61
|
+
*/
|
|
62
|
+
readonly autoAddTagEcs: pulumi.Output<number | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* The description of the Address Book.
|
|
65
|
+
*/
|
|
66
|
+
readonly description: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* A list of ECS tags. See the following `Block ecsTags`.
|
|
69
|
+
*/
|
|
70
|
+
readonly ecsTags: pulumi.Output<outputs.cloudfirewall.AddressBookEcsTag[] | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* The name of the Address Book.
|
|
73
|
+
*/
|
|
74
|
+
readonly groupName: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The type of the Address Book. Valid values: `ip`, `tag`.
|
|
77
|
+
*/
|
|
78
|
+
readonly groupType: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The language of the content within the request and response. Valid values: `en`, `zh`.
|
|
81
|
+
*/
|
|
82
|
+
readonly lang: pulumi.Output<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* The logical relation among the ECS tags that to be matched. Valid values:
|
|
85
|
+
* - **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the Address Book. This is the default value.
|
|
86
|
+
* - **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the Address Book.
|
|
87
|
+
*/
|
|
88
|
+
readonly tagRelation: pulumi.Output<string | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* Create a AddressBook resource with the given unique name, arguments, and options.
|
|
91
|
+
*
|
|
92
|
+
* @param name The _unique_ name of the resource.
|
|
93
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
94
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
95
|
+
*/
|
|
96
|
+
constructor(name: string, args: AddressBookArgs, opts?: pulumi.CustomResourceOptions);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Input properties used for looking up and filtering AddressBook resources.
|
|
100
|
+
*/
|
|
101
|
+
export interface AddressBookState {
|
|
102
|
+
/**
|
|
103
|
+
* The list of addresses.
|
|
104
|
+
*/
|
|
105
|
+
addressLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
|
+
/**
|
|
107
|
+
* Whether you want to automatically add new matching tags of the ECS IP address to the Address Book. Valid values: `0`, `1`.
|
|
108
|
+
*/
|
|
109
|
+
autoAddTagEcs?: pulumi.Input<number>;
|
|
110
|
+
/**
|
|
111
|
+
* The description of the Address Book.
|
|
112
|
+
*/
|
|
113
|
+
description?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* A list of ECS tags. See the following `Block ecsTags`.
|
|
116
|
+
*/
|
|
117
|
+
ecsTags?: pulumi.Input<pulumi.Input<inputs.cloudfirewall.AddressBookEcsTag>[]>;
|
|
118
|
+
/**
|
|
119
|
+
* The name of the Address Book.
|
|
120
|
+
*/
|
|
121
|
+
groupName?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The type of the Address Book. Valid values: `ip`, `tag`.
|
|
124
|
+
*/
|
|
125
|
+
groupType?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The language of the content within the request and response. Valid values: `en`, `zh`.
|
|
128
|
+
*/
|
|
129
|
+
lang?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The logical relation among the ECS tags that to be matched. Valid values:
|
|
132
|
+
* - **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the Address Book. This is the default value.
|
|
133
|
+
* - **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the Address Book.
|
|
134
|
+
*/
|
|
135
|
+
tagRelation?: pulumi.Input<string>;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* The set of arguments for constructing a AddressBook resource.
|
|
139
|
+
*/
|
|
140
|
+
export interface AddressBookArgs {
|
|
141
|
+
/**
|
|
142
|
+
* The list of addresses.
|
|
143
|
+
*/
|
|
144
|
+
addressLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
145
|
+
/**
|
|
146
|
+
* Whether you want to automatically add new matching tags of the ECS IP address to the Address Book. Valid values: `0`, `1`.
|
|
147
|
+
*/
|
|
148
|
+
autoAddTagEcs?: pulumi.Input<number>;
|
|
149
|
+
/**
|
|
150
|
+
* The description of the Address Book.
|
|
151
|
+
*/
|
|
152
|
+
description: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* A list of ECS tags. See the following `Block ecsTags`.
|
|
155
|
+
*/
|
|
156
|
+
ecsTags?: pulumi.Input<pulumi.Input<inputs.cloudfirewall.AddressBookEcsTag>[]>;
|
|
157
|
+
/**
|
|
158
|
+
* The name of the Address Book.
|
|
159
|
+
*/
|
|
160
|
+
groupName: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* The type of the Address Book. Valid values: `ip`, `tag`.
|
|
163
|
+
*/
|
|
164
|
+
groupType: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* The language of the content within the request and response. Valid values: `en`, `zh`.
|
|
167
|
+
*/
|
|
168
|
+
lang?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* The logical relation among the ECS tags that to be matched. Valid values:
|
|
171
|
+
* - **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the Address Book. This is the default value.
|
|
172
|
+
* - **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the Address Book.
|
|
173
|
+
*/
|
|
174
|
+
tagRelation?: pulumi.Input<string>;
|
|
175
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
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.AddressBook = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Cloud Firewall Address Book resource.
|
|
10
|
+
*
|
|
11
|
+
* For information about Cloud Firewall Address Book and how to use it, see [What is Address Book](https://www.alibabacloud.com/help/en/cloud-firewall/latest/describeaddressbook).
|
|
12
|
+
*
|
|
13
|
+
* > **NOTE:** Available in v1.178.0+.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* Basic Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
22
|
+
*
|
|
23
|
+
* const example = new alicloud.cloudfirewall.AddressBook("example", {
|
|
24
|
+
* autoAddTagEcs: 0,
|
|
25
|
+
* description: "example_value",
|
|
26
|
+
* ecsTags: [{
|
|
27
|
+
* tagKey: "created",
|
|
28
|
+
* tagValue: "tfTestAcc0",
|
|
29
|
+
* }],
|
|
30
|
+
* groupName: "example_value",
|
|
31
|
+
* groupType: "tag",
|
|
32
|
+
* tagRelation: "and",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* Cloud Firewall Address Book can be imported using the id, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import alicloud:cloudfirewall/addressBook:AddressBook example <id>
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class AddressBook extends pulumi.CustomResource {
|
|
45
|
+
constructor(name, argsOrState, opts) {
|
|
46
|
+
let resourceInputs = {};
|
|
47
|
+
opts = opts || {};
|
|
48
|
+
if (opts.id) {
|
|
49
|
+
const state = argsOrState;
|
|
50
|
+
resourceInputs["addressLists"] = state ? state.addressLists : undefined;
|
|
51
|
+
resourceInputs["autoAddTagEcs"] = state ? state.autoAddTagEcs : undefined;
|
|
52
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
53
|
+
resourceInputs["ecsTags"] = state ? state.ecsTags : undefined;
|
|
54
|
+
resourceInputs["groupName"] = state ? state.groupName : undefined;
|
|
55
|
+
resourceInputs["groupType"] = state ? state.groupType : undefined;
|
|
56
|
+
resourceInputs["lang"] = state ? state.lang : undefined;
|
|
57
|
+
resourceInputs["tagRelation"] = state ? state.tagRelation : undefined;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if ((!args || args.description === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'description'");
|
|
63
|
+
}
|
|
64
|
+
if ((!args || args.groupName === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'groupName'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.groupType === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'groupType'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["addressLists"] = args ? args.addressLists : undefined;
|
|
71
|
+
resourceInputs["autoAddTagEcs"] = args ? args.autoAddTagEcs : undefined;
|
|
72
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
73
|
+
resourceInputs["ecsTags"] = args ? args.ecsTags : undefined;
|
|
74
|
+
resourceInputs["groupName"] = args ? args.groupName : undefined;
|
|
75
|
+
resourceInputs["groupType"] = args ? args.groupType : undefined;
|
|
76
|
+
resourceInputs["lang"] = args ? args.lang : undefined;
|
|
77
|
+
resourceInputs["tagRelation"] = args ? args.tagRelation : undefined;
|
|
78
|
+
}
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
+
super(AddressBook.__pulumiType, name, resourceInputs, opts);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Get an existing AddressBook resource's state with the given name, ID, and optional extra
|
|
84
|
+
* properties used to qualify the lookup.
|
|
85
|
+
*
|
|
86
|
+
* @param name The _unique_ name of the resulting resource.
|
|
87
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
88
|
+
* @param state Any extra arguments used during the lookup.
|
|
89
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
90
|
+
*/
|
|
91
|
+
static get(name, id, state, opts) {
|
|
92
|
+
return new AddressBook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Returns true if the given object is an instance of AddressBook. This is designed to work even
|
|
96
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
97
|
+
*/
|
|
98
|
+
static isInstance(obj) {
|
|
99
|
+
if (obj === undefined || obj === null) {
|
|
100
|
+
return false;
|
|
101
|
+
}
|
|
102
|
+
return obj['__pulumiType'] === AddressBook.__pulumiType;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.AddressBook = AddressBook;
|
|
106
|
+
/** @internal */
|
|
107
|
+
AddressBook.__pulumiType = 'alicloud:cloudfirewall/addressBook:AddressBook';
|
|
108
|
+
//# sourceMappingURL=addressBook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addressBook.js","sourceRoot":"","sources":["../../cloudfirewall/addressBook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAuElD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,S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;IAC5D,CAAC;;AA1BL,kCA2GC;AA7FG,gBAAgB;AACO,wBAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides the Cloud Firewall Address Books of the current Alibaba Cloud user.
|
|
5
|
+
*
|
|
6
|
+
* > **NOTE:** Available in v1.178.0+.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* Basic Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
15
|
+
*
|
|
16
|
+
* const ids = alicloud.cloudfirewall.getAddressBooks({});
|
|
17
|
+
* export const cloudFirewallAddressBookId1 = ids.then(ids => ids.books?[0]?.id);
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getAddressBooks(args?: GetAddressBooksArgs, opts?: pulumi.InvokeOptions): Promise<GetAddressBooksResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getAddressBooks.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetAddressBooksArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The type of the Address Book.
|
|
27
|
+
*/
|
|
28
|
+
groupType?: string;
|
|
29
|
+
/**
|
|
30
|
+
* A list of Address Book IDs.
|
|
31
|
+
*/
|
|
32
|
+
ids?: string[];
|
|
33
|
+
/**
|
|
34
|
+
* A regex string to filter results Address Book name.
|
|
35
|
+
*/
|
|
36
|
+
nameRegex?: string;
|
|
37
|
+
outputFile?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A collection of values returned by getAddressBooks.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetAddressBooksResult {
|
|
43
|
+
readonly books: outputs.cloudfirewall.GetAddressBooksBook[];
|
|
44
|
+
readonly groupType?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The provider-assigned unique ID for this managed resource.
|
|
47
|
+
*/
|
|
48
|
+
readonly id: string;
|
|
49
|
+
readonly ids: string[];
|
|
50
|
+
readonly nameRegex?: string;
|
|
51
|
+
readonly names: string[];
|
|
52
|
+
readonly outputFile?: string;
|
|
53
|
+
}
|
|
54
|
+
export declare function getAddressBooksOutput(args?: GetAddressBooksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAddressBooksResult>;
|
|
55
|
+
/**
|
|
56
|
+
* A collection of arguments for invoking getAddressBooks.
|
|
57
|
+
*/
|
|
58
|
+
export interface GetAddressBooksOutputArgs {
|
|
59
|
+
/**
|
|
60
|
+
* The type of the Address Book.
|
|
61
|
+
*/
|
|
62
|
+
groupType?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* A list of Address Book IDs.
|
|
65
|
+
*/
|
|
66
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
67
|
+
/**
|
|
68
|
+
* A regex string to filter results Address Book name.
|
|
69
|
+
*/
|
|
70
|
+
nameRegex?: pulumi.Input<string>;
|
|
71
|
+
outputFile?: pulumi.Input<string>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.getAddressBooksOutput = exports.getAddressBooks = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the Cloud Firewall Address Books of the current Alibaba Cloud user.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** Available in v1.178.0+.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* Basic Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
20
|
+
*
|
|
21
|
+
* const ids = alicloud.cloudfirewall.getAddressBooks({});
|
|
22
|
+
* export const cloudFirewallAddressBookId1 = ids.then(ids => ids.books?[0]?.id);
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getAddressBooks(args, opts) {
|
|
26
|
+
args = args || {};
|
|
27
|
+
if (!opts) {
|
|
28
|
+
opts = {};
|
|
29
|
+
}
|
|
30
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
31
|
+
return pulumi.runtime.invoke("alicloud:cloudfirewall/getAddressBooks:getAddressBooks", {
|
|
32
|
+
"groupType": args.groupType,
|
|
33
|
+
"ids": args.ids,
|
|
34
|
+
"nameRegex": args.nameRegex,
|
|
35
|
+
"outputFile": args.outputFile,
|
|
36
|
+
}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getAddressBooks = getAddressBooks;
|
|
39
|
+
function getAddressBooksOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply(a => getAddressBooks(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.getAddressBooksOutput = getAddressBooksOutput;
|
|
43
|
+
//# sourceMappingURL=getAddressBooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAddressBooks.js","sourceRoot":"","sources":["../../cloudfirewall/getAddressBooks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,0CAaC;AAqCD,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|
package/cloudfirewall/index.d.ts
CHANGED