pulumi-alicloud 3.63.1__py3-none-any.whl → 3.64.0__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +16 -0
- pulumi_alicloud/amqp/instance.py +8 -8
- pulumi_alicloud/bss/get_open_api_pricing_modules.py +4 -4
- pulumi_alicloud/bss/get_open_api_products.py +4 -4
- pulumi_alicloud/cas/get_certificates.py +17 -1
- pulumi_alicloud/cas/get_service_certificates.py +153 -17
- pulumi_alicloud/cas/outputs.py +40 -36
- pulumi_alicloud/cen/instance.py +108 -53
- pulumi_alicloud/cloudfirewall/control_policy.py +524 -23
- pulumi_alicloud/cloudfirewall/instance.py +64 -36
- pulumi_alicloud/cs/_inputs.py +390 -26
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +2 -0
- pulumi_alicloud/cs/kubernetes.py +48 -35
- pulumi_alicloud/cs/managed_kubernetes.py +91 -35
- pulumi_alicloud/cs/node_pool.py +68 -14
- pulumi_alicloud/cs/outputs.py +293 -16
- pulumi_alicloud/cs/serverless_kubernetes.py +157 -63
- pulumi_alicloud/databasefilesystem/_inputs.py +0 -6
- pulumi_alicloud/databasefilesystem/instance.py +31 -0
- pulumi_alicloud/databasefilesystem/outputs.py +0 -4
- pulumi_alicloud/dns/get_alidns_records.py +26 -4
- pulumi_alicloud/dns/outputs.py +2 -2
- pulumi_alicloud/eais/instance.py +55 -57
- pulumi_alicloud/ecp/instance.py +177 -219
- pulumi_alicloud/ecs/disk.py +2 -2
- pulumi_alicloud/ecs/ecs_disk.py +142 -58
- pulumi_alicloud/ecs/ecs_key_pair.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +169 -0
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +172 -6
- pulumi_alicloud/ecs/instance.py +131 -98
- pulumi_alicloud/ecs/key_pair.py +1 -1
- pulumi_alicloud/ecs/launch_template.py +102 -0
- pulumi_alicloud/ecs/outputs.py +57 -24
- pulumi_alicloud/ens/disk.py +2 -2
- pulumi_alicloud/ens/disk_instance_attachment.py +2 -2
- pulumi_alicloud/ess/_inputs.py +342 -2
- pulumi_alicloud/ess/eci_scaling_configuration.py +202 -0
- pulumi_alicloud/ess/outputs.py +226 -2
- pulumi_alicloud/ess/scaling_configuration.py +376 -0
- pulumi_alicloud/ga/_inputs.py +57 -22
- pulumi_alicloud/ga/outputs.py +39 -15
- pulumi_alicloud/gpdb/__init__.py +1 -0
- pulumi_alicloud/gpdb/database.py +545 -0
- pulumi_alicloud/gpdb/instance.py +1 -1
- pulumi_alicloud/kvstore/instance.py +24 -5
- pulumi_alicloud/mse/cluster.py +149 -51
- pulumi_alicloud/mse/engine_namespace.py +176 -74
- pulumi_alicloud/mse/get_clusters.py +70 -10
- pulumi_alicloud/mse/get_engine_namespaces.py +93 -15
- pulumi_alicloud/mse/outputs.py +36 -8
- pulumi_alicloud/nas/data_flow.py +6 -6
- pulumi_alicloud/nas/fileset.py +6 -6
- pulumi_alicloud/nas/lifecycle_policy.py +6 -6
- pulumi_alicloud/nas/recycle_bin.py +6 -6
- pulumi_alicloud/nas/snapshot.py +6 -6
- pulumi_alicloud/polardb/cluster.py +162 -0
- pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +51 -7
- pulumi_alicloud/privatelink/outputs.py +17 -6
- pulumi_alicloud/privatelink/vpc_endpoint_service_user.py +54 -17
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +7 -21
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +50 -3
- pulumi_alicloud/resourcemanager/get_folders.py +35 -28
- pulumi_alicloud/resourcemanager/outputs.py +8 -8
- pulumi_alicloud/servicemesh/_inputs.py +656 -174
- pulumi_alicloud/servicemesh/outputs.py +507 -117
- pulumi_alicloud/servicemesh/service_mesh.py +120 -78
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +307 -0
- pulumi_alicloud/sls/collection_policy.py +561 -0
- pulumi_alicloud/sls/outputs.py +263 -0
- pulumi_alicloud/threatdetection/instance.py +331 -43
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/RECORD +76 -74
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/top_level.txt +0 -0
pulumi_alicloud/cas/outputs.py
CHANGED
|
@@ -165,7 +165,7 @@ class GetCertificatesCertificateResult(dict):
|
|
|
165
165
|
|
|
166
166
|
@property
|
|
167
167
|
@pulumi.getter
|
|
168
|
-
@_utilities.deprecated("""Field
|
|
168
|
+
@_utilities.deprecated("""Field `name` has been deprecated from provider version 1.129.0. New field `certificate_name` instead.""")
|
|
169
169
|
def name(self) -> str:
|
|
170
170
|
"""
|
|
171
171
|
The cert's name.
|
|
@@ -227,23 +227,24 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
227
227
|
sans: str,
|
|
228
228
|
start_date: str):
|
|
229
229
|
"""
|
|
230
|
-
:param bool buy_in_aliyun:
|
|
231
|
-
:param str cert: The cert
|
|
232
|
-
:param str cert_id: The
|
|
233
|
-
:param str certificate_name: The
|
|
234
|
-
:param str city: The
|
|
235
|
-
:param str common: The
|
|
236
|
-
:param str country: The
|
|
237
|
-
:param str end_date: The
|
|
238
|
-
:param bool expired:
|
|
239
|
-
:param str fingerprint: The
|
|
240
|
-
:param str id: The
|
|
241
|
-
:param str issuer: The
|
|
242
|
-
:param str key: The
|
|
243
|
-
:param str
|
|
244
|
-
:param str
|
|
245
|
-
:param str
|
|
246
|
-
:param str
|
|
230
|
+
:param bool buy_in_aliyun: Whether the certificate was purchased from Aliyun. **Note:** From version 1.232.0, `buy_in_aliyun` takes effect only if `enable_details` is set to `true`.
|
|
231
|
+
:param str cert: The Cert of the certificate. **Note:** `cert` takes effect only if `enable_details` is set to `true`.
|
|
232
|
+
:param str cert_id: The ID of the certificate.
|
|
233
|
+
:param str certificate_name: The name of the certificate.
|
|
234
|
+
:param str city: The city in which the organization is located.
|
|
235
|
+
:param str common: The parent domain name of the certificate.
|
|
236
|
+
:param str country: The code of the country in which the organization is located.
|
|
237
|
+
:param str end_date: The time at which the certificate expires.
|
|
238
|
+
:param bool expired: Whether the certificate has expired.
|
|
239
|
+
:param str fingerprint: The fingerprint of the certificate.
|
|
240
|
+
:param str id: The ID of the Ssl Certificates Service Certificate.
|
|
241
|
+
:param str issuer: The issuer of the certificate.
|
|
242
|
+
:param str key: The Key of the certificate. **Note:** `key` takes effect only if `enable_details` is set to `true`.
|
|
243
|
+
:param str name: (Deprecated since v1.129.0) The name of the certificate. **Note:** Field `name` has been deprecated from provider version 1.129.0. New field `certificate_name` instead.
|
|
244
|
+
:param str org_name: The name of the organization that is associated with the certificate.
|
|
245
|
+
:param str province: The province or autonomous region in which the organization is located.
|
|
246
|
+
:param str sans: All domain names that are bound to the certificate.
|
|
247
|
+
:param str start_date: The time at which the certificate starts to take effect.
|
|
247
248
|
"""
|
|
248
249
|
pulumi.set(__self__, "buy_in_aliyun", buy_in_aliyun)
|
|
249
250
|
pulumi.set(__self__, "cert", cert)
|
|
@@ -268,7 +269,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
268
269
|
@pulumi.getter(name="buyInAliyun")
|
|
269
270
|
def buy_in_aliyun(self) -> bool:
|
|
270
271
|
"""
|
|
271
|
-
|
|
272
|
+
Whether the certificate was purchased from Aliyun. **Note:** From version 1.232.0, `buy_in_aliyun` takes effect only if `enable_details` is set to `true`.
|
|
272
273
|
"""
|
|
273
274
|
return pulumi.get(self, "buy_in_aliyun")
|
|
274
275
|
|
|
@@ -276,7 +277,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
276
277
|
@pulumi.getter
|
|
277
278
|
def cert(self) -> str:
|
|
278
279
|
"""
|
|
279
|
-
The cert
|
|
280
|
+
The Cert of the certificate. **Note:** `cert` takes effect only if `enable_details` is set to `true`.
|
|
280
281
|
"""
|
|
281
282
|
return pulumi.get(self, "cert")
|
|
282
283
|
|
|
@@ -284,7 +285,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
284
285
|
@pulumi.getter(name="certId")
|
|
285
286
|
def cert_id(self) -> str:
|
|
286
287
|
"""
|
|
287
|
-
The
|
|
288
|
+
The ID of the certificate.
|
|
288
289
|
"""
|
|
289
290
|
return pulumi.get(self, "cert_id")
|
|
290
291
|
|
|
@@ -292,7 +293,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
292
293
|
@pulumi.getter(name="certificateName")
|
|
293
294
|
def certificate_name(self) -> str:
|
|
294
295
|
"""
|
|
295
|
-
The
|
|
296
|
+
The name of the certificate.
|
|
296
297
|
"""
|
|
297
298
|
return pulumi.get(self, "certificate_name")
|
|
298
299
|
|
|
@@ -300,7 +301,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
300
301
|
@pulumi.getter
|
|
301
302
|
def city(self) -> str:
|
|
302
303
|
"""
|
|
303
|
-
The
|
|
304
|
+
The city in which the organization is located.
|
|
304
305
|
"""
|
|
305
306
|
return pulumi.get(self, "city")
|
|
306
307
|
|
|
@@ -308,7 +309,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
308
309
|
@pulumi.getter
|
|
309
310
|
def common(self) -> str:
|
|
310
311
|
"""
|
|
311
|
-
The
|
|
312
|
+
The parent domain name of the certificate.
|
|
312
313
|
"""
|
|
313
314
|
return pulumi.get(self, "common")
|
|
314
315
|
|
|
@@ -316,7 +317,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
316
317
|
@pulumi.getter
|
|
317
318
|
def country(self) -> str:
|
|
318
319
|
"""
|
|
319
|
-
The
|
|
320
|
+
The code of the country in which the organization is located.
|
|
320
321
|
"""
|
|
321
322
|
return pulumi.get(self, "country")
|
|
322
323
|
|
|
@@ -324,7 +325,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
324
325
|
@pulumi.getter(name="endDate")
|
|
325
326
|
def end_date(self) -> str:
|
|
326
327
|
"""
|
|
327
|
-
The
|
|
328
|
+
The time at which the certificate expires.
|
|
328
329
|
"""
|
|
329
330
|
return pulumi.get(self, "end_date")
|
|
330
331
|
|
|
@@ -332,7 +333,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
332
333
|
@pulumi.getter
|
|
333
334
|
def expired(self) -> bool:
|
|
334
335
|
"""
|
|
335
|
-
|
|
336
|
+
Whether the certificate has expired.
|
|
336
337
|
"""
|
|
337
338
|
return pulumi.get(self, "expired")
|
|
338
339
|
|
|
@@ -340,7 +341,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
340
341
|
@pulumi.getter
|
|
341
342
|
def fingerprint(self) -> str:
|
|
342
343
|
"""
|
|
343
|
-
The
|
|
344
|
+
The fingerprint of the certificate.
|
|
344
345
|
"""
|
|
345
346
|
return pulumi.get(self, "fingerprint")
|
|
346
347
|
|
|
@@ -348,7 +349,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
348
349
|
@pulumi.getter
|
|
349
350
|
def id(self) -> str:
|
|
350
351
|
"""
|
|
351
|
-
The
|
|
352
|
+
The ID of the Ssl Certificates Service Certificate.
|
|
352
353
|
"""
|
|
353
354
|
return pulumi.get(self, "id")
|
|
354
355
|
|
|
@@ -356,7 +357,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
356
357
|
@pulumi.getter
|
|
357
358
|
def issuer(self) -> str:
|
|
358
359
|
"""
|
|
359
|
-
The
|
|
360
|
+
The issuer of the certificate.
|
|
360
361
|
"""
|
|
361
362
|
return pulumi.get(self, "issuer")
|
|
362
363
|
|
|
@@ -364,21 +365,24 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
364
365
|
@pulumi.getter
|
|
365
366
|
def key(self) -> str:
|
|
366
367
|
"""
|
|
367
|
-
The
|
|
368
|
+
The Key of the certificate. **Note:** `key` takes effect only if `enable_details` is set to `true`.
|
|
368
369
|
"""
|
|
369
370
|
return pulumi.get(self, "key")
|
|
370
371
|
|
|
371
372
|
@property
|
|
372
373
|
@pulumi.getter
|
|
373
|
-
@_utilities.deprecated("""Field
|
|
374
|
+
@_utilities.deprecated("""Field `name` has been deprecated from provider version 1.129.0. New field `certificate_name` instead.""")
|
|
374
375
|
def name(self) -> str:
|
|
376
|
+
"""
|
|
377
|
+
(Deprecated since v1.129.0) The name of the certificate. **Note:** Field `name` has been deprecated from provider version 1.129.0. New field `certificate_name` instead.
|
|
378
|
+
"""
|
|
375
379
|
return pulumi.get(self, "name")
|
|
376
380
|
|
|
377
381
|
@property
|
|
378
382
|
@pulumi.getter(name="orgName")
|
|
379
383
|
def org_name(self) -> str:
|
|
380
384
|
"""
|
|
381
|
-
The
|
|
385
|
+
The name of the organization that is associated with the certificate.
|
|
382
386
|
"""
|
|
383
387
|
return pulumi.get(self, "org_name")
|
|
384
388
|
|
|
@@ -386,7 +390,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
386
390
|
@pulumi.getter
|
|
387
391
|
def province(self) -> str:
|
|
388
392
|
"""
|
|
389
|
-
The
|
|
393
|
+
The province or autonomous region in which the organization is located.
|
|
390
394
|
"""
|
|
391
395
|
return pulumi.get(self, "province")
|
|
392
396
|
|
|
@@ -394,7 +398,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
394
398
|
@pulumi.getter
|
|
395
399
|
def sans(self) -> str:
|
|
396
400
|
"""
|
|
397
|
-
|
|
401
|
+
All domain names that are bound to the certificate.
|
|
398
402
|
"""
|
|
399
403
|
return pulumi.get(self, "sans")
|
|
400
404
|
|
|
@@ -402,7 +406,7 @@ class GetServiceCertificatesCertificateResult(dict):
|
|
|
402
406
|
@pulumi.getter(name="startDate")
|
|
403
407
|
def start_date(self) -> str:
|
|
404
408
|
"""
|
|
405
|
-
The
|
|
409
|
+
The time at which the certificate starts to take effect.
|
|
406
410
|
"""
|
|
407
411
|
return pulumi.get(self, "start_date")
|
|
408
412
|
|
pulumi_alicloud/cen/instance.py
CHANGED
|
@@ -23,13 +23,15 @@ class InstanceArgs:
|
|
|
23
23
|
description: Optional[pulumi.Input[str]] = None,
|
|
24
24
|
name: Optional[pulumi.Input[str]] = None,
|
|
25
25
|
protection_level: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
26
27
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
27
28
|
"""
|
|
28
29
|
The set of arguments for constructing a Instance resource.
|
|
29
|
-
:param pulumi.Input[str] cen_instance_name: The name of the CEN
|
|
30
|
-
:param pulumi.Input[str] description: The description of the CEN
|
|
31
|
-
:param pulumi.Input[str] name: Field `name` has been deprecated from version 1.98.0.
|
|
32
|
-
:param pulumi.Input[str] protection_level:
|
|
30
|
+
:param pulumi.Input[str] cen_instance_name: The name of the CEN Instance. The name can be empty or `1` to `128` characters in length and cannot start with `http://` or `https://`.
|
|
31
|
+
:param pulumi.Input[str] description: The description of the CEN Instance. The description can be empty or `1` to `256` characters in length and cannot start with `http://` or `https://`.
|
|
32
|
+
:param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.
|
|
33
|
+
:param pulumi.Input[str] protection_level: The level of CIDR block overlapping. Default value: `REDUCE`.
|
|
34
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
33
35
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
34
36
|
"""
|
|
35
37
|
if cen_instance_name is not None:
|
|
@@ -37,12 +39,14 @@ class InstanceArgs:
|
|
|
37
39
|
if description is not None:
|
|
38
40
|
pulumi.set(__self__, "description", description)
|
|
39
41
|
if name is not None:
|
|
40
|
-
warnings.warn("""
|
|
41
|
-
pulumi.log.warn("""name is deprecated:
|
|
42
|
+
warnings.warn("""Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.""", DeprecationWarning)
|
|
43
|
+
pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.""")
|
|
42
44
|
if name is not None:
|
|
43
45
|
pulumi.set(__self__, "name", name)
|
|
44
46
|
if protection_level is not None:
|
|
45
47
|
pulumi.set(__self__, "protection_level", protection_level)
|
|
48
|
+
if resource_group_id is not None:
|
|
49
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
46
50
|
if tags is not None:
|
|
47
51
|
pulumi.set(__self__, "tags", tags)
|
|
48
52
|
|
|
@@ -50,7 +54,7 @@ class InstanceArgs:
|
|
|
50
54
|
@pulumi.getter(name="cenInstanceName")
|
|
51
55
|
def cen_instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
52
56
|
"""
|
|
53
|
-
The name of the CEN
|
|
57
|
+
The name of the CEN Instance. The name can be empty or `1` to `128` characters in length and cannot start with `http://` or `https://`.
|
|
54
58
|
"""
|
|
55
59
|
return pulumi.get(self, "cen_instance_name")
|
|
56
60
|
|
|
@@ -62,7 +66,7 @@ class InstanceArgs:
|
|
|
62
66
|
@pulumi.getter
|
|
63
67
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
64
68
|
"""
|
|
65
|
-
The description of the CEN
|
|
69
|
+
The description of the CEN Instance. The description can be empty or `1` to `256` characters in length and cannot start with `http://` or `https://`.
|
|
66
70
|
"""
|
|
67
71
|
return pulumi.get(self, "description")
|
|
68
72
|
|
|
@@ -72,10 +76,10 @@ class InstanceArgs:
|
|
|
72
76
|
|
|
73
77
|
@property
|
|
74
78
|
@pulumi.getter
|
|
75
|
-
@_utilities.deprecated("""
|
|
79
|
+
@_utilities.deprecated("""Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.""")
|
|
76
80
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
77
81
|
"""
|
|
78
|
-
Field `name` has been deprecated from version 1.98.0.
|
|
82
|
+
Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.
|
|
79
83
|
"""
|
|
80
84
|
return pulumi.get(self, "name")
|
|
81
85
|
|
|
@@ -87,7 +91,7 @@ class InstanceArgs:
|
|
|
87
91
|
@pulumi.getter(name="protectionLevel")
|
|
88
92
|
def protection_level(self) -> Optional[pulumi.Input[str]]:
|
|
89
93
|
"""
|
|
90
|
-
|
|
94
|
+
The level of CIDR block overlapping. Default value: `REDUCE`.
|
|
91
95
|
"""
|
|
92
96
|
return pulumi.get(self, "protection_level")
|
|
93
97
|
|
|
@@ -95,6 +99,18 @@ class InstanceArgs:
|
|
|
95
99
|
def protection_level(self, value: Optional[pulumi.Input[str]]):
|
|
96
100
|
pulumi.set(self, "protection_level", value)
|
|
97
101
|
|
|
102
|
+
@property
|
|
103
|
+
@pulumi.getter(name="resourceGroupId")
|
|
104
|
+
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
105
|
+
"""
|
|
106
|
+
The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "resource_group_id")
|
|
109
|
+
|
|
110
|
+
@resource_group_id.setter
|
|
111
|
+
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
112
|
+
pulumi.set(self, "resource_group_id", value)
|
|
113
|
+
|
|
98
114
|
@property
|
|
99
115
|
@pulumi.getter
|
|
100
116
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
@@ -115,15 +131,17 @@ class _InstanceState:
|
|
|
115
131
|
description: Optional[pulumi.Input[str]] = None,
|
|
116
132
|
name: Optional[pulumi.Input[str]] = None,
|
|
117
133
|
protection_level: Optional[pulumi.Input[str]] = None,
|
|
134
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
118
135
|
status: Optional[pulumi.Input[str]] = None,
|
|
119
136
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
120
137
|
"""
|
|
121
138
|
Input properties used for looking up and filtering Instance resources.
|
|
122
|
-
:param pulumi.Input[str] cen_instance_name: The name of the CEN
|
|
123
|
-
:param pulumi.Input[str] description: The description of the CEN
|
|
124
|
-
:param pulumi.Input[str] name: Field `name` has been deprecated from version 1.98.0.
|
|
125
|
-
:param pulumi.Input[str] protection_level:
|
|
126
|
-
:param pulumi.Input[str]
|
|
139
|
+
:param pulumi.Input[str] cen_instance_name: The name of the CEN Instance. The name can be empty or `1` to `128` characters in length and cannot start with `http://` or `https://`.
|
|
140
|
+
:param pulumi.Input[str] description: The description of the CEN Instance. The description can be empty or `1` to `256` characters in length and cannot start with `http://` or `https://`.
|
|
141
|
+
:param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.
|
|
142
|
+
:param pulumi.Input[str] protection_level: The level of CIDR block overlapping. Default value: `REDUCE`.
|
|
143
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
144
|
+
:param pulumi.Input[str] status: The status of the Instance.
|
|
127
145
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
128
146
|
"""
|
|
129
147
|
if cen_instance_name is not None:
|
|
@@ -131,12 +149,14 @@ class _InstanceState:
|
|
|
131
149
|
if description is not None:
|
|
132
150
|
pulumi.set(__self__, "description", description)
|
|
133
151
|
if name is not None:
|
|
134
|
-
warnings.warn("""
|
|
135
|
-
pulumi.log.warn("""name is deprecated:
|
|
152
|
+
warnings.warn("""Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.""", DeprecationWarning)
|
|
153
|
+
pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.""")
|
|
136
154
|
if name is not None:
|
|
137
155
|
pulumi.set(__self__, "name", name)
|
|
138
156
|
if protection_level is not None:
|
|
139
157
|
pulumi.set(__self__, "protection_level", protection_level)
|
|
158
|
+
if resource_group_id is not None:
|
|
159
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
140
160
|
if status is not None:
|
|
141
161
|
pulumi.set(__self__, "status", status)
|
|
142
162
|
if tags is not None:
|
|
@@ -146,7 +166,7 @@ class _InstanceState:
|
|
|
146
166
|
@pulumi.getter(name="cenInstanceName")
|
|
147
167
|
def cen_instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
148
168
|
"""
|
|
149
|
-
The name of the CEN
|
|
169
|
+
The name of the CEN Instance. The name can be empty or `1` to `128` characters in length and cannot start with `http://` or `https://`.
|
|
150
170
|
"""
|
|
151
171
|
return pulumi.get(self, "cen_instance_name")
|
|
152
172
|
|
|
@@ -158,7 +178,7 @@ class _InstanceState:
|
|
|
158
178
|
@pulumi.getter
|
|
159
179
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
160
180
|
"""
|
|
161
|
-
The description of the CEN
|
|
181
|
+
The description of the CEN Instance. The description can be empty or `1` to `256` characters in length and cannot start with `http://` or `https://`.
|
|
162
182
|
"""
|
|
163
183
|
return pulumi.get(self, "description")
|
|
164
184
|
|
|
@@ -168,10 +188,10 @@ class _InstanceState:
|
|
|
168
188
|
|
|
169
189
|
@property
|
|
170
190
|
@pulumi.getter
|
|
171
|
-
@_utilities.deprecated("""
|
|
191
|
+
@_utilities.deprecated("""Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.""")
|
|
172
192
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
173
193
|
"""
|
|
174
|
-
Field `name` has been deprecated from version 1.98.0.
|
|
194
|
+
Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.
|
|
175
195
|
"""
|
|
176
196
|
return pulumi.get(self, "name")
|
|
177
197
|
|
|
@@ -183,7 +203,7 @@ class _InstanceState:
|
|
|
183
203
|
@pulumi.getter(name="protectionLevel")
|
|
184
204
|
def protection_level(self) -> Optional[pulumi.Input[str]]:
|
|
185
205
|
"""
|
|
186
|
-
|
|
206
|
+
The level of CIDR block overlapping. Default value: `REDUCE`.
|
|
187
207
|
"""
|
|
188
208
|
return pulumi.get(self, "protection_level")
|
|
189
209
|
|
|
@@ -191,11 +211,23 @@ class _InstanceState:
|
|
|
191
211
|
def protection_level(self, value: Optional[pulumi.Input[str]]):
|
|
192
212
|
pulumi.set(self, "protection_level", value)
|
|
193
213
|
|
|
214
|
+
@property
|
|
215
|
+
@pulumi.getter(name="resourceGroupId")
|
|
216
|
+
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
217
|
+
"""
|
|
218
|
+
The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
219
|
+
"""
|
|
220
|
+
return pulumi.get(self, "resource_group_id")
|
|
221
|
+
|
|
222
|
+
@resource_group_id.setter
|
|
223
|
+
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
224
|
+
pulumi.set(self, "resource_group_id", value)
|
|
225
|
+
|
|
194
226
|
@property
|
|
195
227
|
@pulumi.getter
|
|
196
228
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
197
229
|
"""
|
|
198
|
-
The
|
|
230
|
+
The status of the Instance.
|
|
199
231
|
"""
|
|
200
232
|
return pulumi.get(self, "status")
|
|
201
233
|
|
|
@@ -225,12 +257,13 @@ class Instance(pulumi.CustomResource):
|
|
|
225
257
|
description: Optional[pulumi.Input[str]] = None,
|
|
226
258
|
name: Optional[pulumi.Input[str]] = None,
|
|
227
259
|
protection_level: Optional[pulumi.Input[str]] = None,
|
|
260
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
228
261
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
229
262
|
__props__=None):
|
|
230
263
|
"""
|
|
231
|
-
Provides a
|
|
264
|
+
Provides a Cloud Enterprise Network (CEN) Instance resource.
|
|
232
265
|
|
|
233
|
-
For information about CEN and how to use it, see [What is
|
|
266
|
+
For information about Cloud Enterprise Network (CEN) Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-createcen).
|
|
234
267
|
|
|
235
268
|
> **NOTE:** Available since v1.15.0.
|
|
236
269
|
|
|
@@ -242,25 +275,30 @@ class Instance(pulumi.CustomResource):
|
|
|
242
275
|
import pulumi
|
|
243
276
|
import pulumi_alicloud as alicloud
|
|
244
277
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
278
|
+
config = pulumi.Config()
|
|
279
|
+
name = config.get("name")
|
|
280
|
+
if name is None:
|
|
281
|
+
name = "terraform-example"
|
|
282
|
+
default = alicloud.cen.Instance("default",
|
|
283
|
+
cen_instance_name=name,
|
|
284
|
+
description=name)
|
|
248
285
|
```
|
|
249
286
|
|
|
250
287
|
## Import
|
|
251
288
|
|
|
252
|
-
CEN
|
|
289
|
+
Cloud Enterprise Network (CEN) Instance can be imported using the id, e.g.
|
|
253
290
|
|
|
254
291
|
```sh
|
|
255
|
-
$ pulumi import alicloud:cen/instance:Instance example
|
|
292
|
+
$ pulumi import alicloud:cen/instance:Instance example <id>
|
|
256
293
|
```
|
|
257
294
|
|
|
258
295
|
:param str resource_name: The name of the resource.
|
|
259
296
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
260
|
-
:param pulumi.Input[str] cen_instance_name: The name of the CEN
|
|
261
|
-
:param pulumi.Input[str] description: The description of the CEN
|
|
262
|
-
:param pulumi.Input[str] name: Field `name` has been deprecated from version 1.98.0.
|
|
263
|
-
:param pulumi.Input[str] protection_level:
|
|
297
|
+
:param pulumi.Input[str] cen_instance_name: The name of the CEN Instance. The name can be empty or `1` to `128` characters in length and cannot start with `http://` or `https://`.
|
|
298
|
+
:param pulumi.Input[str] description: The description of the CEN Instance. The description can be empty or `1` to `256` characters in length and cannot start with `http://` or `https://`.
|
|
299
|
+
:param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.
|
|
300
|
+
:param pulumi.Input[str] protection_level: The level of CIDR block overlapping. Default value: `REDUCE`.
|
|
301
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
264
302
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
265
303
|
"""
|
|
266
304
|
...
|
|
@@ -270,9 +308,9 @@ class Instance(pulumi.CustomResource):
|
|
|
270
308
|
args: Optional[InstanceArgs] = None,
|
|
271
309
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
272
310
|
"""
|
|
273
|
-
Provides a
|
|
311
|
+
Provides a Cloud Enterprise Network (CEN) Instance resource.
|
|
274
312
|
|
|
275
|
-
For information about CEN and how to use it, see [What is
|
|
313
|
+
For information about Cloud Enterprise Network (CEN) Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-createcen).
|
|
276
314
|
|
|
277
315
|
> **NOTE:** Available since v1.15.0.
|
|
278
316
|
|
|
@@ -284,17 +322,21 @@ class Instance(pulumi.CustomResource):
|
|
|
284
322
|
import pulumi
|
|
285
323
|
import pulumi_alicloud as alicloud
|
|
286
324
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
325
|
+
config = pulumi.Config()
|
|
326
|
+
name = config.get("name")
|
|
327
|
+
if name is None:
|
|
328
|
+
name = "terraform-example"
|
|
329
|
+
default = alicloud.cen.Instance("default",
|
|
330
|
+
cen_instance_name=name,
|
|
331
|
+
description=name)
|
|
290
332
|
```
|
|
291
333
|
|
|
292
334
|
## Import
|
|
293
335
|
|
|
294
|
-
CEN
|
|
336
|
+
Cloud Enterprise Network (CEN) Instance can be imported using the id, e.g.
|
|
295
337
|
|
|
296
338
|
```sh
|
|
297
|
-
$ pulumi import alicloud:cen/instance:Instance example
|
|
339
|
+
$ pulumi import alicloud:cen/instance:Instance example <id>
|
|
298
340
|
```
|
|
299
341
|
|
|
300
342
|
:param str resource_name: The name of the resource.
|
|
@@ -316,6 +358,7 @@ class Instance(pulumi.CustomResource):
|
|
|
316
358
|
description: Optional[pulumi.Input[str]] = None,
|
|
317
359
|
name: Optional[pulumi.Input[str]] = None,
|
|
318
360
|
protection_level: Optional[pulumi.Input[str]] = None,
|
|
361
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
319
362
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
320
363
|
__props__=None):
|
|
321
364
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -330,6 +373,7 @@ class Instance(pulumi.CustomResource):
|
|
|
330
373
|
__props__.__dict__["description"] = description
|
|
331
374
|
__props__.__dict__["name"] = name
|
|
332
375
|
__props__.__dict__["protection_level"] = protection_level
|
|
376
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
333
377
|
__props__.__dict__["tags"] = tags
|
|
334
378
|
__props__.__dict__["status"] = None
|
|
335
379
|
super(Instance, __self__).__init__(
|
|
@@ -346,6 +390,7 @@ class Instance(pulumi.CustomResource):
|
|
|
346
390
|
description: Optional[pulumi.Input[str]] = None,
|
|
347
391
|
name: Optional[pulumi.Input[str]] = None,
|
|
348
392
|
protection_level: Optional[pulumi.Input[str]] = None,
|
|
393
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
349
394
|
status: Optional[pulumi.Input[str]] = None,
|
|
350
395
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'Instance':
|
|
351
396
|
"""
|
|
@@ -355,11 +400,12 @@ class Instance(pulumi.CustomResource):
|
|
|
355
400
|
:param str resource_name: The unique name of the resulting resource.
|
|
356
401
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
357
402
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
358
|
-
:param pulumi.Input[str] cen_instance_name: The name of the CEN
|
|
359
|
-
:param pulumi.Input[str] description: The description of the CEN
|
|
360
|
-
:param pulumi.Input[str] name: Field `name` has been deprecated from version 1.98.0.
|
|
361
|
-
:param pulumi.Input[str] protection_level:
|
|
362
|
-
:param pulumi.Input[str]
|
|
403
|
+
:param pulumi.Input[str] cen_instance_name: The name of the CEN Instance. The name can be empty or `1` to `128` characters in length and cannot start with `http://` or `https://`.
|
|
404
|
+
:param pulumi.Input[str] description: The description of the CEN Instance. The description can be empty or `1` to `256` characters in length and cannot start with `http://` or `https://`.
|
|
405
|
+
:param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.
|
|
406
|
+
:param pulumi.Input[str] protection_level: The level of CIDR block overlapping. Default value: `REDUCE`.
|
|
407
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
408
|
+
:param pulumi.Input[str] status: The status of the Instance.
|
|
363
409
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
364
410
|
"""
|
|
365
411
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -370,6 +416,7 @@ class Instance(pulumi.CustomResource):
|
|
|
370
416
|
__props__.__dict__["description"] = description
|
|
371
417
|
__props__.__dict__["name"] = name
|
|
372
418
|
__props__.__dict__["protection_level"] = protection_level
|
|
419
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
373
420
|
__props__.__dict__["status"] = status
|
|
374
421
|
__props__.__dict__["tags"] = tags
|
|
375
422
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
|
@@ -378,7 +425,7 @@ class Instance(pulumi.CustomResource):
|
|
|
378
425
|
@pulumi.getter(name="cenInstanceName")
|
|
379
426
|
def cen_instance_name(self) -> pulumi.Output[str]:
|
|
380
427
|
"""
|
|
381
|
-
The name of the CEN
|
|
428
|
+
The name of the CEN Instance. The name can be empty or `1` to `128` characters in length and cannot start with `http://` or `https://`.
|
|
382
429
|
"""
|
|
383
430
|
return pulumi.get(self, "cen_instance_name")
|
|
384
431
|
|
|
@@ -386,16 +433,16 @@ class Instance(pulumi.CustomResource):
|
|
|
386
433
|
@pulumi.getter
|
|
387
434
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
388
435
|
"""
|
|
389
|
-
The description of the CEN
|
|
436
|
+
The description of the CEN Instance. The description can be empty or `1` to `256` characters in length and cannot start with `http://` or `https://`.
|
|
390
437
|
"""
|
|
391
438
|
return pulumi.get(self, "description")
|
|
392
439
|
|
|
393
440
|
@property
|
|
394
441
|
@pulumi.getter
|
|
395
|
-
@_utilities.deprecated("""
|
|
442
|
+
@_utilities.deprecated("""Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.""")
|
|
396
443
|
def name(self) -> pulumi.Output[str]:
|
|
397
444
|
"""
|
|
398
|
-
Field `name` has been deprecated from version 1.98.0.
|
|
445
|
+
Field `name` has been deprecated from provider version 1.98.0. New field `cen_instance_name` instead.
|
|
399
446
|
"""
|
|
400
447
|
return pulumi.get(self, "name")
|
|
401
448
|
|
|
@@ -403,15 +450,23 @@ class Instance(pulumi.CustomResource):
|
|
|
403
450
|
@pulumi.getter(name="protectionLevel")
|
|
404
451
|
def protection_level(self) -> pulumi.Output[str]:
|
|
405
452
|
"""
|
|
406
|
-
|
|
453
|
+
The level of CIDR block overlapping. Default value: `REDUCE`.
|
|
407
454
|
"""
|
|
408
455
|
return pulumi.get(self, "protection_level")
|
|
409
456
|
|
|
457
|
+
@property
|
|
458
|
+
@pulumi.getter(name="resourceGroupId")
|
|
459
|
+
def resource_group_id(self) -> pulumi.Output[str]:
|
|
460
|
+
"""
|
|
461
|
+
The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
462
|
+
"""
|
|
463
|
+
return pulumi.get(self, "resource_group_id")
|
|
464
|
+
|
|
410
465
|
@property
|
|
411
466
|
@pulumi.getter
|
|
412
467
|
def status(self) -> pulumi.Output[str]:
|
|
413
468
|
"""
|
|
414
|
-
The
|
|
469
|
+
The status of the Instance.
|
|
415
470
|
"""
|
|
416
471
|
return pulumi.get(self, "status")
|
|
417
472
|
|