pulumi-alicloud 3.76.0a1743571220__py3-none-any.whl → 3.76.0a1744139894__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (237) hide show
  1. pulumi_alicloud/__init__.py +271 -4
  2. pulumi_alicloud/_inputs.py +20 -0
  3. pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
  4. pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
  5. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
  6. pulumi_alicloud/alb/server_group.py +2 -2
  7. pulumi_alicloud/alikafka/sasl_acl.py +7 -7
  8. pulumi_alicloud/apigateway/_inputs.py +134 -0
  9. pulumi_alicloud/apigateway/group.py +117 -5
  10. pulumi_alicloud/apigateway/instance.py +148 -7
  11. pulumi_alicloud/apigateway/outputs.py +107 -0
  12. pulumi_alicloud/arms/alert_contact.py +2 -2
  13. pulumi_alicloud/arms/alert_contact_group.py +2 -2
  14. pulumi_alicloud/arms/get_prometheus.py +2 -6
  15. pulumi_alicloud/arms/grafana_workspace.py +511 -69
  16. pulumi_alicloud/arms/outputs.py +18 -18
  17. pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
  18. pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
  19. pulumi_alicloud/cdn/domain_new.py +2 -2
  20. pulumi_alicloud/cen/_inputs.py +6 -3
  21. pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
  22. pulumi_alicloud/cen/instance.py +101 -59
  23. pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
  24. pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
  25. pulumi_alicloud/cen/outputs.py +69 -26
  26. pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
  27. pulumi_alicloud/cen/transit_router.py +127 -53
  28. pulumi_alicloud/cen/transit_router_cidr.py +53 -35
  29. pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
  30. pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
  31. pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
  32. pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
  33. pulumi_alicloud/clickhouse/db_cluster.py +179 -6
  34. pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
  35. pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
  36. pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
  37. pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
  38. pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
  39. pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
  40. pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
  41. pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
  42. pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
  43. pulumi_alicloud/config/outputs.py +12 -0
  44. pulumi_alicloud/cs/__init__.py +1 -0
  45. pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
  46. pulumi_alicloud/cs/managed_kubernetes.py +127 -24
  47. pulumi_alicloud/cs/node_pool.py +42 -42
  48. pulumi_alicloud/cs/outputs.py +1782 -4
  49. pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
  50. pulumi_alicloud/dataworks/data_source.py +2 -2
  51. pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
  52. pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
  53. pulumi_alicloud/dataworks/di_job.py +2 -2
  54. pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
  55. pulumi_alicloud/dataworks/network.py +2 -2
  56. pulumi_alicloud/dataworks/project.py +2 -2
  57. pulumi_alicloud/dataworks/project_member.py +2 -2
  58. pulumi_alicloud/dbs/backup_plan.py +2 -2
  59. pulumi_alicloud/ddos/bgp_policy.py +2 -2
  60. pulumi_alicloud/eais/__init__.py +2 -0
  61. pulumi_alicloud/eais/_inputs.py +75 -0
  62. pulumi_alicloud/eais/client_instance_attachment.py +408 -0
  63. pulumi_alicloud/eais/instance.py +365 -118
  64. pulumi_alicloud/eais/outputs.py +32 -0
  65. pulumi_alicloud/ebs/disk_replica_group.py +512 -30
  66. pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
  67. pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
  68. pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
  69. pulumi_alicloud/ecp/instance.py +2 -2
  70. pulumi_alicloud/ecp/key_pair.py +4 -4
  71. pulumi_alicloud/ecs/_inputs.py +33 -0
  72. pulumi_alicloud/ecs/disk.py +1 -1
  73. pulumi_alicloud/ecs/ecs_disk.py +1 -1
  74. pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
  75. pulumi_alicloud/ecs/instance.py +1 -1
  76. pulumi_alicloud/ecs/outputs.py +26 -2
  77. pulumi_alicloud/eflo/__init__.py +5 -0
  78. pulumi_alicloud/eflo/_inputs.py +1717 -0
  79. pulumi_alicloud/eflo/cluster.py +935 -0
  80. pulumi_alicloud/eflo/invocation.py +1114 -0
  81. pulumi_alicloud/eflo/node.py +1013 -0
  82. pulumi_alicloud/eflo/node_group.py +1101 -0
  83. pulumi_alicloud/eflo/outputs.py +1366 -0
  84. pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
  85. pulumi_alicloud/ens/image.py +81 -34
  86. pulumi_alicloud/esa/__init__.py +4 -0
  87. pulumi_alicloud/esa/_inputs.py +640 -18
  88. pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
  89. pulumi_alicloud/esa/cache_rule.py +193 -179
  90. pulumi_alicloud/esa/certificate.py +99 -92
  91. pulumi_alicloud/esa/compression_rule.py +42 -28
  92. pulumi_alicloud/esa/edge_container_app.py +972 -0
  93. pulumi_alicloud/esa/edge_container_app_record.py +376 -0
  94. pulumi_alicloud/esa/http_request_header_modification_rule.py +56 -42
  95. pulumi_alicloud/esa/http_response_header_modification_rule.py +35 -56
  96. pulumi_alicloud/esa/https_application_configuration.py +42 -28
  97. pulumi_alicloud/esa/https_basic_configuration.py +56 -42
  98. pulumi_alicloud/esa/image_transform.py +42 -28
  99. pulumi_alicloud/esa/kv_namespace.py +11 -11
  100. pulumi_alicloud/esa/list.py +28 -28
  101. pulumi_alicloud/esa/network_optimization.py +56 -126
  102. pulumi_alicloud/esa/origin_pool.py +19 -19
  103. pulumi_alicloud/esa/origin_rule.py +67 -39
  104. pulumi_alicloud/esa/outputs.py +536 -12
  105. pulumi_alicloud/esa/page.py +28 -49
  106. pulumi_alicloud/esa/rate_plan_instance.py +86 -159
  107. pulumi_alicloud/esa/redirect_rule.py +42 -28
  108. pulumi_alicloud/esa/rewrite_url_rule.py +49 -63
  109. pulumi_alicloud/esa/site.py +67 -123
  110. pulumi_alicloud/esa/site_delivery_task.py +841 -0
  111. pulumi_alicloud/esa/waiting_room.py +269 -319
  112. pulumi_alicloud/esa/waiting_room_event.py +291 -305
  113. pulumi_alicloud/esa/waiting_room_rule.py +46 -53
  114. pulumi_alicloud/ess/_inputs.py +155 -0
  115. pulumi_alicloud/ess/outputs.py +128 -0
  116. pulumi_alicloud/ess/scaling_group.py +237 -2
  117. pulumi_alicloud/ess/scaling_rule.py +143 -2
  118. pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
  119. pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
  120. pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
  121. pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
  122. pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
  123. pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
  124. pulumi_alicloud/gpdb/streaming_job.py +2 -2
  125. pulumi_alicloud/ims/oidc_provider.py +24 -13
  126. pulumi_alicloud/kvstore/account.py +9 -9
  127. pulumi_alicloud/kvstore/connection.py +2 -2
  128. pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
  129. pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
  130. pulumi_alicloud/kvstore/instance.py +7 -7
  131. pulumi_alicloud/kvstore/outputs.py +2 -2
  132. pulumi_alicloud/live/caster.py +2 -2
  133. pulumi_alicloud/maxcompute/__init__.py +1 -0
  134. pulumi_alicloud/maxcompute/_inputs.py +232 -3
  135. pulumi_alicloud/maxcompute/outputs.py +183 -2
  136. pulumi_alicloud/maxcompute/project.py +2 -2
  137. pulumi_alicloud/maxcompute/quota.py +438 -0
  138. pulumi_alicloud/nas/mount_target.py +149 -54
  139. pulumi_alicloud/nlb/__init__.py +1 -0
  140. pulumi_alicloud/nlb/_inputs.py +43 -6
  141. pulumi_alicloud/nlb/load_balancer.py +212 -24
  142. pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
  143. pulumi_alicloud/nlb/outputs.py +30 -4
  144. pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
  145. pulumi_alicloud/oss/__init__.py +1 -0
  146. pulumi_alicloud/oss/_inputs.py +20 -0
  147. pulumi_alicloud/oss/access_point.py +2 -2
  148. pulumi_alicloud/oss/bucket_cname.py +2 -2
  149. pulumi_alicloud/oss/bucket_cors.py +2 -2
  150. pulumi_alicloud/oss/bucket_style.py +402 -0
  151. pulumi_alicloud/oss/bucket_website.py +2 -2
  152. pulumi_alicloud/oss/outputs.py +14 -0
  153. pulumi_alicloud/pai/service.py +59 -67
  154. pulumi_alicloud/polardb/cluster.py +75 -28
  155. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
  156. pulumi_alicloud/pulumi-plugin.json +1 -1
  157. pulumi_alicloud/ram/__init__.py +3 -0
  158. pulumi_alicloud/ram/_inputs.py +9 -9
  159. pulumi_alicloud/ram/access_key.py +77 -31
  160. pulumi_alicloud/ram/account_alias.py +18 -45
  161. pulumi_alicloud/ram/get_system_policys.py +189 -0
  162. pulumi_alicloud/ram/group.py +156 -35
  163. pulumi_alicloud/ram/group_policy_attachment.py +51 -29
  164. pulumi_alicloud/ram/login_profile.py +92 -38
  165. pulumi_alicloud/ram/outputs.py +91 -6
  166. pulumi_alicloud/ram/password_policy.py +779 -0
  167. pulumi_alicloud/ram/policy.py +199 -88
  168. pulumi_alicloud/ram/role_policy_attachment.py +51 -29
  169. pulumi_alicloud/ram/saml_provider.py +44 -37
  170. pulumi_alicloud/ram/user_group_attachment.py +273 -0
  171. pulumi_alicloud/ram/user_policy_attachment.py +49 -27
  172. pulumi_alicloud/rds/__init__.py +1 -0
  173. pulumi_alicloud/rds/custom_disk.py +1053 -0
  174. pulumi_alicloud/rds/instance.py +110 -14
  175. pulumi_alicloud/redis/tair_instance.py +14 -14
  176. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  177. pulumi_alicloud/resourcemanager/_inputs.py +53 -0
  178. pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
  179. pulumi_alicloud/resourcemanager/outputs.py +50 -0
  180. pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
  181. pulumi_alicloud/rocketmq/__init__.py +1 -1
  182. pulumi_alicloud/rocketmq/_inputs.py +146 -4
  183. pulumi_alicloud/rocketmq/account.py +452 -0
  184. pulumi_alicloud/rocketmq/acl.py +473 -47
  185. pulumi_alicloud/rocketmq/client_user.py +8 -2
  186. pulumi_alicloud/rocketmq/consumer_group.py +121 -24
  187. pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
  188. pulumi_alicloud/rocketmq/outputs.py +113 -4
  189. pulumi_alicloud/rocketmq/qos.py +8 -2
  190. pulumi_alicloud/rocketmq/qos_car.py +10 -4
  191. pulumi_alicloud/rocketmq/qos_policy.py +6 -0
  192. pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
  193. pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
  194. pulumi_alicloud/rocketmq/snat_entry.py +8 -2
  195. pulumi_alicloud/sag/__init__.py +8 -0
  196. pulumi_alicloud/sag/acl.py +200 -0
  197. pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
  198. pulumi_alicloud/sag/client_user.py +560 -0
  199. pulumi_alicloud/sag/dnat_entry.py +512 -0
  200. pulumi_alicloud/sag/get_acls.py +2 -2
  201. pulumi_alicloud/sag/qos.py +202 -0
  202. pulumi_alicloud/sag/qos_car.py +654 -0
  203. pulumi_alicloud/sag/qos_policy.py +659 -0
  204. pulumi_alicloud/sag/snat_entry.py +313 -0
  205. pulumi_alicloud/securitycenter/group.py +2 -2
  206. pulumi_alicloud/selectdb/db_instance.py +60 -11
  207. pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
  208. pulumi_alicloud/sls/oss_export_sink.py +2 -2
  209. pulumi_alicloud/threatdetection/__init__.py +3 -0
  210. pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
  211. pulumi_alicloud/threatdetection/asset_bind.py +209 -0
  212. pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
  213. pulumi_alicloud/threatdetection/instance.py +271 -54
  214. pulumi_alicloud/threatdetection/log_meta.py +351 -0
  215. pulumi_alicloud/vpc/__init__.py +1 -0
  216. pulumi_alicloud/vpc/_inputs.py +281 -0
  217. pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
  218. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
  219. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
  220. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
  221. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
  222. pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
  223. pulumi_alicloud/vpc/ipv6_address.py +85 -5
  224. pulumi_alicloud/vpc/outputs.py +232 -0
  225. pulumi_alicloud/vpc/peer_connection.py +84 -42
  226. pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
  227. pulumi_alicloud/vpc/route_table.py +100 -45
  228. pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
  229. pulumi_alicloud/vpn/_inputs.py +716 -71
  230. pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
  231. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +20 -63
  232. pulumi_alicloud/vpn/ipsec_server.py +2 -2
  233. pulumi_alicloud/vpn/outputs.py +1963 -998
  234. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/METADATA +1 -1
  235. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/RECORD +237 -197
  236. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/WHEEL +0 -0
  237. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.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.
