pulumi-alicloud 3.80.0a1749533304__py3-none-any.whl → 3.81.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.

Files changed (41) hide show
  1. pulumi_alicloud/__init__.py +40 -0
  2. pulumi_alicloud/bastionhost/instance.py +7 -7
  3. pulumi_alicloud/cdn/get_service.py +4 -4
  4. pulumi_alicloud/cen/get_transit_router_route_table_propagations.py +116 -21
  5. pulumi_alicloud/cen/get_transit_router_route_tables.py +35 -29
  6. pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +178 -59
  7. pulumi_alicloud/cen/outputs.py +56 -41
  8. pulumi_alicloud/cs/_inputs.py +54 -0
  9. pulumi_alicloud/cs/node_pool.py +158 -45
  10. pulumi_alicloud/cs/outputs.py +51 -0
  11. pulumi_alicloud/dfs/vsc_mount_point.py +4 -4
  12. pulumi_alicloud/ecs/_inputs.py +66 -0
  13. pulumi_alicloud/ecs/ecs_network_interface.py +47 -0
  14. pulumi_alicloud/ecs/outputs.py +88 -24
  15. pulumi_alicloud/eflo/node_group.py +103 -7
  16. pulumi_alicloud/esa/__init__.py +4 -0
  17. pulumi_alicloud/esa/kv.py +500 -0
  18. pulumi_alicloud/esa/routine.py +285 -0
  19. pulumi_alicloud/esa/routine_route.py +578 -0
  20. pulumi_alicloud/esa/site.py +534 -3
  21. pulumi_alicloud/esa/video_processing.py +802 -0
  22. pulumi_alicloud/eventbridge/service_linked_role.py +25 -31
  23. pulumi_alicloud/ga/forwarding_rule.py +2 -2
  24. pulumi_alicloud/hbr/ots_backup_plan.py +2 -2
  25. pulumi_alicloud/hbr/replication_vault.py +167 -41
  26. pulumi_alicloud/hbr/vault.py +21 -7
  27. pulumi_alicloud/maxcompute/project.py +2 -2
  28. pulumi_alicloud/message/__init__.py +1 -0
  29. pulumi_alicloud/message/service_service.py +132 -0
  30. pulumi_alicloud/message/service_subscription.py +37 -23
  31. pulumi_alicloud/mns/get_service.py +8 -4
  32. pulumi_alicloud/pulumi-plugin.json +1 -1
  33. pulumi_alicloud/ram/role.py +306 -105
  34. pulumi_alicloud/rds/_inputs.py +0 -9
  35. pulumi_alicloud/rds/custom.py +360 -31
  36. pulumi_alicloud/rds/outputs.py +0 -6
  37. pulumi_alicloud/vpc/network_interface.py +34 -0
  38. {pulumi_alicloud-3.80.0a1749533304.dist-info → pulumi_alicloud-3.81.0.dist-info}/METADATA +1 -1
  39. {pulumi_alicloud-3.80.0a1749533304.dist-info → pulumi_alicloud-3.81.0.dist-info}/RECORD +41 -36
  40. {pulumi_alicloud-3.80.0a1749533304.dist-info → pulumi_alicloud-3.81.0.dist-info}/WHEEL +0 -0
  41. {pulumi_alicloud-3.80.0a1749533304.dist-info → pulumi_alicloud-3.81.0.dist-info}/top_level.txt +0 -0
@@ -23,9 +23,7 @@ class ServiceLinkedRoleArgs:
23
23
  product_name: pulumi.Input[builtins.str]):
24
24
  """
25
25
  The set of arguments for constructing a ServiceLinkedRole resource.
26
- :param pulumi.Input[builtins.str] product_name: The product name for SLR. EventBridge can automatically create the following service-linked roles:
27
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
28
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
26
+ :param pulumi.Input[builtins.str] product_name: The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
29
27
  """
30
28
  pulumi.set(__self__, "product_name", product_name)
31
29
 
@@ -33,9 +31,7 @@ class ServiceLinkedRoleArgs:
33
31
  @pulumi.getter(name="productName")
34
32
  def product_name(self) -> pulumi.Input[builtins.str]:
35
33
  """
36
- The product name for SLR. EventBridge can automatically create the following service-linked roles:
37
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
38
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
34
+ The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
39
35
  """
40
36
  return pulumi.get(self, "product_name")
41
37
 
@@ -50,9 +46,7 @@ class _ServiceLinkedRoleState:
50
46
  product_name: Optional[pulumi.Input[builtins.str]] = None):
51
47
  """
52
48
  Input properties used for looking up and filtering ServiceLinkedRole resources.
53
- :param pulumi.Input[builtins.str] product_name: The product name for SLR. EventBridge can automatically create the following service-linked roles:
54
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
55
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
49
+ :param pulumi.Input[builtins.str] product_name: The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
56
50
  """
