pulumi-alicloud 3.75.0a1741324537__py3-none-any.whl → 3.76.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 (355) hide show
  1. pulumi_alicloud/__init__.py +501 -4
  2. pulumi_alicloud/_inputs.py +53 -0
  3. pulumi_alicloud/ackone/__init__.py +1 -0
  4. pulumi_alicloud/ackone/cluster.py +73 -8
  5. pulumi_alicloud/ackone/membership_attachment.py +223 -0
  6. pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
  7. pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
  8. pulumi_alicloud/alb/_inputs.py +217 -17
  9. pulumi_alicloud/alb/load_balancer.py +7 -35
  10. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
  11. pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
  12. pulumi_alicloud/alb/outputs.py +150 -12
  13. pulumi_alicloud/alb/server_group.py +199 -44
  14. pulumi_alicloud/aligreen/audit_callback.py +2 -2
  15. pulumi_alicloud/aligreen/biz_type.py +2 -2
  16. pulumi_alicloud/aligreen/callback.py +2 -2
  17. pulumi_alicloud/aligreen/image_lib.py +2 -2
  18. pulumi_alicloud/aligreen/keyword_lib.py +2 -2
  19. pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
  20. pulumi_alicloud/alikafka/sasl_acl.py +7 -7
  21. pulumi_alicloud/apigateway/_inputs.py +134 -0
  22. pulumi_alicloud/apigateway/group.py +117 -5
  23. pulumi_alicloud/apigateway/instance.py +199 -11
  24. pulumi_alicloud/apigateway/outputs.py +107 -0
  25. pulumi_alicloud/arms/alert_contact.py +2 -2
  26. pulumi_alicloud/arms/alert_contact_group.py +2 -2
  27. pulumi_alicloud/arms/get_prometheus.py +2 -6
  28. pulumi_alicloud/arms/grafana_workspace.py +511 -69
  29. pulumi_alicloud/arms/outputs.py +18 -18
  30. pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
  31. pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
  32. pulumi_alicloud/cdn/domain_new.py +2 -2
  33. pulumi_alicloud/cen/_inputs.py +6 -3
  34. pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
  35. pulumi_alicloud/cen/instance.py +101 -59
  36. pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
  37. pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
  38. pulumi_alicloud/cen/outputs.py +69 -26
  39. pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
  40. pulumi_alicloud/cen/transit_router.py +127 -53
  41. pulumi_alicloud/cen/transit_router_cidr.py +53 -35
  42. pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
  43. pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
  44. pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
  45. pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
  46. pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
  47. pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
  48. pulumi_alicloud/cfg/aggregator.py +6 -4
  49. pulumi_alicloud/clickhouse/db_cluster.py +179 -6
  50. pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
  51. pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
  52. pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
  53. pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
  54. pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
  55. pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
  56. pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
  57. pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
  58. pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
  59. pulumi_alicloud/cloudcontrol/get_products.py +2 -2
  60. pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
  61. pulumi_alicloud/cloudcontrol/resource.py +2 -2
  62. pulumi_alicloud/cloudfirewall/__init__.py +2 -0
  63. pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
  64. pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
  65. pulumi_alicloud/cloudfirewall/outputs.py +362 -0
  66. pulumi_alicloud/cloudphone/__init__.py +12 -0
  67. pulumi_alicloud/cloudphone/_inputs.py +175 -0
  68. pulumi_alicloud/cloudphone/image.py +323 -0
  69. pulumi_alicloud/cloudphone/key_pair.py +294 -0
  70. pulumi_alicloud/cloudphone/outputs.py +138 -0
  71. pulumi_alicloud/cloudphone/policy.py +522 -0
  72. pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
  73. pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
  74. pulumi_alicloud/cloudphoneinstance/group.py +961 -0
  75. pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
  76. pulumi_alicloud/cms/get_site_monitors.py +2 -2
  77. pulumi_alicloud/config/outputs.py +32 -0
  78. pulumi_alicloud/cs/__init__.py +1 -0
  79. pulumi_alicloud/cs/_inputs.py +9 -9
  80. pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
  81. pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
  82. pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
  83. pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
  84. pulumi_alicloud/cs/managed_kubernetes.py +174 -59
  85. pulumi_alicloud/cs/node_pool.py +91 -63
  86. pulumi_alicloud/cs/outputs.py +1991 -213
  87. pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
  88. pulumi_alicloud/dataworks/data_source.py +2 -2
  89. pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
  90. pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
  91. pulumi_alicloud/dataworks/di_job.py +2 -2
  92. pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
  93. pulumi_alicloud/dataworks/network.py +2 -2
  94. pulumi_alicloud/dataworks/project.py +2 -2
  95. pulumi_alicloud/dataworks/project_member.py +2 -2
  96. pulumi_alicloud/dbs/backup_plan.py +2 -2
  97. pulumi_alicloud/ddos/bgp_policy.py +2 -2
  98. pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
  99. pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
  100. pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
  101. pulumi_alicloud/eais/__init__.py +2 -0
  102. pulumi_alicloud/eais/_inputs.py +75 -0
  103. pulumi_alicloud/eais/client_instance_attachment.py +408 -0
  104. pulumi_alicloud/eais/instance.py +365 -118
  105. pulumi_alicloud/eais/outputs.py +32 -0
  106. pulumi_alicloud/ebs/disk_replica_group.py +512 -30
  107. pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
  108. pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
  109. pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
  110. pulumi_alicloud/ebs/replica_group_drill.py +2 -2
  111. pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
  112. pulumi_alicloud/ecp/instance.py +2 -2
  113. pulumi_alicloud/ecp/key_pair.py +4 -4
  114. pulumi_alicloud/ecs/_inputs.py +33 -0
  115. pulumi_alicloud/ecs/disk.py +1 -1
  116. pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
  117. pulumi_alicloud/ecs/ecs_disk.py +1 -1
  118. pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
  119. pulumi_alicloud/ecs/eip.py +1 -1
  120. pulumi_alicloud/ecs/eip_address.py +1 -1
  121. pulumi_alicloud/ecs/instance.py +44 -31
  122. pulumi_alicloud/ecs/outputs.py +26 -2
  123. pulumi_alicloud/eds/command.py +10 -2
  124. pulumi_alicloud/eflo/__init__.py +5 -0
  125. pulumi_alicloud/eflo/_inputs.py +1717 -0
  126. pulumi_alicloud/eflo/cluster.py +935 -0
  127. pulumi_alicloud/eflo/invocation.py +1114 -0
  128. pulumi_alicloud/eflo/node.py +1013 -0
  129. pulumi_alicloud/eflo/node_group.py +1101 -0
  130. pulumi_alicloud/eflo/outputs.py +1366 -0
  131. pulumi_alicloud/emrv2/__init__.py +1 -0
  132. pulumi_alicloud/emrv2/_inputs.py +47 -7
  133. pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
  134. pulumi_alicloud/emrv2/outputs.py +195 -5
  135. pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
  136. pulumi_alicloud/ens/image.py +81 -34
  137. pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
  138. pulumi_alicloud/ens/nat_gateway.py +6 -6
  139. pulumi_alicloud/ens/vswitch.py +36 -36
  140. pulumi_alicloud/esa/__init__.py +23 -0
  141. pulumi_alicloud/esa/_inputs.py +1068 -15
  142. pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
  143. pulumi_alicloud/esa/cache_rule.py +1419 -0
  144. pulumi_alicloud/esa/certificate.py +731 -0
  145. pulumi_alicloud/esa/client_ca_certificate.py +388 -0
  146. pulumi_alicloud/esa/client_certificate.py +452 -0
  147. pulumi_alicloud/esa/compression_rule.py +596 -0
  148. pulumi_alicloud/esa/edge_container_app.py +972 -0
  149. pulumi_alicloud/esa/edge_container_app_record.py +376 -0
  150. pulumi_alicloud/esa/get_sites.py +421 -0
  151. pulumi_alicloud/esa/http_request_header_modification_rule.py +58 -44
  152. pulumi_alicloud/esa/http_response_header_modification_rule.py +539 -0
  153. pulumi_alicloud/esa/https_application_configuration.py +939 -0
  154. pulumi_alicloud/esa/https_basic_configuration.py +1041 -0
  155. pulumi_alicloud/esa/image_transform.py +498 -0
  156. pulumi_alicloud/esa/kv_namespace.py +276 -0
  157. pulumi_alicloud/esa/list.py +30 -30
  158. pulumi_alicloud/esa/network_optimization.py +680 -0
  159. pulumi_alicloud/esa/origin_pool.py +485 -0
  160. pulumi_alicloud/esa/origin_rule.py +796 -0
  161. pulumi_alicloud/esa/outputs.py +959 -10
  162. pulumi_alicloud/esa/page.py +30 -51
  163. pulumi_alicloud/esa/rate_plan_instance.py +88 -161
  164. pulumi_alicloud/esa/record.py +2 -2
  165. pulumi_alicloud/esa/redirect_rule.py +748 -0
  166. pulumi_alicloud/esa/rewrite_url_rule.py +688 -0
  167. pulumi_alicloud/esa/site.py +276 -27
  168. pulumi_alicloud/esa/site_delivery_task.py +841 -0
  169. pulumi_alicloud/esa/waiting_room.py +1207 -0
  170. pulumi_alicloud/esa/waiting_room_event.py +1378 -0
  171. pulumi_alicloud/esa/waiting_room_rule.py +497 -0
  172. pulumi_alicloud/ess/_inputs.py +155 -0
  173. pulumi_alicloud/ess/outputs.py +128 -0
  174. pulumi_alicloud/ess/scaling_configuration.py +7 -7
  175. pulumi_alicloud/ess/scaling_group.py +237 -2
  176. pulumi_alicloud/ess/scaling_rule.py +143 -2
  177. pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
  178. pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
  179. pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
  180. pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
  181. pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
  182. pulumi_alicloud/ga/outputs.py +10 -4
  183. pulumi_alicloud/gpdb/db_resource_group.py +6 -6
  184. pulumi_alicloud/gpdb/external_data_service.py +6 -6
  185. pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
  186. pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
  187. pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
  188. pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
  189. pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
  190. pulumi_alicloud/gpdb/streaming_job.py +2 -2
  191. pulumi_alicloud/hbr/policy.py +67 -6
  192. pulumi_alicloud/hbr/vault.py +210 -9
  193. pulumi_alicloud/ims/oidc_provider.py +24 -13
  194. pulumi_alicloud/kms/get_keys.py +10 -0
  195. pulumi_alicloud/kvstore/account.py +9 -9
  196. pulumi_alicloud/kvstore/connection.py +2 -2
  197. pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
  198. pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
  199. pulumi_alicloud/kvstore/instance.py +7 -7
  200. pulumi_alicloud/kvstore/outputs.py +2 -2
  201. pulumi_alicloud/live/caster.py +2 -2
  202. pulumi_alicloud/maxcompute/__init__.py +1 -0
  203. pulumi_alicloud/maxcompute/_inputs.py +232 -3
  204. pulumi_alicloud/maxcompute/outputs.py +183 -2
  205. pulumi_alicloud/maxcompute/project.py +2 -2
  206. pulumi_alicloud/maxcompute/quota.py +438 -0
  207. pulumi_alicloud/message/__init__.py +3 -0
  208. pulumi_alicloud/message/_inputs.py +149 -0
  209. pulumi_alicloud/message/outputs.py +112 -0
  210. pulumi_alicloud/message/service_endpoint.py +218 -0
  211. pulumi_alicloud/message/service_endpoint_acl.py +306 -0
  212. pulumi_alicloud/message/service_queue.py +49 -0
  213. pulumi_alicloud/message/service_subscription.py +91 -14
  214. pulumi_alicloud/mse/nacos_config.py +4 -0
  215. pulumi_alicloud/nas/mount_target.py +149 -54
  216. pulumi_alicloud/nlb/__init__.py +1 -0
  217. pulumi_alicloud/nlb/_inputs.py +157 -30
  218. pulumi_alicloud/nlb/listener.py +87 -20
  219. pulumi_alicloud/nlb/load_balancer.py +212 -24
  220. pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
  221. pulumi_alicloud/nlb/outputs.py +123 -20
  222. pulumi_alicloud/nlb/server_group.py +55 -20
  223. pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
  224. pulumi_alicloud/oss/__init__.py +1 -0
  225. pulumi_alicloud/oss/_inputs.py +20 -0
  226. pulumi_alicloud/oss/access_point.py +2 -2
  227. pulumi_alicloud/oss/bucket_cname.py +2 -2
  228. pulumi_alicloud/oss/bucket_cors.py +2 -2
  229. pulumi_alicloud/oss/bucket_style.py +402 -0
  230. pulumi_alicloud/oss/bucket_website.py +2 -2
  231. pulumi_alicloud/oss/outputs.py +14 -0
  232. pulumi_alicloud/ots/_inputs.py +3 -3
  233. pulumi_alicloud/ots/outputs.py +2 -2
  234. pulumi_alicloud/pai/service.py +59 -67
  235. pulumi_alicloud/pai/workspace_code_source.py +2 -2
  236. pulumi_alicloud/pai/workspace_dataset.py +2 -2
  237. pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
  238. pulumi_alicloud/pai/workspace_experiment.py +2 -2
  239. pulumi_alicloud/pai/workspace_run.py +2 -2
  240. pulumi_alicloud/pai/workspace_workspace.py +2 -2
  241. pulumi_alicloud/polardb/cluster.py +75 -28
  242. pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
  243. pulumi_alicloud/privatelink/outputs.py +11 -0
  244. pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
  245. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
  246. pulumi_alicloud/pulumi-plugin.json +1 -1
  247. pulumi_alicloud/ram/__init__.py +3 -0
  248. pulumi_alicloud/ram/_inputs.py +9 -9
  249. pulumi_alicloud/ram/access_key.py +97 -35
  250. pulumi_alicloud/ram/account_alias.py +18 -45
  251. pulumi_alicloud/ram/get_system_policys.py +189 -0
  252. pulumi_alicloud/ram/group.py +156 -35
  253. pulumi_alicloud/ram/group_policy_attachment.py +51 -29
  254. pulumi_alicloud/ram/login_profile.py +92 -38
  255. pulumi_alicloud/ram/outputs.py +91 -6
  256. pulumi_alicloud/ram/password_policy.py +779 -0
  257. pulumi_alicloud/ram/policy.py +199 -88
  258. pulumi_alicloud/ram/role_policy_attachment.py +51 -29
  259. pulumi_alicloud/ram/saml_provider.py +44 -37
  260. pulumi_alicloud/ram/user.py +10 -2
  261. pulumi_alicloud/ram/user_group_attachment.py +273 -0
  262. pulumi_alicloud/ram/user_policy_attachment.py +49 -27
  263. pulumi_alicloud/rds/__init__.py +1 -0
  264. pulumi_alicloud/rds/custom_disk.py +1053 -0
  265. pulumi_alicloud/rds/instance.py +117 -14
  266. pulumi_alicloud/redis/tair_instance.py +14 -14
  267. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  268. pulumi_alicloud/resourcemanager/_inputs.py +53 -0
  269. pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
  270. pulumi_alicloud/resourcemanager/outputs.py +50 -0
  271. pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
  272. pulumi_alicloud/rocketmq/__init__.py +1 -1
  273. pulumi_alicloud/rocketmq/_inputs.py +146 -4
  274. pulumi_alicloud/rocketmq/account.py +452 -0
  275. pulumi_alicloud/rocketmq/acl.py +473 -47
  276. pulumi_alicloud/rocketmq/client_user.py +8 -2
  277. pulumi_alicloud/rocketmq/consumer_group.py +121 -24
  278. pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
  279. pulumi_alicloud/rocketmq/outputs.py +113 -4
  280. pulumi_alicloud/rocketmq/qos.py +8 -2
  281. pulumi_alicloud/rocketmq/qos_car.py +10 -4
  282. pulumi_alicloud/rocketmq/qos_policy.py +6 -0
  283. pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
  284. pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
  285. pulumi_alicloud/rocketmq/snat_entry.py +8 -2
  286. pulumi_alicloud/sag/__init__.py +8 -0
  287. pulumi_alicloud/sag/acl.py +200 -0
  288. pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
  289. pulumi_alicloud/sag/client_user.py +560 -0
  290. pulumi_alicloud/sag/dnat_entry.py +512 -0
  291. pulumi_alicloud/sag/get_acls.py +2 -2
  292. pulumi_alicloud/sag/qos.py +202 -0
  293. pulumi_alicloud/sag/qos_car.py +654 -0
  294. pulumi_alicloud/sag/qos_policy.py +659 -0
  295. pulumi_alicloud/sag/snat_entry.py +313 -0
  296. pulumi_alicloud/securitycenter/group.py +2 -2
  297. pulumi_alicloud/selectdb/db_instance.py +60 -11
  298. pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
  299. pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
  300. pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
  301. pulumi_alicloud/sls/oss_export_sink.py +2 -2
  302. pulumi_alicloud/tag/__init__.py +1 -0
  303. pulumi_alicloud/tag/associated_rule.py +306 -0
  304. pulumi_alicloud/tag/policy.py +27 -36
  305. pulumi_alicloud/threatdetection/__init__.py +3 -0
  306. pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
  307. pulumi_alicloud/threatdetection/asset_bind.py +209 -0
  308. pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
  309. pulumi_alicloud/threatdetection/instance.py +271 -54
  310. pulumi_alicloud/threatdetection/log_meta.py +351 -0
  311. pulumi_alicloud/vpc/__init__.py +2 -0
  312. pulumi_alicloud/vpc/_inputs.py +281 -0
  313. pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
  314. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
  315. pulumi_alicloud/vpc/flow_log.py +184 -49
  316. pulumi_alicloud/vpc/forward_entry.py +8 -4
  317. pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
  318. pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
  319. pulumi_alicloud/vpc/get_forward_entries.py +2 -2
  320. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
  321. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
  322. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
  323. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
  324. pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
  325. pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
  326. pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
  327. pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
  328. pulumi_alicloud/vpc/get_snat_entries.py +5 -2
  329. pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
  330. pulumi_alicloud/vpc/ipam_ipam.py +2 -9
  331. pulumi_alicloud/vpc/ipam_ipam_pool.py +2 -30
  332. pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
  333. pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
  334. pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
  335. pulumi_alicloud/vpc/ipam_ipam_scope.py +2 -9
  336. pulumi_alicloud/vpc/ipv6_address.py +85 -5
  337. pulumi_alicloud/vpc/nat_gateway.py +8 -0
  338. pulumi_alicloud/vpc/outputs.py +244 -2
  339. pulumi_alicloud/vpc/peer_connection.py +84 -42
  340. pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
  341. pulumi_alicloud/vpc/route_table.py +100 -45
  342. pulumi_alicloud/vpc/router_interface_connection.py +4 -4
  343. pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
  344. pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
  345. pulumi_alicloud/vpn/_inputs.py +716 -71
  346. pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
  347. pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
  348. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +26 -60
  349. pulumi_alicloud/vpn/get_gateways.py +21 -1
  350. pulumi_alicloud/vpn/ipsec_server.py +2 -2
  351. pulumi_alicloud/vpn/outputs.py +1982 -1006
  352. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/METADATA +2 -2
  353. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/RECORD +355 -278
  354. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/WHEEL +1 -1
  355. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/top_level.txt +0 -0
