pulumi-alicloud 3.84.0a1756507491__py3-none-any.whl → 3.85.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 (283) hide show
  1. pulumi_alicloud/__init__.py +172 -0
  2. pulumi_alicloud/_inputs.py +635 -0
  3. pulumi_alicloud/ackone/membership_attachment.py +122 -0
  4. pulumi_alicloud/actiontrail/__init__.py +1 -0
  5. pulumi_alicloud/actiontrail/advanced_query_template.py +311 -0
  6. pulumi_alicloud/actiontrail/trail.py +303 -149
  7. pulumi_alicloud/actiontrail/trail_deprecated.py +131 -23
  8. pulumi_alicloud/alb/a_script.py +170 -0
  9. pulumi_alicloud/alb/get_rules.py +206 -0
  10. pulumi_alicloud/alb/listener.py +240 -0
  11. pulumi_alicloud/alb/listener_acl_attachment.py +180 -0
  12. pulumi_alicloud/alb/listener_additional_certificate_attachment.py +314 -0
  13. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +136 -0
  14. pulumi_alicloud/alb/load_balancer_common_bandwidth_package_attachment.py +122 -0
  15. pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +124 -0
  16. pulumi_alicloud/alb/rule.py +202 -0
  17. pulumi_alicloud/alikafka/sasl_user.py +2 -2
  18. pulumi_alicloud/amqp/get_instances.py +49 -20
  19. pulumi_alicloud/amqp/outputs.py +20 -20
  20. pulumi_alicloud/amqp/virtual_host.py +46 -20
  21. pulumi_alicloud/apig/environment.py +86 -0
  22. pulumi_alicloud/arms/__init__.py +6 -0
  23. pulumi_alicloud/arms/addon_release.py +174 -0
  24. pulumi_alicloud/arms/env_feature.py +158 -0
  25. pulumi_alicloud/arms/env_pod_monitor.py +206 -0
  26. pulumi_alicloud/arms/env_service_monitor.py +204 -0
  27. pulumi_alicloud/arms/environment.py +150 -0
  28. pulumi_alicloud/arms/get_addon_releases.py +354 -0
  29. pulumi_alicloud/arms/get_env_custom_jobs.py +268 -0
  30. pulumi_alicloud/arms/get_env_features.py +342 -0
  31. pulumi_alicloud/arms/get_env_pod_monitors.py +390 -0
  32. pulumi_alicloud/arms/get_env_service_monitors.py +388 -0
  33. pulumi_alicloud/arms/get_environments.py +282 -0
  34. pulumi_alicloud/arms/outputs.py +620 -0
  35. pulumi_alicloud/arms/prometheus_monitoring.py +190 -0
  36. pulumi_alicloud/cen/transit_router_multicast_domain_member.py +118 -0
  37. pulumi_alicloud/cen/transit_router_multicast_domain_source.py +160 -0
  38. pulumi_alicloud/cfg/aggregate_delivery.py +100 -0
  39. pulumi_alicloud/cfg/delivery_channel.py +54 -0
  40. pulumi_alicloud/cloudauth/face_config.py +48 -0
  41. pulumi_alicloud/cloudfirewall/nat_firewall_control_policy.py +236 -0
  42. pulumi_alicloud/cloudmonitor/__init__.py +1 -0
  43. pulumi_alicloud/cloudmonitor/get_service_metric_alarm_rules.py +333 -0
  44. pulumi_alicloud/cloudmonitor/outputs.py +696 -0
  45. pulumi_alicloud/cloudsso/__init__.py +1 -0
  46. pulumi_alicloud/cloudsso/access_configuration.py +12 -12
  47. pulumi_alicloud/cloudsso/access_configuration_provisioning.py +84 -0
  48. pulumi_alicloud/cloudsso/access_management.py +90 -0
  49. pulumi_alicloud/cloudsso/delegate_account.py +218 -0
  50. pulumi_alicloud/cloudsso/group.py +60 -0
  51. pulumi_alicloud/cloudsso/user.py +66 -0
  52. pulumi_alicloud/cloudsso/user_attachment.py +82 -0
  53. pulumi_alicloud/cloudstoragegateway/express_sync.py +154 -0
  54. pulumi_alicloud/cloudstoragegateway/express_sync_share_attachment.py +160 -0
  55. pulumi_alicloud/cloudstoragegateway/gateway.py +0 -13
  56. pulumi_alicloud/cloudstoragegateway/gateway_block_volume.py +132 -0
  57. pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +92 -0
  58. pulumi_alicloud/cloudstoragegateway/gateway_file_share.py +130 -0
  59. pulumi_alicloud/cloudstoragegateway/gateway_logging.py +120 -0
  60. pulumi_alicloud/cloudstoragegateway/gateway_smb_user.py +92 -0
  61. pulumi_alicloud/cms/alarm.py +4 -4
  62. pulumi_alicloud/cms/get_site_monitors.py +20 -20
  63. pulumi_alicloud/cms/hybrid_monitor_fc_task.py +24 -24
  64. pulumi_alicloud/cms/hybrid_monitor_sls_task.py +164 -0
  65. pulumi_alicloud/cms/site_monitor.py +20 -20
  66. pulumi_alicloud/cms/sls_group.py +80 -0
  67. pulumi_alicloud/compute/nest_service_instance.py +10 -10
  68. pulumi_alicloud/cs/_inputs.py +565 -0
  69. pulumi_alicloud/cs/autoscaling_config.py +260 -35
  70. pulumi_alicloud/cs/get_cluster_credential.py +30 -0
  71. pulumi_alicloud/cs/get_kubernetes_addon_metadata.py +78 -0
  72. pulumi_alicloud/cs/get_kubernetes_addons.py +72 -0
  73. pulumi_alicloud/cs/get_kubernetes_node_pools.py +124 -0
  74. pulumi_alicloud/cs/kubernetes.py +296 -0
  75. pulumi_alicloud/cs/kubernetes_addon.py +108 -0
  76. pulumi_alicloud/cs/kubernetes_permission.py +162 -0
  77. pulumi_alicloud/cs/managed_kubernetes.py +583 -14
  78. pulumi_alicloud/cs/node_pool.py +423 -0
  79. pulumi_alicloud/cs/outputs.py +374 -0
  80. pulumi_alicloud/dataworks/data_source_shared_rule.py +116 -0
  81. pulumi_alicloud/dataworks/dw_resource_group.py +82 -0
  82. pulumi_alicloud/dataworks/network.py +100 -0
  83. pulumi_alicloud/ddos/bgp_ip.py +57 -48
  84. pulumi_alicloud/ddos/ddos_bgp_instance.py +246 -106
  85. pulumi_alicloud/ddos/domain_resource.py +6 -6
  86. pulumi_alicloud/directmail/mail_address.py +62 -0
  87. pulumi_alicloud/directmail/receivers.py +40 -0
  88. pulumi_alicloud/dms/__init__.py +1 -0
  89. pulumi_alicloud/dms/enterprise_workspace.py +354 -0
  90. pulumi_alicloud/dns/access_strategy.py +152 -0
  91. pulumi_alicloud/dns/address_pool.py +4 -4
  92. pulumi_alicloud/dns/ddos_bgp_instance.py +246 -106
  93. pulumi_alicloud/dts/job_monitor_rule.py +228 -0
  94. pulumi_alicloud/dts/migration_job.py +238 -0
  95. pulumi_alicloud/dts/synchronization_job.py +266 -14
  96. pulumi_alicloud/ebs/disk_replica_pair.py +112 -0
  97. pulumi_alicloud/ecs/ecs_network_interface_permission.py +84 -0
  98. pulumi_alicloud/ecs/image_import.py +2 -2
  99. pulumi_alicloud/ecs/ram_role_attachment.py +28 -28
  100. pulumi_alicloud/edas/k8s_application.py +124 -0
  101. pulumi_alicloud/edas/k8s_cluster.py +104 -0
  102. pulumi_alicloud/edas/k8s_slb_attachment.py +152 -0
  103. pulumi_alicloud/eflo/__init__.py +2 -0
  104. pulumi_alicloud/eflo/_inputs.py +94 -0
  105. pulumi_alicloud/eflo/er.py +487 -0
  106. pulumi_alicloud/eflo/node.py +54 -7
  107. pulumi_alicloud/eflo/node_group_attachment.py +604 -0
  108. pulumi_alicloud/eflo/outputs.py +75 -0
  109. pulumi_alicloud/emr/cluster.py +64 -64
  110. pulumi_alicloud/emr/get_clusters.py +16 -16
  111. pulumi_alicloud/emrv2/cluster.py +16 -16
  112. pulumi_alicloud/emrv2/get_cluster_instances.py +16 -16
  113. pulumi_alicloud/esa/__init__.py +7 -0
  114. pulumi_alicloud/esa/kv_account.py +145 -0
  115. pulumi_alicloud/esa/origin_ca_certificate.py +441 -0
  116. pulumi_alicloud/esa/origin_client_certificate.py +564 -0
  117. pulumi_alicloud/esa/origin_protection.py +290 -0
  118. pulumi_alicloud/esa/routine_related_record.py +226 -0
  119. pulumi_alicloud/esa/site_origin_client_certificate.py +515 -0
  120. pulumi_alicloud/esa/url_observation.py +352 -0
  121. pulumi_alicloud/eventbridge/rule.py +102 -0
  122. pulumi_alicloud/fc/_inputs.py +77 -3
  123. pulumi_alicloud/fc/custom_domain.py +14 -14
  124. pulumi_alicloud/fc/function.py +14 -14
  125. pulumi_alicloud/fc/function_async_invoke_config.py +48 -48
  126. pulumi_alicloud/fc/get_service.py +2 -2
  127. pulumi_alicloud/fc/outputs.py +63 -2
  128. pulumi_alicloud/fc/trigger.py +100 -100
  129. pulumi_alicloud/fc/v3_async_invoke_config.py +154 -0
  130. pulumi_alicloud/fc/v3_function.py +189 -3
  131. pulumi_alicloud/fc/v3_function_version.py +30 -2
  132. pulumi_alicloud/fnf/execution.py +14 -14
  133. pulumi_alicloud/fnf/flow.py +14 -14
  134. pulumi_alicloud/ga/additional_certificate.py +236 -0
  135. pulumi_alicloud/gpdb/hadoop_data_source.py +16 -16
  136. pulumi_alicloud/gpdb/streaming_job.py +4 -4
  137. pulumi_alicloud/gwlb/listener.py +172 -0
  138. pulumi_alicloud/gwlb/load_balancer.py +96 -0
  139. pulumi_alicloud/gwlb/server_group.py +160 -0
  140. pulumi_alicloud/hbr/ecs_backup_plan.py +4 -4
  141. pulumi_alicloud/hbr/ots_backup_plan.py +28 -28
  142. pulumi_alicloud/hbr/restore_job.py +4 -4
  143. pulumi_alicloud/hologram/instance.py +35 -0
  144. pulumi_alicloud/imm/project.py +14 -14
  145. pulumi_alicloud/kms/get_aliases.py +6 -6
  146. pulumi_alicloud/kms/get_instances.py +178 -0
  147. pulumi_alicloud/kms/instance.py +470 -16
  148. pulumi_alicloud/kms/policy.py +96 -0
  149. pulumi_alicloud/log/dashboard.py +40 -40
  150. pulumi_alicloud/log/ingestion.py +38 -38
  151. pulumi_alicloud/log/log_tail_attachment.py +20 -20
  152. pulumi_alicloud/log/log_tail_config.py +20 -20
  153. pulumi_alicloud/log/oss_export.py +6 -0
  154. pulumi_alicloud/log/project.py +20 -20
  155. pulumi_alicloud/log/resource.py +22 -22
  156. pulumi_alicloud/log/resource_record.py +40 -40
  157. pulumi_alicloud/maxcompute/get_service.py +2 -2
  158. pulumi_alicloud/message/__init__.py +1 -0
  159. pulumi_alicloud/message/_inputs.py +141 -0
  160. pulumi_alicloud/message/outputs.py +120 -0
  161. pulumi_alicloud/message/service_event_rule.py +490 -0
  162. pulumi_alicloud/message/service_subscription.py +48 -1
  163. pulumi_alicloud/mongodb/__init__.py +1 -0
  164. pulumi_alicloud/mongodb/global_security_ip_group.py +304 -0
  165. pulumi_alicloud/mongodb/instance.py +47 -0
  166. pulumi_alicloud/mongodb/sharding_instance.py +385 -0
  167. pulumi_alicloud/msc_sub_webhook.py +44 -0
  168. pulumi_alicloud/mse/cluster.py +47 -0
  169. pulumi_alicloud/mse/gateway.py +62 -0
  170. pulumi_alicloud/nas/access_group.py +46 -18
  171. pulumi_alicloud/nas/access_rule.py +28 -0
  172. pulumi_alicloud/nas/data_flow.py +114 -0
  173. pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +328 -0
  174. pulumi_alicloud/nlb/server_group.py +28 -21
  175. pulumi_alicloud/oos/execution.py +30 -30
  176. pulumi_alicloud/oos/get_parameters.py +10 -10
  177. pulumi_alicloud/oos/get_secret_parameters.py +10 -10
  178. pulumi_alicloud/oos/template.py +28 -28
  179. pulumi_alicloud/oss/bucket.py +634 -0
  180. pulumi_alicloud/oss/bucket_replication.py +56 -56
  181. pulumi_alicloud/outputs.py +489 -0
  182. pulumi_alicloud/pai/flow_pipeline.py +70 -70
  183. pulumi_alicloud/pai/workspace_datasetversion.py +108 -0
  184. pulumi_alicloud/pai/workspace_run.py +62 -0
  185. pulumi_alicloud/polardb/cluster.py +7 -7
  186. pulumi_alicloud/privatelink/vpc_endpoint.py +21 -7
  187. pulumi_alicloud/privatelink/vpc_endpoint_service.py +11 -11
  188. pulumi_alicloud/pulumi-plugin.json +1 -1
  189. pulumi_alicloud/pvtz/endpoint.py +96 -0
  190. pulumi_alicloud/pvtz/rule.py +122 -0
  191. pulumi_alicloud/pvtz/rule_attachment.py +150 -0
  192. pulumi_alicloud/ram/get_policies.py +18 -18
  193. pulumi_alicloud/ram/get_policy_document.py +2 -2
  194. pulumi_alicloud/ram/get_role_policy_attachments.py +34 -34
  195. pulumi_alicloud/ram/get_users.py +32 -32
  196. pulumi_alicloud/ram/group_membership.py +74 -0
  197. pulumi_alicloud/ram/group_policy_attachment.py +18 -18
  198. pulumi_alicloud/ram/policy.py +18 -18
  199. pulumi_alicloud/ram/role.py +16 -16
  200. pulumi_alicloud/ram/role_attachment.py +14 -14
  201. pulumi_alicloud/ram/role_policy_attachment.py +34 -34
  202. pulumi_alicloud/ram/user_policy_attachment.py +18 -18
  203. pulumi_alicloud/rds/get_instance_classes.py +6 -4
  204. pulumi_alicloud/rds/outputs.py +4 -0
  205. pulumi_alicloud/rds/rds_clone_db_instance.py +8 -1
  206. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  207. pulumi_alicloud/resourcemanager/auto_grouping_rule.py +24 -24
  208. pulumi_alicloud/resourcemanager/control_policy.py +18 -18
  209. pulumi_alicloud/resourcemanager/control_policy_attachment.py +18 -18
  210. pulumi_alicloud/resourcemanager/delegated_administrator.py +22 -50
  211. pulumi_alicloud/resourcemanager/folder.py +106 -29
  212. pulumi_alicloud/resourcemanager/get_accounts.py +35 -18
  213. pulumi_alicloud/resourcemanager/get_shared_resources.py +64 -0
  214. pulumi_alicloud/resourcemanager/message_contact.py +572 -0
  215. pulumi_alicloud/resourcemanager/outputs.py +31 -20
  216. pulumi_alicloud/resourcemanager/policy.py +16 -16
  217. pulumi_alicloud/resourcemanager/policy_attachment.py +82 -0
  218. pulumi_alicloud/resourcemanager/policy_version.py +32 -32
  219. pulumi_alicloud/resourcemanager/resource_directory.py +137 -46
  220. pulumi_alicloud/resourcemanager/role.py +14 -14
  221. pulumi_alicloud/resourcemanager/shared_resource.py +81 -45
  222. pulumi_alicloud/resourcemanager/shared_target.py +60 -24
  223. pulumi_alicloud/rocketmq/qos_policy.py +70 -0
  224. pulumi_alicloud/ros/_inputs.py +70 -18
  225. pulumi_alicloud/ros/outputs.py +59 -12
  226. pulumi_alicloud/ros/stack.py +14 -14
  227. pulumi_alicloud/ros/stack_group.py +342 -223
  228. pulumi_alicloud/ros/template.py +2 -2
  229. pulumi_alicloud/sag/qos_policy.py +70 -0
  230. pulumi_alicloud/sddp/data_limit.py +148 -0
  231. pulumi_alicloud/sddp/rule.py +10 -10
  232. pulumi_alicloud/servicecatalog/principal_portfolio_association.py +16 -16
  233. pulumi_alicloud/servicecatalog/product_portfolio_association.py +54 -0
  234. pulumi_alicloud/sls/__init__.py +5 -0
  235. pulumi_alicloud/sls/_inputs.py +128 -0
  236. pulumi_alicloud/sls/collection_policy.py +276 -0
  237. pulumi_alicloud/sls/get_etls.py +294 -0
  238. pulumi_alicloud/sls/get_logtail_configs.py +395 -0
  239. pulumi_alicloud/sls/get_machine_groups.py +229 -0
  240. pulumi_alicloud/sls/logtail_config.py +692 -0
  241. pulumi_alicloud/sls/machine_group.py +502 -0
  242. pulumi_alicloud/sls/oss_export_sink.py +134 -0
  243. pulumi_alicloud/sls/outputs.py +449 -0
  244. pulumi_alicloud/sslcertificatesservice/__init__.py +9 -0
  245. pulumi_alicloud/sslcertificatesservice/pca_certificate.py +646 -0
  246. pulumi_alicloud/star_rocks_instance.py +1425 -0
  247. pulumi_alicloud/tag/policy.py +2 -2
  248. pulumi_alicloud/tag/policy_attachment.py +2 -2
  249. pulumi_alicloud/threatdetection/__init__.py +1 -0
  250. pulumi_alicloud/threatdetection/_inputs.py +183 -0
  251. pulumi_alicloud/threatdetection/anti_brute_force_rule.py +50 -1
  252. pulumi_alicloud/threatdetection/attack_path_sensitive_asset_config.py +218 -0
  253. pulumi_alicloud/threatdetection/image_event_operation.py +191 -90
  254. pulumi_alicloud/threatdetection/oss_scan_config.py +257 -65
  255. pulumi_alicloud/threatdetection/outputs.py +147 -0
  256. pulumi_alicloud/vod/editing_project.py +8 -8
  257. pulumi_alicloud/vpc/_inputs.py +87 -54
  258. pulumi_alicloud/vpc/common_bandwith_package.py +28 -0
  259. pulumi_alicloud/vpc/dhcp_options_set.py +97 -58
  260. pulumi_alicloud/vpc/flow_log.py +117 -25
  261. pulumi_alicloud/vpc/gateway_endpoint.py +12 -12
  262. pulumi_alicloud/vpc/gateway_endpoint_route_table_attachment.py +12 -12
  263. pulumi_alicloud/vpc/ha_vip_attachment.py +41 -60
  264. pulumi_alicloud/vpc/ha_vipv2.py +100 -88
  265. pulumi_alicloud/vpc/ipam_ipam_pool.py +54 -0
  266. pulumi_alicloud/vpc/network_acl.py +34 -23
  267. pulumi_alicloud/vpc/outputs.py +58 -36
  268. pulumi_alicloud/vpc/route_entry.py +6 -2
  269. pulumi_alicloud/vpc/vbr_ha.py +100 -0
  270. pulumi_alicloud/vpc/vpc_network_acl_attachment.py +48 -0
  271. pulumi_alicloud/vpn/get_gateways.py +98 -0
  272. pulumi_alicloud/vpn/ssl_vpn_client_cert.py +82 -0
  273. pulumi_alicloud/vpn/ssl_vpn_server.py +76 -0
  274. pulumi_alicloud/wafv3/__init__.py +1 -0
  275. pulumi_alicloud/wafv3/_inputs.py +1318 -182
  276. pulumi_alicloud/wafv3/defense_rule.py +806 -0
  277. pulumi_alicloud/wafv3/defense_template.py +87 -124
  278. pulumi_alicloud/wafv3/domain.py +136 -35
  279. pulumi_alicloud/wafv3/outputs.py +925 -123
  280. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.85.0.dist-info}/METADATA +1 -1
  281. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.85.0.dist-info}/RECORD +283 -251
  282. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.85.0.dist-info}/WHEEL +0 -0
  283. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.85.0.dist-info}/top_level.txt +0 -0