57
51
  if product_name is not None:
58
52
  pulumi.set(__self__, "product_name", product_name)
@@ -61,9 +55,7 @@ class _ServiceLinkedRoleState:
61
55
  @pulumi.getter(name="productName")
62
56
  def product_name(self) -> Optional[pulumi.Input[builtins.str]]:
63
57
  """
64
- The product name for SLR. EventBridge can automatically create the following service-linked roles:
65
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
66
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
58
+ The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
67
59
  """
68
60
  return pulumi.get(self, "product_name")
69
61
 
@@ -81,24 +73,28 @@ class ServiceLinkedRole(pulumi.CustomResource):
81
73
  product_name: Optional[pulumi.Input[builtins.str]] = None,
82
74
  __props__=None):
83
75
  """
84
- Using this data source can create Event Bridge service-linked roles(SLR). EventBridge may need to access another Alibaba Cloud service to implement a specific feature. In this case, EventBridge must assume a specific service-linked role, which is a Resource Access Management (RAM) role, to obtain permissions to access another Alibaba Cloud service.
76
+ Provides a Event Bridge Service Linked Role resource.
85
77
 
86
- For information about Event Bridge service-linked roles(SLR) and how to use it, see [What is service-linked roles](https://www.alibabacloud.com/help/doc-detail/181425.htm).
78
+ For information about Event Bridge Service Linked Role and how to use it, see [What is Service Linked Role](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
87
79
 
88
- > **NOTE:** Available in v1.129.0+. After the version 1.142.0, the resource is renamed as `eventbridge.ServiceLinkedRole`.
80
+ > **NOTE:** Available since v1.129.0.
81
+
82
+ > **NOTE:** From version 1.142.0, the resource is renamed as `eventbridge.ServiceLinkedRole`.
89
83
 
90
84
  ## Example Usage
91
85
 
86
+ Basic Usage
87
+
92
88
  ```python
93
89
  import pulumi
94
90
  import pulumi_alicloud as alicloud
95
91
 
96
- service_linked_role = alicloud.eventbridge.ServiceLinkedRole("service_linked_role", product_name="AliyunServiceRoleForEventBridgeSourceRocketMQ")
92
+ default = alicloud.eventbridge.ServiceLinkedRole("default", product_name="AliyunServiceRoleForEventBridgeSourceRocketMQ")
97
93
  ```
98
94
 
99
95
  ## Import
100
96
 
101
- Event Bridge service-linked roles(SLR) can be imported using the id, e.g.
97
+ Event Bridge Service Linked Role can be imported using the id, e.g.
102
98
 
103
99
  ```sh
104
100
  $ pulumi import alicloud:eventbridge/serviceLinkedRole:ServiceLinkedRole example <product_name>
@@ -106,9 +102,7 @@ class ServiceLinkedRole(pulumi.CustomResource):
106
102
 
107
103
  :param str resource_name: The name of the resource.
108
104
  :param pulumi.ResourceOptions opts: Options for the resource.
109
- :param pulumi.Input[builtins.str] product_name: The product name for SLR. EventBridge can automatically create the following service-linked roles:
110
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
111
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
105
+ :param pulumi.Input[builtins.str] product_name: The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
112
106
  """
113
107
  ...
114
108
  @overload
@@ -117,24 +111,28 @@ class ServiceLinkedRole(pulumi.CustomResource):
117
111
  args: ServiceLinkedRoleArgs,
118
112
  opts: Optional[pulumi.ResourceOptions] = None):
119
113
  """
120
- Using this data source can create Event Bridge service-linked roles(SLR). EventBridge may need to access another Alibaba Cloud service to implement a specific feature. In this case, EventBridge must assume a specific service-linked role, which is a Resource Access Management (RAM) role, to obtain permissions to access another Alibaba Cloud service.
114
+ Provides a Event Bridge Service Linked Role resource.
121
115
 
122
- For information about Event Bridge service-linked roles(SLR) and how to use it, see [What is service-linked roles](https://www.alibabacloud.com/help/doc-detail/181425.htm).
116
+ For information about Event Bridge Service Linked Role and how to use it, see [What is Service Linked Role](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
123
117
 
124
- > **NOTE:** Available in v1.129.0+. After the version 1.142.0, the resource is renamed as `eventbridge.ServiceLinkedRole`.
118
+ > **NOTE:** Available since v1.129.0.
119
+
120
+ > **NOTE:** From version 1.142.0, the resource is renamed as `eventbridge.ServiceLinkedRole`.
125
121
 
126
122
  ## Example Usage
127
123
 
124
+ Basic Usage
125
+
128
126
  ```python
129
127
  import pulumi
130
128
  import pulumi_alicloud as alicloud
131
129
 
132
- service_linked_role = alicloud.eventbridge.ServiceLinkedRole("service_linked_role", product_name="AliyunServiceRoleForEventBridgeSourceRocketMQ")
130
+ default = alicloud.eventbridge.ServiceLinkedRole("default", product_name="AliyunServiceRoleForEventBridgeSourceRocketMQ")
133
131
  ```
134
132
 
135
133
  ## Import
136
134
 
137
- Event Bridge service-linked roles(SLR) can be imported using the id, e.g.
135
+ Event Bridge Service Linked Role can be imported using the id, e.g.
138
136
 
139
137
  ```sh
140
138
  $ pulumi import alicloud:eventbridge/serviceLinkedRole:ServiceLinkedRole example <product_name>
@@ -186,9 +184,7 @@ class ServiceLinkedRole(pulumi.CustomResource):
186
184
  :param str resource_name: The unique name of the resulting resource.
187
185
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
188
186
  :param pulumi.ResourceOptions opts: Options for the resource.
189
- :param pulumi.Input[builtins.str] product_name: The product name for SLR. EventBridge can automatically create the following service-linked roles:
190
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
191
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
187
+ :param pulumi.Input[builtins.str] product_name: The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
192
188
  """