@@ -301,15 +327,17 @@ class AccessKey(pulumi.CustomResource):
301
327
  8iDV+dNtDVKfPRENiLOOc19MmS+phmUyrbHqI91c0pmysYcJZCD3a502X1gpjFbPZcRtiTmGnUKd
302
328
  OIu60YPNE4+h7u2CfYyFPu3AlUaGNMBlvy6PEpU=
303
329
  \"\"\")
304
- pulumi.export("secret", encrypt.encrypted_secret)
330
+ pulumi.export("encryptedSecret", encrypt.encrypted_secret)
305
331
  ```
306
332
 
307
333
  :param str resource_name: The name of the resource.
308
334
  :param pulumi.ResourceOptions opts: Options for the resource.
309
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`
310
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.
311
- :param pulumi.Input[str] status: Status of access key. It must be `Active` or `Inactive`. Default value is `Active`.
312
- :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.
313
341
  """
314
342
  ...
315
343
  @overload
@@ -318,14 +346,16 @@ class AccessKey(pulumi.CustomResource):
318
346
  args: Optional[AccessKeyArgs] = None,
319
347
  opts: Optional[pulumi.ResourceOptions] = None):
320
348
  """
321
- 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.
322
354
 
323
355
  > **NOTE:** You should set the `secret_file` if you want to get the access key.