@@ -34,8 +34,8 @@ class FlowLogArgs:
34
34
  traffic_paths: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
35
35
  """
36
36
  The set of arguments for constructing a FlowLog resource.
37
- :param pulumi.Input[_builtins.str] log_store_name: The name of the logstore.
38
- :param pulumi.Input[_builtins.str] project_name: The name of the project.
37
+ :param pulumi.Input[_builtins.str] log_store_name: The Logstore that stores the captured traffic data.
38
+ :param pulumi.Input[_builtins.str] project_name: The project that manages the captured traffic data.
39
39
  :param pulumi.Input[_builtins.str] resource_id: The ID of the resource.
40
40
  :param pulumi.Input[_builtins.str] resource_type: The resource type of the traffic captured by the flow log:
41
41
  - `NetworkInterface`: ENI.
@@ -45,7 +45,7 @@ class FlowLogArgs:
45
45
  - *All**: All traffic.
46
46
  - *Allow**: Access control allowedtraffic.
47
47
  - *Drop**: Access control denied traffic.
48
- :param pulumi.Input[_builtins.str] aggregation_interval: Data aggregation interval
48
+ :param pulumi.Input[_builtins.str] aggregation_interval: The sampling interval of the flow log. Unit: seconds. Valid values: 1, 5, and 10 (default).
49
49
  :param pulumi.Input[_builtins.str] description: The Description of the VPC Flow Log.
50
50
  :param pulumi.Input[_builtins.str] flow_log_name: The Name of the VPC Flow Log.
51
51
  :param pulumi.Input[_builtins.str] ip_version: The IP address type of the collected traffic.
@@ -82,7 +82,7 @@ class FlowLogArgs:
82
82
  @pulumi.getter(name="logStoreName")
83
83
  def log_store_name(self) -> pulumi.Input[_builtins.str]:
84
84
  """
