pulumi-alicloud 3.78.0a1747200018__py3-none-any.whl → 3.79.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

Files changed (183) hide show
  1. pulumi_alicloud/__init__.py +72 -0
  2. pulumi_alicloud/adb/cluster.py +12 -12
  3. pulumi_alicloud/alb/_inputs.py +21 -105
  4. pulumi_alicloud/alb/get_load_balancers.py +169 -18
  5. pulumi_alicloud/alb/health_check_template.py +233 -93
  6. pulumi_alicloud/alb/listener.py +28 -56
  7. pulumi_alicloud/alb/load_balancer.py +110 -0
  8. pulumi_alicloud/alb/outputs.py +150 -105
  9. pulumi_alicloud/amqp/exchange.py +250 -159
  10. pulumi_alicloud/apigateway/_inputs.py +23 -3
  11. pulumi_alicloud/apigateway/api.py +7 -7
  12. pulumi_alicloud/apigateway/backend.py +8 -8
  13. pulumi_alicloud/apigateway/outputs.py +16 -2
  14. pulumi_alicloud/arms/remote_write.py +2 -2
  15. pulumi_alicloud/bp/studio_application.py +2 -2
  16. pulumi_alicloud/cassandra/cluster.py +2 -2
  17. pulumi_alicloud/cassandra/data_center.py +2 -2
  18. pulumi_alicloud/cdn/fc_trigger.py +2 -2
  19. pulumi_alicloud/cen/_inputs.py +78 -27
  20. pulumi_alicloud/cen/bandwidth_limit.py +7 -7
  21. pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +6 -6
  22. pulumi_alicloud/cen/outputs.py +52 -18
  23. pulumi_alicloud/cen/traffic_marking_policy.py +49 -9
  24. pulumi_alicloud/chatbot/publish_task.py +2 -2
  25. pulumi_alicloud/cloudfirewall/__init__.py +1 -0
  26. pulumi_alicloud/cloudfirewall/ips_config.py +523 -0
  27. pulumi_alicloud/cr/registry_enterprise_instance.py +4 -4
  28. pulumi_alicloud/cs/_inputs.py +54 -0
  29. pulumi_alicloud/cs/get_kubernetes_version.py +4 -4
  30. pulumi_alicloud/cs/managed_kubernetes.py +129 -7
  31. pulumi_alicloud/cs/outputs.py +49 -0
  32. pulumi_alicloud/das/switch_das_pro.py +6 -2
  33. pulumi_alicloud/dataworks/di_alarm_rule.py +6 -4
  34. pulumi_alicloud/dataworks/di_job.py +8 -6
  35. pulumi_alicloud/dataworks/project_member.py +2 -2
  36. pulumi_alicloud/ddos/domain_resource.py +19 -9
  37. pulumi_alicloud/dms/enterprise_logic_database.py +2 -2
  38. pulumi_alicloud/dms/enterprise_proxy_access.py +2 -2
  39. pulumi_alicloud/drds/instance.py +12 -8
  40. pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +2 -2
  41. pulumi_alicloud/ecs/__init__.py +1 -0
  42. pulumi_alicloud/ecs/_inputs.py +40 -0
  43. pulumi_alicloud/ecs/activation.py +2 -2
  44. pulumi_alicloud/ecs/capacity_reservation.py +2 -2
  45. pulumi_alicloud/ecs/ecs_disk_attachment.py +2 -2
  46. pulumi_alicloud/ecs/ecs_invocation.py +12 -6
  47. pulumi_alicloud/ecs/ecs_network_interface_permission.py +2 -2
  48. pulumi_alicloud/ecs/ecs_snapshot_group.py +2 -2
  49. pulumi_alicloud/ecs/elasticity_assurance.py +2 -2
  50. pulumi_alicloud/ecs/get_dedicated_hosts.py +49 -22
  51. pulumi_alicloud/ecs/get_instances.py +4 -3
  52. pulumi_alicloud/ecs/image_copy.py +2 -2
  53. pulumi_alicloud/ecs/image_export.py +2 -2
  54. pulumi_alicloud/ecs/instance.py +94 -0
  55. pulumi_alicloud/ecs/outputs.py +129 -39
  56. pulumi_alicloud/ecs/ram_role_attachment.py +406 -0
  57. pulumi_alicloud/ecs/reserved_instance.py +2 -2
  58. pulumi_alicloud/ecs/snapshot.py +8 -4
  59. pulumi_alicloud/ecs/storage_capacity_unit.py +2 -2
  60. pulumi_alicloud/eflo/__init__.py +1 -0
  61. pulumi_alicloud/eflo/vsc.py +433 -0
  62. pulumi_alicloud/elasticsearch/instance.py +7 -7
  63. pulumi_alicloud/emr/cluster.py +4 -4
  64. pulumi_alicloud/esa/edge_container_app_record.py +10 -2
  65. pulumi_alicloud/esa/http_request_header_modification_rule.py +12 -4
  66. pulumi_alicloud/esa/http_response_header_modification_rule.py +12 -4
  67. pulumi_alicloud/esa/https_basic_configuration.py +12 -4
  68. pulumi_alicloud/esa/network_optimization.py +10 -2
  69. pulumi_alicloud/esa/origin_pool.py +10 -10
  70. pulumi_alicloud/esa/redirect_rule.py +12 -4
  71. pulumi_alicloud/esa/rewrite_url_rule.py +12 -4
  72. pulumi_alicloud/ess/outputs.py +333 -4
  73. pulumi_alicloud/ess/scaling_group.py +47 -0
  74. pulumi_alicloud/expressconnect/router_vpc_association.py +56 -49
  75. pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
  76. pulumi_alicloud/fc/__init__.py +1 -0
  77. pulumi_alicloud/fc/get_v3_triggers.py +277 -0
  78. pulumi_alicloud/fc/outputs.py +192 -0
  79. pulumi_alicloud/fnf/execution.py +2 -2
  80. pulumi_alicloud/fnf/flow.py +2 -2
  81. pulumi_alicloud/fnf/schedule.py +2 -2
  82. pulumi_alicloud/gpdb/elastic_instance.py +8 -8
  83. pulumi_alicloud/hbr/ecs_backup_plan.py +10 -2
  84. pulumi_alicloud/hbr/hana_backup_client.py +2 -2
  85. pulumi_alicloud/hbr/hana_backup_plan.py +2 -2
  86. pulumi_alicloud/hbr/hana_instance.py +2 -2
  87. pulumi_alicloud/hbr/nas_backup_plan.py +10 -2
  88. pulumi_alicloud/hbr/oss_backup_plan.py +10 -2
  89. pulumi_alicloud/hbr/ots_backup_plan.py +10 -2
  90. pulumi_alicloud/hbr/restore_job.py +2 -2
  91. pulumi_alicloud/hbr/server_backup_plan.py +10 -2
  92. pulumi_alicloud/kms/_inputs.py +12 -12
  93. pulumi_alicloud/kms/instance.py +80 -47
  94. pulumi_alicloud/kms/outputs.py +8 -8
  95. pulumi_alicloud/kvstore/instance.py +21 -7
  96. pulumi_alicloud/lindorm/__init__.py +1 -0
  97. pulumi_alicloud/lindorm/instance.py +101 -7
  98. pulumi_alicloud/lindorm/public_network.py +288 -0
  99. pulumi_alicloud/log/etl.py +2 -2
  100. pulumi_alicloud/log/ingestion.py +4 -6
  101. pulumi_alicloud/log/oss_export.py +4 -6
  102. pulumi_alicloud/log/oss_shipper.py +2 -2
  103. pulumi_alicloud/maxcompute/project.py +2 -4
  104. pulumi_alicloud/mse/gateway.py +2 -2
  105. pulumi_alicloud/mse/nacos_config.py +2 -0
  106. pulumi_alicloud/mse/znode.py +2 -2
  107. pulumi_alicloud/nas/mount_target.py +6 -6
  108. pulumi_alicloud/nas/snapshot.py +2 -2
  109. pulumi_alicloud/oos/default_patch_baseline.py +2 -2
  110. pulumi_alicloud/oos/get_parameters.py +72 -28
  111. pulumi_alicloud/oos/outputs.py +10 -10
  112. pulumi_alicloud/oos/secret_parameter.py +2 -2
  113. pulumi_alicloud/oss/bucket_replication.py +8 -8
  114. pulumi_alicloud/pai/__init__.py +4 -0
  115. pulumi_alicloud/pai/_inputs.py +108 -0
  116. pulumi_alicloud/pai/outputs.py +64 -0
  117. pulumi_alicloud/pai/workspace_member.py +393 -0
  118. pulumi_alicloud/pai/workspace_model.py +792 -0
  119. pulumi_alicloud/pai/workspace_model_version.py +1129 -0
  120. pulumi_alicloud/pai/workspace_user_config.py +356 -0
  121. pulumi_alicloud/polardb/cluster.py +223 -7
  122. pulumi_alicloud/polardb/global_database_network.py +2 -2
  123. pulumi_alicloud/polardb/parameter_group.py +2 -2
  124. pulumi_alicloud/pulumi-plugin.json +1 -1
  125. pulumi_alicloud/pvtz/get_zone_records.py +66 -35
  126. pulumi_alicloud/pvtz/get_zones.py +49 -32
  127. pulumi_alicloud/pvtz/outputs.py +60 -56
  128. pulumi_alicloud/ram/group_policy_attachment.py +2 -2
  129. pulumi_alicloud/ram/policy.py +21 -35
  130. pulumi_alicloud/ram/role.py +2 -2
  131. pulumi_alicloud/ram/role_attachment.py +12 -6
  132. pulumi_alicloud/rds/__init__.py +1 -0
  133. pulumi_alicloud/rds/db_proxy_public.py +512 -0
  134. pulumi_alicloud/rds/instance.py +82 -82
  135. pulumi_alicloud/rds/rds_clone_db_instance.py +30 -30
  136. pulumi_alicloud/rds/rds_upgrade_db_instance.py +2 -2
  137. pulumi_alicloud/resourcemanager/account.py +315 -116
  138. pulumi_alicloud/rocketmq/group.py +2 -2
  139. pulumi_alicloud/ros/change_set.py +2 -2
  140. pulumi_alicloud/ros/stack.py +2 -2
  141. pulumi_alicloud/ros/stack_group.py +2 -2
  142. pulumi_alicloud/ros/stack_instance.py +2 -2
  143. pulumi_alicloud/ros/template_scratch.py +2 -2
  144. pulumi_alicloud/scdn/domain.py +2 -2
  145. pulumi_alicloud/securitycenter/service_linked_role.py +2 -2
  146. pulumi_alicloud/servicecatalog/provisioned_product.py +2 -2
  147. pulumi_alicloud/slb/_inputs.py +44 -0
  148. pulumi_alicloud/slb/acl_entry_attachment.py +2 -2
  149. pulumi_alicloud/slb/ca_certificate.py +4 -0
  150. pulumi_alicloud/slb/listener.py +46 -89
  151. pulumi_alicloud/slb/master_slave_server_group.py +17 -35
  152. pulumi_alicloud/slb/outputs.py +26 -0
  153. pulumi_alicloud/sls/__init__.py +1 -0
  154. pulumi_alicloud/sls/get_alerts.py +463 -0
  155. pulumi_alicloud/sls/outputs.py +975 -0
  156. pulumi_alicloud/sms/short_url.py +2 -2
  157. pulumi_alicloud/threatdetection/backup_policy.py +2 -2
  158. pulumi_alicloud/threatdetection/honeypot_probe.py +2 -2
  159. pulumi_alicloud/threatdetection/instance.py +28 -21
  160. pulumi_alicloud/threatdetection/outputs.py +98 -6
  161. pulumi_alicloud/threatdetection/vul_whitelist.py +2 -2
  162. pulumi_alicloud/threatdetection/web_lock_config.py +2 -2
  163. pulumi_alicloud/tsdb/instance.py +2 -2
  164. pulumi_alicloud/vpc/common_bandwith_package.py +28 -14
  165. pulumi_alicloud/vpc/forward_entry.py +4 -4
  166. pulumi_alicloud/vpc/gateway_route_table_attachment.py +2 -2
  167. pulumi_alicloud/vpc/ha_vip.py +4 -4
  168. pulumi_alicloud/vpc/ha_vipv2.py +4 -0
  169. pulumi_alicloud/vpc/ipv4_gateway.py +78 -37
  170. pulumi_alicloud/vpc/ipv6_gateway.py +2 -2
  171. pulumi_alicloud/vpc/nat_ip.py +2 -2
  172. pulumi_alicloud/vpc/prefix_list.py +2 -2
  173. pulumi_alicloud/vpc/route_entry.py +6 -2
  174. pulumi_alicloud/vpn/gateway_vco_route.py +2 -2
  175. pulumi_alicloud/vpn/ipsec_server.py +2 -2
  176. pulumi_alicloud/vpn/pbr_route_entry.py +2 -2
  177. pulumi_alicloud/vpn/route_entry.py +8 -8
  178. pulumi_alicloud/wafv3/instance.py +2 -2
  179. pulumi_alicloud/wafv3/outputs.py +11 -0
  180. {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0.dist-info}/METADATA +1 -1
  181. {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0.dist-info}/RECORD +183 -172
  182. {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0.dist-info}/WHEEL +1 -1
  183. {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0.dist-info}/top_level.txt +0 -0
