pulumi-alicloud 3.84.0a1756507491__py3-none-any.whl → 3.85.0a1757389637__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.0a1757389637.dist-info}/METADATA +1 -1
  281. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/RECORD +283 -251
  282. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/WHEEL +0 -0
  283. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/top_level.txt +0 -0
@@ -342,6 +342,63 @@ class DataFlow(pulumi.CustomResource):
342
342
 
343
343
  > **NOTE:** Available since v1.153.0.
344
344
 
345
+ ## Example Usage
346
+
347
+ Basic Usage
348
+
349
+ ```python
350
+ import pulumi
351
+ import pulumi_alicloud as alicloud
352
+ import pulumi_random as random
353
+ import pulumi_std as std
354
+
355
+ example = alicloud.nas.get_zones(file_system_type="cpfs")
356
+ example_network = alicloud.vpc.Network("example",
357
+ vpc_name="terraform-example",
358
+ cidr_block="172.17.3.0/24")
359
+ example_switch = alicloud.vpc.Switch("example",
360
+ vswitch_name="terraform-example",
361
+ cidr_block="172.17.3.0/24",
362
+ vpc_id=example_network.id,
363
+ zone_id=example.zones[1].zone_id)
364
+ example_file_system = alicloud.nas.FileSystem("example",
365
+ protocol_type="cpfs",
366
+ storage_type="advance_200",
367
+ file_system_type="cpfs",
368
+ capacity=3600,
369
+ description="terraform-example",
370
+ zone_id=example.zones[1].zone_id,
371
+ vpc_id=example_network.id,
372
+ vswitch_id=example_switch.id)
373
+ example_mount_target = alicloud.nas.MountTarget("example",
374
+ file_system_id=example_file_system.id,
375
+ vswitch_id=example_switch.id)
376
+ example_integer = random.index.Integer("example",
377
+ max=99999,
378
+ min=10000)
379
+ example_bucket = alicloud.oss.Bucket("example",
380
+ bucket=f"example-value-{example_integer['result']}",
381
+ acl="private",
382
+ tags={
383
+ "cpfs-dataflow": "true",
384
+ })
385
+ example_fileset = alicloud.nas.Fileset("example",
386
+ file_system_id=example_mount_target.file_system_id,
387
+ description="terraform-example",
388
+ file_system_path="/example_path/")
389
+ example_data_flow = alicloud.nas.DataFlow("example",
390
+ fset_id=example_fileset.fileset_id,
391
+ description="terraform-example",
392
+ file_system_id=example_file_system.id,
393
+ source_security_type="SSL",
394
+ source_storage=std.join_output(separator="",
395
+ input=[
396
+ "oss://",
397
+ example_bucket.bucket,
398
+ ]).apply(lambda invoke: invoke.result),
399
+ throughput=600)
400
+ ```
401
+
345
402
  ## Import
346
403
 
347
404
  File Storage (NAS) Data Flow can be imported using the id, e.g.
@@ -379,6 +436,63 @@ class DataFlow(pulumi.CustomResource):
379
436
 
380
437
  > **NOTE:** Available since v1.153.0.
381
438
 
439
+ ## Example Usage
440
+
441
+ Basic Usage
442
+
443
+ ```python
444
+ import pulumi
445
+ import pulumi_alicloud as alicloud
446
+ import pulumi_random as random
447
+ import pulumi_std as std
448
+
449
+ example = alicloud.nas.get_zones(file_system_type="cpfs")
450
+ example_network = alicloud.vpc.Network("example",
451
+ vpc_name="terraform-example",
452
+ cidr_block="172.17.3.0/24")
453
+ example_switch = alicloud.vpc.Switch("example",
454
+ vswitch_name="terraform-example",
455
+ cidr_block="172.17.3.0/24",
456
+ vpc_id=example_network.id,
457
+ zone_id=example.zones[1].zone_id)
458
+ example_file_system = alicloud.nas.FileSystem("example",
459
+ protocol_type="cpfs",
460
+ storage_type="advance_200",
461
+ file_system_type="cpfs",
462
+ capacity=3600,
463
+ description="terraform-example",
464
+ zone_id=example.zones[1].zone_id,
465
+ vpc_id=example_network.id,
466
+ vswitch_id=example_switch.id)
467
+ example_mount_target = alicloud.nas.MountTarget("example",
468
+ file_system_id=example_file_system.id,
469
+ vswitch_id=example_switch.id)
470
+ example_integer = random.index.Integer("example",
471
+ max=99999,
472
+ min=10000)
473
+ example_bucket = alicloud.oss.Bucket("example",
474
+ bucket=f"example-value-{example_integer['result']}",
475
+ acl="private",
476
+ tags={
477
+ "cpfs-dataflow": "true",
478
+ })
479
+ example_fileset = alicloud.nas.Fileset("example",
480
+ file_system_id=example_mount_target.file_system_id,
481
+ description="terraform-example",
482
+ file_system_path="/example_path/")
483
+ example_data_flow = alicloud.nas.DataFlow("example",
484
+ fset_id=example_fileset.fileset_id,
485
+ description="terraform-example",
486
+ file_system_id=example_file_system.id,
487
+ source_security_type="SSL",
488
+ source_storage=std.join_output(separator="",
489
+ input=[
490
+ "oss://",
491
+ example_bucket.bucket,
492
+ ]).apply(lambda invoke: invoke.result),
493
+ throughput=600)
494
+ ```
495
+
382
496
  ## Import