@@ -27,8 +27,10 @@ class AccessKeyArgs:
27
27
  The set of arguments for constructing a AccessKey resource.
28
28
  :param pulumi.Input[str] pgp_key: Either a base-64 encoded PGP public key, or a keybase username in the form `keybase:some_person_that_exists`
29
29
  :param pulumi.Input[str] secret_file: The name of file that can save access key id and access key secret. Strongly suggest you to specified it when you creating access key, otherwise, you wouldn't get its secret ever.
30
- :param pulumi.Input[str] status: Status of access key. It must be `Active` or `Inactive`. Default value is `Active`.
31
- :param pulumi.Input[str] user_name: Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
30
+ :param pulumi.Input[str] status: The status of the AccessKey. Value:
31
+ - Active: Activated.
32
+ - Inactive: Disabled.
33
+ :param pulumi.Input[str] user_name: The RAM user name.
32
34
  """
33
35
  if pgp_key is not None:
34
36
  pulumi.set(__self__, "pgp_key", pgp_key)
@@ -67,7 +69,9 @@ class AccessKeyArgs:
67
69
  @pulumi.getter
68
70
  def status(self) -> Optional[pulumi.Input[str]]:
69
71
  """
70
- Status of access key. It must be `Active` or `Inactive`. Default value is `Active`.
72
+ The status of the AccessKey. Value:
73
+ - Active: Activated.
74
+ - Inactive: Disabled.
71
75
  """
72
76
  return pulumi.get(self, "status")
73
77
 
@@ -79,7 +83,7 @@ class AccessKeyArgs:
79
83
  @pulumi.getter(name="userName")
80
84
  def user_name(self) -> Optional[pulumi.Input[str]]:
81
85
  """