@@ -126,7 +126,9 @@ class InstanceArgs:
126
126
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
127
127
  :param pulumi.Input[builtins.str] maintain_end_time: The end time of the operation and maintenance time period of the KVStore DBInstance, in the format of HH:mmZ (UTC time).
128
128
  :param pulumi.Input[builtins.str] maintain_start_time: The start time of the operation and maintenance time period of the KVStore DBInstance, in the format of HH:mmZ (UTC time).
129
- :param pulumi.Input[builtins.str] node_type: "Field `node_type` has been deprecated from version 1.120.1". This parameter is determined by the `instance_class`.
129
+ :param pulumi.Input[builtins.str] node_type: Node type, valid values:
130
+ - `MASTER_SLAVE`: High availability (dual copies)
131
+ - `STAND_ALONE`: Single copy
130
132
  :param pulumi.Input[builtins.str] order_type: Specifies a change type when you change the configuration of a subscription instance. Valid values: `UPGRADE`, `DOWNGRADE`. Default value: `UPGRADE`. `UPGRADE` means upgrades the configuration of a subscription instance. `DOWNGRADE` means downgrades the configuration of a subscription instance.
131
133
  :param pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]] parameters: It has been deprecated from provider version 1.101.0 and `config` instead. See `parameters` below.
132
134
  :param pulumi.Input[builtins.str] password: The password of the KVStore DBInstance. The password that is used to connect to the instance. The password must be 8 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, special characters, and digits. Special characters include: `! @ # $ % ^ & * ( ) _ + - =`
