pulumi-alicloud 3.76.0a1743484854__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.

Files changed (237) hide show
  1. pulumi_alicloud/__init__.py +271 -4
  2. pulumi_alicloud/_inputs.py +20 -0
  3. pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
  4. pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
  5. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
  6. pulumi_alicloud/alb/server_group.py +2 -2
  7. pulumi_alicloud/alikafka/sasl_acl.py +7 -7
  8. pulumi_alicloud/apigateway/_inputs.py +134 -0
  9. pulumi_alicloud/apigateway/group.py +117 -5
  10. pulumi_alicloud/apigateway/instance.py +148 -7
  11. pulumi_alicloud/apigateway/outputs.py +107 -0
  12. pulumi_alicloud/arms/alert_contact.py +2 -2
  13. pulumi_alicloud/arms/alert_contact_group.py +2 -2
  14. pulumi_alicloud/arms/get_prometheus.py +2 -6
  15. pulumi_alicloud/arms/grafana_workspace.py +511 -69
  16. pulumi_alicloud/arms/outputs.py +18 -18
  17. pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
  18. pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
  19. pulumi_alicloud/cdn/domain_new.py +2 -2
  20. pulumi_alicloud/cen/_inputs.py +6 -3
  21. pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
  22. pulumi_alicloud/cen/instance.py +101 -59
  23. pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
  24. pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
  25. pulumi_alicloud/cen/outputs.py +69 -26
  26. pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
  27. pulumi_alicloud/cen/transit_router.py +127 -53
  28. pulumi_alicloud/cen/transit_router_cidr.py +53 -35
  29. pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
  30. pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
  31. pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
  32. pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
  33. pulumi_alicloud/clickhouse/db_cluster.py +179 -6
  34. pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
  35. pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
  36. pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
  37. pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
  38. pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
  39. pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
  40. pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
  41. pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
  42. pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
  43. pulumi_alicloud/config/outputs.py +12 -0
  44. pulumi_alicloud/cs/__init__.py +1 -0
  45. pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
  46. pulumi_alicloud/cs/managed_kubernetes.py +127 -24
  47. pulumi_alicloud/cs/node_pool.py +42 -42
  48. pulumi_alicloud/cs/outputs.py +1782 -4
  49. pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
  50. pulumi_alicloud/dataworks/data_source.py +2 -2
  51. pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
  52. pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
  53. pulumi_alicloud/dataworks/di_job.py +2 -2
  54. pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
  55. pulumi_alicloud/dataworks/network.py +2 -2
  56. pulumi_alicloud/dataworks/project.py +2 -2
  57. pulumi_alicloud/dataworks/project_member.py +2 -2
  58. pulumi_alicloud/dbs/backup_plan.py +2 -2
  59. pulumi_alicloud/ddos/bgp_policy.py +2 -2
  60. pulumi_alicloud/eais/__init__.py +2 -0
  61. pulumi_alicloud/eais/_inputs.py +75 -0
  62. pulumi_alicloud/eais/client_instance_attachment.py +408 -0
  63. pulumi_alicloud/eais/instance.py +365 -118
  64. pulumi_alicloud/eais/outputs.py +32 -0
  65. pulumi_alicloud/ebs/disk_replica_group.py +512 -30
  66. pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
  67. pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
  68. pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
  69. pulumi_alicloud/ecp/instance.py +2 -2
  70. pulumi_alicloud/ecp/key_pair.py +4 -4
  71. pulumi_alicloud/ecs/_inputs.py +33 -0
  72. pulumi_alicloud/ecs/disk.py +1 -1
  73. pulumi_alicloud/ecs/ecs_disk.py +1 -1
  74. pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
  75. pulumi_alicloud/ecs/instance.py +1 -1
  76. pulumi_alicloud/ecs/outputs.py +26 -2
  77. pulumi_alicloud/eflo/__init__.py +5 -0
  78. pulumi_alicloud/eflo/_inputs.py +1717 -0
  79. pulumi_alicloud/eflo/cluster.py +935 -0
  80. pulumi_alicloud/eflo/invocation.py +1114 -0
  81. pulumi_alicloud/eflo/node.py +1013 -0
  82. pulumi_alicloud/eflo/node_group.py +1101 -0
  83. pulumi_alicloud/eflo/outputs.py +1366 -0
  84. pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
  85. pulumi_alicloud/ens/image.py +81 -34
  86. pulumi_alicloud/esa/__init__.py +4 -0
  87. pulumi_alicloud/esa/_inputs.py +640 -18
  88. pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
  89. pulumi_alicloud/esa/cache_rule.py +193 -179
  90. pulumi_alicloud/esa/certificate.py +99 -92
  91. pulumi_alicloud/esa/compression_rule.py +42 -28
  92. pulumi_alicloud/esa/edge_container_app.py +972 -0
  93. pulumi_alicloud/esa/edge_container_app_record.py +376 -0
  94. pulumi_alicloud/esa/http_request_header_modification_rule.py +56 -42
  95. pulumi_alicloud/esa/http_response_header_modification_rule.py +35 -56
  96. pulumi_alicloud/esa/https_application_configuration.py +42 -28
  97. pulumi_alicloud/esa/https_basic_configuration.py +56 -42
  98. pulumi_alicloud/esa/image_transform.py +42 -28
  99. pulumi_alicloud/esa/kv_namespace.py +11 -11
  100. pulumi_alicloud/esa/list.py +28 -28
  101. pulumi_alicloud/esa/network_optimization.py +56 -126
  102. pulumi_alicloud/esa/origin_pool.py +19 -19
  103. pulumi_alicloud/esa/origin_rule.py +67 -39
  104. pulumi_alicloud/esa/outputs.py +536 -12
  105. pulumi_alicloud/esa/page.py +28 -49
  106. pulumi_alicloud/esa/rate_plan_instance.py +86 -159
  107. pulumi_alicloud/esa/redirect_rule.py +42 -28
  108. pulumi_alicloud/esa/rewrite_url_rule.py +49 -63
  109. pulumi_alicloud/esa/site.py +67 -123
  110. pulumi_alicloud/esa/site_delivery_task.py +841 -0
  111. pulumi_alicloud/esa/waiting_room.py +269 -319
  112. pulumi_alicloud/esa/waiting_room_event.py +291 -305
  113. pulumi_alicloud/esa/waiting_room_rule.py +46 -53
  114. pulumi_alicloud/ess/_inputs.py +155 -0
  115. pulumi_alicloud/ess/outputs.py +128 -0
  116. pulumi_alicloud/ess/scaling_group.py +237 -2
  117. pulumi_alicloud/ess/scaling_rule.py +143 -2
  118. pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
  119. pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
  120. pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
  121. pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
  122. pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
  123. pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
  124. pulumi_alicloud/gpdb/streaming_job.py +2 -2
  125. pulumi_alicloud/ims/oidc_provider.py +24 -13
  126. pulumi_alicloud/kvstore/account.py +9 -9
  127. pulumi_alicloud/kvstore/connection.py +2 -2
  128. pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
  129. pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
  130. pulumi_alicloud/kvstore/instance.py +7 -7
  131. pulumi_alicloud/kvstore/outputs.py +2 -2
  132. pulumi_alicloud/live/caster.py +2 -2
  133. pulumi_alicloud/maxcompute/__init__.py +1 -0
  134. pulumi_alicloud/maxcompute/_inputs.py +232 -3
  135. pulumi_alicloud/maxcompute/outputs.py +183 -2
  136. pulumi_alicloud/maxcompute/project.py +2 -2
  137. pulumi_alicloud/maxcompute/quota.py +438 -0
  138. pulumi_alicloud/nas/mount_target.py +149 -54
  139. pulumi_alicloud/nlb/__init__.py +1 -0
  140. pulumi_alicloud/nlb/_inputs.py +43 -6
  141. pulumi_alicloud/nlb/load_balancer.py +212 -24
  142. pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
  143. pulumi_alicloud/nlb/outputs.py +30 -4
  144. pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
  145. pulumi_alicloud/oss/__init__.py +1 -0
  146. pulumi_alicloud/oss/_inputs.py +20 -0
  147. pulumi_alicloud/oss/access_point.py +2 -2
  148. pulumi_alicloud/oss/bucket_cname.py +2 -2
  149. pulumi_alicloud/oss/bucket_cors.py +2 -2
  150. pulumi_alicloud/oss/bucket_style.py +402 -0
  151. pulumi_alicloud/oss/bucket_website.py +2 -2
  152. pulumi_alicloud/oss/outputs.py +14 -0
  153. pulumi_alicloud/pai/service.py +59 -67
  154. pulumi_alicloud/polardb/cluster.py +75 -28
  155. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
  156. pulumi_alicloud/pulumi-plugin.json +1 -1
  157. pulumi_alicloud/ram/__init__.py +3 -0
  158. pulumi_alicloud/ram/_inputs.py +9 -9
  159. pulumi_alicloud/ram/access_key.py +77 -31
  160. pulumi_alicloud/ram/account_alias.py +18 -45
  161. pulumi_alicloud/ram/get_system_policys.py +189 -0
  162. pulumi_alicloud/ram/group.py +156 -35
  163. pulumi_alicloud/ram/group_policy_attachment.py +51 -29
  164. pulumi_alicloud/ram/login_profile.py +92 -38
  165. pulumi_alicloud/ram/outputs.py +91 -6
  166. pulumi_alicloud/ram/password_policy.py +779 -0
  167. pulumi_alicloud/ram/policy.py +199 -88
  168. pulumi_alicloud/ram/role_policy_attachment.py +51 -29
  169. pulumi_alicloud/ram/saml_provider.py +44 -37
  170. pulumi_alicloud/ram/user_group_attachment.py +273 -0
  171. pulumi_alicloud/ram/user_policy_attachment.py +49 -27
  172. pulumi_alicloud/rds/__init__.py +1 -0
  173. pulumi_alicloud/rds/custom_disk.py +1053 -0
  174. pulumi_alicloud/rds/instance.py +110 -14
  175. pulumi_alicloud/redis/tair_instance.py +14 -14
  176. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  177. pulumi_alicloud/resourcemanager/_inputs.py +53 -0
  178. pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
  179. pulumi_alicloud/resourcemanager/outputs.py +50 -0
  180. pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
  181. pulumi_alicloud/rocketmq/__init__.py +1 -1
  182. pulumi_alicloud/rocketmq/_inputs.py +146 -4
  183. pulumi_alicloud/rocketmq/account.py +452 -0
  184. pulumi_alicloud/rocketmq/acl.py +473 -47
  185. pulumi_alicloud/rocketmq/client_user.py +8 -2
  186. pulumi_alicloud/rocketmq/consumer_group.py +121 -24
  187. pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
  188. pulumi_alicloud/rocketmq/outputs.py +113 -4
  189. pulumi_alicloud/rocketmq/qos.py +8 -2
  190. pulumi_alicloud/rocketmq/qos_car.py +10 -4
  191. pulumi_alicloud/rocketmq/qos_policy.py +6 -0
  192. pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
  193. pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
  194. pulumi_alicloud/rocketmq/snat_entry.py +8 -2
  195. pulumi_alicloud/sag/__init__.py +8 -0
  196. pulumi_alicloud/sag/acl.py +200 -0
  197. pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
  198. pulumi_alicloud/sag/client_user.py +560 -0
  199. pulumi_alicloud/sag/dnat_entry.py +512 -0
  200. pulumi_alicloud/sag/get_acls.py +2 -2
  201. pulumi_alicloud/sag/qos.py +202 -0
  202. pulumi_alicloud/sag/qos_car.py +654 -0
  203. pulumi_alicloud/sag/qos_policy.py +659 -0
  204. pulumi_alicloud/sag/snat_entry.py +313 -0
  205. pulumi_alicloud/securitycenter/group.py +2 -2
  206. pulumi_alicloud/selectdb/db_instance.py +60 -11
  207. pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
  208. pulumi_alicloud/sls/oss_export_sink.py +2 -2
  209. pulumi_alicloud/threatdetection/__init__.py +3 -0
  210. pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
  211. pulumi_alicloud/threatdetection/asset_bind.py +209 -0
  212. pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
  213. pulumi_alicloud/threatdetection/instance.py +271 -54
  214. pulumi_alicloud/threatdetection/log_meta.py +351 -0
  215. pulumi_alicloud/vpc/__init__.py +1 -0
  216. pulumi_alicloud/vpc/_inputs.py +281 -0
  217. pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
  218. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
  219. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
  220. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
  221. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
  222. pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
  223. pulumi_alicloud/vpc/ipv6_address.py +85 -5
  224. pulumi_alicloud/vpc/outputs.py +232 -0
  225. pulumi_alicloud/vpc/peer_connection.py +84 -42
  226. pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
  227. pulumi_alicloud/vpc/route_table.py +100 -45
  228. pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
  229. pulumi_alicloud/vpn/_inputs.py +716 -71
  230. pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
  231. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +20 -63
  232. pulumi_alicloud/vpn/ipsec_server.py +2 -2
  233. pulumi_alicloud/vpn/outputs.py +1963 -998
  234. {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/METADATA +1 -1
  235. {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/RECORD +237 -197
  236. {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/WHEEL +0 -0
  237. {pulumi_alicloud-3.76.0a1743484854.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[str]] = None,
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[str]] = None,
33
+ period: Optional[pulumi.Input[int]] = None,
32
34
  period_unit: Optional[pulumi.Input[str]] = None,
33
- replica_pair_id: Optional[pulumi.Input[str]] = None,
34
- rpo: Optional[pulumi.Input[str]] = None):
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[str] bandwidth: The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:-10240 Kbps: equal to 10 Mbps.-20480 Kbps: equal to 20 Mbps.-51200 Kbps: equal to 50 Mbps.-102400 Kbps: equal to 100 Mbps.Default value: 10240.This parameter cannot be specified when the ChargeType value is POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
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] 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 (-).
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[str] period: The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range `1`, `2`, `3` and `4`. When PeriodUnit=Month, the parameter takes on the values `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `12`, `24`, `36`, `48`, `60`.
47
- :param pulumi.Input[str] period_unit: The units of asynchronous replication relationship purchase length. Valid values: `Week` and `Month`. Default value: `Month`.
48
- :param pulumi.Input[str] replica_pair_id: The first ID of the resource.
49
- :param pulumi.Input[str] rpo: The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
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 replica_pair_id is not None:
69
- pulumi.set(__self__, "replica_pair_id", replica_pair_id)
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[str]]:
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:-10240 Kbps: equal to 10 Mbps.-20480 Kbps: equal to 20 Mbps.-51200 Kbps: equal to 50 Mbps.-102400 Kbps: equal to 100 Mbps.Default value: 10240.This parameter cannot be specified when the ChargeType value is POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
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[str]]):
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
- 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 (-).
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[str]]:
257
+ def period(self) -> Optional[pulumi.Input[int]]:
184
258
  """
185
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range `1`, `2`, `3` and `4`. When PeriodUnit=Month, the parameter takes on the values `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `12`, `24`, `36`, `48`, `60`.
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[str]]):
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 units of asynchronous replication relationship purchase length. Valid values: `Week` and `Month`. Default value: `Month`.
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="replicaPairId")
207
- def replica_pair_id(self) -> Optional[pulumi.Input[str]]:
286
+ @pulumi.getter(name="resourceGroupId")
287
+ def resource_group_id(self) -> Optional[pulumi.Input[str]]:
208
288
  """
209
- The first ID of the resource.
289
+ The ID of the resource group
210
290
  """