82
- Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
86
+ The RAM user name.
83
87
  """
84
88
  return pulumi.get(self, "user_name")
85
89
 
@@ -91,6 +95,7 @@ class AccessKeyArgs:
91
95
  @pulumi.input_type
92
96
  class _AccessKeyState:
93
97
  def __init__(__self__, *,
98
+ create_time: Optional[pulumi.Input[str]] = None,
94
99
  encrypted_secret: Optional[pulumi.Input[str]] = None,
95
100
  key_fingerprint: Optional[pulumi.Input[str]] = None,
96
101
  pgp_key: Optional[pulumi.Input[str]] = None,
@@ -100,16 +105,21 @@ class _AccessKeyState:
100
105
  user_name: Optional[pulumi.Input[str]] = None):
101
106
  """
102
107
  Input properties used for looking up and filtering AccessKey resources.
103
- :param pulumi.Input[str] key_fingerprint: The fingerprint of the PGP key used to encrypt the secret
108
+ :param pulumi.Input[str] create_time: (Available since v1.246.0) The create time of the AccessKey.
109
+ :param pulumi.Input[str] key_fingerprint: (Available since v1.47.0) The fingerprint of the PGP key used to encrypt the secret
104
110
  :param pulumi.Input[str] pgp_key: Either a base-64 encoded PGP public key, or a keybase username in the form `keybase:some_person_that_exists`