@@ -742,7 +744,9 @@ class InstanceArgs:
742
744
  @_utilities.deprecated("""Field 'node_type' has been deprecated from version 1.120.1""")
743
745
  def node_type(self) -> Optional[pulumi.Input[builtins.str]]:
744
746
  """
745
- "Field `node_type` has been deprecated from version 1.120.1". This parameter is determined by the `instance_class`.
747
+ Node type, valid values:
748
+ - `MASTER_SLAVE`: High availability (dual copies)
749
+ - `STAND_ALONE`: Single copy
746
750
  """
747
751
  return pulumi.get(self, "node_type")
748
752
 
@@ -1196,7 +1200,9 @@ class _InstanceState:
1196
1200
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
1197
1201
  :param pulumi.Input[builtins.str] maintain_end_time: The end time of the operation and maintenance time period of the KVStore DBInstance, in the format of HH:mmZ (UTC time).
1198
1202
  :param pulumi.Input[builtins.str] maintain_start_time: The start time of the operation and maintenance time period of the KVStore DBInstance, in the format of HH:mmZ (UTC time).
1199
- :param pulumi.Input[builtins.str] node_type: "Field `node_type` has been deprecated from version 1.120.1". This parameter is determined by the `instance_class`.
1203
+ :param pulumi.Input[builtins.str] node_type: Node type, valid values:
1204
+ - `MASTER_SLAVE`: High availability (dual copies)
1205
+ - `STAND_ALONE`: Single copy
1200
1206
  :param pulumi.Input[builtins.str] order_type: Specifies a change type when you change the configuration of a subscription instance. Valid values: `UPGRADE`, `DOWNGRADE`. Default value: `UPGRADE`. `UPGRADE` means upgrades the configuration of a subscription instance. `DOWNGRADE` means downgrades the configuration of a subscription instance.
1201
1207
  :param pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]] parameters: It has been deprecated from provider version 1.101.0 and `config` instead. See `parameters` below.
1202
1208
  :param pulumi.Input[builtins.str] password: The password of the KVStore DBInstance. The password that is used to connect to the instance. The password must be 8 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, special characters, and digits. Special characters include: `! @ # $ % ^ & * ( ) _ + - =`
@@ -1864,7 +1870,9 @@ class _InstanceState:
1864
1870
  @_utilities.deprecated("""Field 'node_type' has been deprecated from version 1.120.1""")
