pulumi-alicloud 3.76.0a1743571220__py3-none-any.whl → 3.76.0a1744139894__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 +271 -4
- pulumi_alicloud/_inputs.py +20 -0
- pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
- pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
- pulumi_alicloud/alb/server_group.py +2 -2
- pulumi_alicloud/alikafka/sasl_acl.py +7 -7
- pulumi_alicloud/apigateway/_inputs.py +134 -0
- pulumi_alicloud/apigateway/group.py +117 -5
- pulumi_alicloud/apigateway/instance.py +148 -7
- pulumi_alicloud/apigateway/outputs.py +107 -0
- pulumi_alicloud/arms/alert_contact.py +2 -2
- pulumi_alicloud/arms/alert_contact_group.py +2 -2
- pulumi_alicloud/arms/get_prometheus.py +2 -6
- pulumi_alicloud/arms/grafana_workspace.py +511 -69
- pulumi_alicloud/arms/outputs.py +18 -18
- pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
- pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
- pulumi_alicloud/cdn/domain_new.py +2 -2
- pulumi_alicloud/cen/_inputs.py +6 -3
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
- pulumi_alicloud/cen/instance.py +101 -59
- pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
- pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
- pulumi_alicloud/cen/outputs.py +69 -26
- pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
- pulumi_alicloud/cen/transit_router.py +127 -53
- pulumi_alicloud/cen/transit_router_cidr.py +53 -35
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
- pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
- pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
- pulumi_alicloud/clickhouse/db_cluster.py +179 -6
- pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
- pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
- pulumi_alicloud/config/outputs.py +12 -0
- pulumi_alicloud/cs/__init__.py +1 -0
- pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
- pulumi_alicloud/cs/managed_kubernetes.py +127 -24
- pulumi_alicloud/cs/node_pool.py +42 -42
- pulumi_alicloud/cs/outputs.py +1782 -4
- pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
- pulumi_alicloud/dataworks/data_source.py +2 -2
- pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
- pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
- pulumi_alicloud/dataworks/di_job.py +2 -2
- pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
- pulumi_alicloud/dataworks/network.py +2 -2
- pulumi_alicloud/dataworks/project.py +2 -2
- pulumi_alicloud/dataworks/project_member.py +2 -2
- pulumi_alicloud/dbs/backup_plan.py +2 -2
- pulumi_alicloud/ddos/bgp_policy.py +2 -2
- pulumi_alicloud/eais/__init__.py +2 -0
- pulumi_alicloud/eais/_inputs.py +75 -0
- pulumi_alicloud/eais/client_instance_attachment.py +408 -0
- pulumi_alicloud/eais/instance.py +365 -118
- pulumi_alicloud/eais/outputs.py +32 -0
- pulumi_alicloud/ebs/disk_replica_group.py +512 -30
- pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
- pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
- pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
- pulumi_alicloud/ecp/instance.py +2 -2
- pulumi_alicloud/ecp/key_pair.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +33 -0
- pulumi_alicloud/ecs/disk.py +1 -1
- pulumi_alicloud/ecs/ecs_disk.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
- pulumi_alicloud/ecs/instance.py +1 -1
- pulumi_alicloud/ecs/outputs.py +26 -2
- pulumi_alicloud/eflo/__init__.py +5 -0
- pulumi_alicloud/eflo/_inputs.py +1717 -0
- pulumi_alicloud/eflo/cluster.py +935 -0
- pulumi_alicloud/eflo/invocation.py +1114 -0
- pulumi_alicloud/eflo/node.py +1013 -0
- pulumi_alicloud/eflo/node_group.py +1101 -0
- pulumi_alicloud/eflo/outputs.py +1366 -0
- pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
- pulumi_alicloud/ens/image.py +81 -34
- pulumi_alicloud/esa/__init__.py +4 -0
- pulumi_alicloud/esa/_inputs.py +640 -18
- pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
- pulumi_alicloud/esa/cache_rule.py +193 -179
- pulumi_alicloud/esa/certificate.py +99 -92
- pulumi_alicloud/esa/compression_rule.py +42 -28
- pulumi_alicloud/esa/edge_container_app.py +972 -0
- pulumi_alicloud/esa/edge_container_app_record.py +376 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +56 -42
- pulumi_alicloud/esa/http_response_header_modification_rule.py +35 -56
- pulumi_alicloud/esa/https_application_configuration.py +42 -28
- pulumi_alicloud/esa/https_basic_configuration.py +56 -42
- pulumi_alicloud/esa/image_transform.py +42 -28
- pulumi_alicloud/esa/kv_namespace.py +11 -11
- pulumi_alicloud/esa/list.py +28 -28
- pulumi_alicloud/esa/network_optimization.py +56 -126
- pulumi_alicloud/esa/origin_pool.py +19 -19
- pulumi_alicloud/esa/origin_rule.py +67 -39
- pulumi_alicloud/esa/outputs.py +536 -12
- pulumi_alicloud/esa/page.py +28 -49
- pulumi_alicloud/esa/rate_plan_instance.py +86 -159
- pulumi_alicloud/esa/redirect_rule.py +42 -28
- pulumi_alicloud/esa/rewrite_url_rule.py +49 -63
- pulumi_alicloud/esa/site.py +67 -123
- pulumi_alicloud/esa/site_delivery_task.py +841 -0
- pulumi_alicloud/esa/waiting_room.py +269 -319
- pulumi_alicloud/esa/waiting_room_event.py +291 -305
- pulumi_alicloud/esa/waiting_room_rule.py +46 -53
- pulumi_alicloud/ess/_inputs.py +155 -0
- pulumi_alicloud/ess/outputs.py +128 -0
- pulumi_alicloud/ess/scaling_group.py +237 -2
- pulumi_alicloud/ess/scaling_rule.py +143 -2
- pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
- pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
- pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
- pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
- pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
- pulumi_alicloud/gpdb/streaming_job.py +2 -2
- pulumi_alicloud/ims/oidc_provider.py +24 -13
- pulumi_alicloud/kvstore/account.py +9 -9
- pulumi_alicloud/kvstore/connection.py +2 -2
- pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
- pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
- pulumi_alicloud/kvstore/instance.py +7 -7
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/live/caster.py +2 -2
- pulumi_alicloud/maxcompute/__init__.py +1 -0
- pulumi_alicloud/maxcompute/_inputs.py +232 -3
- pulumi_alicloud/maxcompute/outputs.py +183 -2
- pulumi_alicloud/maxcompute/project.py +2 -2
- pulumi_alicloud/maxcompute/quota.py +438 -0
- pulumi_alicloud/nas/mount_target.py +149 -54
- pulumi_alicloud/nlb/__init__.py +1 -0
- pulumi_alicloud/nlb/_inputs.py +43 -6
- pulumi_alicloud/nlb/load_balancer.py +212 -24
- pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
- pulumi_alicloud/nlb/outputs.py +30 -4
- pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
- pulumi_alicloud/oss/__init__.py +1 -0
- pulumi_alicloud/oss/_inputs.py +20 -0
- pulumi_alicloud/oss/access_point.py +2 -2
- pulumi_alicloud/oss/bucket_cname.py +2 -2
- pulumi_alicloud/oss/bucket_cors.py +2 -2
- pulumi_alicloud/oss/bucket_style.py +402 -0
- pulumi_alicloud/oss/bucket_website.py +2 -2
- pulumi_alicloud/oss/outputs.py +14 -0
- pulumi_alicloud/pai/service.py +59 -67
- pulumi_alicloud/polardb/cluster.py +75 -28
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/__init__.py +3 -0
- pulumi_alicloud/ram/_inputs.py +9 -9
- pulumi_alicloud/ram/access_key.py +77 -31
- pulumi_alicloud/ram/account_alias.py +18 -45
- pulumi_alicloud/ram/get_system_policys.py +189 -0
- pulumi_alicloud/ram/group.py +156 -35
- pulumi_alicloud/ram/group_policy_attachment.py +51 -29
- pulumi_alicloud/ram/login_profile.py +92 -38
- pulumi_alicloud/ram/outputs.py +91 -6
- pulumi_alicloud/ram/password_policy.py +779 -0
- pulumi_alicloud/ram/policy.py +199 -88
- pulumi_alicloud/ram/role_policy_attachment.py +51 -29
- pulumi_alicloud/ram/saml_provider.py +44 -37
- pulumi_alicloud/ram/user_group_attachment.py +273 -0
- pulumi_alicloud/ram/user_policy_attachment.py +49 -27
- pulumi_alicloud/rds/__init__.py +1 -0
- pulumi_alicloud/rds/custom_disk.py +1053 -0
- pulumi_alicloud/rds/instance.py +110 -14
- pulumi_alicloud/redis/tair_instance.py +14 -14
- pulumi_alicloud/resourcemanager/__init__.py +1 -0
- pulumi_alicloud/resourcemanager/_inputs.py +53 -0
- pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
- pulumi_alicloud/resourcemanager/outputs.py +50 -0
- pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
- pulumi_alicloud/rocketmq/__init__.py +1 -1
- pulumi_alicloud/rocketmq/_inputs.py +146 -4
- pulumi_alicloud/rocketmq/account.py +452 -0
- pulumi_alicloud/rocketmq/acl.py +473 -47
- pulumi_alicloud/rocketmq/client_user.py +8 -2
- pulumi_alicloud/rocketmq/consumer_group.py +121 -24
- pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
- pulumi_alicloud/rocketmq/outputs.py +113 -4
- pulumi_alicloud/rocketmq/qos.py +8 -2
- pulumi_alicloud/rocketmq/qos_car.py +10 -4
- pulumi_alicloud/rocketmq/qos_policy.py +6 -0
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
- pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
- pulumi_alicloud/rocketmq/snat_entry.py +8 -2
- pulumi_alicloud/sag/__init__.py +8 -0
- pulumi_alicloud/sag/acl.py +200 -0
- pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
- pulumi_alicloud/sag/client_user.py +560 -0
- pulumi_alicloud/sag/dnat_entry.py +512 -0
- pulumi_alicloud/sag/get_acls.py +2 -2
- pulumi_alicloud/sag/qos.py +202 -0
- pulumi_alicloud/sag/qos_car.py +654 -0
- pulumi_alicloud/sag/qos_policy.py +659 -0
- pulumi_alicloud/sag/snat_entry.py +313 -0
- pulumi_alicloud/securitycenter/group.py +2 -2
- pulumi_alicloud/selectdb/db_instance.py +60 -11
- pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
- pulumi_alicloud/sls/oss_export_sink.py +2 -2
- pulumi_alicloud/threatdetection/__init__.py +3 -0
- pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
- pulumi_alicloud/threatdetection/asset_bind.py +209 -0
- pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
- pulumi_alicloud/threatdetection/instance.py +271 -54
- pulumi_alicloud/threatdetection/log_meta.py +351 -0
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/_inputs.py +281 -0
- pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
- pulumi_alicloud/vpc/ipv6_address.py +85 -5
- pulumi_alicloud/vpc/outputs.py +232 -0
- pulumi_alicloud/vpc/peer_connection.py +84 -42
- pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
- pulumi_alicloud/vpc/route_table.py +100 -45
- pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
- pulumi_alicloud/vpn/_inputs.py +716 -71
- pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +20 -63
- pulumi_alicloud/vpn/ipsec_server.py +2 -2
- pulumi_alicloud/vpn/outputs.py +1963 -998
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/RECORD +237 -197
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/top_level.txt +0 -0
|
@@ -24,14 +24,18 @@ class DiskReplicaPairArgs:
|
|
|
24
24
|
destination_zone_id: pulumi.Input[str],
|
|
25
25
|
disk_id: pulumi.Input[str],
|
|
26
26
|
source_zone_id: pulumi.Input[str],
|
|
27
|
-
bandwidth: Optional[pulumi.Input[
|
|
27
|
+
bandwidth: Optional[pulumi.Input[int]] = None,
|
|
28
28
|
description: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
disk_replica_pair_name: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
one_shot: Optional[pulumi.Input[bool]] = None,
|
|
29
31
|
pair_name: Optional[pulumi.Input[str]] = None,
|
|
30
32
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
period: Optional[pulumi.Input[
|
|
33
|
+
period: Optional[pulumi.Input[int]] = None,
|
|
32
34
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
36
|
+
reverse_replicate: Optional[pulumi.Input[bool]] = None,
|
|
37
|
+
rpo: Optional[pulumi.Input[int]] = None,
|
|
38
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
35
39
|
"""
|
|
36
40
|
The set of arguments for constructing a DiskReplicaPair resource.
|
|
37
41
|
:param pulumi.Input[str] destination_disk_id: The ID of the standby disk.
|
|
@@ -39,14 +43,37 @@ class DiskReplicaPairArgs:
|
|
|
39
43
|
:param pulumi.Input[str] destination_zone_id: The ID of the zone to which the disaster recovery site belongs.
|
|
40
44
|
:param pulumi.Input[str] disk_id: The ID of the primary disk.
|
|
41
45
|
:param pulumi.Input[str] source_zone_id: The ID of the zone to which the production site belongs.
|
|
42
|
-
:param pulumi.Input[
|
|
46
|
+
:param pulumi.Input[int] bandwidth: The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:
|
|
47
|
+
- 10240 Kbps: equal to 10 Mbps.
|
|
48
|
+
- 20480 Kbps: equal to 20 Mbps.
|
|
49
|
+
- 51200 Kbps: equal to 50 Mbps.
|
|
50
|
+
- 102400 Kbps: equal to 100 Mbps.
|
|
51
|
+
|
|
52
|
+
Default value: 10240.
|
|
53
|
+
This parameter cannot be specified when the ChargeType value is PayAsYouGo The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
|
|
43
54
|
:param pulumi.Input[str] description: The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
|
|
44
|
-
:param pulumi.Input[str]
|
|
55
|
+
:param pulumi.Input[str] disk_replica_pair_name: The name of the asynchronous replication relationship. The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-).
|
|
56
|
+
:param pulumi.Input[bool] one_shot: Whether to synchronize immediately. Value range:
|
|
57
|
+
- true: Start data synchronization immediately.
|
|
58
|
+
- false: Data Synchronization starts after the RPO time period.
|
|
59
|
+
|
|
60
|
+
Default value: false.
|
|
61
|
+
:param pulumi.Input[str] pair_name: . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
|
|
45
62
|
:param pulumi.Input[str] payment_type: The payment type of the resource
|
|
46
|
-
:param pulumi.Input[
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
:param pulumi.Input[str]
|
|
63
|
+
:param pulumi.Input[int] period: The purchase duration of the asynchronous replication relationship. This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is:
|
|
64
|
+
- When 'PeriodUnit = Week', the value range of this parameter is 1, 2, 3, and 4.
|
|
65
|
+
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
|
|
66
|
+
:param pulumi.Input[str] period_unit: The unit of the purchase time of the asynchronous replication relationship. Value range:
|
|
67
|
+
- Week: Week.
|
|
68
|
+
- Month: Month.
|
|
69
|
+
|
|
70
|
+
Default value: Month.
|
|
71
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
72
|
+
:param pulumi.Input[bool] reverse_replicate: Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
|
|
73
|
+
:param pulumi.Input[int] rpo: The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
|
|
74
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
75
|
+
|
|
76
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
50
77
|
"""
|
|
51
78
|
pulumi.set(__self__, "destination_disk_id", destination_disk_id)
|
|
52
79
|
pulumi.set(__self__, "destination_region_id", destination_region_id)
|
|
@@ -57,6 +84,13 @@ class DiskReplicaPairArgs:
|
|
|
57
84
|
pulumi.set(__self__, "bandwidth", bandwidth)
|
|
58
85
|
if description is not None:
|
|
59
86
|
pulumi.set(__self__, "description", description)
|
|
87
|
+
if disk_replica_pair_name is not None:
|
|
88
|
+
pulumi.set(__self__, "disk_replica_pair_name", disk_replica_pair_name)
|
|
89
|
+
if one_shot is not None:
|
|
90
|
+
pulumi.set(__self__, "one_shot", one_shot)
|
|
91
|
+
if pair_name is not None:
|
|
92
|
+
warnings.warn("""Field 'pair_name' has been deprecated since provider version 1.245.0. New field 'disk_replica_pair_name' instead.""", DeprecationWarning)
|
|
93
|
+
pulumi.log.warn("""pair_name is deprecated: Field 'pair_name' has been deprecated since provider version 1.245.0. New field 'disk_replica_pair_name' instead.""")
|
|
60
94
|
if pair_name is not None:
|
|
61
95
|
pulumi.set(__self__, "pair_name", pair_name)
|
|
62
96
|
if payment_type is not None:
|
|
@@ -65,10 +99,14 @@ class DiskReplicaPairArgs:
|
|
|
65
99
|
pulumi.set(__self__, "period", period)
|
|
66
100
|
if period_unit is not None:
|
|
67
101
|
pulumi.set(__self__, "period_unit", period_unit)
|
|
68
|
-
if
|
|
69
|
-
pulumi.set(__self__, "
|
|
102
|
+
if resource_group_id is not None:
|
|
103
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
104
|
+
if reverse_replicate is not None:
|
|
105
|
+
pulumi.set(__self__, "reverse_replicate", reverse_replicate)
|
|
70
106
|
if rpo is not None:
|
|
71
107
|
pulumi.set(__self__, "rpo", rpo)
|
|
108
|
+
if tags is not None:
|
|
109
|
+
pulumi.set(__self__, "tags", tags)
|
|
72
110
|
|
|
73
111
|
@property
|
|
74
112
|
@pulumi.getter(name="destinationDiskId")
|
|
@@ -132,14 +170,21 @@ class DiskReplicaPairArgs:
|
|
|
132
170
|
|
|
133
171
|
@property
|
|
134
172
|
@pulumi.getter
|
|
135
|
-
def bandwidth(self) -> Optional[pulumi.Input[
|
|
173
|
+
def bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
136
174
|
"""
|
|
137
|
-
The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range
|
|
175
|
+
The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:
|
|
176
|
+
- 10240 Kbps: equal to 10 Mbps.
|
|
177
|
+
- 20480 Kbps: equal to 20 Mbps.
|
|
178
|
+
- 51200 Kbps: equal to 50 Mbps.
|
|
179
|
+
- 102400 Kbps: equal to 100 Mbps.
|
|
180
|
+
|
|
181
|
+
Default value: 10240.
|
|
182
|
+
This parameter cannot be specified when the ChargeType value is PayAsYouGo The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
|
|
138
183
|
"""
|
|
139
184
|
return pulumi.get(self, "bandwidth")
|
|
140
185
|
|
|
141
186
|
@bandwidth.setter
|
|
142
|
-
def bandwidth(self, value: Optional[pulumi.Input[
|
|
187
|
+
def bandwidth(self, value: Optional[pulumi.Input[int]]):
|
|
143
188
|
pulumi.set(self, "bandwidth", value)
|
|
144
189
|
|
|
145
190
|
@property
|
|
@@ -154,11 +199,40 @@ class DiskReplicaPairArgs:
|
|
|
154
199
|
def description(self, value: Optional[pulumi.Input[str]]):
|
|
155
200
|
pulumi.set(self, "description", value)
|
|
156
201
|
|
|
202
|
+
@property
|
|
203
|
+
@pulumi.getter(name="diskReplicaPairName")
|
|
204
|
+
def disk_replica_pair_name(self) -> Optional[pulumi.Input[str]]:
|
|
205
|
+
"""
|
|
206
|
+
The name of the asynchronous replication relationship. The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-).
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "disk_replica_pair_name")
|
|
209
|
+
|
|
210
|
+
@disk_replica_pair_name.setter
|
|
211
|
+
def disk_replica_pair_name(self, value: Optional[pulumi.Input[str]]):
|
|
212
|
+
pulumi.set(self, "disk_replica_pair_name", value)
|
|
213
|
+
|
|
214
|
+
@property
|
|
215
|
+
@pulumi.getter(name="oneShot")
|
|
216
|
+
def one_shot(self) -> Optional[pulumi.Input[bool]]:
|
|
217
|
+
"""
|
|
218
|
+
Whether to synchronize immediately. Value range:
|
|
219
|
+
- true: Start data synchronization immediately.
|
|
220
|
+
- false: Data Synchronization starts after the RPO time period.
|
|
221
|
+
|
|
222
|
+
Default value: false.
|
|
223
|
+
"""
|
|
224
|
+
return pulumi.get(self, "one_shot")
|
|
225
|
+
|
|
226
|
+
@one_shot.setter
|
|
227
|
+
def one_shot(self, value: Optional[pulumi.Input[bool]]):
|
|
228
|
+
pulumi.set(self, "one_shot", value)
|
|
229
|
+
|
|
157
230
|
@property
|
|
158
231
|
@pulumi.getter(name="pairName")
|
|
232
|
+
@_utilities.deprecated("""Field 'pair_name' has been deprecated since provider version 1.245.0. New field 'disk_replica_pair_name' instead.""")
|
|
159
233
|
def pair_name(self) -> Optional[pulumi.Input[str]]:
|
|
160
234
|
"""
|
|
161
|
-
|
|
235
|
+
. Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
|
|
162
236
|
"""
|
|
163
237
|
return pulumi.get(self, "pair_name")
|
|
164
238
|
|
|
@@ -180,21 +254,27 @@ class DiskReplicaPairArgs:
|
|
|
180
254
|
|
|
181
255
|
@property
|
|
182
256
|
@pulumi.getter
|
|
183
|
-
def period(self) -> Optional[pulumi.Input[
|
|
257
|
+
def period(self) -> Optional[pulumi.Input[int]]:
|
|
184
258
|
"""
|
|
185
|
-
The
|
|
259
|
+
The purchase duration of the asynchronous replication relationship. This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is:
|
|
260
|
+
- When 'PeriodUnit = Week', the value range of this parameter is 1, 2, 3, and 4.
|
|
261
|
+
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
|
|
186
262
|
"""
|
|
187
263
|
return pulumi.get(self, "period")
|
|
188
264
|
|
|
189
265
|
@period.setter
|
|
190
|
-
def period(self, value: Optional[pulumi.Input[
|
|
266
|
+
def period(self, value: Optional[pulumi.Input[int]]):
|
|
191
267
|
pulumi.set(self, "period", value)
|
|
192
268
|
|
|
193
269
|
@property
|
|
194
270
|
@pulumi.getter(name="periodUnit")
|
|
195
271
|
def period_unit(self) -> Optional[pulumi.Input[str]]:
|
|
196
272
|
"""
|
|
197
|
-
The
|
|
273
|
+
The unit of the purchase time of the asynchronous replication relationship. Value range:
|
|
274
|
+
- Week: Week.
|
|
275
|
+
- Month: Month.
|
|
276
|
+
|
|
277
|
+
Default value: Month.
|
|
198
278
|
"""
|
|
199
279
|
return pulumi.get(self, "period_unit")
|
|
200
280
|
|
|
@@ -203,67 +283,120 @@ class DiskReplicaPairArgs:
|
|
|
203
283
|
pulumi.set(self, "period_unit", value)
|
|
204
284
|
|
|
205
285
|
@property
|
|
206
|
-
@pulumi.getter(name="
|
|
207
|
-
def
|
|
286
|
+
@pulumi.getter(name="resourceGroupId")
|
|
287
|
+
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
208
288
|
"""
|
|
209
|
-
The
|
|
289
|
+
The ID of the resource group
|
|
210
290
|
"""
|
|
211
|
-
return pulumi.get(self, "
|
|
291
|
+
return pulumi.get(self, "resource_group_id")
|
|
212
292
|
|
|
213
|
-
@
|
|
214
|
-
def
|
|
215
|
-
pulumi.set(self, "
|
|
293
|
+
@resource_group_id.setter
|
|
294
|
+
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
295
|
+
pulumi.set(self, "resource_group_id", value)
|
|
296
|
+
|
|
297
|
+
@property
|
|
298
|
+
@pulumi.getter(name="reverseReplicate")
|
|
299
|
+
def reverse_replicate(self) -> Optional[pulumi.Input[bool]]:
|
|
300
|
+
"""
|
|
301
|
+
Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
|
|
302
|
+
"""
|
|
303
|
+
return pulumi.get(self, "reverse_replicate")
|
|
304
|
+
|
|
305
|
+
@reverse_replicate.setter
|
|
306
|
+
def reverse_replicate(self, value: Optional[pulumi.Input[bool]]):
|
|
307
|
+
pulumi.set(self, "reverse_replicate", value)
|
|
216
308
|
|
|
217
309
|
@property
|
|
218
310
|
@pulumi.getter
|
|
219
|
-
def rpo(self) -> Optional[pulumi.Input[
|
|
311
|
+
def rpo(self) -> Optional[pulumi.Input[int]]:
|
|
220
312
|
"""
|
|
221
313
|
The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
|
|
222
314
|
"""
|
|
223
315
|
return pulumi.get(self, "rpo")
|
|
224
316
|
|
|
225
317
|
@rpo.setter
|
|
226
|
-
def rpo(self, value: Optional[pulumi.Input[
|
|
318
|
+
def rpo(self, value: Optional[pulumi.Input[int]]):
|
|
227
319
|
pulumi.set(self, "rpo", value)
|
|
228
320
|
|
|
321
|
+
@property
|
|
322
|
+
@pulumi.getter
|
|
323
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
324
|
+
"""
|
|
325
|
+
The tag of the resource
|
|
326
|
+
|
|
327
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
328
|
+
"""
|
|
329
|
+
return pulumi.get(self, "tags")
|
|
330
|
+
|
|
331
|
+
@tags.setter
|
|
332
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
333
|
+
pulumi.set(self, "tags", value)
|
|
334
|
+
|
|
229
335
|
|
|
230
336
|
@pulumi.input_type
|
|
231
337
|
class _DiskReplicaPairState:
|
|
232
338
|
def __init__(__self__, *,
|
|
233
|
-
bandwidth: Optional[pulumi.Input[
|
|
234
|
-
create_time: Optional[pulumi.Input[
|
|
339
|
+
bandwidth: Optional[pulumi.Input[int]] = None,
|
|
340
|
+
create_time: Optional[pulumi.Input[int]] = None,
|
|
235
341
|
description: Optional[pulumi.Input[str]] = None,
|
|
236
342
|
destination_disk_id: Optional[pulumi.Input[str]] = None,
|
|
237
343
|
destination_region_id: Optional[pulumi.Input[str]] = None,
|
|
238
344
|
destination_zone_id: Optional[pulumi.Input[str]] = None,
|
|
239
345
|
disk_id: Optional[pulumi.Input[str]] = None,
|
|
346
|
+
disk_replica_pair_name: Optional[pulumi.Input[str]] = None,
|
|
347
|
+
one_shot: Optional[pulumi.Input[bool]] = None,
|
|
240
348
|
pair_name: Optional[pulumi.Input[str]] = None,
|
|
241
349
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
242
|
-
period: Optional[pulumi.Input[
|
|
350
|
+
period: Optional[pulumi.Input[int]] = None,
|
|
243
351
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
244
|
-
|
|
352
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
245
353
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
246
|
-
|
|
354
|
+
reverse_replicate: Optional[pulumi.Input[bool]] = None,
|
|
355
|
+
rpo: Optional[pulumi.Input[int]] = None,
|
|
247
356
|
source_zone_id: Optional[pulumi.Input[str]] = None,
|
|
248
|
-
status: Optional[pulumi.Input[str]] = None
|
|
357
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
358
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
249
359
|
"""
|
|
250
360
|
Input properties used for looking up and filtering DiskReplicaPair resources.
|
|
251
|
-
:param pulumi.Input[
|
|
252
|
-
|
|
361
|
+
:param pulumi.Input[int] bandwidth: The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:
|
|
362
|
+
- 10240 Kbps: equal to 10 Mbps.
|
|
363
|
+
- 20480 Kbps: equal to 20 Mbps.
|
|
364
|
+
- 51200 Kbps: equal to 50 Mbps.
|
|
365
|
+
- 102400 Kbps: equal to 100 Mbps.
|
|
366
|
+
|
|
367
|
+
Default value: 10240.
|
|
368
|
+
This parameter cannot be specified when the ChargeType value is PayAsYouGo The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
|
|
369
|
+
:param pulumi.Input[int] create_time: The creation time of the resource
|
|
253
370
|
:param pulumi.Input[str] description: The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
|
|
254
371
|
:param pulumi.Input[str] destination_disk_id: The ID of the standby disk.
|
|
255
372
|
:param pulumi.Input[str] destination_region_id: The ID of the region to which the disaster recovery site belongs.
|
|
256
373
|
:param pulumi.Input[str] destination_zone_id: The ID of the zone to which the disaster recovery site belongs.
|
|
257
374
|
:param pulumi.Input[str] disk_id: The ID of the primary disk.
|
|
258
|
-
:param pulumi.Input[str]
|
|
375
|
+
:param pulumi.Input[str] disk_replica_pair_name: The name of the asynchronous replication relationship. The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-).
|
|
376
|
+
:param pulumi.Input[bool] one_shot: Whether to synchronize immediately. Value range:
|
|
377
|
+
- true: Start data synchronization immediately.
|
|
378
|
+
- false: Data Synchronization starts after the RPO time period.
|
|
379
|
+
|
|
380
|
+
Default value: false.
|
|
381
|
+
:param pulumi.Input[str] pair_name: . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
|
|
259
382
|
:param pulumi.Input[str] payment_type: The payment type of the resource
|
|
260
|
-
:param pulumi.Input[
|
|
261
|
-
|
|
262
|
-
|
|
383
|
+
:param pulumi.Input[int] period: The purchase duration of the asynchronous replication relationship. This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is:
|
|
384
|
+
- When 'PeriodUnit = Week', the value range of this parameter is 1, 2, 3, and 4.
|
|
385
|
+
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
|
|
386
|
+
:param pulumi.Input[str] period_unit: The unit of the purchase time of the asynchronous replication relationship. Value range:
|
|
387
|
+
- Week: Week.
|
|
388
|
+
- Month: Month.
|
|
389
|
+
|
|
390
|
+
Default value: Month.
|
|
391
|
+
:param pulumi.Input[str] region_id: The region ID of the resource
|
|
263
392
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
264
|
-
:param pulumi.Input[
|
|
393
|
+
:param pulumi.Input[bool] reverse_replicate: Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
|
|
394
|
+
:param pulumi.Input[int] rpo: The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
|
|
265
395
|
:param pulumi.Input[str] source_zone_id: The ID of the zone to which the production site belongs.
|
|
266
396
|
:param pulumi.Input[str] status: The status of the resource
|
|
397
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
398
|
+
|
|
399
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
267
400
|
"""
|
|
268
401
|
if bandwidth is not None:
|
|
269
402
|
pulumi.set(__self__, "bandwidth", bandwidth)
|
|
@@ -279,6 +412,13 @@ class _DiskReplicaPairState:
|
|
|
279
412
|
pulumi.set(__self__, "destination_zone_id", destination_zone_id)
|
|
280
413
|
if disk_id is not None:
|
|
281
414
|
pulumi.set(__self__, "disk_id", disk_id)
|
|
415
|
+
if disk_replica_pair_name is not None:
|
|
416
|
+
pulumi.set(__self__, "disk_replica_pair_name", disk_replica_pair_name)
|
|
417
|
+
if one_shot is not None:
|
|
418
|
+
pulumi.set(__self__, "one_shot", one_shot)
|
|
419
|
+
if pair_name is not None:
|
|
420
|
+
warnings.warn("""Field 'pair_name' has been deprecated since provider version 1.245.0. New field 'disk_replica_pair_name' instead.""", DeprecationWarning)
|
|
421
|
+
pulumi.log.warn("""pair_name is deprecated: Field 'pair_name' has been deprecated since provider version 1.245.0. New field 'disk_replica_pair_name' instead.""")
|
|
282
422
|
if pair_name is not None:
|
|
283
423
|
pulumi.set(__self__, "pair_name", pair_name)
|
|
284
424
|
if payment_type is not None:
|
|
@@ -287,39 +427,50 @@ class _DiskReplicaPairState:
|
|
|
287
427
|
pulumi.set(__self__, "period", period)
|
|
288
428
|
if period_unit is not None:
|
|
289
429
|
pulumi.set(__self__, "period_unit", period_unit)
|
|
290
|
-
if
|
|
291
|
-
pulumi.set(__self__, "
|
|
430
|
+
if region_id is not None:
|
|
431
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
292
432
|
if resource_group_id is not None:
|
|
293
433
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
434
|
+
if reverse_replicate is not None:
|
|
435
|
+
pulumi.set(__self__, "reverse_replicate", reverse_replicate)
|
|
294
436
|
if rpo is not None:
|
|
295
437
|
pulumi.set(__self__, "rpo", rpo)
|
|
296
438
|
if source_zone_id is not None:
|
|
297
439
|
pulumi.set(__self__, "source_zone_id", source_zone_id)
|
|
298
440
|
if status is not None:
|
|
299
441
|
pulumi.set(__self__, "status", status)
|
|
442
|
+
if tags is not None:
|
|
443
|
+
pulumi.set(__self__, "tags", tags)
|
|
300
444
|
|
|
301
445
|
@property
|
|
302
446
|
@pulumi.getter
|
|
303
|
-
def bandwidth(self) -> Optional[pulumi.Input[
|
|
447
|
+
def bandwidth(self) -> Optional[pulumi.Input[int]]:
|
|
304
448
|
"""
|
|
305
|
-
The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range
|
|
449
|
+
The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:
|
|
450
|
+
- 10240 Kbps: equal to 10 Mbps.
|
|
451
|
+
- 20480 Kbps: equal to 20 Mbps.
|
|
452
|
+
- 51200 Kbps: equal to 50 Mbps.
|
|
453
|
+
- 102400 Kbps: equal to 100 Mbps.
|
|
454
|
+
|
|
455
|
+
Default value: 10240.
|
|
456
|
+
This parameter cannot be specified when the ChargeType value is PayAsYouGo The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
|
|
306
457
|
"""
|
|
307
458
|
return pulumi.get(self, "bandwidth")
|
|
308
459
|
|
|
309
460
|
@bandwidth.setter
|
|
310
|
-
def bandwidth(self, value: Optional[pulumi.Input[
|
|
461
|
+
def bandwidth(self, value: Optional[pulumi.Input[int]]):
|
|
311
462
|
pulumi.set(self, "bandwidth", value)
|
|
312
463
|
|
|
313
464
|
@property
|
|
314
465
|
@pulumi.getter(name="createTime")
|
|
315
|
-
def create_time(self) -> Optional[pulumi.Input[
|
|
466
|
+
def create_time(self) -> Optional[pulumi.Input[int]]:
|
|
316
467
|
"""
|
|
317
468
|
The creation time of the resource
|
|
318
469
|
"""
|
|
319
470
|
return pulumi.get(self, "create_time")
|
|
320
471
|
|
|
321
472
|
@create_time.setter
|
|
322
|
-
def create_time(self, value: Optional[pulumi.Input[
|
|
473
|
+
def create_time(self, value: Optional[pulumi.Input[int]]):
|
|
323
474
|
pulumi.set(self, "create_time", value)
|
|
324
475
|
|
|
325
476
|
@property
|
|
@@ -382,11 +533,40 @@ class _DiskReplicaPairState:
|
|
|
382
533
|
def disk_id(self, value: Optional[pulumi.Input[str]]):
|
|
383
534
|
pulumi.set(self, "disk_id", value)
|
|
384
535
|
|
|
536
|
+
@property
|
|
537
|
+
@pulumi.getter(name="diskReplicaPairName")
|
|
538
|
+
def disk_replica_pair_name(self) -> Optional[pulumi.Input[str]]:
|
|
539
|
+
"""
|
|
540
|
+
The name of the asynchronous replication relationship. The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-).
|
|
541
|
+
"""
|
|
542
|
+
return pulumi.get(self, "disk_replica_pair_name")
|
|
543
|
+
|
|
544
|
+
@disk_replica_pair_name.setter
|
|
545
|
+
def disk_replica_pair_name(self, value: Optional[pulumi.Input[str]]):
|
|
546
|
+
pulumi.set(self, "disk_replica_pair_name", value)
|
|
547
|
+
|
|
548
|
+
@property
|
|
549
|
+
@pulumi.getter(name="oneShot")
|
|
550
|
+
def one_shot(self) -> Optional[pulumi.Input[bool]]:
|
|
551
|
+
"""
|
|
552
|
+
Whether to synchronize immediately. Value range:
|
|
553
|
+
- true: Start data synchronization immediately.
|
|
554
|
+
- false: Data Synchronization starts after the RPO time period.
|
|
555
|
+
|
|
556
|
+
Default value: false.
|
|
557
|
+
"""
|
|
558
|
+
return pulumi.get(self, "one_shot")
|
|
559
|
+
|
|
560
|
+
@one_shot.setter
|
|
561
|
+
def one_shot(self, value: Optional[pulumi.Input[bool]]):
|
|
562
|
+
pulumi.set(self, "one_shot", value)
|
|
563
|
+
|
|
385
564
|
@property
|
|
386
565
|
@pulumi.getter(name="pairName")
|
|
566
|
+
@_utilities.deprecated("""Field 'pair_name' has been deprecated since provider version 1.245.0. New field 'disk_replica_pair_name' instead.""")
|
|
387
567
|
def pair_name(self) -> Optional[pulumi.Input[str]]:
|
|
388
568
|
"""
|
|
389
|
-
|
|
569
|
+
. Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
|
|
390
570
|
"""
|
|
391
571
|
return pulumi.get(self, "pair_name")
|
|
392
572
|
|
|
@@ -408,21 +588,27 @@ class _DiskReplicaPairState:
|
|
|
408
588
|
|
|
409
589
|
@property
|
|
410
590
|
@pulumi.getter
|
|
411
|
-
def period(self) -> Optional[pulumi.Input[
|
|
591
|
+
def period(self) -> Optional[pulumi.Input[int]]:
|
|
412
592
|
"""
|
|
413
|
-
The
|
|
593
|
+
The purchase duration of the asynchronous replication relationship. This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is:
|
|
594
|
+
- When 'PeriodUnit = Week', the value range of this parameter is 1, 2, 3, and 4.
|
|
595
|
+
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
|
|
414
596
|
"""
|
|
415
597
|
return pulumi.get(self, "period")
|
|
416
598
|
|
|
417
599
|
@period.setter
|
|
418
|
-
def period(self, value: Optional[pulumi.Input[
|
|
600
|
+
def period(self, value: Optional[pulumi.Input[int]]):
|
|
419
601
|
pulumi.set(self, "period", value)
|
|
420
602
|
|
|
421
603
|
@property
|
|
422
604
|
@pulumi.getter(name="periodUnit")
|
|
423
605
|
def period_unit(self) -> Optional[pulumi.Input[str]]:
|
|
424
606
|
"""
|
|
425
|
-
The
|
|
607
|
+
The unit of the purchase time of the asynchronous replication relationship. Value range:
|
|
608
|
+
- Week: Week.
|
|
609
|
+
- Month: Month.
|
|
610
|
+
|
|
611
|
+
Default value: Month.
|
|
426
612
|
"""
|
|
427
613
|
return pulumi.get(self, "period_unit")
|
|
428
614
|
|
|
@@ -431,16 +617,16 @@ class _DiskReplicaPairState:
|
|
|
431
617
|
pulumi.set(self, "period_unit", value)
|
|
432
618
|
|
|
433
619
|
@property
|
|
434
|
-
@pulumi.getter(name="
|
|
435
|
-
def
|
|
620
|
+
@pulumi.getter(name="regionId")
|
|
621
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
436
622
|
"""
|
|
437
|
-
The
|
|
623
|
+
The region ID of the resource
|
|
438
624
|
"""
|
|
439
|
-
return pulumi.get(self, "
|
|
625
|
+
return pulumi.get(self, "region_id")
|
|
440
626
|
|
|
441
|
-
@
|
|
442
|
-
def
|
|
443
|
-
pulumi.set(self, "
|
|
627
|
+
@region_id.setter
|
|
628
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
629
|
+
pulumi.set(self, "region_id", value)
|
|
444
630
|
|
|
445
631
|
@property
|
|
446
632
|
@pulumi.getter(name="resourceGroupId")
|
|
@@ -454,16 +640,28 @@ class _DiskReplicaPairState:
|
|
|
454
640
|
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
455
641
|
pulumi.set(self, "resource_group_id", value)
|
|
456
642
|
|
|
643
|
+
@property
|
|
644
|
+
@pulumi.getter(name="reverseReplicate")
|
|
645
|
+
def reverse_replicate(self) -> Optional[pulumi.Input[bool]]:
|
|
646
|
+
"""
|
|
647
|
+
Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
|
|
648
|
+
"""
|
|
649
|
+
return pulumi.get(self, "reverse_replicate")
|
|
650
|
+
|
|
651
|
+
@reverse_replicate.setter
|
|
652
|
+
def reverse_replicate(self, value: Optional[pulumi.Input[bool]]):
|
|
653
|
+
pulumi.set(self, "reverse_replicate", value)
|
|
654
|
+
|
|
457
655
|
@property
|
|
458
656
|
@pulumi.getter
|
|
459
|
-
def rpo(self) -> Optional[pulumi.Input[
|
|
657
|
+
def rpo(self) -> Optional[pulumi.Input[int]]:
|
|
460
658
|
"""
|
|
461
659
|
The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
|
|
462
660
|
"""
|
|
463
661
|
return pulumi.get(self, "rpo")
|
|
464
662
|
|
|
465
663
|
@rpo.setter
|
|
466
|
-
def rpo(self, value: Optional[pulumi.Input[
|
|
664
|
+
def rpo(self, value: Optional[pulumi.Input[int]]):
|
|
467
665
|
pulumi.set(self, "rpo", value)
|
|
468
666
|
|
|
469
667
|
@property
|
|
@@ -490,36 +688,54 @@ class _DiskReplicaPairState:
|
|
|
490
688
|
def status(self, value: Optional[pulumi.Input[str]]):
|
|
491
689
|
pulumi.set(self, "status", value)
|
|
492
690
|
|
|
691
|
+
@property
|
|
692
|
+
@pulumi.getter
|
|
693
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
694
|
+
"""
|
|
695
|
+
The tag of the resource
|
|
696
|
+
|
|
697
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
698
|
+
"""
|
|
699
|
+
return pulumi.get(self, "tags")
|
|
700
|
+
|
|
701
|
+
@tags.setter
|
|
702
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
703
|
+
pulumi.set(self, "tags", value)
|
|
704
|
+
|
|
493
705
|
|
|
494
706
|
class DiskReplicaPair(pulumi.CustomResource):
|
|
495
707
|
@overload
|
|
496
708
|
def __init__(__self__,
|
|
497
709
|
resource_name: str,
|
|
498
710
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
499
|
-
bandwidth: Optional[pulumi.Input[
|
|
711
|
+
bandwidth: Optional[pulumi.Input[int]] = None,
|
|
500
712
|
description: Optional[pulumi.Input[str]] = None,
|
|
501
713
|
destination_disk_id: Optional[pulumi.Input[str]] = None,
|
|
502
714
|
destination_region_id: Optional[pulumi.Input[str]] = None,
|
|
503
715
|
destination_zone_id: Optional[pulumi.Input[str]] = None,
|
|
504
716
|
disk_id: Optional[pulumi.Input[str]] = None,
|
|
717
|
+
disk_replica_pair_name: Optional[pulumi.Input[str]] = None,
|
|
718
|
+
one_shot: Optional[pulumi.Input[bool]] = None,
|
|
505
719
|
pair_name: Optional[pulumi.Input[str]] = None,
|
|
506
720
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
507
|
-
period: Optional[pulumi.Input[
|
|
721
|
+
period: Optional[pulumi.Input[int]] = None,
|
|
508
722
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
509
|
-
|
|
510
|
-
|
|
723
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
724
|
+
reverse_replicate: Optional[pulumi.Input[bool]] = None,
|
|
725
|
+
rpo: Optional[pulumi.Input[int]] = None,
|
|
511
726
|
source_zone_id: Optional[pulumi.Input[str]] = None,
|
|
727
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
512
728
|
__props__=None):
|
|
513
729
|
"""
|
|
514
|
-
Provides a
|
|
730
|
+
Provides a Elastic Block Storage(EBS) Disk Replica Pair resource.
|
|
515
731
|
|
|
516
|
-
For information about
|
|
732
|
+
For information about Elastic Block Storage(EBS) Disk Replica Pair and how to use it, see [What is Disk Replica Pair](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-ebs-2021-07-30-creatediskreplicapair).
|
|
517
733
|
|
|
518
734
|
> **NOTE:** Available since v1.196.0.
|
|
519
735
|
|
|
520
736
|
## Import
|
|
521
737
|
|
|
522
|
-
|
|
738
|
+
Elastic Block Storage(EBS) Disk Replica Pair can be imported using the id, e.g.
|
|
523
739
|
|
|
524
740
|
```sh
|
|
525
741
|
$ pulumi import alicloud:ebs/diskReplicaPair:DiskReplicaPair example <id>
|
|
@@ -527,19 +743,42 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
527
743
|
|
|
528
744
|
:param str resource_name: The name of the resource.
|
|
529
745
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
530
|
-
:param pulumi.Input[
|
|
746
|
+
:param pulumi.Input[int] bandwidth: The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:
|
|
747
|
+
- 10240 Kbps: equal to 10 Mbps.
|
|
748
|
+
- 20480 Kbps: equal to 20 Mbps.
|
|
749
|
+
- 51200 Kbps: equal to 50 Mbps.
|
|
750
|
+
- 102400 Kbps: equal to 100 Mbps.
|
|
751
|
+
|
|
752
|
+
Default value: 10240.
|
|
753
|
+
This parameter cannot be specified when the ChargeType value is PayAsYouGo The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
|
|
531
754
|
:param pulumi.Input[str] description: The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
|
|
532
755
|
:param pulumi.Input[str] destination_disk_id: The ID of the standby disk.
|
|
533
756
|
:param pulumi.Input[str] destination_region_id: The ID of the region to which the disaster recovery site belongs.
|
|
534
757
|
:param pulumi.Input[str] destination_zone_id: The ID of the zone to which the disaster recovery site belongs.
|
|
535
758
|
:param pulumi.Input[str] disk_id: The ID of the primary disk.
|
|
536
|
-
:param pulumi.Input[str]
|
|
759
|
+
:param pulumi.Input[str] disk_replica_pair_name: The name of the asynchronous replication relationship. The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-).
|
|
760
|
+
:param pulumi.Input[bool] one_shot: Whether to synchronize immediately. Value range:
|
|
761
|
+
- true: Start data synchronization immediately.
|
|
762
|
+
- false: Data Synchronization starts after the RPO time period.
|
|
763
|
+
|
|
764
|
+
Default value: false.
|
|
765
|
+
:param pulumi.Input[str] pair_name: . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
|
|
537
766
|
:param pulumi.Input[str] payment_type: The payment type of the resource
|
|
538
|
-
:param pulumi.Input[
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
:param pulumi.Input[str]
|
|
767
|
+
:param pulumi.Input[int] period: The purchase duration of the asynchronous replication relationship. This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is:
|
|
768
|
+
- When 'PeriodUnit = Week', the value range of this parameter is 1, 2, 3, and 4.
|
|
769
|
+
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
|
|
770
|
+
:param pulumi.Input[str] period_unit: The unit of the purchase time of the asynchronous replication relationship. Value range:
|
|
771
|
+
- Week: Week.
|
|
772
|
+
- Month: Month.
|
|
773
|
+
|
|
774
|
+
Default value: Month.
|
|
775
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
776
|
+
:param pulumi.Input[bool] reverse_replicate: Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
|
|
777
|
+
:param pulumi.Input[int] rpo: The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
|
|
542
778
|
:param pulumi.Input[str] source_zone_id: The ID of the zone to which the production site belongs.
|
|
779
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
780
|
+
|
|
781
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
543
782
|
"""
|
|
544
783
|
...
|
|
545
784
|
@overload
|
|
@@ -548,15 +787,15 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
548
787
|
args: DiskReplicaPairArgs,
|
|
549
788
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
550
789
|
"""
|
|
551
|
-
Provides a
|
|
790
|
+
Provides a Elastic Block Storage(EBS) Disk Replica Pair resource.
|
|
552
791
|
|
|
553
|
-
For information about
|
|
792
|
+
For information about Elastic Block Storage(EBS) Disk Replica Pair and how to use it, see [What is Disk Replica Pair](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-ebs-2021-07-30-creatediskreplicapair).
|
|
554
793
|
|
|
555
794
|
> **NOTE:** Available since v1.196.0.
|
|
556
795
|
|
|
557
796
|
## Import
|
|
558
797
|
|
|
559
|
-
|
|
798
|
+
Elastic Block Storage(EBS) Disk Replica Pair can be imported using the id, e.g.
|
|
560
799
|
|
|
561
800
|
```sh
|
|
562
801
|
$ pulumi import alicloud:ebs/diskReplicaPair:DiskReplicaPair example <id>
|
|
@@ -577,19 +816,23 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
577
816
|
def _internal_init(__self__,
|
|
578
817
|
resource_name: str,
|
|
579
818
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
580
|
-
bandwidth: Optional[pulumi.Input[
|
|
819
|
+
bandwidth: Optional[pulumi.Input[int]] = None,
|
|
581
820
|
description: Optional[pulumi.Input[str]] = None,
|
|
582
821
|
destination_disk_id: Optional[pulumi.Input[str]] = None,
|
|
583
822
|
destination_region_id: Optional[pulumi.Input[str]] = None,
|
|
584
823
|
destination_zone_id: Optional[pulumi.Input[str]] = None,
|
|
585
824
|
disk_id: Optional[pulumi.Input[str]] = None,
|
|
825
|
+
disk_replica_pair_name: Optional[pulumi.Input[str]] = None,
|
|
826
|
+
one_shot: Optional[pulumi.Input[bool]] = None,
|
|
586
827
|
pair_name: Optional[pulumi.Input[str]] = None,
|
|
587
828
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
588
|
-
period: Optional[pulumi.Input[
|
|
829
|
+
period: Optional[pulumi.Input[int]] = None,
|
|
589
830
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
590
|
-
|
|
591
|
-
|
|
831
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
832
|
+
reverse_replicate: Optional[pulumi.Input[bool]] = None,
|
|
833
|
+
rpo: Optional[pulumi.Input[int]] = None,
|
|
592
834
|
source_zone_id: Optional[pulumi.Input[str]] = None,
|
|
835
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
593
836
|
__props__=None):
|
|
594
837
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
595
838
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -613,17 +856,21 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
613
856
|
if disk_id is None and not opts.urn:
|
|
614
857
|
raise TypeError("Missing required property 'disk_id'")
|
|
615
858
|
__props__.__dict__["disk_id"] = disk_id
|
|
859
|
+
__props__.__dict__["disk_replica_pair_name"] = disk_replica_pair_name
|
|
860
|
+
__props__.__dict__["one_shot"] = one_shot
|
|
616
861
|
__props__.__dict__["pair_name"] = pair_name
|
|
617
862
|
__props__.__dict__["payment_type"] = payment_type
|
|
618
863
|
__props__.__dict__["period"] = period
|
|
619
864
|
__props__.__dict__["period_unit"] = period_unit
|
|
620
|
-
__props__.__dict__["
|
|
865
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
866
|
+
__props__.__dict__["reverse_replicate"] = reverse_replicate
|
|
621
867
|
__props__.__dict__["rpo"] = rpo
|
|
622
868
|
if source_zone_id is None and not opts.urn:
|
|
623
869
|
raise TypeError("Missing required property 'source_zone_id'")
|
|
624
870
|
__props__.__dict__["source_zone_id"] = source_zone_id
|
|
871
|
+
__props__.__dict__["tags"] = tags
|
|
625
872
|
__props__.__dict__["create_time"] = None
|
|
626
|
-
__props__.__dict__["
|
|
873
|
+
__props__.__dict__["region_id"] = None
|
|
627
874
|
__props__.__dict__["status"] = None
|
|
628
875
|
super(DiskReplicaPair, __self__).__init__(
|
|
629
876
|
'alicloud:ebs/diskReplicaPair:DiskReplicaPair',
|
|
@@ -635,22 +882,26 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
635
882
|
def get(resource_name: str,
|
|
636
883
|
id: pulumi.Input[str],
|
|
637
884
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
638
|
-
bandwidth: Optional[pulumi.Input[
|
|
639
|
-
create_time: Optional[pulumi.Input[
|
|
885
|
+
bandwidth: Optional[pulumi.Input[int]] = None,
|
|
886
|
+
create_time: Optional[pulumi.Input[int]] = None,
|
|
640
887
|
description: Optional[pulumi.Input[str]] = None,
|
|
641
888
|
destination_disk_id: Optional[pulumi.Input[str]] = None,
|
|
642
889
|
destination_region_id: Optional[pulumi.Input[str]] = None,
|
|
643
890
|
destination_zone_id: Optional[pulumi.Input[str]] = None,
|
|
644
891
|
disk_id: Optional[pulumi.Input[str]] = None,
|
|
892
|
+
disk_replica_pair_name: Optional[pulumi.Input[str]] = None,
|
|
893
|
+
one_shot: Optional[pulumi.Input[bool]] = None,
|
|
645
894
|
pair_name: Optional[pulumi.Input[str]] = None,
|
|
646
895
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
647
|
-
period: Optional[pulumi.Input[
|
|
896
|
+
period: Optional[pulumi.Input[int]] = None,
|
|
648
897
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
649
|
-
|
|
898
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
650
899
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
651
|
-
|
|
900
|
+
reverse_replicate: Optional[pulumi.Input[bool]] = None,
|
|
901
|
+
rpo: Optional[pulumi.Input[int]] = None,
|
|
652
902
|
source_zone_id: Optional[pulumi.Input[str]] = None,
|
|
653
|
-
status: Optional[pulumi.Input[str]] = None
|
|
903
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
904
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'DiskReplicaPair':
|
|
654
905
|
"""
|
|
655
906
|
Get an existing DiskReplicaPair resource's state with the given name, id, and optional extra
|
|
656
907
|
properties used to qualify the lookup.
|
|
@@ -658,22 +909,45 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
658
909
|
:param str resource_name: The unique name of the resulting resource.
|
|
659
910
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
660
911
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
661
|
-
:param pulumi.Input[
|
|
662
|
-
|
|
912
|
+
:param pulumi.Input[int] bandwidth: The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:
|
|
913
|
+
- 10240 Kbps: equal to 10 Mbps.
|
|
914
|
+
- 20480 Kbps: equal to 20 Mbps.
|
|
915
|
+
- 51200 Kbps: equal to 50 Mbps.
|
|
916
|
+
- 102400 Kbps: equal to 100 Mbps.
|
|
917
|
+
|
|
918
|
+
Default value: 10240.
|
|
919
|
+
This parameter cannot be specified when the ChargeType value is PayAsYouGo The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
|
|
920
|
+
:param pulumi.Input[int] create_time: The creation time of the resource
|
|
663
921
|
:param pulumi.Input[str] description: The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
|
|
664
922
|
:param pulumi.Input[str] destination_disk_id: The ID of the standby disk.
|
|
665
923
|
:param pulumi.Input[str] destination_region_id: The ID of the region to which the disaster recovery site belongs.
|
|
666
924
|
:param pulumi.Input[str] destination_zone_id: The ID of the zone to which the disaster recovery site belongs.
|
|
667
925
|
:param pulumi.Input[str] disk_id: The ID of the primary disk.
|
|
668
|
-
:param pulumi.Input[str]
|
|
926
|
+
:param pulumi.Input[str] disk_replica_pair_name: The name of the asynchronous replication relationship. The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-).
|
|
927
|
+
:param pulumi.Input[bool] one_shot: Whether to synchronize immediately. Value range:
|
|
928
|
+
- true: Start data synchronization immediately.
|
|
929
|
+
- false: Data Synchronization starts after the RPO time period.
|
|
930
|
+
|
|
931
|
+
Default value: false.
|
|
932
|
+
:param pulumi.Input[str] pair_name: . Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
|
|
669
933
|
:param pulumi.Input[str] payment_type: The payment type of the resource
|
|
670
|
-
:param pulumi.Input[
|
|
671
|
-
|
|
672
|
-
|
|
934
|
+
:param pulumi.Input[int] period: The purchase duration of the asynchronous replication relationship. This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is:
|
|
935
|
+
- When 'PeriodUnit = Week', the value range of this parameter is 1, 2, 3, and 4.
|
|
936
|
+
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
|
|
937
|
+
:param pulumi.Input[str] period_unit: The unit of the purchase time of the asynchronous replication relationship. Value range:
|
|
938
|
+
- Week: Week.
|
|
939
|
+
- Month: Month.
|
|
940
|
+
|
|
941
|
+
Default value: Month.
|
|
942
|
+
:param pulumi.Input[str] region_id: The region ID of the resource
|
|
673
943
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
674
|
-
:param pulumi.Input[
|
|
944
|
+
:param pulumi.Input[bool] reverse_replicate: Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
|
|
945
|
+
:param pulumi.Input[int] rpo: The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
|
|
675
946
|
:param pulumi.Input[str] source_zone_id: The ID of the zone to which the production site belongs.
|
|
676
947
|
:param pulumi.Input[str] status: The status of the resource
|
|
948
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
949
|
+
|
|
950
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
677
951
|
"""
|
|
678
952
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
679
953
|
|
|
@@ -686,28 +960,39 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
686
960
|
__props__.__dict__["destination_region_id"] = destination_region_id
|
|
687
961
|
__props__.__dict__["destination_zone_id"] = destination_zone_id
|
|
688
962
|
__props__.__dict__["disk_id"] = disk_id
|
|
963
|
+
__props__.__dict__["disk_replica_pair_name"] = disk_replica_pair_name
|
|
964
|
+
__props__.__dict__["one_shot"] = one_shot
|
|
689
965
|
__props__.__dict__["pair_name"] = pair_name
|
|
690
966
|
__props__.__dict__["payment_type"] = payment_type
|
|
691
967
|
__props__.__dict__["period"] = period
|
|
692
968
|
__props__.__dict__["period_unit"] = period_unit
|
|
693
|
-
__props__.__dict__["
|
|
969
|
+
__props__.__dict__["region_id"] = region_id
|
|
694
970
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
971
|
+
__props__.__dict__["reverse_replicate"] = reverse_replicate
|
|
695
972
|
__props__.__dict__["rpo"] = rpo
|
|
696
973
|
__props__.__dict__["source_zone_id"] = source_zone_id
|
|
697
974
|
__props__.__dict__["status"] = status
|
|
975
|
+
__props__.__dict__["tags"] = tags
|
|
698
976
|
return DiskReplicaPair(resource_name, opts=opts, __props__=__props__)
|
|
699
977
|
|
|
700
978
|
@property
|
|
701
979
|
@pulumi.getter
|
|
702
|
-
def bandwidth(self) -> pulumi.Output[
|
|
980
|
+
def bandwidth(self) -> pulumi.Output[Optional[int]]:
|
|
703
981
|
"""
|
|
704
|
-
The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range
|
|
982
|
+
The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:
|
|
983
|
+
- 10240 Kbps: equal to 10 Mbps.
|
|
984
|
+
- 20480 Kbps: equal to 20 Mbps.
|
|
985
|
+
- 51200 Kbps: equal to 50 Mbps.
|
|
986
|
+
- 102400 Kbps: equal to 100 Mbps.
|
|
987
|
+
|
|
988
|
+
Default value: 10240.
|
|
989
|
+
This parameter cannot be specified when the ChargeType value is PayAsYouGo The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
|
|
705
990
|
"""
|
|
706
991
|
return pulumi.get(self, "bandwidth")
|
|
707
992
|
|
|
708
993
|
@property
|
|
709
994
|
@pulumi.getter(name="createTime")
|
|
710
|
-
def create_time(self) -> pulumi.Output[
|
|
995
|
+
def create_time(self) -> pulumi.Output[int]:
|
|
711
996
|
"""
|
|
712
997
|
The creation time of the resource
|
|
713
998
|
"""
|
|
@@ -754,16 +1039,37 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
754
1039
|
return pulumi.get(self, "disk_id")
|
|
755
1040
|
|
|
756
1041
|
@property
|
|
757
|
-
@pulumi.getter(name="
|
|
758
|
-
def
|
|
1042
|
+
@pulumi.getter(name="diskReplicaPairName")
|
|
1043
|
+
def disk_replica_pair_name(self) -> pulumi.Output[str]:
|
|
759
1044
|
"""
|
|
760
1045
|
The name of the asynchronous replication relationship. The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-).
|
|
761
1046
|
"""
|
|
1047
|
+
return pulumi.get(self, "disk_replica_pair_name")
|
|
1048
|
+
|
|
1049
|
+
@property
|
|
1050
|
+
@pulumi.getter(name="oneShot")
|
|
1051
|
+
def one_shot(self) -> pulumi.Output[Optional[bool]]:
|
|
1052
|
+
"""
|
|
1053
|
+
Whether to synchronize immediately. Value range:
|
|
1054
|
+
- true: Start data synchronization immediately.
|
|
1055
|
+
- false: Data Synchronization starts after the RPO time period.
|
|
1056
|
+
|
|
1057
|
+
Default value: false.
|
|
1058
|
+
"""
|
|
1059
|
+
return pulumi.get(self, "one_shot")
|
|
1060
|
+
|
|
1061
|
+
@property
|
|
1062
|
+
@pulumi.getter(name="pairName")
|
|
1063
|
+
@_utilities.deprecated("""Field 'pair_name' has been deprecated since provider version 1.245.0. New field 'disk_replica_pair_name' instead.""")
|
|
1064
|
+
def pair_name(self) -> pulumi.Output[str]:
|
|
1065
|
+
"""
|
|
1066
|
+
. Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.
|
|
1067
|
+
"""
|
|
762
1068
|
return pulumi.get(self, "pair_name")
|
|
763
1069
|
|
|
764
1070
|
@property
|
|
765
1071
|
@pulumi.getter(name="paymentType")
|
|
766
|
-
def payment_type(self) -> pulumi.Output[
|
|
1072
|
+
def payment_type(self) -> pulumi.Output[str]:
|
|
767
1073
|
"""
|
|
768
1074
|
The payment type of the resource
|
|
769
1075
|
"""
|
|
@@ -771,9 +1077,11 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
771
1077
|
|
|
772
1078
|
@property
|
|
773
1079
|
@pulumi.getter
|
|
774
|
-
def period(self) -> pulumi.Output[Optional[
|
|
1080
|
+
def period(self) -> pulumi.Output[Optional[int]]:
|
|
775
1081
|
"""
|
|
776
|
-
The
|
|
1082
|
+
The purchase duration of the asynchronous replication relationship. This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is:
|
|
1083
|
+
- When 'PeriodUnit = Week', the value range of this parameter is 1, 2, 3, and 4.
|
|
1084
|
+
- When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.
|
|
777
1085
|
"""
|
|
778
1086
|
return pulumi.get(self, "period")
|
|
779
1087
|
|
|
@@ -781,17 +1089,21 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
781
1089
|
@pulumi.getter(name="periodUnit")
|
|
782
1090
|
def period_unit(self) -> pulumi.Output[Optional[str]]:
|
|
783
1091
|
"""
|
|
784
|
-
The
|
|
1092
|
+
The unit of the purchase time of the asynchronous replication relationship. Value range:
|
|
1093
|
+
- Week: Week.
|
|
1094
|
+
- Month: Month.
|
|
1095
|
+
|
|
1096
|
+
Default value: Month.
|
|
785
1097
|
"""
|
|
786
1098
|
return pulumi.get(self, "period_unit")
|
|
787
1099
|
|
|
788
1100
|
@property
|
|
789
|
-
@pulumi.getter(name="
|
|
790
|
-
def
|
|
1101
|
+
@pulumi.getter(name="regionId")
|
|
1102
|
+
def region_id(self) -> pulumi.Output[str]:
|
|
791
1103
|
"""
|
|
792
|
-
The
|
|
1104
|
+
The region ID of the resource
|
|
793
1105
|
"""
|
|
794
|
-
return pulumi.get(self, "
|
|
1106
|
+
return pulumi.get(self, "region_id")
|
|
795
1107
|
|
|
796
1108
|
@property
|
|
797
1109
|
@pulumi.getter(name="resourceGroupId")
|
|
@@ -801,9 +1113,17 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
801
1113
|
"""
|
|
802
1114
|
return pulumi.get(self, "resource_group_id")
|
|
803
1115
|
|
|
1116
|
+
@property
|
|
1117
|
+
@pulumi.getter(name="reverseReplicate")
|
|
1118
|
+
def reverse_replicate(self) -> pulumi.Output[Optional[bool]]:
|
|
1119
|
+
"""
|
|
1120
|
+
Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
|
|
1121
|
+
"""
|
|
1122
|
+
return pulumi.get(self, "reverse_replicate")
|
|
1123
|
+
|
|
804
1124
|
@property
|
|
805
1125
|
@pulumi.getter
|
|
806
|
-
def rpo(self) -> pulumi.Output[
|
|
1126
|
+
def rpo(self) -> pulumi.Output[int]:
|
|
807
1127
|
"""
|
|
808
1128
|
The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
|
|
809
1129
|
"""
|
|
@@ -825,3 +1145,13 @@ class DiskReplicaPair(pulumi.CustomResource):
|
|
|
825
1145
|
"""
|
|
826
1146
|
return pulumi.get(self, "status")
|
|
827
1147
|
|
|
1148
|
+
@property
|
|
1149
|
+
@pulumi.getter
|
|
1150
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
1151
|
+
"""
|
|
1152
|
+
The tag of the resource
|
|
1153
|
+
|
|
1154
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
1155
|
+
"""
|
|
1156
|
+
return pulumi.get(self, "tags")
|
|
1157
|
+
|