105
- :param pulumi.Input[str] secret: (Available since 1.98.0+) - The secret access key. Note that this will be written to the state file.
111
+ :param pulumi.Input[str] secret: (Available since v1.98.0) The secret access key. Note that this will be written to the state file.
106
112
  If you use this, please protect your backend state file judiciously.
107
113
  Alternatively, you may supply a `pgp_key` instead, which will prevent the secret from being stored in plaintext,
108
114
  at the cost of preventing the use of the secret key in automation.
109
115
  :param pulumi.Input[str] secret_file: The name of file that can save access key id and access key secret. Strongly suggest you to specified it when you creating access key, otherwise, you wouldn't get its secret ever.
110
- :param pulumi.Input[str] status: Status of access key. It must be `Active` or `Inactive`. Default value is `Active`.
111
- :param pulumi.Input[str] user_name: Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
116
+ :param pulumi.Input[str] status: The status of the AccessKey. Value:
117
+ - Active: Activated.
118
+ - Inactive: Disabled.
119
+ :param pulumi.Input[str] user_name: The RAM user name.
112
120
  """
121
+ if create_time is not None:
122
+ pulumi.set(__self__, "create_time", create_time)
113
123
  if encrypted_secret is not None:
114
124
  pulumi.set(__self__, "encrypted_secret", encrypted_secret)
115
125
  if key_fingerprint is not None:
@@ -125,6 +135,18 @@ class _AccessKeyState:
125
135
  if user_name is not None:
126
136
  pulumi.set(__self__, "user_name", user_name)
127
137
 
138
+ @property
139
+ @pulumi.getter(name="createTime")
140
+ def create_time(self) -> Optional[pulumi.Input[str]]:
141
+ """
142
+ (Available since v1.246.0) The create time of the AccessKey.
143
+ """
144
+ return pulumi.get(self, "create_time")
145
+
146
+ @create_time.setter
147
+ def create_time(self, value: Optional[pulumi.Input[str]]):
148
+ pulumi.set(self, "create_time", value)
149
+
128
150
  @property
129
151
  @pulumi.getter(name="encryptedSecret")
130
152
  def encrypted_secret(self) -> Optional[pulumi.Input[str]]:
@@ -138,7 +160,7 @@ class _AccessKeyState:
138
160
  @pulumi.getter(name="keyFingerprint")
139
161
  def key_fingerprint(self) -> Optional[pulumi.Input[str]]:
140
162
  """
141
- The fingerprint of the PGP key used to encrypt the secret
163
+ (Available since v1.47.0) The fingerprint of the PGP key used to encrypt the secret
142
164
  """
143
165
  return pulumi.get(self, "key_fingerprint")
144
166
 
@@ -162,7 +184,7 @@ class _AccessKeyState:
162
184
  @pulumi.getter
163
185
  def secret(self) -> Optional[pulumi.Input[str]]:
164
186
  """
165
- (Available since 1.98.0+) - The secret access key. Note that this will be written to the state file.
187
+ (Available since v1.98.0) The secret access key. Note that this will be written to the state file.
166
188
  If you use this, please protect your backend state file judiciously.
167
189
  Alternatively, you may supply a `pgp_key` instead, which will prevent the secret from being stored in plaintext,
168
190
  at the cost of preventing the use of the secret key in automation.
@@ -189,7 +211,9 @@ class _AccessKeyState:
189
211
  @pulumi.getter
190
212
  def status(self) -> Optional[pulumi.Input[str]]:
191
213
  """
192
- Status of access key. It must be `Active` or `Inactive`. Default value is `Active`.
214
+ The status of the AccessKey. Value:
215
+ - Active: Activated.
216
+ - Inactive: Disabled.
193
217
  """
194
218
  return pulumi.get(self, "status")
195
219
 
@@ -201,7 +225,7 @@ class _AccessKeyState:
201
225
  @pulumi.getter(name="userName")
202
226
  def user_name(self) -> Optional[pulumi.Input[str]]:
203
227
  """
204
- Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
228
+ The RAM user name.
205
229
  """
206
230
  return pulumi.get(self, "user_name")
207
231
 
@@ -221,14 +245,16 @@ class AccessKey(pulumi.CustomResource):
221
245
  user_name: Optional[pulumi.Input[str]] = None,