1865
1871
  def node_type(self) -> Optional[pulumi.Input[builtins.str]]:
1866
1872
  """
1867
- "Field `node_type` has been deprecated from version 1.120.1". This parameter is determined by the `instance_class`.
1873
+ Node type, valid values:
1874
+ - `MASTER_SLAVE`: High availability (dual copies)
1875
+ - `STAND_ALONE`: Single copy
1868
1876
  """
1869
1877
  return pulumi.get(self, "node_type")
1870
1878
 
@@ -2347,7 +2355,9 @@ class Instance(pulumi.CustomResource):
2347
2355
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
2348
2356
  :param pulumi.Input[builtins.str] maintain_end_time: The end time of the operation and maintenance time period of the KVStore DBInstance, in the format of HH:mmZ (UTC time).
2349
2357
  :param pulumi.Input[builtins.str] maintain_start_time: The start time of the operation and maintenance time period of the KVStore DBInstance, in the format of HH:mmZ (UTC time).
2350
- :param pulumi.Input[builtins.str] node_type: "Field `node_type` has been deprecated from version 1.120.1". This parameter is determined by the `instance_class`.
2358
+ :param pulumi.Input[builtins.str] node_type: Node type, valid values:
2359
+ - `MASTER_SLAVE`: High availability (dual copies)
2360
+ - `STAND_ALONE`: Single copy
2351
2361
  :param pulumi.Input[builtins.str] order_type: Specifies a change type when you change the configuration of a subscription instance. Valid values: `UPGRADE`, `DOWNGRADE`. Default value: `UPGRADE`. `UPGRADE` means upgrades the configuration of a subscription instance. `DOWNGRADE` means downgrades the configuration of a subscription instance.
2352
2362
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]] parameters: It has been deprecated from provider version 1.101.0 and `config` instead. See `parameters` below.
2353
2363
  :param pulumi.Input[builtins.str] password: The password of the KVStore DBInstance. The password that is used to connect to the instance. The password must be 8 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, special characters, and digits. Special characters include: `! @ # $ % ^ & * ( ) _ + - =`
@@ -2680,7 +2690,9 @@ class Instance(pulumi.CustomResource):
2680
2690
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
2681
2691
  :param pulumi.Input[builtins.str] maintain_end_time: The end time of the operation and maintenance time period of the KVStore DBInstance, in the format of HH:mmZ (UTC time).
2682
2692
  :param pulumi.Input[builtins.str] maintain_start_time: The start time of the operation and maintenance time period of the KVStore DBInstance, in the format of HH:mmZ (UTC time).
2683
- :param pulumi.Input[builtins.str] node_type: "Field `node_type` has been deprecated from version 1.120.1". This parameter is determined by the `instance_class`.
2693
+ :param pulumi.Input[builtins.str] node_type: Node type, valid values:
2694
+ - `MASTER_SLAVE`: High availability (dual copies)
2695
+ - `STAND_ALONE`: Single copy
2684
2696
  :param pulumi.Input[builtins.str] order_type: Specifies a change type when you change the configuration of a subscription instance. Valid values: `UPGRADE`, `DOWNGRADE`. Default value: `UPGRADE`. `UPGRADE` means upgrades the configuration of a subscription instance. `DOWNGRADE` means downgrades the configuration of a subscription instance.
2685
2697
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]] parameters: It has been deprecated from provider version 1.101.0 and `config` instead. See `parameters` below.
2686
2698
  :param pulumi.Input[builtins.str] password: The password of the KVStore DBInstance. The password that is used to connect to the instance. The password must be 8 to 32 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, special characters, and digits. Special characters include: `! @ # $ % ^ & * ( ) _ + - =`
@@ -3109,7 +3121,9 @@ class Instance(pulumi.CustomResource):
3109
3121
  @_utilities.deprecated("""Field 'node_type' has been deprecated from version 1.120.1""")
3110
3122
  def node_type(self) -> pulumi.Output[builtins.str]:
3111
3123
  """
3112
- "Field `node_type` has been deprecated from version 1.120.1". This parameter is determined by the `instance_class`.
3124
+ Node type, valid values:
3125
+ - `MASTER_SLAVE`: High availability (dual copies)
3126
+ - `STAND_ALONE`: Single copy
3113
3127
  """
3114
3128
  return pulumi.get(self, "node_type")
3115
3129
 
@@ -8,4 +8,5 @@ import typing
8
8
  # Export this package's modules as members:
9
9
  from .get_instances import *
10
10
  from .instance import *
11
+ from .public_network import *
11
12
  from . import outputs
@@ -26,6 +26,8 @@ class InstanceArgs:
26
26
  arbiter_vswitch_id: Optional[pulumi.Input[builtins.str]] = None,
27
27
  arbiter_zone_id: Optional[pulumi.Input[builtins.str]] = None,
28
28
  arch_version: Optional[pulumi.Input[builtins.str]] = None,
29
+ auto_renew: Optional[pulumi.Input[builtins.str]] = None,
30
+ auto_renew_period: Optional[pulumi.Input[builtins.str]] = None,
29
31
  cold_storage: Optional[pulumi.Input[builtins.int]] = None,
30
32
  core_single_storage: Optional[pulumi.Input[builtins.int]] = None,
31
33
  core_spec: Optional[pulumi.Input[builtins.str]] = None,
@@ -69,6 +71,8 @@ class InstanceArgs:
69
71
  :param pulumi.Input[builtins.str] arbiter_vswitch_id: The multi-availability zone instance, coordinating the virtual switch ID of the availability zone, the switch must be located under the availability zone corresponding to the ArbiterZoneId. This parameter is required if you need to create multiple availability zone instances.