85
- The name of the logstore.
85
+ The Logstore that stores the captured traffic data.
86
86
  """
87
87
  return pulumi.get(self, "log_store_name")
88
88
 
@@ -94,7 +94,7 @@ class FlowLogArgs:
94
94
  @pulumi.getter(name="projectName")
95
95
  def project_name(self) -> pulumi.Input[_builtins.str]:
96
96
  """
97
- The name of the project.
97
+ The project that manages the captured traffic data.
98
98
  """
99
99
  return pulumi.get(self, "project_name")
100
100
 
@@ -148,7 +148,7 @@ class FlowLogArgs:
148
148
  @pulumi.getter(name="aggregationInterval")
149
149
  def aggregation_interval(self) -> Optional[pulumi.Input[_builtins.str]]:
150
150
  """
151
- Data aggregation interval
151
+ The sampling interval of the flow log. Unit: seconds. Valid values: 1, 5, and 10 (default).
152
152
  """
153
153
  return pulumi.get(self, "aggregation_interval")
154
154
 
@@ -265,16 +265,16 @@ class _FlowLogState:
265
265
  traffic_type: Optional[pulumi.Input[_builtins.str]] = None):
266
266
  """
267
267
  Input properties used for looking up and filtering FlowLog resources.
268
- :param pulumi.Input[_builtins.str] aggregation_interval: Data aggregation interval
268
+ :param pulumi.Input[_builtins.str] aggregation_interval: The sampling interval of the flow log. Unit: seconds. Valid values: 1, 5, and 10 (default).
269
269
  :param pulumi.Input[_builtins.str] business_status: Business status