222
246
  __props__=None):
223
247
  """
224
- Provides a RAM User access key resource.
248
+ Provides a RAM Access Key resource.
249
+
250
+ For information about RAM Access Key and how to use it, see [What is Access Key](https://www.alibabacloud.com/help/en/ram/developer-reference/api-ram-2015-05-01-createaccesskey).
251
+
252
+ > **NOTE:** Available since v1.0.0.
225
253
 
226
254
  > **NOTE:** You should set the `secret_file` if you want to get the access key.
227
255
 
228
256
  > **NOTE:** From version 1.98.0, if not set `pgp_key`, the resource will output the access key secret to field `secret` and please protect your backend state file judiciously
229
257
 
230
- > **NOTE:** Available since v1.0.0+.
231
-
232
258
  ## Example Usage
233
259
 
234
260
  Output the secret to a file.
@@ -236,10 +262,14 @@ class AccessKey(pulumi.CustomResource):
236
262
  ```python
237
263
  import pulumi
238
264
  import pulumi_alicloud as alicloud
265
+ import pulumi_random as random
239
266
 
267
+ default = random.index.Integer("default",
268
+ min=10000,
269
+ max=99999)
240
270
  # Create a new RAM access key for user.
241
271
  user = alicloud.ram.User("user",
242
- name="terraform-example",
272
+ name=f"terraform-example-{default['result']}",
243
273
  display_name="user_display_name",
244
274
  mobile="86-18688888888",
245
275
  email="hello.uuu@aaa.com",
@@ -255,10 +285,14 @@ class AccessKey(pulumi.CustomResource):
255
285
  ```python
256
286
  import pulumi
257
287
  import pulumi_alicloud as alicloud
288
+ import pulumi_random as random
258
289
 
290
+ default = random.index.Integer("default",
291
+ min=10000,
292
+ max=99999)
259
293
  # Create a new RAM access key for user.
260
294
  user = alicloud.ram.User("user",
261
- name="terraform-example",
295
+ name=f"terraform-example-{default['result']}",
262
296
  display_name="user_display_name",
263
297
  mobile="86-18688888888",
264
298
  email="hello.uuu@aaa.com",
@@ -293,15 +327,17 @@ class AccessKey(pulumi.CustomResource):
293
327
  8iDV+dNtDVKfPRENiLOOc19MmS+phmUyrbHqI91c0pmysYcJZCD3a502X1gpjFbPZcRtiTmGnUKd
294
328
  OIu60YPNE4+h7u2CfYyFPu3AlUaGNMBlvy6PEpU=
295
329
  \"\"\")
296
- pulumi.export("secret", encrypt.encrypted_secret)
330
+ pulumi.export("encryptedSecret", encrypt.encrypted_secret)
297
331
  ```
298
332
 
299
333
  :param str resource_name: The name of the resource.
300
334
  :param pulumi.ResourceOptions opts: Options for the resource.
301
335
  :param pulumi.Input[str] pgp_key: Either a base-64 encoded PGP public key, or a keybase username in the form `keybase:some_person_that_exists`
302
336
  :param pulumi.Input[str] secret_file: The name of file that can save access key id and access key secret. Strongly suggest you to specified it when you creating access key, otherwise, you wouldn't get its secret ever.
303
- :param pulumi.Input[str] status: Status of access key. It must be `Active` or `Inactive`. Default value is `Active`.
304
- :param pulumi.Input[str] user_name: Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
337
+ :param pulumi.Input[str] status: The status of the AccessKey. Value:
338
+ - Active: Activated.
339
+ - Inactive: Disabled.
340
+ :param pulumi.Input[str] user_name: The RAM user name.
305
341
  """
306
342
  ...
307
343
  @overload
@@ -310,14 +346,16 @@ class AccessKey(pulumi.CustomResource):
310
346
  args: Optional[AccessKeyArgs] = None,
311
347
  opts: Optional[pulumi.ResourceOptions] = None):