193
189
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
194
190
 
@@ -201,9 +197,7 @@ class ServiceLinkedRole(pulumi.CustomResource):
201
197
  @pulumi.getter(name="productName")
202
198
  def product_name(self) -> pulumi.Output[builtins.str]:
203
199
  """
204
- The product name for SLR. EventBridge can automatically create the following service-linked roles:
205
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
206
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
200
+ The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
207
201
  """
208
202
  return pulumi.get(self, "product_name")
209
203
 
@@ -289,7 +289,7 @@ class ForwardingRule(pulumi.CustomResource):
289
289
  region = "cn-hangzhou"
290
290
  name = config.get("name")
291
291
  if name is None:
292
- name = "tf-example"
292
+ name = "terraform-example"
293
293
  default = alicloud.get_regions(current=True)
294
294
  example = alicloud.ga.Accelerator("example",
295
295
  duration=3,
@@ -422,7 +422,7 @@ class ForwardingRule(pulumi.CustomResource):
422
422
  region = "cn-hangzhou"
423
423
  name = config.get("name")
424
424
  if name is None:
425
- name = "tf-example"
425
+ name = "terraform-example"
426
426
  default = alicloud.get_regions(current=True)
427
427
  example = alicloud.ga.Accelerator("example",
428
428
  duration=3,
@@ -472,7 +472,7 @@ class OtsBackupPlan(pulumi.CustomResource):
472
472
  min=10000)
473
473
  default_vault = alicloud.hbr.Vault("default",
474
474
  vault_name=f"terraform-example-{default_integer['result']}",
475
- vault_type="OTS_BACKUP")
475
+ vault_type="STANDARD")
476
476
  default_instance = alicloud.ots.Instance("default",
477
477
  name=f"Example-{default_integer['result']}",
478
478
  description="terraform-example",
@@ -586,7 +586,7 @@ class OtsBackupPlan(pulumi.CustomResource):
586
586
  min=10000)
587
587
  default_vault = alicloud.hbr.Vault("default",
588
588
  vault_name=f"terraform-example-{default_integer['result']}",
589
- vault_type="OTS_BACKUP")
589
+ vault_type="STANDARD")
590
590
  default_instance = alicloud.ots.Instance("default",
591
591
  name=f"Example-{default_integer['result']}",
592
592
  description="terraform-example",
@@ -24,20 +24,28 @@ class ReplicationVaultArgs:
24
24
  replication_source_vault_id: pulumi.Input[builtins.str],
25
25
  vault_name: pulumi.Input[builtins.str],
26
26
  description: Optional[pulumi.Input[builtins.str]] = None,
27
+ encrypt_type: Optional[pulumi.Input[builtins.str]] = None,
28
+ kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
27
29
  vault_storage_class: Optional[pulumi.Input[builtins.str]] = None):
28
30
  """
29
31
  The set of arguments for constructing a ReplicationVault resource.
30
- :param pulumi.Input[builtins.str] replication_source_region_id: The ID of the region where the source vault resides.
31
- :param pulumi.Input[builtins.str] replication_source_vault_id: The ID of the source vault.
32
- :param pulumi.Input[builtins.str] vault_name: The name of the backup vault. The name must be 1 to 64 characters in length.
33
- :param pulumi.Input[builtins.str] description: The description of the backup vault. The description must be 0 to 255 characters in length.
34
- :param pulumi.Input[builtins.str] vault_storage_class: The storage type of the backup vault. Valid values: `STANDARD`.
32
+ :param pulumi.Input[builtins.str] replication_source_region_id: The region ID of the source backup vault.
33
+ :param pulumi.Input[builtins.str] replication_source_vault_id: The vault ID of the source backup vault.
34
+ :param pulumi.Input[builtins.str] vault_name: The name of the backup vault.
35
+ :param pulumi.Input[builtins.str] description: The description of the backup vault.
36
+ :param pulumi.Input[builtins.str] encrypt_type: The encryption type of the backup vault.
37
+ :param pulumi.Input[builtins.str] kms_key_id: Alibaba Cloud KMS custom Key or Alias. This parameter is required only when EncryptType = KMS.
38
+ :param pulumi.Input[builtins.str] vault_storage_class: Backup Vault Storage Class
35
39
  """