383
497
 
384
498
  File Storage (NAS) Data Flow can be imported using the id, e.g.
@@ -159,6 +159,170 @@ class ListenerAdditionalCertificateAttachment(pulumi.CustomResource):
159
159
 
160
160
  > **NOTE:** Available since v1.209.0.
161
161
 
162
+ ## Example Usage
163
+
164
+ Basic Usage
165
+
166
+ ```python
167
+ import pulumi
168
+ import pulumi_alicloud as alicloud
169
+ import pulumi_random as random
170
+ import pulumi_std as std
171
+
172
+ config = pulumi.Config()
173
+ name = config.get("name")
174
+ if name is None:
175
+ name = "tf-example"
176
+ default = alicloud.nlb.get_zones()
177
+ create_vpc = alicloud.vpc.Network("create_vpc", cidr_block="172.16.0.0/12")
178
+ create_vsw_j = alicloud.vpc.Switch("create_vsw_j",
179
+ vpc_id=create_vpc.id,
180
+ zone_id=default.zones[0].id,
181
+ cidr_block="172.16.1.0/24")
182
+ create_vsw_k = alicloud.vpc.Switch("create_vsw_k",
183
+ vpc_id=create_vpc.id,
184
+ zone_id=default.zones[1].id,
185
+ cidr_block="172.16.2.0/24")
186
+ lb = alicloud.nlb.LoadBalancer("lb",
187
+ address_ip_version="Ipv4",
188
+ zone_mappings=[
189
+ {
190
+ "vswitch_id": create_vsw_j.id,
191
+ "zone_id": create_vsw_j.zone_id,
192
+ },
193
+ {
194
+ "vswitch_id": create_vsw_k.id,
195
+ "zone_id": create_vsw_k.zone_id,
196
+ },
197
+ ],
198
+ load_balancer_type="Network",
199
+ load_balancer_name=name,
200
+ vpc_id=create_vpc.id,
201
+ address_type="Internet")
202
+ create_sg = alicloud.nlb.ServerGroup("create_sg",
203
+ address_ip_version="Ipv4",
204
+ scheduler="Wrr",
205
+ health_check={},
206
+ server_group_type="Instance",
207
+ vpc_id=create_vpc.id,
208
+ protocol="TCPSSL",
209
+ server_group_name=name)
210
+ default_integer = random.index.Integer("default",
211
+ min=10000,
212
+ max=99999)
213
+ ssl0 = alicloud.cas.ServiceCertificate("ssl0",
214
+ cert=\"\"\"-----BEGIN CERTIFICATE-----
215
+ MIIDhDCCAmwCCQCwJW4JChLBqTANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMC
216
+ Q04xEDAOBgNVBAgMB0JlaWppbmcxEDAOBgNVBAcMB0JlaWppbmcxDDAKBgNVBAoM
217
+ A0FsaTEPMA0GA1UECwwGQWxpeXVuMRIwEAYDVQQDDAlUZXJyYWZvcm0xHTAbBgkq
218
+ hkiG9w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xhmXbex6IMwwvrWI4OfMt6ECifQ==
234
+ -----END CERTIFICATE-----
235
+ \"\"\",
236
+ certificate_name=std.join(separator="-",
237
+ input=[
238
+ name,
239
+ default_integer["result"],
240
+ 0,
241
+ ]).result,
242
+ key=\"\"\"-----BEGIN RSA PRIVATE KEY-----
243
+ MIIEogIBAAKCAQEArhS59fJ20ll5bqVf1VqFUiSJ9uVgJWQVwWh16sXYW0PkB4xk
244
+ n6/5yEdztGJX5Ts/ejQXOT5yDs4v11IRgGvAcrj3ILBT8y/4j8qxLwaOtEw4+Nut
245
+ i8jQaOF4Q8lwgtu3b23KCvFfY/BXoWpY2SdsamQSPwv3NMv3vsgcGaDDwDYB4qWp
246
+ XrizzJ0CAZtY7c1Mrrg6UQkk1H4n7vm5iyQ1PezwOppBX8haUYCJSYZV6itaSsBY
247
+ J/HbNLAj2NTyk0e1IXs/LGVtHLWKvYu/VadAod8GeGv/BfAo4vkglFVnXjhn1N1y
248
+ g+jgZsWZgxJPBgUhuNhnfLGjKB5cyTRRc9nFWwIDAQABAoIBAC0D2Q6bc1RzpK4S
249
+ /5QZQ055el+o8tLYbbPEwnFCVe9LwASfrkmI5OuAZpAnuhjh2ElOfQ7lcfMYKFDi
250
+ vPnbYzmHUQhX8G17YygzvtutM2u2JilcDSWPeS0V2NaWmYyNKoMa/dsUjZk3RkHM
251
+ UUteIW/ljr5U5sj1UYw5DOMnqlbicy2cPPY4g1QKGW5t3p5Lxw5ojgqynzi8EKMq
252
+ j0apEoTXxmciOrwwiP2ynRTEN77+FUZkTvmxmSPoIfNTycDPRr4aUwVHV2d5FHPn
253
+ d1MdjSoUPbHdOLfynwXqTz9OlvMSUDrBvs6k5ripGY9qvh9PrOdj7zLXVRQXUuOR
254
+ YwoVHKECgYEA1NzNGifjW5cdcbkzc86QA9TM7yAyBmgnopzlm+dFIhxtJmydxN4V
255
+ 820x1Lkfe2vLCyYQ6fcEKAtjC9qdw+E2uzHAbtvnR4JseF3z1D82xw3MgGT9l3zc
256
+ mMrgKmdCGGLWi6hboylX+2GBMVl2R0aRZrZje67jZcDXd06mlvW257ECgYEA0Vv1
257
+ X3Ubn8XA3AA1ybem8fWNwEXfcYP1lJq0cX1gUXlpQvxWN61//aFZUCJZw5cEPArQ
258
+ rEqhT81VCqXGO/by6D3fJD+4P8D6v6szJK2AGvXkZMfnJwAbHcOyGlxMin1CTJss
259
+ ZID0XI9xmbedm7Wi40+qXz8q4rs25kft9YjfzMsCgYBSPfE8vtaYJ52nt7+Kae+4
260
+ mzqG1XCeixVtPaN1BfjvAf6mDucyDgB7KeBL6S6ht/ceGpoEW30On7+n79JuwRAt
261
+ aT6JVotYVKrmIp63jajzZYByxxI3unVcz12m5HhkBaQRF344XxvwMy8ASyloxnod
262
+ LjDns52GTeix3wB8aPk/MQKBgGOQRwXpjISUKB64HtxacZN6ArqgwB2c8uqEFDIw
263
+ vOCiS7Pmix4ZbdfxpqbcXzIMHKBtSEXXjBWGgd35bmfQDj7yRa9Yekgff2Ati7ny
264
+ pQytSbu/8abzfvHNwmKU6HWoEiKaXSdCyHNIaG8BCnwlilxt44k+YifHftlO9dSi
265
+ DkS3AoGAYmF++8uEvQot5Yma4GraY+7ZyfWNLwClsOsrN2g19Vycg16fJk0olwDx
266
+ 2kRWKqNn99HJJwiLie1nvsDRJLbmzmI91Pttpu/EYFDJ8OYQOr1OhhPwwTygf+7S
267
+ 1o2RTXu3gKNG6fxOtHFatws3IzvovOASYyJR5XP2sIJURLOrSN0=
268
+ -----END RSA PRIVATE KEY-----
269
+ \"\"\")
270
+ create_listener = alicloud.nlb.Listener("create_listener",
271
+ listener_port=443,
272
+ server_group_id=create_sg.id,
273
+ load_balancer_id=lb.id,
274
+ listener_protocol="TCPSSL",
275
+ certificate_ids=[ssl0.id.apply(lambda id: f"{id}-cn-hangzhou")],
276
+ ca_certificate_ids=[])
277
+ ssl = alicloud.cas.ServiceCertificate("ssl",
278
+ cert=\"\"\"-----BEGIN CERTIFICATE-----
279
+ MIIDRjCCAq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GCvLG5htp2TKVzgv9QTliA3gtfv6oV4zRZx7X1
295
+ Ofi6hVgErtHaXJheuPVeW6eAW8mHBoEfvDAfU3y9waYrtUevSl07643bzKL6v+Qd
296
+ DUBTxOAvSYfXTtI90EAxEG/bJJyOm5LqoiA=
297
+ -----END CERTIFICATE-----
298
+ \"\"\",
299
+ certificate_name=std.join(separator="-",
300
+ input=[
301
+ name,
302
+ default_integer["result"],
303
+ 1,
304
+ ]).result,
305
+ key=\"\"\"-----BEGIN RSA PRIVATE KEY-----
306
+ MIICXAIBAAKBgQDO0kt3vfjY9BygLEbiAzUrEt1Cum/utmEG9rroSq6dRzKzsetV
307
+ kg0dqpAJwXKBtNFM9/BBPvQy2DVFUASu2koCz+TNQJOMK+BqhsgoI3o884dw7IVM
308
+ ywgstq6KJCjskU5T1/kOZe6xNX3Ejc4HqXGnuYtrBNV118y0SAyL0MXLKQIDAQAB
309
+ AoGAfe3NxbsGKhN42o4bGsKZPQDfeCHMxayGp5bTd10BtQIE/ST4BcJH+ihAS7Bd
310
+ 6FwQlKzivNd4GP1MckemklCXfsVckdL94e8ZbJl23GdWul3v8V+KndJHqv5zVJmP
311
+ hwWoKimwIBTb2s0ctVryr2f18N4hhyFw1yGp0VxclGHkjgECQQD9CvllsnOwHpP4
312
+ MdrDHbdb29QrobKyKW8pPcDd+sth+kP6Y8MnCVuAKXCKj5FeIsgVtfluPOsZjPzz
313
+ 71QQWS1dAkEA0T0KXO8gaBQwJhIoo/w6hy5JGZnrNSpOPp5xvJuMAafs2eyvmhJm
314
+ Ev9SN/Pf2VYa1z6FEnBaLOVD6hf6YQIsPQJAX/CZPoW6dzwgvimo1/GcY6eleiWE
315
+ qygqjWhsh71e/3bz7yuEAnj5yE3t7Zshcp+dXR3xxGo0eSuLfLFxHgGxwQJAAxf8
316
+ 9DzQ5NkPkTCJi0sqbl8/03IUKTgT6hcbpWdDXa7m8J3wRr3o5nUB+TPQ5nzAbthM
317
+ zWX931YQeACcwhxvHQJBAN5mTzzJD4w4Ma6YTaNHyXakdYfyAWrOkPIWZxfhMfXe
318
+ DrlNdiysTI4Dd1dLeErVpjsckAaOW/JDG5PCSwkaMxk=
319
+ -----END RSA PRIVATE KEY-----
320
+ \"\"\")
321
+ default_listener_additional_certificate_attachment = alicloud.nlb.ListenerAdditionalCertificateAttachment("default",
322
+ certificate_id=ssl.id,
323
+ listener_id=create_listener.id)
324
+ ```
325
+
162
326
  ## Import