312
348
  """
313
- Provides a RAM User access key resource.
349
+ Provides a RAM Access Key resource.
350
+
351
+ For information about RAM Access Key and how to use it, see [What is Access Key](https://www.alibabacloud.com/help/en/ram/developer-reference/api-ram-2015-05-01-createaccesskey).
352
+
353
+ > **NOTE:** Available since v1.0.0.
314
354
 
315
355
  > **NOTE:** You should set the `secret_file` if you want to get the access key.
316
356
 
317
357
  > **NOTE:** From version 1.98.0, if not set `pgp_key`, the resource will output the access key secret to field `secret` and please protect your backend state file judiciously
318
358
 
319
- > **NOTE:** Available since v1.0.0+.
320
-
321
359
  ## Example Usage
322
360
 
323
361
  Output the secret to a file.
@@ -325,10 +363,14 @@ class AccessKey(pulumi.CustomResource):
325
363
  ```python
326
364
  import pulumi
327
365
  import pulumi_alicloud as alicloud
366
+ import pulumi_random as random
328
367
 
368
+ default = random.index.Integer("default",
369
+ min=10000,
370
+ max=99999)
329
371
  # Create a new RAM access key for user.
330
372
  user = alicloud.ram.User("user",
331
- name="terraform-example",
373
+ name=f"terraform-example-{default['result']}",
332
374
  display_name="user_display_name",
333
375
  mobile="86-18688888888",
334
376
  email="hello.uuu@aaa.com",
@@ -344,10 +386,14 @@ class AccessKey(pulumi.CustomResource):
344
386
  ```python
345
387
  import pulumi
346
388
  import pulumi_alicloud as alicloud
389
+ import pulumi_random as random
347
390
 
391
+ default = random.index.Integer("default",
392
+ min=10000,
393
+ max=99999)
348
394
  # Create a new RAM access key for user.
349
395
  user = alicloud.ram.User("user",
350
- name="terraform-example",
396
+ name=f"terraform-example-{default['result']}",
351
397
  display_name="user_display_name",
352
398
  mobile="86-18688888888",
353
399
  email="hello.uuu@aaa.com",
@@ -382,7 +428,7 @@ class AccessKey(pulumi.CustomResource):
382
428
  8iDV+dNtDVKfPRENiLOOc19MmS+phmUyrbHqI91c0pmysYcJZCD3a502X1gpjFbPZcRtiTmGnUKd
383
429
  OIu60YPNE4+h7u2CfYyFPu3AlUaGNMBlvy6PEpU=
384
430
  \"\"\")
385
- pulumi.export("secret", encrypt.encrypted_secret)
431
+ pulumi.export("encryptedSecret", encrypt.encrypted_secret)
386
432
  ```
387
433
 
388
434
  :param str resource_name: The name of the resource.
@@ -417,6 +463,7 @@ class AccessKey(pulumi.CustomResource):
417
463
  __props__.__dict__["secret_file"] = secret_file
418
464
  __props__.__dict__["status"] = status
419
465
  __props__.__dict__["user_name"] = user_name
466
+ __props__.__dict__["create_time"] = None
420
467
  __props__.__dict__["encrypted_secret"] = None
421
468
  __props__.__dict__["key_fingerprint"] = None
422
469
  __props__.__dict__["secret"] = None
@@ -432,6 +479,7 @@ class AccessKey(pulumi.CustomResource):
432
479
  def get(resource_name: str,
433
480
  id: pulumi.Input[str],
434
481
  opts: Optional[pulumi.ResourceOptions] = None,
482
+ create_time: Optional[pulumi.Input[str]] = None,
435
483
  encrypted_secret: Optional[pulumi.Input[str]] = None,
436
484
  key_fingerprint: Optional[pulumi.Input[str]] = None,
437
485
  pgp_key: Optional[pulumi.Input[str]] = None,
@@ -446,20 +494,24 @@ class AccessKey(pulumi.CustomResource):
446
494
  :param str resource_name: The unique name of the resulting resource.
447
495
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
448
496
  :param pulumi.ResourceOptions opts: Options for the resource.
449
- :param pulumi.Input[str] key_fingerprint: The fingerprint of the PGP key used to encrypt the secret
497
+ :param pulumi.Input[str] create_time: (Available since v1.246.0) The create time of the AccessKey.
498
+ :param pulumi.Input[str] key_fingerprint: (Available since v1.47.0) The fingerprint of the PGP key used to encrypt the secret
450
499
  :param pulumi.Input[str] pgp_key: Either a base-64 encoded PGP public key, or a keybase username in the form `keybase:some_person_that_exists`
451
- :param pulumi.Input[str] secret: (Available since 1.98.0+) - The secret access key. Note that this will be written to the state file.
500
+ :param pulumi.Input[str] secret: (Available since v1.98.0) The secret access key. Note that this will be written to the state file.
452
501
  If you use this, please protect your backend state file judiciously.
453
502
  Alternatively, you may supply a `pgp_key` instead, which will prevent the secret from being stored in plaintext,
454
503
  at the cost of preventing the use of the secret key in automation.
455
504
  :param pulumi.Input[str] secret_file: The name of file that can save access key id and access key secret. Strongly suggest you to specified it when you creating access key, otherwise, you wouldn't get its secret ever.
456
- :param pulumi.Input[str] status: Status of access key. It must be `Active` or `Inactive`. Default value is `Active`.
457
- :param pulumi.Input[str] user_name: Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
505
+ :param pulumi.Input[str] status: The status of the AccessKey. Value:
506
+ - Active: Activated.
507
+ - Inactive: Disabled.
508
+ :param pulumi.Input[str] user_name: The RAM user name.
458
509
  """
459
510
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
460
511
 
461
512
  __props__ = _AccessKeyState.__new__(_AccessKeyState)
462
513
 
514
+ __props__.__dict__["create_time"] = create_time
463
515
  __props__.__dict__["encrypted_secret"] = encrypted_secret
464
516
  __props__.__dict__["key_fingerprint"] = key_fingerprint
465
517
  __props__.__dict__["pgp_key"] = pgp_key
@@ -469,6 +521,14 @@ class AccessKey(pulumi.CustomResource):
469
521
  __props__.__dict__["user_name"] = user_name
470
522
  return AccessKey(resource_name, opts=opts, __props__=__props__)
471
523
 
524
+ @property
525
+ @pulumi.getter(name="createTime")
526
+ def create_time(self) -> pulumi.Output[str]:
527
+ """
528
+ (Available since v1.246.0) The create time of the AccessKey.
529
+ """
530
+ return pulumi.get(self, "create_time")
531
+
472
532
  @property
473
533
  @pulumi.getter(name="encryptedSecret")
474
534
  def encrypted_secret(self) -> pulumi.Output[str]:
@@ -478,7 +538,7 @@ class AccessKey(pulumi.CustomResource):
478
538
  @pulumi.getter(name="keyFingerprint")
479
539
  def key_fingerprint(self) -> pulumi.Output[str]:
480
540
  """
481
- The fingerprint of the PGP key used to encrypt the secret
541
+ (Available since v1.47.0) The fingerprint of the PGP key used to encrypt the secret
482
542
  """
483
543
  return pulumi.get(self, "key_fingerprint")
484
544
 
@@ -494,7 +554,7 @@ class AccessKey(pulumi.CustomResource):
494
554
  @pulumi.getter
495
555
  def secret(self) -> pulumi.Output[str]:
496
556
  """
497
- (Available since 1.98.0+) - The secret access key. Note that this will be written to the state file.
557
+ (Available since v1.98.0) The secret access key. Note that this will be written to the state file.
498
558
  If you use this, please protect your backend state file judiciously.
499
559
  Alternatively, you may supply a `pgp_key` instead, which will prevent the secret from being stored in plaintext,
500
560
  at the cost of preventing the use of the secret key in automation.
@@ -511,9 +571,11 @@ class AccessKey(pulumi.CustomResource):
511
571
 
512
572
  @property
513
573
  @pulumi.getter
514
- def status(self) -> pulumi.Output[Optional[str]]:
574
+ def status(self) -> pulumi.Output[str]:
515
575
  """
516
- Status of access key. It must be `Active` or `Inactive`. Default value is `Active`.
576
+ The status of the AccessKey. Value:
577
+ - Active: Activated.
578
+ - Inactive: Disabled.
517
579
  """
518
580
  return pulumi.get(self, "status")
519
581
 
@@ -521,7 +583,7 @@ class AccessKey(pulumi.CustomResource):
521
583
  @pulumi.getter(name="userName")
522
584
  def user_name(self) -> pulumi.Output[Optional[str]]:
523
585
  """
524
- Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.
586
+ The RAM user name.
525
587
  """
526
588
  return pulumi.get(self, "user_name")
527
589
 
@@ -22,7 +22,8 @@ class AccountAliasArgs:
22
22
  account_alias: pulumi.Input[str]):
23
23
  """
24
24
  The set of arguments for constructing a AccountAlias resource.
25
- :param pulumi.Input[str] account_alias: Alias of cloud account. This name can have a string of 3 to 32 characters, must contain only alphanumeric characters or hyphens, such as "-", and must not begin with a hyphen.
25
+ :param pulumi.Input[str] account_alias: The alias of the account.
26
+ It can be 3 to 32 characters in length and can contain lowercase letters, digits, and dashes (-).
26
27
  """
27
28
  pulumi.set(__self__, "account_alias", account_alias)
28
29
 
@@ -30,7 +31,8 @@ class AccountAliasArgs:
30
31
  @pulumi.getter(name="accountAlias")
31
32
  def account_alias(self) -> pulumi.Input[str]:
32
33
  """