270
270
  :param pulumi.Input[_builtins.str] create_time: Creation time
271
271
  :param pulumi.Input[_builtins.str] description: The Description of the VPC Flow Log.
272
272
  :param pulumi.Input[_builtins.str] flow_log_id: The flow log ID.
273
273
  :param pulumi.Input[_builtins.str] flow_log_name: The Name of the VPC Flow Log.
274
274
  :param pulumi.Input[_builtins.str] ip_version: The IP address type of the collected traffic.
275
- :param pulumi.Input[_builtins.str] log_store_name: The name of the logstore.
276
- :param pulumi.Input[_builtins.str] project_name: The name of the project.
277
- :param pulumi.Input[_builtins.str] region_id: (Available since v1.243.0) The region ID.
275
+ :param pulumi.Input[_builtins.str] log_store_name: The Logstore that stores the captured traffic data.
276
+ :param pulumi.Input[_builtins.str] project_name: The project that manages the captured traffic data.
277
+ :param pulumi.Input[_builtins.str] region_id: The region ID.
278
278
  :param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group.
279
279
  :param pulumi.Input[_builtins.str] resource_id: The ID of the resource.
280
280
  :param pulumi.Input[_builtins.str] resource_type: The resource type of the traffic captured by the flow log:
@@ -330,7 +330,7 @@ class _FlowLogState:
330
330
  @pulumi.getter(name="aggregationInterval")
331
331
  def aggregation_interval(self) -> Optional[pulumi.Input[_builtins.str]]:
332
332
  """
333
- Data aggregation interval
333
+ The sampling interval of the flow log. Unit: seconds. Valid values: 1, 5, and 10 (default).
334
334
  """
335
335
  return pulumi.get(self, "aggregation_interval")
336
336
 
@@ -414,7 +414,7 @@ class _FlowLogState:
414
414
  @pulumi.getter(name="logStoreName")
415
415
  def log_store_name(self) -> Optional[pulumi.Input[_builtins.str]]:
416
416
  """
417
- The name of the logstore.
417
+ The Logstore that stores the captured traffic data.
418
418
  """
419
419
  return pulumi.get(self, "log_store_name")
420
420
 
@@ -426,7 +426,7 @@ class _FlowLogState:
426
426
  @pulumi.getter(name="projectName")
427
427
  def project_name(self) -> Optional[pulumi.Input[_builtins.str]]:
428
428
  """
429
- The name of the project.
429
+ The project that manages the captured traffic data.
430
430
  """
431
431
  return pulumi.get(self, "project_name")
432
432
 
@@ -438,7 +438,7 @@ class _FlowLogState:
438
438
  @pulumi.getter(name="regionId")
439
439
  def region_id(self) -> Optional[pulumi.Input[_builtins.str]]:
440
440
  """
441
- (Available since v1.243.0) The region ID.
441
+ The region ID.
442
442
  """
443
443
  return pulumi.get(self, "region_id")