324
356
 
325
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
326
358
 
327
- > **NOTE:** Available since v1.0.0+.
328
-
329
359
  ## Example Usage
330
360
 
331
361
  Output the secret to a file.
@@ -398,7 +428,7 @@ class AccessKey(pulumi.CustomResource):
398
428
  8iDV+dNtDVKfPRENiLOOc19MmS+phmUyrbHqI91c0pmysYcJZCD3a502X1gpjFbPZcRtiTmGnUKd
399
429
  OIu60YPNE4+h7u2CfYyFPu3AlUaGNMBlvy6PEpU=
400
430
  \"\"\")
401
- pulumi.export("secret", encrypt.encrypted_secret)
431
+ pulumi.export("encryptedSecret", encrypt.encrypted_secret)
402
432
  ```
403
433
 
404
434
  :param str resource_name: The name of the resource.
@@ -433,6 +463,7 @@ class AccessKey(pulumi.CustomResource):
433
463
  __props__.__dict__["secret_file"] = secret_file
434
464
  __props__.__dict__["status"] = status
435
465
  __props__.__dict__["user_name"] = user_name
466
+ __props__.__dict__["create_time"] = None
436
467
  __props__.__dict__["encrypted_secret"] = None
437
468
  __props__.__dict__["key_fingerprint"] = None
438
469
  __props__.__dict__["secret"] = None
@@ -448,6 +479,7 @@ class AccessKey(pulumi.CustomResource):
448
479
  def get(resource_name: str,
449
480
  id: pulumi.Input[str],
450
481
  opts: Optional[pulumi.ResourceOptions] = None,
482
+ create_time: Optional[pulumi.Input[str]] = None,
451
483
  encrypted_secret: Optional[pulumi.Input[str]] = None,
452
484
  key_fingerprint: Optional[pulumi.Input[str]] = None,
453
485
  pgp_key: Optional[pulumi.Input[str]] = None,
@@ -462,20 +494,24 @@ class AccessKey(pulumi.CustomResource):
462
494
  :param str resource_name: The unique name of the resulting resource.
463
495
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
464
496
  :param pulumi.ResourceOptions opts: Options for the resource.
465
- :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
466
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`
467
- :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.
468
501
  If you use this, please protect your backend state file judiciously.