36
40
  pulumi.set(__self__, "replication_source_region_id", replication_source_region_id)
37
41
  pulumi.set(__self__, "replication_source_vault_id", replication_source_vault_id)
38
42
  pulumi.set(__self__, "vault_name", vault_name)
39
43
  if description is not None:
40
44
  pulumi.set(__self__, "description", description)
45
+ if encrypt_type is not None:
46
+ pulumi.set(__self__, "encrypt_type", encrypt_type)
47
+ if kms_key_id is not None:
48
+ pulumi.set(__self__, "kms_key_id", kms_key_id)
41
49
  if vault_storage_class is not None:
42
50
  pulumi.set(__self__, "vault_storage_class", vault_storage_class)
43
51
 
@@ -45,7 +53,7 @@ class ReplicationVaultArgs:
45
53
  @pulumi.getter(name="replicationSourceRegionId")
46
54
  def replication_source_region_id(self) -> pulumi.Input[builtins.str]:
47
55
  """
48
- The ID of the region where the source vault resides.
56
+ The region ID of the source backup vault.
49
57
  """
50
58
  return pulumi.get(self, "replication_source_region_id")
51
59
 
@@ -57,7 +65,7 @@ class ReplicationVaultArgs:
57
65
  @pulumi.getter(name="replicationSourceVaultId")
58
66
  def replication_source_vault_id(self) -> pulumi.Input[builtins.str]:
59
67
  """
60
- The ID of the source vault.
68
+ The vault ID of the source backup vault.
61
69
  """
62
70
  return pulumi.get(self, "replication_source_vault_id")
63
71
 
@@ -69,7 +77,7 @@ class ReplicationVaultArgs:
69
77
  @pulumi.getter(name="vaultName")
70
78
  def vault_name(self) -> pulumi.Input[builtins.str]:
71
79
  """
72
- The name of the backup vault. The name must be 1 to 64 characters in length.
80
+ The name of the backup vault.
73
81
  """
74
82
  return pulumi.get(self, "vault_name")
75
83
 
@@ -81,7 +89,7 @@ class ReplicationVaultArgs:
81
89
  @pulumi.getter
82
90
  def description(self) -> Optional[pulumi.Input[builtins.str]]:
83
91
  """
84
- The description of the backup vault. The description must be 0 to 255 characters in length.
92
+ The description of the backup vault.
85
93
  """
86
94
  return pulumi.get(self, "description")
87
95
 
@@ -89,11 +97,35 @@ class ReplicationVaultArgs:
89
97
  def description(self, value: Optional[pulumi.Input[builtins.str]]):
90
98
  pulumi.set(self, "description", value)
91
99
 
100
+ @property
101
+ @pulumi.getter(name="encryptType")
102
+ def encrypt_type(self) -> Optional[pulumi.Input[builtins.str]]:
103
+ """
104
+ The encryption type of the backup vault.
105
+ """
106
+ return pulumi.get(self, "encrypt_type")
107
+
108
+ @encrypt_type.setter
109
+ def encrypt_type(self, value: Optional[pulumi.Input[builtins.str]]):
110
+ pulumi.set(self, "encrypt_type", value)
111
+
112
+ @property
113
+ @pulumi.getter(name="kmsKeyId")
114
+ def kms_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
115
+ """
116
+ Alibaba Cloud KMS custom Key or Alias. This parameter is required only when EncryptType = KMS.
117
+ """
118
+ return pulumi.get(self, "kms_key_id")
119
+
120
+ @kms_key_id.setter
121
+ def kms_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
122
+ pulumi.set(self, "kms_key_id", value)
123
+
92
124
  @property
93
125
  @pulumi.getter(name="vaultStorageClass")
94
126
  def vault_storage_class(self) -> Optional[pulumi.Input[builtins.str]]:
95
127
  """
96
- The storage type of the backup vault. Valid values: `STANDARD`.
128
+ Backup Vault Storage Class
97
129
  """
98
130
  return pulumi.get(self, "vault_storage_class")
99
131
 
@@ -106,6 +138,9 @@ class ReplicationVaultArgs:
106
138
  class _ReplicationVaultState:
