pulumi-alicloud 3.74.0a1737782319__py3-none-any.whl → 3.75.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +310 -0
- pulumi_alicloud/_inputs.py +33 -0
- pulumi_alicloud/_utilities.py +8 -4
- pulumi_alicloud/ackone/__init__.py +1 -0
- pulumi_alicloud/ackone/cluster.py +73 -8
- pulumi_alicloud/ackone/membership_attachment.py +223 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +1109 -246
- pulumi_alicloud/alb/get_server_groups.py +55 -25
- pulumi_alicloud/alb/listener.py +269 -174
- pulumi_alicloud/alb/load_balancer.py +211 -118
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
- pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +856 -220
- pulumi_alicloud/alb/server_group.py +661 -96
- pulumi_alicloud/aligreen/audit_callback.py +2 -2
- pulumi_alicloud/aligreen/biz_type.py +2 -2
- pulumi_alicloud/aligreen/callback.py +2 -2
- pulumi_alicloud/aligreen/image_lib.py +2 -2
- pulumi_alicloud/aligreen/keyword_lib.py +2 -2
- pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
- pulumi_alicloud/apigateway/instance.py +51 -4
- pulumi_alicloud/cen/_inputs.py +34 -0
- pulumi_alicloud/cen/outputs.py +37 -0
- pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
- pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
- pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
- pulumi_alicloud/cfg/aggregator.py +6 -4
- pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
- pulumi_alicloud/cloudcontrol/get_products.py +2 -2
- pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
- pulumi_alicloud/cloudcontrol/resource.py +2 -2
- pulumi_alicloud/cloudfirewall/__init__.py +2 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
- pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
- pulumi_alicloud/cloudfirewall/outputs.py +362 -0
- pulumi_alicloud/cloudphone/__init__.py +12 -0
- pulumi_alicloud/cloudphone/_inputs.py +175 -0
- pulumi_alicloud/cloudphone/image.py +323 -0
- pulumi_alicloud/cloudphone/key_pair.py +294 -0
- pulumi_alicloud/cloudphone/outputs.py +138 -0
- pulumi_alicloud/cloudphone/policy.py +522 -0
- pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
- pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
- pulumi_alicloud/cloudphoneinstance/group.py +961 -0
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/config/outputs.py +20 -0
- pulumi_alicloud/cs/_inputs.py +358 -10
- pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/kubernetes.py +15 -15
- pulumi_alicloud/cs/managed_kubernetes.py +47 -35
- pulumi_alicloud/cs/node_pool.py +126 -23
- pulumi_alicloud/cs/outputs.py +271 -7
- pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/dfs/file_system.py +62 -23
- pulumi_alicloud/dfs/mount_point.py +48 -22
- pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
- pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/ebs/replica_group_drill.py +2 -2
- pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
- pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
- pulumi_alicloud/ecs/eip.py +1 -1
- pulumi_alicloud/ecs/eip_address.py +1 -1
- pulumi_alicloud/ecs/instance.py +43 -30
- pulumi_alicloud/eds/command.py +10 -2
- pulumi_alicloud/emrv2/__init__.py +1 -0
- pulumi_alicloud/emrv2/_inputs.py +47 -7
- pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
- pulumi_alicloud/emrv2/outputs.py +195 -5
- pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
- pulumi_alicloud/ens/nat_gateway.py +6 -6
- pulumi_alicloud/ens/vswitch.py +36 -36
- pulumi_alicloud/esa/__init__.py +22 -0
- pulumi_alicloud/esa/_inputs.py +512 -0
- pulumi_alicloud/esa/cache_rule.py +1405 -0
- pulumi_alicloud/esa/certificate.py +724 -0
- pulumi_alicloud/esa/client_ca_certificate.py +388 -0
- pulumi_alicloud/esa/client_certificate.py +452 -0
- pulumi_alicloud/esa/compression_rule.py +582 -0
- pulumi_alicloud/esa/get_sites.py +421 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
- pulumi_alicloud/esa/http_response_header_modification_rule.py +560 -0
- pulumi_alicloud/esa/https_application_configuration.py +925 -0
- pulumi_alicloud/esa/https_basic_configuration.py +1027 -0
- pulumi_alicloud/esa/image_transform.py +484 -0
- pulumi_alicloud/esa/kv_namespace.py +276 -0
- pulumi_alicloud/esa/list.py +361 -0
- pulumi_alicloud/esa/network_optimization.py +750 -0
- pulumi_alicloud/esa/origin_pool.py +485 -0
- pulumi_alicloud/esa/origin_rule.py +768 -0
- pulumi_alicloud/esa/outputs.py +473 -0
- pulumi_alicloud/esa/page.py +376 -0
- pulumi_alicloud/esa/rate_plan_instance.py +63 -7
- pulumi_alicloud/esa/record.py +2 -2
- pulumi_alicloud/esa/redirect_rule.py +734 -0
- pulumi_alicloud/esa/rewrite_url_rule.py +702 -0
- pulumi_alicloud/esa/site.py +307 -2
- pulumi_alicloud/esa/waiting_room.py +1257 -0
- pulumi_alicloud/esa/waiting_room_event.py +1392 -0
- pulumi_alicloud/esa/waiting_room_rule.py +504 -0
- pulumi_alicloud/ess/get_scaling_groups.py +64 -10
- pulumi_alicloud/ess/get_scaling_rules.py +74 -10
- pulumi_alicloud/ess/outputs.py +357 -17
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/eventbridge/get_service.py +2 -6
- pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
- pulumi_alicloud/fc/_inputs.py +75 -75
- pulumi_alicloud/fc/outputs.py +50 -50
- pulumi_alicloud/fc/v3_function.py +53 -6
- pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
- pulumi_alicloud/ga/outputs.py +10 -4
- pulumi_alicloud/gpdb/db_resource_group.py +6 -6
- pulumi_alicloud/gpdb/external_data_service.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
- pulumi_alicloud/hbr/policy.py +67 -6
- pulumi_alicloud/hbr/vault.py +210 -9
- pulumi_alicloud/kms/__init__.py +1 -0
- pulumi_alicloud/kms/get_instances.py +160 -0
- pulumi_alicloud/kms/get_keys.py +10 -0
- pulumi_alicloud/kms/instance.py +0 -60
- pulumi_alicloud/kms/outputs.py +19 -0
- pulumi_alicloud/maxcompute/__init__.py +5 -0
- pulumi_alicloud/maxcompute/_inputs.py +615 -42
- pulumi_alicloud/maxcompute/outputs.py +486 -28
- pulumi_alicloud/maxcompute/project.py +63 -31
- pulumi_alicloud/maxcompute/quota_plan.py +412 -0
- pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
- pulumi_alicloud/maxcompute/role.py +423 -0
- pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
- pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
- pulumi_alicloud/message/__init__.py +3 -0
- pulumi_alicloud/message/_inputs.py +149 -0
- pulumi_alicloud/message/outputs.py +112 -0
- pulumi_alicloud/message/service_endpoint.py +218 -0
- pulumi_alicloud/message/service_endpoint_acl.py +306 -0
- pulumi_alicloud/message/service_queue.py +49 -0
- pulumi_alicloud/message/service_subscription.py +91 -14
- pulumi_alicloud/mse/nacos_config.py +4 -0
- pulumi_alicloud/nlb/_inputs.py +114 -24
- pulumi_alicloud/nlb/listener.py +87 -20
- pulumi_alicloud/nlb/outputs.py +93 -16
- pulumi_alicloud/nlb/server_group.py +55 -20
- pulumi_alicloud/ots/_inputs.py +3 -3
- pulumi_alicloud/ots/outputs.py +2 -2
- pulumi_alicloud/pai/workspace_code_source.py +2 -2
- pulumi_alicloud/pai/workspace_dataset.py +2 -2
- pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
- pulumi_alicloud/pai/workspace_experiment.py +2 -2
- pulumi_alicloud/pai/workspace_run.py +2 -2
- pulumi_alicloud/pai/workspace_workspace.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
- pulumi_alicloud/privatelink/outputs.py +11 -0
- pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/access_key.py +20 -4
- pulumi_alicloud/ram/user.py +10 -2
- pulumi_alicloud/rds/instance.py +75 -0
- pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
- pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
- pulumi_alicloud/tag/__init__.py +1 -0
- pulumi_alicloud/tag/associated_rule.py +306 -0
- pulumi_alicloud/tag/policy.py +27 -36
- pulumi_alicloud/vpc/__init__.py +2 -0
- pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/flow_log.py +184 -49
- pulumi_alicloud/vpc/forward_entry.py +8 -4
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
- pulumi_alicloud/vpc/get_forward_entries.py +2 -2
- pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
- pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
- pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
- pulumi_alicloud/vpc/get_snat_entries.py +5 -2
- pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
- pulumi_alicloud/vpc/ipam_ipam.py +2 -9
- pulumi_alicloud/vpc/ipam_ipam_pool.py +49 -30
- pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
- pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
- pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +49 -9
- pulumi_alicloud/vpc/ipam_service.py +144 -0
- pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
- pulumi_alicloud/vpc/nat_gateway.py +8 -0
- pulumi_alicloud/vpc/outputs.py +12 -2
- pulumi_alicloud/vpc/router_interface_connection.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
- pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +11 -2
- pulumi_alicloud/vpn/get_gateways.py +21 -1
- pulumi_alicloud/vpn/outputs.py +23 -12
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/RECORD +197 -149
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/top_level.txt +0 -0
|
@@ -203,7 +203,7 @@ class AuditCallback(pulumi.CustomResource):
|
|
|
203
203
|
|
|
204
204
|
Callback notification after detection is completed.
|
|
205
205
|
|
|
206
|
-
For information about Aligreen Audit Callback and how to use it, see [What is Audit Callback](https://
|
|
206
|
+
For information about Aligreen Audit Callback and how to use it, see [What is Audit Callback](https://next.api.alibabacloud.com/document/Green/2017-08-23/CreateAuditCallback).
|
|
207
207
|
|
|
208
208
|
> **NOTE:** Available since v1.228.0.
|
|
209
209
|
|
|
@@ -262,7 +262,7 @@ class AuditCallback(pulumi.CustomResource):
|
|
|
262
262
|
|
|
263
263
|
Callback notification after detection is completed.
|
|
264
264
|
|
|
265
|
-
For information about Aligreen Audit Callback and how to use it, see [What is Audit Callback](https://
|
|
265
|
+
For information about Aligreen Audit Callback and how to use it, see [What is Audit Callback](https://next.api.alibabacloud.com/document/Green/2017-08-23/CreateAuditCallback).
|
|
266
266
|
|
|
267
267
|
> **NOTE:** Available since v1.228.0.
|
|
268
268
|
|
|
@@ -205,7 +205,7 @@ class BizType(pulumi.CustomResource):
|
|
|
205
205
|
"""
|
|
206
206
|
Provides a Aligreen Biz Type resource.
|
|
207
207
|
|
|
208
|
-
For information about Aligreen Biz Type and how to use it, see [What is Biz Type](https://
|
|
208
|
+
For information about Aligreen Biz Type and how to use it, see [What is Biz Type](https://next.api.alibabacloud.com/document/Green/2017-08-23/CreateBizType).
|
|
209
209
|
|
|
210
210
|
> **NOTE:** Available since v1.228.0.
|
|
211
211
|
|
|
@@ -254,7 +254,7 @@ class BizType(pulumi.CustomResource):
|
|
|
254
254
|
"""
|
|
255
255
|
Provides a Aligreen Biz Type resource.
|
|
256
256
|
|
|
257
|
-
For information about Aligreen Biz Type and how to use it, see [What is Biz Type](https://
|
|
257
|
+
For information about Aligreen Biz Type and how to use it, see [What is Biz Type](https://next.api.alibabacloud.com/document/Green/2017-08-23/CreateBizType).
|
|
258
258
|
|
|
259
259
|
> **NOTE:** Available since v1.228.0.
|
|
260
260
|
|
|
@@ -220,7 +220,7 @@ class Callback(pulumi.CustomResource):
|
|
|
220
220
|
|
|
221
221
|
Detection Result Callback.
|
|
222
222
|
|
|
223
|
-
For information about Aligreen Callback and how to use it, see [What is Callback](https://
|
|
223
|
+
For information about Aligreen Callback and how to use it, see [What is Callback](https://next.api.alibabacloud.com/document/Green/2017-08-23/CreateCallback).
|
|
224
224
|
|
|
225
225
|
> **NOTE:** Available since v1.228.0.
|
|
226
226
|
|
|
@@ -279,7 +279,7 @@ class Callback(pulumi.CustomResource):
|
|
|
279
279
|
|
|
280
280
|
Detection Result Callback.
|
|
281
281
|
|
|
282
|
-
For information about Aligreen Callback and how to use it, see [What is Callback](https://
|
|
282
|
+
For information about Aligreen Callback and how to use it, see [What is Callback](https://next.api.alibabacloud.com/document/Green/2017-08-23/CreateCallback).
|
|
283
283
|
|
|
284
284
|
> **NOTE:** Available since v1.228.0.
|
|
285
285
|
|
|
@@ -205,7 +205,7 @@ class ImageLib(pulumi.CustomResource):
|
|
|
205
205
|
|
|
206
206
|
Image library for image detection.
|
|
207
207
|
|
|
208
|
-
For information about Aligreen Image Lib and how to use it, see [What is Image Lib](https://
|
|
208
|
+
For information about Aligreen Image Lib and how to use it, see [What is Image Lib](https://next.api.alibabacloud.com/document/Green/2017-08-23/CreateImageLib).
|
|
209
209
|
|
|
210
210
|
> **NOTE:** Available since v1.228.0.
|
|
211
211
|
|
|
@@ -257,7 +257,7 @@ class ImageLib(pulumi.CustomResource):
|
|
|
257
257
|
|
|
258
258
|
Image library for image detection.
|
|
259
259
|
|
|
260
|
-
For information about Aligreen Image Lib and how to use it, see [What is Image Lib](https://
|
|
260
|
+
For information about Aligreen Image Lib and how to use it, see [What is Image Lib](https://next.api.alibabacloud.com/document/Green/2017-08-23/CreateImageLib).
|
|
261
261
|
|
|
262
262
|
> **NOTE:** Available since v1.228.0.
|
|
263
263
|
|
|
@@ -338,7 +338,7 @@ class KeywordLib(pulumi.CustomResource):
|
|
|
338
338
|
|
|
339
339
|
Keyword library for text detection.
|
|
340
340
|
|
|
341
|
-
For information about Aligreen Keyword Lib and how to use it, see [What is Keyword Lib](https://
|
|
341
|
+
For information about Aligreen Keyword Lib and how to use it, see [What is Keyword Lib](https://next.api.alibabacloud.com/document/Green/2017-08-23/CreateKeywordLib).
|
|
342
342
|
|
|
343
343
|
> **NOTE:** Available since v1.228.0.
|
|
344
344
|
|
|
@@ -405,7 +405,7 @@ class KeywordLib(pulumi.CustomResource):
|
|
|
405
405
|
|
|
406
406
|
Keyword library for text detection.
|
|
407
407
|
|
|
408
|
-
For information about Aligreen Keyword Lib and how to use it, see [What is Keyword Lib](https://
|
|
408
|
+
For information about Aligreen Keyword Lib and how to use it, see [What is Keyword Lib](https://next.api.alibabacloud.com/document/Green/2017-08-23/CreateKeywordLib).
|
|
409
409
|
|
|
410
410
|
> **NOTE:** Available since v1.228.0.
|
|
411
411
|
|
|
@@ -71,7 +71,11 @@ class OssStockTaskArgs:
|
|
|
71
71
|
:param pulumi.Input[bool] image_opened: oss stock scan task detect images. true: scan images, false: do not scan images
|
|
72
72
|
:param pulumi.Input[str] image_porn_freeze_config: Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
|
|
73
73
|
:param pulumi.Input[int] image_scan_limit: The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
|
|
74
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] image_scenes: The image moderation scenario included in the oss stock scan task.Valid values:
|
|
74
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] image_scenes: The image moderation scenario included in the oss stock scan task.Valid values:
|
|
75
|
+
porn: pornography detection
|
|
76
|
+
terrorism: terrorist content detection
|
|
77
|
+
ad: ad violation detection
|
|
78
|
+
live: undesirable scene detection
|
|
75
79
|
:param pulumi.Input[str] image_terrorism_freeze_config: The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
|
|
76
80
|
:param pulumi.Input[bool] scan_image_no_file_type: Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
|
|
77
81
|
:param pulumi.Input[str] start_date: The start time of the file upload time range represents the files uploaded after scanning this time point.
|
|
@@ -84,7 +88,12 @@ class OssStockTaskArgs:
|
|
|
84
88
|
:param pulumi.Input[bool] video_opened: oss stock scan task detect video. true: scan video, false: do not scan video
|
|
85
89
|
:param pulumi.Input[str] video_porn_freeze_config: Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
|
|
86
90
|
:param pulumi.Input[int] video_scan_limit: The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
|
|
87
|
-
:param pulumi.Input[str] video_scenes: The video detection scenarios included in the oss stock scan task.
|
|
91
|
+
:param pulumi.Input[str] video_scenes: The video detection scenarios included in the oss stock scan task.
|
|
92
|
+
porn: pornography detection
|
|
93
|
+
terrorism: terrorist content detection
|
|
94
|
+
ad: ad violation detection
|
|
95
|
+
live: undesirable scene detection
|
|
96
|
+
antispam: Video voice antispam
|
|
88
97
|
:param pulumi.Input[str] video_terrorism_freeze_config: The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
|
|
89
98
|
:param pulumi.Input[str] video_voice_antispam_freeze_config: Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
|
|
90
99
|
"""
|
|
@@ -363,7 +372,11 @@ class OssStockTaskArgs:
|
|
|
363
372
|
@pulumi.getter(name="imageScenes")
|
|
364
373
|
def image_scenes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
365
374
|
"""
|
|
366
|
-
The image moderation scenario included in the oss stock scan task.Valid values:
|
|
375
|
+
The image moderation scenario included in the oss stock scan task.Valid values:
|
|
376
|
+
porn: pornography detection
|
|
377
|
+
terrorism: terrorist content detection
|
|
378
|
+
ad: ad violation detection
|
|
379
|
+
live: undesirable scene detection
|
|
367
380
|
"""
|
|
368
381
|
return pulumi.get(self, "image_scenes")
|
|
369
382
|
|
|
@@ -519,7 +532,12 @@ class OssStockTaskArgs:
|
|
|
519
532
|
@pulumi.getter(name="videoScenes")
|
|
520
533
|
def video_scenes(self) -> Optional[pulumi.Input[str]]:
|
|
521
534
|
"""
|
|
522
|
-
The video detection scenarios included in the oss stock scan task.
|
|
535
|
+
The video detection scenarios included in the oss stock scan task.
|
|
536
|
+
porn: pornography detection
|
|
537
|
+
terrorism: terrorist content detection
|
|
538
|
+
ad: ad violation detection
|
|
539
|
+
live: undesirable scene detection
|
|
540
|
+
antispam: Video voice antispam
|
|
523
541
|
"""
|
|
524
542
|
return pulumi.get(self, "video_scenes")
|
|
525
543
|
|
|
@@ -607,7 +625,11 @@ class _OssStockTaskState:
|
|
|
607
625
|
:param pulumi.Input[bool] image_opened: oss stock scan task detect images. true: scan images, false: do not scan images
|
|
608
626
|
:param pulumi.Input[str] image_porn_freeze_config: Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
|
|
609
627
|
:param pulumi.Input[int] image_scan_limit: The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
|
|
610
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] image_scenes: The image moderation scenario included in the oss stock scan task.Valid values:
|
|
628
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] image_scenes: The image moderation scenario included in the oss stock scan task.Valid values:
|
|
629
|
+
porn: pornography detection
|
|
630
|
+
terrorism: terrorist content detection
|
|
631
|
+
ad: ad violation detection
|
|
632
|
+
live: undesirable scene detection
|
|
611
633
|
:param pulumi.Input[str] image_terrorism_freeze_config: The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
|
|
612
634
|
:param pulumi.Input[bool] scan_image_no_file_type: Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
|
|
613
635
|
:param pulumi.Input[str] start_date: The start time of the file upload time range represents the files uploaded after scanning this time point.
|
|
@@ -620,7 +642,12 @@ class _OssStockTaskState:
|
|
|
620
642
|
:param pulumi.Input[bool] video_opened: oss stock scan task detect video. true: scan video, false: do not scan video
|
|
621
643
|
:param pulumi.Input[str] video_porn_freeze_config: Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
|
|
622
644
|
:param pulumi.Input[int] video_scan_limit: The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
|
|
623
|
-
:param pulumi.Input[str] video_scenes: The video detection scenarios included in the oss stock scan task.
|
|
645
|
+
:param pulumi.Input[str] video_scenes: The video detection scenarios included in the oss stock scan task.
|
|
646
|
+
porn: pornography detection
|
|
647
|
+
terrorism: terrorist content detection
|
|
648
|
+
ad: ad violation detection
|
|
649
|
+
live: undesirable scene detection
|
|
650
|
+
antispam: Video voice antispam
|
|
624
651
|
:param pulumi.Input[str] video_terrorism_freeze_config: The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
|
|
625
652
|
:param pulumi.Input[str] video_voice_antispam_freeze_config: Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
|
|
626
653
|
"""
|
|
@@ -899,7 +926,11 @@ class _OssStockTaskState:
|
|
|
899
926
|
@pulumi.getter(name="imageScenes")
|
|
900
927
|
def image_scenes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
901
928
|
"""
|
|
902
|
-
The image moderation scenario included in the oss stock scan task.Valid values:
|
|
929
|
+
The image moderation scenario included in the oss stock scan task.Valid values:
|
|
930
|
+
porn: pornography detection
|
|
931
|
+
terrorism: terrorist content detection
|
|
932
|
+
ad: ad violation detection
|
|
933
|
+
live: undesirable scene detection
|
|
903
934
|
"""
|
|
904
935
|
return pulumi.get(self, "image_scenes")
|
|
905
936
|
|
|
@@ -1055,7 +1086,12 @@ class _OssStockTaskState:
|
|
|
1055
1086
|
@pulumi.getter(name="videoScenes")
|
|
1056
1087
|
def video_scenes(self) -> Optional[pulumi.Input[str]]:
|
|
1057
1088
|
"""
|
|
1058
|
-
The video detection scenarios included in the oss stock scan task.
|
|
1089
|
+
The video detection scenarios included in the oss stock scan task.
|
|
1090
|
+
porn: pornography detection
|
|
1091
|
+
terrorism: terrorist content detection
|
|
1092
|
+
ad: ad violation detection
|
|
1093
|
+
live: undesirable scene detection
|
|
1094
|
+
antispam: Video voice antispam
|
|
1059
1095
|
"""
|
|
1060
1096
|
return pulumi.get(self, "video_scenes")
|
|
1061
1097
|
|
|
@@ -1155,7 +1191,11 @@ class OssStockTask(pulumi.CustomResource):
|
|
|
1155
1191
|
:param pulumi.Input[bool] image_opened: oss stock scan task detect images. true: scan images, false: do not scan images
|
|
1156
1192
|
:param pulumi.Input[str] image_porn_freeze_config: Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
|
|
1157
1193
|
:param pulumi.Input[int] image_scan_limit: The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
|
|
1158
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] image_scenes: The image moderation scenario included in the oss stock scan task.Valid values:
|
|
1194
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] image_scenes: The image moderation scenario included in the oss stock scan task.Valid values:
|
|
1195
|
+
porn: pornography detection
|
|
1196
|
+
terrorism: terrorist content detection
|
|
1197
|
+
ad: ad violation detection
|
|
1198
|
+
live: undesirable scene detection
|
|
1159
1199
|
:param pulumi.Input[str] image_terrorism_freeze_config: The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
|
|
1160
1200
|
:param pulumi.Input[bool] scan_image_no_file_type: Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
|
|
1161
1201
|
:param pulumi.Input[str] start_date: The start time of the file upload time range represents the files uploaded after scanning this time point.
|
|
@@ -1168,7 +1208,12 @@ class OssStockTask(pulumi.CustomResource):
|
|
|
1168
1208
|
:param pulumi.Input[bool] video_opened: oss stock scan task detect video. true: scan video, false: do not scan video
|
|
1169
1209
|
:param pulumi.Input[str] video_porn_freeze_config: Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
|
|
1170
1210
|
:param pulumi.Input[int] video_scan_limit: The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
|
|
1171
|
-
:param pulumi.Input[str] video_scenes: The video detection scenarios included in the oss stock scan task.
|
|
1211
|
+
:param pulumi.Input[str] video_scenes: The video detection scenarios included in the oss stock scan task.
|
|
1212
|
+
porn: pornography detection
|
|
1213
|
+
terrorism: terrorist content detection
|
|
1214
|
+
ad: ad violation detection
|
|
1215
|
+
live: undesirable scene detection
|
|
1216
|
+
antispam: Video voice antispam
|
|
1172
1217
|
:param pulumi.Input[str] video_terrorism_freeze_config: The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
|
|
1173
1218
|
:param pulumi.Input[str] video_voice_antispam_freeze_config: Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
|
|
1174
1219
|
"""
|
|
@@ -1344,7 +1389,11 @@ class OssStockTask(pulumi.CustomResource):
|
|
|
1344
1389
|
:param pulumi.Input[bool] image_opened: oss stock scan task detect images. true: scan images, false: do not scan images
|
|
1345
1390
|
:param pulumi.Input[str] image_porn_freeze_config: Picture automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
|
|
1346
1391
|
:param pulumi.Input[int] image_scan_limit: The upper limit for scanning images in the oss stock scan task. The default value is 10000 images per Bucket.
|
|
1347
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] image_scenes: The image moderation scenario included in the oss stock scan task.Valid values:
|
|
1392
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] image_scenes: The image moderation scenario included in the oss stock scan task.Valid values:
|
|
1393
|
+
porn: pornography detection
|
|
1394
|
+
terrorism: terrorist content detection
|
|
1395
|
+
ad: ad violation detection
|
|
1396
|
+
live: undesirable scene detection
|
|
1348
1397
|
:param pulumi.Input[str] image_terrorism_freeze_config: The picture automatically freezes the configuration of terrorism scenes. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
|
|
1349
1398
|
:param pulumi.Input[bool] scan_image_no_file_type: Whether the oss stock scan task detects images with file names without suffixes. true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes
|
|
1350
1399
|
:param pulumi.Input[str] start_date: The start time of the file upload time range represents the files uploaded after scanning this time point.
|
|
@@ -1357,7 +1406,12 @@ class OssStockTask(pulumi.CustomResource):
|
|
|
1357
1406
|
:param pulumi.Input[bool] video_opened: oss stock scan task detect video. true: scan video, false: do not scan video
|
|
1358
1407
|
:param pulumi.Input[str] video_porn_freeze_config: Video automatic freezing porn scene configuration. Example: {"type": "suggestion", "value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
|
|
1359
1408
|
:param pulumi.Input[int] video_scan_limit: The upper limit of video scanning in the oss stock scan task. The default value is 1000/Bucket.
|
|
1360
|
-
:param pulumi.Input[str] video_scenes: The video detection scenarios included in the oss stock scan task.
|
|
1409
|
+
:param pulumi.Input[str] video_scenes: The video detection scenarios included in the oss stock scan task.
|
|
1410
|
+
porn: pornography detection
|
|
1411
|
+
terrorism: terrorist content detection
|
|
1412
|
+
ad: ad violation detection
|
|
1413
|
+
live: undesirable scene detection
|
|
1414
|
+
antispam: Video voice antispam
|
|
1361
1415
|
:param pulumi.Input[str] video_terrorism_freeze_config: The video automatically freezes the configuration of terrorism scenes. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
|
|
1362
1416
|
:param pulumi.Input[str] video_voice_antispam_freeze_config: Voice auto freeze configuration in video. Example:{"type":"suggestion","value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
|
|
1363
1417
|
"""
|
|
@@ -1540,7 +1594,11 @@ class OssStockTask(pulumi.CustomResource):
|
|
|
1540
1594
|
@pulumi.getter(name="imageScenes")
|
|
1541
1595
|
def image_scenes(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1542
1596
|
"""
|
|
1543
|
-
The image moderation scenario included in the oss stock scan task.Valid values:
|
|
1597
|
+
The image moderation scenario included in the oss stock scan task.Valid values:
|
|
1598
|
+
porn: pornography detection
|
|
1599
|
+
terrorism: terrorist content detection
|
|
1600
|
+
ad: ad violation detection
|
|
1601
|
+
live: undesirable scene detection
|
|
1544
1602
|
"""
|
|
1545
1603
|
return pulumi.get(self, "image_scenes")
|
|
1546
1604
|
|
|
@@ -1644,7 +1702,12 @@ class OssStockTask(pulumi.CustomResource):
|
|
|
1644
1702
|
@pulumi.getter(name="videoScenes")
|
|
1645
1703
|
def video_scenes(self) -> pulumi.Output[Optional[str]]:
|
|
1646
1704
|
"""
|
|
1647
|
-
The video detection scenarios included in the oss stock scan task.
|
|
1705
|
+
The video detection scenarios included in the oss stock scan task.
|
|
1706
|
+
porn: pornography detection
|
|
1707
|
+
terrorism: terrorist content detection
|
|
1708
|
+
ad: ad violation detection
|
|
1709
|
+
live: undesirable scene detection
|
|
1710
|
+
antispam: Video voice antispam
|
|
1648
1711
|
"""
|
|
1649
1712
|
return pulumi.get(self, "video_scenes")
|
|
1650
1713
|
|
|
@@ -32,6 +32,7 @@ class InstanceArgs:
|
|
|
32
32
|
instance_type: Optional[pulumi.Input[str]] = None,
|
|
33
33
|
ipv6_enabled: Optional[pulumi.Input[bool]] = None,
|
|
34
34
|
pricing_cycle: Optional[pulumi.Input[str]] = None,
|
|
35
|
+
skip_wait_switch: Optional[pulumi.Input[bool]] = None,
|
|
35
36
|
to_connect_vpc_ip_block: Optional[pulumi.Input['InstanceToConnectVpcIpBlockArgs']] = None,
|
|
36
37
|
user_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
37
38
|
vpc_slb_intranet_enable: Optional[pulumi.Input[bool]] = None,
|
|
@@ -56,6 +57,7 @@ class InstanceArgs:
|
|
|
56
57
|
:param pulumi.Input[str] instance_type: The type of the instance. Valid values are:
|
|
57
58
|
:param pulumi.Input[bool] ipv6_enabled: Specifies whether IPv6 ingress capability is enabled.
|
|
58
59
|
:param pulumi.Input[str] pricing_cycle: The subscription instance is of the subscription year or month type. This parameter is required when the Payment type is PrePaid. The value range is as follows:
|
|
60
|
+
:param pulumi.Input[bool] skip_wait_switch: Specifies whether to skip the WAIT_SWITCH status of instance when modifying instance spec. Works only when instance spec change.
|
|
59
61
|
:param pulumi.Input['InstanceToConnectVpcIpBlockArgs'] to_connect_vpc_ip_block: The additional IP block that the VPC integration instance can access, conflict with `delete_vpc_ip_block`. See `to_connect_vpc_ip_block` below.
|
|
60
62
|
:param pulumi.Input[str] user_vpc_id: User's VpcID.
|
|
61
63
|
:param pulumi.Input[bool] vpc_slb_intranet_enable: Whether the slb of the Vpc supports.
|
|
@@ -80,6 +82,8 @@ class InstanceArgs:
|
|
|
80
82
|
pulumi.set(__self__, "ipv6_enabled", ipv6_enabled)
|
|
81
83
|
if pricing_cycle is not None:
|
|
82
84
|
pulumi.set(__self__, "pricing_cycle", pricing_cycle)
|
|
85
|
+
if skip_wait_switch is not None:
|
|
86
|
+
pulumi.set(__self__, "skip_wait_switch", skip_wait_switch)
|
|
83
87
|
if to_connect_vpc_ip_block is not None:
|
|
84
88
|
pulumi.set(__self__, "to_connect_vpc_ip_block", to_connect_vpc_ip_block)
|
|
85
89
|
if user_vpc_id is not None:
|
|
@@ -229,6 +233,18 @@ class InstanceArgs:
|
|
|
229
233
|
def pricing_cycle(self, value: Optional[pulumi.Input[str]]):
|
|
230
234
|
pulumi.set(self, "pricing_cycle", value)
|
|
231
235
|
|
|
236
|
+
@property
|
|
237
|
+
@pulumi.getter(name="skipWaitSwitch")
|
|
238
|
+
def skip_wait_switch(self) -> Optional[pulumi.Input[bool]]:
|
|
239
|
+
"""
|
|
240
|
+
Specifies whether to skip the WAIT_SWITCH status of instance when modifying instance spec. Works only when instance spec change.
|
|
241
|
+
"""
|
|
242
|
+
return pulumi.get(self, "skip_wait_switch")
|
|
243
|
+
|
|
244
|
+
@skip_wait_switch.setter
|
|
245
|
+
def skip_wait_switch(self, value: Optional[pulumi.Input[bool]]):
|
|
246
|
+
pulumi.set(self, "skip_wait_switch", value)
|
|
247
|
+
|
|
232
248
|
@property
|
|
233
249
|
@pulumi.getter(name="toConnectVpcIpBlock")
|
|
234
250
|
def to_connect_vpc_ip_block(self) -> Optional[pulumi.Input['InstanceToConnectVpcIpBlockArgs']]:
|
|
@@ -306,6 +322,7 @@ class _InstanceState:
|
|
|
306
322
|
ipv6_enabled: Optional[pulumi.Input[bool]] = None,
|
|
307
323
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
308
324
|
pricing_cycle: Optional[pulumi.Input[str]] = None,
|
|
325
|
+
skip_wait_switch: Optional[pulumi.Input[bool]] = None,
|
|
309
326
|
status: Optional[pulumi.Input[str]] = None,
|
|
310
327
|
support_ipv6: Optional[pulumi.Input[bool]] = None,
|
|
311
328
|
to_connect_vpc_ip_block: Optional[pulumi.Input['InstanceToConnectVpcIpBlockArgs']] = None,
|
|
@@ -334,6 +351,7 @@ class _InstanceState:
|
|
|
334
351
|
:param pulumi.Input[bool] ipv6_enabled: Specifies whether IPv6 ingress capability is enabled.
|
|
335
352
|
:param pulumi.Input[str] payment_type: The payment type of the resource.
|
|
336
353
|
:param pulumi.Input[str] pricing_cycle: The subscription instance is of the subscription year or month type. This parameter is required when the Payment type is PrePaid. The value range is as follows:
|
|
354
|
+
:param pulumi.Input[bool] skip_wait_switch: Specifies whether to skip the WAIT_SWITCH status of instance when modifying instance spec. Works only when instance spec change.
|
|
337
355
|
:param pulumi.Input[str] status: The status of the resource.
|
|
338
356
|
:param pulumi.Input[bool] support_ipv6: Does ipv6 support.
|
|
339
357
|
:param pulumi.Input['InstanceToConnectVpcIpBlockArgs'] to_connect_vpc_ip_block: The additional IP block that the VPC integration instance can access, conflict with `delete_vpc_ip_block`. See `to_connect_vpc_ip_block` below.
|
|
@@ -368,6 +386,8 @@ class _InstanceState:
|
|
|
368
386
|
pulumi.set(__self__, "payment_type", payment_type)
|
|
369
387
|
if pricing_cycle is not None:
|
|
370
388
|
pulumi.set(__self__, "pricing_cycle", pricing_cycle)
|
|
389
|
+
if skip_wait_switch is not None:
|
|
390
|
+
pulumi.set(__self__, "skip_wait_switch", skip_wait_switch)
|
|
371
391
|
if status is not None:
|
|
372
392
|
pulumi.set(__self__, "status", status)
|
|
373
393
|
if support_ipv6 is not None:
|
|
@@ -545,6 +565,18 @@ class _InstanceState:
|
|
|
545
565
|
def pricing_cycle(self, value: Optional[pulumi.Input[str]]):
|
|
546
566
|
pulumi.set(self, "pricing_cycle", value)
|
|
547
567
|
|
|
568
|
+
@property
|
|
569
|
+
@pulumi.getter(name="skipWaitSwitch")
|
|
570
|
+
def skip_wait_switch(self) -> Optional[pulumi.Input[bool]]:
|
|
571
|
+
"""
|
|
572
|
+
Specifies whether to skip the WAIT_SWITCH status of instance when modifying instance spec. Works only when instance spec change.
|
|
573
|
+
"""
|
|
574
|
+
return pulumi.get(self, "skip_wait_switch")
|
|
575
|
+
|
|
576
|
+
@skip_wait_switch.setter
|
|
577
|
+
def skip_wait_switch(self, value: Optional[pulumi.Input[bool]]):
|
|
578
|
+
pulumi.set(self, "skip_wait_switch", value)
|
|
579
|
+
|
|
548
580
|
@property
|
|
549
581
|
@pulumi.getter
|
|
550
582
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -646,6 +678,7 @@ class Instance(pulumi.CustomResource):
|
|
|
646
678
|
ipv6_enabled: Optional[pulumi.Input[bool]] = None,
|
|
647
679
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
648
680
|
pricing_cycle: Optional[pulumi.Input[str]] = None,
|
|
681
|
+
skip_wait_switch: Optional[pulumi.Input[bool]] = None,
|
|
649
682
|
to_connect_vpc_ip_block: Optional[pulumi.Input[Union['InstanceToConnectVpcIpBlockArgs', 'InstanceToConnectVpcIpBlockArgsDict']]] = None,
|
|
650
683
|
user_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
651
684
|
vpc_slb_intranet_enable: Optional[pulumi.Input[bool]] = None,
|
|
@@ -675,7 +708,7 @@ class Instance(pulumi.CustomResource):
|
|
|
675
708
|
instance_name=name,
|
|
676
709
|
instance_spec="api.s1.small",
|
|
677
710
|
https_policy="HTTPS2_TLS1_0",
|
|
678
|
-
zone_id="cn-hangzhou-MAZ6",
|
|
711
|
+
zone_id="cn-hangzhou-MAZ6(i,j,k)",
|
|
679
712
|
payment_type="PayAsYouGo",
|
|
680
713
|
instance_type="normal")
|
|
681
714
|
```
|
|
@@ -703,7 +736,7 @@ class Instance(pulumi.CustomResource):
|
|
|
703
736
|
vswitch_name=f"{name}_2")
|
|
704
737
|
security_group = alicloud.ecs.SecurityGroup("security_group",
|
|
705
738
|
vpc_id=vpc.id,
|
|
706
|
-
|
|
739
|
+
security_group_name=name)
|
|
707
740
|
vpc_integration_instance = alicloud.apigateway.Instance("vpc_integration_instance",
|
|
708
741
|
instance_name=name,
|
|
709
742
|
https_policy="HTTPS2_TLS1_0",
|
|
@@ -755,6 +788,7 @@ class Instance(pulumi.CustomResource):
|
|
|
755
788
|
:param pulumi.Input[bool] ipv6_enabled: Specifies whether IPv6 ingress capability is enabled.
|
|
756
789
|
:param pulumi.Input[str] payment_type: The payment type of the resource.
|
|
757
790
|
:param pulumi.Input[str] pricing_cycle: The subscription instance is of the subscription year or month type. This parameter is required when the Payment type is PrePaid. The value range is as follows:
|
|
791
|
+
:param pulumi.Input[bool] skip_wait_switch: Specifies whether to skip the WAIT_SWITCH status of instance when modifying instance spec. Works only when instance spec change.
|
|
758
792
|
:param pulumi.Input[Union['InstanceToConnectVpcIpBlockArgs', 'InstanceToConnectVpcIpBlockArgsDict']] to_connect_vpc_ip_block: The additional IP block that the VPC integration instance can access, conflict with `delete_vpc_ip_block`. See `to_connect_vpc_ip_block` below.
|
|
759
793
|
:param pulumi.Input[str] user_vpc_id: User's VpcID.
|
|
760
794
|
:param pulumi.Input[bool] vpc_slb_intranet_enable: Whether the slb of the Vpc supports.
|
|
@@ -790,7 +824,7 @@ class Instance(pulumi.CustomResource):
|
|
|
790
824
|
instance_name=name,
|
|
791
825
|
instance_spec="api.s1.small",
|
|
792
826
|
https_policy="HTTPS2_TLS1_0",
|
|
793
|
-
zone_id="cn-hangzhou-MAZ6",
|
|
827
|
+
zone_id="cn-hangzhou-MAZ6(i,j,k)",
|
|
794
828
|
payment_type="PayAsYouGo",
|
|
795
829
|
instance_type="normal")
|
|
796
830
|
```
|
|
@@ -818,7 +852,7 @@ class Instance(pulumi.CustomResource):
|
|
|
818
852
|
vswitch_name=f"{name}_2")
|
|
819
853
|
security_group = alicloud.ecs.SecurityGroup("security_group",
|
|
820
854
|
vpc_id=vpc.id,
|
|
821
|
-
|
|
855
|
+
security_group_name=name)
|
|
822
856
|
vpc_integration_instance = alicloud.apigateway.Instance("vpc_integration_instance",
|
|
823
857
|
instance_name=name,
|
|
824
858
|
https_policy="HTTPS2_TLS1_0",
|
|
@@ -877,6 +911,7 @@ class Instance(pulumi.CustomResource):
|
|
|
877
911
|
ipv6_enabled: Optional[pulumi.Input[bool]] = None,
|
|
878
912
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
879
913
|
pricing_cycle: Optional[pulumi.Input[str]] = None,
|
|
914
|
+
skip_wait_switch: Optional[pulumi.Input[bool]] = None,
|
|
880
915
|
to_connect_vpc_ip_block: Optional[pulumi.Input[Union['InstanceToConnectVpcIpBlockArgs', 'InstanceToConnectVpcIpBlockArgsDict']]] = None,
|
|
881
916
|
user_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
882
917
|
vpc_slb_intranet_enable: Optional[pulumi.Input[bool]] = None,
|
|
@@ -910,6 +945,7 @@ class Instance(pulumi.CustomResource):
|
|
|
910
945
|
raise TypeError("Missing required property 'payment_type'")
|
|
911
946
|
__props__.__dict__["payment_type"] = payment_type
|
|
912
947
|
__props__.__dict__["pricing_cycle"] = pricing_cycle
|
|
948
|
+
__props__.__dict__["skip_wait_switch"] = skip_wait_switch
|
|
913
949
|
__props__.__dict__["to_connect_vpc_ip_block"] = to_connect_vpc_ip_block
|
|
914
950
|
__props__.__dict__["user_vpc_id"] = user_vpc_id
|
|
915
951
|
__props__.__dict__["vpc_slb_intranet_enable"] = vpc_slb_intranet_enable
|
|
@@ -942,6 +978,7 @@ class Instance(pulumi.CustomResource):
|
|
|
942
978
|
ipv6_enabled: Optional[pulumi.Input[bool]] = None,
|
|
943
979
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
944
980
|
pricing_cycle: Optional[pulumi.Input[str]] = None,
|
|
981
|
+
skip_wait_switch: Optional[pulumi.Input[bool]] = None,
|
|
945
982
|
status: Optional[pulumi.Input[str]] = None,
|
|
946
983
|
support_ipv6: Optional[pulumi.Input[bool]] = None,
|
|
947
984
|
to_connect_vpc_ip_block: Optional[pulumi.Input[Union['InstanceToConnectVpcIpBlockArgs', 'InstanceToConnectVpcIpBlockArgsDict']]] = None,
|
|
@@ -975,6 +1012,7 @@ class Instance(pulumi.CustomResource):
|
|
|
975
1012
|
:param pulumi.Input[bool] ipv6_enabled: Specifies whether IPv6 ingress capability is enabled.
|
|
976
1013
|
:param pulumi.Input[str] payment_type: The payment type of the resource.
|
|
977
1014
|
:param pulumi.Input[str] pricing_cycle: The subscription instance is of the subscription year or month type. This parameter is required when the Payment type is PrePaid. The value range is as follows:
|
|
1015
|
+
:param pulumi.Input[bool] skip_wait_switch: Specifies whether to skip the WAIT_SWITCH status of instance when modifying instance spec. Works only when instance spec change.
|
|
978
1016
|
:param pulumi.Input[str] status: The status of the resource.
|
|
979
1017
|
:param pulumi.Input[bool] support_ipv6: Does ipv6 support.
|
|
980
1018
|
:param pulumi.Input[Union['InstanceToConnectVpcIpBlockArgs', 'InstanceToConnectVpcIpBlockArgsDict']] to_connect_vpc_ip_block: The additional IP block that the VPC integration instance can access, conflict with `delete_vpc_ip_block`. See `to_connect_vpc_ip_block` below.
|
|
@@ -1000,6 +1038,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1000
1038
|
__props__.__dict__["ipv6_enabled"] = ipv6_enabled
|
|
1001
1039
|
__props__.__dict__["payment_type"] = payment_type
|
|
1002
1040
|
__props__.__dict__["pricing_cycle"] = pricing_cycle
|
|
1041
|
+
__props__.__dict__["skip_wait_switch"] = skip_wait_switch
|
|
1003
1042
|
__props__.__dict__["status"] = status
|
|
1004
1043
|
__props__.__dict__["support_ipv6"] = support_ipv6
|
|
1005
1044
|
__props__.__dict__["to_connect_vpc_ip_block"] = to_connect_vpc_ip_block
|
|
@@ -1119,6 +1158,14 @@ class Instance(pulumi.CustomResource):
|
|
|
1119
1158
|
"""
|
|
1120
1159
|
return pulumi.get(self, "pricing_cycle")
|
|
1121
1160
|
|
|
1161
|
+
@property
|
|
1162
|
+
@pulumi.getter(name="skipWaitSwitch")
|
|
1163
|
+
def skip_wait_switch(self) -> pulumi.Output[Optional[bool]]:
|
|
1164
|
+
"""
|
|
1165
|
+
Specifies whether to skip the WAIT_SWITCH status of instance when modifying instance spec. Works only when instance spec change.
|
|
1166
|
+
"""
|
|
1167
|
+
return pulumi.get(self, "skip_wait_switch")
|
|
1168
|
+
|
|
1122
1169
|
@property
|
|
1123
1170
|
@pulumi.getter
|
|
1124
1171
|
def status(self) -> pulumi.Output[str]:
|
pulumi_alicloud/cen/_inputs.py
CHANGED
|
@@ -17,6 +17,8 @@ from .. import _utilities
|
|
|
17
17
|
__all__ = [
|
|
18
18
|
'TrafficMarkingPolicyTrafficMatchRuleArgs',
|
|
19
19
|
'TrafficMarkingPolicyTrafficMatchRuleArgsDict',
|
|
20
|
+
'TransitRouterMulticastDomainOptionsArgs',
|
|
21
|
+
'TransitRouterMulticastDomainOptionsArgsDict',
|
|
20
22
|
'TransitRouterVpcAttachmentZoneMappingArgs',
|
|
21
23
|
'TransitRouterVpcAttachmentZoneMappingArgsDict',
|
|
22
24
|
'TransitRouterVpnAttachmentZoneArgs',
|
|
@@ -235,6 +237,38 @@ class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
|
235
237
|
pulumi.set(self, "traffic_match_rule_name", value)
|
|
236
238
|
|
|
237
239
|
|
|
240
|
+
if not MYPY:
|
|
241
|
+
class TransitRouterMulticastDomainOptionsArgsDict(TypedDict):
|
|
242
|
+
igmpv2_support: NotRequired[pulumi.Input[str]]
|
|
243
|
+
"""
|
|
244
|
+
Whether to enable IGMP function for multicast domain. Default value: `disable`. Valid values: `enable`, `disable`.
|
|
245
|
+
"""
|
|
246
|
+
elif False:
|
|
247
|
+
TransitRouterMulticastDomainOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
248
|
+
|
|
249
|
+
@pulumi.input_type
|
|
250
|
+
class TransitRouterMulticastDomainOptionsArgs:
|
|
251
|
+
def __init__(__self__, *,
|
|
252
|
+
igmpv2_support: Optional[pulumi.Input[str]] = None):
|
|
253
|
+
"""
|
|
254
|
+
:param pulumi.Input[str] igmpv2_support: Whether to enable IGMP function for multicast domain. Default value: `disable`. Valid values: `enable`, `disable`.
|
|
255
|
+
"""
|
|
256
|
+
if igmpv2_support is not None:
|
|
257
|
+
pulumi.set(__self__, "igmpv2_support", igmpv2_support)
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
@pulumi.getter(name="igmpv2Support")
|
|
261
|
+
def igmpv2_support(self) -> Optional[pulumi.Input[str]]:
|
|
262
|
+
"""
|
|
263
|
+
Whether to enable IGMP function for multicast domain. Default value: `disable`. Valid values: `enable`, `disable`.
|
|
264
|
+
"""
|
|
265
|
+
return pulumi.get(self, "igmpv2_support")
|
|
266
|
+
|
|
267
|
+
@igmpv2_support.setter
|
|
268
|
+
def igmpv2_support(self, value: Optional[pulumi.Input[str]]):
|
|
269
|
+
pulumi.set(self, "igmpv2_support", value)
|
|
270
|
+
|
|
271
|
+
|
|
238
272
|
if not MYPY:
|
|
239
273
|
class TransitRouterVpcAttachmentZoneMappingArgsDict(TypedDict):
|
|
240
274
|
vswitch_id: pulumi.Input[str]
|
pulumi_alicloud/cen/outputs.py
CHANGED
|
@@ -17,6 +17,7 @@ from . import outputs
|
|
|
17
17
|
|
|
18
18
|
__all__ = [
|
|
19
19
|
'TrafficMarkingPolicyTrafficMatchRule',
|
|
20
|
+
'TransitRouterMulticastDomainOptions',
|
|
20
21
|
'TransitRouterVpcAttachmentZoneMapping',
|
|
21
22
|
'TransitRouterVpnAttachmentZone',
|
|
22
23
|
'GetBandwidthLimitsLimitResult',
|
|
@@ -215,6 +216,42 @@ class TrafficMarkingPolicyTrafficMatchRule(dict):
|
|
|
215
216
|
return pulumi.get(self, "traffic_match_rule_name")
|
|
216
217
|
|
|
217
218
|
|
|
219
|
+
@pulumi.output_type
|
|
220
|
+
class TransitRouterMulticastDomainOptions(dict):
|
|
221
|
+
@staticmethod
|
|
222
|
+
def __key_warning(key: str):
|
|
223
|
+
suggest = None
|
|
224
|
+
if key == "igmpv2Support":
|
|
225
|
+
suggest = "igmpv2_support"
|
|
226
|
+
|
|
227
|
+
if suggest:
|
|
228
|
+
pulumi.log.warn(f"Key '{key}' not found in TransitRouterMulticastDomainOptions. Access the value via the '{suggest}' property getter instead.")
|
|
229
|
+
|
|
230
|
+
def __getitem__(self, key: str) -> Any:
|
|
231
|
+
TransitRouterMulticastDomainOptions.__key_warning(key)
|
|
232
|
+
return super().__getitem__(key)
|
|
233
|
+
|
|
234
|
+
def get(self, key: str, default = None) -> Any:
|
|
235
|
+
TransitRouterMulticastDomainOptions.__key_warning(key)
|
|
236
|
+
return super().get(key, default)
|
|
237
|
+
|
|
238
|
+
def __init__(__self__, *,
|
|
239
|
+
igmpv2_support: Optional[str] = None):
|
|
240
|
+
"""
|
|
241
|
+
:param str igmpv2_support: Whether to enable IGMP function for multicast domain. Default value: `disable`. Valid values: `enable`, `disable`.
|
|
242
|
+
"""
|
|
243
|
+
if igmpv2_support is not None:
|
|
244
|
+
pulumi.set(__self__, "igmpv2_support", igmpv2_support)
|
|
245
|
+
|
|
246
|
+
@property
|
|
247
|
+
@pulumi.getter(name="igmpv2Support")
|
|
248
|
+
def igmpv2_support(self) -> Optional[str]:
|
|
249
|
+
"""
|
|
250
|
+
Whether to enable IGMP function for multicast domain. Default value: `disable`. Valid values: `enable`, `disable`.
|
|
251
|
+
"""
|
|
252
|
+
return pulumi.get(self, "igmpv2_support")
|
|
253
|
+
|
|
254
|
+
|
|
218
255
|
@pulumi.output_type
|
|
219
256
|
class TransitRouterVpcAttachmentZoneMapping(dict):
|
|
220
257
|
@staticmethod
|