469
502
  Alternatively, you may supply a `pgp_key` instead, which will prevent the secret from being stored in plaintext,
470
503
  at the cost of preventing the use of the secret key in automation.
471
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.
472
- :param pulumi.Input[str] status: Status of access key. It must be `Active` or `Inactive`. Default value is `Active`.
473
- :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.
474
509
  """
475
510
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
476
511
 
477
512
  __props__ = _AccessKeyState.__new__(_AccessKeyState)
478
513
 
514
+ __props__.__dict__["create_time"] = create_time
479
515
  __props__.__dict__["encrypted_secret"] = encrypted_secret
480
516
  __props__.__dict__["key_fingerprint"] = key_fingerprint
481
517
  __props__.__dict__["pgp_key"] = pgp_key
@@ -485,6 +521,14 @@ class AccessKey(pulumi.CustomResource):
485
521
  __props__.__dict__["user_name"] = user_name
486
522
  return AccessKey(resource_name, opts=opts, __props__=__props__)
487
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
+
488
532
  @property
489
533
  @pulumi.getter(name="encryptedSecret")
490
534
  def encrypted_secret(self) -> pulumi.Output[str]:
@@ -494,7 +538,7 @@ class AccessKey(pulumi.CustomResource):
494
538
  @pulumi.getter(name="keyFingerprint")
495
539
  def key_fingerprint(self) -> pulumi.Output[str]:
496
540
  """
