pulumi-alicloud 3.71.0a1735362939__py3-none-any.whl → 3.72.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 (142) hide show
  1. pulumi_alicloud/__init__.py +83 -0
  2. pulumi_alicloud/_inputs.py +471 -0
  3. pulumi_alicloud/adb/cluster.py +68 -0
  4. pulumi_alicloud/adb/db_cluster.py +94 -0
  5. pulumi_alicloud/adb/get_db_cluster_lake_versions.py +39 -4
  6. pulumi_alicloud/adb/outputs.py +106 -2
  7. pulumi_alicloud/apig/__init__.py +12 -0
  8. pulumi_alicloud/apig/_inputs.py +263 -0
  9. pulumi_alicloud/apig/environment.py +317 -0
  10. pulumi_alicloud/apig/gateway.py +645 -0
  11. pulumi_alicloud/apig/http_api.py +465 -0
  12. pulumi_alicloud/apig/outputs.py +213 -0
  13. pulumi_alicloud/cfg/get_aggregate_compliance_packs.py +2 -2
  14. pulumi_alicloud/cfg/get_aggregate_config_rules.py +4 -4
  15. pulumi_alicloud/cfg/get_aggregate_deliveries.py +16 -2
  16. pulumi_alicloud/cfg/get_aggregators.py +2 -2
  17. pulumi_alicloud/cfg/get_compliance_packs.py +2 -2
  18. pulumi_alicloud/cfg/get_configuration_recorders.py +2 -6
  19. pulumi_alicloud/cfg/get_deliveries.py +11 -2
  20. pulumi_alicloud/cfg/get_delivery_channels.py +0 -4
  21. pulumi_alicloud/cfg/get_rules.py +3 -7
  22. pulumi_alicloud/cfg/outputs.py +28 -20
  23. pulumi_alicloud/cloudfirewall/get_instance_members.py +2 -2
  24. pulumi_alicloud/cloudfirewall/get_instances.py +23 -6
  25. pulumi_alicloud/cloudfirewall/get_vpc_firewall_cens.py +2 -2
  26. pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +32 -2
  27. pulumi_alicloud/cloudfirewall/get_vpc_firewalls.py +2 -2
  28. pulumi_alicloud/cloudfirewall/instance.py +1 -1
  29. pulumi_alicloud/cloudfirewall/outputs.py +16 -4
  30. pulumi_alicloud/config/__init__.pyi +2 -0
  31. pulumi_alicloud/config/outputs.py +284 -0
  32. pulumi_alicloud/config/vars.py +4 -0
  33. pulumi_alicloud/cr/_inputs.py +128 -0
  34. pulumi_alicloud/cr/outputs.py +93 -0
  35. pulumi_alicloud/cr/registry_enterprise_instance.py +86 -63
  36. pulumi_alicloud/cs/registry_enterprise_sync_rule.py +331 -38
  37. pulumi_alicloud/dcdn/get_domains.py +2 -2
  38. pulumi_alicloud/dcdn/get_ipa_domains.py +14 -2
  39. pulumi_alicloud/dcdn/get_waf_domains.py +5 -2
  40. pulumi_alicloud/dcdn/get_waf_policies.py +8 -2
  41. pulumi_alicloud/dcdn/outputs.py +6 -6
  42. pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +8 -2
  43. pulumi_alicloud/ddos/get_ddos_coo_ports.py +16 -4
  44. pulumi_alicloud/ddos/outputs.py +4 -4
  45. pulumi_alicloud/ecs/_inputs.py +9 -0
  46. pulumi_alicloud/ecs/ecs_snapshot.py +65 -9
  47. pulumi_alicloud/ecs/get_ecs_disks.py +103 -14
  48. pulumi_alicloud/ecs/get_instance_types.py +1 -1
  49. pulumi_alicloud/ecs/outputs.py +168 -37
  50. pulumi_alicloud/ecs/security_group.py +161 -81
  51. pulumi_alicloud/ecs/snapshot.py +40 -0
  52. pulumi_alicloud/eds/ram_directory.py +4 -0
  53. pulumi_alicloud/esa/__init__.py +3 -0
  54. pulumi_alicloud/esa/_inputs.py +456 -0
  55. pulumi_alicloud/esa/outputs.py +321 -0
  56. pulumi_alicloud/esa/record.py +798 -0
  57. pulumi_alicloud/ess/get_scaling_configurations.py +116 -10
  58. pulumi_alicloud/ess/notification.py +50 -3
  59. pulumi_alicloud/ess/outputs.py +104 -8
  60. pulumi_alicloud/ess/scheduled_task.py +7 -7
  61. pulumi_alicloud/expressconnect/__init__.py +1 -0
  62. pulumi_alicloud/expressconnect/router_grant_association.py +477 -0
  63. pulumi_alicloud/fc/v3_trigger.py +1 -1
  64. pulumi_alicloud/ga/get_accelerator_spare_ip_attachments.py +11 -2
  65. pulumi_alicloud/ga/get_acls.py +14 -2
  66. pulumi_alicloud/ga/get_additional_certificates.py +11 -2
  67. pulumi_alicloud/ga/get_bandwidth_packages.py +14 -2
  68. pulumi_alicloud/ga/get_basic_accelerate_ip_endpoint_relations.py +2 -2
  69. pulumi_alicloud/ga/get_basic_accelerate_ips.py +2 -2
  70. pulumi_alicloud/ga/get_basic_accelerators.py +2 -2
  71. pulumi_alicloud/ga/get_basic_endpoints.py +2 -2
  72. pulumi_alicloud/ga/get_custom_routing_endpoint_group_destinations.py +2 -2
  73. pulumi_alicloud/ga/get_custom_routing_endpoint_groups.py +2 -2
  74. pulumi_alicloud/ga/get_custom_routing_endpoint_traffic_policies.py +2 -2
  75. pulumi_alicloud/ga/get_custom_routing_endpoints.py +2 -2
  76. pulumi_alicloud/ga/get_custom_routing_port_mappings.py +2 -2
  77. pulumi_alicloud/ga/get_domains.py +2 -2
  78. pulumi_alicloud/ga/get_forwarding_rules.py +8 -2
  79. pulumi_alicloud/ga/get_ip_sets.py +8 -2
  80. pulumi_alicloud/ga/get_listeners.py +11 -2
  81. pulumi_alicloud/ga/outputs.py +64 -32
  82. pulumi_alicloud/get_msc_sub_contact_verification_message.py +2 -2
  83. pulumi_alicloud/get_msc_sub_contacts.py +8 -2
  84. pulumi_alicloud/get_msc_sub_subscriptions.py +5 -2
  85. pulumi_alicloud/get_msc_sub_webhooks.py +8 -2
  86. pulumi_alicloud/kms/key.py +108 -28
  87. pulumi_alicloud/kvstore/backup_policy.py +32 -24
  88. pulumi_alicloud/kvstore/get_instances.py +14 -3
  89. pulumi_alicloud/kvstore/outputs.py +48 -4
  90. pulumi_alicloud/marketplace/order.py +2 -2
  91. pulumi_alicloud/mongodb/__init__.py +1 -0
  92. pulumi_alicloud/mongodb/private_srv_network_address.py +283 -0
  93. pulumi_alicloud/oss/__init__.py +2 -0
  94. pulumi_alicloud/oss/_inputs.py +68 -0
  95. pulumi_alicloud/oss/access_point.py +463 -0
  96. pulumi_alicloud/oss/bucket_worm.py +327 -0
  97. pulumi_alicloud/oss/outputs.py +74 -0
  98. pulumi_alicloud/polardb/cluster.py +47 -0
  99. pulumi_alicloud/privatelink/get_service.py +2 -2
  100. pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +14 -2
  101. pulumi_alicloud/privatelink/get_vpc_endpoint_service_resources.py +8 -2
  102. pulumi_alicloud/privatelink/get_vpc_endpoint_service_users.py +11 -2
  103. pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +11 -2
  104. pulumi_alicloud/privatelink/get_vpc_endpoints.py +23 -2
  105. pulumi_alicloud/privatelink/outputs.py +6 -6
  106. pulumi_alicloud/privatelink/vpc_endpoint.py +143 -69
  107. pulumi_alicloud/privatelink/vpc_endpoint_service.py +47 -0
  108. pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +2 -2
  109. pulumi_alicloud/provider.py +20 -0
  110. pulumi_alicloud/pulumi-plugin.json +1 -1
  111. pulumi_alicloud/ram/get_policies.py +66 -8
  112. pulumi_alicloud/rds/instance.py +211 -14
  113. pulumi_alicloud/redis/tair_instance.py +47 -0
  114. pulumi_alicloud/resourcemanager/control_policy_attachment.py +28 -28
  115. pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
  116. pulumi_alicloud/schedulerx/__init__.py +3 -0
  117. pulumi_alicloud/schedulerx/_inputs.py +542 -0
  118. pulumi_alicloud/schedulerx/app_group.py +952 -0
  119. pulumi_alicloud/schedulerx/job.py +1454 -0
  120. pulumi_alicloud/schedulerx/namespace.py +64 -51
  121. pulumi_alicloud/schedulerx/outputs.py +425 -0
  122. pulumi_alicloud/sddp/get_configs.py +5 -2
  123. pulumi_alicloud/sddp/get_data_limits.py +11 -2
  124. pulumi_alicloud/sddp/get_instances.py +5 -2
  125. pulumi_alicloud/sddp/get_rules.py +29 -2
  126. pulumi_alicloud/sddp/outputs.py +14 -14
  127. pulumi_alicloud/vpc/get_peer_connections.py +17 -2
  128. pulumi_alicloud/vpc/network.py +293 -40
  129. pulumi_alicloud/vpc/outputs.py +2 -2
  130. pulumi_alicloud/vpc/peer_connection.py +239 -132
  131. pulumi_alicloud/vpc/peer_connection_accepter.py +85 -6
  132. pulumi_alicloud/waf/domain.py +2 -2
  133. pulumi_alicloud/waf/get_certificates.py +14 -2
  134. pulumi_alicloud/waf/get_domains.py +6 -4
  135. pulumi_alicloud/waf/get_instances.py +2 -2
  136. pulumi_alicloud/waf/instance.py +0 -64
  137. pulumi_alicloud/waf/outputs.py +2 -4
  138. pulumi_alicloud/wafv3/get_instances.py +10 -4
  139. {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/METADATA +1 -1
  140. {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/RECORD +142 -126
  141. {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/WHEEL +1 -1
  142. {pulumi_alicloud-3.71.0a1735362939.dist-info → pulumi_alicloud-3.72.0.dist-info}/top_level.txt +0 -0
@@ -54,6 +54,9 @@ class GetMscSubSubscriptionsResult:
54
54
  @property
55
55
  @pulumi.getter
56
56
  def subscriptions(self) -> Sequence['outputs.GetMscSubSubscriptionsSubscriptionResult']:
57
+ """
58
+ A list of Msc Sub Subscriptions. Each element contains the following attributes:
59
+ """
57
60
  return pulumi.get(self, "subscriptions")
58
61
 
59
62
 
@@ -73,7 +76,7 @@ def get_msc_sub_subscriptions(output_file: Optional[str] = None,
73
76
  """
74
77
  This data source provides the Message Center Subscriptions of the current Alibaba Cloud user.
75
78
 
76
- > **NOTE:** Available in v1.135.0+.
79
+ > **NOTE:** Available since v1.135.0.
77
80
 
78
81
  ## Example Usage
79
82
 
@@ -104,7 +107,7 @@ def get_msc_sub_subscriptions_output(output_file: Optional[pulumi.Input[Optional
104
107
  """
105
108
  This data source provides the Message Center Subscriptions of the current Alibaba Cloud user.
106
109
 
107
- > **NOTE:** Available in v1.135.0+.
110
+ > **NOTE:** Available since v1.135.0.
108
111
 
109
112
  ## Example Usage
110
113
 
@@ -68,6 +68,9 @@ class GetMscSubWebhooksResult:
68
68
  @property
69
69
  @pulumi.getter
70
70
  def names(self) -> Sequence[str]:
71
+ """
72
+ A list of Webhook names.
73
+ """
71
74
  return pulumi.get(self, "names")
72
75
 
73
76
  @property
@@ -78,6 +81,9 @@ class GetMscSubWebhooksResult:
78
81
  @property
79
82
  @pulumi.getter
80
83
  def webhooks(self) -> Sequence['outputs.GetMscSubWebhooksWebhookResult']:
84
+ """
85
+ A list of Msc Sub Webhooks. Each element contains the following attributes:
86
+ """
81
87
  return pulumi.get(self, "webhooks")
82
88
 
83
89
 
@@ -102,7 +108,7 @@ def get_msc_sub_webhooks(ids: Optional[Sequence[str]] = None,
102
108
  """
103
109
  This data source provides the Msc Sub Webhooks of the current Alibaba Cloud user.
104
110
 
105
- > **NOTE:** Available in v1.141.0+.
111
+ > **NOTE:** Available since v1.141.0.
106
112
 
107
113
  ## Example Usage
108
114
 
@@ -144,7 +150,7 @@ def get_msc_sub_webhooks_output(ids: Optional[pulumi.Input[Optional[Sequence[str
144
150
  """
145
151
  This data source provides the Msc Sub Webhooks of the current Alibaba Cloud user.
146
152
 
147
- > **NOTE:** Available in v1.141.0+.
153
+ > **NOTE:** Available since v1.141.0.
148
154
 
149
155
  ## Example Usage
150
156
 
@@ -20,6 +20,8 @@ __all__ = ['KeyArgs', 'Key']
20
20
  class KeyArgs:
21
21
  def __init__(__self__, *,
22
22
  automatic_rotation: Optional[pulumi.Input[str]] = None,
23
+ deletion_protection: Optional[pulumi.Input[str]] = None,
24
+ deletion_protection_description: Optional[pulumi.Input[str]] = None,
23
25
  deletion_window_in_days: Optional[pulumi.Input[int]] = None,
24
26
  description: Optional[pulumi.Input[str]] = None,
25
27
  dkms_instance_id: Optional[pulumi.Input[str]] = None,
@@ -37,6 +39,8 @@ class KeyArgs:
37
39
  """
38
40
  The set of arguments for constructing a Key resource.
39
41
  :param pulumi.Input[str] automatic_rotation: Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`.
42
+ :param pulumi.Input[str] deletion_protection: Specifies whether to enable deletion protection. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`.
43
+ :param pulumi.Input[str] deletion_protection_description: The description of deletion protection. **NOTE:** `deletion_protection_description` takes effect only if `deletion_protection` is set to `Enabled`.
40
44
  :param pulumi.Input[int] deletion_window_in_days: Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.
41
45
  :param pulumi.Input[str] description: The description of the key.
42
46
  :param pulumi.Input[str] dkms_instance_id: The ID of the KMS instance.
@@ -53,17 +57,19 @@ class KeyArgs:
53
57
  - `ENCRYPT/DECRYPT`: Encrypts or decrypts data.
54
58
  - `SIGN/VERIFY`: Generates or verifies a digital signature.
55
59
  :param pulumi.Input[str] origin: The key material origin. Default value: `Aliyun_KMS`. Valid values: `Aliyun_KMS`, `EXTERNAL`.
56
- :param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`.
57
- **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
60
+ :param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`. **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
58
61
  :param pulumi.Input[str] policy: The content of the key 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-setkeypolicy).
59
62
  :param pulumi.Input[str] protection_level: The protection level of the key. Default value: `SOFTWARE`. Valid values: `SOFTWARE`, `HSM`.
60
- :param pulumi.Input[str] rotation_interval: The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval.
61
- **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
63
+ :param pulumi.Input[str] rotation_interval: The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval. **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
62
64
  :param pulumi.Input[str] status: The status of key. Default value: `Enabled`. Valid values: `Enabled`, `Disabled`, `PendingDeletion`.
63
65
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
64
66
  """
65
67
  if automatic_rotation is not None:
66
68
  pulumi.set(__self__, "automatic_rotation", automatic_rotation)
69
+ if deletion_protection is not None:
70
+ pulumi.set(__self__, "deletion_protection", deletion_protection)
71
+ if deletion_protection_description is not None:
72
+ pulumi.set(__self__, "deletion_protection_description", deletion_protection_description)
67
73
  if deletion_window_in_days is not None:
68
74
  warnings.warn("""Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.""", DeprecationWarning)
69
75
  pulumi.log.warn("""deletion_window_in_days is deprecated: Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.""")
@@ -114,6 +120,30 @@ class KeyArgs:
114
120
  def automatic_rotation(self, value: Optional[pulumi.Input[str]]):
115
121
  pulumi.set(self, "automatic_rotation", value)
116
122
 
123
+ @property
124
+ @pulumi.getter(name="deletionProtection")
125
+ def deletion_protection(self) -> Optional[pulumi.Input[str]]:
126
+ """
127
+ Specifies whether to enable deletion protection. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`.
128
+ """
129
+ return pulumi.get(self, "deletion_protection")
130
+
131
+ @deletion_protection.setter
132
+ def deletion_protection(self, value: Optional[pulumi.Input[str]]):
133
+ pulumi.set(self, "deletion_protection", value)
134
+
135
+ @property
136
+ @pulumi.getter(name="deletionProtectionDescription")
137
+ def deletion_protection_description(self) -> Optional[pulumi.Input[str]]:
138
+ """
139
+ The description of deletion protection. **NOTE:** `deletion_protection_description` takes effect only if `deletion_protection` is set to `Enabled`.
140
+ """
141
+ return pulumi.get(self, "deletion_protection_description")
142
+
143
+ @deletion_protection_description.setter
144
+ def deletion_protection_description(self, value: Optional[pulumi.Input[str]]):
145
+ pulumi.set(self, "deletion_protection_description", value)
146
+
117
147
  @property
118
148
  @pulumi.getter(name="deletionWindowInDays")
119
149
  @_utilities.deprecated("""Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.""")
@@ -225,8 +255,7 @@ class KeyArgs:
225
255
  @pulumi.getter(name="pendingWindowInDays")
226
256
  def pending_window_in_days(self) -> Optional[pulumi.Input[int]]:
227
257
  """
228
- The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`.
229
- **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
258
+ The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`. **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
230
259
  """
231
260
  return pulumi.get(self, "pending_window_in_days")
232
261
 
@@ -262,8 +291,7 @@ class KeyArgs:
262
291
  @pulumi.getter(name="rotationInterval")
263
292
  def rotation_interval(self) -> Optional[pulumi.Input[str]]:
264
293
  """
265
- The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval.
266
- **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
294
+ The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval. **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
267
295
  """
268
296
  return pulumi.get(self, "rotation_interval")
269
297
 
@@ -304,6 +332,8 @@ class _KeyState:
304
332
  creation_date: Optional[pulumi.Input[str]] = None,
305
333
  creator: Optional[pulumi.Input[str]] = None,
306
334
  delete_date: Optional[pulumi.Input[str]] = None,
335
+ deletion_protection: Optional[pulumi.Input[str]] = None,
336
+ deletion_protection_description: Optional[pulumi.Input[str]] = None,
307
337
  deletion_window_in_days: Optional[pulumi.Input[int]] = None,
308
338
  description: Optional[pulumi.Input[str]] = None,
309
339
  dkms_instance_id: Optional[pulumi.Input[str]] = None,
@@ -329,6 +359,8 @@ class _KeyState:
329
359
  :param pulumi.Input[str] creation_date: The time when the CMK was created.
330
360
  :param pulumi.Input[str] creator: The creator of the CMK.
331
361
  :param pulumi.Input[str] delete_date: The time at which the CMK is scheduled for deletion.
362
+ :param pulumi.Input[str] deletion_protection: Specifies whether to enable deletion protection. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`.
363
+ :param pulumi.Input[str] deletion_protection_description: The description of deletion protection. **NOTE:** `deletion_protection_description` takes effect only if `deletion_protection` is set to `Enabled`.
332
364
  :param pulumi.Input[int] deletion_window_in_days: Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.
333
365
  :param pulumi.Input[str] description: The description of the key.
334
366
  :param pulumi.Input[str] dkms_instance_id: The ID of the KMS instance.
@@ -348,13 +380,11 @@ class _KeyState:
348
380
  :param pulumi.Input[str] material_expire_time: The time when the key material expires.
349
381
  :param pulumi.Input[str] next_rotation_date: The time when the next rotation will be performed.
350
382
  :param pulumi.Input[str] origin: The key material origin. Default value: `Aliyun_KMS`. Valid values: `Aliyun_KMS`, `EXTERNAL`.
351
- :param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`.
352
- **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
383
+ :param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`. **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
353
384
  :param pulumi.Input[str] policy: The content of the key 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-setkeypolicy).
354
385
  :param pulumi.Input[str] primary_key_version: The ID of the current primary key version of the symmetric CMK.
355
386
  :param pulumi.Input[str] protection_level: The protection level of the key. Default value: `SOFTWARE`. Valid values: `SOFTWARE`, `HSM`.
356
- :param pulumi.Input[str] rotation_interval: The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval.
357
- **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
387
+ :param pulumi.Input[str] rotation_interval: The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval. **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
358
388
  :param pulumi.Input[str] status: The status of key. Default value: `Enabled`. Valid values: `Enabled`, `Disabled`, `PendingDeletion`.
359
389
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
360
390
  """
@@ -368,6 +398,10 @@ class _KeyState:
368
398
  pulumi.set(__self__, "creator", creator)
369
399
  if delete_date is not None:
370
400
  pulumi.set(__self__, "delete_date", delete_date)
401
+ if deletion_protection is not None:
402
+ pulumi.set(__self__, "deletion_protection", deletion_protection)
403
+ if deletion_protection_description is not None:
404
+ pulumi.set(__self__, "deletion_protection_description", deletion_protection_description)
371
405
  if deletion_window_in_days is not None:
372
406
  warnings.warn("""Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.""", DeprecationWarning)
373
407
  pulumi.log.warn("""deletion_window_in_days is deprecated: Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.""")
@@ -474,6 +508,30 @@ class _KeyState:
474
508
  def delete_date(self, value: Optional[pulumi.Input[str]]):
475
509
  pulumi.set(self, "delete_date", value)
476
510
 
511
+ @property
512
+ @pulumi.getter(name="deletionProtection")
513
+ def deletion_protection(self) -> Optional[pulumi.Input[str]]:
514
+ """
515
+ Specifies whether to enable deletion protection. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`.
516
+ """
517
+ return pulumi.get(self, "deletion_protection")
518
+
519
+ @deletion_protection.setter
520
+ def deletion_protection(self, value: Optional[pulumi.Input[str]]):
521
+ pulumi.set(self, "deletion_protection", value)
522
+
523
+ @property
524
+ @pulumi.getter(name="deletionProtectionDescription")
525
+ def deletion_protection_description(self) -> Optional[pulumi.Input[str]]:
526
+ """
527
+ The description of deletion protection. **NOTE:** `deletion_protection_description` takes effect only if `deletion_protection` is set to `Enabled`.
528
+ """
529
+ return pulumi.get(self, "deletion_protection_description")
530
+
531
+ @deletion_protection_description.setter
532
+ def deletion_protection_description(self, value: Optional[pulumi.Input[str]]):
533
+ pulumi.set(self, "deletion_protection_description", value)
534
+
477
535
  @property
478
536
  @pulumi.getter(name="deletionWindowInDays")
479
537
  @_utilities.deprecated("""Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.""")
@@ -621,8 +679,7 @@ class _KeyState:
621
679
  @pulumi.getter(name="pendingWindowInDays")
622
680
  def pending_window_in_days(self) -> Optional[pulumi.Input[int]]:
623
681
  """
624
- The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`.
625
- **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
682
+ The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`. **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
626
683
  """
627
684
  return pulumi.get(self, "pending_window_in_days")
628
685
 
@@ -670,8 +727,7 @@ class _KeyState:
670
727
  @pulumi.getter(name="rotationInterval")
671
728
  def rotation_interval(self) -> Optional[pulumi.Input[str]]:
672
729
  """
673
- The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval.
674
- **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
730
+ The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval. **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
675
731
  """
676
732
  return pulumi.get(self, "rotation_interval")
677
733
 
@@ -710,6 +766,8 @@ class Key(pulumi.CustomResource):
710
766
  resource_name: str,
711
767
  opts: Optional[pulumi.ResourceOptions] = None,
712
768
  automatic_rotation: Optional[pulumi.Input[str]] = None,
769
+ deletion_protection: Optional[pulumi.Input[str]] = None,
770
+ deletion_protection_description: Optional[pulumi.Input[str]] = None,
713
771
  deletion_window_in_days: Optional[pulumi.Input[int]] = None,
714
772
  description: Optional[pulumi.Input[str]] = None,
715
773
  dkms_instance_id: Optional[pulumi.Input[str]] = None,
@@ -757,6 +815,8 @@ class Key(pulumi.CustomResource):
757
815
  :param str resource_name: The name of the resource.
758
816
  :param pulumi.ResourceOptions opts: Options for the resource.
759
817
  :param pulumi.Input[str] automatic_rotation: Specifies whether to enable automatic key rotation. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`.
818
+ :param pulumi.Input[str] deletion_protection: Specifies whether to enable deletion protection. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`.
819
+ :param pulumi.Input[str] deletion_protection_description: The description of deletion protection. **NOTE:** `deletion_protection_description` takes effect only if `deletion_protection` is set to `Enabled`.
760
820
  :param pulumi.Input[int] deletion_window_in_days: Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.
761
821
  :param pulumi.Input[str] description: The description of the key.
762
822
  :param pulumi.Input[str] dkms_instance_id: The ID of the KMS instance.
@@ -773,12 +833,10 @@ class Key(pulumi.CustomResource):
773
833
  - `ENCRYPT/DECRYPT`: Encrypts or decrypts data.
774
834
  - `SIGN/VERIFY`: Generates or verifies a digital signature.
775
835
  :param pulumi.Input[str] origin: The key material origin. Default value: `Aliyun_KMS`. Valid values: `Aliyun_KMS`, `EXTERNAL`.
776
- :param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`.
777
- **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
836
+ :param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`. **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
778
837
  :param pulumi.Input[str] policy: The content of the key 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-setkeypolicy).
779
838
  :param pulumi.Input[str] protection_level: The protection level of the key. Default value: `SOFTWARE`. Valid values: `SOFTWARE`, `HSM`.
780
- :param pulumi.Input[str] rotation_interval: The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval.
781
- **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
839
+ :param pulumi.Input[str] rotation_interval: The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval. **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
782
840
  :param pulumi.Input[str] status: The status of key. Default value: `Enabled`. Valid values: `Enabled`, `Disabled`, `PendingDeletion`.
783
841
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
784
842
  """
@@ -833,6 +891,8 @@ class Key(pulumi.CustomResource):
833
891
  resource_name: str,
834
892
  opts: Optional[pulumi.ResourceOptions] = None,
835
893
  automatic_rotation: Optional[pulumi.Input[str]] = None,
894
+ deletion_protection: Optional[pulumi.Input[str]] = None,
895
+ deletion_protection_description: Optional[pulumi.Input[str]] = None,
836
896
  deletion_window_in_days: Optional[pulumi.Input[int]] = None,
837
897
  description: Optional[pulumi.Input[str]] = None,
838
898
  dkms_instance_id: Optional[pulumi.Input[str]] = None,
@@ -857,6 +917,8 @@ class Key(pulumi.CustomResource):
857
917
  __props__ = KeyArgs.__new__(KeyArgs)
858
918
 
859
919
  __props__.__dict__["automatic_rotation"] = automatic_rotation
920
+ __props__.__dict__["deletion_protection"] = deletion_protection
921
+ __props__.__dict__["deletion_protection_description"] = deletion_protection_description
860
922
  __props__.__dict__["deletion_window_in_days"] = deletion_window_in_days
861
923
  __props__.__dict__["description"] = description
862
924
  __props__.__dict__["dkms_instance_id"] = dkms_instance_id
@@ -894,6 +956,8 @@ class Key(pulumi.CustomResource):
894
956
  creation_date: Optional[pulumi.Input[str]] = None,
895
957
  creator: Optional[pulumi.Input[str]] = None,
896
958
  delete_date: Optional[pulumi.Input[str]] = None,
959
+ deletion_protection: Optional[pulumi.Input[str]] = None,
960
+ deletion_protection_description: Optional[pulumi.Input[str]] = None,
897
961
  deletion_window_in_days: Optional[pulumi.Input[int]] = None,
898
962
  description: Optional[pulumi.Input[str]] = None,
899
963
  dkms_instance_id: Optional[pulumi.Input[str]] = None,
@@ -924,6 +988,8 @@ class Key(pulumi.CustomResource):
924
988
  :param pulumi.Input[str] creation_date: The time when the CMK was created.
925
989
  :param pulumi.Input[str] creator: The creator of the CMK.
926
990
  :param pulumi.Input[str] delete_date: The time at which the CMK is scheduled for deletion.
991
+ :param pulumi.Input[str] deletion_protection: Specifies whether to enable deletion protection. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`.
992
+ :param pulumi.Input[str] deletion_protection_description: The description of deletion protection. **NOTE:** `deletion_protection_description` takes effect only if `deletion_protection` is set to `Enabled`.
927
993
  :param pulumi.Input[int] deletion_window_in_days: Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.
928
994
  :param pulumi.Input[str] description: The description of the key.
929
995
  :param pulumi.Input[str] dkms_instance_id: The ID of the KMS instance.
@@ -943,13 +1009,11 @@ class Key(pulumi.CustomResource):
943
1009
  :param pulumi.Input[str] material_expire_time: The time when the key material expires.
944
1010
  :param pulumi.Input[str] next_rotation_date: The time when the next rotation will be performed.
945
1011
  :param pulumi.Input[str] origin: The key material origin. Default value: `Aliyun_KMS`. Valid values: `Aliyun_KMS`, `EXTERNAL`.
946
- :param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`.
947
- **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
1012
+ :param pulumi.Input[int] pending_window_in_days: The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`. **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
948
1013
  :param pulumi.Input[str] policy: The content of the key 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-setkeypolicy).
949
1014
  :param pulumi.Input[str] primary_key_version: The ID of the current primary key version of the symmetric CMK.
950
1015
  :param pulumi.Input[str] protection_level: The protection level of the key. Default value: `SOFTWARE`. Valid values: `SOFTWARE`, `HSM`.
951
- :param pulumi.Input[str] rotation_interval: The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval.
952
- **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
1016
+ :param pulumi.Input[str] rotation_interval: The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval. **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
953
1017
  :param pulumi.Input[str] status: The status of key. Default value: `Enabled`. Valid values: `Enabled`, `Disabled`, `PendingDeletion`.
954
1018
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
955
1019
  """
@@ -962,6 +1026,8 @@ class Key(pulumi.CustomResource):
962
1026
  __props__.__dict__["creation_date"] = creation_date
963
1027
  __props__.__dict__["creator"] = creator
964
1028
  __props__.__dict__["delete_date"] = delete_date
1029
+ __props__.__dict__["deletion_protection"] = deletion_protection
1030
+ __props__.__dict__["deletion_protection_description"] = deletion_protection_description
965
1031
  __props__.__dict__["deletion_window_in_days"] = deletion_window_in_days
966
1032
  __props__.__dict__["description"] = description
967
1033
  __props__.__dict__["dkms_instance_id"] = dkms_instance_id
@@ -1022,6 +1088,22 @@ class Key(pulumi.CustomResource):
1022
1088
  """
1023
1089
  return pulumi.get(self, "delete_date")
1024
1090
 
1091
+ @property
1092
+ @pulumi.getter(name="deletionProtection")
1093
+ def deletion_protection(self) -> pulumi.Output[str]:
1094
+ """
1095
+ Specifies whether to enable deletion protection. Default value: `Disabled`. Valid values: `Enabled`, `Disabled`.
1096
+ """
1097
+ return pulumi.get(self, "deletion_protection")
1098
+
1099
+ @property
1100
+ @pulumi.getter(name="deletionProtectionDescription")
1101
+ def deletion_protection_description(self) -> pulumi.Output[Optional[str]]:
1102
+ """
1103
+ The description of deletion protection. **NOTE:** `deletion_protection_description` takes effect only if `deletion_protection` is set to `Enabled`.
1104
+ """
1105
+ return pulumi.get(self, "deletion_protection_description")
1106
+
1025
1107
  @property
1026
1108
  @pulumi.getter(name="deletionWindowInDays")
1027
1109
  @_utilities.deprecated("""Field `deletion_window_in_days` has been deprecated from provider version 1.85.0. New field `pending_window_in_days` instead.""")
@@ -1125,8 +1207,7 @@ class Key(pulumi.CustomResource):
1125
1207
  @pulumi.getter(name="pendingWindowInDays")
1126
1208
  def pending_window_in_days(self) -> pulumi.Output[Optional[int]]:
1127
1209
  """
1128
- The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`.
1129
- **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
1210
+ The number of days before the CMK is deleted. During this period, the CMK is in the PendingDeletion state. After this period ends, you cannot cancel the deletion. Unit: days. Valid values: `7` to `366`. **NOTE:** From version 1.184.0, `pending_window_in_days` can be set to `366`.
1130
1211
  """
1131
1212
  return pulumi.get(self, "pending_window_in_days")
1132
1213
 
@@ -1158,8 +1239,7 @@ class Key(pulumi.CustomResource):
1158
1239
  @pulumi.getter(name="rotationInterval")
1159
1240
  def rotation_interval(self) -> pulumi.Output[Optional[str]]:
1160
1241
  """
1161
- The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval.
1162
- **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
1242
+ The period of automatic key rotation. The following units are supported: d (day), h (hour), m (minute), and s (second). For example, you can use either 7d or 604800s to specify a seven-day interval. **NOTE**: If `automatic_rotation` is set to `Enabled`, `rotation_interval` is required.
1163
1243
  """
1164
1244
  return pulumi.get(self, "rotation_interval")
1165
1245
 
@@ -25,8 +25,8 @@ class BackupPolicyArgs:
25
25
  """
26
26
  The set of arguments for constructing a BackupPolicy resource.
27
27
  :param pulumi.Input[str] instance_id: The id of Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
28
- :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
29
- :param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
28
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
29
+ :param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z.
30
30
  """
31
31
  pulumi.set(__self__, "instance_id", instance_id)
32
32
  if backup_periods is not None:
@@ -50,7 +50,7 @@ class BackupPolicyArgs:
50
50
  @pulumi.getter(name="backupPeriods")
51
51
  def backup_periods(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
52
52
  """
53
- Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
53
+ Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
54
54
  """
55
55
  return pulumi.get(self, "backup_periods")
56
56
 
@@ -62,7 +62,7 @@ class BackupPolicyArgs:
62
62
  @pulumi.getter(name="backupTime")
63
63
  def backup_time(self) -> Optional[pulumi.Input[str]]:
64
64
  """
65
- Backup time, in the format of HH:mmZ- HH:mm Z
65
+ Backup time, in the format of HH:mmZ- HH:mm Z.
66
66
  """
67
67
  return pulumi.get(self, "backup_time")
68
68
 
@@ -79,8 +79,8 @@ class _BackupPolicyState:
79
79
  instance_id: Optional[pulumi.Input[str]] = None):
80
80
  """
81
81
  Input properties used for looking up and filtering BackupPolicy resources.
82
- :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
83
- :param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
82
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
83
+ :param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z.
84
84
  :param pulumi.Input[str] instance_id: The id of Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
85
85
  """
86
86
  if backup_periods is not None:
@@ -94,7 +94,7 @@ class _BackupPolicyState:
94
94
  @pulumi.getter(name="backupPeriods")
95
95
  def backup_periods(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
96
96
  """
97
- Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
97
+ Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
98
98
  """
99
99
  return pulumi.get(self, "backup_periods")
100
100
 
@@ -106,7 +106,7 @@ class _BackupPolicyState:
106
106
  @pulumi.getter(name="backupTime")
107
107
  def backup_time(self) -> Optional[pulumi.Input[str]]:
108
108
  """
109
- Backup time, in the format of HH:mmZ- HH:mm Z
109
+ Backup time, in the format of HH:mmZ- HH:mm Z.
110
110
  """
111
111
  return pulumi.get(self, "backup_time")
112
112
 
@@ -137,9 +137,13 @@ class BackupPolicy(pulumi.CustomResource):
137
137
  instance_id: Optional[pulumi.Input[str]] = None,
138
138
  __props__=None):
139
139
  """
140
- > **DEPRECATED:** This resource has been deprecated from version `1.104.0`. Please use resource alicloud_kvstore_instance.
140
+ Provides a Backup Policy for Tair (Redis OSS-Compatible) And Memcache (KVStore) resource.
141
+
142
+ For information about Backup Policy for Tair (Redis OSS-Compatible) And Memcache (KVStore) and how to use it, see [What is Backup Policy](https://www.alibabacloud.com/help/en/redis/developer-reference/api-r-kvstore-2015-01-01-modifybackuppolicy-redis).
141
143
 
142
- Provides a backup policy for Tair (Redis OSS-Compatible) And Memcache (KVStore) resource.
144
+ > **NOTE:** Available since v1.15.0.
145
+
146
+ > **DEPRECATED:** This resource has been deprecated from version `1.104.0`. Please use resource alicloud_kvstore_instance.
143
147
 
144
148
  ## Example Usage
145
149
 
@@ -152,7 +156,7 @@ class BackupPolicy(pulumi.CustomResource):
152
156
  config = pulumi.Config()
153
157
  name = config.get("name")
154
158
  if name is None:
155
- name = "kvstorebackuppolicyvpc"
159
+ name = "terraform-example"
156
160
  default = alicloud.kvstore.get_zones()
157
161
  default_network = alicloud.vpc.Network("default",
158
162
  vpc_name=name,
@@ -189,16 +193,16 @@ class BackupPolicy(pulumi.CustomResource):
189
193
 
190
194
  ## Import
191
195
 
192
- Tair (Redis OSS-Compatible) And Memcache (KVStore) backup policy can be imported using the id, e.g.
196
+ Tair (Redis OSS-Compatible) And Memcache (KVStore) Backup Policy can be imported using the id, e.g.
193
197
 
194
198
  ```sh
195
- $ pulumi import alicloud:kvstore/backupPolicy:BackupPolicy example r-abc12345678
199
+ $ pulumi import alicloud:kvstore/backupPolicy:BackupPolicy example <id>
196
200
  ```
197
201
 
198
202
  :param str resource_name: The name of the resource.
199
203
  :param pulumi.ResourceOptions opts: Options for the resource.
200
- :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
201
- :param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
204
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
205
+ :param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z.
202
206
  :param pulumi.Input[str] instance_id: The id of Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
203
207
  """
204
208
  ...
@@ -208,9 +212,13 @@ class BackupPolicy(pulumi.CustomResource):
208
212
  args: BackupPolicyArgs,
209
213
  opts: Optional[pulumi.ResourceOptions] = None):
210
214
  """
211
- > **DEPRECATED:** This resource has been deprecated from version `1.104.0`. Please use resource alicloud_kvstore_instance.
215
+ Provides a Backup Policy for Tair (Redis OSS-Compatible) And Memcache (KVStore) resource.
216
+
217
+ For information about Backup Policy for Tair (Redis OSS-Compatible) And Memcache (KVStore) and how to use it, see [What is Backup Policy](https://www.alibabacloud.com/help/en/redis/developer-reference/api-r-kvstore-2015-01-01-modifybackuppolicy-redis).
212
218
 
213
- Provides a backup policy for Tair (Redis OSS-Compatible) And Memcache (KVStore) resource.
219
+ > **NOTE:** Available since v1.15.0.
220
+
221
+ > **DEPRECATED:** This resource has been deprecated from version `1.104.0`. Please use resource alicloud_kvstore_instance.
214
222
 
215
223
  ## Example Usage
216
224
 
@@ -223,7 +231,7 @@ class BackupPolicy(pulumi.CustomResource):
223
231
  config = pulumi.Config()
224
232
  name = config.get("name")
225
233
  if name is None:
226
- name = "kvstorebackuppolicyvpc"
234
+ name = "terraform-example"
227
235
  default = alicloud.kvstore.get_zones()
228
236
  default_network = alicloud.vpc.Network("default",
229
237
  vpc_name=name,
@@ -260,10 +268,10 @@ class BackupPolicy(pulumi.CustomResource):
260
268
 
261
269
  ## Import
262
270
 
263
- Tair (Redis OSS-Compatible) And Memcache (KVStore) backup policy can be imported using the id, e.g.
271
+ Tair (Redis OSS-Compatible) And Memcache (KVStore) Backup Policy can be imported using the id, e.g.
264
272
 
265
273
  ```sh
266
- $ pulumi import alicloud:kvstore/backupPolicy:BackupPolicy example r-abc12345678
274
+ $ pulumi import alicloud:kvstore/backupPolicy:BackupPolicy example <id>
267
275
  ```
268
276
 
269
277
  :param str resource_name: The name of the resource.
@@ -318,8 +326,8 @@ class BackupPolicy(pulumi.CustomResource):
318
326
  :param str resource_name: The unique name of the resulting resource.
319
327
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
320
328
  :param pulumi.ResourceOptions opts: Options for the resource.
321
- :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
322
- :param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z
329
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
330
+ :param pulumi.Input[str] backup_time: Backup time, in the format of HH:mmZ- HH:mm Z.
323
331
  :param pulumi.Input[str] instance_id: The id of Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
324
332
  """
325
333
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -335,7 +343,7 @@ class BackupPolicy(pulumi.CustomResource):
335
343
  @pulumi.getter(name="backupPeriods")
336
344
  def backup_periods(self) -> pulumi.Output[Sequence[str]]:
337
345
  """
338
- Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
346
+ Backup Cycle. Allowed values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
339
347
  """
340
348
  return pulumi.get(self, "backup_periods")
341
349
 
@@ -343,7 +351,7 @@ class BackupPolicy(pulumi.CustomResource):
343
351
  @pulumi.getter(name="backupTime")
344
352
  def backup_time(self) -> pulumi.Output[Optional[str]]:
345
353
  """
346
- Backup time, in the format of HH:mmZ- HH:mm Z
354
+ Backup time, in the format of HH:mmZ- HH:mm Z.
347
355
  """
348
356
  return pulumi.get(self, "backup_time")
349
357
 
@@ -101,6 +101,9 @@ class GetInstancesResult:
101
101
  @property
102
102
  @pulumi.getter(name="architectureType")
103
103
  def architecture_type(self) -> Optional[str]:
104
+ """
105
+ The architecture type of the instance.
106
+ """
104
107
  return pulumi.get(self, "architecture_type")
105
108
 
106
109
  @property
@@ -151,8 +154,7 @@ class GetInstancesResult:
151
154
  @pulumi.getter(name="instanceClass")
152
155
  def instance_class(self) -> Optional[str]:
153
156
  """
154
- (Optional) Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.
155
- For more information, see [Instance type table](https://www.alibabacloud.com/help/en/redis/product-overview/overview-4).
157
+ Type of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. For more information, see [Instance type table](https://www.alibabacloud.com/help/en/redis/product-overview/overview-4).
156
158
  """
157
159
  return pulumi.get(self, "instance_class")
158
160
 
@@ -160,7 +162,7 @@ class GetInstancesResult:
160
162
  @pulumi.getter(name="instanceType")
161
163
  def instance_type(self) -> Optional[str]:
162
164
  """
163
- (Optional) Database type. Valid Values: `Memcache`, `Redis`. If no value is specified, all types are returned.
165
+ Database type. Valid Values: `Memcache`, `Redis`. If no value is specified, all types are returned.
164
166
  """
165
167
  return pulumi.get(self, "instance_type")
166
168
 
@@ -209,11 +211,17 @@ class GetInstancesResult:
209
211
  @property
210
212
  @pulumi.getter(name="resourceGroupId")
211
213
  def resource_group_id(self) -> Optional[str]:
214
+ """
215
+ The ID of the resource group to which the instance belongs.
216
+ """
212
217
  return pulumi.get(self, "resource_group_id")
213
218
 
214
219
  @property
215
220
  @pulumi.getter(name="searchKey")
216
221
  def search_key(self) -> Optional[str]:
222
+ """
223
+ The keyword used for fuzzy search. The keyword can be based on an instance name or an instance ID.
224
+ """
217
225
  return pulumi.get(self, "search_key")
218
226
 
219
227
  @property
@@ -227,6 +235,9 @@ class GetInstancesResult:
227
235
  @property
228
236
  @pulumi.getter
229
237
  def tags(self) -> Optional[Mapping[str, str]]:
238
+ """
239
+ A mapping of tags to assign to the resource.
240
+ """
230
241
  return pulumi.get(self, "tags")
231
242
 
232
243
  @property