107
139
  def __init__(__self__, *,
108
140
  description: Optional[pulumi.Input[builtins.str]] = None,
141
+ encrypt_type: Optional[pulumi.Input[builtins.str]] = None,
142
+ kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
143
+ region_id: Optional[pulumi.Input[builtins.str]] = None,
109
144
  replication_source_region_id: Optional[pulumi.Input[builtins.str]] = None,
110
145
  replication_source_vault_id: Optional[pulumi.Input[builtins.str]] = None,
111
146
  status: Optional[pulumi.Input[builtins.str]] = None,
@@ -113,15 +148,24 @@ class _ReplicationVaultState:
113
148
  vault_storage_class: Optional[pulumi.Input[builtins.str]] = None):
114
149
  """
115
150
  Input properties used for looking up and filtering ReplicationVault resources.
116
- :param pulumi.Input[builtins.str] description: The description of the backup vault. The description must be 0 to 255 characters in length.
117
- :param pulumi.Input[builtins.str] replication_source_region_id: The ID of the region where the source vault resides.
118
- :param pulumi.Input[builtins.str] replication_source_vault_id: The ID of the source vault.
119
- :param pulumi.Input[builtins.str] status: The status of the resource.
120
- :param pulumi.Input[builtins.str] vault_name: The name of the backup vault. The name must be 1 to 64 characters in length.
121
- :param pulumi.Input[builtins.str] vault_storage_class: The storage type of the backup vault. Valid values: `STANDARD`.
151
+ :param pulumi.Input[builtins.str] description: The description of the backup vault.
152
+ :param pulumi.Input[builtins.str] encrypt_type: The encryption type of the backup vault.
153
+ :param pulumi.Input[builtins.str] kms_key_id: Alibaba Cloud KMS custom Key or Alias. This parameter is required only when EncryptType = KMS.
154
+ :param pulumi.Input[builtins.str] region_id: RegionId
155
+ :param pulumi.Input[builtins.str] replication_source_region_id: The region ID of the source backup vault.
156
+ :param pulumi.Input[builtins.str] replication_source_vault_id: The vault ID of the source backup vault.
157
+ :param pulumi.Input[builtins.str] status: The status of the mirror backup vault.
158
+ :param pulumi.Input[builtins.str] vault_name: The name of the backup vault.
159
+ :param pulumi.Input[builtins.str] vault_storage_class: Backup Vault Storage Class
122
160
  """
123
161
  if description is not None:
124
162
  pulumi.set(__self__, "description", description)
163
+ if encrypt_type is not None:
164
+ pulumi.set(__self__, "encrypt_type", encrypt_type)
165
+ if kms_key_id is not None:
166
+ pulumi.set(__self__, "kms_key_id", kms_key_id)
167
+ if region_id is not None:
168
+ pulumi.set(__self__, "region_id", region_id)
125
169
  if replication_source_region_id is not None:
126
170
  pulumi.set(__self__, "replication_source_region_id", replication_source_region_id)
127
171
  if replication_source_vault_id is not None:
@@ -137,7 +181,7 @@ class _ReplicationVaultState:
137
181
  @pulumi.getter
138
182
  def description(self) -> Optional[pulumi.Input[builtins.str]]:
139
183
  """
140
- The description of the backup vault. The description must be 0 to 255 characters in length.
184
+ The description of the backup vault.
141
185
  """
142
186
  return pulumi.get(self, "description")
143
187
 
@@ -145,11 +189,47 @@ class _ReplicationVaultState:
145
189
  def description(self, value: Optional[pulumi.Input[builtins.str]]):
146
190
  pulumi.set(self, "description", value)
147
191
 
192
+ @property
193
+ @pulumi.getter(name="encryptType")
194
+ def encrypt_type(self) -> Optional[pulumi.Input[builtins.str]]:
195
+ """
196
+ The encryption type of the backup vault.
197
+ """
198
+ return pulumi.get(self, "encrypt_type")
199
+
200
+ @encrypt_type.setter
201
+ def encrypt_type(self, value: Optional[pulumi.Input[builtins.str]]):
202
+ pulumi.set(self, "encrypt_type", value)
203
+
204
+ @property
205
+ @pulumi.getter(name="kmsKeyId")
206
+ def kms_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
207
+ """
208
+ Alibaba Cloud KMS custom Key or Alias. This parameter is required only when EncryptType = KMS.
209
+ """
210
+ return pulumi.get(self, "kms_key_id")
211
+
212
+ @kms_key_id.setter
213
+ def kms_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
214
+ pulumi.set(self, "kms_key_id", value)
215
+
216
+ @property
217
+ @pulumi.getter(name="regionId")
218
+ def region_id(self) -> Optional[pulumi.Input[builtins.str]]:
219
+ """
220
+ RegionId
221
+ """
222
+ return pulumi.get(self, "region_id")
223
+
224
+ @region_id.setter
225
+ def region_id(self, value: Optional[pulumi.Input[builtins.str]]):
226
+ pulumi.set(self, "region_id", value)
227
+
148
228
  @property
