@pulumi/alicloud 3.22.0-alpha.1656363413 → 3.23.0

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.
Files changed (47) hide show
  1. package/cdn/domain.d.ts +0 -183
  2. package/cdn/domain.js +0 -78
  3. package/cdn/domain.js.map +1 -1
  4. package/cms/alarm.d.ts +4 -13
  5. package/cms/alarm.js +1 -10
  6. package/cms/alarm.js.map +1 -1
  7. package/cs/getKubernetesVersion.d.ts +56 -0
  8. package/cs/getKubernetesVersion.js +50 -0
  9. package/cs/getKubernetesVersion.js.map +1 -1
  10. package/ecs/securityGroupRule.d.ts +15 -3
  11. package/ecs/securityGroupRule.js +2 -0
  12. package/ecs/securityGroupRule.js.map +1 -1
  13. package/eds/adConnectorDirectory.d.ts +235 -0
  14. package/eds/adConnectorDirectory.js +138 -0
  15. package/eds/adConnectorDirectory.js.map +1 -0
  16. package/eds/getAdConnectorDirectories.d.ts +74 -0
  17. package/eds/getAdConnectorDirectories.js +45 -0
  18. package/eds/getAdConnectorDirectories.js.map +1 -0
  19. package/eds/getRamDirectories.d.ts +78 -0
  20. package/eds/getRamDirectories.js +49 -0
  21. package/eds/getRamDirectories.js.map +1 -0
  22. package/eds/getZones.d.ts +46 -0
  23. package/eds/getZones.js +41 -0
  24. package/eds/getZones.js.map +1 -0
  25. package/eds/index.d.ts +5 -0
  26. package/eds/index.js +13 -0
  27. package/eds/index.js.map +1 -1
  28. package/eds/ramDirectory.d.ts +144 -0
  29. package/eds/ramDirectory.js +105 -0
  30. package/eds/ramDirectory.js.map +1 -0
  31. package/package.json +2 -2
  32. package/package.json.dev +2 -2
  33. package/rds/getModifyParameterLogs.d.ts +74 -0
  34. package/rds/getModifyParameterLogs.js +45 -0
  35. package/rds/getModifyParameterLogs.js.map +1 -0
  36. package/rds/index.d.ts +1 -0
  37. package/rds/index.js +1 -0
  38. package/rds/index.js.map +1 -1
  39. package/resourcemanager/account.d.ts +3 -3
  40. package/servicemesh/index.d.ts +1 -0
  41. package/servicemesh/index.js +5 -0
  42. package/servicemesh/index.js.map +1 -1
  43. package/servicemesh/userPermission.d.ts +126 -0
  44. package/servicemesh/userPermission.js +119 -0
  45. package/servicemesh/userPermission.js.map +1 -0
  46. package/types/input.d.ts +43 -70
  47. package/types/output.d.ts +343 -72