497
- 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
498
542
  """
499
543
  return pulumi.get(self, "key_fingerprint")
500
544
 
@@ -510,7 +554,7 @@ class AccessKey(pulumi.CustomResource):
510
554
  @pulumi.getter
511
555
  def secret(self) -> pulumi.Output[str]:
512
556
  """
513
- (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.
514
558
  If you use this, please protect your backend state file judiciously.
515
559
  Alternatively, you may supply a `pgp_key` instead, which will prevent the secret from being stored in plaintext,
516
560
  at the cost of preventing the use of the secret key in automation.
@@ -527,9 +571,11 @@ class AccessKey(pulumi.CustomResource):
527
571
 
528
572
  @property
529
573
  @pulumi.getter
530
- def status(self) -> pulumi.Output[Optional[str]]:
574
+ def status(self) -> pulumi.Output[str]:
531
575
  """
532
- 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.
533
579
  """
534
580
  return pulumi.get(self, "status")
535
581
 
@@ -537,7 +583,7 @@ class AccessKey(pulumi.CustomResource):
537
583
  @pulumi.getter(name="userName")
538
584
  def user_name(self) -> pulumi.Output[Optional[str]]:
539
585
  """
540
- 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.
541
587
  """
542
588
  return pulumi.get(self, "user_name")
543
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')))