pulumi-alicloud 3.72.0a1735837979__py3-none-any.whl → 3.72.0a1735848496__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 +75 -0
- pulumi_alicloud/_inputs.py +471 -0
- pulumi_alicloud/adb/cluster.py +68 -0
- pulumi_alicloud/adb/db_cluster.py +94 -0
- pulumi_alicloud/adb/get_db_cluster_lake_versions.py +39 -4
- pulumi_alicloud/adb/outputs.py +106 -2
- pulumi_alicloud/apig/__init__.py +12 -0
- pulumi_alicloud/apig/_inputs.py +263 -0
- pulumi_alicloud/apig/environment.py +317 -0
- pulumi_alicloud/apig/gateway.py +645 -0
- pulumi_alicloud/apig/http_api.py +465 -0
- pulumi_alicloud/apig/outputs.py +213 -0
- pulumi_alicloud/cfg/get_aggregate_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_aggregate_config_rules.py +4 -4
- pulumi_alicloud/cfg/get_aggregate_deliveries.py +16 -2
- pulumi_alicloud/cfg/get_aggregators.py +2 -2
- pulumi_alicloud/cfg/get_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_configuration_recorders.py +2 -6
- pulumi_alicloud/cfg/get_deliveries.py +11 -2
- pulumi_alicloud/cfg/get_delivery_channels.py +0 -4
- pulumi_alicloud/cfg/get_rules.py +3 -7
- pulumi_alicloud/cfg/outputs.py +28 -20
- pulumi_alicloud/cloudfirewall/get_instance_members.py +2 -2
- pulumi_alicloud/cloudfirewall/get_instances.py +23 -6
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_cens.py +2 -2
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +32 -2
- pulumi_alicloud/cloudfirewall/get_vpc_firewalls.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +1 -1
- pulumi_alicloud/cloudfirewall/outputs.py +16 -4
- pulumi_alicloud/config/__init__.pyi +2 -0
- pulumi_alicloud/config/outputs.py +284 -0
- pulumi_alicloud/config/vars.py +4 -0
- pulumi_alicloud/cr/_inputs.py +128 -0
- pulumi_alicloud/cr/outputs.py +93 -0
- pulumi_alicloud/cr/registry_enterprise_instance.py +86 -63
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +331 -38
- pulumi_alicloud/dcdn/get_domains.py +2 -2
- pulumi_alicloud/dcdn/get_ipa_domains.py +14 -2
- pulumi_alicloud/dcdn/get_waf_domains.py +5 -2
- pulumi_alicloud/dcdn/get_waf_policies.py +8 -2
- pulumi_alicloud/dcdn/outputs.py +6 -6
- pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +8 -2
- pulumi_alicloud/ddos/get_ddos_coo_ports.py +16 -4
- pulumi_alicloud/ddos/outputs.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +9 -0
- pulumi_alicloud/ecs/get_ecs_disks.py +103 -14
- pulumi_alicloud/ecs/outputs.py +90 -36
- pulumi_alicloud/esa/__init__.py +3 -0
- pulumi_alicloud/esa/_inputs.py +456 -0
- pulumi_alicloud/esa/outputs.py +321 -0
- pulumi_alicloud/esa/record.py +798 -0
- pulumi_alicloud/ess/get_scaling_configurations.py +116 -10
- pulumi_alicloud/ess/notification.py +50 -3
- pulumi_alicloud/ess/outputs.py +104 -8
- pulumi_alicloud/ess/scheduled_task.py +7 -7
- pulumi_alicloud/fc/v3_trigger.py +1 -1
- pulumi_alicloud/ga/get_accelerator_spare_ip_attachments.py +11 -2
- pulumi_alicloud/ga/get_acls.py +14 -2
- pulumi_alicloud/ga/get_additional_certificates.py +11 -2
- pulumi_alicloud/ga/get_bandwidth_packages.py +14 -2
- pulumi_alicloud/ga/get_basic_accelerate_ip_endpoint_relations.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerate_ips.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerators.py +2 -2
- pulumi_alicloud/ga/get_basic_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_group_destinations.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_groups.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_traffic_policies.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_port_mappings.py +2 -2
- pulumi_alicloud/ga/get_domains.py +2 -2
- pulumi_alicloud/ga/get_forwarding_rules.py +8 -2
- pulumi_alicloud/ga/get_ip_sets.py +8 -2
- pulumi_alicloud/ga/get_listeners.py +11 -2
- pulumi_alicloud/ga/outputs.py +64 -32
- pulumi_alicloud/get_msc_sub_contact_verification_message.py +2 -2
- pulumi_alicloud/get_msc_sub_contacts.py +8 -2
- pulumi_alicloud/get_msc_sub_subscriptions.py +5 -2
- pulumi_alicloud/get_msc_sub_webhooks.py +8 -2
- pulumi_alicloud/kms/key.py +108 -28
- pulumi_alicloud/kvstore/get_instances.py +14 -3
- pulumi_alicloud/kvstore/outputs.py +48 -4
- pulumi_alicloud/marketplace/order.py +2 -2
- pulumi_alicloud/mongodb/__init__.py +1 -0
- pulumi_alicloud/mongodb/private_srv_network_address.py +283 -0
- pulumi_alicloud/oss/__init__.py +2 -0
- pulumi_alicloud/oss/_inputs.py +68 -0
- pulumi_alicloud/oss/access_point.py +463 -0
- pulumi_alicloud/oss/bucket_worm.py +327 -0
- pulumi_alicloud/oss/outputs.py +74 -0
- pulumi_alicloud/privatelink/get_service.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +14 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_resources.py +8 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_users.py +11 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +11 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +23 -2
- pulumi_alicloud/privatelink/outputs.py +6 -6
- pulumi_alicloud/provider.py +20 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_policies.py +66 -8
- pulumi_alicloud/rds/instance.py +211 -14
- pulumi_alicloud/resourcemanager/control_policy_attachment.py +28 -28
- pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
- pulumi_alicloud/schedulerx/__init__.py +3 -0
- pulumi_alicloud/schedulerx/_inputs.py +542 -0
- pulumi_alicloud/schedulerx/app_group.py +952 -0
- pulumi_alicloud/schedulerx/job.py +1454 -0
- pulumi_alicloud/schedulerx/namespace.py +64 -51
- pulumi_alicloud/schedulerx/outputs.py +425 -0
- pulumi_alicloud/sddp/get_configs.py +5 -2
- pulumi_alicloud/sddp/get_data_limits.py +11 -2
- pulumi_alicloud/sddp/get_instances.py +5 -2
- pulumi_alicloud/sddp/get_rules.py +29 -2
- pulumi_alicloud/sddp/outputs.py +14 -14
- pulumi_alicloud/vpc/get_peer_connections.py +17 -2
- pulumi_alicloud/vpc/network.py +293 -40
- pulumi_alicloud/vpc/outputs.py +2 -2
- pulumi_alicloud/vpc/peer_connection.py +239 -132
- pulumi_alicloud/vpc/peer_connection_accepter.py +85 -6
- pulumi_alicloud/waf/domain.py +2 -2
- pulumi_alicloud/waf/get_certificates.py +14 -2
- pulumi_alicloud/waf/get_domains.py +6 -4
- pulumi_alicloud/waf/get_instances.py +2 -2
- pulumi_alicloud/waf/instance.py +0 -64
- pulumi_alicloud/waf/outputs.py +2 -4
- pulumi_alicloud/wafv3/get_instances.py +10 -4
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735848496.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735848496.dist-info}/RECORD +129 -114
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735848496.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735848496.dist-info}/top_level.txt +0 -0
pulumi_alicloud/kms/key.py
CHANGED
|
@@ -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
|
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
|
@@ -384,9 +384,11 @@ class GetInstancesInstanceResult(dict):
|
|
|
384
384
|
zone_id: str):
|
|
385
385
|
"""
|
|
386
386
|
:param str architecture_type: The type of the architecture. Valid values: `cluster`, `standard` and `SplitRW`.
|
|
387
|
+
:param bool auto_renew: Indicates whether auto-renewal is enabled for the instance.
|
|
388
|
+
:param int auto_renew_period: The duration for which the instance is automatically renewed. Unit: months.
|
|
387
389
|
:param str availability_zone: It has been deprecated from provider version 1.101.0 and `zone_id` instead.
|
|
388
390
|
:param int bandwidth: Instance bandwidth limit. Unit: Mbit/s.
|
|
389
|
-
:param int capacity: Capacity of the applied Tair (Redis OSS-Compatible) And
|
|
391
|
+
:param int capacity: Capacity of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. Unit: MB.
|
|
390
392
|
:param str charge_type: It has been deprecated from provider version 1.101.0 and `payment_type` instead.
|
|
391
393
|
:param Mapping[str, str] config: The parameter configuration of the instance.
|
|
392
394
|
:param str connection_domain: Instance connection domain (only Intranet access supported).
|
|
@@ -402,8 +404,11 @@ class GetInstancesInstanceResult(dict):
|
|
|
402
404
|
:param bool has_renew_change_order: Indicates whether there was an order of renewal with configuration change that had not taken effect.
|
|
403
405
|
:param str id: The ID of the instance.
|
|
404
406
|
:param str instance_class: Type of the applied Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance. For more information, see [Instance type table](https://help.aliyun.com/zh/redis/developer-reference/instance-types).
|
|
407
|
+
:param bool instance_release_protection: Indicates whether the release protection feature is enabled for the instance.
|
|
405
408
|
:param str instance_type: The engine type of the KVStore DBInstance. Options are `Memcache`, and `Redis`. If no value is specified, all types are returned.
|
|
406
409
|
:param bool is_rds: Indicates whether the instance is managed by Relational Database Service (RDS).
|
|
410
|
+
:param str maintain_end_time: The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
|
|
411
|
+
:param str maintain_start_time: The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
|
|
407
412
|
:param int max_connections: Instance connection quantity limit. Unit: count.
|
|
408
413
|
:param str name: It has been deprecated from provider version 1.101.0 and `db_instance_name` instead.
|
|
409
414
|
:param str network_type: The type of the network. Valid values: `CLASSIC`, `VPC`.
|
|
@@ -417,10 +422,16 @@ class GetInstancesInstanceResult(dict):
|
|
|
417
422
|
:param str replacate_id: The logical ID of the replica instance.
|
|
418
423
|
:param str resource_group_id: The ID of the resource group.
|
|
419
424
|
:param str search_key: The name of the instance.
|
|
420
|
-
:param str secondary_zone_id:
|
|
425
|
+
:param str secondary_zone_id: The ID of the secondary zone to which you want to migrate the Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.
|
|
426
|
+
:param str security_group_id: The ID of the security group associated with the instance.
|
|
427
|
+
:param str security_ip_group_attribute: By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is hidden
|
|
428
|
+
:param str security_ip_group_name: The name of the IP address whitelist.
|
|
429
|
+
:param Sequence[str] security_ips: The IP addresses in the whitelist.
|
|
430
|
+
:param str ssl_enable: Indicates whether SSL encryption is enabled.
|
|
421
431
|
:param str status: The status of the KVStore DBInstance. Valid values: `Changing`, `CleaningUpExpiredData`, `Creating`, `Flushing`, `HASwitching`, `Inactive`, `MajorVersionUpgrading`, `Migrating`, `NetworkModifying`, `Normal`, `Rebooting`, `SSLModifying`, `Transforming`, `ZoneMigrating`.
|
|
422
432
|
:param Mapping[str, str] tags: Query the instance bound to the tag. The format of the incoming value is `json` string, including `TagKey` and `TagValue`. `TagKey` cannot be null, and `TagValue` can be empty. Format example `{"key1":"value1"}`.
|
|
423
433
|
:param str user_name: The username of the instance.
|
|
434
|
+
:param str vpc_auth_mode: Indicates whether password authentication is enabled. Valid values: Open, Close.
|
|
424
435
|
:param str vpc_cloud_instance_id: Connection port of the instance.
|
|
425
436
|
:param str vpc_id: Used to retrieve instances belong to specified VPC.
|
|
426
437
|
:param str vswitch_id: Used to retrieve instances belong to specified `vswitch` resources.
|
|
@@ -491,11 +502,17 @@ class GetInstancesInstanceResult(dict):
|
|
|
491
502
|
@property
|
|
492
503
|
@pulumi.getter(name="autoRenew")
|
|
493
504
|
def auto_renew(self) -> bool:
|
|
505
|
+
"""
|
|
506
|
+
Indicates whether auto-renewal is enabled for the instance.
|
|
507
|
+
"""
|
|
494
508
|
return pulumi.get(self, "auto_renew")
|
|
495
509
|
|
|
496
510
|
@property
|
|
497
511
|
@pulumi.getter(name="autoRenewPeriod")
|
|
498
512
|
def auto_renew_period(self) -> int:
|
|
513
|
+
"""
|
|
514
|
+
The duration for which the instance is automatically renewed. Unit: months.
|
|
515
|
+
"""
|
|
499
516
|
return pulumi.get(self, "auto_renew_period")
|
|
500
517
|
|
|
501
518
|
@property
|
|
@@ -518,7 +535,7 @@ class GetInstancesInstanceResult(dict):
|
|
|
518
535
|
@pulumi.getter
|
|
519
536
|
def capacity(self) -> int:
|
|
520
537
|
"""
|
|
521
|
-
Capacity of the applied Tair (Redis OSS-Compatible) And
|
|
538
|
+
Capacity of the applied Tair (Redis OSS-Compatible) And Memcached (KVStore) Classic Instance. Unit: MB.
|
|
522
539
|
"""
|
|
523
540
|
return pulumi.get(self, "capacity")
|
|
524
541
|
|
|
@@ -645,6 +662,9 @@ class GetInstancesInstanceResult(dict):
|
|
|
645
662
|
@property
|
|
646
663
|
@pulumi.getter(name="instanceReleaseProtection")
|
|
647
664
|
def instance_release_protection(self) -> bool:
|
|
665
|
+
"""
|
|
666
|
+
Indicates whether the release protection feature is enabled for the instance.
|
|
667
|
+
"""
|
|
648
668
|
return pulumi.get(self, "instance_release_protection")
|
|
649
669
|
|
|
650
670
|
@property
|
|
@@ -666,11 +686,17 @@ class GetInstancesInstanceResult(dict):
|
|
|
666
686
|
@property
|
|
667
687
|
@pulumi.getter(name="maintainEndTime")
|
|
668
688
|
def maintain_end_time(self) -> str:
|
|
689
|
+
"""
|
|
690
|
+
The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
|
|
691
|
+
"""
|
|
669
692
|
return pulumi.get(self, "maintain_end_time")
|
|
670
693
|
|
|
671
694
|
@property
|
|
672
695
|
@pulumi.getter(name="maintainStartTime")
|
|
673
696
|
def maintain_start_time(self) -> str:
|
|
697
|
+
"""
|
|
698
|
+
The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.
|
|
699
|
+
"""
|
|
674
700
|
return pulumi.get(self, "maintain_start_time")
|
|
675
701
|
|
|
676
702
|
@property
|
|
@@ -781,33 +807,48 @@ class GetInstancesInstanceResult(dict):
|
|
|
781
807
|
@pulumi.getter(name="secondaryZoneId")
|
|
782
808
|
def secondary_zone_id(self) -> str:
|
|
783
809
|
"""
|
|
784
|
-
|
|
810
|
+
The ID of the secondary zone to which you want to migrate the Tair (Redis OSS-Compatible) And Memcache (KVStore) Classic Instance.
|
|
785
811
|
"""
|
|
786
812
|
return pulumi.get(self, "secondary_zone_id")
|
|
787
813
|
|
|
788
814
|
@property
|
|
789
815
|
@pulumi.getter(name="securityGroupId")
|
|
790
816
|
def security_group_id(self) -> str:
|
|
817
|
+
"""
|
|
818
|
+
The ID of the security group associated with the instance.
|
|
819
|
+
"""
|
|
791
820
|
return pulumi.get(self, "security_group_id")
|
|
792
821
|
|
|
793
822
|
@property
|
|
794
823
|
@pulumi.getter(name="securityIpGroupAttribute")
|
|
795
824
|
def security_ip_group_attribute(self) -> str:
|
|
825
|
+
"""
|
|
826
|
+
By default, this parameter is left empty. The attribute of the whitelist. The console does not display the whitelist whose value of this parameter is hidden
|
|
827
|
+
"""
|
|
796
828
|
return pulumi.get(self, "security_ip_group_attribute")
|
|
797
829
|
|
|
798
830
|
@property
|
|
799
831
|
@pulumi.getter(name="securityIpGroupName")
|
|
800
832
|
def security_ip_group_name(self) -> str:
|
|
833
|
+
"""
|
|
834
|
+
The name of the IP address whitelist.
|
|
835
|
+
"""
|
|
801
836
|
return pulumi.get(self, "security_ip_group_name")
|
|
802
837
|
|
|
803
838
|
@property
|
|
804
839
|
@pulumi.getter(name="securityIps")
|
|
805
840
|
def security_ips(self) -> Sequence[str]:
|
|
841
|
+
"""
|
|
842
|
+
The IP addresses in the whitelist.
|
|
843
|
+
"""
|
|
806
844
|
return pulumi.get(self, "security_ips")
|
|
807
845
|
|
|
808
846
|
@property
|
|
809
847
|
@pulumi.getter(name="sslEnable")
|
|
810
848
|
def ssl_enable(self) -> str:
|
|
849
|
+
"""
|
|
850
|
+
Indicates whether SSL encryption is enabled.
|
|
851
|
+
"""
|
|
811
852
|
return pulumi.get(self, "ssl_enable")
|
|
812
853
|
|
|
813
854
|
@property
|
|
@@ -837,6 +878,9 @@ class GetInstancesInstanceResult(dict):
|
|
|
837
878
|
@property
|
|
838
879
|
@pulumi.getter(name="vpcAuthMode")
|
|
839
880
|
def vpc_auth_mode(self) -> str:
|
|
881
|
+
"""
|
|
882
|
+
Indicates whether password authentication is enabled. Valid values: Open, Close.
|
|
883
|
+
"""
|
|
840
884
|
return pulumi.get(self, "vpc_auth_mode")
|
|
841
885
|
|
|
842
886
|
@property
|
|
@@ -310,7 +310,7 @@ class Order(pulumi.CustomResource):
|
|
|
310
310
|
|
|
311
311
|
order = alicloud.marketplace.Order("order",
|
|
312
312
|
product_code="cmapi033136",
|
|
313
|
-
pay_type="
|
|
313
|
+
pay_type="PrePaid",
|
|
314
314
|
quantity=1,
|
|
315
315
|
duration=1,
|
|
316
316
|
pricing_cycle="Month",
|
|
@@ -354,7 +354,7 @@ class Order(pulumi.CustomResource):
|
|
|
354
354
|
|
|
355
355
|
order = alicloud.marketplace.Order("order",
|
|
356
356
|
product_code="cmapi033136",
|
|
357
|
-
pay_type="
|
|
357
|
+
pay_type="PrePaid",
|
|
358
358
|
quantity=1,
|
|
359
359
|
duration=1,
|
|
360
360
|
pricing_cycle="Month",
|
|
@@ -15,6 +15,7 @@ from .get_sharding_network_private_addresses import *
|
|
|
15
15
|
from .get_sharding_network_public_addresses import *
|
|
16
16
|
from .get_zones import *
|
|
17
17
|
from .instance import *
|
|
18
|
+
from .private_srv_network_address import *
|
|
18
19
|
from .serverless_instance import *
|
|
19
20
|
from .sharding_instance import *
|
|
20
21
|
from .sharding_network_private_address import *
|