211
- return pulumi.get(self, "replica_pair_id")
291
+ return pulumi.get(self, "resource_group_id")
212
292
 
213
- @replica_pair_id.setter
214
- def replica_pair_id(self, value: Optional[pulumi.Input[str]]):
215
- pulumi.set(self, "replica_pair_id", value)
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[str]]:
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[str]]):
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[str]] = None,
234
- create_time: Optional[pulumi.Input[str]] = None,
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[str]] = None,
350
+ period: Optional[pulumi.Input[int]] = None,
243
351
  period_unit: Optional[pulumi.Input[str]] = None,
244
- replica_pair_id: Optional[pulumi.Input[str]] = None,
352
+ region_id: Optional[pulumi.Input[str]] = None,
245
353
  resource_group_id: Optional[pulumi.Input[str]] = None,
246
- rpo: Optional[pulumi.Input[str]] = None,
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[str] bandwidth: The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:-10240 Kbps: equal to 10 Mbps.-20480 Kbps: equal to 20 Mbps.-51200 Kbps: equal to 50 Mbps.-102400 Kbps: equal to 100 Mbps.Default value: 10240.This parameter cannot be specified when the ChargeType value is POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
252
- :param pulumi.Input[str] create_time: The creation time of the resource
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] 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 (-).
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[str] period: The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range `1`, `2`, `3` and `4`. When PeriodUnit=Month, the parameter takes on the values `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `12`, `24`, `36`, `48`, `60`.
261
- :param pulumi.Input[str] period_unit: The units of asynchronous replication relationship purchase length. Valid values: `Week` and `Month`. Default value: `Month`.
262
- :param pulumi.Input[str] replica_pair_id: The first ID of the resource.
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[str] rpo: The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
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 replica_pair_id is not None:
291
- pulumi.set(__self__, "replica_pair_id", replica_pair_id)
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[str]]:
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:-10240 Kbps: equal to 10 Mbps.-20480 Kbps: equal to 20 Mbps.-51200 Kbps: equal to 50 Mbps.-102400 Kbps: equal to 100 Mbps.Default value: 10240.This parameter cannot be specified when the ChargeType value is POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
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[str]]):
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[str]]:
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[str]]):
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
- 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 (-).
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[str]]:
591
+ def period(self) -> Optional[pulumi.Input[int]]:
412
592
  """
413
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range `1`, `2`, `3` and `4`. When PeriodUnit=Month, the parameter takes on the values `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `12`, `24`, `36`, `48`, `60`.
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[str]]):
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 units of asynchronous replication relationship purchase length. Valid values: `Week` and `Month`. Default value: `Month`.
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="replicaPairId")
435
- def replica_pair_id(self) -> Optional[pulumi.Input[str]]:
620
+ @pulumi.getter(name="regionId")
621
+ def region_id(self) -> Optional[pulumi.Input[str]]:
436
622
  """
437
- The first ID of the resource.
623
+ The region ID of the resource
438
624
  """