70
72
  :param pulumi.Input[builtins.str] arbiter_zone_id: The multiple Availability Zone Instance, the availability zone ID of the coordinating availability zone. required if you need to create multiple availability zone instances.
71
73
  :param pulumi.Input[builtins.str] arch_version: The deployment architecture. If you do not fill in this parameter, the default is 1.0. to create multiple availability instances, fill in 2.0. if you need to create multiple availability instances, this parameter is required. Valid values: `1.0` to `2.0`.
74
+ :param pulumi.Input[builtins.str] auto_renew: Specifies whether to enable auto-renewal for the instance. Valid when the `payment_type` is `Subscription`. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
75
+ :param pulumi.Input[builtins.str] auto_renew_period: The subscription duration that is supported by auto-renewal. Unit: months. Valid values: `1` to `12`. This parameter is required only if the AutoRenew parameter is set to true.
72
76
  :param pulumi.Input[builtins.int] cold_storage: The cold storage capacity of the instance. Unit: GB. Valid values: [800, 1000000].
73
77
  :param pulumi.Input[builtins.int] core_single_storage: The multiple availability zone instances, CORE single node capacity. required if you want to create multiple availability zone instances. Valid values: `400` to `64000`.
74
78
  :param pulumi.Input[builtins.str] core_spec: The core spec. When `disk_category` is `local_ssd_pro` or `local_hdd_pro`, this filed is valid.
@@ -79,7 +83,7 @@ class InstanceArgs:
79
83
  :param pulumi.Input[builtins.int] file_engine_node_count: The count of file engine.
80
84
  :param pulumi.Input[builtins.str] file_engine_specification: The specification of file engine. Valid values: `lindorm.c.xlarge`.
81
85
  :param pulumi.Input[builtins.str] instance_name: The name of the instance.
82
- :param pulumi.Input[builtins.str] instance_storage: The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB.
86
+ :param pulumi.Input[builtins.str] instance_storage: The storage capacity of the instance. Unit: GB. Valid values: [80, 10485760], and the value must be divisible by 80.
83
87
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_white_lists: The ip white list of instance.
84
88
  :param pulumi.Input[builtins.str] log_disk_category: The multi-available zone instance, log node disk type. required if you need to create multiple availability zone instances. Valid values: `cloud_efficiency`, `cloud_ssd`.
85
89
  :param pulumi.Input[builtins.int] log_num: The multiple Availability Zone Instance, number of log nodes. this parameter is required if you want to create multiple availability zone instances. Valid values: `4` to `400`.
@@ -116,6 +120,10 @@ class InstanceArgs:
116
120
  pulumi.set(__self__, "arbiter_zone_id", arbiter_zone_id)
117
121
  if arch_version is not None:
118
122
  pulumi.set(__self__, "arch_version", arch_version)
123
+ if auto_renew is not None:
124
+ pulumi.set(__self__, "auto_renew", auto_renew)
125
+ if auto_renew_period is not None:
126
+ pulumi.set(__self__, "auto_renew_period", auto_renew_period)
119
127
  if cold_storage is not None:
120
128
  pulumi.set(__self__, "cold_storage", cold_storage)
121
129
  if core_single_storage is not None:
@@ -262,6 +270,30 @@ class InstanceArgs:
262
270
  def arch_version(self, value: Optional[pulumi.Input[builtins.str]]):
263
271
  pulumi.set(self, "arch_version", value)
264
272
 
273
+ @property
274
+ @pulumi.getter(name="autoRenew")
275
+ def auto_renew(self) -> Optional[pulumi.Input[builtins.str]]:
276
+ """
277
+ Specifies whether to enable auto-renewal for the instance. Valid when the `payment_type` is `Subscription`. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
278
+ """
279
+ return pulumi.get(self, "auto_renew")
280
+
281
+ @auto_renew.setter
282
+ def auto_renew(self, value: Optional[pulumi.Input[builtins.str]]):
283
+ pulumi.set(self, "auto_renew", value)
284
+
285
+ @property
286
+ @pulumi.getter(name="autoRenewPeriod")
287
+ def auto_renew_period(self) -> Optional[pulumi.Input[builtins.str]]:
288
+ """
289
+ The subscription duration that is supported by auto-renewal. Unit: months. Valid values: `1` to `12`. This parameter is required only if the AutoRenew parameter is set to true.
290
+ """
291
+ return pulumi.get(self, "auto_renew_period")
292
+
293
+ @auto_renew_period.setter
294
+ def auto_renew_period(self, value: Optional[pulumi.Input[builtins.str]]):
295
+ pulumi.set(self, "auto_renew_period", value)
296
+
265
297
  @property
266
298
  @pulumi.getter(name="coldStorage")
267
299
  def cold_storage(self) -> Optional[pulumi.Input[builtins.int]]:
@@ -364,7 +396,7 @@ class InstanceArgs:
364
396
  @pulumi.getter(name="instanceStorage")
365
397
  def instance_storage(self) -> Optional[pulumi.Input[builtins.str]]:
366
398
  """
367
- The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB.
399
+ The storage capacity of the instance. Unit: GB. Valid values: [80, 10485760], and the value must be divisible by 80.
368
400
  """
369
401
  return pulumi.get(self, "instance_storage")
370
402
 
@@ -692,6 +724,8 @@ class _InstanceState:
692
724
  arbiter_vswitch_id: Optional[pulumi.Input[builtins.str]] = None,
693
725
  arbiter_zone_id: Optional[pulumi.Input[builtins.str]] = None,
694
726
  arch_version: Optional[pulumi.Input[builtins.str]] = None,
727
+ auto_renew: Optional[pulumi.Input[builtins.str]] = None,
728
+ auto_renew_period: Optional[pulumi.Input[builtins.str]] = None,
695
729
  cold_storage: Optional[pulumi.Input[builtins.int]] = None,
696
730
  core_single_storage: Optional[pulumi.Input[builtins.int]] = None,
