pulumi-alicloud 3.66.0a1731501166__py3-none-any.whl → 3.66.0a1731672315__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 +94 -0
- pulumi_alicloud/alb/load_balancer.py +1 -1
- pulumi_alicloud/alikafka/instance.py +112 -0
- pulumi_alicloud/arms/environment.py +7 -7
- pulumi_alicloud/arms/get_remote_writes.py +4 -4
- pulumi_alicloud/arms/prometheus_alert_rule.py +58 -0
- pulumi_alicloud/arms/remote_write.py +2 -2
- pulumi_alicloud/cen/transit_router_vbr_attachment.py +96 -74
- pulumi_alicloud/cloudsso/_inputs.py +9 -9
- pulumi_alicloud/cloudsso/access_configuration.py +100 -34
- pulumi_alicloud/cloudsso/outputs.py +6 -6
- pulumi_alicloud/cms/hybrid_monitor_fc_task.py +28 -26
- pulumi_alicloud/cr/chain.py +22 -14
- pulumi_alicloud/cr/chart_repository.py +14 -6
- pulumi_alicloud/cr/repo.py +8 -8
- pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +14 -6
- pulumi_alicloud/databasefilesystem/instance_attachment.py +59 -63
- pulumi_alicloud/databasefilesystem/snapshot.py +53 -109
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/esa/__init__.py +9 -0
- pulumi_alicloud/esa/rate_plan_instance.py +626 -0
- pulumi_alicloud/esa/site.py +533 -0
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/fc/_inputs.py +243 -135
- pulumi_alicloud/fc/outputs.py +173 -90
- pulumi_alicloud/fc/trigger.py +202 -138
- pulumi_alicloud/fc/v3_alias.py +28 -0
- pulumi_alicloud/fc/v3_async_invoke_config.py +56 -0
- pulumi_alicloud/fc/v3_concurrency_config.py +28 -0
- pulumi_alicloud/fc/v3_custom_domain.py +118 -6
- pulumi_alicloud/fc/v3_function.py +308 -0
- pulumi_alicloud/fc/v3_function_version.py +30 -2
- pulumi_alicloud/fc/v3_layer_version.py +104 -1
- pulumi_alicloud/fc/v3_provision_config.py +86 -2
- pulumi_alicloud/fc/v3_trigger.py +114 -0
- pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +48 -44
- pulumi_alicloud/governance/_inputs.py +54 -0
- pulumi_alicloud/governance/account.py +49 -14
- pulumi_alicloud/governance/outputs.py +51 -0
- pulumi_alicloud/gpdb/instance.py +196 -15
- pulumi_alicloud/gwlb/__init__.py +12 -0
- pulumi_alicloud/gwlb/_inputs.py +673 -0
- pulumi_alicloud/gwlb/listener.py +434 -0
- pulumi_alicloud/gwlb/load_balancer.py +537 -0
- pulumi_alicloud/gwlb/outputs.py +533 -0
- pulumi_alicloud/gwlb/server_group.py +780 -0
- pulumi_alicloud/kms/instance.py +28 -0
- 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/oss/__init__.py +2 -0
- pulumi_alicloud/oss/_inputs.py +194 -0
- pulumi_alicloud/oss/bucket_cname.py +509 -0
- pulumi_alicloud/oss/bucket_cname_token.py +239 -0
- pulumi_alicloud/oss/outputs.py +141 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/quotas/_inputs.py +6 -6
- pulumi_alicloud/quotas/outputs.py +4 -4
- pulumi_alicloud/quotas/quota_application.py +21 -28
- pulumi_alicloud/redis/tair_instance.py +1046 -71
- pulumi_alicloud/threatdetection/honeypot_preset.py +2 -0
- pulumi_alicloud/vpc/__init__.py +4 -0
- pulumi_alicloud/vpc/ipam_ipam.py +531 -0
- pulumi_alicloud/vpc/ipam_ipam_pool.py +850 -0
- pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +313 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +537 -0
- pulumi_alicloud/vpn/gateway_vco_route.py +28 -8
- {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731672315.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731672315.dist-info}/RECORD +73 -58
- {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731672315.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.66.0a1731501166.dist-info → pulumi_alicloud-3.66.0a1731672315.dist-info}/top_level.txt +0 -0
|
@@ -30,15 +30,15 @@ class AccessConfigurationArgs:
|
|
|
30
30
|
session_duration: Optional[pulumi.Input[int]] = None):
|
|
31
31
|
"""
|
|
32
32
|
The set of arguments for constructing a AccessConfiguration resource.
|
|
33
|
-
:param pulumi.Input[str] access_configuration_name: The
|
|
33
|
+
:param pulumi.Input[str] access_configuration_name: The name of the access configuration. The name can be up to `32` characters long and can contain letters, digits, and hyphens (-).
|
|
34
34
|
:param pulumi.Input[str] directory_id: The ID of the Directory.
|
|
35
|
-
:param pulumi.Input[str] description: The
|
|
36
|
-
:param pulumi.Input[bool] force_remove_permission_policies: This parameter is used to force deletion `permission_policies`. Valid Value: `true
|
|
35
|
+
:param pulumi.Input[str] description: The description of the access configuration. The description can be up to `1024` characters in length.
|
|
36
|
+
:param pulumi.Input[bool] force_remove_permission_policies: This parameter is used to force deletion `permission_policies`. Valid Value: `true`, `false`.
|
|
37
37
|
|
|
38
38
|
* **NOTE:** The `permission_policies` will be removed automatically when the resource is deleted, please operate with caution. If there are left more permission policies in the access configuration, please remove them before deleting the access configuration.
|
|
39
39
|
:param pulumi.Input[Sequence[pulumi.Input['AccessConfigurationPermissionPolicyArgs']]] permission_policies: The Policy List. See `permission_policies` below.
|
|
40
40
|
:param pulumi.Input[str] relay_state: The RelayState of the Access Configuration, Cloud SSO users use this access configuration to access the RD account, the initial access page address. Must be the Alibaba Cloud console page, the default is the console home page.
|
|
41
|
-
:param pulumi.Input[int] session_duration: The SessionDuration of the Access Configuration. Valid
|
|
41
|
+
:param pulumi.Input[int] session_duration: The SessionDuration of the Access Configuration. Unit: Seconds. Valid values: `900` to `43200`.
|
|
42
42
|
"""
|
|
43
43
|
pulumi.set(__self__, "access_configuration_name", access_configuration_name)
|
|
44
44
|
pulumi.set(__self__, "directory_id", directory_id)
|
|
@@ -57,7 +57,7 @@ class AccessConfigurationArgs:
|
|
|
57
57
|
@pulumi.getter(name="accessConfigurationName")
|
|
58
58
|
def access_configuration_name(self) -> pulumi.Input[str]:
|
|
59
59
|
"""
|
|
60
|
-
The
|
|
60
|
+
The name of the access configuration. The name can be up to `32` characters long and can contain letters, digits, and hyphens (-).
|
|
61
61
|
"""
|
|
62
62
|
return pulumi.get(self, "access_configuration_name")
|
|
63
63
|
|
|
@@ -81,7 +81,7 @@ class AccessConfigurationArgs:
|
|
|
81
81
|
@pulumi.getter
|
|
82
82
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
83
83
|
"""
|
|
84
|
-
The
|
|
84
|
+
The description of the access configuration. The description can be up to `1024` characters in length.
|
|
85
85
|
"""
|
|
86
86
|
return pulumi.get(self, "description")
|
|
87
87
|
|
|
@@ -93,7 +93,7 @@ class AccessConfigurationArgs:
|
|
|
93
93
|
@pulumi.getter(name="forceRemovePermissionPolicies")
|
|
94
94
|
def force_remove_permission_policies(self) -> Optional[pulumi.Input[bool]]:
|
|
95
95
|
"""
|
|
96
|
-
This parameter is used to force deletion `permission_policies`. Valid Value: `true
|
|
96
|
+
This parameter is used to force deletion `permission_policies`. Valid Value: `true`, `false`.
|
|
97
97
|
|
|
98
98
|
* **NOTE:** The `permission_policies` will be removed automatically when the resource is deleted, please operate with caution. If there are left more permission policies in the access configuration, please remove them before deleting the access configuration.
|
|
99
99
|
"""
|
|
@@ -131,7 +131,7 @@ class AccessConfigurationArgs:
|
|
|
131
131
|
@pulumi.getter(name="sessionDuration")
|
|
132
132
|
def session_duration(self) -> Optional[pulumi.Input[int]]:
|
|
133
133
|
"""
|
|
134
|
-
The SessionDuration of the Access Configuration. Valid
|
|
134
|
+
The SessionDuration of the Access Configuration. Unit: Seconds. Valid values: `900` to `43200`.
|
|
135
135
|
"""
|
|
136
136
|
return pulumi.get(self, "session_duration")
|
|
137
137
|
|
|
@@ -153,16 +153,16 @@ class _AccessConfigurationState:
|
|
|
153
153
|
session_duration: Optional[pulumi.Input[int]] = None):
|
|
154
154
|
"""
|
|
155
155
|
Input properties used for looking up and filtering AccessConfiguration resources.
|
|
156
|
-
:param pulumi.Input[str] access_configuration_id: The
|
|
157
|
-
:param pulumi.Input[str] access_configuration_name: The
|
|
158
|
-
:param pulumi.Input[str] description: The
|
|
156
|
+
:param pulumi.Input[str] access_configuration_id: The ID of the Access Configuration.
|
|
157
|
+
:param pulumi.Input[str] access_configuration_name: The name of the access configuration. The name can be up to `32` characters long and can contain letters, digits, and hyphens (-).
|
|
158
|
+
:param pulumi.Input[str] description: The description of the access configuration. The description can be up to `1024` characters in length.
|
|
159
159
|
:param pulumi.Input[str] directory_id: The ID of the Directory.
|
|
160
|
-
:param pulumi.Input[bool] force_remove_permission_policies: This parameter is used to force deletion `permission_policies`. Valid Value: `true
|
|
160
|
+
:param pulumi.Input[bool] force_remove_permission_policies: This parameter is used to force deletion `permission_policies`. Valid Value: `true`, `false`.
|
|
161
161
|
|
|
162
162
|
* **NOTE:** The `permission_policies` will be removed automatically when the resource is deleted, please operate with caution. If there are left more permission policies in the access configuration, please remove them before deleting the access configuration.
|
|
163
163
|
:param pulumi.Input[Sequence[pulumi.Input['AccessConfigurationPermissionPolicyArgs']]] permission_policies: The Policy List. See `permission_policies` below.
|
|
164
164
|
:param pulumi.Input[str] relay_state: The RelayState of the Access Configuration, Cloud SSO users use this access configuration to access the RD account, the initial access page address. Must be the Alibaba Cloud console page, the default is the console home page.
|
|
165
|
-
:param pulumi.Input[int] session_duration: The SessionDuration of the Access Configuration. Valid
|
|
165
|
+
:param pulumi.Input[int] session_duration: The SessionDuration of the Access Configuration. Unit: Seconds. Valid values: `900` to `43200`.
|
|
166
166
|
"""
|
|
167
167
|
if access_configuration_id is not None:
|
|
168
168
|
pulumi.set(__self__, "access_configuration_id", access_configuration_id)
|
|
@@ -185,7 +185,7 @@ class _AccessConfigurationState:
|
|
|
185
185
|
@pulumi.getter(name="accessConfigurationId")
|
|
186
186
|
def access_configuration_id(self) -> Optional[pulumi.Input[str]]:
|
|
187
187
|
"""
|
|
188
|
-
The
|
|
188
|
+
The ID of the Access Configuration.
|
|
189
189
|
"""
|
|
190
190
|
return pulumi.get(self, "access_configuration_id")
|
|
191
191
|
|
|
@@ -197,7 +197,7 @@ class _AccessConfigurationState:
|
|
|
197
197
|
@pulumi.getter(name="accessConfigurationName")
|
|
198
198
|
def access_configuration_name(self) -> Optional[pulumi.Input[str]]:
|
|
199
199
|
"""
|
|
200
|
-
The
|
|
200
|
+
The name of the access configuration. The name can be up to `32` characters long and can contain letters, digits, and hyphens (-).
|
|
201
201
|
"""
|
|
202
202
|
return pulumi.get(self, "access_configuration_name")
|
|
203
203
|
|
|
@@ -209,7 +209,7 @@ class _AccessConfigurationState:
|
|
|
209
209
|
@pulumi.getter
|
|
210
210
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
211
211
|
"""
|
|
212
|
-
The
|
|
212
|
+
The description of the access configuration. The description can be up to `1024` characters in length.
|
|
213
213
|
"""
|
|
214
214
|
return pulumi.get(self, "description")
|
|
215
215
|
|
|
@@ -233,7 +233,7 @@ class _AccessConfigurationState:
|
|
|
233
233
|
@pulumi.getter(name="forceRemovePermissionPolicies")
|
|
234
234
|
def force_remove_permission_policies(self) -> Optional[pulumi.Input[bool]]:
|
|
235
235
|
"""
|
|
236
|
-
This parameter is used to force deletion `permission_policies`. Valid Value: `true
|
|
236
|
+
This parameter is used to force deletion `permission_policies`. Valid Value: `true`, `false`.
|
|
237
237
|
|
|
238
238
|
* **NOTE:** The `permission_policies` will be removed automatically when the resource is deleted, please operate with caution. If there are left more permission policies in the access configuration, please remove them before deleting the access configuration.
|
|
239
239
|
"""
|
|
@@ -271,7 +271,7 @@ class _AccessConfigurationState:
|
|
|
271
271
|
@pulumi.getter(name="sessionDuration")
|
|
272
272
|
def session_duration(self) -> Optional[pulumi.Input[int]]:
|
|
273
273
|
"""
|
|
274
|
-
The SessionDuration of the Access Configuration. Valid
|
|
274
|
+
The SessionDuration of the Access Configuration. Unit: Seconds. Valid values: `900` to `43200`.
|
|
275
275
|
"""
|
|
276
276
|
return pulumi.get(self, "session_duration")
|
|
277
277
|
|
|
@@ -300,7 +300,40 @@ class AccessConfiguration(pulumi.CustomResource):
|
|
|
300
300
|
|
|
301
301
|
> **NOTE:** Available since v1.145.0.
|
|
302
302
|
|
|
303
|
-
|
|
303
|
+
## Example Usage
|
|
304
|
+
|
|
305
|
+
Basic Usage
|
|
306
|
+
|
|
307
|
+
```python
|
|
308
|
+
import pulumi
|
|
309
|
+
import pulumi_alicloud as alicloud
|
|
310
|
+
|
|
311
|
+
config = pulumi.Config()
|
|
312
|
+
name = config.get("name")
|
|
313
|
+
if name is None:
|
|
314
|
+
name = "terraform-example"
|
|
315
|
+
default = alicloud.cloudsso.get_directories()
|
|
316
|
+
default_access_configuration = alicloud.cloudsso.AccessConfiguration("default",
|
|
317
|
+
directory_id=default.directories[0].id,
|
|
318
|
+
access_configuration_name=name,
|
|
319
|
+
permission_policies=[{
|
|
320
|
+
"permission_policy_type": "Inline",
|
|
321
|
+
"permission_policy_name": name,
|
|
322
|
+
"permission_policy_document": \"\"\" {
|
|
323
|
+
"Statement":[
|
|
324
|
+
{
|
|
325
|
+
"Action":"ecs:Get*",
|
|
326
|
+
"Effect":"Allow",
|
|
327
|
+
"Resource":[
|
|
328
|
+
"*"
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"Version": "1"
|
|
333
|
+
}
|
|
334
|
+
\"\"\",
|
|
335
|
+
}])
|
|
336
|
+
```
|
|
304
337
|
|
|
305
338
|
## Import
|
|
306
339
|
|
|
@@ -312,15 +345,15 @@ class AccessConfiguration(pulumi.CustomResource):
|
|
|
312
345
|
|
|
313
346
|
:param str resource_name: The name of the resource.
|
|
314
347
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
315
|
-
:param pulumi.Input[str] access_configuration_name: The
|
|
316
|
-
:param pulumi.Input[str] description: The
|
|
348
|
+
:param pulumi.Input[str] access_configuration_name: The name of the access configuration. The name can be up to `32` characters long and can contain letters, digits, and hyphens (-).
|
|
349
|
+
:param pulumi.Input[str] description: The description of the access configuration. The description can be up to `1024` characters in length.
|
|
317
350
|
:param pulumi.Input[str] directory_id: The ID of the Directory.
|
|
318
|
-
:param pulumi.Input[bool] force_remove_permission_policies: This parameter is used to force deletion `permission_policies`. Valid Value: `true
|
|
351
|
+
:param pulumi.Input[bool] force_remove_permission_policies: This parameter is used to force deletion `permission_policies`. Valid Value: `true`, `false`.
|
|
319
352
|
|
|
320
353
|
* **NOTE:** The `permission_policies` will be removed automatically when the resource is deleted, please operate with caution. If there are left more permission policies in the access configuration, please remove them before deleting the access configuration.
|
|
321
354
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AccessConfigurationPermissionPolicyArgs', 'AccessConfigurationPermissionPolicyArgsDict']]]] permission_policies: The Policy List. See `permission_policies` below.
|
|
322
355
|
:param pulumi.Input[str] relay_state: The RelayState of the Access Configuration, Cloud SSO users use this access configuration to access the RD account, the initial access page address. Must be the Alibaba Cloud console page, the default is the console home page.
|
|
323
|
-
:param pulumi.Input[int] session_duration: The SessionDuration of the Access Configuration. Valid
|
|
356
|
+
:param pulumi.Input[int] session_duration: The SessionDuration of the Access Configuration. Unit: Seconds. Valid values: `900` to `43200`.
|
|
324
357
|
"""
|
|
325
358
|
...
|
|
326
359
|
@overload
|
|
@@ -335,7 +368,40 @@ class AccessConfiguration(pulumi.CustomResource):
|
|
|
335
368
|
|
|
336
369
|
> **NOTE:** Available since v1.145.0.
|
|
337
370
|
|
|
338
|
-
|
|
371
|
+
## Example Usage
|
|
372
|
+
|
|
373
|
+
Basic Usage
|
|
374
|
+
|
|
375
|
+
```python
|
|
376
|
+
import pulumi
|
|
377
|
+
import pulumi_alicloud as alicloud
|
|
378
|
+
|
|
379
|
+
config = pulumi.Config()
|
|
380
|
+
name = config.get("name")
|
|
381
|
+
if name is None:
|
|
382
|
+
name = "terraform-example"
|
|
383
|
+
default = alicloud.cloudsso.get_directories()
|
|
384
|
+
default_access_configuration = alicloud.cloudsso.AccessConfiguration("default",
|
|
385
|
+
directory_id=default.directories[0].id,
|
|
386
|
+
access_configuration_name=name,
|
|
387
|
+
permission_policies=[{
|
|
388
|
+
"permission_policy_type": "Inline",
|
|
389
|
+
"permission_policy_name": name,
|
|
390
|
+
"permission_policy_document": \"\"\" {
|
|
391
|
+
"Statement":[
|
|
392
|
+
{
|
|
393
|
+
"Action":"ecs:Get*",
|
|
394
|
+
"Effect":"Allow",
|
|
395
|
+
"Resource":[
|
|
396
|
+
"*"
|
|
397
|
+
]
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
"Version": "1"
|
|
401
|
+
}
|
|
402
|
+
\"\"\",
|
|
403
|
+
}])
|
|
404
|
+
```
|
|
339
405
|
|
|
340
406
|
## Import
|
|
341
407
|
|
|
@@ -413,16 +479,16 @@ class AccessConfiguration(pulumi.CustomResource):
|
|
|
413
479
|
:param str resource_name: The unique name of the resulting resource.
|
|
414
480
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
415
481
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
416
|
-
:param pulumi.Input[str] access_configuration_id: The
|
|
417
|
-
:param pulumi.Input[str] access_configuration_name: The
|
|
418
|
-
:param pulumi.Input[str] description: The
|
|
482
|
+
:param pulumi.Input[str] access_configuration_id: The ID of the Access Configuration.
|
|
483
|
+
:param pulumi.Input[str] access_configuration_name: The name of the access configuration. The name can be up to `32` characters long and can contain letters, digits, and hyphens (-).
|
|
484
|
+
:param pulumi.Input[str] description: The description of the access configuration. The description can be up to `1024` characters in length.
|
|
419
485
|
:param pulumi.Input[str] directory_id: The ID of the Directory.
|
|
420
|
-
:param pulumi.Input[bool] force_remove_permission_policies: This parameter is used to force deletion `permission_policies`. Valid Value: `true
|
|
486
|
+
:param pulumi.Input[bool] force_remove_permission_policies: This parameter is used to force deletion `permission_policies`. Valid Value: `true`, `false`.
|
|
421
487
|
|
|
422
488
|
* **NOTE:** The `permission_policies` will be removed automatically when the resource is deleted, please operate with caution. If there are left more permission policies in the access configuration, please remove them before deleting the access configuration.
|
|
423
489
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AccessConfigurationPermissionPolicyArgs', 'AccessConfigurationPermissionPolicyArgsDict']]]] permission_policies: The Policy List. See `permission_policies` below.
|
|
424
490
|
:param pulumi.Input[str] relay_state: The RelayState of the Access Configuration, Cloud SSO users use this access configuration to access the RD account, the initial access page address. Must be the Alibaba Cloud console page, the default is the console home page.
|
|
425
|
-
:param pulumi.Input[int] session_duration: The SessionDuration of the Access Configuration. Valid
|
|
491
|
+
:param pulumi.Input[int] session_duration: The SessionDuration of the Access Configuration. Unit: Seconds. Valid values: `900` to `43200`.
|
|
426
492
|
"""
|
|
427
493
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
428
494
|
|
|
@@ -442,7 +508,7 @@ class AccessConfiguration(pulumi.CustomResource):
|
|
|
442
508
|
@pulumi.getter(name="accessConfigurationId")
|
|
443
509
|
def access_configuration_id(self) -> pulumi.Output[str]:
|
|
444
510
|
"""
|
|
445
|
-
The
|
|
511
|
+
The ID of the Access Configuration.
|
|
446
512
|
"""
|
|
447
513
|
return pulumi.get(self, "access_configuration_id")
|
|
448
514
|
|
|
@@ -450,7 +516,7 @@ class AccessConfiguration(pulumi.CustomResource):
|
|
|
450
516
|
@pulumi.getter(name="accessConfigurationName")
|
|
451
517
|
def access_configuration_name(self) -> pulumi.Output[str]:
|
|
452
518
|
"""
|
|
453
|
-
The
|
|
519
|
+
The name of the access configuration. The name can be up to `32` characters long and can contain letters, digits, and hyphens (-).
|
|
454
520
|
"""
|
|
455
521
|
return pulumi.get(self, "access_configuration_name")
|
|
456
522
|
|
|
@@ -458,7 +524,7 @@ class AccessConfiguration(pulumi.CustomResource):
|
|
|
458
524
|
@pulumi.getter
|
|
459
525
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
460
526
|
"""
|
|
461
|
-
The
|
|
527
|
+
The description of the access configuration. The description can be up to `1024` characters in length.
|
|
462
528
|
"""
|
|
463
529
|
return pulumi.get(self, "description")
|
|
464
530
|
|
|
@@ -474,7 +540,7 @@ class AccessConfiguration(pulumi.CustomResource):
|
|
|
474
540
|
@pulumi.getter(name="forceRemovePermissionPolicies")
|
|
475
541
|
def force_remove_permission_policies(self) -> pulumi.Output[Optional[bool]]:
|
|
476
542
|
"""
|
|
477
|
-
This parameter is used to force deletion `permission_policies`. Valid Value: `true
|
|
543
|
+
This parameter is used to force deletion `permission_policies`. Valid Value: `true`, `false`.
|
|
478
544
|
|
|
479
545
|
* **NOTE:** The `permission_policies` will be removed automatically when the resource is deleted, please operate with caution. If there are left more permission policies in the access configuration, please remove them before deleting the access configuration.
|
|
480
546
|
"""
|
|
@@ -500,7 +566,7 @@ class AccessConfiguration(pulumi.CustomResource):
|
|
|
500
566
|
@pulumi.getter(name="sessionDuration")
|
|
501
567
|
def session_duration(self) -> pulumi.Output[int]:
|
|
502
568
|
"""
|
|
503
|
-
The SessionDuration of the Access Configuration. Valid
|
|
569
|
+
The SessionDuration of the Access Configuration. Unit: Seconds. Valid values: `900` to `43200`.
|
|
504
570
|
"""
|
|
505
571
|
return pulumi.get(self, "session_duration")
|
|
506
572
|
|
|
@@ -58,9 +58,9 @@ class AccessConfigurationPermissionPolicy(dict):
|
|
|
58
58
|
permission_policy_type: str,
|
|
59
59
|
permission_policy_document: Optional[str] = None):
|
|
60
60
|
"""
|
|
61
|
-
:param str permission_policy_name: The
|
|
62
|
-
:param str permission_policy_type: The
|
|
63
|
-
:param str permission_policy_document: The
|
|
61
|
+
:param str permission_policy_name: The name of the policy.
|
|
62
|
+
:param str permission_policy_type: The type of the policy. Valid values: `System`, `Inline`.
|
|
63
|
+
:param str permission_policy_document: The configurations of the inline policy. **NOTE:** If `permission_policy_type` is set to `Inline`, `permission_policy_document` is required.
|
|
64
64
|
"""
|
|
65
65
|
pulumi.set(__self__, "permission_policy_name", permission_policy_name)
|
|
66
66
|
pulumi.set(__self__, "permission_policy_type", permission_policy_type)
|
|
@@ -71,7 +71,7 @@ class AccessConfigurationPermissionPolicy(dict):
|
|
|
71
71
|
@pulumi.getter(name="permissionPolicyName")
|
|
72
72
|
def permission_policy_name(self) -> str:
|
|
73
73
|
"""
|
|
74
|
-
The
|
|
74
|
+
The name of the policy.
|
|
75
75
|
"""
|
|
76
76
|
return pulumi.get(self, "permission_policy_name")
|
|
77
77
|
|
|
@@ -79,7 +79,7 @@ class AccessConfigurationPermissionPolicy(dict):
|
|
|
79
79
|
@pulumi.getter(name="permissionPolicyType")
|
|
80
80
|
def permission_policy_type(self) -> str:
|
|
81
81
|
"""
|
|
82
|
-
The
|
|
82
|
+
The type of the policy. Valid values: `System`, `Inline`.
|
|
83
83
|
"""
|
|
84
84
|
return pulumi.get(self, "permission_policy_type")
|
|
85
85
|
|
|
@@ -87,7 +87,7 @@ class AccessConfigurationPermissionPolicy(dict):
|
|
|
87
87
|
@pulumi.getter(name="permissionPolicyDocument")
|
|
88
88
|
def permission_policy_document(self) -> Optional[str]:
|
|
89
89
|
"""
|
|
90
|
-
The
|
|
90
|
+
The configurations of the inline policy. **NOTE:** If `permission_policy_type` is set to `Inline`, `permission_policy_document` is required.
|
|
91
91
|
"""
|
|
92
92
|
return pulumi.get(self, "permission_policy_document")
|
|
93
93
|
|
|
@@ -177,23 +177,24 @@ class HybridMonitorFcTask(pulumi.CustomResource):
|
|
|
177
177
|
specification="cms.s1.large")
|
|
178
178
|
default_hybrid_monitor_fc_task = alicloud.cms.HybridMonitorFcTask("default",
|
|
179
179
|
namespace=default_namespace.id,
|
|
180
|
-
yarm_config=\"\"\"
|
|
181
|
-
|
|
180
|
+
yarm_config=\"\"\"---
|
|
181
|
+
products:
|
|
182
|
+
- namespace: "acs_ecs_dashboard"
|
|
182
183
|
metric_info:
|
|
183
184
|
- metric_list:
|
|
184
|
-
-
|
|
185
|
-
-
|
|
186
|
-
-
|
|
187
|
-
-
|
|
188
|
-
-
|
|
189
|
-
-
|
|
190
|
-
-
|
|
191
|
-
-
|
|
192
|
-
- namespace: acs_rds_dashboard
|
|
185
|
+
- "CPUUtilization"
|
|
186
|
+
- "DiskReadBPS"
|
|
187
|
+
- "InternetOut"
|
|
188
|
+
- "IntranetOut"
|
|
189
|
+
- "cpu_idle"
|
|
190
|
+
- "cpu_system"
|
|
191
|
+
- "cpu_total"
|
|
192
|
+
- "diskusage_utilization"
|
|
193
|
+
- namespace: "acs_rds_dashboard"
|
|
193
194
|
metric_info:
|
|
194
195
|
- metric_list:
|
|
195
|
-
- MySQL_QPS
|
|
196
|
-
- MySQL_TPS
|
|
196
|
+
- "MySQL_QPS"
|
|
197
|
+
- "MySQL_TPS"
|
|
197
198
|
\"\"\",
|
|
198
199
|
target_user_id=default.id)
|
|
199
200
|
```
|
|
@@ -244,23 +245,24 @@ class HybridMonitorFcTask(pulumi.CustomResource):
|
|
|
244
245
|
specification="cms.s1.large")
|
|
245
246
|
default_hybrid_monitor_fc_task = alicloud.cms.HybridMonitorFcTask("default",
|
|
246
247
|
namespace=default_namespace.id,
|
|
247
|
-
yarm_config=\"\"\"
|
|
248
|
-
|
|
248
|
+
yarm_config=\"\"\"---
|
|
249
|
+
products:
|
|
250
|
+
- namespace: "acs_ecs_dashboard"
|
|
249
251
|
metric_info:
|
|
250
252
|
- metric_list:
|
|
251
|
-
-
|
|
252
|
-
-
|
|
253
|
-
-
|
|
254
|
-
-
|
|
255
|
-
-
|
|
256
|
-
-
|
|
257
|
-
-
|
|
258
|
-
-
|
|
259
|
-
- namespace: acs_rds_dashboard
|
|
253
|
+
- "CPUUtilization"
|
|
254
|
+
- "DiskReadBPS"
|
|
255
|
+
- "InternetOut"
|
|
256
|
+
- "IntranetOut"
|
|
257
|
+
- "cpu_idle"
|
|
258
|
+
- "cpu_system"
|
|
259
|
+
- "cpu_total"
|
|
260
|
+
- "diskusage_utilization"
|
|
261
|
+
- namespace: "acs_rds_dashboard"
|
|
260
262
|
metric_info:
|
|
261
263
|
- metric_list:
|
|
262
|
-
- MySQL_QPS
|
|
263
|
-
- MySQL_TPS
|
|
264
|
+
- "MySQL_QPS"
|
|
265
|
+
- "MySQL_TPS"
|
|
264
266
|
\"\"\",
|
|
265
267
|
target_user_id=default.id)
|
|
266
268
|
```
|
pulumi_alicloud/cr/chain.py
CHANGED
|
@@ -266,27 +266,31 @@ class Chain(pulumi.CustomResource):
|
|
|
266
266
|
```python
|
|
267
267
|
import pulumi
|
|
268
268
|
import pulumi_alicloud as alicloud
|
|
269
|
+
import pulumi_random as random
|
|
269
270
|
|
|
270
271
|
config = pulumi.Config()
|
|
271
272
|
name = config.get("name")
|
|
272
273
|
if name is None:
|
|
273
274
|
name = "tf-example"
|
|
274
|
-
default =
|
|
275
|
+
default = random.index.Integer("default",
|
|
276
|
+
min=100000,
|
|
277
|
+
max=999999)
|
|
278
|
+
default_registry_enterprise_instance = alicloud.cr.RegistryEnterpriseInstance("default",
|
|
275
279
|
payment_type="Subscription",
|
|
276
280
|
period=1,
|
|
277
281
|
renew_period=0,
|
|
278
282
|
renewal_status="ManualRenewal",
|
|
279
283
|
instance_type="Advanced",
|
|
280
|
-
instance_name=name)
|
|
284
|
+
instance_name=f"{name}-{default['result']}")
|
|
281
285
|
default_registry_enterprise_namespace = alicloud.cs.RegistryEnterpriseNamespace("default",
|
|
282
|
-
instance_id=
|
|
283
|
-
name=name,
|
|
286
|
+
instance_id=default_registry_enterprise_instance.id,
|
|
287
|
+
name=f"{name}-{default['result']}",
|
|
284
288
|
auto_create=False,
|
|
285
289
|
default_visibility="PUBLIC")
|
|
286
290
|
default_registry_enterprise_repo = alicloud.cs.RegistryEnterpriseRepo("default",
|
|
287
|
-
instance_id=
|
|
291
|
+
instance_id=default_registry_enterprise_instance.id,
|
|
288
292
|
namespace=default_registry_enterprise_namespace.name,
|
|
289
|
-
name=name,
|
|
293
|
+
name=f"{name}-{default['result']}",
|
|
290
294
|
summary="this is summary of my new repo",
|
|
291
295
|
repo_type="PUBLIC",
|
|
292
296
|
detail="this is a public repo")
|
|
@@ -399,7 +403,7 @@ class Chain(pulumi.CustomResource):
|
|
|
399
403
|
},
|
|
400
404
|
],
|
|
401
405
|
}],
|
|
402
|
-
chain_name=name,
|
|
406
|
+
chain_name=f"{name}-{default['result']}",
|
|
403
407
|
description=name,
|
|
404
408
|
instance_id=default_registry_enterprise_namespace.instance_id,
|
|
405
409
|
repo_name=default_registry_enterprise_repo.name,
|
|
@@ -443,27 +447,31 @@ class Chain(pulumi.CustomResource):
|
|
|
443
447
|
```python
|
|
444
448
|
import pulumi
|
|
445
449
|
import pulumi_alicloud as alicloud
|
|
450
|
+
import pulumi_random as random
|
|
446
451
|
|
|
447
452
|
config = pulumi.Config()
|
|
448
453
|
name = config.get("name")
|
|
449
454
|
if name is None:
|
|
450
455
|
name = "tf-example"
|
|
451
|
-
default =
|
|
456
|
+
default = random.index.Integer("default",
|
|
457
|
+
min=100000,
|
|
458
|
+
max=999999)
|
|
459
|
+
default_registry_enterprise_instance = alicloud.cr.RegistryEnterpriseInstance("default",
|
|
452
460
|
payment_type="Subscription",
|
|
453
461
|
period=1,
|
|
454
462
|
renew_period=0,
|
|
455
463
|
renewal_status="ManualRenewal",
|
|
456
464
|
instance_type="Advanced",
|
|
457
|
-
instance_name=name)
|
|
465
|
+
instance_name=f"{name}-{default['result']}")
|
|
458
466
|
default_registry_enterprise_namespace = alicloud.cs.RegistryEnterpriseNamespace("default",
|
|
459
|
-
instance_id=
|
|
460
|
-
name=name,
|
|
467
|
+
instance_id=default_registry_enterprise_instance.id,
|
|
468
|
+
name=f"{name}-{default['result']}",
|
|
461
469
|
auto_create=False,
|
|
462
470
|
default_visibility="PUBLIC")
|
|
463
471
|
default_registry_enterprise_repo = alicloud.cs.RegistryEnterpriseRepo("default",
|
|
464
|
-
instance_id=
|
|
472
|
+
instance_id=default_registry_enterprise_instance.id,
|
|
465
473
|
namespace=default_registry_enterprise_namespace.name,
|
|
466
|
-
name=name,
|
|
474
|
+
name=f"{name}-{default['result']}",
|
|
467
475
|
summary="this is summary of my new repo",
|
|
468
476
|
repo_type="PUBLIC",
|
|
469
477
|
detail="this is a public repo")
|
|
@@ -576,7 +584,7 @@ class Chain(pulumi.CustomResource):
|
|
|
576
584
|
},
|
|
577
585
|
],
|
|
578
586
|
}],
|
|
579
|
-
chain_name=name,
|
|
587
|
+
chain_name=f"{name}-{default['result']}",
|
|
580
588
|
description=name,
|
|
581
589
|
instance_id=default_registry_enterprise_namespace.instance_id,
|
|
582
590
|
repo_name=default_registry_enterprise_repo.name,
|
|
@@ -214,25 +214,29 @@ class ChartRepository(pulumi.CustomResource):
|
|
|
214
214
|
```python
|
|
215
215
|
import pulumi
|
|
216
216
|
import pulumi_alicloud as alicloud
|
|
217
|
+
import pulumi_random as random
|
|
217
218
|
|
|
218
219
|
config = pulumi.Config()
|
|
219
220
|
name = config.get("name")
|
|
220
221
|
if name is None:
|
|
221
222
|
name = "tf-example"
|
|
223
|
+
default = random.index.Integer("default",
|
|
224
|
+
min=100000,
|
|
225
|
+
max=999999)
|
|
222
226
|
example = alicloud.cr.RegistryEnterpriseInstance("example",
|
|
223
227
|
payment_type="Subscription",
|
|
224
228
|
period=1,
|
|
225
229
|
renew_period=0,
|
|
226
230
|
renewal_status="ManualRenewal",
|
|
227
231
|
instance_type="Advanced",
|
|
228
|
-
instance_name=name)
|
|
232
|
+
instance_name=f"{name}-{default['result']}")
|
|
229
233
|
example_chart_namespace = alicloud.cr.ChartNamespace("example",
|
|
230
234
|
instance_id=example.id,
|
|
231
|
-
namespace_name=name)
|
|
235
|
+
namespace_name=f"{name}-{default['result']}")
|
|
232
236
|
example_chart_repository = alicloud.cr.ChartRepository("example",
|
|
233
237
|
repo_namespace_name=example_chart_namespace.namespace_name,
|
|
234
238
|
instance_id=example_chart_namespace.instance_id,
|
|
235
|
-
repo_name=name)
|
|
239
|
+
repo_name=f"{name}-{default['result']}")
|
|
236
240
|
```
|
|
237
241
|
|
|
238
242
|
## Import
|
|
@@ -271,25 +275,29 @@ class ChartRepository(pulumi.CustomResource):
|
|
|
271
275
|
```python
|
|
272
276
|
import pulumi
|
|
273
277
|
import pulumi_alicloud as alicloud
|
|
278
|
+
import pulumi_random as random
|
|
274
279
|
|
|
275
280
|
config = pulumi.Config()
|
|
276
281
|
name = config.get("name")
|
|
277
282
|
if name is None:
|
|
278
283
|
name = "tf-example"
|
|
284
|
+
default = random.index.Integer("default",
|
|
285
|
+
min=100000,
|
|
286
|
+
max=999999)
|
|
279
287
|
example = alicloud.cr.RegistryEnterpriseInstance("example",
|
|
280
288
|
payment_type="Subscription",
|
|
281
289
|
period=1,
|
|
282
290
|
renew_period=0,
|
|
283
291
|
renewal_status="ManualRenewal",
|
|
284
292
|
instance_type="Advanced",
|
|
285
|
-
instance_name=name)
|
|
293
|
+
instance_name=f"{name}-{default['result']}")
|
|
286
294
|
example_chart_namespace = alicloud.cr.ChartNamespace("example",
|
|
287
295
|
instance_id=example.id,
|
|
288
|
-
namespace_name=name)
|
|
296
|
+
namespace_name=f"{name}-{default['result']}")
|
|
289
297
|
example_chart_repository = alicloud.cr.ChartRepository("example",
|
|
290
298
|
repo_namespace_name=example_chart_namespace.namespace_name,
|
|
291
299
|
instance_id=example_chart_namespace.instance_id,
|
|
292
|
-
repo_name=name)
|
|
300
|
+
repo_name=f"{name}-{default['result']}")
|
|
293
301
|
```
|
|
294
302
|
|
|
295
303
|
## Import
|
pulumi_alicloud/cr/repo.py
CHANGED
|
@@ -115,7 +115,7 @@ class _RepoState:
|
|
|
115
115
|
"""
|
|
116
116
|
Input properties used for looking up and filtering Repo resources.
|
|
117
117
|
:param pulumi.Input[str] detail: The repository specific information. MarkDown format is supported, and the length limit is 2000.
|
|
118
|
-
:param pulumi.Input['RepoDomainListArgs'] domain_list: The repository domain list.
|
|
118
|
+
:param pulumi.Input['RepoDomainListArgs'] domain_list: (Optional) The repository domain list.
|
|
119
119
|
:param pulumi.Input[str] name: Name of container registry repository.
|
|
120
120
|
:param pulumi.Input[str] namespace: Name of container registry namespace where repository is located.
|
|
121
121
|
:param pulumi.Input[str] repo_type: `PUBLIC` or `PRIVATE`, repo's visibility.
|
|
@@ -150,7 +150,7 @@ class _RepoState:
|
|
|
150
150
|
@pulumi.getter(name="domainList")
|
|
151
151
|
def domain_list(self) -> Optional[pulumi.Input['RepoDomainListArgs']]:
|
|
152
152
|
"""
|
|
153
|
-
The repository domain list.
|
|
153
|
+
(Optional) The repository domain list.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "domain_list")
|
|
156
156
|
|
|
@@ -245,8 +245,8 @@ class Repo(pulumi.CustomResource):
|
|
|
245
245
|
namespace=example.name,
|
|
246
246
|
name=name,
|
|
247
247
|
summary="this is summary of my new repo",
|
|
248
|
-
repo_type="
|
|
249
|
-
detail="this is a
|
|
248
|
+
repo_type="PRIVATE",
|
|
249
|
+
detail="this is a private repo")
|
|
250
250
|
```
|
|
251
251
|
|
|
252
252
|
## Import
|
|
@@ -298,8 +298,8 @@ class Repo(pulumi.CustomResource):
|
|
|
298
298
|
namespace=example.name,
|
|
299
299
|
name=name,
|
|
300
300
|
summary="this is summary of my new repo",
|
|
301
|
-
repo_type="
|
|
302
|
-
detail="this is a
|
|
301
|
+
repo_type="PRIVATE",
|
|
302
|
+
detail="this is a private repo")
|
|
303
303
|
```
|
|
304
304
|
|
|
305
305
|
## Import
|
|
@@ -375,7 +375,7 @@ class Repo(pulumi.CustomResource):
|
|
|
375
375
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
376
376
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
377
377
|
:param pulumi.Input[str] detail: The repository specific information. MarkDown format is supported, and the length limit is 2000.
|
|
378
|
-
:param pulumi.Input[Union['RepoDomainListArgs', 'RepoDomainListArgsDict']] domain_list: The repository domain list.
|
|
378
|
+
:param pulumi.Input[Union['RepoDomainListArgs', 'RepoDomainListArgsDict']] domain_list: (Optional) The repository domain list.
|
|
379
379
|
:param pulumi.Input[str] name: Name of container registry repository.
|
|
380
380
|
:param pulumi.Input[str] namespace: Name of container registry namespace where repository is located.
|
|
381
381
|
:param pulumi.Input[str] repo_type: `PUBLIC` or `PRIVATE`, repo's visibility.
|
|
@@ -405,7 +405,7 @@ class Repo(pulumi.CustomResource):
|
|
|
405
405
|
@pulumi.getter(name="domainList")
|
|
406
406
|
def domain_list(self) -> pulumi.Output['outputs.RepoDomainList']:
|
|
407
407
|
"""
|
|
408
|
-
The repository domain list.
|
|
408
|
+
(Optional) The repository domain list.
|
|
409
409
|
"""
|
|
410
410
|
return pulumi.get(self, "domain_list")
|
|
411
411
|
|