444
444
 
@@ -568,6 +568,52 @@ class FlowLog(pulumi.CustomResource):
568
568
 
569
569
  > **NOTE:** Available since v1.117.0.
570
570
 
571
+ ## Example Usage
572
+
573
+ Basic Usage
574
+
575
+ ```python
576
+ import pulumi
577
+ import pulumi_alicloud as alicloud
578
+ import pulumi_random as random
579
+ import pulumi_std as std
580
+
581
+ config = pulumi.Config()
582
+ name = config.get("name")
583
+ if name is None:
584
+ name = "tf-example"
585
+ default = alicloud.resourcemanager.get_resource_groups(status="OK")
586
+ example = alicloud.vpc.Network("example",
587
+ vpc_name=name,
588
+ cidr_block="10.4.0.0/16")
589
+ example_uuid = random.index.Uuid("example")
590
+ example_project = alicloud.log.Project("example",
591
+ project_name=std.substr(input=f"tf-example-{std.replace(text=example_uuid['result'],
592
+ search='-',
593
+ replace='').result}",
594
+ offset=0,
595
+ length=16).result,
596
+ description=name)
597
+ example_store = alicloud.log.Store("example",
598
+ project_name=example_project.project_name,
599
+ logstore_name=name,
600
+ shard_count=3,
601
+ auto_split=True,
602
+ max_split_shard_count=60,
603
+ append_meta=True)
604
+ example_flow_log = alicloud.vpc.FlowLog("example",
605
+ flow_log_name=name,
606
+ log_store_name=example_store.logstore_name,
607
+ description=name,
608
+ traffic_paths=["all"],
609
+ project_name=example_project.project_name,
610
+ resource_type="VPC",
611
+ resource_group_id=default.ids[0],
612
+ resource_id=example.id,
613
+ aggregation_interval="1",
614
+ traffic_type="All")
615
+ ```
616
+
571
617
  ## Import
572
618
 
573
619
  VPC Flow Log can be imported using the id, e.g.
@@ -578,12 +624,12 @@ class FlowLog(pulumi.CustomResource):
578
624
 
579
625
  :param str resource_name: The name of the resource.
580
626
  :param pulumi.ResourceOptions opts: Options for the resource.
581
- :param pulumi.Input[_builtins.str] aggregation_interval: Data aggregation interval
627
+ :param pulumi.Input[_builtins.str] aggregation_interval: The sampling interval of the flow log. Unit: seconds. Valid values: 1, 5, and 10 (default).
582
628
  :param pulumi.Input[_builtins.str] description: The Description of the VPC Flow Log.
583
629
  :param pulumi.Input[_builtins.str] flow_log_name: The Name of the VPC Flow Log.
584
630
  :param pulumi.Input[_builtins.str] ip_version: The IP address type of the collected traffic.
585
- :param pulumi.Input[_builtins.str] log_store_name: The name of the logstore.
586
- :param pulumi.Input[_builtins.str] project_name: The name of the project.
631
+ :param pulumi.Input[_builtins.str] log_store_name: The Logstore that stores the captured traffic data.
632
+ :param pulumi.Input[_builtins.str] project_name: The project that manages the captured traffic data.
587
633
  :param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group.
588
634
  :param pulumi.Input[_builtins.str] resource_id: The ID of the resource.
589
635
  :param pulumi.Input[_builtins.str] resource_type: The resource type of the traffic captured by the flow log:
@@ -615,6 +661,52 @@ class FlowLog(pulumi.CustomResource):
615
661
 
616
662
  > **NOTE:** Available since v1.117.0.
617
663
 
664
+ ## Example Usage
665
+
666
+ Basic Usage
667
+
668
+ ```python
669
+ import pulumi
670
+ import pulumi_alicloud as alicloud
671
+ import pulumi_random as random
672
+ import pulumi_std as std
673
+
674
+ config = pulumi.Config()
675
+ name = config.get("name")
676
+ if name is None:
677
+ name = "tf-example"
678
+ default = alicloud.resourcemanager.get_resource_groups(status="OK")
679
+ example = alicloud.vpc.Network("example",
680
+ vpc_name=name,
681
+ cidr_block="10.4.0.0/16")
682
+ example_uuid = random.index.Uuid("example")
683
+ example_project = alicloud.log.Project("example",
684
+ project_name=std.substr(input=f"tf-example-{std.replace(text=example_uuid['result'],
685
+ search='-',
686
+ replace='').result}",
687
+ offset=0,
688
+ length=16).result,
689
+ description=name)
690
+ example_store = alicloud.log.Store("example",
691
+ project_name=example_project.project_name,
692
+ logstore_name=name,
693
+ shard_count=3,
694
+ auto_split=True,
695
+ max_split_shard_count=60,
696
+ append_meta=True)
697
+ example_flow_log = alicloud.vpc.FlowLog("example",
698
+ flow_log_name=name,
699
+ log_store_name=example_store.logstore_name,
700
+ description=name,
701
+ traffic_paths=["all"],
702
+ project_name=example_project.project_name,
703
+ resource_type="VPC",
704
+ resource_group_id=default.ids[0],
705
+ resource_id=example.id,
706
+ aggregation_interval="1",
707
+ traffic_type="All")
708
+ ```
709
+
618
710
  ## Import
619
711
 
620
712
  VPC Flow Log can be imported using the id, e.g.
@@ -721,16 +813,16 @@ class FlowLog(pulumi.CustomResource):
721
813
  :param str resource_name: The unique name of the resulting resource.
722
814
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
723
815
  :param pulumi.ResourceOptions opts: Options for the resource.
724
- :param pulumi.Input[_builtins.str] aggregation_interval: Data aggregation interval
816
+ :param pulumi.Input[_builtins.str] aggregation_interval: The sampling interval of the flow log. Unit: seconds. Valid values: 1, 5, and 10 (default).
725
817
  :param pulumi.Input[_builtins.str] business_status: Business status
726
818
  :param pulumi.Input[_builtins.str] create_time: Creation time
727
819
  :param pulumi.Input[_builtins.str] description: The Description of the VPC Flow Log.
728
820
  :param pulumi.Input[_builtins.str] flow_log_id: The flow log ID.
729
821
  :param pulumi.Input[_builtins.str] flow_log_name: The Name of the VPC Flow Log.
730
822
  :param pulumi.Input[_builtins.str] ip_version: The IP address type of the collected traffic.
731
- :param pulumi.Input[_builtins.str] log_store_name: The name of the logstore.
732
- :param pulumi.Input[_builtins.str] project_name: The name of the project.
733
- :param pulumi.Input[_builtins.str] region_id: (Available since v1.243.0) The region ID.
823
+ :param pulumi.Input[_builtins.str] log_store_name: The Logstore that stores the captured traffic data.
824
+ :param pulumi.Input[_builtins.str] project_name: The project that manages the captured traffic data.
825
+ :param pulumi.Input[_builtins.str] region_id: The region ID.
734
826
  :param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group.