697
731
  core_spec: Optional[pulumi.Input[builtins.str]] = None,
@@ -743,6 +777,8 @@ class _InstanceState:
743
777
  :param pulumi.Input[builtins.str] arbiter_vswitch_id: The multi-availability zone instance, coordinating the virtual switch ID of the availability zone, the switch must be located under the availability zone corresponding to the ArbiterZoneId. This parameter is required if you need to create multiple availability zone instances.
744
778
  :param pulumi.Input[builtins.str] arbiter_zone_id: The multiple Availability Zone Instance, the availability zone ID of the coordinating availability zone. required if you need to create multiple availability zone instances.
745
779
  :param pulumi.Input[builtins.str] arch_version: The deployment architecture. If you do not fill in this parameter, the default is 1.0. to create multiple availability instances, fill in 2.0. if you need to create multiple availability instances, this parameter is required. Valid values: `1.0` to `2.0`.
780
+ :param pulumi.Input[builtins.str] auto_renew: Specifies whether to enable auto-renewal for the instance. Valid when the `payment_type` is `Subscription`. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
781
+ :param pulumi.Input[builtins.str] auto_renew_period: The subscription duration that is supported by auto-renewal. Unit: months. Valid values: `1` to `12`. This parameter is required only if the AutoRenew parameter is set to true.
746
782
  :param pulumi.Input[builtins.int] cold_storage: The cold storage capacity of the instance. Unit: GB. Valid values: [800, 1000000].
747
783
  :param pulumi.Input[builtins.int] core_single_storage: The multiple availability zone instances, CORE single node capacity. required if you want to create multiple availability zone instances. Valid values: `400` to `64000`.
748
784
  :param pulumi.Input[builtins.str] core_spec: The core spec. When `disk_category` is `local_ssd_pro` or `local_hdd_pro`, this filed is valid.
@@ -760,7 +796,7 @@ class _InstanceState:
760
796
  :param pulumi.Input[builtins.int] file_engine_node_count: The count of file engine.
761
797
  :param pulumi.Input[builtins.str] file_engine_specification: The specification of file engine. Valid values: `lindorm.c.xlarge`.
762
798
  :param pulumi.Input[builtins.str] instance_name: The name of the instance.
763
- :param pulumi.Input[builtins.str] instance_storage: The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB.
799
+ :param pulumi.Input[builtins.str] instance_storage: The storage capacity of the instance. Unit: GB. Valid values: [80, 10485760], and the value must be divisible by 80.
764
800
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_white_lists: The ip white list of instance.
765
801
  :param pulumi.Input[builtins.str] log_disk_category: The multi-available zone instance, log node disk type. required if you need to create multiple availability zone instances. Valid values: `cloud_efficiency`, `cloud_ssd`.
766
802
  :param pulumi.Input[builtins.int] log_num: The multiple Availability Zone Instance, number of log nodes. this parameter is required if you want to create multiple availability zone instances. Valid values: `4` to `400`.
@@ -798,6 +834,10 @@ class _InstanceState:
798
834
  pulumi.set(__self__, "arbiter_zone_id", arbiter_zone_id)
799
835
  if arch_version is not None:
800
836
  pulumi.set(__self__, "arch_version", arch_version)
837
+ if auto_renew is not None:
838
+ pulumi.set(__self__, "auto_renew", auto_renew)
839
+ if auto_renew_period is not None:
840
+ pulumi.set(__self__, "auto_renew_period", auto_renew_period)
801
841
  if cold_storage is not None:
802
842
  pulumi.set(__self__, "cold_storage", cold_storage)
803
843
  if core_single_storage is not None:
@@ -930,6 +970,30 @@ class _InstanceState:
930
970
  def arch_version(self, value: Optional[pulumi.Input[builtins.str]]):
931
971
  pulumi.set(self, "arch_version", value)
932
972
 
973
+ @property
974
+ @pulumi.getter(name="autoRenew")
975
+ def auto_renew(self) -> Optional[pulumi.Input[builtins.str]]:
976
+ """
977
+ Specifies whether to enable auto-renewal for the instance. Valid when the `payment_type` is `Subscription`. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
978
+ """
979
+ return pulumi.get(self, "auto_renew")
980
+
981
+ @auto_renew.setter
982
+ def auto_renew(self, value: Optional[pulumi.Input[builtins.str]]):
983
+ pulumi.set(self, "auto_renew", value)
984
+
985
+ @property
986
+ @pulumi.getter(name="autoRenewPeriod")
987
+ def auto_renew_period(self) -> Optional[pulumi.Input[builtins.str]]:
988
+ """
989
+ The subscription duration that is supported by auto-renewal. Unit: months. Valid values: `1` to `12`. This parameter is required only if the AutoRenew parameter is set to true.
990
+ """
991
+ return pulumi.get(self, "auto_renew_period")
992
+
993
+ @auto_renew_period.setter
994
+ def auto_renew_period(self, value: Optional[pulumi.Input[builtins.str]]):
995
+ pulumi.set(self, "auto_renew_period", value)
996
+
933
997
  @property
934
998
  @pulumi.getter(name="coldStorage")
935
999
  def cold_storage(self) -> Optional[pulumi.Input[builtins.int]]:
@@ -1116,7 +1180,7 @@ class _InstanceState:
1116
1180
  @pulumi.getter(name="instanceStorage")
1117
1181
  def instance_storage(self) -> Optional[pulumi.Input[builtins.str]]:
1118
1182
  """
1119
- The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB.
1183
+ The storage capacity of the instance. Unit: GB. Valid values: [80, 10485760], and the value must be divisible by 80.
1120
1184
  """
1121
1185
  return pulumi.get(self, "instance_storage")
1122
1186
 
