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
|
@@ -64,9 +64,11 @@ class CommonBandwithPackageArgs:
|
|
|
64
64
|
|
|
65
65
|
If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to `BGP_FinanceCloud`.
|
|
66
66
|
:param pulumi.Input[builtins.str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
|
|
67
|
-
:param pulumi.Input[builtins.int] ratio: The percentage of the minimum bandwidth commitment.
|
|
67
|
+
:param pulumi.Input[builtins.int] ratio: The percentage of the minimum bandwidth commitment. The value is only `20`.
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
This parameter is required when the value of `InternetChargeType` is `PayBy95`.
|
|
70
|
+
|
|
71
|
+
> **NOTE:** This parameter is available only on the Alibaba Cloud China site.
|
|
70
72
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
71
73
|
|
|
72
74
|
> **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
@@ -227,9 +229,11 @@ class CommonBandwithPackageArgs:
|
|
|
227
229
|
@pulumi.getter
|
|
228
230
|
def ratio(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
229
231
|
"""
|
|
230
|
-
The percentage of the minimum bandwidth commitment.
|
|
232
|
+
The percentage of the minimum bandwidth commitment. The value is only `20`.
|
|
233
|
+
|
|
234
|
+
This parameter is required when the value of `InternetChargeType` is `PayBy95`.
|
|
231
235
|
|
|
232
|
-
> **NOTE:**
|
|
236
|
+
> **NOTE:** This parameter is available only on the Alibaba Cloud China site.
|
|
233
237
|
"""
|
|
234
238
|
return pulumi.get(self, "ratio")
|
|
235
239
|
|
|
@@ -342,9 +346,11 @@ class _CommonBandwithPackageState:
|
|
|
342
346
|
If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to `BGP_FinanceCloud`.
|
|
343
347
|
:param pulumi.Input[builtins.str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
|
|
344
348
|
:param pulumi.Input[builtins.str] payment_type: The billing type of the Internet Shared Bandwidth instance. Valid values: `PayAsYouGo`, `Subscription`.
|
|
345
|
-
:param pulumi.Input[builtins.int] ratio: The percentage of the minimum bandwidth commitment.
|
|
349
|
+
:param pulumi.Input[builtins.int] ratio: The percentage of the minimum bandwidth commitment. The value is only `20`.
|
|
346
350
|
|
|
347
|
-
|
|
351
|
+
This parameter is required when the value of `InternetChargeType` is `PayBy95`.
|
|
352
|
+
|
|
353
|
+
> **NOTE:** This parameter is available only on the Alibaba Cloud China site.
|
|
348
354
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
349
355
|
|
|
350
356
|
> **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
@@ -537,9 +543,11 @@ class _CommonBandwithPackageState:
|
|
|
537
543
|
@pulumi.getter
|
|
538
544
|
def ratio(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
539
545
|
"""
|
|
540
|
-
The percentage of the minimum bandwidth commitment.
|
|
546
|
+
The percentage of the minimum bandwidth commitment. The value is only `20`.
|
|
547
|
+
|
|
548
|
+
This parameter is required when the value of `InternetChargeType` is `PayBy95`.
|
|
541
549
|
|
|
542
|
-
> **NOTE:**
|
|
550
|
+
> **NOTE:** This parameter is available only on the Alibaba Cloud China site.
|
|
543
551
|
"""
|
|
544
552
|
return pulumi.get(self, "ratio")
|
|
545
553
|
|
|
@@ -672,9 +680,11 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
672
680
|
|
|
673
681
|
If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to `BGP_FinanceCloud`.
|
|
674
682
|
:param pulumi.Input[builtins.str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
|
|
675
|
-
:param pulumi.Input[builtins.int] ratio: The percentage of the minimum bandwidth commitment.
|
|
683
|
+
:param pulumi.Input[builtins.int] ratio: The percentage of the minimum bandwidth commitment. The value is only `20`.
|
|
676
684
|
|
|
677
|
-
|
|
685
|
+
This parameter is required when the value of `InternetChargeType` is `PayBy95`.
|
|
686
|
+
|
|
687
|
+
> **NOTE:** This parameter is available only on the Alibaba Cloud China site.
|
|
678
688
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
679
689
|
|
|
680
690
|
> **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
@@ -818,9 +828,11 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
818
828
|
If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to `BGP_FinanceCloud`.
|
|
819
829
|
:param pulumi.Input[builtins.str] name: . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
|
|
820
830
|
:param pulumi.Input[builtins.str] payment_type: The billing type of the Internet Shared Bandwidth instance. Valid values: `PayAsYouGo`, `Subscription`.
|
|
821
|
-
:param pulumi.Input[builtins.int] ratio: The percentage of the minimum bandwidth commitment.
|
|
831
|
+
:param pulumi.Input[builtins.int] ratio: The percentage of the minimum bandwidth commitment. The value is only `20`.
|
|
832
|
+
|
|
833
|
+
This parameter is required when the value of `InternetChargeType` is `PayBy95`.
|
|
822
834
|
|
|
823
|
-
> **NOTE:**
|
|
835
|
+
> **NOTE:** This parameter is available only on the Alibaba Cloud China site.
|
|
824
836
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
825
837
|
|
|
826
838
|
> **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
@@ -959,9 +971,11 @@ class CommonBandwithPackage(pulumi.CustomResource):
|
|
|
959
971
|
@pulumi.getter
|
|
960
972
|
def ratio(self) -> pulumi.Output[builtins.int]:
|
|
961
973
|
"""
|
|
962
|
-
The percentage of the minimum bandwidth commitment.
|
|
974
|
+
The percentage of the minimum bandwidth commitment. The value is only `20`.
|
|
975
|
+
|
|
976
|
+
This parameter is required when the value of `InternetChargeType` is `PayBy95`.
|
|
963
977
|
|
|
964
|
-
> **NOTE:**
|
|
978
|
+
> **NOTE:** This parameter is available only on the Alibaba Cloud China site.
|
|
965
979
|
"""
|
|
966
980
|
return pulumi.get(self, "ratio")
|
|
967
981
|
|
|
@@ -199,7 +199,7 @@ class _ForwardEntryState:
|
|
|
199
199
|
:param pulumi.Input[builtins.bool] port_break: Specifies whether to remove limits on the port range. Default value is `false`.
|
|
200
200
|
|
|
201
201
|
> **NOTE:** A SNAT entry and a DNAT entry may use the same public IP address. If you want to specify a port number greater than 1024 in this case, set `port_break` to true.
|
|
202
|
-
:param pulumi.Input[builtins.str] status: (Available since
|
|
202
|
+
:param pulumi.Input[builtins.str] status: (Available since v1.119.1) The status of forward entry.
|
|
203
203
|
"""
|
|
204
204
|
if external_ip is not None:
|
|
205
205
|
pulumi.set(__self__, "external_ip", external_ip)
|
|
@@ -354,7 +354,7 @@ class _ForwardEntryState:
|
|
|
354
354
|
@pulumi.getter
|
|
355
355
|
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
356
356
|
"""
|
|
357
|
-
(Available since
|
|
357
|
+
(Available since v1.119.1) The status of forward entry.
|
|
358
358
|
"""
|
|
359
359
|
return pulumi.get(self, "status")
|
|
360
360
|
|
|
@@ -601,7 +601,7 @@ class ForwardEntry(pulumi.CustomResource):
|
|
|
601
601
|
:param pulumi.Input[builtins.bool] port_break: Specifies whether to remove limits on the port range. Default value is `false`.
|
|
602
602
|
|
|
603
603
|
> **NOTE:** A SNAT entry and a DNAT entry may use the same public IP address. If you want to specify a port number greater than 1024 in this case, set `port_break` to true.
|
|
604
|
-
:param pulumi.Input[builtins.str] status: (Available since
|
|
604
|
+
:param pulumi.Input[builtins.str] status: (Available since v1.119.1) The status of forward entry.
|
|
605
605
|
"""
|
|
606
606
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
607
607
|
|
|
@@ -707,7 +707,7 @@ class ForwardEntry(pulumi.CustomResource):
|
|
|
707
707
|
@pulumi.getter
|
|
708
708
|
def status(self) -> pulumi.Output[builtins.str]:
|
|
709
709
|
"""
|
|
710
|
-
(Available since
|
|
710
|
+
(Available since v1.119.1) The status of forward entry.
|
|
711
711
|
"""
|
|
712
712
|
return pulumi.get(self, "status")
|
|
713
713
|
|
|
@@ -186,7 +186,7 @@ class GatewayRouteTableAttachment(pulumi.CustomResource):
|
|
|
186
186
|
|
|
187
187
|
For information about VPC Gateway Route Table Attachment and how to use it, see [What is Gateway Route Table Attachment](https://www.alibabacloud.com/help/doc-detail/174112.htm).
|
|
188
188
|
|
|
189
|
-
> **NOTE:** Available
|
|
189
|
+
> **NOTE:** Available since v1.194.0.
|
|
190
190
|
|
|
191
191
|
## Example Usage
|
|
192
192
|
|
|
@@ -238,7 +238,7 @@ class GatewayRouteTableAttachment(pulumi.CustomResource):
|
|
|
238
238
|
|
|
239
239
|
For information about VPC Gateway Route Table Attachment and how to use it, see [What is Gateway Route Table Attachment](https://www.alibabacloud.com/help/doc-detail/174112.htm).
|
|
240
240
|
|
|
241
|
-
> **NOTE:** Available
|
|
241
|
+
> **NOTE:** Available since v1.194.0.
|
|
242
242
|
|
|
243
243
|
## Example Usage
|
|
244
244
|
|
pulumi_alicloud/vpc/ha_vip.py
CHANGED
|
@@ -173,7 +173,7 @@ class _HAVipState:
|
|
|
173
173
|
:param pulumi.Input[builtins.str] ip_address: The ip address of the HaVip. If not filled, the default will be assigned one from the vswitch.
|
|
174
174
|
:param pulumi.Input[builtins.str] master_instance_id: The ID of the active instance that is associated with the HAVIP.
|
|
175
175
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group to which the HAVIP belongs.
|
|
176
|
-
:param pulumi.Input[builtins.str] status: (Available
|
|
176
|
+
:param pulumi.Input[builtins.str] status: (Available since v1.120.0) The status of the HaVip instance.
|
|
177
177
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The list of tags.
|
|
178
178
|
:param pulumi.Input[builtins.str] vpc_id: The ID of the VPC to which the HAVIP belongs.
|
|
179
179
|
:param pulumi.Input[builtins.str] vswitch_id: The vswitch_id of the HaVip, the field can't be changed.
|
|
@@ -351,7 +351,7 @@ class _HAVipState:
|
|
|
351
351
|
@pulumi.getter
|
|
352
352
|
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
353
353
|
"""
|
|
354
|
-
(Available
|
|
354
|
+
(Available since v1.120.0) The status of the HaVip instance.
|
|
355
355
|
"""
|
|
356
356
|
return pulumi.get(self, "status")
|
|
357
357
|
|
|
@@ -589,7 +589,7 @@ class HAVip(pulumi.CustomResource):
|
|
|
589
589
|
:param pulumi.Input[builtins.str] ip_address: The ip address of the HaVip. If not filled, the default will be assigned one from the vswitch.
|
|
590
590
|
:param pulumi.Input[builtins.str] master_instance_id: The ID of the active instance that is associated with the HAVIP.
|
|
591
591
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group to which the HAVIP belongs.
|
|
592
|
-
:param pulumi.Input[builtins.str] status: (Available
|
|
592
|
+
:param pulumi.Input[builtins.str] status: (Available since v1.120.0) The status of the HaVip instance.
|
|
593
593
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The list of tags.
|
|
594
594
|
:param pulumi.Input[builtins.str] vpc_id: The ID of the VPC to which the HAVIP belongs.
|
|
595
595
|
:param pulumi.Input[builtins.str] vswitch_id: The vswitch_id of the HaVip, the field can't be changed.
|
|
@@ -710,7 +710,7 @@ class HAVip(pulumi.CustomResource):
|
|
|
710
710
|
@pulumi.getter
|
|
711
711
|
def status(self) -> pulumi.Output[builtins.str]:
|
|
712
712
|
"""
|
|
713
|
-
(Available
|
|
713
|
+
(Available since v1.120.0) The status of the HaVip instance.
|
|
714
714
|
"""
|
|
715
715
|
return pulumi.get(self, "status")
|
|
716
716
|
|
pulumi_alicloud/vpc/ha_vipv2.py
CHANGED
|
@@ -419,6 +419,8 @@ class HaVipv2(pulumi.CustomResource):
|
|
|
419
419
|
|
|
420
420
|
For information about Vpc Ha Vip and how to use it, see [What is Ha Vip](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createhavip).
|
|
421
421
|
|
|
422
|
+
> **NOTE:** Available since v1.205.0.
|
|
423
|
+
|
|
422
424
|
## Example Usage
|
|
423
425
|
|
|
424
426
|
Basic Usage
|
|
@@ -487,6 +489,8 @@ class HaVipv2(pulumi.CustomResource):
|
|
|
487
489
|
|
|
488
490
|
For information about Vpc Ha Vip and how to use it, see [What is Ha Vip](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createhavip).
|
|
489
491
|
|
|
492
|
+
> **NOTE:** Available since v1.205.0.
|
|
493
|
+
|
|
490
494
|
## Example Usage
|
|
491
495
|
|
|
492
496
|
Basic Usage
|
|
@@ -23,6 +23,7 @@ class Ipv4GatewayArgs:
|
|
|
23
23
|
vpc_id: pulumi.Input[builtins.str],
|
|
24
24
|
dry_run: Optional[pulumi.Input[builtins.bool]] = None,
|
|
25
25
|
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
26
|
+
internet_mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
26
27
|
ipv4_gateway_description: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
28
|
ipv4_gateway_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
29
|
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -31,7 +32,8 @@ class Ipv4GatewayArgs:
|
|
|
31
32
|
The set of arguments for constructing a Ipv4Gateway resource.
|
|
32
33
|
:param pulumi.Input[builtins.str] vpc_id: The ID of the virtual private cloud (VPC) where you want to create the IPv4 gateway. You can create only one IPv4 gateway in a VPC.
|
|
33
34
|
:param pulumi.Input[builtins.bool] dry_run: Whether to PreCheck only this request. Value:-**true**: The check request is sent without creating an IPv4 Gateway. Check items include whether required parameters, request format, and business restrictions are filled in. If the check does not pass, the corresponding error is returned. If the check passes, the error code 'DryRunOperation' is returned '.-**false** (default): Sends a normal request, returns an HTTP 2xx status code and directly creates an IPv4 Gateway.
|
|
34
|
-
:param pulumi.Input[builtins.bool] enabled: Whether the IPv4 gateway is active or not. Valid values are
|
|
35
|
+
:param pulumi.Input[builtins.bool] enabled: Whether the IPv4 gateway is active or not. Valid values are `true` and `false`.
|
|
36
|
+
:param pulumi.Input[builtins.str] internet_mode: The public network traffic mode of the VPC after the IPv4 Gateway is deleted:
|
|
35
37
|
:param pulumi.Input[builtins.str] ipv4_gateway_description: The description of the IPv4 gateway. The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.
|
|
36
38
|
:param pulumi.Input[builtins.str] ipv4_gateway_name: The name of the IPv4 gateway. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
|
|
37
39
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
@@ -42,6 +44,8 @@ class Ipv4GatewayArgs:
|
|
|
42
44
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
43
45
|
if enabled is not None:
|
|
44
46
|
pulumi.set(__self__, "enabled", enabled)
|
|
47
|
+
if internet_mode is not None:
|
|
48
|
+
pulumi.set(__self__, "internet_mode", internet_mode)
|
|
45
49
|
if ipv4_gateway_description is not None:
|
|
46
50
|
pulumi.set(__self__, "ipv4_gateway_description", ipv4_gateway_description)
|
|
47
51
|
if ipv4_gateway_name is not None:
|
|
@@ -79,7 +83,7 @@ class Ipv4GatewayArgs:
|
|
|
79
83
|
@pulumi.getter
|
|
80
84
|
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
81
85
|
"""
|
|
82
|
-
Whether the IPv4 gateway is active or not. Valid values are
|
|
86
|
+
Whether the IPv4 gateway is active or not. Valid values are `true` and `false`.
|
|
83
87
|
"""
|
|
84
88
|
return pulumi.get(self, "enabled")
|
|
85
89
|
|
|
@@ -87,6 +91,18 @@ class Ipv4GatewayArgs:
|
|
|
87
91
|
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
88
92
|
pulumi.set(self, "enabled", value)
|
|
89
93
|
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter(name="internetMode")
|
|
96
|
+
def internet_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
97
|
+
"""
|
|
98
|
+
The public network traffic mode of the VPC after the IPv4 Gateway is deleted:
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "internet_mode")
|
|
101
|
+
|
|
102
|
+
@internet_mode.setter
|
|
103
|
+
def internet_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
104
|
+
pulumi.set(self, "internet_mode", value)
|
|
105
|
+
|
|
90
106
|
@property
|
|
91
107
|
@pulumi.getter(name="ipv4GatewayDescription")
|
|
92
108
|
def ipv4_gateway_description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -142,6 +158,7 @@ class _Ipv4GatewayState:
|
|
|
142
158
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
143
159
|
dry_run: Optional[pulumi.Input[builtins.bool]] = None,
|
|
144
160
|
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
161
|
+
internet_mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
145
162
|
ipv4_gateway_description: Optional[pulumi.Input[builtins.str]] = None,
|
|
146
163
|
ipv4_gateway_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
147
164
|
ipv4_gateway_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -152,15 +169,16 @@ class _Ipv4GatewayState:
|
|
|
152
169
|
vpc_id: Optional[pulumi.Input[builtins.str]] = None):
|
|
153
170
|
"""
|
|
154
171
|
Input properties used for looking up and filtering Ipv4Gateway resources.
|
|
155
|
-
:param pulumi.Input[builtins.str] create_time: The creation time of the resource
|
|
172
|
+
:param pulumi.Input[builtins.str] create_time: The creation time of the resource
|
|
156
173
|
:param pulumi.Input[builtins.bool] dry_run: Whether to PreCheck only this request. Value:-**true**: The check request is sent without creating an IPv4 Gateway. Check items include whether required parameters, request format, and business restrictions are filled in. If the check does not pass, the corresponding error is returned. If the check passes, the error code 'DryRunOperation' is returned '.-**false** (default): Sends a normal request, returns an HTTP 2xx status code and directly creates an IPv4 Gateway.
|
|
157
|
-
:param pulumi.Input[builtins.bool] enabled: Whether the IPv4 gateway is active or not. Valid values are
|
|
174
|
+
:param pulumi.Input[builtins.bool] enabled: Whether the IPv4 gateway is active or not. Valid values are `true` and `false`.
|
|
175
|
+
:param pulumi.Input[builtins.str] internet_mode: The public network traffic mode of the VPC after the IPv4 Gateway is deleted:
|
|
158
176
|
:param pulumi.Input[builtins.str] ipv4_gateway_description: The description of the IPv4 gateway. The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.
|
|
159
177
|
:param pulumi.Input[builtins.str] ipv4_gateway_id: Resource primary key field.
|
|
160
178
|
:param pulumi.Input[builtins.str] ipv4_gateway_name: The name of the IPv4 gateway. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
|
|
161
|
-
:param pulumi.Input[builtins.str] ipv4_gateway_route_table_id: ID of the route table associated with IPv4 Gateway
|
|
179
|
+
:param pulumi.Input[builtins.str] ipv4_gateway_route_table_id: ID of the route table associated with IPv4 Gateway
|
|
162
180
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
163
|
-
:param pulumi.Input[builtins.str] status: The status of the resource
|
|
181
|
+
:param pulumi.Input[builtins.str] status: The status of the resource
|
|
164
182
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tags of the current resource.
|
|
165
183
|
:param pulumi.Input[builtins.str] vpc_id: The ID of the virtual private cloud (VPC) where you want to create the IPv4 gateway. You can create only one IPv4 gateway in a VPC.
|
|
166
184
|
"""
|
|
@@ -170,6 +188,8 @@ class _Ipv4GatewayState:
|
|
|
170
188
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
171
189
|
if enabled is not None:
|
|
172
190
|
pulumi.set(__self__, "enabled", enabled)
|
|
191
|
+
if internet_mode is not None:
|
|
192
|
+
pulumi.set(__self__, "internet_mode", internet_mode)
|
|
173
193
|
if ipv4_gateway_description is not None:
|
|
174
194
|
pulumi.set(__self__, "ipv4_gateway_description", ipv4_gateway_description)
|
|
175
195
|
if ipv4_gateway_id is not None:
|
|
@@ -191,7 +211,7 @@ class _Ipv4GatewayState:
|
|
|
191
211
|
@pulumi.getter(name="createTime")
|
|
192
212
|
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
193
213
|
"""
|
|
194
|
-
The creation time of the resource
|
|
214
|
+
The creation time of the resource
|
|
195
215
|
"""
|
|
196
216
|
return pulumi.get(self, "create_time")
|
|
197
217
|
|
|
@@ -215,7 +235,7 @@ class _Ipv4GatewayState:
|
|
|
215
235
|
@pulumi.getter
|
|
216
236
|
def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
217
237
|
"""
|
|
218
|
-
Whether the IPv4 gateway is active or not. Valid values are
|
|
238
|
+
Whether the IPv4 gateway is active or not. Valid values are `true` and `false`.
|
|
219
239
|
"""
|
|
220
240
|
return pulumi.get(self, "enabled")
|
|
221
241
|
|
|
@@ -223,6 +243,18 @@ class _Ipv4GatewayState:
|
|
|
223
243
|
def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
224
244
|
pulumi.set(self, "enabled", value)
|
|
225
245
|
|
|
246
|
+
@property
|
|
247
|
+
@pulumi.getter(name="internetMode")
|
|
248
|
+
def internet_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
249
|
+
"""
|
|
250
|
+
The public network traffic mode of the VPC after the IPv4 Gateway is deleted:
|
|
251
|
+
"""
|
|
252
|
+
return pulumi.get(self, "internet_mode")
|
|
253
|
+
|
|
254
|
+
@internet_mode.setter
|
|
255
|
+
def internet_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
256
|
+
pulumi.set(self, "internet_mode", value)
|
|
257
|
+
|
|
226
258
|
@property
|
|
227
259
|
@pulumi.getter(name="ipv4GatewayDescription")
|
|
228
260
|
def ipv4_gateway_description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -263,7 +295,7 @@ class _Ipv4GatewayState:
|
|
|
263
295
|
@pulumi.getter(name="ipv4GatewayRouteTableId")
|
|
264
296
|
def ipv4_gateway_route_table_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
265
297
|
"""
|
|
266
|
-
ID of the route table associated with IPv4 Gateway
|
|
298
|
+
ID of the route table associated with IPv4 Gateway
|
|
267
299
|
"""
|
|
268
300
|
return pulumi.get(self, "ipv4_gateway_route_table_id")
|
|
269
301
|
|
|
@@ -287,7 +319,7 @@ class _Ipv4GatewayState:
|
|
|
287
319
|
@pulumi.getter
|
|
288
320
|
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
289
321
|
"""
|
|
290
|
-
The status of the resource
|
|
322
|
+
The status of the resource
|
|
291
323
|
"""
|
|
292
324
|
return pulumi.get(self, "status")
|
|
293
325
|
|
|
@@ -328,6 +360,7 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
328
360
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
329
361
|
dry_run: Optional[pulumi.Input[builtins.bool]] = None,
|
|
330
362
|
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
363
|
+
internet_mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
331
364
|
ipv4_gateway_description: Optional[pulumi.Input[builtins.str]] = None,
|
|
332
365
|
ipv4_gateway_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
333
366
|
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -337,9 +370,9 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
337
370
|
"""
|
|
338
371
|
Provides a Vpc Ipv4 Gateway resource.
|
|
339
372
|
|
|
340
|
-
For information about
|
|
373
|
+
For information about VPC Ipv4 Gateway and how to use it, see [What is Ipv4 Gateway](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createipv4gateway).
|
|
341
374
|
|
|
342
|
-
> **NOTE:** Available
|
|
375
|
+
> **NOTE:** Available since v1.181.0.
|
|
343
376
|
|
|
344
377
|
## Example Usage
|
|
345
378
|
|
|
@@ -352,26 +385,23 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
352
385
|
config = pulumi.Config()
|
|
353
386
|
name = config.get("name")
|
|
354
387
|
if name is None:
|
|
355
|
-
name = "tf-
|
|
388
|
+
name = "tf-example"
|
|
356
389
|
default = alicloud.resourcemanager.ResourceGroup("default",
|
|
357
|
-
display_name=
|
|
390
|
+
display_name=name,
|
|
358
391
|
resource_group_name=name)
|
|
359
|
-
modify = alicloud.resourcemanager.ResourceGroup("modify",
|
|
360
|
-
display_name="tf-testAcc-rg298",
|
|
361
|
-
resource_group_name=f"{name}1")
|
|
362
392
|
default_network = alicloud.vpc.Network("default",
|
|
363
393
|
vpc_name=f"{name}2",
|
|
364
394
|
cidr_block="10.0.0.0/8")
|
|
365
395
|
default_ipv4_gateway = alicloud.vpc.Ipv4Gateway("default",
|
|
366
396
|
ipv4_gateway_name=name,
|
|
367
|
-
ipv4_gateway_description=
|
|
397
|
+
ipv4_gateway_description=name,
|
|
368
398
|
resource_group_id=default.id,
|
|
369
399
|
vpc_id=default_network.id)
|
|
370
400
|
```
|
|
371
401
|
|
|
372
402
|
## Import
|
|
373
403
|
|
|
374
|
-
|
|
404
|
+
VPC Ipv4 Gateway can be imported using the id, e.g.
|
|
375
405
|
|
|
376
406
|
```sh
|
|
377
407
|
$ pulumi import alicloud:vpc/ipv4Gateway:Ipv4Gateway example <id>
|
|
@@ -380,7 +410,8 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
380
410
|
:param str resource_name: The name of the resource.
|
|
381
411
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
382
412
|
:param pulumi.Input[builtins.bool] dry_run: Whether to PreCheck only this request. Value:-**true**: The check request is sent without creating an IPv4 Gateway. Check items include whether required parameters, request format, and business restrictions are filled in. If the check does not pass, the corresponding error is returned. If the check passes, the error code 'DryRunOperation' is returned '.-**false** (default): Sends a normal request, returns an HTTP 2xx status code and directly creates an IPv4 Gateway.
|
|
383
|
-
:param pulumi.Input[builtins.bool] enabled: Whether the IPv4 gateway is active or not. Valid values are
|
|
413
|
+
:param pulumi.Input[builtins.bool] enabled: Whether the IPv4 gateway is active or not. Valid values are `true` and `false`.
|
|
414
|
+
:param pulumi.Input[builtins.str] internet_mode: The public network traffic mode of the VPC after the IPv4 Gateway is deleted:
|
|
384
415
|
:param pulumi.Input[builtins.str] ipv4_gateway_description: The description of the IPv4 gateway. The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.
|
|
385
416
|
:param pulumi.Input[builtins.str] ipv4_gateway_name: The name of the IPv4 gateway. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
|
|
386
417
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
@@ -396,9 +427,9 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
396
427
|
"""
|
|
397
428
|
Provides a Vpc Ipv4 Gateway resource.
|
|
398
429
|
|
|
399
|
-
For information about
|
|
430
|
+
For information about VPC Ipv4 Gateway and how to use it, see [What is Ipv4 Gateway](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createipv4gateway).
|
|
400
431
|
|
|
401
|
-
> **NOTE:** Available
|
|
432
|
+
> **NOTE:** Available since v1.181.0.
|
|
402
433
|
|
|
403
434
|
## Example Usage
|
|
404
435
|
|
|
@@ -411,26 +442,23 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
411
442
|
config = pulumi.Config()
|
|
412
443
|
name = config.get("name")
|
|
413
444
|
if name is None:
|
|
414
|
-
name = "tf-
|
|
445
|
+
name = "tf-example"
|
|
415
446
|
default = alicloud.resourcemanager.ResourceGroup("default",
|
|
416
|
-
display_name=
|
|
447
|
+
display_name=name,
|
|
417
448
|
resource_group_name=name)
|
|
418
|
-
modify = alicloud.resourcemanager.ResourceGroup("modify",
|
|
419
|
-
display_name="tf-testAcc-rg298",
|
|
420
|
-
resource_group_name=f"{name}1")
|
|
421
449
|
default_network = alicloud.vpc.Network("default",
|
|
422
450
|
vpc_name=f"{name}2",
|
|
423
451
|
cidr_block="10.0.0.0/8")
|
|
424
452
|
default_ipv4_gateway = alicloud.vpc.Ipv4Gateway("default",
|
|
425
453
|
ipv4_gateway_name=name,
|
|
426
|
-
ipv4_gateway_description=
|
|
454
|
+
ipv4_gateway_description=name,
|
|
427
455
|
resource_group_id=default.id,
|
|
428
456
|
vpc_id=default_network.id)
|
|
429
457
|
```
|
|
430
458
|
|
|
431
459
|
## Import
|
|
432
460
|
|
|
433
|
-
|
|
461
|
+
VPC Ipv4 Gateway can be imported using the id, e.g.
|
|
434
462
|
|
|
435
463
|
```sh
|
|
436
464
|
$ pulumi import alicloud:vpc/ipv4Gateway:Ipv4Gateway example <id>
|
|
@@ -453,6 +481,7 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
453
481
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
454
482
|
dry_run: Optional[pulumi.Input[builtins.bool]] = None,
|
|
455
483
|
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
484
|
+
internet_mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
456
485
|
ipv4_gateway_description: Optional[pulumi.Input[builtins.str]] = None,
|
|
457
486
|
ipv4_gateway_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
458
487
|
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -469,6 +498,7 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
469
498
|
|
|
470
499
|
__props__.__dict__["dry_run"] = dry_run
|
|
471
500
|
__props__.__dict__["enabled"] = enabled
|
|
501
|
+
__props__.__dict__["internet_mode"] = internet_mode
|
|
472
502
|
__props__.__dict__["ipv4_gateway_description"] = ipv4_gateway_description
|
|
473
503
|
__props__.__dict__["ipv4_gateway_name"] = ipv4_gateway_name
|
|
474
504
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
@@ -493,6 +523,7 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
493
523
|
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
494
524
|
dry_run: Optional[pulumi.Input[builtins.bool]] = None,
|
|
495
525
|
enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
526
|
+
internet_mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
496
527
|
ipv4_gateway_description: Optional[pulumi.Input[builtins.str]] = None,
|
|
497
528
|
ipv4_gateway_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
498
529
|
ipv4_gateway_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -508,15 +539,16 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
508
539
|
:param str resource_name: The unique name of the resulting resource.
|
|
509
540
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
510
541
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
511
|
-
:param pulumi.Input[builtins.str] create_time: The creation time of the resource
|
|
542
|
+
:param pulumi.Input[builtins.str] create_time: The creation time of the resource
|
|
512
543
|
:param pulumi.Input[builtins.bool] dry_run: Whether to PreCheck only this request. Value:-**true**: The check request is sent without creating an IPv4 Gateway. Check items include whether required parameters, request format, and business restrictions are filled in. If the check does not pass, the corresponding error is returned. If the check passes, the error code 'DryRunOperation' is returned '.-**false** (default): Sends a normal request, returns an HTTP 2xx status code and directly creates an IPv4 Gateway.
|
|
513
|
-
:param pulumi.Input[builtins.bool] enabled: Whether the IPv4 gateway is active or not. Valid values are
|
|
544
|
+
:param pulumi.Input[builtins.bool] enabled: Whether the IPv4 gateway is active or not. Valid values are `true` and `false`.
|
|
545
|
+
:param pulumi.Input[builtins.str] internet_mode: The public network traffic mode of the VPC after the IPv4 Gateway is deleted:
|
|
514
546
|
:param pulumi.Input[builtins.str] ipv4_gateway_description: The description of the IPv4 gateway. The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.
|
|
515
547
|
:param pulumi.Input[builtins.str] ipv4_gateway_id: Resource primary key field.
|
|
516
548
|
:param pulumi.Input[builtins.str] ipv4_gateway_name: The name of the IPv4 gateway. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
|
|
517
|
-
:param pulumi.Input[builtins.str] ipv4_gateway_route_table_id: ID of the route table associated with IPv4 Gateway
|
|
549
|
+
:param pulumi.Input[builtins.str] ipv4_gateway_route_table_id: ID of the route table associated with IPv4 Gateway
|
|
518
550
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group to which the instance belongs.
|
|
519
|
-
:param pulumi.Input[builtins.str] status: The status of the resource
|
|
551
|
+
:param pulumi.Input[builtins.str] status: The status of the resource
|
|
520
552
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tags of the current resource.
|
|
521
553
|
:param pulumi.Input[builtins.str] vpc_id: The ID of the virtual private cloud (VPC) where you want to create the IPv4 gateway. You can create only one IPv4 gateway in a VPC.
|
|
522
554
|
"""
|
|
@@ -527,6 +559,7 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
527
559
|
__props__.__dict__["create_time"] = create_time
|
|
528
560
|
__props__.__dict__["dry_run"] = dry_run
|
|
529
561
|
__props__.__dict__["enabled"] = enabled
|
|
562
|
+
__props__.__dict__["internet_mode"] = internet_mode
|
|
530
563
|
__props__.__dict__["ipv4_gateway_description"] = ipv4_gateway_description
|
|
531
564
|
__props__.__dict__["ipv4_gateway_id"] = ipv4_gateway_id
|
|
532
565
|
__props__.__dict__["ipv4_gateway_name"] = ipv4_gateway_name
|
|
@@ -541,7 +574,7 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
541
574
|
@pulumi.getter(name="createTime")
|
|
542
575
|
def create_time(self) -> pulumi.Output[builtins.str]:
|
|
543
576
|
"""
|
|
544
|
-
The creation time of the resource
|
|
577
|
+
The creation time of the resource
|
|
545
578
|
"""
|
|
546
579
|
return pulumi.get(self, "create_time")
|
|
547
580
|
|
|
@@ -557,10 +590,18 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
557
590
|
@pulumi.getter
|
|
558
591
|
def enabled(self) -> pulumi.Output[builtins.bool]:
|
|
559
592
|
"""
|
|
560
|
-
Whether the IPv4 gateway is active or not. Valid values are
|
|
593
|
+
Whether the IPv4 gateway is active or not. Valid values are `true` and `false`.
|
|
561
594
|
"""
|
|
562
595
|
return pulumi.get(self, "enabled")
|
|
563
596
|
|
|
597
|
+
@property
|
|
598
|
+
@pulumi.getter(name="internetMode")
|
|
599
|
+
def internet_mode(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
600
|
+
"""
|
|
601
|
+
The public network traffic mode of the VPC after the IPv4 Gateway is deleted:
|
|
602
|
+
"""
|
|
603
|
+
return pulumi.get(self, "internet_mode")
|
|
604
|
+
|
|
564
605
|
@property
|
|
565
606
|
@pulumi.getter(name="ipv4GatewayDescription")
|
|
566
607
|
def ipv4_gateway_description(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
@@ -589,7 +630,7 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
589
630
|
@pulumi.getter(name="ipv4GatewayRouteTableId")
|
|
590
631
|
def ipv4_gateway_route_table_id(self) -> pulumi.Output[builtins.str]:
|
|
591
632
|
"""
|
|
592
|
-
ID of the route table associated with IPv4 Gateway
|
|
633
|
+
ID of the route table associated with IPv4 Gateway
|
|
593
634
|
"""
|
|
594
635
|
return pulumi.get(self, "ipv4_gateway_route_table_id")
|
|
595
636
|
|
|
@@ -605,7 +646,7 @@ class Ipv4Gateway(pulumi.CustomResource):
|
|
|
605
646
|
@pulumi.getter
|
|
606
647
|
def status(self) -> pulumi.Output[builtins.str]:
|
|
607
648
|
"""
|
|
608
|
-
The status of the resource
|
|
649
|
+
The status of the resource
|
|
609
650
|
"""
|
|
610
651
|
return pulumi.get(self, "status")
|
|
611
652
|
|
|
@@ -346,7 +346,7 @@ class Ipv6Gateway(pulumi.CustomResource):
|
|
|
346
346
|
|
|
347
347
|
For information about Vpc Ipv6 Gateway and how to use it, see [What is Ipv6 Gateway](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createipv6gateway).
|
|
348
348
|
|
|
349
|
-
> **NOTE:** Available
|
|
349
|
+
> **NOTE:** Available since v1.142.0.
|
|
350
350
|
|
|
351
351
|
## Example Usage
|
|
352
352
|
|
|
@@ -404,7 +404,7 @@ class Ipv6Gateway(pulumi.CustomResource):
|
|
|
404
404
|
|
|
405
405
|
For information about Vpc Ipv6 Gateway and how to use it, see [What is Ipv6 Gateway](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createipv6gateway).
|
|
406
406
|
|
|
407
|
-
> **NOTE:** Available
|
|
407
|
+
> **NOTE:** Available since v1.142.0.
|
|
408
408
|
|
|
409
409
|
## Example Usage
|
|
410
410
|
|
pulumi_alicloud/vpc/nat_ip.py
CHANGED
|
@@ -307,7 +307,7 @@ class NatIp(pulumi.CustomResource):
|
|
|
307
307
|
|
|
308
308
|
For information about VPC Nat Ip and how to use it, see [What is Nat Ip](https://www.alibabacloud.com/help/doc-detail/281976.htm).
|
|
309
309
|
|
|
310
|
-
> **NOTE:** Available
|
|
310
|
+
> **NOTE:** Available since v1.136.0.
|
|
311
311
|
|
|
312
312
|
## Example Usage
|
|
313
313
|
|
|
@@ -376,7 +376,7 @@ class NatIp(pulumi.CustomResource):
|
|
|
376
376
|
|
|
377
377
|
For information about VPC Nat Ip and how to use it, see [What is Nat Ip](https://www.alibabacloud.com/help/doc-detail/281976.htm).
|
|
378
378
|
|
|
379
|
-
> **NOTE:** Available
|
|
379
|
+
> **NOTE:** Available since v1.136.0.
|
|
380
380
|
|
|
381
381
|
## Example Usage
|
|
382
382
|
|
|
@@ -358,7 +358,7 @@ class PrefixList(pulumi.CustomResource):
|
|
|
358
358
|
|
|
359
359
|
For information about Vpc Prefix List and how to use it, see [What is Prefix List](https://www.alibabacloud.com/help/zh/virtual-private-cloud/latest/creatvpcprefixlist).
|
|
360
360
|
|
|
361
|
-
> **NOTE:** Available
|
|
361
|
+
> **NOTE:** Available since v1.182.0.
|
|
362
362
|
|
|
363
363
|
## Example Usage
|
|
364
364
|
|
|
@@ -419,7 +419,7 @@ class PrefixList(pulumi.CustomResource):
|
|
|
419
419
|
|
|
420
420
|
For information about Vpc Prefix List and how to use it, see [What is Prefix List](https://www.alibabacloud.com/help/zh/virtual-private-cloud/latest/creatvpcprefixlist).
|
|
421
421
|
|
|
422
|
-
> **NOTE:** Available
|
|
422
|
+
> **NOTE:** Available since v1.182.0.
|
|
423
423
|
|
|
424
424
|
## Example Usage
|
|
425
425
|
|
|
@@ -329,7 +329,9 @@ class RouteEntry(pulumi.CustomResource):
|
|
|
329
329
|
default_get_images = alicloud.ecs.get_images(most_recent=True,
|
|
330
330
|
owners="system")
|
|
331
331
|
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
|
|
332
|
-
|
|
332
|
+
cpu_core_count=2,
|
|
333
|
+
memory_size=8,
|
|
334
|
+
instance_type_family="ecs.g6")
|
|
333
335
|
default_network = alicloud.vpc.Network("default",
|
|
334
336
|
vpc_name=name,
|
|
335
337
|
cidr_block="192.168.0.0/16")
|
|
@@ -421,7 +423,9 @@ class RouteEntry(pulumi.CustomResource):
|
|
|
421
423
|
default_get_images = alicloud.ecs.get_images(most_recent=True,
|
|
422
424
|
owners="system")
|
|
423
425
|
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
|
|
424
|
-
|
|
426
|
+
cpu_core_count=2,
|
|
427
|
+
memory_size=8,
|
|
428
|
+
instance_type_family="ecs.g6")
|
|
425
429
|
default_network = alicloud.vpc.Network("default",
|
|
426
430
|
vpc_name=name,
|
|
427
431
|
cidr_block="192.168.0.0/16")
|