pulumi-alicloud 3.78.0a1747200018__py3-none-any.whl → 3.78.0a1747367664__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.
- pulumi_alicloud/__init__.py +32 -0
- pulumi_alicloud/adb/cluster.py +12 -12
- pulumi_alicloud/alb/health_check_template.py +233 -93
- pulumi_alicloud/alb/load_balancer.py +110 -0
- pulumi_alicloud/amqp/exchange.py +250 -159
- pulumi_alicloud/apigateway/_inputs.py +23 -3
- pulumi_alicloud/apigateway/api.py +7 -7
- pulumi_alicloud/apigateway/backend.py +8 -8
- pulumi_alicloud/apigateway/outputs.py +16 -2
- pulumi_alicloud/arms/remote_write.py +2 -2
- pulumi_alicloud/bp/studio_application.py +2 -2
- pulumi_alicloud/cassandra/cluster.py +2 -2
- pulumi_alicloud/cassandra/data_center.py +2 -2
- pulumi_alicloud/cdn/fc_trigger.py +2 -2
- pulumi_alicloud/cen/_inputs.py +78 -27
- pulumi_alicloud/cen/bandwidth_limit.py +7 -7
- pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +6 -6
- pulumi_alicloud/cen/outputs.py +52 -18
- pulumi_alicloud/cen/traffic_marking_policy.py +49 -9
- pulumi_alicloud/chatbot/publish_task.py +2 -2
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/ips_config.py +523 -0
- pulumi_alicloud/cr/registry_enterprise_instance.py +4 -4
- pulumi_alicloud/das/switch_das_pro.py +6 -2
- pulumi_alicloud/dataworks/di_alarm_rule.py +6 -4
- pulumi_alicloud/dataworks/di_job.py +8 -6
- pulumi_alicloud/dataworks/project_member.py +2 -2
- pulumi_alicloud/ddos/domain_resource.py +19 -9
- pulumi_alicloud/dms/enterprise_logic_database.py +2 -2
- pulumi_alicloud/dms/enterprise_proxy_access.py +2 -2
- pulumi_alicloud/drds/instance.py +12 -8
- pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +2 -2
- pulumi_alicloud/ecs/activation.py +2 -2
- pulumi_alicloud/ecs/capacity_reservation.py +2 -2
- pulumi_alicloud/ecs/ecs_disk_attachment.py +2 -2
- pulumi_alicloud/ecs/ecs_invocation.py +12 -6
- pulumi_alicloud/ecs/ecs_network_interface_permission.py +2 -2
- pulumi_alicloud/ecs/ecs_snapshot_group.py +2 -2
- pulumi_alicloud/ecs/elasticity_assurance.py +2 -2
- pulumi_alicloud/ecs/image_copy.py +2 -2
- pulumi_alicloud/ecs/image_export.py +2 -2
- pulumi_alicloud/ecs/reserved_instance.py +2 -2
- pulumi_alicloud/ecs/snapshot.py +8 -4
- pulumi_alicloud/ecs/storage_capacity_unit.py +2 -2
- pulumi_alicloud/emr/cluster.py +4 -4
- pulumi_alicloud/esa/edge_container_app_record.py +10 -2
- pulumi_alicloud/esa/http_request_header_modification_rule.py +12 -4
- pulumi_alicloud/esa/http_response_header_modification_rule.py +12 -4
- pulumi_alicloud/esa/https_basic_configuration.py +12 -4
- pulumi_alicloud/esa/network_optimization.py +10 -2
- pulumi_alicloud/esa/origin_pool.py +10 -10
- pulumi_alicloud/esa/redirect_rule.py +12 -4
- pulumi_alicloud/esa/rewrite_url_rule.py +12 -4
- pulumi_alicloud/ess/outputs.py +107 -0
- pulumi_alicloud/ess/scaling_group.py +47 -0
- pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
- pulumi_alicloud/fnf/execution.py +2 -2
- pulumi_alicloud/fnf/flow.py +2 -2
- pulumi_alicloud/fnf/schedule.py +2 -2
- pulumi_alicloud/gpdb/elastic_instance.py +8 -8
- pulumi_alicloud/hbr/ecs_backup_plan.py +10 -2
- pulumi_alicloud/hbr/hana_backup_client.py +2 -2
- pulumi_alicloud/hbr/hana_backup_plan.py +2 -2
- pulumi_alicloud/hbr/hana_instance.py +2 -2
- pulumi_alicloud/hbr/nas_backup_plan.py +10 -2
- pulumi_alicloud/hbr/oss_backup_plan.py +10 -2
- pulumi_alicloud/hbr/ots_backup_plan.py +10 -2
- pulumi_alicloud/hbr/restore_job.py +2 -2
- pulumi_alicloud/hbr/server_backup_plan.py +10 -2
- pulumi_alicloud/kms/_inputs.py +12 -12
- pulumi_alicloud/kms/instance.py +80 -47
- pulumi_alicloud/kms/outputs.py +8 -8
- pulumi_alicloud/kvstore/instance.py +21 -7
- pulumi_alicloud/lindorm/instance.py +101 -7
- pulumi_alicloud/log/etl.py +2 -2
- pulumi_alicloud/log/ingestion.py +4 -6
- pulumi_alicloud/log/oss_export.py +4 -6
- pulumi_alicloud/log/oss_shipper.py +2 -2
- pulumi_alicloud/mse/gateway.py +2 -2
- pulumi_alicloud/mse/nacos_config.py +2 -0
- pulumi_alicloud/mse/znode.py +2 -2
- pulumi_alicloud/nas/mount_target.py +6 -6
- pulumi_alicloud/nas/snapshot.py +2 -2
- pulumi_alicloud/oos/default_patch_baseline.py +2 -2
- pulumi_alicloud/oos/secret_parameter.py +2 -2
- pulumi_alicloud/oss/bucket_replication.py +8 -8
- pulumi_alicloud/pai/__init__.py +3 -0
- pulumi_alicloud/pai/_inputs.py +108 -0
- pulumi_alicloud/pai/outputs.py +64 -0
- pulumi_alicloud/pai/workspace_member.py +393 -0
- pulumi_alicloud/pai/workspace_model.py +792 -0
- pulumi_alicloud/pai/workspace_model_version.py +1129 -0
- pulumi_alicloud/polardb/cluster.py +68 -7
- pulumi_alicloud/polardb/global_database_network.py +2 -2
- pulumi_alicloud/polardb/parameter_group.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/group_policy_attachment.py +2 -2
- pulumi_alicloud/ram/role.py +2 -2
- pulumi_alicloud/ram/role_attachment.py +6 -4
- pulumi_alicloud/rds/instance.py +47 -47
- pulumi_alicloud/rds/rds_clone_db_instance.py +30 -30
- pulumi_alicloud/rds/rds_upgrade_db_instance.py +2 -2
- pulumi_alicloud/resourcemanager/account.py +315 -116
- pulumi_alicloud/rocketmq/group.py +2 -2
- pulumi_alicloud/ros/change_set.py +2 -2
- pulumi_alicloud/ros/stack.py +2 -2
- pulumi_alicloud/ros/stack_group.py +2 -2
- pulumi_alicloud/ros/stack_instance.py +2 -2
- pulumi_alicloud/ros/template_scratch.py +2 -2
- pulumi_alicloud/scdn/domain.py +2 -2
- pulumi_alicloud/securitycenter/service_linked_role.py +2 -2
- pulumi_alicloud/servicecatalog/provisioned_product.py +2 -2
- pulumi_alicloud/slb/_inputs.py +44 -0
- pulumi_alicloud/slb/acl_entry_attachment.py +2 -2
- pulumi_alicloud/slb/ca_certificate.py +4 -0
- pulumi_alicloud/slb/listener.py +46 -89
- pulumi_alicloud/slb/master_slave_server_group.py +17 -35
- pulumi_alicloud/slb/outputs.py +26 -0
- pulumi_alicloud/sms/short_url.py +2 -2
- pulumi_alicloud/threatdetection/backup_policy.py +2 -2
- pulumi_alicloud/threatdetection/honeypot_probe.py +2 -2
- pulumi_alicloud/threatdetection/instance.py +28 -21
- pulumi_alicloud/threatdetection/outputs.py +98 -6
- pulumi_alicloud/threatdetection/vul_whitelist.py +2 -2
- pulumi_alicloud/threatdetection/web_lock_config.py +2 -2
- pulumi_alicloud/tsdb/instance.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package.py +28 -14
- pulumi_alicloud/vpc/forward_entry.py +4 -4
- pulumi_alicloud/vpc/gateway_route_table_attachment.py +2 -2
- pulumi_alicloud/vpc/ha_vip.py +4 -4
- pulumi_alicloud/vpc/ha_vipv2.py +4 -0
- pulumi_alicloud/vpc/ipv4_gateway.py +78 -37
- pulumi_alicloud/vpc/ipv6_gateway.py +2 -2
- pulumi_alicloud/vpc/nat_ip.py +2 -2
- pulumi_alicloud/vpc/prefix_list.py +2 -2
- pulumi_alicloud/vpc/route_entry.py +6 -2
- pulumi_alicloud/vpn/gateway_vco_route.py +2 -2
- pulumi_alicloud/vpn/ipsec_server.py +2 -2
- pulumi_alicloud/vpn/pbr_route_entry.py +2 -2
- pulumi_alicloud/vpn/route_entry.py +8 -8
- pulumi_alicloud/wafv3/instance.py +2 -2
- pulumi_alicloud/wafv3/outputs.py +11 -0
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/RECORD +146 -142
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/top_level.txt +0 -0
|
@@ -48,7 +48,7 @@ class DomainResourceArgs:
|
|
|
48
48
|
> **NOTE:** If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
|
|
49
49
|
:param pulumi.Input[builtins.str] cert_identifier: The name of the certificate.
|
|
50
50
|
|
|
51
|
-
> **NOTE:** You can specify the name of the certificate that you want to associate.
|
|
51
|
+
> **NOTE:** You can specify the name of the certificate that you want to associate. From version 1.249.0, `cert_identifier` is in the "CertificateID-RegionId" format. For example, if the ID of the certificateId is `123`, and the region ID is `cn-hangzhou`, the value of the `cert_identifier` is `123-cn-hangzhou`.
|
|
52
52
|
:param pulumi.Input[builtins.str] cert_name: The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.
|
|
53
53
|
|
|
54
54
|
> **NOTE:** If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
|
|
@@ -173,7 +173,7 @@ class DomainResourceArgs:
|
|
|
173
173
|
"""
|
|
174
174
|
The name of the certificate.
|
|
175
175
|
|
|
176
|
-
> **NOTE:** You can specify the name of the certificate that you want to associate.
|
|
176
|
+
> **NOTE:** You can specify the name of the certificate that you want to associate. From version 1.249.0, `cert_identifier` is in the "CertificateID-RegionId" format. For example, if the ID of the certificateId is `123`, and the region ID is `cn-hangzhou`, the value of the `cert_identifier` is `123-cn-hangzhou`.
|
|
177
177
|
"""
|
|
178
178
|
return pulumi.get(self, "cert_identifier")
|
|
179
179
|
|
|
@@ -281,7 +281,7 @@ class _DomainResourceState:
|
|
|
281
281
|
> **NOTE:** If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
|
|
282
282
|
:param pulumi.Input[builtins.str] cert_identifier: The name of the certificate.
|
|
283
283
|
|
|
284
|
-
> **NOTE:** You can specify the name of the certificate that you want to associate.
|
|
284
|
+
> **NOTE:** You can specify the name of the certificate that you want to associate. From version 1.249.0, `cert_identifier` is in the "CertificateID-RegionId" format. For example, if the ID of the certificateId is `123`, and the region ID is `cn-hangzhou`, the value of the `cert_identifier` is `123-cn-hangzhou`.
|
|
285
285
|
:param pulumi.Input[builtins.str] cert_name: The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.
|
|
286
286
|
|
|
287
287
|
> **NOTE:** If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
|
|
@@ -359,7 +359,7 @@ class _DomainResourceState:
|
|
|
359
359
|
"""
|
|
360
360
|
The name of the certificate.
|
|
361
361
|
|
|
362
|
-
> **NOTE:** You can specify the name of the certificate that you want to associate.
|
|
362
|
+
> **NOTE:** You can specify the name of the certificate that you want to associate. From version 1.249.0, `cert_identifier` is in the "CertificateID-RegionId" format. For example, if the ID of the certificateId is `123`, and the region ID is `cn-hangzhou`, the value of the `cert_identifier` is `123-cn-hangzhou`.
|
|
363
363
|
"""
|
|
364
364
|
return pulumi.get(self, "cert_identifier")
|
|
365
365
|
|
|
@@ -573,7 +573,12 @@ class DomainResource(pulumi.CustomResource):
|
|
|
573
573
|
rs_type=0,
|
|
574
574
|
instance_ids=[default.id],
|
|
575
575
|
real_servers=["177.167.32.11"],
|
|
576
|
-
https_ext
|
|
576
|
+
https_ext=\"\"\" {
|
|
577
|
+
"Http2": 1,
|
|
578
|
+
"Http2https": 0,
|
|
579
|
+
"Https2http": 0
|
|
580
|
+
}
|
|
581
|
+
\"\"\",
|
|
577
582
|
proxy_types=[{
|
|
578
583
|
"proxy_ports": [443],
|
|
579
584
|
"proxy_type": "https",
|
|
@@ -595,7 +600,7 @@ class DomainResource(pulumi.CustomResource):
|
|
|
595
600
|
> **NOTE:** If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
|
|
596
601
|
:param pulumi.Input[builtins.str] cert_identifier: The name of the certificate.
|
|
597
602
|
|
|
598
|
-
> **NOTE:** You can specify the name of the certificate that you want to associate.
|
|
603
|
+
> **NOTE:** You can specify the name of the certificate that you want to associate. From version 1.249.0, `cert_identifier` is in the "CertificateID-RegionId" format. For example, if the ID of the certificateId is `123`, and the region ID is `cn-hangzhou`, the value of the `cert_identifier` is `123-cn-hangzhou`.
|
|
599
604
|
:param pulumi.Input[builtins.str] cert_name: The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.
|
|
600
605
|
|
|
601
606
|
> **NOTE:** If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
|
|
@@ -667,7 +672,12 @@ class DomainResource(pulumi.CustomResource):
|
|
|
667
672
|
rs_type=0,
|
|
668
673
|
instance_ids=[default.id],
|
|
669
674
|
real_servers=["177.167.32.11"],
|
|
670
|
-
https_ext
|
|
675
|
+
https_ext=\"\"\" {
|
|
676
|
+
"Http2": 1,
|
|
677
|
+
"Http2https": 0,
|
|
678
|
+
"Https2http": 0
|
|
679
|
+
}
|
|
680
|
+
\"\"\",
|
|
671
681
|
proxy_types=[{
|
|
672
682
|
"proxy_ports": [443],
|
|
673
683
|
"proxy_type": "https",
|
|
@@ -778,7 +788,7 @@ class DomainResource(pulumi.CustomResource):
|
|
|
778
788
|
> **NOTE:** If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
|
|
779
789
|
:param pulumi.Input[builtins.str] cert_identifier: The name of the certificate.
|
|
780
790
|
|
|
781
|
-
> **NOTE:** You can specify the name of the certificate that you want to associate.
|
|
791
|
+
> **NOTE:** You can specify the name of the certificate that you want to associate. From version 1.249.0, `cert_identifier` is in the "CertificateID-RegionId" format. For example, if the ID of the certificateId is `123`, and the region ID is `cn-hangzhou`, the value of the `cert_identifier` is `123-cn-hangzhou`.
|
|
782
792
|
:param pulumi.Input[builtins.str] cert_name: The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.
|
|
783
793
|
|
|
784
794
|
> **NOTE:** If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
|
|
@@ -844,7 +854,7 @@ class DomainResource(pulumi.CustomResource):
|
|
|
844
854
|
"""
|
|
845
855
|
The name of the certificate.
|
|
846
856
|
|
|
847
|
-
> **NOTE:** You can specify the name of the certificate that you want to associate.
|
|
857
|
+
> **NOTE:** You can specify the name of the certificate that you want to associate. From version 1.249.0, `cert_identifier` is in the "CertificateID-RegionId" format. For example, if the ID of the certificateId is `123`, and the region ID is `cn-hangzhou`, the value of the `cert_identifier` is `123-cn-hangzhou`.
|
|
848
858
|
"""
|
|
849
859
|
return pulumi.get(self, "cert_identifier")
|
|
850
860
|
|
|
@@ -254,7 +254,7 @@ class EnterpriseLogicDatabase(pulumi.CustomResource):
|
|
|
254
254
|
|
|
255
255
|
For information about DMS Enterprise Logic Database and how to use it, see [What is Logic Database](https://www.alibabacloud.com/help/en/dms/developer-reference/api-dms-enterprise-2018-11-01-createlogicdatabase).
|
|
256
256
|
|
|
257
|
-
> **NOTE:** Available
|
|
257
|
+
> **NOTE:** Available since v1.195.0.
|
|
258
258
|
|
|
259
259
|
## Example Usage
|
|
260
260
|
|
|
@@ -297,7 +297,7 @@ class EnterpriseLogicDatabase(pulumi.CustomResource):
|
|
|
297
297
|
|
|
298
298
|
For information about DMS Enterprise Logic Database and how to use it, see [What is Logic Database](https://www.alibabacloud.com/help/en/dms/developer-reference/api-dms-enterprise-2018-11-01-createlogicdatabase).
|
|
299
299
|
|
|
300
|
-
> **NOTE:** Available
|
|
300
|
+
> **NOTE:** Available since v1.195.0.
|
|
301
301
|
|
|
302
302
|
## Example Usage
|
|
303
303
|
|
|
@@ -320,7 +320,7 @@ class EnterpriseProxyAccess(pulumi.CustomResource):
|
|
|
320
320
|
|
|
321
321
|
For information about DMS Enterprise Proxy Access and how to use it, see [What is Proxy Access](https://next.api.alibabacloud.com/document/dms-enterprise/2018-11-01/CreateProxyAccess).
|
|
322
322
|
|
|
323
|
-
> **NOTE:** Available since v1.195.0
|
|
323
|
+
> **NOTE:** Available since v1.195.0.
|
|
324
324
|
|
|
325
325
|
## Example Usage
|
|
326
326
|
|
|
@@ -365,7 +365,7 @@ class EnterpriseProxyAccess(pulumi.CustomResource):
|
|
|
365
365
|
|
|
366
366
|
For information about DMS Enterprise Proxy Access and how to use it, see [What is Proxy Access](https://next.api.alibabacloud.com/document/dms-enterprise/2018-11-01/CreateProxyAccess).
|
|
367
367
|
|
|
368
|
-
> **NOTE:** Available since v1.195.0
|
|
368
|
+
> **NOTE:** Available since v1.195.0.
|
|
369
369
|
|
|
370
370
|
## Example Usage
|
|
371
371
|
|
pulumi_alicloud/drds/instance.py
CHANGED
|
@@ -185,7 +185,7 @@ class _InstanceState:
|
|
|
185
185
|
zone_id: Optional[pulumi.Input[builtins.str]] = None):
|
|
186
186
|
"""
|
|
187
187
|
Input properties used for looking up and filtering Instance resources.
|
|
188
|
-
:param pulumi.Input[builtins.str] connection_string: (Available
|
|
188
|
+
:param pulumi.Input[builtins.str] connection_string: (Available since v1.196.0) The connection string of the DRDS instance.
|
|
189
189
|
:param pulumi.Input[builtins.str] description: Description of the DRDS instance, This description can have a string of 2 to 256 characters.
|
|
190
190
|
:param pulumi.Input[builtins.str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, Default to `PostPaid`.
|
|
191
191
|
:param pulumi.Input[builtins.str] instance_series: The parameter of the instance series. **NOTE:** `drds.sn1.4c8g`,`drds.sn1.8c16g`,`drds.sn1.16c32g`,`drds.sn1.32c64g` are no longer supported. Valid values:
|
|
@@ -193,7 +193,7 @@ class _InstanceState:
|
|
|
193
193
|
- `drds.sn2.8c32g` Standard Edition.
|
|
194
194
|
- `drds.sn2.16c64g` Enterprise Edition.
|
|
195
195
|
:param pulumi.Input[builtins.int] mysql_version: The MySQL version supported by the instance, with the following range of values. `5`: Fully compatible with MySQL 5.x (default) `8`: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.
|
|
196
|
-
:param pulumi.Input[builtins.str] port: (Available
|
|
196
|
+
:param pulumi.Input[builtins.str] port: (Available since v1.196.0) The connection port of the DRDS instance.
|
|
197
197
|
:param pulumi.Input[builtins.str] specification: User-defined DRDS instance specification. Value range:
|
|
198
198
|
- `drds.sn1.4c8g` for DRDS instance Starter version;
|
|
199
199
|
- value range : `drds.sn1.4c8g.8c16g`, `drds.sn1.4c8g.16c32g`, `drds.sn1.4c8g.32c64g`, `drds.sn1.4c8g.64c128g`
|
|
@@ -232,7 +232,7 @@ class _InstanceState:
|
|
|
232
232
|
@pulumi.getter(name="connectionString")
|
|
233
233
|
def connection_string(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
234
234
|
"""
|
|
235
|
-
(Available
|
|
235
|
+
(Available since v1.196.0) The connection string of the DRDS instance.
|
|
236
236
|
"""
|
|
237
237
|
return pulumi.get(self, "connection_string")
|
|
238
238
|
|
|
@@ -295,7 +295,7 @@ class _InstanceState:
|
|
|
295
295
|
@pulumi.getter
|
|
296
296
|
def port(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
297
297
|
"""
|
|
298
|
-
(Available
|
|
298
|
+
(Available since v1.196.0) The connection port of the DRDS instance.
|
|
299
299
|
"""
|
|
300
300
|
return pulumi.get(self, "port")
|
|
301
301
|
|
|
@@ -382,6 +382,8 @@ class Instance(pulumi.CustomResource):
|
|
|
382
382
|
|
|
383
383
|
For information about DRDS and how to use it, see [What is DRDS](https://www.alibabacloud.com/help/product/29657.htm).
|
|
384
384
|
|
|
385
|
+
> **NOTE:** Available since v1.24.0.
|
|
386
|
+
|
|
385
387
|
> **NOTE:** At present, DRDS instance only can be supported in the regions: cn-shenzhen, cn-beijing, cn-hangzhou, cn-hongkong, cn-qingdao, ap-southeast-1.
|
|
386
388
|
|
|
387
389
|
> **NOTE:** Currently, this resource only support `Domestic Site Account`.
|
|
@@ -451,6 +453,8 @@ class Instance(pulumi.CustomResource):
|
|
|
451
453
|
|
|
452
454
|
For information about DRDS and how to use it, see [What is DRDS](https://www.alibabacloud.com/help/product/29657.htm).
|
|
453
455
|
|
|
456
|
+
> **NOTE:** Available since v1.24.0.
|
|
457
|
+
|
|
454
458
|
> **NOTE:** At present, DRDS instance only can be supported in the regions: cn-shenzhen, cn-beijing, cn-hangzhou, cn-hongkong, cn-qingdao, ap-southeast-1.
|
|
455
459
|
|
|
456
460
|
> **NOTE:** Currently, this resource only support `Domestic Site Account`.
|
|
@@ -564,7 +568,7 @@ class Instance(pulumi.CustomResource):
|
|
|
564
568
|
:param str resource_name: The unique name of the resulting resource.
|
|
565
569
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
566
570
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
567
|
-
:param pulumi.Input[builtins.str] connection_string: (Available
|
|
571
|
+
:param pulumi.Input[builtins.str] connection_string: (Available since v1.196.0) The connection string of the DRDS instance.
|
|
568
572
|
:param pulumi.Input[builtins.str] description: Description of the DRDS instance, This description can have a string of 2 to 256 characters.
|
|
569
573
|
:param pulumi.Input[builtins.str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, Default to `PostPaid`.
|
|
570
574
|
:param pulumi.Input[builtins.str] instance_series: The parameter of the instance series. **NOTE:** `drds.sn1.4c8g`,`drds.sn1.8c16g`,`drds.sn1.16c32g`,`drds.sn1.32c64g` are no longer supported. Valid values:
|
|
@@ -572,7 +576,7 @@ class Instance(pulumi.CustomResource):
|
|
|
572
576
|
- `drds.sn2.8c32g` Standard Edition.
|
|
573
577
|
- `drds.sn2.16c64g` Enterprise Edition.
|
|
574
578
|
:param pulumi.Input[builtins.int] mysql_version: The MySQL version supported by the instance, with the following range of values. `5`: Fully compatible with MySQL 5.x (default) `8`: Fully compatible with MySQL 8.0. This parameter takes effect when the primary instance is created, and the read-only instance has the same MySQL version as the primary instance by default.
|
|
575
|
-
:param pulumi.Input[builtins.str] port: (Available
|
|
579
|
+
:param pulumi.Input[builtins.str] port: (Available since v1.196.0) The connection port of the DRDS instance.
|
|
576
580
|
:param pulumi.Input[builtins.str] specification: User-defined DRDS instance specification. Value range:
|
|
577
581
|
- `drds.sn1.4c8g` for DRDS instance Starter version;
|
|
578
582
|
- value range : `drds.sn1.4c8g.8c16g`, `drds.sn1.4c8g.16c32g`, `drds.sn1.4c8g.32c64g`, `drds.sn1.4c8g.64c128g`
|
|
@@ -606,7 +610,7 @@ class Instance(pulumi.CustomResource):
|
|
|
606
610
|
@pulumi.getter(name="connectionString")
|
|
607
611
|
def connection_string(self) -> pulumi.Output[builtins.str]:
|
|
608
612
|
"""
|
|
609
|
-
(Available
|
|
613
|
+
(Available since v1.196.0) The connection string of the DRDS instance.
|
|
610
614
|
"""
|
|
611
615
|
return pulumi.get(self, "connection_string")
|
|
612
616
|
|
|
@@ -649,7 +653,7 @@ class Instance(pulumi.CustomResource):
|
|
|
649
653
|
@pulumi.getter
|
|
650
654
|
def port(self) -> pulumi.Output[builtins.str]:
|
|
651
655
|
"""
|
|
652
|
-
(Available
|
|
656
|
+
(Available since v1.196.0) The connection port of the DRDS instance.
|
|
653
657
|
"""
|
|
654
658
|
return pulumi.get(self, "port")
|
|
655
659
|
|
|
@@ -382,7 +382,7 @@ class DedicatedBlockStorageCluster(pulumi.CustomResource):
|
|
|
382
382
|
|
|
383
383
|
For information about Ebs Dedicated Block Storage Cluster and how to use it, see [What is Dedicated Block Storage Cluster](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-ebs-2021-07-30-creatededicatedblockstoragecluster).
|
|
384
384
|
|
|
385
|
-
> **NOTE:** Available
|
|
385
|
+
> **NOTE:** Available since v1.195.0.
|
|
386
386
|
|
|
387
387
|
## Import
|
|
388
388
|
|
|
@@ -411,7 +411,7 @@ class DedicatedBlockStorageCluster(pulumi.CustomResource):
|
|
|
411
411
|
|
|
412
412
|
For information about Ebs Dedicated Block Storage Cluster and how to use it, see [What is Dedicated Block Storage Cluster](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-ebs-2021-07-30-creatededicatedblockstoragecluster).
|
|
413
413
|
|
|
414
|
-
> **NOTE:** Available
|
|
414
|
+
> **NOTE:** Available since v1.195.0.
|
|
415
415
|
|
|
416
416
|
## Import
|
|
417
417
|
|
|
@@ -218,7 +218,7 @@ class Activation(pulumi.CustomResource):
|
|
|
218
218
|
|
|
219
219
|
For information about ECS Activation and how to use it, see [What is Activation](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/createactivation#doc-api-Ecs-CreateActivation).
|
|
220
220
|
|
|
221
|
-
> **NOTE:** Available
|
|
221
|
+
> **NOTE:** Available since v1.177.0.
|
|
222
222
|
|
|
223
223
|
## Example Usage
|
|
224
224
|
|
|
@@ -265,7 +265,7 @@ class Activation(pulumi.CustomResource):
|
|
|
265
265
|
|
|
266
266
|
For information about ECS Activation and how to use it, see [What is Activation](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/createactivation#doc-api-Ecs-CreateActivation).
|
|
267
267
|
|
|
268
|
-
> **NOTE:** Available
|
|
268
|
+
> **NOTE:** Available since v1.177.0.
|
|
269
269
|
|
|
270
270
|
## Example Usage
|
|
271
271
|
|
|
@@ -518,7 +518,7 @@ class CapacityReservation(pulumi.CustomResource):
|
|
|
518
518
|
|
|
519
519
|
For information about Ecs Capacity Reservation and how to use it, see [What is Capacity Reservation](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/createcapacityreservation).
|
|
520
520
|
|
|
521
|
-
> **NOTE:** Available
|
|
521
|
+
> **NOTE:** Available since v1.195.0.
|
|
522
522
|
|
|
523
523
|
## Example Usage
|
|
524
524
|
|
|
@@ -581,7 +581,7 @@ class CapacityReservation(pulumi.CustomResource):
|
|
|
581
581
|
|
|
582
582
|
For information about Ecs Capacity Reservation and how to use it, see [What is Capacity Reservation](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/createcapacityreservation).
|
|
583
583
|
|
|
584
|
-
> **NOTE:** Available
|
|
584
|
+
> **NOTE:** Available since v1.195.0.
|
|
585
585
|
|
|
586
586
|
## Example Usage
|
|
587
587
|
|
|
@@ -257,7 +257,7 @@ class EcsDiskAttachment(pulumi.CustomResource):
|
|
|
257
257
|
|
|
258
258
|
For information about ECS Disk Attachment and how to use it, see [What is Disk Attachment](https://www.alibabacloud.com/help/en/doc-detail/25515.htm).
|
|
259
259
|
|
|
260
|
-
> **NOTE:** Available since v1.122.0
|
|
260
|
+
> **NOTE:** Available since v1.122.0.
|
|
261
261
|
|
|
262
262
|
## Example Usage
|
|
263
263
|
|
|
@@ -343,7 +343,7 @@ class EcsDiskAttachment(pulumi.CustomResource):
|
|
|
343
343
|
|
|
344
344
|
For information about ECS Disk Attachment and how to use it, see [What is Disk Attachment](https://www.alibabacloud.com/help/en/doc-detail/25515.htm).
|
|
345
345
|
|
|
346
|
-
> **NOTE:** Available since v1.122.0
|
|
346
|
+
> **NOTE:** Available since v1.122.0.
|
|
347
347
|
|
|
348
348
|
## Example Usage
|
|
349
349
|
|
|
@@ -347,7 +347,7 @@ class EcsInvocation(pulumi.CustomResource):
|
|
|
347
347
|
|
|
348
348
|
For information about ECS Invocation and how to use it, see [What is Invocation](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/invokecommand#t9958.html).
|
|
349
349
|
|
|
350
|
-
> **NOTE:** Available since v1.168.0
|
|
350
|
+
> **NOTE:** Available since v1.168.0.
|
|
351
351
|
|
|
352
352
|
## Example Usage
|
|
353
353
|
|
|
@@ -363,7 +363,10 @@ class EcsInvocation(pulumi.CustomResource):
|
|
|
363
363
|
name = "tf-example"
|
|
364
364
|
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
|
|
365
365
|
available_resource_creation="VSwitch")
|
|
366
|
-
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id
|
|
366
|
+
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
|
|
367
|
+
cpu_core_count=2,
|
|
368
|
+
memory_size=8,
|
|
369
|
+
instance_type_family="ecs.g6")
|
|
367
370
|
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
368
371
|
most_recent=True,
|
|
369
372
|
owners="system")
|
|
@@ -376,7 +379,7 @@ class EcsInvocation(pulumi.CustomResource):
|
|
|
376
379
|
zone_id=default.zones[0].id,
|
|
377
380
|
vswitch_name=name)
|
|
378
381
|
default_security_group = alicloud.ecs.SecurityGroup("default",
|
|
379
|
-
|
|
382
|
+
security_group_name=name,
|
|
380
383
|
vpc_id=default_network.id)
|
|
381
384
|
default_security_group_rule = alicloud.ecs.SecurityGroupRule("default",
|
|
382
385
|
type="ingress",
|
|
@@ -444,7 +447,7 @@ class EcsInvocation(pulumi.CustomResource):
|
|
|
444
447
|
|
|
445
448
|
For information about ECS Invocation and how to use it, see [What is Invocation](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/invokecommand#t9958.html).
|
|
446
449
|
|
|
447
|
-
> **NOTE:** Available since v1.168.0
|
|
450
|
+
> **NOTE:** Available since v1.168.0.
|
|
448
451
|
|
|
449
452
|
## Example Usage
|
|
450
453
|
|
|
@@ -460,7 +463,10 @@ class EcsInvocation(pulumi.CustomResource):
|
|
|
460
463
|
name = "tf-example"
|
|
461
464
|
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
|
|
462
465
|
available_resource_creation="VSwitch")
|
|
463
|
-
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id
|
|
466
|
+
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
|
|
467
|
+
cpu_core_count=2,
|
|
468
|
+
memory_size=8,
|
|
469
|
+
instance_type_family="ecs.g6")
|
|
464
470
|
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
465
471
|
most_recent=True,
|
|
466
472
|
owners="system")
|
|
@@ -473,7 +479,7 @@ class EcsInvocation(pulumi.CustomResource):
|
|
|
473
479
|
zone_id=default.zones[0].id,
|
|
474
480
|
vswitch_name=name)
|
|
475
481
|
default_security_group = alicloud.ecs.SecurityGroup("default",
|
|
476
|
-
|
|
482
|
+
security_group_name=name,
|
|
477
483
|
vpc_id=default_network.id)
|
|
478
484
|
default_security_group_rule = alicloud.ecs.SecurityGroupRule("default",
|
|
479
485
|
type="ingress",
|
|
@@ -190,7 +190,7 @@ class EcsNetworkInterfacePermission(pulumi.CustomResource):
|
|
|
190
190
|
|
|
191
191
|
For information about ECS Network Interface Permission and how to use it, see [What is Network Interface Permission](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/elastic-network-interfaces-overview).
|
|
192
192
|
|
|
193
|
-
> **NOTE:** Available
|
|
193
|
+
> **NOTE:** Available since v1.166.0.
|
|
194
194
|
|
|
195
195
|
## Import
|
|
196
196
|
|
|
@@ -218,7 +218,7 @@ class EcsNetworkInterfacePermission(pulumi.CustomResource):
|
|
|
218
218
|
|
|
219
219
|
For information about ECS Network Interface Permission and how to use it, see [What is Network Interface Permission](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/elastic-network-interfaces-overview).
|
|
220
220
|
|
|
221
|
-
> **NOTE:** Available
|
|
221
|
+
> **NOTE:** Available since v1.166.0.
|
|
222
222
|
|
|
223
223
|
## Import
|
|
224
224
|
|
|
@@ -358,7 +358,7 @@ class EcsSnapshotGroup(pulumi.CustomResource):
|
|
|
358
358
|
|
|
359
359
|
For information about ECS Snapshot Group and how to use it, see [What is Snapshot Group](https://www.alibabacloud.com/help/en/doc-detail/210939.html).
|
|
360
360
|
|
|
361
|
-
> **NOTE:** Available
|
|
361
|
+
> **NOTE:** Available since v1.160.0.
|
|
362
362
|
|
|
363
363
|
## Example Usage
|
|
364
364
|
|
|
@@ -447,7 +447,7 @@ class EcsSnapshotGroup(pulumi.CustomResource):
|
|
|
447
447
|
|
|
448
448
|
For information about ECS Snapshot Group and how to use it, see [What is Snapshot Group](https://www.alibabacloud.com/help/en/doc-detail/210939.html).
|
|
449
449
|
|
|
450
|
-
> **NOTE:** Available
|
|
450
|
+
> **NOTE:** Available since v1.160.0.
|
|
451
451
|
|
|
452
452
|
## Example Usage
|
|
453
453
|
|
|
@@ -542,7 +542,7 @@ class ElasticityAssurance(pulumi.CustomResource):
|
|
|
542
542
|
|
|
543
543
|
For information about Ecs Elasticity Assurance and how to use it, see [What is Elasticity Assurance](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/createelasticityassurance).
|
|
544
544
|
|
|
545
|
-
> **NOTE:** Available
|
|
545
|
+
> **NOTE:** Available since v1.196.0.
|
|
546
546
|
|
|
547
547
|
## Example Usage
|
|
548
548
|
|
|
@@ -604,7 +604,7 @@ class ElasticityAssurance(pulumi.CustomResource):
|
|
|
604
604
|
|
|
605
605
|
For information about Ecs Elasticity Assurance and how to use it, see [What is Elasticity Assurance](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/createelasticityassurance).
|
|
606
606
|
|
|
607
|
-
> **NOTE:** Available
|
|
607
|
+
> **NOTE:** Available since v1.196.0.
|
|
608
608
|
|
|
609
609
|
## Example Usage
|
|
610
610
|
|
|
@@ -377,7 +377,7 @@ class ImageCopy(pulumi.CustomResource):
|
|
|
377
377
|
|
|
378
378
|
> **NOTE:** If the copying is not completed, you cannot call DeleteImage to delete the image but you can call CancelCopyImage to cancel the copying.
|
|
379
379
|
|
|
380
|
-
> **NOTE:** Available
|
|
380
|
+
> **NOTE:** Available since v1.66.0.
|
|
381
381
|
|
|
382
382
|
## Example Usage
|
|
383
383
|
|
|
@@ -464,7 +464,7 @@ class ImageCopy(pulumi.CustomResource):
|
|
|
464
464
|
|
|
465
465
|
> **NOTE:** If the copying is not completed, you cannot call DeleteImage to delete the image but you can call CancelCopyImage to cancel the copying.
|
|
466
466
|
|
|
467
|
-
> **NOTE:** Available
|
|
467
|
+
> **NOTE:** Available since v1.66.0.
|
|
468
468
|
|
|
469
469
|
## Example Usage
|
|
470
470
|
|
|
@@ -146,7 +146,7 @@ class ImageExport(pulumi.CustomResource):
|
|
|
146
146
|
|
|
147
147
|
> **NOTE:** Before exporting the image, you must authorize the cloud server ECS official service account to write OSS permissions through RAM.
|
|
148
148
|
|
|
149
|
-
> **NOTE:** Available since v1.68.0
|
|
149
|
+
> **NOTE:** Available since v1.68.0.
|
|
150
150
|
|
|
151
151
|
## Example Usage
|
|
152
152
|
|
|
@@ -213,7 +213,7 @@ class ImageExport(pulumi.CustomResource):
|
|
|
213
213
|
|
|
214
214
|
> **NOTE:** Before exporting the image, you must authorize the cloud server ECS official service account to write OSS permissions through RAM.
|
|
215
215
|
|
|
216
|
-
> **NOTE:** Available since v1.68.0
|
|
216
|
+
> **NOTE:** Available since v1.68.0.
|
|
217
217
|
|
|
218
218
|
## Example Usage
|
|
219
219
|
|
|
@@ -663,7 +663,7 @@ class ReservedInstance(pulumi.CustomResource):
|
|
|
663
663
|
"""
|
|
664
664
|
Provides an Reserved Instance resource.
|
|
665
665
|
|
|
666
|
-
> **NOTE:** Available
|
|
666
|
+
> **NOTE:** Available since v1.65.0.
|
|
667
667
|
|
|
668
668
|
## Example Usage
|
|
669
669
|
|
|
@@ -723,7 +723,7 @@ class ReservedInstance(pulumi.CustomResource):
|
|
|
723
723
|
"""
|
|
724
724
|
Provides an Reserved Instance resource.
|
|
725
725
|
|
|
726
|
-
> **NOTE:** Available
|
|
726
|
+
> **NOTE:** Available since v1.65.0.
|
|
727
727
|
|
|
728
728
|
## Example Usage
|
|
729
729
|
|
pulumi_alicloud/ecs/snapshot.py
CHANGED
|
@@ -419,12 +419,14 @@ class Snapshot(pulumi.CustomResource):
|
|
|
419
419
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
420
420
|
__props__=None):
|
|
421
421
|
"""
|
|
422
|
-
> **DEPRECATED:** This resource has been renamed to ecs.EcsSnapshot from version 1.120.0.
|
|
423
|
-
|
|
424
422
|
Provides an ECS snapshot resource.
|
|
425
423
|
|
|
426
424
|
For information about snapshot and how to use it, see [Snapshot](https://www.alibabacloud.com/help/doc-detail/25460.html).
|
|
427
425
|
|
|
426
|
+
> **NOTE:** Deprecated since v1.120.0.
|
|
427
|
+
|
|
428
|
+
> **DEPRECATED:** This resource has been renamed to ecs.EcsSnapshot from version 1.120.0.
|
|
429
|
+
|
|
428
430
|
## Example Usage
|
|
429
431
|
|
|
430
432
|
```python
|
|
@@ -464,12 +466,14 @@ class Snapshot(pulumi.CustomResource):
|
|
|
464
466
|
args: SnapshotArgs,
|
|
465
467
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
466
468
|
"""
|
|
467
|
-
> **DEPRECATED:** This resource has been renamed to ecs.EcsSnapshot from version 1.120.0.
|
|
468
|
-
|
|
469
469
|
Provides an ECS snapshot resource.
|
|
470
470
|
|
|
471
471
|
For information about snapshot and how to use it, see [Snapshot](https://www.alibabacloud.com/help/doc-detail/25460.html).
|
|
472
472
|
|
|
473
|
+
> **NOTE:** Deprecated since v1.120.0.
|
|
474
|
+
|
|
475
|
+
> **DEPRECATED:** This resource has been renamed to ecs.EcsSnapshot from version 1.120.0.
|
|
476
|
+
|
|
473
477
|
## Example Usage
|
|
474
478
|
|
|
475
479
|
```python
|
|
@@ -266,7 +266,7 @@ class StorageCapacityUnit(pulumi.CustomResource):
|
|
|
266
266
|
|
|
267
267
|
For information about ECS Storage Capacity Unit and how to use it, see [What is Storage Capacity Unit](https://www.alibabacloud.com/help/en/doc-detail/161157.html).
|
|
268
268
|
|
|
269
|
-
> **NOTE:** Available
|
|
269
|
+
> **NOTE:** Available since v1.155.0.
|
|
270
270
|
|
|
271
271
|
## Example Usage
|
|
272
272
|
|
|
@@ -312,7 +312,7 @@ class StorageCapacityUnit(pulumi.CustomResource):
|
|
|
312
312
|
|
|
313
313
|
For information about ECS Storage Capacity Unit and how to use it, see [What is Storage Capacity Unit](https://www.alibabacloud.com/help/en/doc-detail/161157.html).
|
|
314
314
|
|
|
315
|
-
> **NOTE:** Available
|
|
315
|
+
> **NOTE:** Available since v1.155.0.
|
|
316
316
|
|
|
317
317
|
## Example Usage
|
|
318
318
|
|
pulumi_alicloud/emr/cluster.py
CHANGED
|
@@ -935,7 +935,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
935
935
|
|
|
936
936
|
> **DEPRECATED:** This resource has been deprecated from version `1.204.0`. Please use new resource emrv2_cluster.
|
|
937
937
|
|
|
938
|
-
> **NOTE:** Available
|
|
938
|
+
> **NOTE:** Available since v1.57.0.
|
|
939
939
|
|
|
940
940
|
## Example Usage
|
|
941
941
|
|
|
@@ -1181,7 +1181,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
1181
1181
|
|
|
1182
1182
|
In the case of scaling down a cluster, we need to specified the host group and the instance list.
|
|
1183
1183
|
|
|
1184
|
-
> **NOTE:** Graceful decommission of hadoop cluster has been supported Available
|
|
1184
|
+
> **NOTE:** Graceful decommission of hadoop cluster has been supported Available since v1.168.0.
|
|
1185
1185
|
|
|
1186
1186
|
The following is an example. We scale down the cluster by decreasing the node count by 2, and specifying the scale-down instance list.
|
|
1187
1187
|
|
|
@@ -1435,7 +1435,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
1435
1435
|
|
|
1436
1436
|
> **DEPRECATED:** This resource has been deprecated from version `1.204.0`. Please use new resource emrv2_cluster.
|
|
1437
1437
|
|
|
1438
|
-
> **NOTE:** Available
|
|
1438
|
+
> **NOTE:** Available since v1.57.0.
|
|
1439
1439
|
|
|
1440
1440
|
## Example Usage
|
|
1441
1441
|
|
|
@@ -1681,7 +1681,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
1681
1681
|
|
|
1682
1682
|
In the case of scaling down a cluster, we need to specified the host group and the instance list.
|
|
1683
1683
|
|
|
1684
|
-
> **NOTE:** Graceful decommission of hadoop cluster has been supported Available
|
|
1684
|
+
> **NOTE:** Graceful decommission of hadoop cluster has been supported Available since v1.168.0.
|
|
1685
1685
|
|
|
1686
1686
|
The following is an example. We scale down the cluster by decreasing the node count by 2, and specifying the scale-down instance list.
|
|
1687
1687
|
|
|
@@ -167,14 +167,18 @@ class EdgeContainerAppRecord(pulumi.CustomResource):
|
|
|
167
167
|
```python
|
|
168
168
|
import pulumi
|
|
169
169
|
import pulumi_alicloud as alicloud
|
|
170
|
+
import pulumi_random as random
|
|
170
171
|
|
|
171
172
|
config = pulumi.Config()
|
|
172
173
|
name = config.get("name")
|
|
173
174
|
if name is None:
|
|
174
175
|
name = "terraform.com"
|
|
175
176
|
default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
|
|
177
|
+
default_integer = random.index.Integer("default",
|
|
178
|
+
min=10000,
|
|
179
|
+
max=99999)
|
|
176
180
|
resource_site_origin_pool_test = alicloud.esa.Site("resource_Site_OriginPool_test",
|
|
177
|
-
site_name=
|
|
181
|
+
site_name=f"gositecdn-{default_integer['result']}.cn",
|
|
178
182
|
instance_id=default.sites[0].instance_id,
|
|
179
183
|
coverage="overseas",
|
|
180
184
|
access_type="NS")
|
|
@@ -233,14 +237,18 @@ class EdgeContainerAppRecord(pulumi.CustomResource):
|
|
|
233
237
|
```python
|
|
234
238
|
import pulumi
|
|
235
239
|
import pulumi_alicloud as alicloud
|
|
240
|
+
import pulumi_random as random
|
|
236
241
|
|
|
237
242
|
config = pulumi.Config()
|
|
238
243
|
name = config.get("name")
|
|
239
244
|
if name is None:
|
|
240
245
|
name = "terraform.com"
|
|
241
246
|
default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
|
|
247
|
+
default_integer = random.index.Integer("default",
|
|
248
|
+
min=10000,
|
|
249
|
+
max=99999)
|
|
242
250
|
resource_site_origin_pool_test = alicloud.esa.Site("resource_Site_OriginPool_test",
|
|
243
|
-
site_name=
|
|
251
|
+
site_name=f"gositecdn-{default_integer['result']}.cn",
|
|
244
252
|
instance_id=default.sites[0].instance_id,
|
|
245
253
|
coverage="overseas",
|
|
246
254
|
access_type="NS")
|
|
@@ -284,6 +284,7 @@ class HttpRequestHeaderModificationRule(pulumi.CustomResource):
|
|
|
284
284
|
```python
|
|
285
285
|
import pulumi
|
|
286
286
|
import pulumi_alicloud as alicloud
|
|
287
|
+
import pulumi_random as random
|
|
287
288
|
|
|
288
289
|
config = pulumi.Config()
|
|
289
290
|
name = config.get("name")
|
|
@@ -297,12 +298,15 @@ class HttpRequestHeaderModificationRule(pulumi.CustomResource):
|
|
|
297
298
|
coverage="overseas",
|
|
298
299
|
auto_pay=True,
|
|
299
300
|
plan_name="high")
|
|
301
|
+
default = random.index.Integer("default",
|
|
302
|
+
min=10000,
|
|
303
|
+
max=99999)
|
|
300
304
|
site = alicloud.esa.Site("site",
|
|
301
|
-
site_name="gositecdn.cn",
|
|
305
|
+
site_name=f"gositecdn-{default['result']}.cn",
|
|
302
306
|
instance_id=instance.id,
|
|
303
307
|
coverage="overseas",
|
|
304
308
|
access_type="NS")
|
|
305
|
-
|
|
309
|
+
default_http_request_header_modification_rule = alicloud.esa.HttpRequestHeaderModificationRule("default",
|
|
306
310
|
rule_name="example_modify",
|
|
307
311
|
request_header_modifications=[{
|
|
308
312
|
"value": "modify1",
|
|
@@ -356,6 +360,7 @@ class HttpRequestHeaderModificationRule(pulumi.CustomResource):
|
|
|
356
360
|
```python
|
|
357
361
|
import pulumi
|
|
358
362
|
import pulumi_alicloud as alicloud
|
|
363
|
+
import pulumi_random as random
|
|
359
364
|
|
|
360
365
|
config = pulumi.Config()
|
|
361
366
|
name = config.get("name")
|
|
@@ -369,12 +374,15 @@ class HttpRequestHeaderModificationRule(pulumi.CustomResource):
|
|
|
369
374
|
coverage="overseas",
|
|
370
375
|
auto_pay=True,
|
|
371
376
|
plan_name="high")
|
|
377
|
+
default = random.index.Integer("default",
|
|
378
|
+
min=10000,
|
|
379
|
+
max=99999)
|
|
372
380
|
site = alicloud.esa.Site("site",
|
|
373
|
-
site_name="gositecdn.cn",
|
|
381
|
+
site_name=f"gositecdn-{default['result']}.cn",
|
|
374
382
|
instance_id=instance.id,
|
|
375
383
|
coverage="overseas",
|
|
376
384
|
access_type="NS")
|
|
377
|
-
|
|
385
|
+
default_http_request_header_modification_rule = alicloud.esa.HttpRequestHeaderModificationRule("default",
|
|
378
386
|
rule_name="example_modify",
|
|
379
387
|
request_header_modifications=[{
|
|
380
388
|
"value": "modify1",
|