@@ -1495,6 +1559,8 @@ class Instance(pulumi.CustomResource):
1495
1559
  arbiter_vswitch_id: Optional[pulumi.Input[builtins.str]] = None,
1496
1560
  arbiter_zone_id: Optional[pulumi.Input[builtins.str]] = None,
1497
1561
  arch_version: Optional[pulumi.Input[builtins.str]] = None,
1562
+ auto_renew: Optional[pulumi.Input[builtins.str]] = None,
1563
+ auto_renew_period: Optional[pulumi.Input[builtins.str]] = None,
1498
1564
  cold_storage: Optional[pulumi.Input[builtins.int]] = None,
1499
1565
  core_single_storage: Optional[pulumi.Input[builtins.int]] = None,
1500
1566
  core_spec: Optional[pulumi.Input[builtins.str]] = None,
@@ -1586,6 +1652,8 @@ class Instance(pulumi.CustomResource):
1586
1652
  :param pulumi.Input[builtins.str] arbiter_vswitch_id: The multi-availability zone instance, coordinating the virtual switch ID of the availability zone, the switch must be located under the availability zone corresponding to the ArbiterZoneId. This parameter is required if you need to create multiple availability zone instances.
1587
1653
  :param pulumi.Input[builtins.str] arbiter_zone_id: The multiple Availability Zone Instance, the availability zone ID of the coordinating availability zone. required if you need to create multiple availability zone instances.
1588
1654
  :param pulumi.Input[builtins.str] arch_version: The deployment architecture. If you do not fill in this parameter, the default is 1.0. to create multiple availability instances, fill in 2.0. if you need to create multiple availability instances, this parameter is required. Valid values: `1.0` to `2.0`.
1655
+ :param pulumi.Input[builtins.str] auto_renew: Specifies whether to enable auto-renewal for the instance. Valid when the `payment_type` is `Subscription`. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
1656
+ :param pulumi.Input[builtins.str] auto_renew_period: The subscription duration that is supported by auto-renewal. Unit: months. Valid values: `1` to `12`. This parameter is required only if the AutoRenew parameter is set to true.
1589
1657
  :param pulumi.Input[builtins.int] cold_storage: The cold storage capacity of the instance. Unit: GB. Valid values: [800, 1000000].
1590
1658
  :param pulumi.Input[builtins.int] core_single_storage: The multiple availability zone instances, CORE single node capacity. required if you want to create multiple availability zone instances. Valid values: `400` to `64000`.
1591
1659
  :param pulumi.Input[builtins.str] core_spec: The core spec. When `disk_category` is `local_ssd_pro` or `local_hdd_pro`, this filed is valid.
@@ -1597,7 +1665,7 @@ class Instance(pulumi.CustomResource):
1597
1665
  :param pulumi.Input[builtins.int] file_engine_node_count: The count of file engine.
1598
1666
  :param pulumi.Input[builtins.str] file_engine_specification: The specification of file engine. Valid values: `lindorm.c.xlarge`.
1599
1667
  :param pulumi.Input[builtins.str] instance_name: The name of the instance.
1600
- :param pulumi.Input[builtins.str] instance_storage: The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB.
1668
+ :param pulumi.Input[builtins.str] instance_storage: The storage capacity of the instance. Unit: GB. Valid values: [80, 10485760], and the value must be divisible by 80.
1601
1669
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_white_lists: The ip white list of instance.
1602
1670
  :param pulumi.Input[builtins.str] log_disk_category: The multi-available zone instance, log node disk type. required if you need to create multiple availability zone instances. Valid values: `cloud_efficiency`, `cloud_ssd`.
1603
1671
  :param pulumi.Input[builtins.int] log_num: The multiple Availability Zone Instance, number of log nodes. this parameter is required if you want to create multiple availability zone instances. Valid values: `4` to `400`.
@@ -1698,6 +1766,8 @@ class Instance(pulumi.CustomResource):
1698
1766
  arbiter_vswitch_id: Optional[pulumi.Input[builtins.str]] = None,
1699
1767
  arbiter_zone_id: Optional[pulumi.Input[builtins.str]] = None,
1700
1768
  arch_version: Optional[pulumi.Input[builtins.str]] = None,
1769
+ auto_renew: Optional[pulumi.Input[builtins.str]] = None,
1770
+ auto_renew_period: Optional[pulumi.Input[builtins.str]] = None,
1701
1771
  cold_storage: Optional[pulumi.Input[builtins.int]] = None,
1702
1772
  core_single_storage: Optional[pulumi.Input[builtins.int]] = None,
1703
1773
  core_spec: Optional[pulumi.Input[builtins.str]] = None,
@@ -1748,6 +1818,8 @@ class Instance(pulumi.CustomResource):
1748
1818
  __props__.__dict__["arbiter_vswitch_id"] = arbiter_vswitch_id
1749
1819
  __props__.__dict__["arbiter_zone_id"] = arbiter_zone_id
1750
1820
  __props__.__dict__["arch_version"] = arch_version
1821
+ __props__.__dict__["auto_renew"] = auto_renew
1822
+ __props__.__dict__["auto_renew_period"] = auto_renew_period
1751
1823
  __props__.__dict__["cold_storage"] = cold_storage
1752
1824
  __props__.__dict__["core_single_storage"] = core_single_storage
1753
1825
  __props__.__dict__["core_spec"] = core_spec
@@ -1813,6 +1885,8 @@ class Instance(pulumi.CustomResource):
1813
1885
  arbiter_vswitch_id: Optional[pulumi.Input[builtins.str]] = None,
1814
1886
  arbiter_zone_id: Optional[pulumi.Input[builtins.str]] = None,
1815
1887
  arch_version: Optional[pulumi.Input[builtins.str]] = None,
1888
+ auto_renew: Optional[pulumi.Input[builtins.str]] = None,
1889
+ auto_renew_period: Optional[pulumi.Input[builtins.str]] = None,
1816
1890
  cold_storage: Optional[pulumi.Input[builtins.int]] = None,