package/cdn/domain.d.ts CHANGED
@@ -1,83 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "../types";
3
- /**
4
- * ## Example Usage
5
- *
6
- * ```typescript
7
- * import * as pulumi from "@pulumi/pulumi";
8
- * import * as alicloud from "@pulumi/alicloud";
9
- *
10
- * // Add a CDN Accelerated Domain with configs.
11
- * const domain = new alicloud.cdn.Domain("domain", {
12
- * domainName: your_cdn_domain_name,
13
- * cdnType: "web",
14
- * sourceType: "domain",
15
- * sources: [
16
- * your_cdn_domain_source1,
17
- * your_cdn_domain_source2,
18
- * ],
19
- * optimizeEnable: "off",
20
- * pageCompressEnable: "off",
21
- * rangeEnable: "off",
22
- * videoSeekEnable: "off",
23
- * blockIps: [
24
- * "1.2.3.4",
25
- * "111.222.111.111",
26
- * ],
27
- * parameterFilterConfig: {
28
- * enable: "on",
29
- * hashKeyArgs: [
30
- * "hello",
31
- * "youyouyou",
32
- * ],
33
- * },
34
- * page404Config: {
35
- * pageType: "other",
36
- * customPageUrl: `http://${your_cdn_domain_name}/notfound/`,
37
- * },
38
- * referConfig: {
39
- * referType: "block",
40
- * referLists: [
41
- * "www.xxxx.com",
42
- * "www.xxxx.cn",
43
- * ],
44
- * allowEmpty: "off",
45
- * },
46
- * authConfig: {
47
- * authType: "type_a",
48
- * masterKey: "helloworld1",
49
- * slaveKey: "helloworld2",
50
- * },
51
- * httpHeaderConfigs: [
52
- * {
53
- * headerKey: "Content-Type",
54
- * headerValue: "text/plain",
55
- * },
56
- * {
57
- * headerKey: "Access-Control-Allow-Origin",
58
- * headerValue: "*",
59
- * },
60
- * ],
61
- * cacheConfigs: [
62
- * {
63
- * cacheContent: "/hello/world",
64
- * ttl: 1000,
65
- * cacheType: "path",
66
- * },
67
- * {
68
- * cacheContent: "/hello/world/youyou",
69
- * ttl: 1000,
70
- * cacheType: "path",
71
- * },
72
- * {
73
- * cacheContent: "txt,jpg,png",
74
- * ttl: 2000,
75
- * cacheType: "suffix",
76
- * },
77
- * ],
78
- * });
79
- * ```
80
- */
81
3
  export declare class Domain extends pulumi.CustomResource {
82
4
  /**
83
5
  * Get an existing Domain resource's state with the given name, ID, and optional extra
@@ -95,8 +17,6 @@ export declare class Domain extends pulumi.CustomResource {
95
17
  */
96
18
  static isInstance(obj: any): obj is Domain;
97
19
  /**
98
- * The auth config of the accelerated domain.
99
- *
100
20
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
101
21
  */
102
22
  readonly authConfig: pulumi.Output<outputs.cdn.DomainAuthConfig | undefined>;
@@ -105,90 +25,57 @@ export declare class Domain extends pulumi.CustomResource {
105
25
  */
106
26
  readonly blockIps: pulumi.Output<string[] | undefined>;
107
27
  /**
108
- * The cache configs of the accelerated domain.
109
- *
110
28
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
111
29
  */
112
30
  readonly cacheConfigs: pulumi.Output<outputs.cdn.DomainCacheConfig[] | undefined>;
113
- /**
114
- * Cdn type of the accelerated domain. Valid values are `web`, `download`, `video`, `liveStream`.
115
- */
116
31
  readonly cdnType: pulumi.Output<string>;
117
32
  /**
118
33
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
119
34
  */
120
35
  readonly certificateConfig: pulumi.Output<outputs.cdn.DomainCertificateConfig | undefined>;
121
- /**
122
- * Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
123
- */
124
36
  readonly domainName: pulumi.Output<string>;
125
37
  /**
126
- * The http header configs of the accelerated domain.
127
- *
128
38
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
129
39
  */
130
40
  readonly httpHeaderConfigs: pulumi.Output<outputs.cdn.DomainHttpHeaderConfig[] | undefined>;
131
41
  /**
132
- * Page Optimize config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value is `on`.
133
- *
134
42
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
135
43
  */
136
44
  readonly optimizeEnable: pulumi.Output<string | undefined>;
137
45
  /**
138
- * The error page config of the accelerated domain.
139
- *
140
46
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
141
47
  */
142
48
  readonly page404Config: pulumi.Output<outputs.cdn.DomainPage404Config | undefined>;
143
49
  /**
144
- * Page Compress config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`.
145
- *
146
50
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
147
51
  */
148
52
  readonly pageCompressEnable: pulumi.Output<string | undefined>;
149
53
  /**
150
- * The parameter filter config of the accelerated domain.
151
- *
152
54
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
153
55
  */
154
56
  readonly parameterFilterConfig: pulumi.Output<outputs.cdn.DomainParameterFilterConfig | undefined>;
155
57
  /**
156
- * Range Source config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`.
157
- *
158
58
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
159
59
  */
160
60
  readonly rangeEnable: pulumi.Output<string | undefined>;
161
61
  /**
162
- * The refer config of the accelerated domain.
163
- *
164
62
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
165
63
  */
166
64
  readonly referConfig: pulumi.Output<outputs.cdn.DomainReferConfig | undefined>;
167
- /**
168
- * Scope of the accelerated domain. Valid values are `domestic`, `overseas`, `global`. Default value is `domestic`. This parameter's setting is valid Only for the international users and domestic L3 and above users .
169
- */
170
65
  readonly scope: pulumi.Output<string>;
171
66
  /**
172
- * Source port of the accelerated domain. Valid values are `80` and `443`. Default value is `80`. You must use `80` when the `sourceType` is `oss`.
173
- *
174
67
  * @deprecated Use `alicloud_cdn_domain_new` configuration `sources` block `port` argument instead.
175
68
  */
176
69
  readonly sourcePort: pulumi.Output<number | undefined>;
177
70
  /**
178
- * Source type of the accelerated domain. Valid values are `ipaddr`, `domain`, `oss`. You must set this parameter when `cdnType` value is not `liveStream`.
179
- *
180
71
  * @deprecated Use `alicloud_cdn_domain_new` configuration `sources` block `type` argument instead.
181
72
  */
182
73
  readonly sourceType: pulumi.Output<string | undefined>;
183
74
  /**
184
- * Sources of the accelerated domain. It's a list of domain names or IP address and consists of at most 20 items. You must set this parameter when `cdnType` value is not `liveStream`.
185
- *
186
75
  * @deprecated Use `alicloud_cdn_domain_new` configuration `sources` argument instead.
187
76
  */
188
77
  readonly sources: pulumi.Output<string[] | undefined>;
189
78
  /**
190
- * Video Seek config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`.
191
- *
192
79
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
193
80
  */
194
81
  readonly videoSeekEnable: pulumi.Output<string | undefined>;
@@ -206,8 +93,6 @@ export declare class Domain extends pulumi.CustomResource {
206
93
  */
207
94
  export interface DomainState {
208
95
  /**
209
- * The auth config of the accelerated domain.
210
- *
211
96
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
212
97
  */
213
98
  authConfig?: pulumi.Input<inputs.cdn.DomainAuthConfig>;
@@ -216,90 +101,57 @@ export interface DomainState {
216
101
  */
217
102
  blockIps?: pulumi.Input<pulumi.Input<string>[]>;
218
103
  /**
219
- * The cache configs of the accelerated domain.
220
- *
221
104
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
222
105
  */
223
106
  cacheConfigs?: pulumi.Input<pulumi.Input<inputs.cdn.DomainCacheConfig>[]>;
224
- /**
225
- * Cdn type of the accelerated domain. Valid values are `web`, `download`, `video`, `liveStream`.
226
- */
227
107
  cdnType?: pulumi.Input<string>;
228
108
  /**
229
109
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
230
110
  */
231
111
  certificateConfig?: pulumi.Input<inputs.cdn.DomainCertificateConfig>;
232
- /**
233
- * Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
234
- */
235
112
  domainName?: pulumi.Input<string>;
236
113
  /**
237
- * The http header configs of the accelerated domain.
238
- *
239
114
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
240
115
  */
241
116
  httpHeaderConfigs?: pulumi.Input<pulumi.Input<inputs.cdn.DomainHttpHeaderConfig>[]>;
242
117
  /**
243
- * Page Optimize config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value is `on`.
244
- *
245
118
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
246
119
  */
247
120
  optimizeEnable?: pulumi.Input<string>;
248
121
  /**
249
- * The error page config of the accelerated domain.
250
- *
251
122
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
252
123
  */
253
124
  page404Config?: pulumi.Input<inputs.cdn.DomainPage404Config>;
254
125
  /**
255
- * Page Compress config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`.
256
- *
257
126
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
258
127
  */
259
128
  pageCompressEnable?: pulumi.Input<string>;
260
129
  /**
261
- * The parameter filter config of the accelerated domain.
262
- *
263
130
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
264
131
  */
265
132
  parameterFilterConfig?: pulumi.Input<inputs.cdn.DomainParameterFilterConfig>;
266
133
  /**
267
- * Range Source config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`.
268
- *
269
134
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
270
135
  */
271
136
  rangeEnable?: pulumi.Input<string>;
272
137
  /**
273
- * The refer config of the accelerated domain.
274
- *
275
138
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
276
139
  */
277
140
  referConfig?: pulumi.Input<inputs.cdn.DomainReferConfig>;
278
- /**
279
- * Scope of the accelerated domain. Valid values are `domestic`, `overseas`, `global`. Default value is `domestic`. This parameter's setting is valid Only for the international users and domestic L3 and above users .
280
- */
281
141
  scope?: pulumi.Input<string>;
282
142
  /**
283
- * Source port of the accelerated domain. Valid values are `80` and `443`. Default value is `80`. You must use `80` when the `sourceType` is `oss`.
284
- *
285
143
  * @deprecated Use `alicloud_cdn_domain_new` configuration `sources` block `port` argument instead.
286
144
  */
287
145
  sourcePort?: pulumi.Input<number>;
288
146
  /**
289
- * Source type of the accelerated domain. Valid values are `ipaddr`, `domain`, `oss`. You must set this parameter when `cdnType` value is not `liveStream`.
290
- *
291
147
  * @deprecated Use `alicloud_cdn_domain_new` configuration `sources` block `type` argument instead.
292
148
  */
293
149
  sourceType?: pulumi.Input<string>;
294
150
  /**
295
- * Sources of the accelerated domain. It's a list of domain names or IP address and consists of at most 20 items. You must set this parameter when `cdnType` value is not `liveStream`.
296
- *
297
151
  * @deprecated Use `alicloud_cdn_domain_new` configuration `sources` argument instead.
298
152
  */
299
153
  sources?: pulumi.Input<pulumi.Input<string>[]>;
300
154
  /**
301
- * Video Seek config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`.
302
- *
303
155
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
304
156
  */
305
157
  videoSeekEnable?: pulumi.Input<string>;
@@ -309,8 +161,6 @@ export interface DomainState {
309
161
  */
310
162
  export interface DomainArgs {
311
163
  /**
312
- * The auth config of the accelerated domain.
313
- *
314
164
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
315
165
  */
316
166
  authConfig?: pulumi.Input<inputs.cdn.DomainAuthConfig>;
@@ -319,90 +169,57 @@ export interface DomainArgs {
319
169
  */
320
170
  blockIps?: pulumi.Input<pulumi.Input<string>[]>;
321
171
  /**
322
- * The cache configs of the accelerated domain.
323
- *
324
172
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
325
173
  */
326
174
  cacheConfigs?: pulumi.Input<pulumi.Input<inputs.cdn.DomainCacheConfig>[]>;
327
- /**
328
- * Cdn type of the accelerated domain. Valid values are `web`, `download`, `video`, `liveStream`.
329
- */
330
175
  cdnType: pulumi.Input<string>;
331
176
  /**
332
177
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
333
178
  */
334
179
  certificateConfig?: pulumi.Input<inputs.cdn.DomainCertificateConfig>;
335
- /**
336
- * Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
337
- */
338
180
  domainName: pulumi.Input<string>;
339
181
  /**
340
- * The http header configs of the accelerated domain.
341
- *
342
182
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
343
183
  */
344
184
  httpHeaderConfigs?: pulumi.Input<pulumi.Input<inputs.cdn.DomainHttpHeaderConfig>[]>;
345
185
  /**
346
- * Page Optimize config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`. It can effectively remove the page redundant content, reduce the file size and improve the speed of distribution when this parameter value is `on`.
347
- *
348
186
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
349
187
  */
350
188
  optimizeEnable?: pulumi.Input<string>;
351
189
  /**
352
- * The error page config of the accelerated domain.
353
- *
354
190
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
355
191
  */
356
192
  page404Config?: pulumi.Input<inputs.cdn.DomainPage404Config>;
357
193
  /**
358
- * Page Compress config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`.
359
- *
360
194
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
361
195
  */
362
196
  pageCompressEnable?: pulumi.Input<string>;
363
197
  /**
364
- * The parameter filter config of the accelerated domain.
365
- *
366
198
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
367
199
  */
368
200
  parameterFilterConfig?: pulumi.Input<inputs.cdn.DomainParameterFilterConfig>;
369
201
  /**
370
- * Range Source config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`.
371
- *
372
202
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
373
203
  */
374
204
  rangeEnable?: pulumi.Input<string>;
375
205
  /**
376
- * The refer config of the accelerated domain.
377
- *
378
206
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
379
207
  */
380
208
  referConfig?: pulumi.Input<inputs.cdn.DomainReferConfig>;
381
- /**
382
- * Scope of the accelerated domain. Valid values are `domestic`, `overseas`, `global`. Default value is `domestic`. This parameter's setting is valid Only for the international users and domestic L3 and above users .
383
- */
384
209
  scope?: pulumi.Input<string>;
385
210
  /**
386
- * Source port of the accelerated domain. Valid values are `80` and `443`. Default value is `80`. You must use `80` when the `sourceType` is `oss`.
387
- *
388
211
  * @deprecated Use `alicloud_cdn_domain_new` configuration `sources` block `port` argument instead.
389
212
  */
390
213
  sourcePort?: pulumi.Input<number>;
391
214
  /**
392
- * Source type of the accelerated domain. Valid values are `ipaddr`, `domain`, `oss`. You must set this parameter when `cdnType` value is not `liveStream`.
393
- *
394
215
  * @deprecated Use `alicloud_cdn_domain_new` configuration `sources` block `type` argument instead.
395
216
  */
396
217
  sourceType?: pulumi.Input<string>;
397
218
  /**
398
- * Sources of the accelerated domain. It's a list of domain names or IP address and consists of at most 20 items. You must set this parameter when `cdnType` value is not `liveStream`.
399
- *
400
219
  * @deprecated Use `alicloud_cdn_domain_new` configuration `sources` argument instead.
401
220
  */
402
221
  sources?: pulumi.Input<pulumi.Input<string>[]>;
403
222
  /**
404
- * Video Seek config of the accelerated domain. Valid values are `on` and `off`. Default value is `off`.
405
- *
406
223
  * @deprecated Use `alicloud_cdn_domain_config` configuration `function_name` and `function_args` arguments instead.
407
224
  */
408
225
  videoSeekEnable?: pulumi.Input<string>;
package/cdn/domain.js CHANGED
@@ -5,84 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Domain = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
- /**
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as alicloud from "@pulumi/alicloud";
14
- *
15
- * // Add a CDN Accelerated Domain with configs.
16
- * const domain = new alicloud.cdn.Domain("domain", {
17
- * domainName: your_cdn_domain_name,
18
- * cdnType: "web",
19
- * sourceType: "domain",
20
- * sources: [
21
- * your_cdn_domain_source1,
22
- * your_cdn_domain_source2,
23
- * ],
24
- * optimizeEnable: "off",
25
- * pageCompressEnable: "off",
26
- * rangeEnable: "off",
27
- * videoSeekEnable: "off",
28
- * blockIps: [
29
- * "1.2.3.4",
30
- * "111.222.111.111",
31
- * ],
32
- * parameterFilterConfig: {
33
- * enable: "on",
34
- * hashKeyArgs: [
35
- * "hello",
36
- * "youyouyou",
37
- * ],
38
- * },
39
- * page404Config: {
40
- * pageType: "other",
41
- * customPageUrl: `http://${your_cdn_domain_name}/notfound/`,
42
- * },
43
- * referConfig: {
44
- * referType: "block",
45
- * referLists: [
46
- * "www.xxxx.com",
47
- * "www.xxxx.cn",
48
- * ],
49
- * allowEmpty: "off",
50
- * },
51
- * authConfig: {
52
- * authType: "type_a",
53
- * masterKey: "helloworld1",
54
- * slaveKey: "helloworld2",
55
- * },
56
- * httpHeaderConfigs: [
57
- * {
58
- * headerKey: "Content-Type",
59
- * headerValue: "text/plain",
60
- * },
61
- * {
62
- * headerKey: "Access-Control-Allow-Origin",
63
- * headerValue: "*",
64
- * },
65
- * ],
66
- * cacheConfigs: [
67
- * {
68
- * cacheContent: "/hello/world",
69
- * ttl: 1000,
70
- * cacheType: "path",
71
- * },
72
- * {
73
- * cacheContent: "/hello/world/youyou",
74
- * ttl: 1000,
75
- * cacheType: "path",
76
- * },
77
- * {
78
- * cacheContent: "txt,jpg,png",
79
- * ttl: 2000,
80
- * cacheType: "suffix",
81
- * },
82
- * ],
83
- * });
84
- * ```
85
- */
86
8
  class Domain extends pulumi.CustomResource {
87
9
  constructor(name, argsOrState, opts) {
88
10
  let resourceInputs = {};
package/cdn/domain.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"domain.js","sourceRoot":"","sources":["../../cdn/domain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAuI7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,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M,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAyJC;AA3IG,gBAAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
package/cms/alarm.d.ts CHANGED
@@ -21,16 +21,7 @@ import { input as inputs, output as outputs } from "../types";
21
21
  * threshold: "35",
22
22
  * times: 2,
23
23
  * },
24
- * metricDimensions: [
25
- * {
26
- * key: "instanceId",
27
- * value: "i-bp1247jeep0y53nu3bnk",
28
- * },
29
- * {
30
- * key: "device",
31
- * value: "/dev/vda1",
32
- * },
33
- * ],
24
+ * metricDimensions: "[{\"instanceId\":\"i-bp1247jeep0y53nu3bnk\",\"device\":\"/dev/vda1\"},{\"instanceId\":\"i-bp11gdcik8z6dl5jm84p\",\"device\":\"/dev/vdb1\"}]",
34
25
  * period: 900,
35
26
  * project: "acs_ecs_dashboard",
36
27
  * webhook: pulumi.interpolate`https://${alicloud_account_current.id}.eu-central-1.fc.aliyuncs.com/2016-08-15/proxy/Terraform/AlarmEndpointMock/`,
@@ -106,7 +97,7 @@ export declare class Alarm extends pulumi.CustomResource {
106
97
  /**
107
98
  * Map of the resources associated with the alarm rule, such as "instanceId", "device" and "port". Each key's value is a string, and it uses comma to split multiple items. For more information, see [Metrics Reference](https://www.alibabacloud.com/help/doc-detail/28619.htm).
108
99
  */
109
- readonly metricDimensions: pulumi.Output<outputs.cms.AlarmMetricDimension[]>;
100
+ readonly metricDimensions: pulumi.Output<string>;
110
101
  /**
111
102
  * The alarm rule name.
112
103
  */
@@ -219,7 +210,7 @@ export interface AlarmState {
219
210
  /**
220
211
  * Map of the resources associated with the alarm rule, such as "instanceId", "device" and "port". Each key's value is a string, and it uses comma to split multiple items. For more information, see [Metrics Reference](https://www.alibabacloud.com/help/doc-detail/28619.htm).
221
212
  */
222
- metricDimensions?: pulumi.Input<pulumi.Input<inputs.cms.AlarmMetricDimension>[]>;
213
+ metricDimensions?: pulumi.Input<string>;
223
214
  /**
224
215
  * The alarm rule name.
225
216
  */
@@ -324,7 +315,7 @@ export interface AlarmArgs {
324
315
  /**
325
316
  * Map of the resources associated with the alarm rule, such as "instanceId", "device" and "port". Each key's value is a string, and it uses comma to split multiple items. For more information, see [Metrics Reference](https://www.alibabacloud.com/help/doc-detail/28619.htm).
326
317
  */
327
- metricDimensions?: pulumi.Input<pulumi.Input<inputs.cms.AlarmMetricDimension>[]>;
318
+ metricDimensions?: pulumi.Input<string>;
328
319
  /**
329
320
  * The alarm rule name.
330
321
  */
package/cms/alarm.js CHANGED
@@ -26,16 +26,7 @@ const utilities = require("../utilities");
26
26
  * threshold: "35",
27
27
  * times: 2,
28
28
  * },
29
- * metricDimensions: [
30
- * {
31
- * key: "instanceId",
32
- * value: "i-bp1247jeep0y53nu3bnk",
33
- * },
34
- * {
35
- * key: "device",
36
- * value: "/dev/vda1",
37
- * },
38
- * ],
29
+ * metricDimensions: "[{\"instanceId\":\"i-bp1247jeep0y53nu3bnk\",\"device\":\"/dev/vda1\"},{\"instanceId\":\"i-bp11gdcik8z6dl5jm84p\",\"device\":\"/dev/vdb1\"}]",
39
30
  * period: 900,
40
31
  * project: "acs_ecs_dashboard",
41
32
  * webhook: pulumi.interpolate`https://${alicloud_account_current.id}.eu-central-1.fc.aliyuncs.com/2016-08-15/proxy/Terraform/AlarmEndpointMock/`,
package/cms/alarm.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"alarm.js","sourceRoot":"","sources":["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G,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBAqMC;AAvLG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
@@ -4,6 +4,56 @@ import { output as outputs } from "../types";
4
4
  * This data source provides the details of the Kubernetes version supported by ACK.
5
5
  *
6
6
  * > **NOTE:** Available in 1.170.0+.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as alicloud from "@pulumi/alicloud";
13
+ *
14
+ * const default = alicloud.cs.getKubernetesVersion({
15
+ * clusterType: "ManagedKubernetes",
16
+ * kubernetesVersion: "1.22.3-aliyun.1",
17
+ * profile: "Default",
18
+ * });
19
+ * export const metadata = _default.then(_default => _default.metadatas);
20
+ * ```
21
+ *
22
+ * ```typescript
23
+ * import * as pulumi from "@pulumi/pulumi";
24
+ * import * as alicloud from "@pulumi/alicloud";
25
+ *
26
+ * const default = alicloud.cs.getKubernetesVersion({
27
+ * clusterType: "Kubernetes",
28
+ * kubernetesVersion: "1.22.3-aliyun.1",
29
+ * profile: "Default",
30
+ * });
31
+ * export const metadata = _default.then(_default => _default.metadatas);
32
+ * ```
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as alicloud from "@pulumi/alicloud";
37
+ *
38
+ * const default = alicloud.cs.getKubernetesVersion({
39
+ * clusterType: "ManagedKubernetes",
40
+ * kubernetesVersion: "1.22.3-aliyun.1",
41
+ * profile: "Serverless",
42
+ * });
43
+ * export const metadata = _default.then(_default => _default.metadatas);
44
+ * ```
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as alicloud from "@pulumi/alicloud";
49
+ *
50
+ * const default = alicloud.cs.getKubernetesVersion({
51
+ * clusterType: "ManagedKubernetes",
52
+ * kubernetesVersion: "1.20.11-aliyunedge.1",
53
+ * profile: "Edge",
54
+ * });
55
+ * export const metadata = _default.then(_default => _default.metadatas);
56
+ * ```
7
57
  */
8
58
  export declare function getKubernetesVersion(args: GetKubernetesVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetKubernetesVersionResult>;
9
59
  /**
@@ -14,6 +64,9 @@ export interface GetKubernetesVersionArgs {
14
64
  * The type of cluster. Its valid value are `Kubernetes` and `ManagedKubernetes`.
15
65
  */
16
66
  clusterType: string;
67
+ /**
68
+ * The ACK released kubernetes version.
69
+ */
17
70
  kubernetesVersion?: string;
18
71
  /**
19
72
  * The profile of cluster. Its valid value are `Default`, `Serverless` and `Edge`.
@@ -45,6 +98,9 @@ export interface GetKubernetesVersionOutputArgs {
45
98
  * The type of cluster. Its valid value are `Kubernetes` and `ManagedKubernetes`.
46
99
  */
47
100
  clusterType: pulumi.Input<string>;
101
+ /**
102
+ * The ACK released kubernetes version.
103
+ */
48
104
  kubernetesVersion?: pulumi.Input<string>;
49
105
  /**
50
106
  * The profile of cluster. Its valid value are `Default`, `Serverless` and `Edge`.