33
- Alias of cloud account. This name can have a string of 3 to 32 characters, must contain only alphanumeric characters or hyphens, such as "-", and must not begin with a hyphen.
34
+ The alias of the account.
35
+ It can be 3 to 32 characters in length and can contain lowercase letters, digits, and dashes (-).
34
36
  """
35
37
  return pulumi.get(self, "account_alias")
36
38
 
@@ -45,7 +47,8 @@ class _AccountAliasState:
45
47
  account_alias: Optional[pulumi.Input[str]] = None):
46
48
  """
47
49
  Input properties used for looking up and filtering AccountAlias resources.
48
- :param pulumi.Input[str] account_alias: Alias of cloud account. This name can have a string of 3 to 32 characters, must contain only alphanumeric characters or hyphens, such as "-", and must not begin with a hyphen.
50
+ :param pulumi.Input[str] account_alias: The alias of the account.
51
+ It can be 3 to 32 characters in length and can contain lowercase letters, digits, and dashes (-).
49
52
  """
50
53
  if account_alias is not None:
51
54
  pulumi.set(__self__, "account_alias", account_alias)
@@ -54,7 +57,8 @@ class _AccountAliasState:
54
57
  @pulumi.getter(name="accountAlias")
55
58
  def account_alias(self) -> Optional[pulumi.Input[str]]:
56
59
  """
57
- Alias of cloud account. This name can have a string of 3 to 32 characters, must contain only alphanumeric characters or hyphens, such as "-", and must not begin with a hyphen.
60
+ The alias of the account.
61
+ It can be 3 to 32 characters in length and can contain lowercase letters, digits, and dashes (-).
58
62
  """
59
63
  return pulumi.get(self, "account_alias")
60
64
 
@@ -71,34 +75,18 @@ class AccountAlias(pulumi.CustomResource):
71
75
  account_alias: Optional[pulumi.Input[str]] = None,
72
76
  __props__=None):
73
77
  """
74
- Provides a RAM cloud account alias.
75
-
76
- > **NOTE:** Available since v1.0.0.
77
-
78
- ## Example Usage
79
-
80
- ```python
81
- import pulumi
82
- import pulumi_alicloud as alicloud
83
-
84
- config = pulumi.Config()
85
- name = config.get("name")
86
- if name is None:
87
- name = "tfexample"
88
- alias = alicloud.ram.AccountAlias("alias", account_alias=name)
89
- ```
90
-
91
78
  ## Import
92
79
 
93
- RAM account alias can be imported using the id, e.g.
80
+ RAM Account Alias can be imported using the id, e.g.
94
81
 
95
82
  ```sh
96
- $ pulumi import alicloud:ram/accountAlias:AccountAlias example my-alias
83
+ $ pulumi import alicloud:ram/accountAlias:AccountAlias example <id>
97
84
  ```
98
85
 
99
86
  :param str resource_name: The name of the resource.
100
87
  :param pulumi.ResourceOptions opts: Options for the resource.
101
- :param pulumi.Input[str] account_alias: Alias of cloud account. This name can have a string of 3 to 32 characters, must contain only alphanumeric characters or hyphens, such as "-", and must not begin with a hyphen.
88
+ :param pulumi.Input[str] account_alias: The alias of the account.
89
+ It can be 3 to 32 characters in length and can contain lowercase letters, digits, and dashes (-).
102
90
  """
103
91
  ...
104
92
  @overload
@@ -107,29 +95,12 @@ class AccountAlias(pulumi.CustomResource):
107
95
  args: AccountAliasArgs,
108
96
  opts: Optional[pulumi.ResourceOptions] = None):
109
97
  """
110
- Provides a RAM cloud account alias.
111
-
112
- > **NOTE:** Available since v1.0.0.
113
-
114
- ## Example Usage
115
-
116
- ```python
117
- import pulumi
118
- import pulumi_alicloud as alicloud
119
-
120
- config = pulumi.Config()
121
- name = config.get("name")
122
- if name is None:
123
- name = "tfexample"
124
- alias = alicloud.ram.AccountAlias("alias", account_alias=name)
125
- ```
126
-
127
98
  ## Import
128
99
 
129
- RAM account alias can be imported using the id, e.g.
100
+ RAM Account Alias can be imported using the id, e.g.
130
101
 
131
102
  ```sh
132
- $ pulumi import alicloud:ram/accountAlias:AccountAlias example my-alias
103
+ $ pulumi import alicloud:ram/accountAlias:AccountAlias example <id>
133
104
  ```
134
105
 
135
106
  :param str resource_name: The name of the resource.
@@ -178,7 +149,8 @@ class AccountAlias(pulumi.CustomResource):
178
149
  :param str resource_name: The unique name of the resulting resource.
179
150
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
180
151
  :param pulumi.ResourceOptions opts: Options for the resource.
181
- :param pulumi.Input[str] account_alias: Alias of cloud account. This name can have a string of 3 to 32 characters, must contain only alphanumeric characters or hyphens, such as "-", and must not begin with a hyphen.
152
+ :param pulumi.Input[str] account_alias: The alias of the account.
153
+ It can be 3 to 32 characters in length and can contain lowercase letters, digits, and dashes (-).
182
154
  """
183
155
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
184
156
 
@@ -191,7 +163,8 @@ class AccountAlias(pulumi.CustomResource):
191
163
  @pulumi.getter(name="accountAlias")
192
164
  def account_alias(self) -> pulumi.Output[str]:
193
165
  """