1817
1891
  core_single_storage: Optional[pulumi.Input[builtins.int]] = None,
1818
1892
  core_spec: Optional[pulumi.Input[builtins.str]] = None,
@@ -1869,6 +1943,8 @@ class Instance(pulumi.CustomResource):
1869
1943
  :param pulumi.Input[builtins.str] arbiter_vswitch_id: The multi-availability zone instance, coordinating the virtual switch ID of the availability zone, the switch must be located under the availability zone corresponding to the ArbiterZoneId. This parameter is required if you need to create multiple availability zone instances.
1870
1944
  :param pulumi.Input[builtins.str] arbiter_zone_id: The multiple Availability Zone Instance, the availability zone ID of the coordinating availability zone. required if you need to create multiple availability zone instances.
1871
1945
  :param pulumi.Input[builtins.str] arch_version: The deployment architecture. If you do not fill in this parameter, the default is 1.0. to create multiple availability instances, fill in 2.0. if you need to create multiple availability instances, this parameter is required. Valid values: `1.0` to `2.0`.
1946
+ :param pulumi.Input[builtins.str] auto_renew: Specifies whether to enable auto-renewal for the instance. Valid when the `payment_type` is `Subscription`. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
1947
+ :param pulumi.Input[builtins.str] auto_renew_period: The subscription duration that is supported by auto-renewal. Unit: months. Valid values: `1` to `12`. This parameter is required only if the AutoRenew parameter is set to true.
1872
1948
  :param pulumi.Input[builtins.int] cold_storage: The cold storage capacity of the instance. Unit: GB. Valid values: [800, 1000000].
1873
1949
  :param pulumi.Input[builtins.int] core_single_storage: The multiple availability zone instances, CORE single node capacity. required if you want to create multiple availability zone instances. Valid values: `400` to `64000`.
1874
1950
  :param pulumi.Input[builtins.str] core_spec: The core spec. When `disk_category` is `local_ssd_pro` or `local_hdd_pro`, this filed is valid.
@@ -1886,7 +1962,7 @@ class Instance(pulumi.CustomResource):
1886
1962
  :param pulumi.Input[builtins.int] file_engine_node_count: The count of file engine.
1887
1963
  :param pulumi.Input[builtins.str] file_engine_specification: The specification of file engine. Valid values: `lindorm.c.xlarge`.
1888
1964
  :param pulumi.Input[builtins.str] instance_name: The name of the instance.
1889
- :param pulumi.Input[builtins.str] instance_storage: The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB.
1965
+ :param pulumi.Input[builtins.str] instance_storage: The storage capacity of the instance. Unit: GB. Valid values: [80, 10485760], and the value must be divisible by 80.
1890
1966
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_white_lists: The ip white list of instance.
1891
1967
  :param pulumi.Input[builtins.str] log_disk_category: The multi-available zone instance, log node disk type. required if you need to create multiple availability zone instances. Valid values: `cloud_efficiency`, `cloud_ssd`.
1892
1968
  :param pulumi.Input[builtins.int] log_num: The multiple Availability Zone Instance, number of log nodes. this parameter is required if you want to create multiple availability zone instances. Valid values: `4` to `400`.
@@ -1925,6 +2001,8 @@ class Instance(pulumi.CustomResource):
1925
2001
  __props__.__dict__["arbiter_vswitch_id"] = arbiter_vswitch_id
1926
2002
  __props__.__dict__["arbiter_zone_id"] = arbiter_zone_id
1927
2003
  __props__.__dict__["arch_version"] = arch_version
2004
+ __props__.__dict__["auto_renew"] = auto_renew
2005
+ __props__.__dict__["auto_renew_period"] = auto_renew_period
1928
2006
  __props__.__dict__["cold_storage"] = cold_storage
1929
2007
  __props__.__dict__["core_single_storage"] = core_single_storage
1930
2008
  __props__.__dict__["core_spec"] = core_spec
@@ -1997,6 +2075,22 @@ class Instance(pulumi.CustomResource):
1997
2075
  """
1998
2076
  return pulumi.get(self, "arch_version")
1999
2077
 
2078
+ @property
2079
+ @pulumi.getter(name="autoRenew")
2080
+ def auto_renew(self) -> pulumi.Output[Optional[builtins.str]]:
2081
+ """
2082
+ Specifies whether to enable auto-renewal for the instance. Valid when the `payment_type` is `Subscription`. Default value: false. Valid values: true(enables auto-renewal), false(disables auto-renewal).
2083
+ """
2084
+ return pulumi.get(self, "auto_renew")
2085
+
2086
+ @property
2087
+ @pulumi.getter(name="autoRenewPeriod")
2088
+ def auto_renew_period(self) -> pulumi.Output[Optional[builtins.str]]:
2089
+ """
2090
+ The subscription duration that is supported by auto-renewal. Unit: months. Valid values: `1` to `12`. This parameter is required only if the AutoRenew parameter is set to true.
2091
+ """
2092
+ return pulumi.get(self, "auto_renew_period")
2093
+
2000
2094
  @property
2001
2095
  @pulumi.getter(name="coldStorage")
2002
2096
  def cold_storage(self) -> pulumi.Output[builtins.int]:
@@ -2123,7 +2217,7 @@ class Instance(pulumi.CustomResource):
2123
2217
  @pulumi.getter(name="instanceStorage")
2124
2218
  def instance_storage(self) -> pulumi.Output[builtins.str]:
2125
2219
  """
2126
- The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB.
2220
+ The storage capacity of the instance. Unit: GB. Valid values: [80, 10485760], and the value must be divisible by 80.
2127
2221
  """
2128
2222
  return pulumi.get(self, "instance_storage")
2129
2223