pulumi-alicloud 3.86.0a1758340042__py3-none-any.whl → 3.89.0a1763702747__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.
- pulumi_alicloud/__init__.py +83 -0
- pulumi_alicloud/actiontrail/get_trails_deprecated.py +20 -0
- pulumi_alicloud/adb/resource_group.py +463 -3
- pulumi_alicloud/alikafka/topic.py +278 -85
- pulumi_alicloud/apig/_inputs.py +80 -6
- pulumi_alicloud/apig/gateway.py +111 -3
- pulumi_alicloud/apig/outputs.py +67 -4
- pulumi_alicloud/cas/certificate.py +248 -35
- pulumi_alicloud/cas/service_certificate.py +454 -168
- pulumi_alicloud/cen/get_transit_router_peer_attachments.py +20 -0
- pulumi_alicloud/cen/get_transit_router_vbr_attachments.py +20 -0
- pulumi_alicloud/cfg/_inputs.py +27 -24
- pulumi_alicloud/cfg/aggregator.py +142 -53
- pulumi_alicloud/cfg/outputs.py +18 -15
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +132 -0
- pulumi_alicloud/cloudfirewall/get_tls_inspect_ca_certificates.py +214 -0
- pulumi_alicloud/cloudfirewall/outputs.py +30 -0
- pulumi_alicloud/cloudsso/__init__.py +1 -0
- pulumi_alicloud/cloudsso/get_user_provisioning_events.py +226 -0
- pulumi_alicloud/cloudsso/outputs.py +228 -0
- pulumi_alicloud/cloudsso/user.py +247 -80
- pulumi_alicloud/cms/_inputs.py +870 -10
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/cms/outputs.py +606 -6
- pulumi_alicloud/cms/site_monitor.py +360 -89
- pulumi_alicloud/cr/registry_enterprise_instance.py +63 -0
- pulumi_alicloud/cs/managed_kubernetes.py +6 -2
- pulumi_alicloud/ddos/domain_resource.py +89 -0
- pulumi_alicloud/dms/get_enterprise_logic_databases.py +8 -0
- pulumi_alicloud/dts/instance.py +14 -14
- pulumi_alicloud/eais/get_instances.py +8 -0
- pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +32 -0
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/elasticity_assurance.py +279 -20
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/security_group_rule.py +7 -7
- pulumi_alicloud/edas/get_deploy_groups.py +4 -0
- pulumi_alicloud/eflo/node.py +153 -15
- pulumi_alicloud/emrv2/get_clusters.py +260 -0
- pulumi_alicloud/ens/load_balancer.py +8 -4
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/_inputs.py +3774 -991
- pulumi_alicloud/esa/cache_rule.py +47 -0
- pulumi_alicloud/esa/certificate.py +21 -54
- pulumi_alicloud/esa/compression_rule.py +47 -0
- pulumi_alicloud/esa/http_response_header_modification_rule.py +89 -28
- pulumi_alicloud/esa/https_application_configuration.py +188 -0
- pulumi_alicloud/esa/https_basic_configuration.py +54 -7
- pulumi_alicloud/esa/image_transform.py +47 -0
- pulumi_alicloud/esa/load_balancer.py +999 -0
- pulumi_alicloud/esa/network_optimization.py +82 -21
- pulumi_alicloud/esa/origin_rule.py +470 -14
- pulumi_alicloud/esa/outputs.py +2080 -0
- pulumi_alicloud/esa/rate_plan_instance.py +64 -39
- pulumi_alicloud/esa/redirect_rule.py +68 -21
- pulumi_alicloud/esa/rewrite_url_rule.py +82 -56
- pulumi_alicloud/esa/waf_rule.py +510 -0
- pulumi_alicloud/ess/__init__.py +1 -0
- pulumi_alicloud/ess/_inputs.py +256 -0
- pulumi_alicloud/ess/alb_server_group_attachment.py +2 -2
- pulumi_alicloud/ess/attachment.py +10 -6
- pulumi_alicloud/ess/instance_refresh.py +760 -0
- pulumi_alicloud/ess/outputs.py +203 -0
- pulumi_alicloud/ess/scaling_configuration.py +2 -2
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/ess/server_group_attachment.py +2 -2
- pulumi_alicloud/ess/suspend_process.py +2 -2
- pulumi_alicloud/eventbridge/event_source.py +57 -57
- pulumi_alicloud/expressconnect/get_virtual_physical_connections.py +4 -0
- pulumi_alicloud/expressconnect/traffic_qos.py +137 -31
- pulumi_alicloud/expressconnect/traffic_qos_queue.py +91 -66
- pulumi_alicloud/expressconnect/traffic_qos_rule.py +307 -261
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +105 -59
- pulumi_alicloud/ga/_inputs.py +56 -16
- pulumi_alicloud/ga/outputs.py +39 -11
- pulumi_alicloud/gpdb/get_zones.py +24 -0
- pulumi_alicloud/hbase/get_instance_types.py +32 -0
- pulumi_alicloud/hbr/policy_binding.py +7 -0
- pulumi_alicloud/kvstore/account.py +18 -18
- pulumi_alicloud/lindorm/instance_v2.py +358 -70
- pulumi_alicloud/log/_inputs.py +29 -9
- pulumi_alicloud/log/etl.py +56 -9
- pulumi_alicloud/log/get_projects.py +24 -0
- pulumi_alicloud/log/outputs.py +18 -6
- pulumi_alicloud/marketplace/get_products.py +26 -0
- pulumi_alicloud/mongodb/get_sharding_network_private_addresses.py +28 -0
- pulumi_alicloud/nas/get_access_rules.py +26 -0
- pulumi_alicloud/oss/_inputs.py +53 -0
- pulumi_alicloud/oss/bucket_logging.py +80 -29
- pulumi_alicloud/oss/bucket_replication.py +55 -8
- pulumi_alicloud/oss/outputs.py +31 -0
- pulumi_alicloud/ots/get_search_indexes.py +26 -0
- pulumi_alicloud/ots/get_secondary_indexes.py +26 -0
- pulumi_alicloud/polardb/__init__.py +3 -0
- pulumi_alicloud/polardb/cluster.py +14 -14
- pulumi_alicloud/polardb/zonal_account.py +449 -0
- pulumi_alicloud/polardb/zonal_db_cluster.py +1255 -0
- pulumi_alicloud/polardb/zonal_endpoint.py +865 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/get_service.py +12 -8
- pulumi_alicloud/ram/get_policies.py +95 -81
- pulumi_alicloud/ram/get_roles.py +108 -31
- pulumi_alicloud/ram/outputs.py +64 -42
- pulumi_alicloud/ram/policy.py +2 -2
- pulumi_alicloud/resourcemanager/__init__.py +2 -0
- pulumi_alicloud/resourcemanager/_inputs.py +799 -0
- pulumi_alicloud/resourcemanager/control_policy.py +169 -31
- pulumi_alicloud/resourcemanager/delivery_channel.py +449 -0
- pulumi_alicloud/resourcemanager/get_policies.py +4 -0
- pulumi_alicloud/resourcemanager/multi_account_delivery_channel.py +470 -0
- pulumi_alicloud/resourcemanager/outputs.py +694 -0
- pulumi_alicloud/resourcemanager/resource_share.py +341 -11
- pulumi_alicloud/sae/_inputs.py +60 -0
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/sae/get_ingresses.py +122 -0
- pulumi_alicloud/sae/outputs.py +42 -0
- pulumi_alicloud/scdn/domain_config.py +56 -0
- pulumi_alicloud/servicemesh/extension_provider.py +138 -0
- pulumi_alicloud/servicemesh/user_permission.py +90 -0
- pulumi_alicloud/simpleapplicationserver/get_images.py +24 -0
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/get_indexs.py +304 -0
- pulumi_alicloud/sls/outputs.py +148 -0
- pulumi_alicloud/star_rocks_instance.py +8 -2
- pulumi_alicloud/starrocks/__init__.py +12 -0
- pulumi_alicloud/starrocks/_inputs.py +656 -0
- pulumi_alicloud/starrocks/instance.py +1427 -0
- pulumi_alicloud/starrocks/node_group.py +1298 -0
- pulumi_alicloud/starrocks/outputs.py +508 -0
- pulumi_alicloud/vpc/_inputs.py +84 -0
- pulumi_alicloud/vpc/bgp_group.py +250 -53
- pulumi_alicloud/vpc/bgp_network.py +83 -36
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +30 -14
- pulumi_alicloud/vpc/gateway_endpoint.py +8 -8
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +3 -3
- pulumi_alicloud/vpc/network_acl_entries.py +16 -20
- pulumi_alicloud/vpc/outputs.py +48 -0
- pulumi_alicloud/vpc/vbr_ha.py +127 -46
- pulumi_alicloud/wafv3/_inputs.py +396 -0
- pulumi_alicloud/wafv3/defense_rule.py +40 -110
- pulumi_alicloud/wafv3/outputs.py +303 -0
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/RECORD +146 -130
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/top_level.txt +0 -0
|
@@ -105,6 +105,67 @@ def get_ingresses(enable_details: Optional[_builtins.bool] = None,
|
|
|
105
105
|
|
|
106
106
|
> **NOTE:** Available in v1.137.0+.
|
|
107
107
|
|
|
108
|
+
## Example Usage
|
|
109
|
+
|
|
110
|
+
Basic Usage
|
|
111
|
+
|
|
112
|
+
```python
|
|
113
|
+
import pulumi
|
|
114
|
+
import pulumi_alicloud as alicloud
|
|
115
|
+
|
|
116
|
+
config = pulumi.Config()
|
|
117
|
+
name = config.get("name")
|
|
118
|
+
if name is None:
|
|
119
|
+
name = "example_value"
|
|
120
|
+
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
121
|
+
default_network = alicloud.vpc.Network("default",
|
|
122
|
+
name=name,
|
|
123
|
+
cidr_block="172.16.0.0/12")
|
|
124
|
+
default_switch = alicloud.vpc.Switch("default",
|
|
125
|
+
vpc_id=default_network.id,
|
|
126
|
+
cidr_block="172.16.0.0/21",
|
|
127
|
+
zone_id=default.zones[0].id,
|
|
128
|
+
vswitch_name=name)
|
|
129
|
+
default_load_balancer = alicloud.slb.LoadBalancer("default",
|
|
130
|
+
name=name,
|
|
131
|
+
specification="slb.s2.small",
|
|
132
|
+
vswitch_id=default_alicloud_vswitches["ids"][0])
|
|
133
|
+
desc = config.get("desc")
|
|
134
|
+
if desc is None:
|
|
135
|
+
desc = "example_value"
|
|
136
|
+
namespace_id = config.get("namespaceId")
|
|
137
|
+
if namespace_id is None:
|
|
138
|
+
namespace_id = "cn-hangzhou:yourname"
|
|
139
|
+
default_namespace = alicloud.sae.Namespace("default",
|
|
140
|
+
namespace_id=namespace_id,
|
|
141
|
+
namespace_name=name,
|
|
142
|
+
namespace_description=desc)
|
|
143
|
+
default_application = alicloud.sae.Application("default",
|
|
144
|
+
app_description="your_app_description",
|
|
145
|
+
app_name="your_app_name",
|
|
146
|
+
namespace_id="your_namespace_id",
|
|
147
|
+
package_url="your_package_url",
|
|
148
|
+
package_type="your_package_url",
|
|
149
|
+
jdk="jdk_specifications",
|
|
150
|
+
vswitch_id=default_alicloud_vswitches["ids"][0],
|
|
151
|
+
replicas="your_replicas",
|
|
152
|
+
cpu="cpu_specifications",
|
|
153
|
+
memory="memory_specifications")
|
|
154
|
+
default_ingress = alicloud.sae.Ingress("default",
|
|
155
|
+
slb_id=default_load_balancer.id,
|
|
156
|
+
namespace_id=default_namespace.id,
|
|
157
|
+
listener_port="your_listener_port",
|
|
158
|
+
rules=[{
|
|
159
|
+
"app_id": default_application.id,
|
|
160
|
+
"container_port": "your_container_port",
|
|
161
|
+
"domain": "your_domain",
|
|
162
|
+
"app_name": "your_name",
|
|
163
|
+
"path": "your_path",
|
|
164
|
+
}])
|
|
165
|
+
default_get_ingresses = alicloud.sae.get_ingresses_output(ids=[default_ingress.id])
|
|
166
|
+
pulumi.export("saeIngressId", default_get_ingresses.ingress_list[0]["id"])
|
|
167
|
+
```
|
|
168
|
+
|
|
108
169
|
|
|
109
170
|
:param _builtins.bool enable_details: Default to `false`. Set it to `true` can output more details about resource attributes.
|
|
110
171
|
:param Sequence[_builtins.str] ids: A list of Ingress IDs.
|
|
@@ -136,6 +197,67 @@ def get_ingresses_output(enable_details: Optional[pulumi.Input[Optional[_builtin
|
|
|
136
197
|
|
|
137
198
|
> **NOTE:** Available in v1.137.0+.
|
|
138
199
|
|
|
200
|
+
## Example Usage
|
|
201
|
+
|
|
202
|
+
Basic Usage
|
|
203
|
+
|
|
204
|
+
```python
|
|
205
|
+
import pulumi
|
|
206
|
+
import pulumi_alicloud as alicloud
|
|
207
|
+
|
|
208
|
+
config = pulumi.Config()
|
|
209
|
+
name = config.get("name")
|
|
210
|
+
if name is None:
|
|
211
|
+
name = "example_value"
|
|
212
|
+
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
213
|
+
default_network = alicloud.vpc.Network("default",
|
|
214
|
+
name=name,
|
|
215
|
+
cidr_block="172.16.0.0/12")
|
|
216
|
+
default_switch = alicloud.vpc.Switch("default",
|
|
217
|
+
vpc_id=default_network.id,
|
|
218
|
+
cidr_block="172.16.0.0/21",
|
|
219
|
+
zone_id=default.zones[0].id,
|
|
220
|
+
vswitch_name=name)
|
|
221
|
+
default_load_balancer = alicloud.slb.LoadBalancer("default",
|
|
222
|
+
name=name,
|
|
223
|
+
specification="slb.s2.small",
|
|
224
|
+
vswitch_id=default_alicloud_vswitches["ids"][0])
|
|
225
|
+
desc = config.get("desc")
|
|
226
|
+
if desc is None:
|
|
227
|
+
desc = "example_value"
|
|
228
|
+
namespace_id = config.get("namespaceId")
|
|
229
|
+
if namespace_id is None:
|
|
230
|
+
namespace_id = "cn-hangzhou:yourname"
|
|
231
|
+
default_namespace = alicloud.sae.Namespace("default",
|
|
232
|
+
namespace_id=namespace_id,
|
|
233
|
+
namespace_name=name,
|
|
234
|
+
namespace_description=desc)
|
|
235
|
+
default_application = alicloud.sae.Application("default",
|
|
236
|
+
app_description="your_app_description",
|
|
237
|
+
app_name="your_app_name",
|
|
238
|
+
namespace_id="your_namespace_id",
|
|
239
|
+
package_url="your_package_url",
|
|
240
|
+
package_type="your_package_url",
|
|
241
|
+
jdk="jdk_specifications",
|
|
242
|
+
vswitch_id=default_alicloud_vswitches["ids"][0],
|
|
243
|
+
replicas="your_replicas",
|
|
244
|
+
cpu="cpu_specifications",
|
|
245
|
+
memory="memory_specifications")
|
|
246
|
+
default_ingress = alicloud.sae.Ingress("default",
|
|
247
|
+
slb_id=default_load_balancer.id,
|
|
248
|
+
namespace_id=default_namespace.id,
|
|
249
|
+
listener_port="your_listener_port",
|
|
250
|
+
rules=[{
|
|
251
|
+
"app_id": default_application.id,
|
|
252
|
+
"container_port": "your_container_port",
|
|
253
|
+
"domain": "your_domain",
|
|
254
|
+
"app_name": "your_name",
|
|
255
|
+
"path": "your_path",
|
|
256
|
+
}])
|
|
257
|
+
default_get_ingresses = alicloud.sae.get_ingresses_output(ids=[default_ingress.id])
|
|
258
|
+
pulumi.export("saeIngressId", default_get_ingresses.ingress_list[0]["id"])
|
|
259
|
+
```
|
|
260
|
+
|
|
139
261
|
|
|
140
262
|
:param _builtins.bool enable_details: Default to `false`. Set it to `true` can output more details about resource attributes.
|
|
141
263
|
:param Sequence[_builtins.str] ids: A list of Ingress IDs.
|
pulumi_alicloud/sae/outputs.py
CHANGED
|
@@ -322,6 +322,8 @@ class ApplicationLivenessV2(dict):
|
|
|
322
322
|
suggest = None
|
|
323
323
|
if key == "exec":
|
|
324
324
|
suggest = "exec_"
|
|
325
|
+
elif key == "failureThreshold":
|
|
326
|
+
suggest = "failure_threshold"
|
|
325
327
|
elif key == "httpGet":
|
|
326
328
|
suggest = "http_get"
|
|
327
329
|
elif key == "initialDelaySeconds":
|
|
@@ -346,6 +348,7 @@ class ApplicationLivenessV2(dict):
|
|
|
346
348
|
|
|
347
349
|
def __init__(__self__, *,
|
|
348
350
|
exec_: Optional['outputs.ApplicationLivenessV2Exec'] = None,
|
|
351
|
+
failure_threshold: Optional[_builtins.int] = None,
|
|
349
352
|
http_get: Optional['outputs.ApplicationLivenessV2HttpGet'] = None,
|
|
350
353
|
initial_delay_seconds: Optional[_builtins.int] = None,
|
|
351
354
|
period_seconds: Optional[_builtins.int] = None,
|
|
@@ -353,6 +356,7 @@ class ApplicationLivenessV2(dict):
|
|
|
353
356
|
timeout_seconds: Optional[_builtins.int] = None):
|
|
354
357
|
"""
|
|
355
358
|
:param 'ApplicationLivenessV2ExecArgs' exec_: Execute. See `exec` below.
|
|
359
|
+
:param _builtins.int failure_threshold: The number of consecutive failures required before considering the container as unhealthy. Increasing this value makes the container more tolerant to transient failures.
|
|
356
360
|
:param 'ApplicationLivenessV2HttpGetArgs' http_get: The liveness check settings of the container. See `http_get` below.
|
|
357
361
|
:param _builtins.int initial_delay_seconds: The delay of the health check.
|
|
358
362
|
:param _builtins.int period_seconds: The interval at which the health check is performed.
|
|
@@ -361,6 +365,8 @@ class ApplicationLivenessV2(dict):
|
|
|
361
365
|
"""
|
|
362
366
|
if exec_ is not None:
|
|
363
367
|
pulumi.set(__self__, "exec_", exec_)
|
|
368
|
+
if failure_threshold is not None:
|
|
369
|
+
pulumi.set(__self__, "failure_threshold", failure_threshold)
|
|
364
370
|
if http_get is not None:
|
|
365
371
|
pulumi.set(__self__, "http_get", http_get)
|
|
366
372
|
if initial_delay_seconds is not None:
|
|
@@ -380,6 +386,14 @@ class ApplicationLivenessV2(dict):
|
|
|
380
386
|
"""
|
|
381
387
|
return pulumi.get(self, "exec_")
|
|
382
388
|
|
|
389
|
+
@_builtins.property
|
|
390
|
+
@pulumi.getter(name="failureThreshold")
|
|
391
|
+
def failure_threshold(self) -> Optional[_builtins.int]:
|
|
392
|
+
"""
|
|
393
|
+
The number of consecutive failures required before considering the container as unhealthy. Increasing this value makes the container more tolerant to transient failures.
|
|
394
|
+
"""
|
|
395
|
+
return pulumi.get(self, "failure_threshold")
|
|
396
|
+
|
|
383
397
|
@_builtins.property
|
|
384
398
|
@pulumi.getter(name="httpGet")
|
|
385
399
|
def http_get(self) -> Optional['outputs.ApplicationLivenessV2HttpGet']:
|
|
@@ -907,12 +921,16 @@ class ApplicationReadinessV2(dict):
|
|
|
907
921
|
suggest = None
|
|
908
922
|
if key == "exec":
|
|
909
923
|
suggest = "exec_"
|
|
924
|
+
elif key == "failureThreshold":
|
|
925
|
+
suggest = "failure_threshold"
|
|
910
926
|
elif key == "httpGet":
|
|
911
927
|
suggest = "http_get"
|
|
912
928
|
elif key == "initialDelaySeconds":
|
|
913
929
|
suggest = "initial_delay_seconds"
|
|
914
930
|
elif key == "periodSeconds":
|
|
915
931
|
suggest = "period_seconds"
|
|
932
|
+
elif key == "successThreshold":
|
|
933
|
+
suggest = "success_threshold"
|
|
916
934
|
elif key == "tcpSocket":
|
|
917
935
|
suggest = "tcp_socket"
|
|
918
936
|
elif key == "timeoutSeconds":
|
|
@@ -931,27 +949,35 @@ class ApplicationReadinessV2(dict):
|
|
|
931
949
|
|
|
932
950
|
def __init__(__self__, *,
|
|
933
951
|
exec_: Optional['outputs.ApplicationReadinessV2Exec'] = None,
|
|
952
|
+
failure_threshold: Optional[_builtins.int] = None,
|
|
934
953
|
http_get: Optional['outputs.ApplicationReadinessV2HttpGet'] = None,
|
|
935
954
|
initial_delay_seconds: Optional[_builtins.int] = None,
|
|
936
955
|
period_seconds: Optional[_builtins.int] = None,
|
|
956
|
+
success_threshold: Optional[_builtins.int] = None,
|
|
937
957
|
tcp_socket: Optional['outputs.ApplicationReadinessV2TcpSocket'] = None,
|
|
938
958
|
timeout_seconds: Optional[_builtins.int] = None):
|
|
939
959
|
"""
|
|
940
960
|
:param 'ApplicationReadinessV2ExecArgs' exec_: Execute. See `exec` below.
|
|
961
|
+
:param _builtins.int failure_threshold: The number of consecutive failures required before considering the container as unhealthy. Increasing this value makes the container more tolerant to transient failures.
|
|
941
962
|
:param 'ApplicationReadinessV2HttpGetArgs' http_get: The liveness check settings of the container. See `http_get` below.
|
|
942
963
|
:param _builtins.int initial_delay_seconds: The delay of the health check.
|
|
943
964
|
:param _builtins.int period_seconds: The interval at which the health check is performed.
|
|
965
|
+
:param _builtins.int success_threshold: The number of consecutive successes required before considering the container as healthy. Increasing this value makes the container more tolerant to transient successes during recovery.
|
|
944
966
|
:param 'ApplicationReadinessV2TcpSocketArgs' tcp_socket: The liveness check settings of the container. See `tcp_socket` below.
|
|
945
967
|
:param _builtins.int timeout_seconds: The timeout period of the health check.
|
|
946
968
|
"""
|
|
947
969
|
if exec_ is not None:
|
|
948
970
|
pulumi.set(__self__, "exec_", exec_)
|
|
971
|
+
if failure_threshold is not None:
|
|
972
|
+
pulumi.set(__self__, "failure_threshold", failure_threshold)
|
|
949
973
|
if http_get is not None:
|
|
950
974
|
pulumi.set(__self__, "http_get", http_get)
|
|
951
975
|
if initial_delay_seconds is not None:
|
|
952
976
|
pulumi.set(__self__, "initial_delay_seconds", initial_delay_seconds)
|
|
953
977
|
if period_seconds is not None:
|
|
954
978
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
979
|
+
if success_threshold is not None:
|
|
980
|
+
pulumi.set(__self__, "success_threshold", success_threshold)
|
|
955
981
|
if tcp_socket is not None:
|
|
956
982
|
pulumi.set(__self__, "tcp_socket", tcp_socket)
|
|
957
983
|
if timeout_seconds is not None:
|
|
@@ -965,6 +991,14 @@ class ApplicationReadinessV2(dict):
|
|
|
965
991
|
"""
|
|
966
992
|
return pulumi.get(self, "exec_")
|
|
967
993
|
|
|
994
|
+
@_builtins.property
|
|
995
|
+
@pulumi.getter(name="failureThreshold")
|
|
996
|
+
def failure_threshold(self) -> Optional[_builtins.int]:
|
|
997
|
+
"""
|
|
998
|
+
The number of consecutive failures required before considering the container as unhealthy. Increasing this value makes the container more tolerant to transient failures.
|
|
999
|
+
"""
|
|
1000
|
+
return pulumi.get(self, "failure_threshold")
|
|
1001
|
+
|
|
968
1002
|
@_builtins.property
|
|
969
1003
|
@pulumi.getter(name="httpGet")
|
|
970
1004
|
def http_get(self) -> Optional['outputs.ApplicationReadinessV2HttpGet']:
|
|
@@ -989,6 +1023,14 @@ class ApplicationReadinessV2(dict):
|
|
|
989
1023
|
"""
|
|
990
1024
|
return pulumi.get(self, "period_seconds")
|
|
991
1025
|
|
|
1026
|
+
@_builtins.property
|
|
1027
|
+
@pulumi.getter(name="successThreshold")
|
|
1028
|
+
def success_threshold(self) -> Optional[_builtins.int]:
|
|
1029
|
+
"""
|
|
1030
|
+
The number of consecutive successes required before considering the container as healthy. Increasing this value makes the container more tolerant to transient successes during recovery.
|
|
1031
|
+
"""
|
|
1032
|
+
return pulumi.get(self, "success_threshold")
|
|
1033
|
+
|
|
992
1034
|
@_builtins.property
|
|
993
1035
|
@pulumi.getter(name="tcpSocket")
|
|
994
1036
|
def tcp_socket(self) -> Optional['outputs.ApplicationReadinessV2TcpSocket']:
|
|
@@ -180,6 +180,34 @@ class DomainConfig(pulumi.CustomResource):
|
|
|
180
180
|
|
|
181
181
|
> **DEPRECATED:** This resource has been [deprecated](https://www.aliyun.com/product/scdn) from version `1.219.0`.
|
|
182
182
|
|
|
183
|
+
## Example Usage
|
|
184
|
+
|
|
185
|
+
Basic Usage
|
|
186
|
+
|
|
187
|
+
```python
|
|
188
|
+
import pulumi
|
|
189
|
+
import pulumi_alicloud as alicloud
|
|
190
|
+
|
|
191
|
+
# Create a new Domain config.
|
|
192
|
+
domain = alicloud.scdn.Domain("domain",
|
|
193
|
+
domain_name="mydomain.alicloud-provider.cn",
|
|
194
|
+
cdn_type="web",
|
|
195
|
+
scope="overseas",
|
|
196
|
+
sources=[{
|
|
197
|
+
"content": "1.1.1.1",
|
|
198
|
+
"type": "ipaddr",
|
|
199
|
+
"priority": "20",
|
|
200
|
+
"port": 80,
|
|
201
|
+
}])
|
|
202
|
+
config = alicloud.scdn.DomainConfig("config",
|
|
203
|
+
domain_name=domain.domain_name,
|
|
204
|
+
function_name="ip_allow_list_set",
|
|
205
|
+
function_args=[{
|
|
206
|
+
"arg_name": "ip_list",
|
|
207
|
+
"arg_value": "110.110.110.110",
|
|
208
|
+
}])
|
|
209
|
+
```
|
|
210
|
+
|
|
183
211
|
## Import
|
|
184
212
|
|
|
185
213
|
SCDN domain config can be imported using the id, e.g.
|
|
@@ -211,6 +239,34 @@ class DomainConfig(pulumi.CustomResource):
|
|
|
211
239
|
|
|
212
240
|
> **DEPRECATED:** This resource has been [deprecated](https://www.aliyun.com/product/scdn) from version `1.219.0`.
|
|
213
241
|
|
|
242
|
+
## Example Usage
|
|
243
|
+
|
|
244
|
+
Basic Usage
|
|
245
|
+
|
|
246
|
+
```python
|
|
247
|
+
import pulumi
|
|
248
|
+
import pulumi_alicloud as alicloud
|
|
249
|
+
|
|
250
|
+
# Create a new Domain config.
|
|
251
|
+
domain = alicloud.scdn.Domain("domain",
|
|
252
|
+
domain_name="mydomain.alicloud-provider.cn",
|
|
253
|
+
cdn_type="web",
|
|
254
|
+
scope="overseas",
|
|
255
|
+
sources=[{
|
|
256
|
+
"content": "1.1.1.1",
|
|
257
|
+
"type": "ipaddr",
|
|
258
|
+
"priority": "20",
|
|
259
|
+
"port": 80,
|
|
260
|
+
}])
|
|
261
|
+
config = alicloud.scdn.DomainConfig("config",
|
|
262
|
+
domain_name=domain.domain_name,
|
|
263
|
+
function_name="ip_allow_list_set",
|
|
264
|
+
function_args=[{
|
|
265
|
+
"arg_name": "ip_list",
|
|
266
|
+
"arg_value": "110.110.110.110",
|
|
267
|
+
}])
|
|
268
|
+
```
|
|
269
|
+
|
|
214
270
|
## Import
|
|
215
271
|
|
|
216
272
|
SCDN domain config can be imported using the id, e.g.
|
|
@@ -174,6 +174,75 @@ class ExtensionProvider(pulumi.CustomResource):
|
|
|
174
174
|
|
|
175
175
|
> **NOTE:** Available since v1.191.0.
|
|
176
176
|
|
|
177
|
+
## Example Usage
|
|
178
|
+
|
|
179
|
+
Basic Usage
|
|
180
|
+
|
|
181
|
+
```python
|
|
182
|
+
import pulumi
|
|
183
|
+
import pulumi_alicloud as alicloud
|
|
184
|
+
import pulumi_std as std
|
|
185
|
+
|
|
186
|
+
config = pulumi.Config()
|
|
187
|
+
name = config.get("name")
|
|
188
|
+
if name is None:
|
|
189
|
+
name = "tf_example"
|
|
190
|
+
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
191
|
+
default_get_networks = alicloud.vpc.get_networks(name_regex="default-NODELETING")
|
|
192
|
+
default_network = []
|
|
193
|
+
def create_default(range_body):
|
|
194
|
+
for range in [{"value": i} for i in range(0, range_body)]:
|
|
195
|
+
default_network.append(alicloud.vpc.Network(f"default-{range['value']}"))
|
|
196
|
+
|
|
197
|
+
len(default_get_networks.ids).apply(lambda resolved_outputs: create_default(0 if resolved_outputs['length'] > 0 else 1))
|
|
198
|
+
default_get_switches = pulumi.Output.all(
|
|
199
|
+
length=len(default_get_networks.ids),
|
|
200
|
+
id=default_network[0].id
|
|
201
|
+
).apply(lambda resolved_outputs: default_get_networks.ids[0] if resolved_outputs['length'] > 0 else resolved_outputs['id'])
|
|
202
|
+
.apply(lambda value: alicloud.vpc.get_switches_output(vpc_id=value))
|
|
203
|
+
default_switch = []
|
|
204
|
+
def create_default(range_body):
|
|
205
|
+
for range in [{"value": i} for i in range(0, range_body)]:
|
|
206
|
+
default_switch.append(alicloud.vpc.Switch(f"default-{range['value']}",
|
|
207
|
+
vpc_id=pulumi.Output.all(
|
|
208
|
+
id=default_network[0].id,
|
|
209
|
+
value=default_get_networks.ids[0] if length.apply(lambda __convert: __convert > 0) else id
|
|
210
|
+
).apply(lambda resolved_outputs: pulumi.Output.all(
|
|
211
|
+
length=len(default_get_networks.ids),
|
|
212
|
+
id=resolved_outputs['id']
|
|
213
|
+
).apply(lambda resolved_outputs: resolved_outputs['value'])
|
|
214
|
+
)
|
|
215
|
+
,
|
|
216
|
+
cidr_block=std.cidrsubnet(input=default_get_networks.vpcs[0].cidr_block,
|
|
217
|
+
newbits=8,
|
|
218
|
+
netnum=2).result,
|
|
219
|
+
zone_id=default.zones[0].id))
|
|
220
|
+
|
|
221
|
+
len(default_get_switches.ids).apply(lambda resolved_outputs: create_default(0 if resolved_outputs['length'] > 0 else 1))
|
|
222
|
+
default_service_mesh = alicloud.servicemesh.ServiceMesh("default",
|
|
223
|
+
service_mesh_name="mesh-c50f3fef117ad45b6b26047cdafef65ad",
|
|
224
|
+
version="v1.21.6.103-g5ddeaef7-aliyun",
|
|
225
|
+
edition="Default",
|
|
226
|
+
network={
|
|
227
|
+
"vpc_id": pulumi.Output.all(
|
|
228
|
+
length=len(default_get_networks.ids),
|
|
229
|
+
id=default_network[0].id
|
|
230
|
+
).apply(lambda resolved_outputs: default_get_networks.ids[0] if resolved_outputs['length'] > 0 else resolved_outputs['id'])
|
|
231
|
+
,
|
|
232
|
+
"vswitche_lists": [pulumi.Output.all(
|
|
233
|
+
length=len(default_get_switches.ids),
|
|
234
|
+
default_get_switches=default_get_switches,
|
|
235
|
+
id=default_switch[0].id
|
|
236
|
+
).apply(lambda resolved_outputs: default_get_switches.ids[0] if resolved_outputs['length'] > 0 else resolved_outputs['id'])
|
|
237
|
+
],
|
|
238
|
+
})
|
|
239
|
+
default_extension_provider = alicloud.servicemesh.ExtensionProvider("default",
|
|
240
|
+
service_mesh_id=default_service_mesh.id,
|
|
241
|
+
extension_provider_name="httpextauth-tf-example",
|
|
242
|
+
type="httpextauth",
|
|
243
|
+
config="{\\"headersToDownstreamOnDeny\\":[\\"content-type\\",\\"set-cookie\\"],\\"headersToUpstreamOnAllow\\":[\\"authorization\\",\\"cookie\\",\\"path\\",\\"x-auth-request-access-token\\",\\"x-forwarded-access-token\\"],\\"includeRequestHeadersInCheck\\":[\\"cookie\\",\\"x-forward-access-token\\"],\\"oidc\\":{\\"clientID\\":\\"qweqweqwewqeqwe\\",\\"clientSecret\\":\\"asdasdasdasdsadas\\",\\"cookieExpire\\":\\"1000\\",\\"cookieRefresh\\":\\"500\\",\\"cookieSecret\\":\\"scxzcxzcxzcxzcxz\\",\\"issuerURI\\":\\"qweqwewqeqweqweqwe\\",\\"redirectDomain\\":\\"www.alicloud-provider.cn\\",\\"redirectProtocol\\":\\"http\\",\\"scopes\\":[\\"profile\\"]},\\"port\\":4180,\\"service\\":\\"oauth2proxy-httpextauth-tf-example.istio-system.svc.cluster.local\\",\\"timeout\\":\\"10s\\"}")
|
|
244
|
+
```
|
|
245
|
+
|
|
177
246
|
## Import
|
|
178
247
|
|
|
179
248
|
Service Mesh Extension Provider can be imported using the id, e.g.
|
|
@@ -202,6 +271,75 @@ class ExtensionProvider(pulumi.CustomResource):
|
|
|
202
271
|
|
|
203
272
|
> **NOTE:** Available since v1.191.0.
|
|
204
273
|
|
|
274
|
+
## Example Usage
|
|
275
|
+
|
|
276
|
+
Basic Usage
|
|
277
|
+
|
|
278
|
+
```python
|
|
279
|
+
import pulumi
|
|
280
|
+
import pulumi_alicloud as alicloud
|
|
281
|
+
import pulumi_std as std
|
|
282
|
+
|
|
283
|
+
config = pulumi.Config()
|
|
284
|
+
name = config.get("name")
|
|
285
|
+
if name is None:
|
|
286
|
+
name = "tf_example"
|
|
287
|
+
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
288
|
+
default_get_networks = alicloud.vpc.get_networks(name_regex="default-NODELETING")
|
|
289
|
+
default_network = []
|
|
290
|
+
def create_default(range_body):
|
|
291
|
+
for range in [{"value": i} for i in range(0, range_body)]:
|
|
292
|
+
default_network.append(alicloud.vpc.Network(f"default-{range['value']}"))
|
|
293
|
+
|
|
294
|
+
len(default_get_networks.ids).apply(lambda resolved_outputs: create_default(0 if resolved_outputs['length'] > 0 else 1))
|
|
295
|
+
default_get_switches = pulumi.Output.all(
|
|
296
|
+
length=len(default_get_networks.ids),
|
|
297
|
+
id=default_network[0].id
|
|
298
|
+
).apply(lambda resolved_outputs: default_get_networks.ids[0] if resolved_outputs['length'] > 0 else resolved_outputs['id'])
|
|
299
|
+
.apply(lambda value: alicloud.vpc.get_switches_output(vpc_id=value))
|
|
300
|
+
default_switch = []
|
|
301
|
+
def create_default(range_body):
|
|
302
|
+
for range in [{"value": i} for i in range(0, range_body)]:
|
|
303
|
+
default_switch.append(alicloud.vpc.Switch(f"default-{range['value']}",
|
|
304
|
+
vpc_id=pulumi.Output.all(
|
|
305
|
+
id=default_network[0].id,
|
|
306
|
+
value=default_get_networks.ids[0] if length.apply(lambda __convert: __convert > 0) else id
|
|
307
|
+
).apply(lambda resolved_outputs: pulumi.Output.all(
|
|
308
|
+
length=len(default_get_networks.ids),
|
|
309
|
+
id=resolved_outputs['id']
|
|
310
|
+
).apply(lambda resolved_outputs: resolved_outputs['value'])
|
|
311
|
+
)
|
|
312
|
+
,
|
|
313
|
+
cidr_block=std.cidrsubnet(input=default_get_networks.vpcs[0].cidr_block,
|
|
314
|
+
newbits=8,
|
|
315
|
+
netnum=2).result,
|
|
316
|
+
zone_id=default.zones[0].id))
|
|
317
|
+
|
|
318
|
+
len(default_get_switches.ids).apply(lambda resolved_outputs: create_default(0 if resolved_outputs['length'] > 0 else 1))
|
|
319
|
+
default_service_mesh = alicloud.servicemesh.ServiceMesh("default",
|
|
320
|
+
service_mesh_name="mesh-c50f3fef117ad45b6b26047cdafef65ad",
|
|
321
|
+
version="v1.21.6.103-g5ddeaef7-aliyun",
|
|
322
|
+
edition="Default",
|
|
323
|
+
network={
|
|
324
|
+
"vpc_id": pulumi.Output.all(
|
|
325
|
+
length=len(default_get_networks.ids),
|
|
326
|
+
id=default_network[0].id
|
|
327
|
+
).apply(lambda resolved_outputs: default_get_networks.ids[0] if resolved_outputs['length'] > 0 else resolved_outputs['id'])
|
|
328
|
+
,
|
|
329
|
+
"vswitche_lists": [pulumi.Output.all(
|
|
330
|
+
length=len(default_get_switches.ids),
|
|
331
|
+
default_get_switches=default_get_switches,
|
|
332
|
+
id=default_switch[0].id
|
|
333
|
+
).apply(lambda resolved_outputs: default_get_switches.ids[0] if resolved_outputs['length'] > 0 else resolved_outputs['id'])
|
|
334
|
+
],
|
|
335
|
+
})
|
|
336
|
+
default_extension_provider = alicloud.servicemesh.ExtensionProvider("default",
|
|
337
|
+
service_mesh_id=default_service_mesh.id,
|
|
338
|
+
extension_provider_name="httpextauth-tf-example",
|
|
339
|
+
type="httpextauth",
|
|
340
|
+
config="{\\"headersToDownstreamOnDeny\\":[\\"content-type\\",\\"set-cookie\\"],\\"headersToUpstreamOnAllow\\":[\\"authorization\\",\\"cookie\\",\\"path\\",\\"x-auth-request-access-token\\",\\"x-forwarded-access-token\\"],\\"includeRequestHeadersInCheck\\":[\\"cookie\\",\\"x-forward-access-token\\"],\\"oidc\\":{\\"clientID\\":\\"qweqweqwewqeqwe\\",\\"clientSecret\\":\\"asdasdasdasdsadas\\",\\"cookieExpire\\":\\"1000\\",\\"cookieRefresh\\":\\"500\\",\\"cookieSecret\\":\\"scxzcxzcxzcxzcxz\\",\\"issuerURI\\":\\"qweqwewqeqweqweqwe\\",\\"redirectDomain\\":\\"www.alicloud-provider.cn\\",\\"redirectProtocol\\":\\"http\\",\\"scopes\\":[\\"profile\\"]},\\"port\\":4180,\\"service\\":\\"oauth2proxy-httpextauth-tf-example.istio-system.svc.cluster.local\\",\\"timeout\\":\\"10s\\"}")
|
|
341
|
+
```
|
|
342
|
+
|
|
205
343
|
## Import
|
|
206
344
|
|
|
207
345
|
Service Mesh Extension Provider can be imported using the id, e.g.
|
|
@@ -113,6 +113,51 @@ class UserPermission(pulumi.CustomResource):
|
|
|
113
113
|
|
|
114
114
|
> **NOTE:** Available since v1.174.0.
|
|
115
115
|
|
|
116
|
+
## Example Usage
|
|
117
|
+
|
|
118
|
+
Basic Usage
|
|
119
|
+
|
|
120
|
+
```python
|
|
121
|
+
import pulumi
|
|
122
|
+
import pulumi_alicloud as alicloud
|
|
123
|
+
import pulumi_random as random
|
|
124
|
+
|
|
125
|
+
config = pulumi.Config()
|
|
126
|
+
name = config.get("name")
|
|
127
|
+
if name is None:
|
|
128
|
+
name = "tfexample"
|
|
129
|
+
default_integer = random.index.Integer("default",
|
|
130
|
+
min=10000,
|
|
131
|
+
max=99999)
|
|
132
|
+
default = alicloud.servicemesh.get_versions(edition="Default")
|
|
133
|
+
default_get_zones = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
134
|
+
default_get_networks = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
|
|
135
|
+
default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
|
|
136
|
+
zone_id=default_get_zones.zones[0].id)
|
|
137
|
+
default_user = alicloud.ram.User("default", name=name)
|
|
138
|
+
default1 = alicloud.servicemesh.ServiceMesh("default1",
|
|
139
|
+
service_mesh_name=f"{name}-{default_integer['result']}",
|
|
140
|
+
edition="Default",
|
|
141
|
+
cluster_spec="standard",
|
|
142
|
+
version=default.versions[0].version,
|
|
143
|
+
network={
|
|
144
|
+
"vpc_id": default_get_networks.ids[0],
|
|
145
|
+
"vswitche_lists": [default_get_switches.ids[0]],
|
|
146
|
+
},
|
|
147
|
+
load_balancer={
|
|
148
|
+
"pilot_public_eip": False,
|
|
149
|
+
"api_server_public_eip": False,
|
|
150
|
+
})
|
|
151
|
+
default_user_permission = alicloud.servicemesh.UserPermission("default",
|
|
152
|
+
sub_account_user_id=default_user.id,
|
|
153
|
+
permissions=[{
|
|
154
|
+
"role_name": "istio-ops",
|
|
155
|
+
"service_mesh_id": default1.id,
|
|
156
|
+
"role_type": "custom",
|
|
157
|
+
"is_custom": True,
|
|
158
|
+
}])
|
|
159
|
+
```
|
|
160
|
+
|
|
116
161
|
## Import
|
|
117
162
|
|
|
118
163
|
Service Mesh User Permission can be imported using the id, e.g.
|
|
@@ -139,6 +184,51 @@ class UserPermission(pulumi.CustomResource):
|
|
|
139
184
|
|
|
140
185
|
> **NOTE:** Available since v1.174.0.
|
|
141
186
|
|
|
187
|
+
## Example Usage
|
|
188
|
+
|
|
189
|
+
Basic Usage
|
|
190
|
+
|
|
191
|
+
```python
|
|
192
|
+
import pulumi
|
|
193
|
+
import pulumi_alicloud as alicloud
|
|
194
|
+
import pulumi_random as random
|
|
195
|
+
|
|
196
|
+
config = pulumi.Config()
|
|
197
|
+
name = config.get("name")
|
|
198
|
+
if name is None:
|
|
199
|
+
name = "tfexample"
|
|
200
|
+
default_integer = random.index.Integer("default",
|
|
201
|
+
min=10000,
|
|
202
|
+
max=99999)
|
|
203
|
+
default = alicloud.servicemesh.get_versions(edition="Default")
|
|
204
|
+
default_get_zones = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
205
|
+
default_get_networks = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
|
|
206
|
+
default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
|
|
207
|
+
zone_id=default_get_zones.zones[0].id)
|
|
208
|
+
default_user = alicloud.ram.User("default", name=name)
|
|
209
|
+
default1 = alicloud.servicemesh.ServiceMesh("default1",
|
|
210
|
+
service_mesh_name=f"{name}-{default_integer['result']}",
|
|
211
|
+
edition="Default",
|
|
212
|
+
cluster_spec="standard",
|
|
213
|
+
version=default.versions[0].version,
|
|
214
|
+
network={
|
|
215
|
+
"vpc_id": default_get_networks.ids[0],
|
|
216
|
+
"vswitche_lists": [default_get_switches.ids[0]],
|
|
217
|
+
},
|
|
218
|
+
load_balancer={
|
|
219
|
+
"pilot_public_eip": False,
|
|
220
|
+
"api_server_public_eip": False,
|
|
221
|
+
})
|
|
222
|
+
default_user_permission = alicloud.servicemesh.UserPermission("default",
|
|
223
|
+
sub_account_user_id=default_user.id,
|
|
224
|
+
permissions=[{
|
|
225
|
+
"role_name": "istio-ops",
|
|
226
|
+
"service_mesh_id": default1.id,
|
|
227
|
+
"role_type": "custom",
|
|
228
|
+
"is_custom": True,
|
|
229
|
+
}])
|
|
230
|
+
```
|
|
231
|
+
|
|
142
232
|
## Import
|
|
143
233
|
|
|
144
234
|
Service Mesh User Permission can be imported using the id, e.g.
|
|
@@ -123,6 +123,18 @@ def get_images(ids: Optional[Sequence[_builtins.str]] = None,
|
|
|
123
123
|
This data source provides the Simple Application Server Images of the current Alibaba Cloud user.
|
|
124
124
|
|
|
125
125
|
> **NOTE:** Available in v1.135.0+.
|
|
126
|
+
|
|
127
|
+
## Example Usage
|
|
128
|
+
|
|
129
|
+
Basic Usage
|
|
130
|
+
|
|
131
|
+
The following arguments are supported:
|
|
132
|
+
|
|
133
|
+
* `ids` - (Optional, ForceNew, Computed) A list of Image IDs.
|
|
134
|
+
* `image_type` - (Optional, ForceNew) The image type. Valid values: `app`, `custom`, `system`.
|
|
135
|
+
* `name_regex` - (Optional, ForceNew) A regex string to filter results by Image name.
|
|
136
|
+
* `platform` - (Available in v1.161.0) The platform of Image supported. Valid values: ["Linux", "Windows"].
|
|
137
|
+
* `output_file` - (Optional) File name where to save data source results (after running `pulumi preview`).
|
|
126
138
|
"""
|
|
127
139
|
__args__ = dict()
|
|
128
140
|
__args__['ids'] = ids
|
|
@@ -152,6 +164,18 @@ def get_images_output(ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str
|
|
|
152
164
|
This data source provides the Simple Application Server Images of the current Alibaba Cloud user.
|
|
153
165
|
|
|
154
166
|
> **NOTE:** Available in v1.135.0+.
|
|
167
|
+
|
|
168
|
+
## Example Usage
|
|
169
|
+
|
|
170
|
+
Basic Usage
|
|
171
|
+
|
|
172
|
+
The following arguments are supported:
|
|
173
|
+
|
|
174
|
+
* `ids` - (Optional, ForceNew, Computed) A list of Image IDs.
|
|
175
|
+
* `image_type` - (Optional, ForceNew) The image type. Valid values: `app`, `custom`, `system`.
|
|
176
|
+
* `name_regex` - (Optional, ForceNew) A regex string to filter results by Image name.
|
|
177
|
+
* `platform` - (Available in v1.161.0) The platform of Image supported. Valid values: ["Linux", "Windows"].
|
|
178
|
+
* `output_file` - (Optional) File name where to save data source results (after running `pulumi preview`).
|
|
155
179
|
"""
|
|
156
180
|
__args__ = dict()
|
|
157
181
|
__args__['ids'] = ids
|
pulumi_alicloud/sls/__init__.py
CHANGED