735
827
  :param pulumi.Input[_builtins.str] resource_id: The ID of the resource.
736
828
  :param pulumi.Input[_builtins.str] resource_type: The resource type of the traffic captured by the flow log:
@@ -774,7 +866,7 @@ class FlowLog(pulumi.CustomResource):
774
866
  @pulumi.getter(name="aggregationInterval")
775
867
  def aggregation_interval(self) -> pulumi.Output[_builtins.str]:
776
868
  """
777
- Data aggregation interval
869
+ The sampling interval of the flow log. Unit: seconds. Valid values: 1, 5, and 10 (default).
778
870
  """
779
871
  return pulumi.get(self, "aggregation_interval")
780
872
 
@@ -830,7 +922,7 @@ class FlowLog(pulumi.CustomResource):
830
922
  @pulumi.getter(name="logStoreName")
831
923
  def log_store_name(self) -> pulumi.Output[_builtins.str]:
832
924
  """
833
- The name of the logstore.
925
+ The Logstore that stores the captured traffic data.
834
926
  """
835
927
  return pulumi.get(self, "log_store_name")
836
928
 
@@ -838,7 +930,7 @@ class FlowLog(pulumi.CustomResource):
838
930
  @pulumi.getter(name="projectName")
839
931
  def project_name(self) -> pulumi.Output[_builtins.str]:
840
932
  """
841
- The name of the project.
933
+ The project that manages the captured traffic data.
842
934
  """
843
935
  return pulumi.get(self, "project_name")
844
936
 
@@ -846,7 +938,7 @@ class FlowLog(pulumi.CustomResource):
846
938
  @pulumi.getter(name="regionId")
847
939
  def region_id(self) -> pulumi.Output[_builtins.str]:
848
940
  """
849
- (Available since v1.243.0) The region ID.
941
+ The region ID.
850
942
  """
851
943
  return pulumi.get(self, "region_id")
852
944
 
@@ -372,12 +372,12 @@ class GatewayEndpoint(pulumi.CustomResource):
372
372
  resource_group_id=default_rg.id,
373
373
  service_name=domain,
374
374
  policy_document=\"\"\" {
