pulumi-alicloud 3.81.0a1750224117__py3-none-any.whl → 3.82.0a1751947305__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 +40 -0
- pulumi_alicloud/alikafka/__init__.py +2 -0
- pulumi_alicloud/alikafka/_inputs.py +450 -0
- pulumi_alicloud/alikafka/instance.py +331 -95
- pulumi_alicloud/alikafka/outputs.py +346 -0
- pulumi_alicloud/cdn/get_service.py +4 -4
- pulumi_alicloud/cen/get_transit_router_route_table_propagations.py +116 -21
- pulumi_alicloud/cen/get_transit_router_route_tables.py +35 -29
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +178 -59
- pulumi_alicloud/cen/outputs.py +56 -41
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/policy_advanced_config.py +165 -0
- pulumi_alicloud/cs/_inputs.py +54 -0
- pulumi_alicloud/cs/node_pool.py +158 -45
- pulumi_alicloud/cs/outputs.py +51 -0
- pulumi_alicloud/dfs/vsc_mount_point.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +66 -0
- pulumi_alicloud/ecs/ecs_network_interface.py +47 -0
- pulumi_alicloud/ecs/get_ecs_key_pairs.py +57 -13
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +15 -14
- pulumi_alicloud/ecs/get_key_pairs.py +1 -1
- pulumi_alicloud/ecs/instance.py +115 -0
- pulumi_alicloud/ecs/outputs.py +176 -80
- pulumi_alicloud/eflo/node_group.py +103 -7
- pulumi_alicloud/emrv2/_inputs.py +74 -0
- pulumi_alicloud/emrv2/outputs.py +65 -0
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/certificate.py +7 -28
- pulumi_alicloud/esa/custom_scene_policy.py +484 -0
- pulumi_alicloud/esa/version.py +406 -0
- pulumi_alicloud/eventbridge/service_linked_role.py +25 -31
- pulumi_alicloud/ga/forwarding_rule.py +2 -2
- pulumi_alicloud/gpdb/instance.py +28 -28
- pulumi_alicloud/hbr/__init__.py +1 -0
- pulumi_alicloud/hbr/get_udm_snapshots.py +282 -0
- pulumi_alicloud/hbr/ots_backup_plan.py +2 -2
- pulumi_alicloud/hbr/outputs.py +96 -0
- pulumi_alicloud/hbr/replication_vault.py +167 -41
- pulumi_alicloud/hbr/vault.py +21 -7
- pulumi_alicloud/kms/secret.py +42 -28
- pulumi_alicloud/maxcompute/_inputs.py +26 -6
- pulumi_alicloud/maxcompute/outputs.py +18 -4
- pulumi_alicloud/maxcompute/project.py +50 -3
- pulumi_alicloud/message/__init__.py +1 -0
- pulumi_alicloud/message/service_service.py +132 -0
- pulumi_alicloud/message/service_subscription.py +37 -23
- pulumi_alicloud/mns/get_service.py +8 -4
- pulumi_alicloud/mongodb/instance.py +63 -16
- pulumi_alicloud/mongodb/sharding_instance.py +249 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/role.py +306 -105
- pulumi_alicloud/rds/_inputs.py +0 -9
- pulumi_alicloud/rds/custom.py +360 -31
- pulumi_alicloud/rds/outputs.py +0 -6
- pulumi_alicloud/threatdetection/__init__.py +1 -0
- pulumi_alicloud/threatdetection/cycle_task.py +731 -0
- pulumi_alicloud/vpc/network_interface.py +34 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/RECORD +61 -53
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/top_level.txt +0 -0
pulumi_alicloud/kms/secret.py
CHANGED
|
@@ -38,8 +38,8 @@ class SecretArgs:
|
|
|
38
38
|
version_stages: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
39
39
|
"""
|
|
40
40
|
The set of arguments for constructing a Secret resource.
|
|
41
|
-
:param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1,
|
|
42
|
-
:param pulumi.Input[builtins.str] secret_name: The name of the secret.
|
|
41
|
+
:param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
|
|
42
|
+
:param pulumi.Input[builtins.str] secret_name: The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
43
43
|
:param pulumi.Input[builtins.str] version_id: The version number of the initial version.
|
|
44
44
|
:param pulumi.Input[builtins.str] description: The description of the secret.
|
|
45
45
|
:param pulumi.Input[builtins.str] dkms_instance_id: The ID of the KMS instance.
|
|
@@ -48,14 +48,16 @@ class SecretArgs:
|
|
|
48
48
|
:param pulumi.Input[builtins.str] extended_config: The extended configuration of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
49
49
|
:param pulumi.Input[builtins.bool] force_delete_without_recovery: Specifies whether to immediately delete a secret. Default value: `false`. Valid values: `true`, `false`.
|
|
50
50
|
:param pulumi.Input[builtins.str] policy: The content of the secret policy. The value is in the JSON format. The value can be up to 32,768 bytes in length. For more information, see [How to use it](https://www.alibabacloud.com/help/en/kms/developer-reference/api-setsecretpolicy).
|
|
51
|
-
:param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
52
|
-
:param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation.
|
|
51
|
+
:param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
52
|
+
:param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
53
53
|
:param pulumi.Input[builtins.str] secret_data_type: The type of the secret value. Default value: `text`. Valid values: `text`, `binary`.
|
|
54
54
|
:param pulumi.Input[builtins.str] secret_type: The type of the secret. Valid values:
|
|
55
55
|
- `Generic`: Generic secret.
|
|
56
56
|
- `Rds`: ApsaraDB RDS secret.
|
|
57
|
+
- `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
|
|
57
58
|
- `RAMCredentials`: RAM secret.
|
|
58
59
|
- `ECS`: ECS secret.
|
|
60
|
+
- `PolarDB`: (Available since v1.253.0) PolarDB secret.
|
|
59
61
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A mapping of tags to assign to the resource.
|
|
60
62
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] version_stages: The stage label that is used to mark the new version.
|
|
61
63
|
"""
|
|
@@ -93,7 +95,7 @@ class SecretArgs:
|
|
|
93
95
|
@pulumi.getter(name="secretData")
|
|
94
96
|
def secret_data(self) -> pulumi.Input[builtins.str]:
|
|
95
97
|
"""
|
|
96
|
-
The data of the secret. **NOTE:** From version 1.204.1,
|
|
98
|
+
The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
|
|
97
99
|
"""
|
|
98
100
|
return pulumi.get(self, "secret_data")
|
|
99
101
|
|
|
@@ -105,7 +107,7 @@ class SecretArgs:
|
|
|
105
107
|
@pulumi.getter(name="secretName")
|
|
106
108
|
def secret_name(self) -> pulumi.Input[builtins.str]:
|
|
107
109
|
"""
|
|
108
|
-
The name of the secret.
|
|
110
|
+
The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
109
111
|
"""
|
|
110
112
|
return pulumi.get(self, "secret_name")
|
|
111
113
|
|
|
@@ -213,7 +215,7 @@ class SecretArgs:
|
|
|
213
215
|
@pulumi.getter(name="recoveryWindowInDays")
|
|
214
216
|
def recovery_window_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
215
217
|
"""
|
|
216
|
-
Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
218
|
+
Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
217
219
|
"""
|
|
218
220
|
return pulumi.get(self, "recovery_window_in_days")
|
|
219
221
|
|
|
@@ -225,7 +227,7 @@ class SecretArgs:
|
|
|
225
227
|
@pulumi.getter(name="rotationInterval")
|
|
226
228
|
def rotation_interval(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
227
229
|
"""
|
|
228
|
-
The interval for automatic rotation.
|
|
230
|
+
The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
229
231
|
"""
|
|
230
232
|
return pulumi.get(self, "rotation_interval")
|
|
231
233
|
|
|
@@ -252,8 +254,10 @@ class SecretArgs:
|
|
|
252
254
|
The type of the secret. Valid values:
|
|
253
255
|
- `Generic`: Generic secret.
|
|
254
256
|
- `Rds`: ApsaraDB RDS secret.
|
|
257
|
+
- `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
|
|
255
258
|
- `RAMCredentials`: RAM secret.
|
|
256
259
|
- `ECS`: ECS secret.
|
|
260
|
+
- `PolarDB`: (Available since v1.253.0) PolarDB secret.
|
|
257
261
|
"""
|
|
258
262
|
return pulumi.get(self, "secret_type")
|
|
259
263
|
|
|
@@ -320,16 +324,18 @@ class _SecretState:
|
|
|
320
324
|
:param pulumi.Input[builtins.bool] force_delete_without_recovery: Specifies whether to immediately delete a secret. Default value: `false`. Valid values: `true`, `false`.
|
|
321
325
|
:param pulumi.Input[builtins.str] planned_delete_time: The time when the secret is scheduled to be deleted.
|
|
322
326
|
:param pulumi.Input[builtins.str] policy: The content of the secret policy. The value is in the JSON format. The value can be up to 32,768 bytes in length. For more information, see [How to use it](https://www.alibabacloud.com/help/en/kms/developer-reference/api-setsecretpolicy).
|
|
323
|
-
:param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
324
|
-
:param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation.
|
|
325
|
-
:param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1,
|
|
327
|
+
:param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
328
|
+
:param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
329
|
+
:param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
|
|
326
330
|
:param pulumi.Input[builtins.str] secret_data_type: The type of the secret value. Default value: `text`. Valid values: `text`, `binary`.
|
|
327
|
-
:param pulumi.Input[builtins.str] secret_name: The name of the secret.
|
|
331
|
+
:param pulumi.Input[builtins.str] secret_name: The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
328
332
|
:param pulumi.Input[builtins.str] secret_type: The type of the secret. Valid values:
|
|
329
333
|
- `Generic`: Generic secret.
|
|
330
334
|
- `Rds`: ApsaraDB RDS secret.
|
|
335
|
+
- `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
|
|
331
336
|
- `RAMCredentials`: RAM secret.
|
|
332
337
|
- `ECS`: ECS secret.
|
|
338
|
+
- `PolarDB`: (Available since v1.253.0) PolarDB secret.
|
|
333
339
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A mapping of tags to assign to the resource.
|
|
334
340
|
:param pulumi.Input[builtins.str] version_id: The version number of the initial version.
|
|
335
341
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] version_stages: The stage label that is used to mark the new version.
|
|
@@ -497,7 +503,7 @@ class _SecretState:
|
|
|
497
503
|
@pulumi.getter(name="recoveryWindowInDays")
|
|
498
504
|
def recovery_window_in_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
499
505
|
"""
|
|
500
|
-
Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
506
|
+
Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
501
507
|
"""
|
|
502
508
|
return pulumi.get(self, "recovery_window_in_days")
|
|
503
509
|
|
|
@@ -509,7 +515,7 @@ class _SecretState:
|
|
|
509
515
|
@pulumi.getter(name="rotationInterval")
|
|
510
516
|
def rotation_interval(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
511
517
|
"""
|
|
512
|
-
The interval for automatic rotation.
|
|
518
|
+
The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
513
519
|
"""
|
|
514
520
|
return pulumi.get(self, "rotation_interval")
|
|
515
521
|
|
|
@@ -521,7 +527,7 @@ class _SecretState:
|
|
|
521
527
|
@pulumi.getter(name="secretData")
|
|
522
528
|
def secret_data(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
523
529
|
"""
|
|
524
|
-
The data of the secret. **NOTE:** From version 1.204.1,
|
|
530
|
+
The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
|
|
525
531
|
"""
|
|
526
532
|
return pulumi.get(self, "secret_data")
|
|
527
533
|
|
|
@@ -545,7 +551,7 @@ class _SecretState:
|
|
|
545
551
|
@pulumi.getter(name="secretName")
|
|
546
552
|
def secret_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
547
553
|
"""
|
|
548
|
-
The name of the secret.
|
|
554
|
+
The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
549
555
|
"""
|
|
550
556
|
return pulumi.get(self, "secret_name")
|
|
551
557
|
|
|
@@ -560,8 +566,10 @@ class _SecretState:
|
|
|
560
566
|
The type of the secret. Valid values:
|
|
561
567
|
- `Generic`: Generic secret.
|
|
562
568
|
- `Rds`: ApsaraDB RDS secret.
|
|
569
|
+
- `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
|
|
563
570
|
- `RAMCredentials`: RAM secret.
|
|
564
571
|
- `ECS`: ECS secret.
|
|
572
|
+
- `PolarDB`: (Available since v1.253.0) PolarDB secret.
|
|
565
573
|
"""
|
|
566
574
|
return pulumi.get(self, "secret_type")
|
|
567
575
|
|
|
@@ -672,16 +680,18 @@ class Secret(pulumi.CustomResource):
|
|
|
672
680
|
:param pulumi.Input[builtins.str] extended_config: The extended configuration of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
673
681
|
:param pulumi.Input[builtins.bool] force_delete_without_recovery: Specifies whether to immediately delete a secret. Default value: `false`. Valid values: `true`, `false`.
|
|
674
682
|
:param pulumi.Input[builtins.str] policy: The content of the secret policy. The value is in the JSON format. The value can be up to 32,768 bytes in length. For more information, see [How to use it](https://www.alibabacloud.com/help/en/kms/developer-reference/api-setsecretpolicy).
|
|
675
|
-
:param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
676
|
-
:param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation.
|
|
677
|
-
:param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1,
|
|
683
|
+
:param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
684
|
+
:param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
685
|
+
:param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
|
|
678
686
|
:param pulumi.Input[builtins.str] secret_data_type: The type of the secret value. Default value: `text`. Valid values: `text`, `binary`.
|
|
679
|
-
:param pulumi.Input[builtins.str] secret_name: The name of the secret.
|
|
687
|
+
:param pulumi.Input[builtins.str] secret_name: The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
680
688
|
:param pulumi.Input[builtins.str] secret_type: The type of the secret. Valid values:
|
|
681
689
|
- `Generic`: Generic secret.
|
|
682
690
|
- `Rds`: ApsaraDB RDS secret.
|
|
691
|
+
- `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
|
|
683
692
|
- `RAMCredentials`: RAM secret.
|
|
684
693
|
- `ECS`: ECS secret.
|
|
694
|
+
- `PolarDB`: (Available since v1.253.0) PolarDB secret.
|
|
685
695
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A mapping of tags to assign to the resource.
|
|
686
696
|
:param pulumi.Input[builtins.str] version_id: The version number of the initial version.
|
|
687
697
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] version_stages: The stage label that is used to mark the new version.
|
|
@@ -839,16 +849,18 @@ class Secret(pulumi.CustomResource):
|
|
|
839
849
|
:param pulumi.Input[builtins.bool] force_delete_without_recovery: Specifies whether to immediately delete a secret. Default value: `false`. Valid values: `true`, `false`.
|
|
840
850
|
:param pulumi.Input[builtins.str] planned_delete_time: The time when the secret is scheduled to be deleted.
|
|
841
851
|
:param pulumi.Input[builtins.str] policy: The content of the secret policy. The value is in the JSON format. The value can be up to 32,768 bytes in length. For more information, see [How to use it](https://www.alibabacloud.com/help/en/kms/developer-reference/api-setsecretpolicy).
|
|
842
|
-
:param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
843
|
-
:param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation.
|
|
844
|
-
:param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1,
|
|
852
|
+
:param pulumi.Input[builtins.int] recovery_window_in_days: Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
853
|
+
:param pulumi.Input[builtins.str] rotation_interval: The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
854
|
+
:param pulumi.Input[builtins.str] secret_data: The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
|
|
845
855
|
:param pulumi.Input[builtins.str] secret_data_type: The type of the secret value. Default value: `text`. Valid values: `text`, `binary`.
|
|
846
|
-
:param pulumi.Input[builtins.str] secret_name: The name of the secret.
|
|
856
|
+
:param pulumi.Input[builtins.str] secret_name: The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
847
857
|
:param pulumi.Input[builtins.str] secret_type: The type of the secret. Valid values:
|
|
848
858
|
- `Generic`: Generic secret.
|
|
849
859
|
- `Rds`: ApsaraDB RDS secret.
|
|
860
|
+
- `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
|
|
850
861
|
- `RAMCredentials`: RAM secret.
|
|
851
862
|
- `ECS`: ECS secret.
|
|
863
|
+
- `PolarDB`: (Available since v1.253.0) PolarDB secret.
|
|
852
864
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A mapping of tags to assign to the resource.
|
|
853
865
|
:param pulumi.Input[builtins.str] version_id: The version number of the initial version.
|
|
854
866
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] version_stages: The stage label that is used to mark the new version.
|
|
@@ -962,7 +974,7 @@ class Secret(pulumi.CustomResource):
|
|
|
962
974
|
@pulumi.getter(name="recoveryWindowInDays")
|
|
963
975
|
def recovery_window_in_days(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
964
976
|
"""
|
|
965
|
-
Specifies the recovery period of the secret if you do not forcibly delete it. Default value: `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
977
|
+
Specifies the recovery period of the secret if you do not forcibly delete it. Unit: Days. Default value: `30`. Valid values: `7` to `30`. **NOTE:** If `force_delete_without_recovery` is set to `true`, `recovery_window_in_days` will be ignored.
|
|
966
978
|
"""
|
|
967
979
|
return pulumi.get(self, "recovery_window_in_days")
|
|
968
980
|
|
|
@@ -970,7 +982,7 @@ class Secret(pulumi.CustomResource):
|
|
|
970
982
|
@pulumi.getter(name="rotationInterval")
|
|
971
983
|
def rotation_interval(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
972
984
|
"""
|
|
973
|
-
The interval for automatic rotation.
|
|
985
|
+
The interval for automatic rotation. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
974
986
|
"""
|
|
975
987
|
return pulumi.get(self, "rotation_interval")
|
|
976
988
|
|
|
@@ -978,7 +990,7 @@ class Secret(pulumi.CustomResource):
|
|
|
978
990
|
@pulumi.getter(name="secretData")
|
|
979
991
|
def secret_data(self) -> pulumi.Output[builtins.str]:
|
|
980
992
|
"""
|
|
981
|
-
The data of the secret. **NOTE:** From version 1.204.1,
|
|
993
|
+
The data of the secret. **NOTE:** From version 1.204.1, `secret_data` updating diff will be ignored when `secret_type` is not `Generic`.
|
|
982
994
|
"""
|
|
983
995
|
return pulumi.get(self, "secret_data")
|
|
984
996
|
|
|
@@ -994,7 +1006,7 @@ class Secret(pulumi.CustomResource):
|
|
|
994
1006
|
@pulumi.getter(name="secretName")
|
|
995
1007
|
def secret_name(self) -> pulumi.Output[builtins.str]:
|
|
996
1008
|
"""
|
|
997
|
-
The name of the secret.
|
|
1009
|
+
The name of the secret. For more information, see [How to use it](https://www.alibabacloud.com/help/en/key-management-service/latest/kms-createsecret).
|
|
998
1010
|
"""
|
|
999
1011
|
return pulumi.get(self, "secret_name")
|
|
1000
1012
|
|
|
@@ -1005,8 +1017,10 @@ class Secret(pulumi.CustomResource):
|
|
|
1005
1017
|
The type of the secret. Valid values:
|
|
1006
1018
|
- `Generic`: Generic secret.
|
|
1007
1019
|
- `Rds`: ApsaraDB RDS secret.
|
|
1020
|
+
- `Redis`: (Available since v1.253.0) ApsaraDB for Redis secret.
|
|
1008
1021
|
- `RAMCredentials`: RAM secret.
|
|
1009
1022
|
- `ECS`: ECS secret.
|
|
1023
|
+
- `PolarDB`: (Available since v1.253.0) PolarDB secret.
|
|
1010
1024
|
"""
|
|
1011
1025
|
return pulumi.get(self, "secret_type")
|
|
1012
1026
|
|
|
@@ -120,11 +120,15 @@ if not MYPY:
|
|
|
120
120
|
class ProjectPropertiesArgsDict(TypedDict):
|
|
121
121
|
allow_full_scan: NotRequired[pulumi.Input[builtins.bool]]
|
|
122
122
|
"""
|
|
123
|
-
Whether to allow full table scan. Default: false
|
|
123
|
+
Whether to allow full table scan. Default: `false`.
|
|
124
124
|
"""
|
|
125
125
|
enable_decimal2: NotRequired[pulumi.Input[builtins.bool]]
|
|
126
126
|
"""
|
|
127
|
-
Whether to turn on Decimal2.0
|
|
127
|
+
Whether to turn on Decimal2.0.
|
|
128
|
+
"""
|
|
129
|
+
enable_dr: NotRequired[pulumi.Input[builtins.bool]]
|
|
130
|
+
"""
|
|
131
|
+
Enable multi-AZ storage disaster tolerance. Valid values: `true`, `false`.
|
|
128
132
|
"""
|
|
129
133
|
encryption: NotRequired[pulumi.Input['ProjectPropertiesEncryptionArgsDict']]
|
|
130
134
|
"""
|
|
@@ -171,6 +175,7 @@ class ProjectPropertiesArgs:
|
|
|
171
175
|
def __init__(__self__, *,
|
|
172
176
|
allow_full_scan: Optional[pulumi.Input[builtins.bool]] = None,
|
|
173
177
|
enable_decimal2: Optional[pulumi.Input[builtins.bool]] = None,
|
|
178
|
+
enable_dr: Optional[pulumi.Input[builtins.bool]] = None,
|
|
174
179
|
encryption: Optional[pulumi.Input['ProjectPropertiesEncryptionArgs']] = None,
|
|
175
180
|
retention_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
176
181
|
sql_metering_max: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -178,8 +183,9 @@ class ProjectPropertiesArgs:
|
|
|
178
183
|
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
179
184
|
type_system: Optional[pulumi.Input[builtins.str]] = None):
|
|
180
185
|
"""
|
|
181
|
-
:param pulumi.Input[builtins.bool] allow_full_scan: Whether to allow full table scan. Default: false
|
|
182
|
-
:param pulumi.Input[builtins.bool] enable_decimal2: Whether to turn on Decimal2.0
|
|
186
|
+
:param pulumi.Input[builtins.bool] allow_full_scan: Whether to allow full table scan. Default: `false`.
|
|
187
|
+
:param pulumi.Input[builtins.bool] enable_decimal2: Whether to turn on Decimal2.0.
|
|
188
|
+
:param pulumi.Input[builtins.bool] enable_dr: Enable multi-AZ storage disaster tolerance. Valid values: `true`, `false`.
|
|
183
189
|
:param pulumi.Input['ProjectPropertiesEncryptionArgs'] encryption: Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
|
|
184
190
|
> **NOTE :**:
|
|
185
191
|
To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.
|
|
@@ -204,6 +210,8 @@ class ProjectPropertiesArgs:
|
|
|
204
210
|
pulumi.set(__self__, "allow_full_scan", allow_full_scan)
|
|
205
211
|
if enable_decimal2 is not None:
|
|
206
212
|
pulumi.set(__self__, "enable_decimal2", enable_decimal2)
|
|
213
|
+
if enable_dr is not None:
|
|
214
|
+
pulumi.set(__self__, "enable_dr", enable_dr)
|
|
207
215
|
if encryption is not None:
|
|
208
216
|
pulumi.set(__self__, "encryption", encryption)
|
|
209
217
|
if retention_days is not None:
|
|
@@ -221,7 +229,7 @@ class ProjectPropertiesArgs:
|
|
|
221
229
|
@pulumi.getter(name="allowFullScan")
|
|
222
230
|
def allow_full_scan(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
223
231
|
"""
|
|
224
|
-
Whether to allow full table scan. Default: false
|
|
232
|
+
Whether to allow full table scan. Default: `false`.
|
|
225
233
|
"""
|
|
226
234
|
return pulumi.get(self, "allow_full_scan")
|
|
227
235
|
|
|
@@ -233,7 +241,7 @@ class ProjectPropertiesArgs:
|
|
|
233
241
|
@pulumi.getter(name="enableDecimal2")
|
|
234
242
|
def enable_decimal2(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
235
243
|
"""
|
|
236
|
-
Whether to turn on Decimal2.0
|
|
244
|
+
Whether to turn on Decimal2.0.
|
|
237
245
|
"""
|
|
238
246
|
return pulumi.get(self, "enable_decimal2")
|
|
239
247
|
|
|
@@ -241,6 +249,18 @@ class ProjectPropertiesArgs:
|
|
|
241
249
|
def enable_decimal2(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
242
250
|
pulumi.set(self, "enable_decimal2", value)
|
|
243
251
|
|
|
252
|
+
@property
|
|
253
|
+
@pulumi.getter(name="enableDr")
|
|
254
|
+
def enable_dr(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
255
|
+
"""
|
|
256
|
+
Enable multi-AZ storage disaster tolerance. Valid values: `true`, `false`.
|
|
257
|
+
"""
|
|
258
|
+
return pulumi.get(self, "enable_dr")
|
|
259
|
+
|
|
260
|
+
@enable_dr.setter
|
|
261
|
+
def enable_dr(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
262
|
+
pulumi.set(self, "enable_dr", value)
|
|
263
|
+
|
|
244
264
|
@property
|
|
245
265
|
@pulumi.getter
|
|
246
266
|
def encryption(self) -> Optional[pulumi.Input['ProjectPropertiesEncryptionArgs']]:
|
|
@@ -109,6 +109,8 @@ class ProjectProperties(dict):
|
|
|
109
109
|
suggest = "allow_full_scan"
|
|
110
110
|
elif key == "enableDecimal2":
|
|
111
111
|
suggest = "enable_decimal2"
|
|
112
|
+
elif key == "enableDr":
|
|
113
|
+
suggest = "enable_dr"
|
|
112
114
|
elif key == "retentionDays":
|
|
113
115
|
suggest = "retention_days"
|
|
114
116
|
elif key == "sqlMeteringMax":
|
|
@@ -132,6 +134,7 @@ class ProjectProperties(dict):
|
|
|
132
134
|
def __init__(__self__, *,
|
|
133
135
|
allow_full_scan: Optional[builtins.bool] = None,
|
|
134
136
|
enable_decimal2: Optional[builtins.bool] = None,
|
|
137
|
+
enable_dr: Optional[builtins.bool] = None,
|
|
135
138
|
encryption: Optional['outputs.ProjectPropertiesEncryption'] = None,
|
|
136
139
|
retention_days: Optional[builtins.int] = None,
|
|
137
140
|
sql_metering_max: Optional[builtins.str] = None,
|
|
@@ -139,8 +142,9 @@ class ProjectProperties(dict):
|
|
|
139
142
|
timezone: Optional[builtins.str] = None,
|
|
140
143
|
type_system: Optional[builtins.str] = None):
|
|
141
144
|
"""
|
|
142
|
-
:param builtins.bool allow_full_scan: Whether to allow full table scan. Default: false
|
|
143
|
-
:param builtins.bool enable_decimal2: Whether to turn on Decimal2.0
|
|
145
|
+
:param builtins.bool allow_full_scan: Whether to allow full table scan. Default: `false`.
|
|
146
|
+
:param builtins.bool enable_decimal2: Whether to turn on Decimal2.0.
|
|
147
|
+
:param builtins.bool enable_dr: Enable multi-AZ storage disaster tolerance. Valid values: `true`, `false`.
|
|
144
148
|
:param 'ProjectPropertiesEncryptionArgs' encryption: Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
|
|
145
149
|
> **NOTE :**:
|
|
146
150
|
To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.
|
|
@@ -165,6 +169,8 @@ class ProjectProperties(dict):
|
|
|
165
169
|
pulumi.set(__self__, "allow_full_scan", allow_full_scan)
|
|
166
170
|
if enable_decimal2 is not None:
|
|
167
171
|
pulumi.set(__self__, "enable_decimal2", enable_decimal2)
|
|
172
|
+
if enable_dr is not None:
|
|
173
|
+
pulumi.set(__self__, "enable_dr", enable_dr)
|
|
168
174
|
if encryption is not None:
|
|
169
175
|
pulumi.set(__self__, "encryption", encryption)
|
|
170
176
|
if retention_days is not None:
|
|
@@ -182,7 +188,7 @@ class ProjectProperties(dict):
|
|
|
182
188
|
@pulumi.getter(name="allowFullScan")
|
|
183
189
|
def allow_full_scan(self) -> Optional[builtins.bool]:
|
|
184
190
|
"""
|
|
185
|
-
Whether to allow full table scan. Default: false
|
|
191
|
+
Whether to allow full table scan. Default: `false`.
|
|
186
192
|
"""
|
|
187
193
|
return pulumi.get(self, "allow_full_scan")
|
|
188
194
|
|
|
@@ -190,10 +196,18 @@ class ProjectProperties(dict):
|
|
|
190
196
|
@pulumi.getter(name="enableDecimal2")
|
|
191
197
|
def enable_decimal2(self) -> Optional[builtins.bool]:
|
|
192
198
|
"""
|
|
193
|
-
Whether to turn on Decimal2.0
|
|
199
|
+
Whether to turn on Decimal2.0.
|
|
194
200
|
"""
|
|
195
201
|
return pulumi.get(self, "enable_decimal2")
|
|
196
202
|
|
|
203
|
+
@property
|
|
204
|
+
@pulumi.getter(name="enableDr")
|
|
205
|
+
def enable_dr(self) -> Optional[builtins.bool]:
|
|
206
|
+
"""
|
|
207
|
+
Enable multi-AZ storage disaster tolerance. Valid values: `true`, `false`.
|
|
208
|
+
"""
|
|
209
|
+
return pulumi.get(self, "enable_dr")
|
|
210
|
+
|
|
197
211
|
@property
|
|
198
212
|
@pulumi.getter
|
|
199
213
|
def encryption(self) -> Optional['outputs.ProjectPropertiesEncryption']:
|
|
@@ -31,7 +31,8 @@ class ProjectArgs:
|
|
|
31
31
|
properties: Optional[pulumi.Input['ProjectPropertiesArgs']] = None,
|
|
32
32
|
security_properties: Optional[pulumi.Input['ProjectSecurityPropertiesArgs']] = None,
|
|
33
33
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None
|
|
34
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
35
|
+
three_tier_model: Optional[pulumi.Input[builtins.bool]] = None):
|
|
35
36
|
"""
|
|
36
37
|
The set of arguments for constructing a Project resource.
|
|
37
38
|
:param pulumi.Input[builtins.str] comment: Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
|
|
@@ -46,6 +47,7 @@ class ProjectArgs:
|
|
|
46
47
|
:param pulumi.Input['ProjectSecurityPropertiesArgs'] security_properties: Security-related attributes See `security_properties` below.
|
|
47
48
|
:param pulumi.Input[builtins.str] status: The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
|
|
48
49
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
50
|
+
:param pulumi.Input[builtins.bool] three_tier_model: Indicates whether data storage by schema is supported. Valid values:
|
|
49
51
|
"""
|
|
50
52
|
if comment is not None:
|
|
51
53
|
pulumi.set(__self__, "comment", comment)
|
|
@@ -67,6 +69,8 @@ class ProjectArgs:
|
|
|
67
69
|
pulumi.set(__self__, "status", status)
|
|
68
70
|
if tags is not None:
|
|
69
71
|
pulumi.set(__self__, "tags", tags)
|
|
72
|
+
if three_tier_model is not None:
|
|
73
|
+
pulumi.set(__self__, "three_tier_model", three_tier_model)
|
|
70
74
|
|
|
71
75
|
@property
|
|
72
76
|
@pulumi.getter
|
|
@@ -188,6 +192,18 @@ class ProjectArgs:
|
|
|
188
192
|
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
189
193
|
pulumi.set(self, "tags", value)
|
|
190
194
|
|
|
195
|
+
@property
|
|
196
|
+
@pulumi.getter(name="threeTierModel")
|
|
197
|
+
def three_tier_model(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
198
|
+
"""
|
|
199
|
+
Indicates whether data storage by schema is supported. Valid values:
|
|
200
|
+
"""
|
|
201
|
+
return pulumi.get(self, "three_tier_model")
|
|
202
|
+
|
|
203
|
+
@three_tier_model.setter
|
|
204
|
+
def three_tier_model(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
205
|
+
pulumi.set(self, "three_tier_model", value)
|
|
206
|
+
|
|
191
207
|
|
|
192
208
|
@pulumi.input_type
|
|
193
209
|
class _ProjectState:
|
|
@@ -205,6 +221,7 @@ class _ProjectState:
|
|
|
205
221
|
security_properties: Optional[pulumi.Input['ProjectSecurityPropertiesArgs']] = None,
|
|
206
222
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
207
223
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
224
|
+
three_tier_model: Optional[pulumi.Input[builtins.bool]] = None,
|
|
208
225
|
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
209
226
|
"""
|
|
210
227
|
Input properties used for looking up and filtering Project resources.
|
|
@@ -223,6 +240,7 @@ class _ProjectState:
|
|
|
223
240
|
:param pulumi.Input['ProjectSecurityPropertiesArgs'] security_properties: Security-related attributes See `security_properties` below.
|
|
224
241
|
:param pulumi.Input[builtins.str] status: The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
|
|
225
242
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
243
|
+
:param pulumi.Input[builtins.bool] three_tier_model: Indicates whether data storage by schema is supported. Valid values:
|
|
226
244
|
:param pulumi.Input[builtins.str] type: Project type
|
|
227
245
|
"""
|
|
228
246
|
if comment is not None:
|
|
@@ -251,6 +269,8 @@ class _ProjectState:
|
|
|
251
269
|
pulumi.set(__self__, "status", status)
|
|
252
270
|
if tags is not None:
|
|
253
271
|
pulumi.set(__self__, "tags", tags)
|
|
272
|
+
if three_tier_model is not None:
|
|
273
|
+
pulumi.set(__self__, "three_tier_model", three_tier_model)
|
|
254
274
|
if type is not None:
|
|
255
275
|
pulumi.set(__self__, "type", type)
|
|
256
276
|
|
|
@@ -410,6 +430,18 @@ class _ProjectState:
|
|
|
410
430
|
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
411
431
|
pulumi.set(self, "tags", value)
|
|
412
432
|
|
|
433
|
+
@property
|
|
434
|
+
@pulumi.getter(name="threeTierModel")
|
|
435
|
+
def three_tier_model(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
436
|
+
"""
|
|
437
|
+
Indicates whether data storage by schema is supported. Valid values:
|
|
438
|
+
"""
|
|
439
|
+
return pulumi.get(self, "three_tier_model")
|
|
440
|
+
|
|
441
|
+
@three_tier_model.setter
|
|
442
|
+
def three_tier_model(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
443
|
+
pulumi.set(self, "three_tier_model", value)
|
|
444
|
+
|
|
413
445
|
@property
|
|
414
446
|
@pulumi.getter
|
|
415
447
|
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -439,6 +471,7 @@ class Project(pulumi.CustomResource):
|
|
|
439
471
|
security_properties: Optional[pulumi.Input[Union['ProjectSecurityPropertiesArgs', 'ProjectSecurityPropertiesArgsDict']]] = None,
|
|
440
472
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
441
473
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
474
|
+
three_tier_model: Optional[pulumi.Input[builtins.bool]] = None,
|
|
442
475
|
__props__=None):
|
|
443
476
|
"""
|
|
444
477
|
Provides a Max Compute Project resource.
|
|
@@ -462,7 +495,7 @@ class Project(pulumi.CustomResource):
|
|
|
462
495
|
if name is None:
|
|
463
496
|
name = "tf_example"
|
|
464
497
|
default = alicloud.maxcompute.Project("default",
|
|
465
|
-
default_quota="
|
|
498
|
+
default_quota="os_PayAsYouGoQuota",
|
|
466
499
|
project_name=name,
|
|
467
500
|
comment=name)
|
|
468
501
|
```
|
|
@@ -489,6 +522,7 @@ class Project(pulumi.CustomResource):
|
|
|
489
522
|
:param pulumi.Input[Union['ProjectSecurityPropertiesArgs', 'ProjectSecurityPropertiesArgsDict']] security_properties: Security-related attributes See `security_properties` below.
|
|
490
523
|
:param pulumi.Input[builtins.str] status: The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
|
|
491
524
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
525
|
+
:param pulumi.Input[builtins.bool] three_tier_model: Indicates whether data storage by schema is supported. Valid values:
|
|
492
526
|
"""
|
|
493
527
|
...
|
|
494
528
|
@overload
|
|
@@ -518,7 +552,7 @@ class Project(pulumi.CustomResource):
|
|
|
518
552
|
if name is None:
|
|
519
553
|
name = "tf_example"
|
|
520
554
|
default = alicloud.maxcompute.Project("default",
|
|
521
|
-
default_quota="
|
|
555
|
+
default_quota="os_PayAsYouGoQuota",
|
|
522
556
|
project_name=name,
|
|
523
557
|
comment=name)
|
|
524
558
|
```
|
|
@@ -556,6 +590,7 @@ class Project(pulumi.CustomResource):
|
|
|
556
590
|
security_properties: Optional[pulumi.Input[Union['ProjectSecurityPropertiesArgs', 'ProjectSecurityPropertiesArgsDict']]] = None,
|
|
557
591
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
558
592
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
593
|
+
three_tier_model: Optional[pulumi.Input[builtins.bool]] = None,
|
|
559
594
|
__props__=None):
|
|
560
595
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
561
596
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -575,6 +610,7 @@ class Project(pulumi.CustomResource):
|
|
|
575
610
|
__props__.__dict__["security_properties"] = security_properties
|
|
576
611
|
__props__.__dict__["status"] = status
|
|
577
612
|
__props__.__dict__["tags"] = tags
|
|
613
|
+
__props__.__dict__["three_tier_model"] = three_tier_model
|
|
578
614
|
__props__.__dict__["create_time"] = None
|
|
579
615
|
__props__.__dict__["owner"] = None
|
|
580
616
|
__props__.__dict__["region_id"] = None
|
|
@@ -602,6 +638,7 @@ class Project(pulumi.CustomResource):
|
|
|
602
638
|
security_properties: Optional[pulumi.Input[Union['ProjectSecurityPropertiesArgs', 'ProjectSecurityPropertiesArgsDict']]] = None,
|
|
603
639
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
604
640
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
641
|
+
three_tier_model: Optional[pulumi.Input[builtins.bool]] = None,
|
|
605
642
|
type: Optional[pulumi.Input[builtins.str]] = None) -> 'Project':
|
|
606
643
|
"""
|
|
607
644
|
Get an existing Project resource's state with the given name, id, and optional extra
|
|
@@ -625,6 +662,7 @@ class Project(pulumi.CustomResource):
|
|
|
625
662
|
:param pulumi.Input[Union['ProjectSecurityPropertiesArgs', 'ProjectSecurityPropertiesArgsDict']] security_properties: Security-related attributes See `security_properties` below.
|
|
626
663
|
:param pulumi.Input[builtins.str] status: The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
|
|
627
664
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
665
|
+
:param pulumi.Input[builtins.bool] three_tier_model: Indicates whether data storage by schema is supported. Valid values:
|
|
628
666
|
:param pulumi.Input[builtins.str] type: Project type
|
|
629
667
|
"""
|
|
630
668
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -644,6 +682,7 @@ class Project(pulumi.CustomResource):
|
|
|
644
682
|
__props__.__dict__["security_properties"] = security_properties
|
|
645
683
|
__props__.__dict__["status"] = status
|
|
646
684
|
__props__.__dict__["tags"] = tags
|
|
685
|
+
__props__.__dict__["three_tier_model"] = three_tier_model
|
|
647
686
|
__props__.__dict__["type"] = type
|
|
648
687
|
return Project(resource_name, opts=opts, __props__=__props__)
|
|
649
688
|
|
|
@@ -751,6 +790,14 @@ class Project(pulumi.CustomResource):
|
|
|
751
790
|
"""
|
|
752
791
|
return pulumi.get(self, "tags")
|
|
753
792
|
|
|
793
|
+
@property
|
|
794
|
+
@pulumi.getter(name="threeTierModel")
|
|
795
|
+
def three_tier_model(self) -> pulumi.Output[builtins.bool]:
|
|
796
|
+
"""
|
|
797
|
+
Indicates whether data storage by schema is supported. Valid values:
|
|
798
|
+
"""
|
|
799
|
+
return pulumi.get(self, "three_tier_model")
|
|
800
|
+
|
|
754
801
|
@property
|
|
755
802
|
@pulumi.getter
|
|
756
803
|
def type(self) -> pulumi.Output[builtins.str]:
|
|
@@ -12,6 +12,7 @@ from .get_service_topics import *
|
|
|
12
12
|
from .service_endpoint import *
|
|
13
13
|
from .service_endpoint_acl import *
|
|
14
14
|
from .service_queue import *
|
|
15
|
+
from .service_service import *
|
|
15
16
|
from .service_subscription import *
|
|
16
17
|
from .service_topic import *
|
|
17
18
|
from ._inputs import *
|