163
327
 
164
328
  NLB Listener Additional Certificate Attachment can be imported using the id, e.g.
@@ -186,6 +350,170 @@ class ListenerAdditionalCertificateAttachment(pulumi.CustomResource):
186
350
 
187
351
  > **NOTE:** Available since v1.209.0.
188
352
 
353
+ ## Example Usage
354
+
355
+ Basic Usage
356
+
357
+ ```python
358
+ import pulumi
359
+ import pulumi_alicloud as alicloud
360
+ import pulumi_random as random
361
+ import pulumi_std as std
362
+
363
+ config = pulumi.Config()
364
+ name = config.get("name")
365
+ if name is None:
366
+ name = "tf-example"
367
+ default = alicloud.nlb.get_zones()
368
+ create_vpc = alicloud.vpc.Network("create_vpc", cidr_block="172.16.0.0/12")
369
+ create_vsw_j = alicloud.vpc.Switch("create_vsw_j",
370
+ vpc_id=create_vpc.id,
371
+ zone_id=default.zones[0].id,
372
+ cidr_block="172.16.1.0/24")
373
+ create_vsw_k = alicloud.vpc.Switch("create_vsw_k",
374
+ vpc_id=create_vpc.id,
375
+ zone_id=default.zones[1].id,
376
+ cidr_block="172.16.2.0/24")
377
+ lb = alicloud.nlb.LoadBalancer("lb",
378
+ address_ip_version="Ipv4",
379
+ zone_mappings=[
380
+ {
381
+ "vswitch_id": create_vsw_j.id,
382
+ "zone_id": create_vsw_j.zone_id,
383
+ },
384
+ {
385
+ "vswitch_id": create_vsw_k.id,
386
+ "zone_id": create_vsw_k.zone_id,
387
+ },
388
+ ],
389
+ load_balancer_type="Network",
390
+ load_balancer_name=name,
391
+ vpc_id=create_vpc.id,
392
+ address_type="Internet")
393
+ create_sg = alicloud.nlb.ServerGroup("create_sg",
394
+ address_ip_version="Ipv4",
395
+ scheduler="Wrr",
396
+ health_check={},
397
+ server_group_type="Instance",
398
+ vpc_id=create_vpc.id,
399
+ protocol="TCPSSL",
400
+ server_group_name=name)
401
+ default_integer = random.index.Integer("default",
402
+ min=10000,
403
+ max=99999)
404
+ ssl0 = alicloud.cas.ServiceCertificate("ssl0",
405
+ cert=\"\"\"-----BEGIN CERTIFICATE-----
406
+ MIIDhDCCAmwCCQCwJW4JChLBqTANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMC
407
+ Q04xEDAOBgNVBAgMB0JlaWppbmcxEDAOBgNVBAcMB0JlaWppbmcxDDAKBgNVBAoM
408
+ A0FsaTEPMA0GA1UECwwGQWxpeXVuMRIwEAYDVQQDDAlUZXJyYWZvcm0xHTAbBgkq
409
+ hkiG9w0BCQEWDjEyM0BhbGl5dW0uY29tMB4XDTI0MTIyNTA3MjQ0OFoXDTI3MTIy
410
+ NTA3MjQ0OFowgYMxCzAJBgNVBAYTAkNOMRAwDgYDVQQIDAdCZWlqaW5nMRAwDgYD
411
+ VQQHDAdCZWlqaW5nMQwwCgYDVQQKDANBbGkxDzANBgNVBAsMBkFsaXl1bjESMBAG
412
+ A1UEAwwJVGVycmFmb3JtMR0wGwYJKoZIhvcNAQkBFg4xMjNAYWxpeXVtLmNvbTCC
413
+ ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK4UufXydtJZeW6lX9VahVIk
414
+ ifblYCVkFcFoderF2FtD5AeMZJ+v+chHc7RiV+U7P3o0Fzk+cg7OL9dSEYBrwHK4
415
+ 9yCwU/Mv+I/KsS8GjrRMOPjbrYvI0GjheEPJcILbt29tygrxX2PwV6FqWNknbGpk
416
+ Ej8L9zTL977IHBmgw8A2AeKlqV64s8ydAgGbWO3NTK64OlEJJNR+J+75uYskNT3s
417
+ 8DqaQV/IWlGAiUmGVeorWkrAWCfx2zSwI9jU8pNHtSF7PyxlbRy1ir2Lv1WnQKHf
418
+ Bnhr/wXwKOL5IJRVZ144Z9TdcoPo4GbFmYMSTwYFIbjYZ3yxoygeXMk0UXPZxVsC
419
+ AwEAATANBgkqhkiG9w0BAQsFAAOCAQEAVPA+Q0/5T6VzVw+MFXjCxXH1mWgd767w
420
+ YWX4tvdGsTDkK6/ESm8m9GDp5F3p7Degk0isr9XkyzkWo/nPEPWQOeYR0kNTvpwY
421
+ mKz9/aJwxalHS6O/8K2Ed6pZcXW0SUfjdH0/9YHw+vu4i2cQGTICzrKuEvyck40y
422
+ fQocvFyw6O7W+tewLA4ntTuC6HhEQbC0p7zxGc3LSuayBgJrJiOAnGvFu+/OFQi+
423
+ zEXi1xt8uQR6q5DQDsfqNCxpRKsCmU+POzNg2Y31GDMv4ZPerou5jXa1gh8/TVBT
424
+ IX3OTy5aL4Ue8nBip3bVw+V/9L9xhmXbex6IMwwvrWI4OfMt6ECifQ==
425
+ -----END CERTIFICATE-----
426
+ \"\"\",
427
+ certificate_name=std.join(separator="-",
428
+ input=[
429
+ name,
430
+ default_integer["result"],
431
+ 0,
432
+ ]).result,
433
+ key=\"\"\"-----BEGIN RSA PRIVATE KEY-----
434
+ MIIEogIBAAKCAQEArhS59fJ20ll5bqVf1VqFUiSJ9uVgJWQVwWh16sXYW0PkB4xk
435
+ n6/5yEdztGJX5Ts/ejQXOT5yDs4v11IRgGvAcrj3ILBT8y/4j8qxLwaOtEw4+Nut
436
+ i8jQaOF4Q8lwgtu3b23KCvFfY/BXoWpY2SdsamQSPwv3NMv3vsgcGaDDwDYB4qWp
437
+ XrizzJ0CAZtY7c1Mrrg6UQkk1H4n7vm5iyQ1PezwOppBX8haUYCJSYZV6itaSsBY
438
+ J/HbNLAj2NTyk0e1IXs/LGVtHLWKvYu/VadAod8GeGv/BfAo4vkglFVnXjhn1N1y
439
+ g+jgZsWZgxJPBgUhuNhnfLGjKB5cyTRRc9nFWwIDAQABAoIBAC0D2Q6bc1RzpK4S
440
+ /5QZQ055el+o8tLYbbPEwnFCVe9LwASfrkmI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ot5Yma4GraY+7ZyfWNLwClsOsrN2g19Vycg16fJk0olwDx
457
+ 2kRWKqNn99HJJwiLie1nvsDRJLbmzmI91Pttpu/EYFDJ8OYQOr1OhhPwwTygf+7S
458
+ 1o2RTXu3gKNG6fxOtHFatws3IzvovOASYyJR5XP2sIJURLOrSN0=
459
+ -----END RSA PRIVATE KEY-----
460
+ \"\"\")
461
+ create_listener = alicloud.nlb.Listener("create_listener",
462
+ listener_port=443,
463
+ server_group_id=create_sg.id,
464
+ load_balancer_id=lb.id,
465
+ listener_protocol="TCPSSL",
466
+ certificate_ids=[ssl0.id.apply(lambda id: f"{id}-cn-hangzhou")],
467
+ ca_certificate_ids=[])
468
+ ssl = alicloud.cas.ServiceCertificate("ssl",
469
+ cert=\"\"\"-----BEGIN CERTIFICATE-----
470
+ MIIDRjCCAq+gAwIBAgIJAJn3ox4K13PoMA0GCSqGSIb3DQEBBQUAMHYxCzAJBgNV
471
+ BAYTAkNOMQswCQYDVQQIEwJCSjELMAkGA1UEBxMCQkoxDDAKBgNVBAoTA0FMSTEP
472
+ MA0GA1UECxMGQUxJWVVOMQ0wCwYDVQQDEwR0ZXN0MR8wHQYJKoZIhvcNAQkBFhB0
473
+ ZXN0QGhvdG1haWwuY29tMB4XDTE0MTEyNDA2MDQyNVoXDTI0MTEyMTA2MDQyNVow
474
+ djELMAkGA1UEBhMCQ04xCzAJBgNVBAgTAkJKMQswCQYDVQQHEwJCSjEMMAoGA1UE
475
+ ChMDQUxJMQ8wDQYDVQQLEwZBTElZVU4xDTALBgNVBAMTBHRlc3QxHzAdBgkqhkiG
476
+ 9w0BCQEWEHRlc3RAaG90bWFpbC5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ
477
+ AoGBAM7SS3e9+Nj0HKAsRuIDNSsS3UK6b+62YQb2uuhKrp1HMrOx61WSDR2qkAnB
478
+ coG00Uz38EE+9DLYNUVQBK7aSgLP5M1Ak4wr4GqGyCgjejzzh3DshUzLCCy2rook
479
+ KOyRTlPX+Q5l7rE1fcSNzgepcae5i2sE1XXXzLRIDIvQxcspAgMBAAGjgdswgdgw
480
+ HQYDVR0OBBYEFBdy+OuMsvbkV7R14f0OyoLoh2z4MIGoBgNVHSMEgaAwgZ2AFBdy
481
+ +OuMsvbkV7R14f0OyoLoh2z4oXqkeDB2MQswCQYDVQQGEwJDTjELMAkGA1UECBMC
482
+ QkoxCzAJBgNVBAcTAkJKMQwwCgYDVQQKEwNBTEkxDzANBgNVBAsTBkFMSVlVTjEN
483
+ MAsGA1UEAxMEdGVzdDEfMB0GCSqGSIb3DQEJARYQdGVzdEBob3RtYWlsLmNvbYIJ
484
+ AJn3ox4K13PoMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAY7KOsnyT
485
+ cQzfhiiG7ASjiPakw5wXoycHt5GCvLG5htp2TKVzgv9QTliA3gtfv6oV4zRZx7X1
486
+ Ofi6hVgErtHaXJheuPVeW6eAW8mHBoEfvDAfU3y9waYrtUevSl07643bzKL6v+Qd
487
+ DUBTxOAvSYfXTtI90EAxEG/bJJyOm5LqoiA=
488
+ -----END CERTIFICATE-----
489
+ \"\"\",
490
+ certificate_name=std.join(separator="-",
491
+ input=[
492
+ name,
493
+ default_integer["result"],
494
+ 1,
495
+ ]).result,
496
+ key=\"\"\"-----BEGIN RSA PRIVATE KEY-----
497
+ MIICXAIBAAKBgQDO0kt3vfjY9BygLEbiAzUrEt1Cum/utmEG9rroSq6dRzKzsetV
498
+ kg0dqpAJwXKBtNFM9/BBPvQy2DVFUASu2koCz+TNQJOMK+BqhsgoI3o884dw7IVM
499
+ ywgstq6KJCjskU5T1/kOZe6xNX3Ejc4HqXGnuYtrBNV118y0SAyL0MXLKQIDAQAB
500
+ AoGAfe3NxbsGKhN42o4bGsKZPQDfeCHMxayGp5bTd10BtQIE/ST4BcJH+ihAS7Bd
501
+ 6FwQlKzivNd4GP1MckemklCXfsVckdL94e8ZbJl23GdWul3v8V+KndJHqv5zVJmP
502
+ hwWoKimwIBTb2s0ctVryr2f18N4hhyFw1yGp0VxclGHkjgECQQD9CvllsnOwHpP4
503
+ MdrDHbdb29QrobKyKW8pPcDd+sth+kP6Y8MnCVuAKXCKj5FeIsgVtfluPOsZjPzz
504
+ 71QQWS1dAkEA0T0KXO8gaBQwJhIoo/w6hy5JGZnrNSpOPp5xvJuMAafs2eyvmhJm
505
+ Ev9SN/Pf2VYa1z6FEnBaLOVD6hf6YQIsPQJAX/CZPoW6dzwgvimo1/GcY6eleiWE
506
+ qygqjWhsh71e/3bz7yuEAnj5yE3t7Zshcp+dXR3xxGo0eSuLfLFxHgGxwQJAAxf8
507
+ 9DzQ5NkPkTCJi0sqbl8/03IUKTgT6hcbpWdDXa7m8J3wRr3o5nUB+TPQ5nzAbthM
508
+ zWX931YQeACcwhxvHQJBAN5mTzzJD4w4Ma6YTaNHyXakdYfyAWrOkPIWZxfhMfXe
509
+ DrlNdiysTI4Dd1dLeErVpjsckAaOW/JDG5PCSwkaMxk=
510
+ -----END RSA PRIVATE KEY-----
511
+ \"\"\")
512
+ default_listener_additional_certificate_attachment = alicloud.nlb.ListenerAdditionalCertificateAttachment("default",
513
+ certificate_id=ssl.id,
514
+ listener_id=create_listener.id)
515
+ ```
516
+
189
517
  ## Import