149
229
  @pulumi.getter(name="replicationSourceRegionId")
150
230
  def replication_source_region_id(self) -> Optional[pulumi.Input[builtins.str]]:
151
231
  """
152
- The ID of the region where the source vault resides.
232
+ The region ID of the source backup vault.
153
233
  """
154
234
  return pulumi.get(self, "replication_source_region_id")
155
235
 
@@ -161,7 +241,7 @@ class _ReplicationVaultState:
161
241
  @pulumi.getter(name="replicationSourceVaultId")
162
242
  def replication_source_vault_id(self) -> Optional[pulumi.Input[builtins.str]]:
163
243
  """
164
- The ID of the source vault.
244
+ The vault ID of the source backup vault.
165
245
  """
166
246
  return pulumi.get(self, "replication_source_vault_id")
167
247
 
@@ -173,7 +253,7 @@ class _ReplicationVaultState:
173
253
  @pulumi.getter
174
254
  def status(self) -> Optional[pulumi.Input[builtins.str]]:
175
255
  """
176
- The status of the resource.
256
+ The status of the mirror backup vault.
177
257
  """
178
258
  return pulumi.get(self, "status")
179
259
 
@@ -185,7 +265,7 @@ class _ReplicationVaultState:
185
265
  @pulumi.getter(name="vaultName")
186
266
  def vault_name(self) -> Optional[pulumi.Input[builtins.str]]:
187
267
  """
188
- The name of the backup vault. The name must be 1 to 64 characters in length.
268
+ The name of the backup vault.
189
269
  """
190
270
  return pulumi.get(self, "vault_name")
191
271
 
@@ -197,7 +277,7 @@ class _ReplicationVaultState:
197
277
  @pulumi.getter(name="vaultStorageClass")
198
278
  def vault_storage_class(self) -> Optional[pulumi.Input[builtins.str]]:
199
279
  """
200
- The storage type of the backup vault. Valid values: `STANDARD`.
280
+ Backup Vault Storage Class
201
281
  """
202
282
  return pulumi.get(self, "vault_storage_class")
203
283
 
@@ -213,6 +293,8 @@ class ReplicationVault(pulumi.CustomResource):
213
293
  resource_name: str,
214
294
  opts: Optional[pulumi.ResourceOptions] = None,
215
295
  description: Optional[pulumi.Input[builtins.str]] = None,
296
+ encrypt_type: Optional[pulumi.Input[builtins.str]] = None,
297
+ kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
216
298
  replication_source_region_id: Optional[pulumi.Input[builtins.str]] = None,
217
299
  replication_source_vault_id: Optional[pulumi.Input[builtins.str]] = None,
218
300
  vault_name: Optional[pulumi.Input[builtins.str]] = None,
@@ -221,9 +303,11 @@ class ReplicationVault(pulumi.CustomResource):
221
303
  """
222
304
  Provides a Hybrid Backup Recovery (HBR) Replication Vault resource.
223
305
 
306
+ The replication vault used by the cross-region backup function of Cloud Backup.
307
+
224
308
  For information about Hybrid Backup Recovery (HBR) Replication Vault and how to use it, see [What is Replication Vault](https://www.alibabacloud.com/help/en/doc-detail/345603.html).
225
309
 
226
- > **NOTE:** Available in v1.152.0+.
310
+ > **NOTE:** Available since v1.252.0.
227
311
 
228
312
  ## Example Usage
229
313
 
@@ -261,11 +345,13 @@ class ReplicationVault(pulumi.CustomResource):
261
345
 
262
346
  :param str resource_name: The name of the resource.
263
347
  :param pulumi.ResourceOptions opts: Options for the resource.
264
- :param pulumi.Input[builtins.str] description: The description of the backup vault. The description must be 0 to 255 characters in length.
265
- :param pulumi.Input[builtins.str] replication_source_region_id: The ID of the region where the source vault resides.
266
- :param pulumi.Input[builtins.str] replication_source_vault_id: The ID of the source vault.
267
- :param pulumi.Input[builtins.str] vault_name: The name of the backup vault. The name must be 1 to 64 characters in length.
268
- :param pulumi.Input[builtins.str] vault_storage_class: The storage type of the backup vault. Valid values: `STANDARD`.
348
+ :param pulumi.Input[builtins.str] description: The description of the backup vault.
349
+ :param pulumi.Input[builtins.str] encrypt_type: The encryption type of the backup vault.
350
+ :param pulumi.Input[builtins.str] kms_key_id: Alibaba Cloud KMS custom Key or Alias. This parameter is required only when EncryptType = KMS.
351
+ :param pulumi.Input[builtins.str] replication_source_region_id: The region ID of the source backup vault.
352
+ :param pulumi.Input[builtins.str] replication_source_vault_id: The vault ID of the source backup vault.
353
+ :param pulumi.Input[builtins.str] vault_name: The name of the backup vault.
354
+ :param pulumi.Input[builtins.str] vault_storage_class: Backup Vault Storage Class
269
355
  """
