pulumi-alicloud 3.60.0a1723455033__py3-none-any.whl → 3.60.0a1723462134__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 +150 -0
- pulumi_alicloud/adb/resource_group.py +48 -20
- pulumi_alicloud/alb/_inputs.py +22 -22
- pulumi_alicloud/alb/load_balancer.py +119 -133
- pulumi_alicloud/alb/outputs.py +22 -22
- pulumi_alicloud/alb/server_group.py +2 -2
- pulumi_alicloud/aligreen/__init__.py +13 -0
- pulumi_alicloud/aligreen/audit_callback.py +422 -0
- pulumi_alicloud/aligreen/biz_type.py +398 -0
- pulumi_alicloud/aligreen/callback.py +449 -0
- pulumi_alicloud/aligreen/image_lib.py +406 -0
- pulumi_alicloud/aligreen/keyword_lib.py +615 -0
- pulumi_alicloud/aligreen/oss_stock_task.py +1661 -0
- pulumi_alicloud/amqp/binding.py +94 -102
- pulumi_alicloud/apigateway/__init__.py +2 -0
- pulumi_alicloud/apigateway/_inputs.py +221 -2
- pulumi_alicloud/apigateway/access_control_list.py +17 -9
- pulumi_alicloud/apigateway/acl_entry_attachment.py +303 -0
- pulumi_alicloud/apigateway/api.py +4 -2
- pulumi_alicloud/apigateway/group.py +51 -2
- pulumi_alicloud/apigateway/instance.py +396 -63
- pulumi_alicloud/apigateway/instance_acl_attachment.py +326 -0
- pulumi_alicloud/apigateway/outputs.py +223 -2
- pulumi_alicloud/apigateway/vpc_access.py +2 -2
- pulumi_alicloud/arms/get_remote_writes.py +4 -0
- pulumi_alicloud/arms/outputs.py +2 -2
- pulumi_alicloud/arms/remote_write.py +4 -0
- pulumi_alicloud/cen/route_entry.py +2 -2
- pulumi_alicloud/cen/vbr_health_check.py +1 -1
- pulumi_alicloud/cfg/aggregate_delivery.py +255 -118
- pulumi_alicloud/cfg/delivery.py +259 -122
- pulumi_alicloud/clickhouse/_inputs.py +39 -0
- pulumi_alicloud/clickhouse/db_cluster.py +66 -6
- pulumi_alicloud/clickhouse/outputs.py +50 -0
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/control_policy.py +116 -108
- pulumi_alicloud/cloudfirewall/vpc_cen_tr_firewall.py +929 -0
- pulumi_alicloud/cloudmonitor/service_monitoring_agent_process.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +0 -76
- pulumi_alicloud/cms/_inputs.py +214 -42
- pulumi_alicloud/cms/alarm.py +61 -14
- pulumi_alicloud/cms/dynamic_tag_group.py +53 -51
- pulumi_alicloud/cms/metric_rule_black_list.py +2 -2
- pulumi_alicloud/cms/metric_rule_template.py +54 -87
- pulumi_alicloud/cms/outputs.py +214 -42
- pulumi_alicloud/cs/get_kubernetes_clusters.py +4 -2
- pulumi_alicloud/cs/outputs.py +2 -2
- pulumi_alicloud/databasefilesystem/instance_attachment.py +2 -2
- pulumi_alicloud/databasefilesystem/snapshot.py +2 -2
- pulumi_alicloud/ddos/basic_threshold.py +2 -2
- pulumi_alicloud/ddos/bgp_ip.py +2 -6
- pulumi_alicloud/eci/get_container_groups.py +2 -2
- pulumi_alicloud/ecs/ecs_disk_attachment.py +2 -2
- pulumi_alicloud/ecs/ecs_image_pipeline.py +2 -2
- pulumi_alicloud/ecs/ecs_instance_set.py +2 -2
- pulumi_alicloud/ecs/ecs_invocation.py +2 -2
- pulumi_alicloud/ecs/ecs_key_pair_attachment.py +2 -2
- pulumi_alicloud/ecs/ecs_launch_template.py +9 -9
- pulumi_alicloud/ecs/ecs_network_interface_attachment.py +2 -2
- pulumi_alicloud/ecs/eip_association.py +4 -6
- pulumi_alicloud/ecs/get_ecs_network_interfaces.py +46 -6
- pulumi_alicloud/ecs/get_instances.py +3 -3
- pulumi_alicloud/ecs/get_network_interfaces.py +5 -5
- pulumi_alicloud/ecs/image.py +4 -6
- pulumi_alicloud/ecs/image_copy.py +2 -2
- pulumi_alicloud/ecs/image_export.py +2 -2
- pulumi_alicloud/ecs/image_import.py +14 -6
- pulumi_alicloud/ecs/image_share_permission.py +2 -2
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/outputs.py +48 -26
- pulumi_alicloud/edas/instance_cluster_attachment.py +2 -2
- pulumi_alicloud/eds/outputs.py +10 -10
- pulumi_alicloud/ess/scaling_group.py +101 -7
- pulumi_alicloud/fc/__init__.py +7 -0
- pulumi_alicloud/fc/_inputs.py +1666 -0
- pulumi_alicloud/fc/outputs.py +1723 -2
- pulumi_alicloud/fc/v3_alias.py +440 -0
- pulumi_alicloud/fc/v3_async_invoke_config.py +439 -0
- pulumi_alicloud/fc/v3_concurrency_config.py +281 -0
- pulumi_alicloud/fc/v3_custom_domain.py +847 -0
- pulumi_alicloud/fc/v3_function.py +1391 -0
- pulumi_alicloud/fc/v3_function_version.py +313 -0
- pulumi_alicloud/fc/v3_trigger.py +663 -0
- pulumi_alicloud/ga/basic_accelerator.py +8 -8
- pulumi_alicloud/governance/__init__.py +12 -0
- pulumi_alicloud/governance/_inputs.py +70 -0
- pulumi_alicloud/governance/account.py +505 -0
- pulumi_alicloud/governance/baseline.py +387 -0
- pulumi_alicloud/governance/get_baselines.py +241 -0
- pulumi_alicloud/governance/outputs.py +99 -0
- pulumi_alicloud/hbr/ecs_backup_client.py +2 -2
- pulumi_alicloud/hbr/ecs_backup_plan.py +2 -2
- pulumi_alicloud/hbr/server_backup_plan.py +2 -2
- pulumi_alicloud/kvstore/instance.py +47 -0
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/maxcompute/get_projects.py +12 -14
- pulumi_alicloud/maxcompute/get_service.py +4 -0
- pulumi_alicloud/maxcompute/outputs.py +75 -60
- pulumi_alicloud/maxcompute/project.py +7 -7
- pulumi_alicloud/polardb/outputs.py +2 -2
- pulumi_alicloud/privatelink/outputs.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/login_profile.py +8 -8
- pulumi_alicloud/rds/get_instances.py +1 -1
- pulumi_alicloud/rds/rds_account.py +189 -49
- pulumi_alicloud/rds/read_write_splitting_connection.py +10 -2
- pulumi_alicloud/slb/get_application_load_balancers.py +3 -3
- pulumi_alicloud/slb/get_load_balancers.py +3 -3
- pulumi_alicloud/slb/load_balancer.py +7 -7
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group_server_attachment.py +2 -2
- pulumi_alicloud/vpc/bgp_peer.py +1 -1
- pulumi_alicloud/vpc/get_networks.py +2 -2
- pulumi_alicloud/vpc/get_switches.py +27 -27
- pulumi_alicloud/vpc/ha_vip_attachment.py +2 -2
- pulumi_alicloud/vpc/outputs.py +24 -24
- pulumi_alicloud/vpc/traffic_mirror_session.py +2 -2
- pulumi_alicloud/vpn/outputs.py +4 -4
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/RECORD +122 -99
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/top_level.txt +0 -0
|
@@ -551,7 +551,7 @@ class EcsImagePipeline(pulumi.CustomResource):
|
|
|
551
551
|
|
|
552
552
|
default = alicloud.resourcemanager.get_resource_groups(name_regex="default")
|
|
553
553
|
default_get_zones = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
554
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
554
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
555
555
|
most_recent=True,
|
|
556
556
|
owners="system")
|
|
557
557
|
default_get_instance_types = alicloud.ecs.get_instance_types(image_id=default_get_images.ids[0])
|
|
@@ -639,7 +639,7 @@ class EcsImagePipeline(pulumi.CustomResource):
|
|
|
639
639
|
|
|
640
640
|
default = alicloud.resourcemanager.get_resource_groups(name_regex="default")
|
|
641
641
|
default_get_zones = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
642
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
642
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
643
643
|
most_recent=True,
|
|
644
644
|
owners="system")
|
|
645
645
|
default_get_instance_types = alicloud.ecs.get_instance_types(image_id=default_get_images.ids[0])
|
|
@@ -1564,7 +1564,7 @@ class EcsInstanceSet(pulumi.CustomResource):
|
|
|
1564
1564
|
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
|
|
1565
1565
|
cpu_core_count=1,
|
|
1566
1566
|
memory_size=2)
|
|
1567
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
1567
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
1568
1568
|
most_recent=True,
|
|
1569
1569
|
owners="system")
|
|
1570
1570
|
default_network = alicloud.vpc.Network("default",
|
|
@@ -1682,7 +1682,7 @@ class EcsInstanceSet(pulumi.CustomResource):
|
|
|
1682
1682
|
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
|
|
1683
1683
|
cpu_core_count=1,
|
|
1684
1684
|
memory_size=2)
|
|
1685
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
1685
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
1686
1686
|
most_recent=True,
|
|
1687
1687
|
owners="system")
|
|
1688
1688
|
default_network = alicloud.vpc.Network("default",
|
|
@@ -357,7 +357,7 @@ class EcsInvocation(pulumi.CustomResource):
|
|
|
357
357
|
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
|
|
358
358
|
available_resource_creation="VSwitch")
|
|
359
359
|
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id)
|
|
360
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
360
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
361
361
|
most_recent=True,
|
|
362
362
|
owners="system")
|
|
363
363
|
default_network = alicloud.vpc.Network("default",
|
|
@@ -454,7 +454,7 @@ class EcsInvocation(pulumi.CustomResource):
|
|
|
454
454
|
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
|
|
455
455
|
available_resource_creation="VSwitch")
|
|
456
456
|
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id)
|
|
457
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
457
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
458
458
|
most_recent=True,
|
|
459
459
|
owners="system")
|
|
460
460
|
default_network = alicloud.vpc.Network("default",
|
|
@@ -192,7 +192,7 @@ class EcsKeyPairAttachment(pulumi.CustomResource):
|
|
|
192
192
|
example_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=example.zones[0].id,
|
|
193
193
|
cpu_core_count=1,
|
|
194
194
|
memory_size=2)
|
|
195
|
-
example_get_images = alicloud.ecs.get_images(name_regex="^
|
|
195
|
+
example_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
196
196
|
owners="system")
|
|
197
197
|
example_network = alicloud.vpc.Network("example",
|
|
198
198
|
vpc_name="terraform-example",
|
|
@@ -263,7 +263,7 @@ class EcsKeyPairAttachment(pulumi.CustomResource):
|
|
|
263
263
|
example_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=example.zones[0].id,
|
|
264
264
|
cpu_core_count=1,
|
|
265
265
|
memory_size=2)
|
|
266
|
-
example_get_images = alicloud.ecs.get_images(name_regex="^
|
|
266
|
+
example_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
267
267
|
owners="system")
|
|
268
268
|
example_network = alicloud.vpc.Network("example",
|
|
269
269
|
vpc_name="terraform-example",
|
|
@@ -77,7 +77,7 @@ class EcsLaunchTemplateArgs:
|
|
|
77
77
|
:param pulumi.Input[str] image_id: The Image ID.
|
|
78
78
|
:param pulumi.Input[str] image_owner_alias: Mirror source. Valid values: `system`, `self`, `others`, `marketplace`, `""`. Default to: `""`.
|
|
79
79
|
:param pulumi.Input[str] instance_charge_type: Billing methods. Valid values: `PostPaid`, `PrePaid`.
|
|
80
|
-
:param pulumi.Input[str] instance_name: The name of the instance. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
80
|
+
:param pulumi.Input[str] instance_name: The name of the instance. The name must be `2` to `128` characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), periods (.), commas (,), brackets ([]), and hyphens (-).
|
|
81
81
|
:param pulumi.Input[str] instance_type: Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
|
|
82
82
|
:param pulumi.Input[str] internet_charge_type: Internet bandwidth billing method. Valid values: `PayByTraffic`, `PayByBandwidth`.
|
|
83
83
|
:param pulumi.Input[int] internet_max_bandwidth_in: The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
|
|
@@ -372,7 +372,7 @@ class EcsLaunchTemplateArgs:
|
|
|
372
372
|
@pulumi.getter(name="instanceName")
|
|
373
373
|
def instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
374
374
|
"""
|
|
375
|
-
The name of the instance. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
375
|
+
The name of the instance. The name must be `2` to `128` characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), periods (.), commas (,), brackets ([]), and hyphens (-).
|
|
376
376
|
"""
|
|
377
377
|
return pulumi.get(self, "instance_name")
|
|
378
378
|
|
|
@@ -889,7 +889,7 @@ class _EcsLaunchTemplateState:
|
|
|
889
889
|
:param pulumi.Input[str] image_id: The Image ID.
|
|
890
890
|
:param pulumi.Input[str] image_owner_alias: Mirror source. Valid values: `system`, `self`, `others`, `marketplace`, `""`. Default to: `""`.
|
|
891
891
|
:param pulumi.Input[str] instance_charge_type: Billing methods. Valid values: `PostPaid`, `PrePaid`.
|
|
892
|
-
:param pulumi.Input[str] instance_name: The name of the instance. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
892
|
+
:param pulumi.Input[str] instance_name: The name of the instance. The name must be `2` to `128` characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), periods (.), commas (,), brackets ([]), and hyphens (-).
|
|
893
893
|
:param pulumi.Input[str] instance_type: Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
|
|
894
894
|
:param pulumi.Input[str] internet_charge_type: Internet bandwidth billing method. Valid values: `PayByTraffic`, `PayByBandwidth`.
|
|
895
895
|
:param pulumi.Input[int] internet_max_bandwidth_in: The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
|
|
@@ -1184,7 +1184,7 @@ class _EcsLaunchTemplateState:
|
|
|
1184
1184
|
@pulumi.getter(name="instanceName")
|
|
1185
1185
|
def instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
1186
1186
|
"""
|
|
1187
|
-
The name of the instance. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
1187
|
+
The name of the instance. The name must be `2` to `128` characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), periods (.), commas (,), brackets ([]), and hyphens (-).
|
|
1188
1188
|
"""
|
|
1189
1189
|
return pulumi.get(self, "instance_name")
|
|
1190
1190
|
|
|
@@ -1709,7 +1709,7 @@ class EcsLaunchTemplate(pulumi.CustomResource):
|
|
|
1709
1709
|
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
|
|
1710
1710
|
available_resource_creation="VSwitch")
|
|
1711
1711
|
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id)
|
|
1712
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
1712
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
1713
1713
|
owners="system")
|
|
1714
1714
|
default_network = alicloud.vpc.Network("default",
|
|
1715
1715
|
vpc_name="terraform-example",
|
|
@@ -1806,7 +1806,7 @@ class EcsLaunchTemplate(pulumi.CustomResource):
|
|
|
1806
1806
|
:param pulumi.Input[str] image_id: The Image ID.
|
|
1807
1807
|
:param pulumi.Input[str] image_owner_alias: Mirror source. Valid values: `system`, `self`, `others`, `marketplace`, `""`. Default to: `""`.
|
|
1808
1808
|
:param pulumi.Input[str] instance_charge_type: Billing methods. Valid values: `PostPaid`, `PrePaid`.
|
|
1809
|
-
:param pulumi.Input[str] instance_name: The name of the instance. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
1809
|
+
:param pulumi.Input[str] instance_name: The name of the instance. The name must be `2` to `128` characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), periods (.), commas (,), brackets ([]), and hyphens (-).
|
|
1810
1810
|
:param pulumi.Input[str] instance_type: Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
|
|
1811
1811
|
:param pulumi.Input[str] internet_charge_type: Internet bandwidth billing method. Valid values: `PayByTraffic`, `PayByBandwidth`.
|
|
1812
1812
|
:param pulumi.Input[int] internet_max_bandwidth_in: The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
|
|
@@ -1874,7 +1874,7 @@ class EcsLaunchTemplate(pulumi.CustomResource):
|
|
|
1874
1874
|
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
|
|
1875
1875
|
available_resource_creation="VSwitch")
|
|
1876
1876
|
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id)
|
|
1877
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
1877
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
1878
1878
|
owners="system")
|
|
1879
1879
|
default_network = alicloud.vpc.Network("default",
|
|
1880
1880
|
vpc_name="terraform-example",
|
|
@@ -2154,7 +2154,7 @@ class EcsLaunchTemplate(pulumi.CustomResource):
|
|
|
2154
2154
|
:param pulumi.Input[str] image_id: The Image ID.
|
|
2155
2155
|
:param pulumi.Input[str] image_owner_alias: Mirror source. Valid values: `system`, `self`, `others`, `marketplace`, `""`. Default to: `""`.
|
|
2156
2156
|
:param pulumi.Input[str] instance_charge_type: Billing methods. Valid values: `PostPaid`, `PrePaid`.
|
|
2157
|
-
:param pulumi.Input[str] instance_name: The name of the instance. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
2157
|
+
:param pulumi.Input[str] instance_name: The name of the instance. The name must be `2` to `128` characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), periods (.), commas (,), brackets ([]), and hyphens (-).
|
|
2158
2158
|
:param pulumi.Input[str] instance_type: Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.
|
|
2159
2159
|
:param pulumi.Input[str] internet_charge_type: Internet bandwidth billing method. Valid values: `PayByTraffic`, `PayByBandwidth`.
|
|
2160
2160
|
:param pulumi.Input[int] internet_max_bandwidth_in: The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].
|
|
@@ -2344,7 +2344,7 @@ class EcsLaunchTemplate(pulumi.CustomResource):
|
|
|
2344
2344
|
@pulumi.getter(name="instanceName")
|
|
2345
2345
|
def instance_name(self) -> pulumi.Output[Optional[str]]:
|
|
2346
2346
|
"""
|
|
2347
|
-
The name of the instance. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
2347
|
+
The name of the instance. The name must be `2` to `128` characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), periods (.), commas (,), brackets ([]), and hyphens (-).
|
|
2348
2348
|
"""
|
|
2349
2349
|
return pulumi.get(self, "instance_name")
|
|
2350
2350
|
|
|
@@ -230,7 +230,7 @@ class EcsNetworkInterfaceAttachment(pulumi.CustomResource):
|
|
|
230
230
|
name=name,
|
|
231
231
|
description="New security group",
|
|
232
232
|
vpc_id=default_network.id)
|
|
233
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
233
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
234
234
|
most_recent=True,
|
|
235
235
|
owners="system")
|
|
236
236
|
default_instance = alicloud.ecs.Instance("default",
|
|
@@ -314,7 +314,7 @@ class EcsNetworkInterfaceAttachment(pulumi.CustomResource):
|
|
|
314
314
|
name=name,
|
|
315
315
|
description="New security group",
|
|
316
316
|
vpc_id=default_network.id)
|
|
317
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
317
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
318
318
|
most_recent=True,
|
|
319
319
|
owners="system")
|
|
320
320
|
default_instance = alicloud.ecs.Instance("default",
|
|
@@ -376,9 +376,8 @@ class EipAssociation(pulumi.CustomResource):
|
|
|
376
376
|
example_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=example.zones[0].id,
|
|
377
377
|
cpu_core_count=1,
|
|
378
378
|
memory_size=2)
|
|
379
|
-
example_get_images = alicloud.ecs.get_images(name_regex="^
|
|
380
|
-
owners="system"
|
|
381
|
-
instance_type=example_get_instance_types.instance_types[0].id)
|
|
379
|
+
example_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
380
|
+
owners="system")
|
|
382
381
|
example_network = alicloud.vpc.Network("example",
|
|
383
382
|
vpc_name=name,
|
|
384
383
|
cidr_block="10.4.0.0/16")
|
|
@@ -482,9 +481,8 @@ class EipAssociation(pulumi.CustomResource):
|
|
|
482
481
|
example_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=example.zones[0].id,
|
|
483
482
|
cpu_core_count=1,
|
|
484
483
|
memory_size=2)
|
|
485
|
-
example_get_images = alicloud.ecs.get_images(name_regex="^
|
|
486
|
-
owners="system"
|
|
487
|
-
instance_type=example_get_instance_types.instance_types[0].id)
|
|
484
|
+
example_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
485
|
+
owners="system")
|
|
488
486
|
example_network = alicloud.vpc.Network("example",
|
|
489
487
|
vpc_name=name,
|
|
490
488
|
cidr_block="10.4.0.0/16")
|
|
@@ -97,17 +97,26 @@ class GetEcsNetworkInterfacesResult:
|
|
|
97
97
|
@property
|
|
98
98
|
@pulumi.getter(name="instanceId")
|
|
99
99
|
def instance_id(self) -> Optional[str]:
|
|
100
|
+
"""
|
|
101
|
+
The instance id.
|
|
102
|
+
"""
|
|
100
103
|
return pulumi.get(self, "instance_id")
|
|
101
104
|
|
|
102
105
|
@property
|
|
103
106
|
@pulumi.getter
|
|
104
107
|
def interfaces(self) -> Sequence['outputs.GetEcsNetworkInterfacesInterfaceResult']:
|
|
108
|
+
"""
|
|
109
|
+
A list of Ecs Network Interfaces. Each element contains the following attributes:
|
|
110
|
+
"""
|
|
105
111
|
return pulumi.get(self, "interfaces")
|
|
106
112
|
|
|
107
113
|
@property
|
|
108
114
|
@pulumi.getter
|
|
109
115
|
@_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead""")
|
|
110
116
|
def name(self) -> Optional[str]:
|
|
117
|
+
"""
|
|
118
|
+
The network interface name.
|
|
119
|
+
"""
|
|
111
120
|
return pulumi.get(self, "name")
|
|
112
121
|
|
|
113
122
|
@property
|
|
@@ -118,11 +127,17 @@ class GetEcsNetworkInterfacesResult:
|
|
|
118
127
|
@property
|
|
119
128
|
@pulumi.getter
|
|
120
129
|
def names(self) -> Sequence[str]:
|
|
130
|
+
"""
|
|
131
|
+
A list of Network Interface names.
|
|
132
|
+
"""
|
|
121
133
|
return pulumi.get(self, "names")
|
|
122
134
|
|
|
123
135
|
@property
|
|
124
136
|
@pulumi.getter(name="networkInterfaceName")
|
|
125
137
|
def network_interface_name(self) -> Optional[str]:
|
|
138
|
+
"""
|
|
139
|
+
The network interface name.
|
|
140
|
+
"""
|
|
126
141
|
return pulumi.get(self, "network_interface_name")
|
|
127
142
|
|
|
128
143
|
@property
|
|
@@ -133,17 +148,26 @@ class GetEcsNetworkInterfacesResult:
|
|
|
133
148
|
@property
|
|
134
149
|
@pulumi.getter(name="primaryIpAddress")
|
|
135
150
|
def primary_ip_address(self) -> Optional[str]:
|
|
151
|
+
"""
|
|
152
|
+
The primary private IP address of the ENI.
|
|
153
|
+
"""
|
|
136
154
|
return pulumi.get(self, "primary_ip_address")
|
|
137
155
|
|
|
138
156
|
@property
|
|
139
157
|
@pulumi.getter(name="privateIp")
|
|
140
158
|
@_utilities.deprecated("""Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead""")
|
|
141
159
|
def private_ip(self) -> Optional[str]:
|
|
160
|
+
"""
|
|
161
|
+
The primary private IP address of the ENI.
|
|
162
|
+
"""
|
|
142
163
|
return pulumi.get(self, "private_ip")
|
|
143
164
|
|
|
144
165
|
@property
|
|
145
166
|
@pulumi.getter(name="resourceGroupId")
|
|
146
167
|
def resource_group_id(self) -> Optional[str]:
|
|
168
|
+
"""
|
|
169
|
+
The resource group id.
|
|
170
|
+
"""
|
|
147
171
|
return pulumi.get(self, "resource_group_id")
|
|
148
172
|
|
|
149
173
|
@property
|
|
@@ -154,31 +178,49 @@ class GetEcsNetworkInterfacesResult:
|
|
|
154
178
|
@property
|
|
155
179
|
@pulumi.getter(name="serviceManaged")
|
|
156
180
|
def service_managed(self) -> Optional[bool]:
|
|
181
|
+
"""
|
|
182
|
+
Whether the user of the elastic network card is a cloud product or a virtual vendor.
|
|
183
|
+
"""
|
|
157
184
|
return pulumi.get(self, "service_managed")
|
|
158
185
|
|
|
159
186
|
@property
|
|
160
187
|
@pulumi.getter
|
|
161
188
|
def status(self) -> Optional[str]:
|
|
189
|
+
"""
|
|
190
|
+
The status of the ENI.
|
|
191
|
+
"""
|
|
162
192
|
return pulumi.get(self, "status")
|
|
163
193
|
|
|
164
194
|
@property
|
|
165
195
|
@pulumi.getter
|
|
166
196
|
def tags(self) -> Optional[Mapping[str, Any]]:
|
|
197
|
+
"""
|
|
198
|
+
The tags.
|
|
199
|
+
"""
|
|
167
200
|
return pulumi.get(self, "tags")
|
|
168
201
|
|
|
169
202
|
@property
|
|
170
203
|
@pulumi.getter
|
|
171
204
|
def type(self) -> Optional[str]:
|
|
205
|
+
"""
|
|
206
|
+
The type of the ENI.
|
|
207
|
+
"""
|
|
172
208
|
return pulumi.get(self, "type")
|
|
173
209
|
|
|
174
210
|
@property
|
|
175
211
|
@pulumi.getter(name="vpcId")
|
|
176
212
|
def vpc_id(self) -> Optional[str]:
|
|
213
|
+
"""
|
|
214
|
+
The Vpc Id.
|
|
215
|
+
"""
|
|
177
216
|
return pulumi.get(self, "vpc_id")
|
|
178
217
|
|
|
179
218
|
@property
|
|
180
219
|
@pulumi.getter(name="vswitchId")
|
|
181
220
|
def vswitch_id(self) -> Optional[str]:
|
|
221
|
+
"""
|
|
222
|
+
The vswitch id.
|
|
223
|
+
"""
|
|
182
224
|
return pulumi.get(self, "vswitch_id")
|
|
183
225
|
|
|
184
226
|
|
|
@@ -229,7 +271,7 @@ def get_ecs_network_interfaces(ids: Optional[Sequence[str]] = None,
|
|
|
229
271
|
"""
|
|
230
272
|
This data source provides the Ecs Network Interfaces of the current Alibaba Cloud user.
|
|
231
273
|
|
|
232
|
-
> **NOTE:** Available
|
|
274
|
+
> **NOTE:** Available since v1.123.1.
|
|
233
275
|
|
|
234
276
|
## Example Usage
|
|
235
277
|
|
|
@@ -239,8 +281,7 @@ def get_ecs_network_interfaces(ids: Optional[Sequence[str]] = None,
|
|
|
239
281
|
import pulumi
|
|
240
282
|
import pulumi_alicloud as alicloud
|
|
241
283
|
|
|
242
|
-
example = alicloud.ecs.get_ecs_network_interfaces(
|
|
243
|
-
name_regex="tf-testAcc")
|
|
284
|
+
example = alicloud.ecs.get_ecs_network_interfaces(name_regex="eni-ipv6")
|
|
244
285
|
pulumi.export("firstEcsNetworkInterfaceId", example.interfaces[0].id)
|
|
245
286
|
```
|
|
246
287
|
|
|
@@ -325,7 +366,7 @@ def get_ecs_network_interfaces_output(ids: Optional[pulumi.Input[Optional[Sequen
|
|
|
325
366
|
"""
|
|
326
367
|
This data source provides the Ecs Network Interfaces of the current Alibaba Cloud user.
|
|
327
368
|
|
|
328
|
-
> **NOTE:** Available
|
|
369
|
+
> **NOTE:** Available since v1.123.1.
|
|
329
370
|
|
|
330
371
|
## Example Usage
|
|
331
372
|
|
|
@@ -335,8 +376,7 @@ def get_ecs_network_interfaces_output(ids: Optional[pulumi.Input[Optional[Sequen
|
|
|
335
376
|
import pulumi
|
|
336
377
|
import pulumi_alicloud as alicloud
|
|
337
378
|
|
|
338
|
-
example = alicloud.ecs.get_ecs_network_interfaces(
|
|
339
|
-
name_regex="tf-testAcc")
|
|
379
|
+
example = alicloud.ecs.get_ecs_network_interfaces(name_regex="eni-ipv6")
|
|
340
380
|
pulumi.export("firstEcsNetworkInterfaceId", example.interfaces[0].id)
|
|
341
381
|
```
|
|
342
382
|
|
|
@@ -208,7 +208,7 @@ class GetInstancesResult:
|
|
|
208
208
|
@pulumi.getter(name="vswitchId")
|
|
209
209
|
def vswitch_id(self) -> Optional[str]:
|
|
210
210
|
"""
|
|
211
|
-
ID of the
|
|
211
|
+
ID of the vSwitch the instance belongs to.
|
|
212
212
|
"""
|
|
213
213
|
return pulumi.get(self, "vswitch_id")
|
|
214
214
|
|
|
@@ -293,7 +293,7 @@ def get_instances(availability_zone: Optional[str] = None,
|
|
|
293
293
|
})
|
|
294
294
|
```
|
|
295
295
|
:param str vpc_id: ID of the VPC linked to the instances.
|
|
296
|
-
:param str vswitch_id: ID of the
|
|
296
|
+
:param str vswitch_id: ID of the vSwitch linked to the instances.
|
|
297
297
|
"""
|
|
298
298
|
__args__ = dict()
|
|
299
299
|
__args__['availabilityZone'] = availability_zone
|
|
@@ -390,6 +390,6 @@ def get_instances_output(availability_zone: Optional[pulumi.Input[Optional[str]]
|
|
|
390
390
|
})
|
|
391
391
|
```
|
|
392
392
|
:param str vpc_id: ID of the VPC linked to the instances.
|
|
393
|
-
:param str vswitch_id: ID of the
|
|
393
|
+
:param str vswitch_id: ID of the vSwitch linked to the instances.
|
|
394
394
|
"""
|
|
395
395
|
...
|
|
@@ -204,7 +204,7 @@ class GetNetworkInterfacesResult:
|
|
|
204
204
|
@pulumi.getter(name="vswitchId")
|
|
205
205
|
def vswitch_id(self) -> Optional[str]:
|
|
206
206
|
"""
|
|
207
|
-
ID of the
|
|
207
|
+
ID of the vSwitch that the ENI is linked to.
|
|
208
208
|
"""
|
|
209
209
|
return pulumi.get(self, "vswitch_id")
|
|
210
210
|
|
|
@@ -324,7 +324,7 @@ def get_network_interfaces(ids: Optional[Sequence[str]] = None,
|
|
|
324
324
|
* `ids` - (Optional) A list of ENI IDs.
|
|
325
325
|
* `name_regex` - (Optional) A regex string to filter results by ENI name.
|
|
326
326
|
* `vpc_id` - (Optional) The VPC ID linked to ENIs.
|
|
327
|
-
* `vswitch_id` - (Optional) The
|
|
327
|
+
* `vswitch_id` - (Optional) The vSwitch ID linked to ENIs.
|
|
328
328
|
* `private_ip` - (Optional) The primary private IP address of the ENI.
|
|
329
329
|
* `security_group_id` - (Optional) The security group ID linked to ENIs.
|
|
330
330
|
* `name` - (Optional) The name of the ENIs.
|
|
@@ -342,7 +342,7 @@ def get_network_interfaces(ids: Optional[Sequence[str]] = None,
|
|
|
342
342
|
:param str status: Current status of the ENI.
|
|
343
343
|
:param Mapping[str, Any] tags: A map of tags assigned to the ENI.
|
|
344
344
|
:param str vpc_id: ID of the VPC that the ENI belongs to.
|
|
345
|
-
:param str vswitch_id: ID of the
|
|
345
|
+
:param str vswitch_id: ID of the vSwitch that the ENI is linked to.
|
|
346
346
|
"""
|
|
347
347
|
__args__ = dict()
|
|
348
348
|
__args__['ids'] = ids
|
|
@@ -475,7 +475,7 @@ def get_network_interfaces_output(ids: Optional[pulumi.Input[Optional[Sequence[s
|
|
|
475
475
|
* `ids` - (Optional) A list of ENI IDs.
|
|
476
476
|
* `name_regex` - (Optional) A regex string to filter results by ENI name.
|
|
477
477
|
* `vpc_id` - (Optional) The VPC ID linked to ENIs.
|
|
478
|
-
* `vswitch_id` - (Optional) The
|
|
478
|
+
* `vswitch_id` - (Optional) The vSwitch ID linked to ENIs.
|
|
479
479
|
* `private_ip` - (Optional) The primary private IP address of the ENI.
|
|
480
480
|
* `security_group_id` - (Optional) The security group ID linked to ENIs.
|
|
481
481
|
* `name` - (Optional) The name of the ENIs.
|
|
@@ -493,6 +493,6 @@ def get_network_interfaces_output(ids: Optional[pulumi.Input[Optional[Sequence[s
|
|
|
493
493
|
:param str status: Current status of the ENI.
|
|
494
494
|
:param Mapping[str, Any] tags: A map of tags assigned to the ENI.
|
|
495
495
|
:param str vpc_id: ID of the VPC that the ENI belongs to.
|
|
496
|
-
:param str vswitch_id: ID of the
|
|
496
|
+
:param str vswitch_id: ID of the vSwitch that the ENI is linked to.
|
|
497
497
|
"""
|
|
498
498
|
...
|
pulumi_alicloud/ecs/image.py
CHANGED
|
@@ -781,9 +781,8 @@ class Image(pulumi.CustomResource):
|
|
|
781
781
|
|
|
782
782
|
default = alicloud.get_zones(available_resource_creation="Instance")
|
|
783
783
|
default_get_instance_types = alicloud.ecs.get_instance_types(instance_type_family="ecs.sn1ne")
|
|
784
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
785
|
-
owners="system"
|
|
786
|
-
instance_type=default_get_instance_types.ids[0])
|
|
784
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
785
|
+
owners="system")
|
|
787
786
|
default_network = alicloud.vpc.Network("default",
|
|
788
787
|
vpc_name="terraform-example",
|
|
789
788
|
cidr_block="172.17.3.0/24")
|
|
@@ -899,9 +898,8 @@ class Image(pulumi.CustomResource):
|
|
|
899
898
|
|
|
900
899
|
default = alicloud.get_zones(available_resource_creation="Instance")
|
|
901
900
|
default_get_instance_types = alicloud.ecs.get_instance_types(instance_type_family="ecs.sn1ne")
|
|
902
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
903
|
-
owners="system"
|
|
904
|
-
instance_type=default_get_instance_types.ids[0])
|
|
901
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
902
|
+
owners="system")
|
|
905
903
|
default_network = alicloud.vpc.Network("default",
|
|
906
904
|
vpc_name="terraform-example",
|
|
907
905
|
cidr_block="172.17.3.0/24")
|
|
@@ -380,7 +380,7 @@ class ImageCopy(pulumi.CustomResource):
|
|
|
380
380
|
|
|
381
381
|
default = alicloud.get_zones(available_resource_creation="Instance")
|
|
382
382
|
default_get_instance_types = alicloud.ecs.get_instance_types(instance_type_family="ecs.sn1ne")
|
|
383
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
383
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
384
384
|
owners="system")
|
|
385
385
|
default_network = alicloud.vpc.Network("default",
|
|
386
386
|
vpc_name="terraform-example",
|
|
@@ -467,7 +467,7 @@ class ImageCopy(pulumi.CustomResource):
|
|
|
467
467
|
|
|
468
468
|
default = alicloud.get_zones(available_resource_creation="Instance")
|
|
469
469
|
default_get_instance_types = alicloud.ecs.get_instance_types(instance_type_family="ecs.sn1ne")
|
|
470
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
470
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
471
471
|
owners="system")
|
|
472
472
|
default_network = alicloud.vpc.Network("default",
|
|
473
473
|
vpc_name="terraform-example",
|
|
@@ -150,7 +150,7 @@ class ImageExport(pulumi.CustomResource):
|
|
|
150
150
|
|
|
151
151
|
default = alicloud.get_zones(available_resource_creation="Instance")
|
|
152
152
|
default_get_instance_types = alicloud.ecs.get_instance_types(instance_type_family="ecs.sn1ne")
|
|
153
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
153
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
154
154
|
owners="system")
|
|
155
155
|
default_network = alicloud.vpc.Network("default",
|
|
156
156
|
vpc_name="terraform-example",
|
|
@@ -217,7 +217,7 @@ class ImageExport(pulumi.CustomResource):
|
|
|
217
217
|
|
|
218
218
|
default = alicloud.get_zones(available_resource_creation="Instance")
|
|
219
219
|
default_get_instance_types = alicloud.ecs.get_instance_types(instance_type_family="ecs.sn1ne")
|
|
220
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
220
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
221
221
|
owners="system")
|
|
222
222
|
default_network = alicloud.vpc.Network("default",
|
|
223
223
|
vpc_name="terraform-example",
|
|
@@ -320,14 +320,18 @@ class ImageImport(pulumi.CustomResource):
|
|
|
320
320
|
```python
|
|
321
321
|
import pulumi
|
|
322
322
|
import pulumi_alicloud as alicloud
|
|
323
|
+
import pulumi_random as random
|
|
323
324
|
|
|
324
325
|
config = pulumi.Config()
|
|
325
326
|
name = config.get("name")
|
|
326
327
|
if name is None:
|
|
327
328
|
name = "terraform-image-import-example"
|
|
328
|
-
default =
|
|
329
|
+
default = random.index.Integer("default",
|
|
330
|
+
min=10000,
|
|
331
|
+
max=99999)
|
|
332
|
+
default_bucket = alicloud.oss.Bucket("default", bucket=f"{name}-{default['result']}")
|
|
329
333
|
default_bucket_object = alicloud.oss.BucketObject("default",
|
|
330
|
-
bucket=
|
|
334
|
+
bucket=default_bucket.id,
|
|
331
335
|
key="fc/hello.zip",
|
|
332
336
|
content=\"\"\" # -*- coding: utf-8 -*-
|
|
333
337
|
def handler(event, context):
|
|
@@ -342,7 +346,7 @@ class ImageImport(pulumi.CustomResource):
|
|
|
342
346
|
image_name=name,
|
|
343
347
|
description=name,
|
|
344
348
|
disk_device_mappings=[{
|
|
345
|
-
"oss_bucket":
|
|
349
|
+
"oss_bucket": default_bucket.id,
|
|
346
350
|
"oss_object": default_bucket_object.id,
|
|
347
351
|
"disk_image_size": 5,
|
|
348
352
|
}])
|
|
@@ -392,14 +396,18 @@ class ImageImport(pulumi.CustomResource):
|
|
|
392
396
|
```python
|
|
393
397
|
import pulumi
|
|
394
398
|
import pulumi_alicloud as alicloud
|
|
399
|
+
import pulumi_random as random
|
|
395
400
|
|
|
396
401
|
config = pulumi.Config()
|
|
397
402
|
name = config.get("name")
|
|
398
403
|
if name is None:
|
|
399
404
|
name = "terraform-image-import-example"
|
|
400
|
-
default =
|
|
405
|
+
default = random.index.Integer("default",
|
|
406
|
+
min=10000,
|
|
407
|
+
max=99999)
|
|
408
|
+
default_bucket = alicloud.oss.Bucket("default", bucket=f"{name}-{default['result']}")
|
|
401
409
|
default_bucket_object = alicloud.oss.BucketObject("default",
|
|
402
|
-
bucket=
|
|
410
|
+
bucket=default_bucket.id,
|
|
403
411
|
key="fc/hello.zip",
|
|
404
412
|
content=\"\"\" # -*- coding: utf-8 -*-
|
|
405
413
|
def handler(event, context):
|
|
@@ -414,7 +422,7 @@ class ImageImport(pulumi.CustomResource):
|
|
|
414
422
|
image_name=name,
|
|
415
423
|
description=name,
|
|
416
424
|
disk_device_mappings=[{
|
|
417
|
-
"oss_bucket":
|
|
425
|
+
"oss_bucket": default_bucket.id,
|
|
418
426
|
"oss_object": default_bucket_object.id,
|
|
419
427
|
"disk_image_size": 5,
|
|
420
428
|
}])
|
|
@@ -117,7 +117,7 @@ class ImageSharePermission(pulumi.CustomResource):
|
|
|
117
117
|
|
|
118
118
|
default = alicloud.get_zones(available_resource_creation="Instance")
|
|
119
119
|
default_get_instance_types = alicloud.ecs.get_instance_types(instance_type_family="ecs.sn1ne")
|
|
120
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
120
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
121
121
|
owners="system")
|
|
122
122
|
default_network = alicloud.vpc.Network("default",
|
|
123
123
|
vpc_name="terraform-example",
|
|
@@ -199,7 +199,7 @@ class ImageSharePermission(pulumi.CustomResource):
|
|
|
199
199
|
|
|
200
200
|
default = alicloud.get_zones(available_resource_creation="Instance")
|
|
201
201
|
default_get_instance_types = alicloud.ecs.get_instance_types(instance_type_family="ecs.sn1ne")
|
|
202
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
202
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
203
203
|
owners="system")
|
|
204
204
|
default_network = alicloud.vpc.Network("default",
|
|
205
205
|
vpc_name="terraform-example",
|
pulumi_alicloud/ecs/instance.py
CHANGED
|
@@ -183,7 +183,7 @@ class InstanceArgs:
|
|
|
183
183
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
184
184
|
:param pulumi.Input[str] role_name: Instance RAM role name. The name is provided and maintained by RAM. You can use `ram.Role` to create a new one.
|
|
185
185
|
:param pulumi.Input[int] secondary_private_ip_address_count: The number of private IP addresses to be automatically assigned from within the CIDR block of the vswitch. **NOTE:** To assign secondary private IP addresses, you must specify `secondary_private_ips` or `secondary_private_ip_address_count` but not both.
|
|
186
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_private_ips: A list of Secondary private IP addresses which is selected from within the CIDR block of the
|
|
186
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_private_ips: A list of Secondary private IP addresses which is selected from within the CIDR block of the vSwitch.
|
|
187
187
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
188
188
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
189
189
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -1034,7 +1034,7 @@ class InstanceArgs:
|
|
|
1034
1034
|
@pulumi.getter(name="secondaryPrivateIps")
|
|
1035
1035
|
def secondary_private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1036
1036
|
"""
|
|
1037
|
-
A list of Secondary private IP addresses which is selected from within the CIDR block of the
|
|
1037
|
+
A list of Secondary private IP addresses which is selected from within the CIDR block of the vSwitch.
|
|
1038
1038
|
"""
|
|
1039
1039
|
return pulumi.get(self, "secondary_private_ips")
|
|
1040
1040
|
|
|
@@ -1510,7 +1510,7 @@ class _InstanceState:
|
|
|
1510
1510
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
1511
1511
|
:param pulumi.Input[str] role_name: Instance RAM role name. The name is provided and maintained by RAM. You can use `ram.Role` to create a new one.
|
|
1512
1512
|
:param pulumi.Input[int] secondary_private_ip_address_count: The number of private IP addresses to be automatically assigned from within the CIDR block of the vswitch. **NOTE:** To assign secondary private IP addresses, you must specify `secondary_private_ips` or `secondary_private_ip_address_count` but not both.
|
|
1513
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_private_ips: A list of Secondary private IP addresses which is selected from within the CIDR block of the
|
|
1513
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_private_ips: A list of Secondary private IP addresses which is selected from within the CIDR block of the vSwitch.
|
|
1514
1514
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
1515
1515
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
1516
1516
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -2476,7 +2476,7 @@ class _InstanceState:
|
|
|
2476
2476
|
@pulumi.getter(name="secondaryPrivateIps")
|
|
2477
2477
|
def secondary_private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2478
2478
|
"""
|
|
2479
|
-
A list of Secondary private IP addresses which is selected from within the CIDR block of the
|
|
2479
|
+
A list of Secondary private IP addresses which is selected from within the CIDR block of the vSwitch.
|
|
2480
2480
|
"""
|
|
2481
2481
|
return pulumi.get(self, "secondary_private_ips")
|
|
2482
2482
|
|
|
@@ -3028,7 +3028,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3028
3028
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
3029
3029
|
:param pulumi.Input[str] role_name: Instance RAM role name. The name is provided and maintained by RAM. You can use `ram.Role` to create a new one.
|
|
3030
3030
|
:param pulumi.Input[int] secondary_private_ip_address_count: The number of private IP addresses to be automatically assigned from within the CIDR block of the vswitch. **NOTE:** To assign secondary private IP addresses, you must specify `secondary_private_ips` or `secondary_private_ip_address_count` but not both.
|
|
3031
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_private_ips: A list of Secondary private IP addresses which is selected from within the CIDR block of the
|
|
3031
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_private_ips: A list of Secondary private IP addresses which is selected from within the CIDR block of the vSwitch.
|
|
3032
3032
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
3033
3033
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
3034
3034
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -3534,7 +3534,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3534
3534
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
3535
3535
|
:param pulumi.Input[str] role_name: Instance RAM role name. The name is provided and maintained by RAM. You can use `ram.Role` to create a new one.
|
|
3536
3536
|
:param pulumi.Input[int] secondary_private_ip_address_count: The number of private IP addresses to be automatically assigned from within the CIDR block of the vswitch. **NOTE:** To assign secondary private IP addresses, you must specify `secondary_private_ips` or `secondary_private_ip_address_count` but not both.
|
|
3537
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_private_ips: A list of Secondary private IP addresses which is selected from within the CIDR block of the
|
|
3537
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_private_ips: A list of Secondary private IP addresses which is selected from within the CIDR block of the vSwitch.
|
|
3538
3538
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
3539
3539
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
3540
3540
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -4180,7 +4180,7 @@ class Instance(pulumi.CustomResource):
|
|
|
4180
4180
|
@pulumi.getter(name="secondaryPrivateIps")
|
|
4181
4181
|
def secondary_private_ips(self) -> pulumi.Output[Sequence[str]]:
|
|
4182
4182
|
"""
|
|
4183
|
-
A list of Secondary private IP addresses which is selected from within the CIDR block of the
|
|
4183
|
+
A list of Secondary private IP addresses which is selected from within the CIDR block of the vSwitch.
|
|
4184
4184
|
"""
|
|
4185
4185
|
return pulumi.get(self, "secondary_private_ips")
|
|
4186
4186
|
|