375
- "Version": "1",
376
- "Statement": [{
377
- "Effect": "Allow",
378
- "Resource": ["*"],
379
- "Action": ["*"],
380
- "Principal": ["*"]
375
+ \\"Version\\": \\"1\\",
376
+ \\"Statement\\": [{
377
+ \\"Effect\\": \\"Allow\\",
378
+ \\"Resource\\": [\\"*\\"],
379
+ \\"Action\\": [\\"*\\"],
380
+ \\"Principal\\": [\\"*\\"]
381
381
  }]
382
382
  }
383
383
  \"\"\")
@@ -444,12 +444,12 @@ class GatewayEndpoint(pulumi.CustomResource):
444
444
  resource_group_id=default_rg.id,
445
445
  service_name=domain,
446
446
  policy_document=\"\"\" {
447
- "Version": "1",
448
- "Statement": [{
449
- "Effect": "Allow",
450
- "Resource": ["*"],
451
- "Action": ["*"],
452
- "Principal": ["*"]
447
+ \\"Version\\": \\"1\\",
448
+ \\"Statement\\": [{
449
+ \\"Effect\\": \\"Allow\\",
450
+ \\"Resource\\": [\\"*\\"],
451
+ \\"Action\\": [\\"*\\"],
452
+ \\"Principal\\": [\\"*\\"]
453
453
  }]
454
454
  }
455
455
  \"\"\")
@@ -142,12 +142,12 @@ class GatewayEndpointRouteTableAttachment(pulumi.CustomResource):
142
142
  default_ge = alicloud.vpc.GatewayEndpoint("defaultGE",
143
143
  service_name="com.aliyun.cn-hangzhou.oss",
144
144
  policy_document=\"\"\" {
145
- "Version": "1",
146
- "Statement": [{
147
- "Effect": "Allow",
148
- "Resource": ["*"],
149
- "Action": ["*"],
150
- "Principal": ["*"]
145
+ \\"Version\\": \\"1\\",
146
+ \\"Statement\\": [{
147
+ \\"Effect\\": \\"Allow\\",
148
+ \\"Resource\\": [\\"*\\"],
149
+ \\"Action\\": [\\"*\\"],
150
+ \\"Principal\\": [\\"*\\"]
151
151
  }]
152
152
  }
153
153
  \"\"\",
@@ -204,12 +204,12 @@ class GatewayEndpointRouteTableAttachment(pulumi.CustomResource):
204
204
  default_ge = alicloud.vpc.GatewayEndpoint("defaultGE",
205
205
  service_name="com.aliyun.cn-hangzhou.oss",
206
206
  policy_document=\"\"\" {
207
- "Version": "1",
208
- "Statement": [{
209
- "Effect": "Allow",
210
- "Resource": ["*"],
211
- "Action": ["*"],
212
- "Principal": ["*"]
207
+ \\"Version\\": \\"1\\",
208
+ \\"Statement\\": [{
209
+ \\"Effect\\": \\"Allow\\",
210
+ \\"Resource\\": [\\"*\\"],
211
+ \\"Action\\": [\\"*\\"],
212
+ \\"Principal\\": [\\"*\\"]
213
213
  }]
214
214
  }
215
215
  \"\"\",
@@ -27,15 +27,10 @@ class HAVipAttachmentArgs:
27
27
  """
28
28
  The set of arguments for constructing a HAVipAttachment resource.
29
29
  :param pulumi.Input[_builtins.str] instance_id: The ID of the ECS instance bound to the HaVip instance.
30
- :param pulumi.Input[_builtins.bool] force: Whether to force the ECS instance or Eni instance bound to AVIP to be unbound. The value is:
31
- - **True**: Force unbinding.
32
- - **False** (default): unbinding is not forced.
33
- > **NOTE:** If the value of this parameter is **False**, the Master instance bound to HaVip cannot be unbound.
30
+ :param pulumi.Input[_builtins.bool] force: Specifies whether to force delete the snapshot.
34
31
  :param pulumi.Input[_builtins.str] ha_vip_id: The ID of the HaVip instance.
35
- :param pulumi.Input[_builtins.str] havip_id: . Field 'havip_id' has been deprecated from provider version 1.211.0. New field 'ha_vip_id' instead.
36
- :param pulumi.Input[_builtins.str] instance_type: The type of the instance associated with the VIIP.
37
-
38
- The following arguments will be discarded. Please use new fields as soon as possible:
32
+ :param pulumi.Input[_builtins.str] havip_id: . Field 'havip_id' has been deprecated from provider version 1.259.0. New field 'ha_vip_id' instead.
33
+ :param pulumi.Input[_builtins.str] instance_type: The type of the instance to be associated with the HAVIP. Valid values: * `EcsInstance`: an ECS instance * `NetworkInterface`: an ENI. If you want to associate the HAVIP with an ENI, this parameter is required.
39
34
  """
40
35
  pulumi.set(__self__, "instance_id", instance_id)
41
36
  if force is not None:
@@ -66,10 +61,7 @@ class HAVipAttachmentArgs:
66
61
  @pulumi.getter
67
62
  def force(self) -> Optional[pulumi.Input[_builtins.bool]]:
68
63
  """
69
- Whether to force the ECS instance or Eni instance bound to AVIP to be unbound. The value is:
70
- - **True**: Force unbinding.
71
- - **False** (default): unbinding is not forced.
72
- > **NOTE:** If the value of this parameter is **False**, the Master instance bound to HaVip cannot be unbound.
64
+ Specifies whether to force delete the snapshot.
73
65
  """
74
66
  return pulumi.get(self, "force")
75
67
 
@@ -94,7 +86,7 @@ class HAVipAttachmentArgs:
94
86
  @_utilities.deprecated("""Field 'havip_id' has been deprecated since provider version 1.211.0. New field 'ha_vip_id' instead.""")
95
87
  def havip_id(self) -> Optional[pulumi.Input[_builtins.str]]:
96
88
  """
97
- . Field 'havip_id' has been deprecated from provider version 1.211.0. New field 'ha_vip_id' instead.
89
+ . Field 'havip_id' has been deprecated from provider version 1.259.0. New field 'ha_vip_id' instead.
98
90
  """
99
91
  return pulumi.get(self, "havip_id")
100
92
 
@@ -106,9 +98,7 @@ class HAVipAttachmentArgs:
106
98
  @pulumi.getter(name="instanceType")
107
99
  def instance_type(self) -> Optional[pulumi.Input[_builtins.str]]:
108
100
  """
109
- The type of the instance associated with the VIIP.
110
-
111
- The following arguments will be discarded. Please use new fields as soon as possible:
101
+ The type of the instance to be associated with the HAVIP. Valid values: * `EcsInstance`: an ECS instance * `NetworkInterface`: an ENI. If you want to associate the HAVIP with an ENI, this parameter is required.
112
102
  """
113
103
  return pulumi.get(self, "instance_type")
114
104
 
@@ -128,17 +118,12 @@ class _HAVipAttachmentState:
128
118
  status: Optional[pulumi.Input[_builtins.str]] = None):
129
119
  """
130
120
  Input properties used for looking up and filtering HAVipAttachment resources.
131
- :param pulumi.Input[_builtins.bool] force: Whether to force the ECS instance or Eni instance bound to AVIP to be unbound. The value is:
132
- - **True**: Force unbinding.
133
- - **False** (default): unbinding is not forced.
134
- > **NOTE:** If the value of this parameter is **False**, the Master instance bound to HaVip cannot be unbound.
121
+ :param pulumi.Input[_builtins.bool] force: Specifies whether to force delete the snapshot.
135
122
  :param pulumi.Input[_builtins.str] ha_vip_id: The ID of the HaVip instance.
136
- :param pulumi.Input[_builtins.str] havip_id: . Field 'havip_id' has been deprecated from provider version 1.211.0. New field 'ha_vip_id' instead.
123
+ :param pulumi.Input[_builtins.str] havip_id: . Field 'havip_id' has been deprecated from provider version 1.259.0. New field 'ha_vip_id' instead.
137
124
  :param pulumi.Input[_builtins.str] instance_id: The ID of the ECS instance bound to the HaVip instance.
138
- :param pulumi.Input[_builtins.str] instance_type: The type of the instance associated with the VIIP.
139
-
140
- The following arguments will be discarded. Please use new fields as soon as possible:
141
- :param pulumi.Input[_builtins.str] status: The status of the resource.
125
+ :param pulumi.Input[_builtins.str] instance_type: The type of the instance to be associated with the HAVIP. Valid values: * `EcsInstance`: an ECS instance * `NetworkInterface`: an ENI. If you want to associate the HAVIP with an ENI, this parameter is required.
126
+ :param pulumi.Input[_builtins.str] status: The status of the resource
142
127
  """
143
128
  if force is not None:
144
129
  pulumi.set(__self__, "force", force)
@@ -160,10 +145,7 @@ class _HAVipAttachmentState:
160
145
  @pulumi.getter
161
146
  def force(self) -> Optional[pulumi.Input[_builtins.bool]]:
162
147
  """
163
- Whether to force the ECS instance or Eni instance bound to AVIP to be unbound. The value is:
164
- - **True**: Force unbinding.
165
- - **False** (default): unbinding is not forced.
166
- > **NOTE:** If the value of this parameter is **False**, the Master instance bound to HaVip cannot be unbound.
148
+ Specifies whether to force delete the snapshot.
167
149
  """
168
150
  return pulumi.get(self, "force")
169
151
 
@@ -188,7 +170,7 @@ class _HAVipAttachmentState:
188
170
  @_utilities.deprecated("""Field 'havip_id' has been deprecated since provider version 1.211.0. New field 'ha_vip_id' instead.""")
189
171
  def havip_id(self) -> Optional[pulumi.Input[_builtins.str]]:
190
172
  """
191
- . Field 'havip_id' has been deprecated from provider version 1.211.0. New field 'ha_vip_id' instead.
173
+ . Field 'havip_id' has been deprecated from provider version 1.259.0. New field 'ha_vip_id' instead.
192
174
  """
193
175
  return pulumi.get(self, "havip_id")
194
176
 
@@ -212,9 +194,7 @@ class _HAVipAttachmentState:
212
194
  @pulumi.getter(name="instanceType")
213
195
  def instance_type(self) -> Optional[pulumi.Input[_builtins.str]]:
214
196
  """
215
- The type of the instance associated with the VIIP.
216
-
217
- The following arguments will be discarded. Please use new fields as soon as possible:
197
+ The type of the instance to be associated with the HAVIP. Valid values: * `EcsInstance`: an ECS instance * `NetworkInterface`: an ENI. If you want to associate the HAVIP with an ENI, this parameter is required.
218
198
  """
219
199
  return pulumi.get(self, "instance_type")
220
200
 
@@ -226,7 +206,7 @@ class _HAVipAttachmentState:
226
206
  @pulumi.getter
227
207
  def status(self) -> Optional[pulumi.Input[_builtins.str]]:
228
208
  """
229
- The status of the resource.
209
+ The status of the resource
230
210
  """
231
211
  return pulumi.get(self, "status")
232
212
 
@@ -248,6 +228,14 @@ class HAVipAttachment(pulumi.CustomResource):
248
228
  instance_type: Optional[pulumi.Input[_builtins.str]] = None,
249
229
  __props__=None):
250
230
  """
231
+ Provides a VPC Ha Vip Attachment resource.
232
+
233
+ Attaching ECS instance to Havip.
234
+
235
+ For information about VPC Ha Vip Attachment and how to use it, see [What is Ha Vip Attachment](https://next.api.alibabacloud.com/document/Vpc/2016-04-28/AssociateHaVip).
236
+
237
+ > **NOTE:** Available since v1.18.0.
238
+
251
239
  ## Example Usage
252
240
 
253
241
  Basic Usage
@@ -307,16 +295,11 @@ class HAVipAttachment(pulumi.CustomResource):
307
295
 
308
296
  :param str resource_name: The name of the resource.
309
297
  :param pulumi.ResourceOptions opts: Options for the resource.
310
- :param pulumi.Input[_builtins.bool] force: Whether to force the ECS instance or Eni instance bound to AVIP to be unbound. The value is:
311
- - **True**: Force unbinding.
312
- - **False** (default): unbinding is not forced.
313
- > **NOTE:** If the value of this parameter is **False**, the Master instance bound to HaVip cannot be unbound.
298
+ :param pulumi.Input[_builtins.bool] force: Specifies whether to force delete the snapshot.
314
299
  :param pulumi.Input[_builtins.str] ha_vip_id: The ID of the HaVip instance.
315
- :param pulumi.Input[_builtins.str] havip_id: . Field 'havip_id' has been deprecated from provider version 1.211.0. New field 'ha_vip_id' instead.
300
+ :param pulumi.Input[_builtins.str] havip_id: . Field 'havip_id' has been deprecated from provider version 1.259.0. New field 'ha_vip_id' instead.
316
301
  :param pulumi.Input[_builtins.str] instance_id: The ID of the ECS instance bound to the HaVip instance.
317
- :param pulumi.Input[_builtins.str] instance_type: The type of the instance associated with the VIIP.
318
-
319
- The following arguments will be discarded. Please use new fields as soon as possible:
302
+ :param pulumi.Input[_builtins.str] instance_type: The type of the instance to be associated with the HAVIP. Valid values: * `EcsInstance`: an ECS instance * `NetworkInterface`: an ENI. If you want to associate the HAVIP with an ENI, this parameter is required.
320
303
  """
321
304
  ...
322
305
  @overload
@@ -325,6 +308,14 @@ class HAVipAttachment(pulumi.CustomResource):
325
308
  args: HAVipAttachmentArgs,
326
309
  opts: Optional[pulumi.ResourceOptions] = None):
327
310
  """
311
+ Provides a VPC Ha Vip Attachment resource.
312
+
313
+ Attaching ECS instance to Havip.
314
+
315
+ For information about VPC Ha Vip Attachment and how to use it, see [What is Ha Vip Attachment](https://next.api.alibabacloud.com/document/Vpc/2016-04-28/AssociateHaVip).
316
+
317
+ > **NOTE:** Available since v1.18.0.
318
+
328
319
  ## Example Usage
329
320
 
330
321
  Basic Usage
@@ -442,17 +433,12 @@ class HAVipAttachment(pulumi.CustomResource):
442
433
  :param str resource_name: The unique name of the resulting resource.
443
434
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
444
435
  :param pulumi.ResourceOptions opts: Options for the resource.
445
- :param pulumi.Input[_builtins.bool] force: Whether to force the ECS instance or Eni instance bound to AVIP to be unbound. The value is:
446
- - **True**: Force unbinding.
447
- - **False** (default): unbinding is not forced.
448
- > **NOTE:** If the value of this parameter is **False**, the Master instance bound to HaVip cannot be unbound.
436
+ :param pulumi.Input[_builtins.bool] force: Specifies whether to force delete the snapshot.
449
437
  :param pulumi.Input[_builtins.str] ha_vip_id: The ID of the HaVip instance.
450
- :param pulumi.Input[_builtins.str] havip_id: . Field 'havip_id' has been deprecated from provider version 1.211.0. New field 'ha_vip_id' instead.
438
+ :param pulumi.Input[_builtins.str] havip_id: . Field 'havip_id' has been deprecated from provider version 1.259.0. New field 'ha_vip_id' instead.
451
439
  :param pulumi.Input[_builtins.str] instance_id: The ID of the ECS instance bound to the HaVip instance.
452
- :param pulumi.Input[_builtins.str] instance_type: The type of the instance associated with the VIIP.
453
-
454
- The following arguments will be discarded. Please use new fields as soon as possible:
455
- :param pulumi.Input[_builtins.str] status: The status of the resource.
440
+ :param pulumi.Input[_builtins.str] instance_type: The type of the instance to be associated with the HAVIP. Valid values: * `EcsInstance`: an ECS instance * `NetworkInterface`: an ENI. If you want to associate the HAVIP with an ENI, this parameter is required.
441
+ :param pulumi.Input[_builtins.str] status: The status of the resource
456
442
  """
457
443
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
458
444
 
@@ -470,10 +456,7 @@ class HAVipAttachment(pulumi.CustomResource):
470
456
  @pulumi.getter
471
457
  def force(self) -> pulumi.Output[Optional[_builtins.bool]]:
472
458
  """
473
- Whether to force the ECS instance or Eni instance bound to AVIP to be unbound. The value is:
474
- - **True**: Force unbinding.
475
- - **False** (default): unbinding is not forced.
476
- > **NOTE:** If the value of this parameter is **False**, the Master instance bound to HaVip cannot be unbound.
459
+ Specifies whether to force delete the snapshot.
477
460
  """
478
461
  return pulumi.get(self, "force")
479
462
 
@@ -490,7 +473,7 @@ class HAVipAttachment(pulumi.CustomResource):
490
473
  @_utilities.deprecated("""Field 'havip_id' has been deprecated since provider version 1.211.0. New field 'ha_vip_id' instead.""")
491
474
  def havip_id(self) -> pulumi.Output[_builtins.str]:
492
475
  """
493
- . Field 'havip_id' has been deprecated from provider version 1.211.0. New field 'ha_vip_id' instead.
476
+ . Field 'havip_id' has been deprecated from provider version 1.259.0. New field 'ha_vip_id' instead.
494
477
  """
495
478
  return pulumi.get(self, "havip_id")
496
479
 
@@ -506,9 +489,7 @@ class HAVipAttachment(pulumi.CustomResource):
506
489
  @pulumi.getter(name="instanceType")
507
490
  def instance_type(self) -> pulumi.Output[_builtins.str]:
508
491
  """
509
- The type of the instance associated with the VIIP.
510
-
511
- The following arguments will be discarded. Please use new fields as soon as possible:
492
+ The type of the instance to be associated with the HAVIP. Valid values: * `EcsInstance`: an ECS instance * `NetworkInterface`: an ENI. If you want to associate the HAVIP with an ENI, this parameter is required.
512
493
  """
513
494
  return pulumi.get(self, "instance_type")
514
495
 
@@ -516,7 +497,7 @@ class HAVipAttachment(pulumi.CustomResource):
516
497
  @pulumi.getter
517
498
  def status(self) -> pulumi.Output[_builtins.str]:
518
499
  """
519
- The status of the resource.
500
+ The status of the resource
520
501
  """
521
502
  return pulumi.get(self, "status")
522
503