270
356
  ...
271
357
  @overload
@@ -276,9 +362,11 @@ class ReplicationVault(pulumi.CustomResource):
276
362
  """
277
363
  Provides a Hybrid Backup Recovery (HBR) Replication Vault resource.
278
364
 
365
+ The replication vault used by the cross-region backup function of Cloud Backup.
366
+
279
367
  For information about Hybrid Backup Recovery (HBR) Replication Vault and how to use it, see [What is Replication Vault](https://www.alibabacloud.com/help/en/doc-detail/345603.html).
280
368
 
281
- > **NOTE:** Available in v1.152.0+.
369
+ > **NOTE:** Available since v1.252.0.
282
370
 
283
371
  ## Example Usage
284
372
 
@@ -330,6 +418,8 @@ class ReplicationVault(pulumi.CustomResource):
330
418
  resource_name: str,
331
419
  opts: Optional[pulumi.ResourceOptions] = None,
332
420
  description: Optional[pulumi.Input[builtins.str]] = None,
421
+ encrypt_type: Optional[pulumi.Input[builtins.str]] = None,
422
+ kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
333
423
  replication_source_region_id: Optional[pulumi.Input[builtins.str]] = None,
334
424
  replication_source_vault_id: Optional[pulumi.Input[builtins.str]] = None,
335
425
  vault_name: Optional[pulumi.Input[builtins.str]] = None,
@@ -344,6 +434,8 @@ class ReplicationVault(pulumi.CustomResource):
344
434
  __props__ = ReplicationVaultArgs.__new__(ReplicationVaultArgs)
345
435
 
346
436
  __props__.__dict__["description"] = description
437
+ __props__.__dict__["encrypt_type"] = encrypt_type
438
+ __props__.__dict__["kms_key_id"] = kms_key_id
347
439
  if replication_source_region_id is None and not opts.urn:
348
440
  raise TypeError("Missing required property 'replication_source_region_id'")
349
441
  __props__.__dict__["replication_source_region_id"] = replication_source_region_id
@@ -354,6 +446,7 @@ class ReplicationVault(pulumi.CustomResource):
354
446
  raise TypeError("Missing required property 'vault_name'")
355
447
  __props__.__dict__["vault_name"] = vault_name
356
448
  __props__.__dict__["vault_storage_class"] = vault_storage_class
449
+ __props__.__dict__["region_id"] = None
357
450
  __props__.__dict__["status"] = None
358
451
  super(ReplicationVault, __self__).__init__(
359
452
  'alicloud:hbr/replicationVault:ReplicationVault',
@@ -366,6 +459,9 @@ class ReplicationVault(pulumi.CustomResource):
366
459
  id: pulumi.Input[str],
367
460
  opts: Optional[pulumi.ResourceOptions] = None,
368
461
  description: Optional[pulumi.Input[builtins.str]] = None,
462
+ encrypt_type: Optional[pulumi.Input[builtins.str]] = None,
463
+ kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
464
+ region_id: Optional[pulumi.Input[builtins.str]] = None,
369
465
  replication_source_region_id: Optional[pulumi.Input[builtins.str]] = None,
370
466
  replication_source_vault_id: Optional[pulumi.Input[builtins.str]] = None,
371
467
  status: Optional[pulumi.Input[builtins.str]] = None,
@@ -378,18 +474,24 @@ class ReplicationVault(pulumi.CustomResource):
378
474
  :param str resource_name: The unique name of the resulting resource.
379
475
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
380
476
  :param pulumi.ResourceOptions opts: Options for the resource.
381
- :param pulumi.Input[builtins.str] description: The description of the backup vault. The description must be 0 to 255 characters in length.
382
- :param pulumi.Input[builtins.str] replication_source_region_id: The ID of the region where the source vault resides.
383
- :param pulumi.Input[builtins.str] replication_source_vault_id: The ID of the source vault.
384
- :param pulumi.Input[builtins.str] status: The status of the resource.
385
- :param pulumi.Input[builtins.str] vault_name: The name of the backup vault. The name must be 1 to 64 characters in length.
386
- :param pulumi.Input[builtins.str] vault_storage_class: The storage type of the backup vault. Valid values: `STANDARD`.
477
+ :param pulumi.Input[builtins.str] description: The description of the backup vault.
478
+ :param pulumi.Input[builtins.str] encrypt_type: The encryption type of the backup vault.
479
+ :param pulumi.Input[builtins.str] kms_key_id: Alibaba Cloud KMS custom Key or Alias. This parameter is required only when EncryptType = KMS.
480
+ :param pulumi.Input[builtins.str] region_id: RegionId
481
+ :param pulumi.Input[builtins.str] replication_source_region_id: The region ID of the source backup vault.
482
+ :param pulumi.Input[builtins.str] replication_source_vault_id: The vault ID of the source backup vault.
483
+ :param pulumi.Input[builtins.str] status: The status of the mirror backup vault.
484
+ :param pulumi.Input[builtins.str] vault_name: The name of the backup vault.
485
+ :param pulumi.Input[builtins.str] vault_storage_class: Backup Vault Storage Class
387
486
  """