190
518
 
191
519
  NLB Listener Additional Certificate Attachment can be imported using the id, e.g.
@@ -62,9 +62,10 @@ class ServerGroupArgs:
62
62
  :param pulumi.Input[_builtins.str] scheduler: The scheduling algorithm. Valid values:
63
63
 
64
64
  - **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
65
- - **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
66
- - **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
67
- - **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
65
+ - **Rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
66
+ - **Sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
67
+ - **Tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
68
+ - `Qch`: QUIC ID hashing. Requests that contain the same QUIC ID are forwarded to the same backend server.
68
69
  :param pulumi.Input[_builtins.str] server_group_type: The type of server group. Valid values:
69
70
 
70
71
  - `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
@@ -252,9 +253,10 @@ class ServerGroupArgs:
252
253
  The scheduling algorithm. Valid values:
253
254
 
254
255
  - **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
255
- - **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
256
- - **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
257
- - **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
256
+ - **Rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
257
+ - **Sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
258
+ - **Tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
259
+ - `Qch`: QUIC ID hashing. Requests that contain the same QUIC ID are forwarded to the same backend server.
258
260
  """
259
261
  return pulumi.get(self, "scheduler")
260
262
 
@@ -329,9 +331,10 @@ class _ServerGroupState:
329
331
  :param pulumi.Input[_builtins.str] scheduler: The scheduling algorithm. Valid values:
330
332
 
331
333
  - **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
332
- - **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
333
- - **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
334
- - **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
334
+ - **Rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
335
+ - **Sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
336
+ - **Tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
337
+ - `Qch`: QUIC ID hashing. Requests that contain the same QUIC ID are forwarded to the same backend server.
335
338
  :param pulumi.Input[_builtins.str] server_group_name: The new name of the server group.
336
339
  The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
337
340
  :param pulumi.Input[_builtins.str] server_group_type: The type of server group. Valid values:
@@ -516,9 +519,10 @@ class _ServerGroupState:
516
519
  The scheduling algorithm. Valid values:
517
520
 
518
521
  - **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
519
- - **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
520
- - **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
521
- - **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
522
+ - **Rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
523
+ - **Sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
524
+ - **Tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
525
+ - `Qch`: QUIC ID hashing. Requests that contain the same QUIC ID are forwarded to the same backend server.
522
526
  """
523
527
  return pulumi.get(self, "scheduler")
524
528
 
@@ -698,9 +702,10 @@ class ServerGroup(pulumi.CustomResource):
698
702
  :param pulumi.Input[_builtins.str] scheduler: The scheduling algorithm. Valid values:
699
703
 
700
704
  - **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
701
- - **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
702
- - **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
703
- - **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
705
+ - **Rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
706
+ - **Sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
707
+ - **Tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
708
+ - `Qch`: QUIC ID hashing. Requests that contain the same QUIC ID are forwarded to the same backend server.
704
709
  :param pulumi.Input[_builtins.str] server_group_name: The new name of the server group.
705
710
  The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
706
711
  :param pulumi.Input[_builtins.str] server_group_type: The type of server group. Valid values:
@@ -892,9 +897,10 @@ class ServerGroup(pulumi.CustomResource):
892
897
  :param pulumi.Input[_builtins.str] scheduler: The scheduling algorithm. Valid values:
893
898
 
894
899
  - **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
895
- - **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
896
- - **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
897
- - **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
900
+ - **Rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
901
+ - **Sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
902
+ - **Tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
903
+ - `Qch`: QUIC ID hashing. Requests that contain the same QUIC ID are forwarded to the same backend server.
898
904
  :param pulumi.Input[_builtins.str] server_group_name: The new name of the server group.
899
905
  The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
900
906
  :param pulumi.Input[_builtins.str] server_group_type: The type of server group. Valid values:
@@ -1025,9 +1031,10 @@ class ServerGroup(pulumi.CustomResource):
1025
1031
  The scheduling algorithm. Valid values:
1026
1032
 
1027
1033
  - **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
1028
- - **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
1029
- - **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
1030
- - **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
1034
+ - **Rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
1035
+ - **Sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
1036
+ - **Tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
1037
+ - `Qch`: QUIC ID hashing. Requests that contain the same QUIC ID are forwarded to the same backend server.
1031
1038
  """
1032
1039
  return pulumi.get(self, "scheduler")
1033
1040