439
- return pulumi.get(self, "replica_pair_id")
625
+ return pulumi.get(self, "region_id")
440
626
 
441
- @replica_pair_id.setter
442
- def replica_pair_id(self, value: Optional[pulumi.Input[str]]):
443
- pulumi.set(self, "replica_pair_id", value)
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[str]]:
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[str]]):
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[str]] = None,
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[str]] = None,
721
+ period: Optional[pulumi.Input[int]] = None,
508
722
  period_unit: Optional[pulumi.Input[str]] = None,
509
- replica_pair_id: Optional[pulumi.Input[str]] = None,
510
- rpo: Optional[pulumi.Input[str]] = None,
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 Ebs Disk Replica Pair resource.
730
+ Provides a Elastic Block Storage(EBS) Disk Replica Pair resource.
515
731
 
516
- For information about 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).
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
- Ebs Disk Replica Pair can be imported using the id, e.g.
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[str] bandwidth: The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:-10240 Kbps: equal to 10 Mbps.-20480 Kbps: equal to 20 Mbps.-51200 Kbps: equal to 50 Mbps.-102400 Kbps: equal to 100 Mbps.Default value: 10240.This parameter cannot be specified when the ChargeType value is POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
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] 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 (-).
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[str] period: The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range `1`, `2`, `3` and `4`. When PeriodUnit=Month, the parameter takes on the values `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `12`, `24`, `36`, `48`, `60`.
539
- :param pulumi.Input[str] period_unit: The units of asynchronous replication relationship purchase length. Valid values: `Week` and `Month`. Default value: `Month`.
540
- :param pulumi.Input[str] replica_pair_id: The first ID of the resource.
541
- :param pulumi.Input[str] rpo: The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
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 Ebs Disk Replica Pair resource.
790
+ Provides a Elastic Block Storage(EBS) Disk Replica Pair resource.
552
791
 
553
- For information about 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).
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
- Ebs Disk Replica Pair can be imported using the id, e.g.
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[str]] = None,
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[str]] = None,
829
+ period: Optional[pulumi.Input[int]] = None,
589
830
  period_unit: Optional[pulumi.Input[str]] = None,
590
- replica_pair_id: Optional[pulumi.Input[str]] = None,
591
- rpo: Optional[pulumi.Input[str]] = None,
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__["replica_pair_id"] = replica_pair_id
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__["resource_group_id"] = None
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[str]] = None,
639
- create_time: Optional[pulumi.Input[str]] = None,
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[str]] = None,
896
+ period: Optional[pulumi.Input[int]] = None,
648
897
  period_unit: Optional[pulumi.Input[str]] = None,
649
- replica_pair_id: Optional[pulumi.Input[str]] = None,
898
+ region_id: Optional[pulumi.Input[str]] = None,
650
899
  resource_group_id: Optional[pulumi.Input[str]] = None,
651
- rpo: Optional[pulumi.Input[str]] = None,
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) -> 'DiskReplicaPair':
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[str] bandwidth: The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:-10240 Kbps: equal to 10 Mbps.-20480 Kbps: equal to 20 Mbps.-51200 Kbps: equal to 50 Mbps.-102400 Kbps: equal to 100 Mbps.Default value: 10240.This parameter cannot be specified when the ChargeType value is POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
662
- :param pulumi.Input[str] create_time: The creation time of the resource
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] 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 (-).
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[str] period: The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range `1`, `2`, `3` and `4`. When PeriodUnit=Month, the parameter takes on the values `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `12`, `24`, `36`, `48`, `60`.
671
- :param pulumi.Input[str] period_unit: The units of asynchronous replication relationship purchase length. Valid values: `Week` and `Month`. Default value: `Month`.
672
- :param pulumi.Input[str] replica_pair_id: The first ID of the resource.
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[str] rpo: The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
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__["replica_pair_id"] = replica_pair_id
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[str]:
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:-10240 Kbps: equal to 10 Mbps.-20480 Kbps: equal to 20 Mbps.-51200 Kbps: equal to 50 Mbps.-102400 Kbps: equal to 100 Mbps.Default value: 10240.This parameter cannot be specified when the ChargeType value is POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
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[str]:
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="pairName")
758
- def pair_name(self) -> pulumi.Output[Optional[str]]:
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[Optional[str]]:
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[str]]:
1080
+ def period(self) -> pulumi.Output[Optional[int]]:
775
1081
  """
776
- The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range `1`, `2`, `3` and `4`. When PeriodUnit=Month, the parameter takes on the values `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `12`, `24`, `36`, `48`, `60`.
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 units of asynchronous replication relationship purchase length. Valid values: `Week` and `Month`. Default value: `Month`.
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="replicaPairId")
790
- def replica_pair_id(self) -> pulumi.Output[str]:
1101
+ @pulumi.getter(name="regionId")
1102
+ def region_id(self) -> pulumi.Output[str]:
791
1103
  """
792
- The first ID of the resource.
1104
+ The region ID of the resource
793
1105
  """
794
- return pulumi.get(self, "replica_pair_id")
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[str]:
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
+