194
- Alias of cloud account. This name can have a string of 3 to 32 characters, must contain only alphanumeric characters or hyphens, such as "-", and must not begin with a hyphen.
166
+ The alias of the account.
167
+ It can be 3 to 32 characters in length and can contain lowercase letters, digits, and dashes (-).
195
168
  """
196
169
  return pulumi.get(self, "account_alias")
197
170
 
@@ -0,0 +1,189 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetSystemPolicysResult',
20
+ 'AwaitableGetSystemPolicysResult',
21
+ 'get_system_policys',
22
+ 'get_system_policys_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetSystemPolicysResult:
27
+ """
28
+ A collection of values returned by getSystemPolicys.
29
+ """
30
+ def __init__(__self__, id=None, ids=None, name_regex=None, names=None, output_file=None, policys=None):
31
+ if id and not isinstance(id, str):
32
+ raise TypeError("Expected argument 'id' to be a str")
33
+ pulumi.set(__self__, "id", id)
34
+ if ids and not isinstance(ids, list):
35
+ raise TypeError("Expected argument 'ids' to be a list")
36
+ pulumi.set(__self__, "ids", ids)
37
+ if name_regex and not isinstance(name_regex, str):
38
+ raise TypeError("Expected argument 'name_regex' to be a str")
39
+ pulumi.set(__self__, "name_regex", name_regex)
40
+ if names and not isinstance(names, list):
41
+ raise TypeError("Expected argument 'names' to be a list")
42
+ pulumi.set(__self__, "names", names)
43
+ if output_file and not isinstance(output_file, str):
44
+ raise TypeError("Expected argument 'output_file' to be a str")
45
+ pulumi.set(__self__, "output_file", output_file)
46
+ if policys and not isinstance(policys, list):
47
+ raise TypeError("Expected argument 'policys' to be a list")
48
+ pulumi.set(__self__, "policys", policys)
49
+
50
+ @property
51
+ @pulumi.getter
52
+ def id(self) -> str:
53
+ """
54
+ The provider-assigned unique ID for this managed resource.
55
+ """
56
+ return pulumi.get(self, "id")
57
+
58
+ @property
59
+ @pulumi.getter
60
+ def ids(self) -> Sequence[str]:
61
+ """
62
+ A list of System Policy IDs.
63
+ """
64
+ return pulumi.get(self, "ids")
65
+
66
+ @property
67
+ @pulumi.getter(name="nameRegex")
68
+ def name_regex(self) -> Optional[str]:
69
+ return pulumi.get(self, "name_regex")
70
+
71
+ @property
72
+ @pulumi.getter
73
+ def names(self) -> Sequence[str]:
74
+ """
75
+ A list of name of System Policys.
76
+ """
77
+ return pulumi.get(self, "names")
78
+
79
+ @property
80
+ @pulumi.getter(name="outputFile")
81
+ def output_file(self) -> Optional[str]:
82
+ return pulumi.get(self, "output_file")
83
+
84
+ @property
85
+ @pulumi.getter
86
+ def policys(self) -> Sequence['outputs.GetSystemPolicysPolicyResult']:
87
+ """
88
+ A list of System Policy Entries. Each element contains the following attributes:
89
+ """
90
+ return pulumi.get(self, "policys")
91
+
92
+
93
+ class AwaitableGetSystemPolicysResult(GetSystemPolicysResult):
94
+ # pylint: disable=using-constant-test
95
+ def __await__(self):
96
+ if False:
97
+ yield self
98
+ return GetSystemPolicysResult(
99
+ id=self.id,
100
+ ids=self.ids,
101
+ name_regex=self.name_regex,
102
+ names=self.names,
103
+ output_file=self.output_file,
104
+ policys=self.policys)
105
+
106
+
107
+ def get_system_policys(ids: Optional[Sequence[str]] = None,
108
+ name_regex: Optional[str] = None,
109
+ output_file: Optional[str] = None,
110
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSystemPolicysResult:
111
+ """
112
+ This data source provides Ram System Policy available to the user.[What is System Policy](https://next.api.alibabacloud.com/document/Ram/2015-05-01/GetPolicy)
113
+
114
+ > **NOTE:** Available since v1.245.0.
115
+
116
+ ## Example Usage
117
+
118
+ ```python
119
+ import pulumi
120
+ import pulumi_alicloud as alicloud
121
+
122
+ config = pulumi.Config()
123
+ name = config.get("name")
124
+ if name is None:
125
+ name = "terraform-example"
126
+ default = alicloud.ram.get_system_policys(name_regex="^AdministratorAccess$")
127
+ pulumi.export("alicloudRamSystemPolicyExampleId", default.policys[0].id)
128
+ ```
129
+
130
+
131
+ :param Sequence[str] ids: A list of System Policy IDs.
132
+ :param str name_regex: A regex string to filter results by Group Metric Rule name.
133
+ :param str output_file: File name where to save data source results (after running `pulumi preview`).
134
+ """
135
+ __args__ = dict()
136
+ __args__['ids'] = ids
137
+ __args__['nameRegex'] = name_regex
138
+ __args__['outputFile'] = output_file
139
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
140
+ __ret__ = pulumi.runtime.invoke('alicloud:ram/getSystemPolicys:getSystemPolicys', __args__, opts=opts, typ=GetSystemPolicysResult).value
141
+
142
+ return AwaitableGetSystemPolicysResult(
143
+ id=pulumi.get(__ret__, 'id'),
144
+ ids=pulumi.get(__ret__, 'ids'),
145
+ name_regex=pulumi.get(__ret__, 'name_regex'),
146
+ names=pulumi.get(__ret__, 'names'),
147
+ output_file=pulumi.get(__ret__, 'output_file'),
148
+ policys=pulumi.get(__ret__, 'policys'))
149
+ def get_system_policys_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
150
+ name_regex: Optional[pulumi.Input[Optional[str]]] = None,
151
+ output_file: Optional[pulumi.Input[Optional[str]]] = None,
152
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSystemPolicysResult]:
153
+ """
154
+ This data source provides Ram System Policy available to the user.[What is System Policy](https://next.api.alibabacloud.com/document/Ram/2015-05-01/GetPolicy)
155
+
156
+ > **NOTE:** Available since v1.245.0.
157
+
158
+ ## Example Usage
159
+
160
+ ```python
161
+ import pulumi
162
+ import pulumi_alicloud as alicloud
163
+
164
+ config = pulumi.Config()
165
+ name = config.get("name")
166
+ if name is None:
167
+ name = "terraform-example"
168
+ default = alicloud.ram.get_system_policys(name_regex="^AdministratorAccess$")
169
+ pulumi.export("alicloudRamSystemPolicyExampleId", default.policys[0].id)
170
+ ```
171
+
172
+
173
+ :param Sequence[str] ids: A list of System Policy IDs.
174
+ :param str name_regex: A regex string to filter results by Group Metric Rule name.
175
+ :param str output_file: File name where to save data source results (after running `pulumi preview`).
176
+ """
177
+ __args__ = dict()
178
+ __args__['ids'] = ids
179
+ __args__['nameRegex'] = name_regex
180
+ __args__['outputFile'] = output_file
181
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
182
+ __ret__ = pulumi.runtime.invoke_output('alicloud:ram/getSystemPolicys:getSystemPolicys', __args__, opts=opts, typ=GetSystemPolicysResult)
183
+ return __ret__.apply(lambda __response__: GetSystemPolicysResult(
184
+ id=pulumi.get(__response__, 'id'),
185
+ ids=pulumi.get(__response__, 'ids'),
186
+ name_regex=pulumi.get(__response__, 'name_regex'),
187
+ names=pulumi.get(__response__, 'names'),
188
+ output_file=pulumi.get(__response__, 'output_file'),
189
+ policys=pulumi.get(__response__, 'policys')))