388
487
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
389
488
 
390
489
  __props__ = _ReplicationVaultState.__new__(_ReplicationVaultState)
391
490
 
392
491
  __props__.__dict__["description"] = description
492
+ __props__.__dict__["encrypt_type"] = encrypt_type
493
+ __props__.__dict__["kms_key_id"] = kms_key_id
494
+ __props__.__dict__["region_id"] = region_id
393
495
  __props__.__dict__["replication_source_region_id"] = replication_source_region_id
394
496
  __props__.__dict__["replication_source_vault_id"] = replication_source_vault_id
395
497
  __props__.__dict__["status"] = status
@@ -401,15 +503,39 @@ class ReplicationVault(pulumi.CustomResource):
401
503
  @pulumi.getter
402
504
  def description(self) -> pulumi.Output[Optional[builtins.str]]:
403
505
  """
404
- The description of the backup vault. The description must be 0 to 255 characters in length.
506
+ The description of the backup vault.
405
507
  """
406
508
  return pulumi.get(self, "description")
407
509
 
510
+ @property
511
+ @pulumi.getter(name="encryptType")
512
+ def encrypt_type(self) -> pulumi.Output[builtins.str]:
513
+ """
514
+ The encryption type of the backup vault.
515
+ """
516
+ return pulumi.get(self, "encrypt_type")
517
+
518
+ @property
519
+ @pulumi.getter(name="kmsKeyId")
520
+ def kms_key_id(self) -> pulumi.Output[Optional[builtins.str]]:
521
+ """
522
+ Alibaba Cloud KMS custom Key or Alias. This parameter is required only when EncryptType = KMS.
523
+ """
524
+ return pulumi.get(self, "kms_key_id")
525
+
526
+ @property
527
+ @pulumi.getter(name="regionId")
528
+ def region_id(self) -> pulumi.Output[builtins.str]:
529
+ """
530
+ RegionId
531
+ """
532
+ return pulumi.get(self, "region_id")
533
+
408
534
  @property
409
535
  @pulumi.getter(name="replicationSourceRegionId")
410
536
  def replication_source_region_id(self) -> pulumi.Output[builtins.str]:
411
537
  """
412
- The ID of the region where the source vault resides.
538
+ The region ID of the source backup vault.
413
539
  """
414
540
  return pulumi.get(self, "replication_source_region_id")
415
541
 
@@ -417,7 +543,7 @@ class ReplicationVault(pulumi.CustomResource):
417
543
  @pulumi.getter(name="replicationSourceVaultId")
418
544
  def replication_source_vault_id(self) -> pulumi.Output[builtins.str]:
419
545
  """
420
- The ID of the source vault.
546
+ The vault ID of the source backup vault.
421
547
  """
422
548
  return pulumi.get(self, "replication_source_vault_id")
423
549
 
@@ -425,7 +551,7 @@ class ReplicationVault(pulumi.CustomResource):
425
551
  @pulumi.getter
426
552
  def status(self) -> pulumi.Output[builtins.str]:
427
553
  """
428
- The status of the resource.
554
+ The status of the mirror backup vault.
429
555
  """
430
556
  return pulumi.get(self, "status")
431
557
 
@@ -433,7 +559,7 @@ class ReplicationVault(pulumi.CustomResource):
433
559
  @pulumi.getter(name="vaultName")
434
560
  def vault_name(self) -> pulumi.Output[builtins.str]:
435
561
  """
436
- The name of the backup vault. The name must be 1 to 64 characters in length.
562
+ The name of the backup vault.
437
563
  """
438
564
  return pulumi.get(self, "vault_name")
439
565
 
@@ -441,7 +567,7 @@ class ReplicationVault(pulumi.CustomResource):
441
567
  @pulumi.getter(name="vaultStorageClass")
442
568
  def vault_storage_class(self) -> pulumi.Output[builtins.str]:
443
569
  """
444
- The storage type of the backup vault. Valid values: `STANDARD`.
570
+ Backup Vault Storage Class
445
571
  """
446
572
  return pulumi.get(self, "vault_storage_class")
447
573