pulumi-alicloud 3.53.0a1713354491__py3-none-any.whl → 3.73.0a1736832142__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 +949 -26
- pulumi_alicloud/_inputs.py +1162 -86
- pulumi_alicloud/_utilities.py +41 -5
- pulumi_alicloud/ackone/_inputs.py +25 -0
- pulumi_alicloud/ackone/cluster.py +22 -21
- pulumi_alicloud/ackone/outputs.py +5 -0
- pulumi_alicloud/actiontrail/get_consumer_groups.py +26 -13
- pulumi_alicloud/actiontrail/get_global_events_storage_region.py +12 -9
- pulumi_alicloud/actiontrail/get_history_delivery_jobs.py +20 -9
- pulumi_alicloud/actiontrail/get_instances.py +33 -19
- pulumi_alicloud/actiontrail/get_sasl_acls.py +30 -17
- pulumi_alicloud/actiontrail/get_sasl_users.py +19 -9
- pulumi_alicloud/actiontrail/get_topics.py +28 -9
- pulumi_alicloud/actiontrail/get_trails.py +27 -12
- pulumi_alicloud/actiontrail/get_trails_deprecated.py +27 -8
- pulumi_alicloud/actiontrail/global_events_storage_region.py +5 -4
- pulumi_alicloud/actiontrail/history_delivery_job.py +23 -22
- pulumi_alicloud/actiontrail/outputs.py +14 -9
- pulumi_alicloud/actiontrail/trail.py +32 -49
- pulumi_alicloud/actiontrail/trail_deprecated.py +20 -35
- pulumi_alicloud/adb/_inputs.py +43 -0
- pulumi_alicloud/adb/account.py +31 -30
- pulumi_alicloud/adb/backup_policy.py +5 -0
- pulumi_alicloud/adb/cluster.py +137 -46
- pulumi_alicloud/adb/connection.py +17 -16
- pulumi_alicloud/adb/db_cluster.py +187 -32
- pulumi_alicloud/adb/db_cluster_lake_version.py +21 -20
- pulumi_alicloud/adb/get_clusters.py +39 -14
- pulumi_alicloud/adb/get_db_cluster_lake_versions.py +67 -15
- pulumi_alicloud/adb/get_db_clusters.py +39 -14
- pulumi_alicloud/adb/get_resource_groups.py +20 -9
- pulumi_alicloud/adb/get_zones.py +19 -9
- pulumi_alicloud/adb/lake_account.py +74 -73
- pulumi_alicloud/adb/outputs.py +117 -8
- pulumi_alicloud/adb/resource_group.py +122 -97
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +908 -94
- pulumi_alicloud/alb/a_script.py +10 -5
- pulumi_alicloud/alb/acl.py +55 -61
- pulumi_alicloud/alb/acl_entry_attachment.py +13 -12
- pulumi_alicloud/alb/get_acls.py +31 -11
- pulumi_alicloud/alb/get_ascripts.py +31 -15
- pulumi_alicloud/alb/get_health_check_templates.py +23 -9
- pulumi_alicloud/alb/get_listeners.py +28 -11
- pulumi_alicloud/alb/get_load_balancers.py +59 -27
- pulumi_alicloud/alb/get_rules.py +27 -5
- pulumi_alicloud/alb/get_security_policies.py +36 -16
- pulumi_alicloud/alb/get_server_groups.py +38 -14
- pulumi_alicloud/alb/get_system_security_policies.py +21 -12
- pulumi_alicloud/alb/get_zones.py +15 -9
- pulumi_alicloud/alb/health_check_template.py +101 -92
- pulumi_alicloud/alb/listener.py +52 -53
- pulumi_alicloud/alb/listener_acl_attachment.py +5 -0
- pulumi_alicloud/alb/listener_additional_certificate_attachment.py +5 -0
- pulumi_alicloud/alb/load_balancer.py +144 -153
- pulumi_alicloud/alb/load_balancer_common_bandwidth_package_attachment.py +5 -0
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +332 -0
- pulumi_alicloud/alb/outputs.py +84 -109
- pulumi_alicloud/alb/rule.py +29 -10
- pulumi_alicloud/alb/security_policy.py +25 -24
- pulumi_alicloud/alb/server_group.py +139 -115
- pulumi_alicloud/aligreen/__init__.py +13 -0
- pulumi_alicloud/aligreen/audit_callback.py +427 -0
- pulumi_alicloud/aligreen/biz_type.py +403 -0
- pulumi_alicloud/aligreen/callback.py +454 -0
- pulumi_alicloud/aligreen/image_lib.py +411 -0
- pulumi_alicloud/aligreen/keyword_lib.py +620 -0
- pulumi_alicloud/aligreen/oss_stock_task.py +1666 -0
- pulumi_alicloud/alikafka/consumer_group.py +37 -34
- pulumi_alicloud/alikafka/instance.py +209 -44
- pulumi_alicloud/alikafka/instance_allowed_ip_attachment.py +23 -20
- pulumi_alicloud/alikafka/sasl_acl.py +27 -24
- pulumi_alicloud/alikafka/sasl_user.py +37 -34
- pulumi_alicloud/alikafka/topic.py +37 -34
- pulumi_alicloud/amqp/binding.py +88 -94
- pulumi_alicloud/amqp/exchange.py +15 -14
- pulumi_alicloud/amqp/get_bindings.py +19 -9
- pulumi_alicloud/amqp/get_exchanges.py +23 -9
- pulumi_alicloud/amqp/get_instances.py +25 -11
- pulumi_alicloud/amqp/get_queues.py +23 -9
- pulumi_alicloud/amqp/get_static_accounts.py +18 -9
- pulumi_alicloud/amqp/get_virtual_hosts.py +21 -9
- pulumi_alicloud/amqp/instance.py +13 -8
- pulumi_alicloud/amqp/outputs.py +11 -6
- pulumi_alicloud/amqp/queue.py +17 -16
- pulumi_alicloud/amqp/static_account.py +23 -22
- pulumi_alicloud/amqp/virtual_host.py +11 -10
- pulumi_alicloud/apig/__init__.py +12 -0
- pulumi_alicloud/apig/_inputs.py +263 -0
- pulumi_alicloud/apig/environment.py +317 -0
- pulumi_alicloud/apig/gateway.py +645 -0
- pulumi_alicloud/apig/http_api.py +465 -0
- pulumi_alicloud/apig/outputs.py +213 -0
- pulumi_alicloud/apigateway/__init__.py +3 -0
- pulumi_alicloud/apigateway/_inputs.py +566 -2
- pulumi_alicloud/apigateway/access_control_list.py +335 -0
- pulumi_alicloud/apigateway/acl_entry_attachment.py +308 -0
- pulumi_alicloud/apigateway/api.py +101 -92
- pulumi_alicloud/apigateway/app.py +25 -20
- pulumi_alicloud/apigateway/app_attachment.py +69 -58
- pulumi_alicloud/apigateway/backend.py +5 -4
- pulumi_alicloud/apigateway/get_apis.py +119 -32
- pulumi_alicloud/apigateway/get_apps.py +26 -14
- pulumi_alicloud/apigateway/get_backends.py +23 -9
- pulumi_alicloud/apigateway/get_groups.py +19 -9
- pulumi_alicloud/apigateway/get_log_configs.py +20 -11
- pulumi_alicloud/apigateway/get_models.py +27 -9
- pulumi_alicloud/apigateway/get_plugins.py +38 -18
- pulumi_alicloud/apigateway/get_service.py +14 -9
- pulumi_alicloud/apigateway/group.py +67 -14
- pulumi_alicloud/apigateway/instance.py +401 -67
- pulumi_alicloud/apigateway/instance_acl_attachment.py +331 -0
- pulumi_alicloud/apigateway/log_config.py +21 -20
- pulumi_alicloud/apigateway/model.py +15 -10
- pulumi_alicloud/apigateway/outputs.py +303 -19
- pulumi_alicloud/apigateway/plugin.py +240 -87
- pulumi_alicloud/apigateway/plugin_attachment.py +65 -58
- pulumi_alicloud/apigateway/vpc_access.py +33 -28
- pulumi_alicloud/arms/__init__.py +2 -0
- pulumi_alicloud/arms/_inputs.py +903 -23
- pulumi_alicloud/arms/addon_release.py +5 -0
- pulumi_alicloud/arms/alert_contact.py +5 -4
- pulumi_alicloud/arms/alert_contact_group.py +11 -10
- pulumi_alicloud/arms/alert_robot.py +421 -0
- pulumi_alicloud/arms/dispatch_rule.py +160 -86
- pulumi_alicloud/arms/env_custom_job.py +11 -10
- pulumi_alicloud/arms/env_feature.py +5 -0
- pulumi_alicloud/arms/env_pod_monitor.py +5 -0
- pulumi_alicloud/arms/env_service_monitor.py +5 -0
- pulumi_alicloud/arms/environment.py +26 -21
- pulumi_alicloud/arms/get_alert_contact_groups.py +25 -9
- pulumi_alicloud/arms/get_alert_contacts.py +25 -9
- pulumi_alicloud/arms/get_alert_robots.py +230 -0
- pulumi_alicloud/arms/get_dispatch_rules.py +124 -17
- pulumi_alicloud/arms/get_integration_exporters.py +20 -9
- pulumi_alicloud/arms/get_prometheis.py +50 -34
- pulumi_alicloud/arms/get_prometheus.py +48 -32
- pulumi_alicloud/arms/get_prometheus_alert_rules.py +27 -9
- pulumi_alicloud/arms/get_prometheus_monitorings.py +25 -9
- pulumi_alicloud/arms/get_remote_writes.py +27 -11
- pulumi_alicloud/arms/grafana_workspace.py +25 -24
- pulumi_alicloud/arms/integration_exporter.py +27 -22
- pulumi_alicloud/arms/outputs.py +437 -48
- pulumi_alicloud/arms/prometheus.py +39 -34
- pulumi_alicloud/arms/prometheus_alert_rule.py +73 -10
- pulumi_alicloud/arms/prometheus_monitoring.py +5 -0
- pulumi_alicloud/arms/remote_write.py +31 -22
- pulumi_alicloud/arms/synthetic_task.py +328 -327
- pulumi_alicloud/bastionhost/_inputs.py +115 -0
- pulumi_alicloud/bastionhost/get_host_accounts.py +27 -9
- pulumi_alicloud/bastionhost/get_host_groups.py +23 -9
- pulumi_alicloud/bastionhost/get_host_share_keys.py +23 -9
- pulumi_alicloud/bastionhost/get_hosts.py +35 -9
- pulumi_alicloud/bastionhost/get_instances.py +30 -22
- pulumi_alicloud/bastionhost/get_user_groups.py +23 -9
- pulumi_alicloud/bastionhost/get_users.py +37 -13
- pulumi_alicloud/bastionhost/host.py +51 -29
- pulumi_alicloud/bastionhost/host_account.py +25 -24
- pulumi_alicloud/bastionhost/host_account_share_key_attachment.py +29 -28
- pulumi_alicloud/bastionhost/host_account_user_attachment.py +29 -28
- pulumi_alicloud/bastionhost/host_account_user_group_attachment.py +29 -28
- pulumi_alicloud/bastionhost/host_attachment.py +27 -26
- pulumi_alicloud/bastionhost/host_group.py +23 -22
- pulumi_alicloud/bastionhost/host_group_account_user_attachment.py +31 -30
- pulumi_alicloud/bastionhost/host_group_account_user_group_attachment.py +31 -30
- pulumi_alicloud/bastionhost/host_share_key.py +91 -0
- pulumi_alicloud/bastionhost/instance.py +43 -24
- pulumi_alicloud/bastionhost/outputs.py +8 -7
- pulumi_alicloud/bastionhost/user.py +31 -28
- pulumi_alicloud/bastionhost/user_attachment.py +27 -26
- pulumi_alicloud/bastionhost/user_group.py +23 -22
- pulumi_alicloud/bp/_inputs.py +25 -0
- pulumi_alicloud/bp/get_studio_applications.py +29 -9
- pulumi_alicloud/bp/outputs.py +5 -0
- pulumi_alicloud/bp/studio_application.py +56 -55
- pulumi_alicloud/brain/get_industrial_pid_loops.py +45 -11
- pulumi_alicloud/brain/get_industrial_pid_organizations.py +33 -11
- pulumi_alicloud/brain/get_industrial_pid_projects.py +41 -11
- pulumi_alicloud/brain/get_industrial_serice.py +20 -11
- pulumi_alicloud/brain/industrial_pid_loop.py +11 -6
- pulumi_alicloud/brain/industrial_pid_organization.py +11 -6
- pulumi_alicloud/brain/industrial_pid_project.py +11 -6
- pulumi_alicloud/brain/outputs.py +5 -0
- pulumi_alicloud/bss/get_open_api_pricing_modules.py +29 -13
- pulumi_alicloud/bss/get_open_api_products.py +23 -9
- pulumi_alicloud/bss/outputs.py +5 -0
- pulumi_alicloud/cas/certificate.py +149 -36
- pulumi_alicloud/cas/get_certificates.py +40 -32
- pulumi_alicloud/cas/get_service_certificates.py +176 -26
- pulumi_alicloud/cas/outputs.py +45 -40
- pulumi_alicloud/cas/service_certificate.py +25 -55
- pulumi_alicloud/cassandra/backup_plan.py +5 -0
- pulumi_alicloud/cassandra/cluster.py +33 -32
- pulumi_alicloud/cassandra/data_center.py +11 -10
- pulumi_alicloud/cassandra/get_backup_plans.py +17 -9
- pulumi_alicloud/cassandra/get_clusters.py +26 -14
- pulumi_alicloud/cassandra/get_data_centers.py +25 -13
- pulumi_alicloud/cassandra/get_zones.py +19 -11
- pulumi_alicloud/cassandra/outputs.py +8 -3
- pulumi_alicloud/cddc/_inputs.py +53 -0
- pulumi_alicloud/cddc/dedicated_host.py +19 -14
- pulumi_alicloud/cddc/dedicated_host_account.py +31 -26
- pulumi_alicloud/cddc/dedicated_host_group.py +15 -10
- pulumi_alicloud/cddc/dedicated_propre_host.py +24 -19
- pulumi_alicloud/cddc/get_dedicated_host_accounts.py +27 -11
- pulumi_alicloud/cddc/get_dedicated_host_groups.py +23 -11
- pulumi_alicloud/cddc/get_dedicated_hosts.py +49 -24
- pulumi_alicloud/cddc/get_host_ecs_level_infos.py +22 -5
- pulumi_alicloud/cddc/get_zones.py +15 -9
- pulumi_alicloud/cddc/outputs.py +8 -3
- pulumi_alicloud/cdn/_inputs.py +154 -18
- pulumi_alicloud/cdn/domain.py +71 -156
- pulumi_alicloud/cdn/domain_config.py +36 -35
- pulumi_alicloud/cdn/domain_new.py +142 -99
- pulumi_alicloud/cdn/fc_trigger.py +15 -14
- pulumi_alicloud/cdn/get_blocked_regions.py +14 -9
- pulumi_alicloud/cdn/get_ip_info.py +18 -9
- pulumi_alicloud/cdn/get_real_time_log_deliveries.py +18 -11
- pulumi_alicloud/cdn/get_service.py +19 -9
- pulumi_alicloud/cdn/outputs.py +7 -16
- pulumi_alicloud/cdn/real_time_log_delivery.py +136 -84
- pulumi_alicloud/cen/__init__.py +1 -0
- pulumi_alicloud/cen/_inputs.py +261 -14
- pulumi_alicloud/cen/bandwidth_limit.py +23 -30
- pulumi_alicloud/cen/bandwidth_package.py +14 -27
- pulumi_alicloud/cen/bandwidth_package_attachment.py +13 -12
- pulumi_alicloud/cen/child_instance_route_entry_to_attachment.py +45 -44
- pulumi_alicloud/cen/flow_log.py +394 -72
- pulumi_alicloud/cen/get_bandwidth_limits.py +16 -9
- pulumi_alicloud/cen/get_bandwidth_packages.py +25 -9
- pulumi_alicloud/cen/get_child_instance_route_entry_to_attachments.py +24 -9
- pulumi_alicloud/cen/get_flowlogs.py +278 -43
- pulumi_alicloud/cen/get_instance_attachments.py +23 -9
- pulumi_alicloud/cen/get_instances.py +28 -14
- pulumi_alicloud/cen/get_inter_region_traffic_qos_policies.py +31 -9
- pulumi_alicloud/cen/get_inter_region_traffic_qos_queues.py +25 -13
- pulumi_alicloud/cen/get_private_zones.py +22 -9
- pulumi_alicloud/cen/get_region_route_entries.py +18 -9
- pulumi_alicloud/cen/get_route_entries.py +20 -9
- pulumi_alicloud/cen/get_route_maps.py +26 -9
- pulumi_alicloud/cen/get_route_services.py +27 -9
- pulumi_alicloud/cen/get_traffic_marking_policies.py +27 -13
- pulumi_alicloud/cen/get_transit_route_table_aggregations.py +25 -9
- pulumi_alicloud/cen/get_transit_router_available_resources.py +48 -20
- pulumi_alicloud/cen/get_transit_router_cidrs.py +23 -9
- pulumi_alicloud/cen/get_transit_router_multicast_domain_associations.py +28 -9
- pulumi_alicloud/cen/get_transit_router_multicast_domain_members.py +20 -9
- pulumi_alicloud/cen/get_transit_router_multicast_domain_peer_members.py +26 -9
- pulumi_alicloud/cen/get_transit_router_multicast_domain_sources.py +18 -9
- pulumi_alicloud/cen/get_transit_router_multicast_domains.py +25 -9
- pulumi_alicloud/cen/get_transit_router_peer_attachments.py +27 -5
- pulumi_alicloud/cen/get_transit_router_prefix_list_associations.py +32 -11
- pulumi_alicloud/cen/get_transit_router_route_entries.py +29 -5
- pulumi_alicloud/cen/get_transit_router_route_table_associations.py +34 -9
- pulumi_alicloud/cen/get_transit_router_route_table_propagations.py +20 -9
- pulumi_alicloud/cen/get_transit_router_route_tables.py +112 -19
- pulumi_alicloud/cen/get_transit_router_service.py +16 -11
- pulumi_alicloud/cen/get_transit_router_vbr_attachments.py +22 -5
- pulumi_alicloud/cen/get_transit_router_vpc_attachments.py +200 -23
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +27 -11
- pulumi_alicloud/cen/get_transit_routers.py +27 -9
- pulumi_alicloud/cen/get_vbr_health_checks.py +23 -5
- pulumi_alicloud/cen/instance.py +127 -77
- pulumi_alicloud/cen/instance_attachment.py +13 -12
- pulumi_alicloud/cen/instance_grant.py +23 -70
- pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +37 -54
- pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +37 -52
- pulumi_alicloud/cen/outputs.py +377 -57
- pulumi_alicloud/cen/private_zone.py +86 -81
- pulumi_alicloud/cen/route_entry.py +41 -36
- pulumi_alicloud/cen/route_map.py +27 -34
- pulumi_alicloud/cen/route_service.py +17 -16
- pulumi_alicloud/cen/traffic_marking_policy.py +129 -65
- pulumi_alicloud/cen/transit_route_table_aggregation.py +15 -14
- pulumi_alicloud/cen/transit_router.py +25 -24
- pulumi_alicloud/cen/transit_router_cidr.py +13 -12
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +589 -0
- pulumi_alicloud/cen/transit_router_grant_attachment.py +13 -12
- pulumi_alicloud/cen/transit_router_multicast_domain.py +27 -26
- pulumi_alicloud/cen/transit_router_multicast_domain_association.py +31 -30
- pulumi_alicloud/cen/transit_router_multicast_domain_member.py +5 -0
- pulumi_alicloud/cen/transit_router_multicast_domain_peer_member.py +39 -54
- pulumi_alicloud/cen/transit_router_multicast_domain_source.py +5 -0
- pulumi_alicloud/cen/transit_router_peer_attachment.py +162 -70
- pulumi_alicloud/cen/transit_router_prefix_list_association.py +49 -20
- pulumi_alicloud/cen/transit_router_route_entry.py +25 -24
- pulumi_alicloud/cen/transit_router_route_table.py +27 -26
- pulumi_alicloud/cen/transit_router_route_table_association.py +89 -84
- pulumi_alicloud/cen/transit_router_route_table_propagation.py +43 -42
- pulumi_alicloud/cen/transit_router_vbr_attachment.py +123 -100
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +396 -188
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +108 -105
- pulumi_alicloud/cen/vbr_health_check.py +30 -29
- pulumi_alicloud/cfg/_inputs.py +115 -0
- pulumi_alicloud/cfg/aggregate_compliance_pack.py +42 -47
- pulumi_alicloud/cfg/aggregate_config_rule.py +35 -34
- pulumi_alicloud/cfg/aggregate_delivery.py +260 -118
- pulumi_alicloud/cfg/aggregator.py +38 -23
- pulumi_alicloud/cfg/compliance_pack.py +38 -43
- pulumi_alicloud/cfg/configuration_recorder.py +5 -4
- pulumi_alicloud/cfg/delivery.py +280 -130
- pulumi_alicloud/cfg/delivery_channel.py +5 -0
- pulumi_alicloud/cfg/get_aggregate_compliance_packs.py +27 -11
- pulumi_alicloud/cfg/get_aggregate_config_rules.py +33 -13
- pulumi_alicloud/cfg/get_aggregate_deliveries.py +39 -11
- pulumi_alicloud/cfg/get_aggregators.py +25 -11
- pulumi_alicloud/cfg/get_compliance_packs.py +25 -11
- pulumi_alicloud/cfg/get_configuration_recorders.py +18 -17
- pulumi_alicloud/cfg/get_deliveries.py +32 -11
- pulumi_alicloud/cfg/get_delivery_channels.py +21 -13
- pulumi_alicloud/cfg/get_rules.py +33 -19
- pulumi_alicloud/cfg/outputs.py +39 -26
- pulumi_alicloud/cfg/remediation.py +33 -20
- pulumi_alicloud/cfg/rule.py +40 -57
- pulumi_alicloud/chatbot/get_agents.py +24 -9
- pulumi_alicloud/chatbot/outputs.py +5 -0
- pulumi_alicloud/chatbot/publish_task.py +11 -10
- pulumi_alicloud/clickhouse/_inputs.py +78 -0
- pulumi_alicloud/clickhouse/account.py +81 -35
- pulumi_alicloud/clickhouse/backup_policy.py +17 -16
- pulumi_alicloud/clickhouse/db_cluster.py +145 -37
- pulumi_alicloud/clickhouse/get_accounts.py +85 -31
- pulumi_alicloud/clickhouse/get_backup_policies.py +16 -9
- pulumi_alicloud/clickhouse/get_db_clusters.py +30 -17
- pulumi_alicloud/clickhouse/get_regions.py +22 -13
- pulumi_alicloud/clickhouse/outputs.py +57 -2
- pulumi_alicloud/cloudauth/face_config.py +5 -0
- pulumi_alicloud/cloudauth/get_face_configs.py +25 -15
- pulumi_alicloud/cloudauth/outputs.py +5 -0
- pulumi_alicloud/cloudconnect/get_networks.py +27 -15
- pulumi_alicloud/cloudconnect/network.py +7 -4
- pulumi_alicloud/cloudconnect/network_attachment.py +13 -10
- pulumi_alicloud/cloudconnect/network_grant.py +25 -42
- pulumi_alicloud/cloudconnect/outputs.py +5 -0
- pulumi_alicloud/cloudfirewall/__init__.py +3 -0
- pulumi_alicloud/cloudfirewall/_inputs.py +351 -0
- pulumi_alicloud/cloudfirewall/address_book.py +22 -21
- pulumi_alicloud/cloudfirewall/control_policy.py +646 -136
- pulumi_alicloud/cloudfirewall/control_policy_order.py +65 -48
- pulumi_alicloud/cloudfirewall/firewall_vpc_firewall.py +59 -58
- pulumi_alicloud/cloudfirewall/firewall_vpc_firewall_cen.py +22 -21
- pulumi_alicloud/cloudfirewall/firewall_vpc_firewall_control_policy.py +13 -12
- pulumi_alicloud/cloudfirewall/get_address_books.py +21 -9
- pulumi_alicloud/cloudfirewall/get_control_policies.py +33 -9
- pulumi_alicloud/cloudfirewall/get_instance_members.py +26 -13
- pulumi_alicloud/cloudfirewall/get_instances.py +36 -14
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_cens.py +38 -13
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +84 -15
- pulumi_alicloud/cloudfirewall/get_vpc_firewalls.py +35 -11
- pulumi_alicloud/cloudfirewall/instance.py +200 -131
- pulumi_alicloud/cloudfirewall/instance_member.py +49 -0
- pulumi_alicloud/cloudfirewall/nat_firewall.py +816 -0
- pulumi_alicloud/cloudfirewall/nat_firewall_control_policy.py +1594 -0
- pulumi_alicloud/cloudfirewall/outputs.py +96 -4
- pulumi_alicloud/cloudfirewall/vpc_cen_tr_firewall.py +934 -0
- pulumi_alicloud/cloudmonitor/_inputs.py +89 -0
- pulumi_alicloud/cloudmonitor/get_service_hybrid_double_writes.py +34 -19
- pulumi_alicloud/cloudmonitor/outputs.py +5 -0
- pulumi_alicloud/cloudmonitor/service_basic_public.py +5 -4
- pulumi_alicloud/cloudmonitor/service_enterprise_public.py +5 -4
- pulumi_alicloud/cloudmonitor/service_group_monitoring_agent_process.py +65 -64
- pulumi_alicloud/cloudmonitor/service_hybrid_double_write.py +15 -14
- pulumi_alicloud/cloudmonitor/service_monitoring_agent_process.py +33 -28
- pulumi_alicloud/cloudsso/_inputs.py +45 -6
- pulumi_alicloud/cloudsso/access_configuration.py +110 -39
- pulumi_alicloud/cloudsso/access_configuration_provisioning.py +5 -0
- pulumi_alicloud/cloudsso/access_management.py +5 -0
- pulumi_alicloud/cloudsso/directory.py +46 -5
- pulumi_alicloud/cloudsso/get_access_assignments.py +30 -13
- pulumi_alicloud/cloudsso/get_access_configurations.py +23 -9
- pulumi_alicloud/cloudsso/get_directories.py +21 -9
- pulumi_alicloud/cloudsso/get_groups.py +25 -11
- pulumi_alicloud/cloudsso/get_scim_server_credentials.py +20 -9
- pulumi_alicloud/cloudsso/get_service.py +14 -9
- pulumi_alicloud/cloudsso/get_users.py +31 -13
- pulumi_alicloud/cloudsso/group.py +5 -0
- pulumi_alicloud/cloudsso/outputs.py +13 -8
- pulumi_alicloud/cloudsso/scim_server_credential.py +5 -0
- pulumi_alicloud/cloudsso/user.py +5 -0
- pulumi_alicloud/cloudsso/user_attachment.py +5 -0
- pulumi_alicloud/cloudstoragegateway/express_sync.py +5 -0
- pulumi_alicloud/cloudstoragegateway/express_sync_share_attachment.py +5 -0
- pulumi_alicloud/cloudstoragegateway/gateway.py +173 -92
- pulumi_alicloud/cloudstoragegateway/gateway_block_volume.py +5 -0
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +79 -27
- pulumi_alicloud/cloudstoragegateway/gateway_file_share.py +5 -0
- pulumi_alicloud/cloudstoragegateway/gateway_logging.py +5 -0
- pulumi_alicloud/cloudstoragegateway/gateway_smb_user.py +5 -0
- pulumi_alicloud/cloudstoragegateway/get_express_syncs.py +19 -9
- pulumi_alicloud/cloudstoragegateway/get_gateway_block_volumes.py +25 -11
- pulumi_alicloud/cloudstoragegateway/get_gateway_cache_disks.py +22 -11
- pulumi_alicloud/cloudstoragegateway/get_gateway_file_shares.py +21 -9
- pulumi_alicloud/cloudstoragegateway/get_gateway_smb_users.py +30 -19
- pulumi_alicloud/cloudstoragegateway/get_gateways.py +28 -9
- pulumi_alicloud/cloudstoragegateway/get_service.py +14 -9
- pulumi_alicloud/cloudstoragegateway/get_stocks.py +16 -9
- pulumi_alicloud/cloudstoragegateway/get_storage_bundles.py +26 -5
- pulumi_alicloud/cloudstoragegateway/outputs.py +5 -0
- pulumi_alicloud/cloudstoragegateway/storage_bundle.py +5 -4
- pulumi_alicloud/cms/__init__.py +1 -0
- pulumi_alicloud/cms/_inputs.py +1037 -68
- pulumi_alicloud/cms/alarm.py +176 -140
- pulumi_alicloud/cms/alarm_contact.py +5 -4
- pulumi_alicloud/cms/alarm_contact_group.py +5 -4
- pulumi_alicloud/cms/dynamic_tag_group.py +71 -68
- pulumi_alicloud/cms/event_rule.py +54 -53
- pulumi_alicloud/cms/get_alarm_contact_groups.py +19 -9
- pulumi_alicloud/cms/get_alarm_contacts.py +25 -11
- pulumi_alicloud/cms/get_dynamic_tag_groups.py +34 -23
- pulumi_alicloud/cms/get_event_rules.py +29 -11
- pulumi_alicloud/cms/get_group_metric_rules.py +37 -13
- pulumi_alicloud/cms/get_hybrid_monitor_datas.py +24 -9
- pulumi_alicloud/cms/get_hybrid_monitor_fc_tasks.py +24 -11
- pulumi_alicloud/cms/get_hybrid_monitor_sls_tasks.py +26 -11
- pulumi_alicloud/cms/get_metric_rule_black_lists.py +35 -13
- pulumi_alicloud/cms/get_metric_rule_templates.py +27 -9
- pulumi_alicloud/cms/get_monitor_group_instances.py +18 -5
- pulumi_alicloud/cms/get_monitor_groups.py +38 -16
- pulumi_alicloud/cms/get_namespaces.py +22 -9
- pulumi_alicloud/cms/get_service.py +14 -9
- pulumi_alicloud/cms/get_site_monitors.py +258 -0
- pulumi_alicloud/cms/get_sls_groups.py +25 -9
- pulumi_alicloud/cms/group_metric_rule.py +49 -48
- pulumi_alicloud/cms/hybrid_monitor_fc_task.py +48 -45
- pulumi_alicloud/cms/hybrid_monitor_sls_task.py +15 -10
- pulumi_alicloud/cms/metric_rule_black_list.py +44 -39
- pulumi_alicloud/cms/metric_rule_template.py +92 -124
- pulumi_alicloud/cms/monitor_group.py +19 -18
- pulumi_alicloud/cms/monitor_group_instances.py +28 -27
- pulumi_alicloud/cms/namespace.py +5 -6
- pulumi_alicloud/cms/outputs.py +379 -158
- pulumi_alicloud/cms/site_monitor.py +24 -25
- pulumi_alicloud/cms/sls_group.py +10 -5
- pulumi_alicloud/compute/_inputs.py +59 -2
- pulumi_alicloud/compute/get_nest_service_instances.py +34 -18
- pulumi_alicloud/compute/nest_service_instance.py +67 -66
- pulumi_alicloud/compute/outputs.py +12 -7
- pulumi_alicloud/config/__init__.pyi +7 -0
- pulumi_alicloud/config/outputs.py +303 -2
- pulumi_alicloud/config/vars.py +9 -0
- pulumi_alicloud/cr/_inputs.py +253 -0
- pulumi_alicloud/cr/chain.py +252 -239
- pulumi_alicloud/cr/chart_namespace.py +25 -16
- pulumi_alicloud/cr/chart_repository.py +27 -18
- pulumi_alicloud/cr/endpoint_acl_policy.py +23 -14
- pulumi_alicloud/cr/get_chains.py +27 -9
- pulumi_alicloud/cr/get_chart_namespaces.py +23 -7
- pulumi_alicloud/cr/get_chart_repositories.py +25 -13
- pulumi_alicloud/cr/get_endpoint_acl_policies.py +22 -11
- pulumi_alicloud/cr/get_endpoint_acl_service.py +26 -15
- pulumi_alicloud/cr/get_namespaces.py +20 -9
- pulumi_alicloud/cr/get_repos.py +24 -9
- pulumi_alicloud/cr/get_service.py +16 -9
- pulumi_alicloud/cr/get_vpc_endpoint_linked_vpcs.py +26 -9
- pulumi_alicloud/cr/namespace.py +15 -4
- pulumi_alicloud/cr/outputs.py +102 -0
- pulumi_alicloud/cr/registry_enterprise_instance.py +516 -104
- pulumi_alicloud/cr/repo.py +24 -19
- pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +45 -22
- pulumi_alicloud/cs/_inputs.py +1881 -75
- pulumi_alicloud/cs/application.py +16 -11
- pulumi_alicloud/cs/autoscaling_config.py +56 -0
- pulumi_alicloud/cs/cluster.py +9 -10
- pulumi_alicloud/cs/edge_kubernetes.py +132 -127
- pulumi_alicloud/cs/get_ack_service.py +16 -9
- pulumi_alicloud/cs/get_cluster_credential.py +21 -5
- pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +23 -9
- pulumi_alicloud/cs/get_kubernetes_addon_metadata.py +18 -33
- pulumi_alicloud/cs/get_kubernetes_addons.py +19 -5
- pulumi_alicloud/cs/get_kubernetes_clusters.py +35 -17
- pulumi_alicloud/cs/get_kubernetes_permission.py +24 -15
- pulumi_alicloud/cs/get_kubernetes_version.py +26 -21
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +31 -15
- pulumi_alicloud/cs/get_registry_enterprise_instances.py +23 -9
- pulumi_alicloud/cs/get_registry_enterprise_namespaces.py +23 -9
- pulumi_alicloud/cs/get_registry_enterprise_repos.py +27 -9
- pulumi_alicloud/cs/get_registry_enterprise_sync_rules.py +29 -9
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +33 -15
- pulumi_alicloud/cs/kubernetes.py +175 -125
- pulumi_alicloud/cs/kubernetes_addon.py +9 -8
- pulumi_alicloud/cs/kubernetes_autoscaler.py +10 -5
- pulumi_alicloud/cs/kubernetes_permission.py +10 -5
- pulumi_alicloud/cs/managed_kubernetes.py +281 -133
- pulumi_alicloud/cs/node_pool.py +430 -180
- pulumi_alicloud/cs/outputs.py +768 -67
- pulumi_alicloud/cs/registry_enterprise_namespace.py +97 -74
- pulumi_alicloud/cs/registry_enterprise_repo.py +101 -74
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +446 -138
- pulumi_alicloud/cs/serverless_kubernetes.py +369 -324
- pulumi_alicloud/cs/swarm.py +9 -10
- pulumi_alicloud/das/switch_das_pro.py +29 -28
- pulumi_alicloud/databasefilesystem/_inputs.py +17 -4
- pulumi_alicloud/databasefilesystem/auto_snap_shot_policy.py +9 -8
- pulumi_alicloud/databasefilesystem/get_auto_snap_shot_policies.py +25 -11
- pulumi_alicloud/databasefilesystem/get_instances.py +23 -11
- pulumi_alicloud/databasefilesystem/get_snapshots.py +23 -11
- pulumi_alicloud/databasefilesystem/instance.py +50 -43
- pulumi_alicloud/databasefilesystem/instance_attachment.py +70 -69
- pulumi_alicloud/databasefilesystem/outputs.py +5 -4
- pulumi_alicloud/databasefilesystem/service_linked_role.py +7 -6
- pulumi_alicloud/databasefilesystem/snapshot.py +58 -109
- pulumi_alicloud/databasegateway/gateway.py +5 -4
- pulumi_alicloud/databasegateway/get_gateways.py +25 -9
- pulumi_alicloud/databasegateway/outputs.py +5 -0
- pulumi_alicloud/datahub/get_service.py +14 -9
- pulumi_alicloud/datahub/project.py +11 -6
- pulumi_alicloud/datahub/subscription.py +21 -14
- pulumi_alicloud/datahub/topic.py +33 -24
- pulumi_alicloud/dataworks/__init__.py +5 -0
- pulumi_alicloud/dataworks/_inputs.py +95 -0
- pulumi_alicloud/dataworks/data_source.py +686 -0
- pulumi_alicloud/dataworks/data_source_shared_rule.py +378 -0
- pulumi_alicloud/dataworks/folder.py +9 -8
- pulumi_alicloud/dataworks/get_folders.py +32 -13
- pulumi_alicloud/dataworks/get_service.py +14 -9
- pulumi_alicloud/dataworks/outputs.py +49 -0
- pulumi_alicloud/dataworks/project.py +609 -0
- pulumi_alicloud/dataworks/project_member.py +380 -0
- pulumi_alicloud/dbs/backup_plan.py +47 -38
- pulumi_alicloud/dbs/get_backup_plans.py +31 -11
- pulumi_alicloud/dbs/outputs.py +5 -0
- pulumi_alicloud/dcdn/_inputs.py +992 -33
- pulumi_alicloud/dcdn/domain.py +406 -256
- pulumi_alicloud/dcdn/domain_config.py +70 -69
- pulumi_alicloud/dcdn/er.py +30 -29
- pulumi_alicloud/dcdn/get_domains.py +37 -11
- pulumi_alicloud/dcdn/get_ipa_domains.py +41 -15
- pulumi_alicloud/dcdn/get_kv_account.py +13 -9
- pulumi_alicloud/dcdn/get_service.py +14 -9
- pulumi_alicloud/dcdn/get_waf_domains.py +25 -11
- pulumi_alicloud/dcdn/get_waf_policies.py +33 -13
- pulumi_alicloud/dcdn/get_waf_rules.py +24 -11
- pulumi_alicloud/dcdn/ipa_domain.py +32 -31
- pulumi_alicloud/dcdn/kv.py +15 -14
- pulumi_alicloud/dcdn/kv_namespace.py +11 -10
- pulumi_alicloud/dcdn/outputs.py +29 -28
- pulumi_alicloud/dcdn/waf_domain.py +29 -28
- pulumi_alicloud/dcdn/waf_policy.py +13 -12
- pulumi_alicloud/dcdn/waf_policy_domain_attachment.py +35 -34
- pulumi_alicloud/dcdn/waf_rule.py +67 -66
- pulumi_alicloud/ddos/__init__.py +1 -0
- pulumi_alicloud/ddos/_inputs.py +1227 -9
- pulumi_alicloud/ddos/basic_defense_threshold.py +11 -10
- pulumi_alicloud/ddos/basic_threshold.py +31 -26
- pulumi_alicloud/ddos/bgp_ip.py +62 -12
- pulumi_alicloud/ddos/bgp_policy.py +348 -0
- pulumi_alicloud/ddos/ddos_bgp_instance.py +7 -4
- pulumi_alicloud/ddos/ddos_coo_instance.py +7 -4
- pulumi_alicloud/ddos/domain_resource.py +472 -92
- pulumi_alicloud/ddos/get_ddos_bgp_instances.py +27 -15
- pulumi_alicloud/ddos/get_ddos_bgp_ips.py +32 -11
- pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +30 -13
- pulumi_alicloud/ddos/get_ddos_coo_instances.py +19 -9
- pulumi_alicloud/ddos/get_ddos_coo_ports.py +40 -15
- pulumi_alicloud/ddos/outputs.py +883 -14
- pulumi_alicloud/ddos/port.py +123 -50
- pulumi_alicloud/ddos/scheduler_rule.py +38 -37
- pulumi_alicloud/dds/get_mongo_instances.py +30 -8
- pulumi_alicloud/dds/outputs.py +7 -2
- pulumi_alicloud/dfs/_inputs.py +43 -0
- pulumi_alicloud/dfs/access_group.py +21 -22
- pulumi_alicloud/dfs/access_rule.py +23 -22
- pulumi_alicloud/dfs/file_system.py +73 -51
- pulumi_alicloud/dfs/get_access_groups.py +27 -9
- pulumi_alicloud/dfs/get_access_rules.py +18 -9
- pulumi_alicloud/dfs/get_file_systems.py +19 -9
- pulumi_alicloud/dfs/get_mount_points.py +20 -9
- pulumi_alicloud/dfs/get_zones.py +14 -9
- pulumi_alicloud/dfs/mount_point.py +59 -76
- pulumi_alicloud/dfs/outputs.py +5 -0
- pulumi_alicloud/dfs/vsc_mount_point.py +19 -18
- pulumi_alicloud/directmail/domain.py +13 -12
- pulumi_alicloud/directmail/get_domains.py +56 -33
- pulumi_alicloud/directmail/get_mail_addresses.py +24 -11
- pulumi_alicloud/directmail/get_receivers.py +25 -11
- pulumi_alicloud/directmail/get_tags.py +19 -9
- pulumi_alicloud/directmail/mail_address.py +5 -0
- pulumi_alicloud/directmail/outputs.py +136 -32
- pulumi_alicloud/directmail/receivers.py +5 -0
- pulumi_alicloud/directmail/tag.py +5 -4
- pulumi_alicloud/dms/enterprise_authority_template.py +11 -10
- pulumi_alicloud/dms/enterprise_instance.py +44 -49
- pulumi_alicloud/dms/enterprise_logic_database.py +5 -4
- pulumi_alicloud/dms/enterprise_proxy.py +43 -38
- pulumi_alicloud/dms/enterprise_proxy_access.py +5 -4
- pulumi_alicloud/dms/enterprise_user.py +16 -19
- pulumi_alicloud/dms/get_enterprise_databases.py +20 -9
- pulumi_alicloud/dms/get_enterprise_instances.py +40 -13
- pulumi_alicloud/dms/get_enterprise_logic_databases.py +16 -5
- pulumi_alicloud/dms/get_enterprise_proxies.py +18 -9
- pulumi_alicloud/dms/get_enterprise_proxy_accesses.py +26 -15
- pulumi_alicloud/dms/get_enterprise_users.py +29 -9
- pulumi_alicloud/dms/get_user_tenants.py +21 -9
- pulumi_alicloud/dms/outputs.py +5 -0
- pulumi_alicloud/dns/_inputs.py +145 -0
- pulumi_alicloud/dns/access_strategy.py +20 -15
- pulumi_alicloud/dns/address_pool.py +120 -5
- pulumi_alicloud/dns/alidns_domain.py +25 -24
- pulumi_alicloud/dns/alidns_domain_attachment.py +15 -14
- pulumi_alicloud/dns/alidns_instance.py +5 -4
- pulumi_alicloud/dns/alidns_record.py +11 -10
- pulumi_alicloud/dns/custom_line.py +18 -17
- pulumi_alicloud/dns/ddos_bgp_instance.py +7 -4
- pulumi_alicloud/dns/ddos_coo_instance.py +7 -4
- pulumi_alicloud/dns/dns_domain.py +19 -18
- pulumi_alicloud/dns/domain.py +11 -6
- pulumi_alicloud/dns/domain_attachment.py +9 -8
- pulumi_alicloud/dns/domain_group.py +8 -13
- pulumi_alicloud/dns/get_access_strategies.py +33 -11
- pulumi_alicloud/dns/get_address_pools.py +23 -9
- pulumi_alicloud/dns/get_alidns_domain_groups.py +19 -9
- pulumi_alicloud/dns/get_alidns_domains.py +48 -14
- pulumi_alicloud/dns/get_alidns_instances.py +22 -9
- pulumi_alicloud/dns/get_alidns_records.py +72 -9
- pulumi_alicloud/dns/get_custom_lines.py +25 -9
- pulumi_alicloud/dns/get_domain_groups.py +19 -5
- pulumi_alicloud/dns/get_domain_records.py +31 -5
- pulumi_alicloud/dns/get_domain_txt_guid.py +21 -9
- pulumi_alicloud/dns/get_domains.py +48 -14
- pulumi_alicloud/dns/get_groups.py +19 -9
- pulumi_alicloud/dns/get_gtm_instances.py +19 -9
- pulumi_alicloud/dns/get_instances.py +22 -9
- pulumi_alicloud/dns/get_records.py +37 -15
- pulumi_alicloud/dns/get_resolution_lines.py +26 -9
- pulumi_alicloud/dns/group.py +7 -6
- pulumi_alicloud/dns/gtm_instance.py +30 -29
- pulumi_alicloud/dns/instance.py +5 -4
- pulumi_alicloud/dns/monitor_config.py +56 -55
- pulumi_alicloud/dns/outputs.py +31 -10
- pulumi_alicloud/dns/record.py +11 -4
- pulumi_alicloud/drds/get_instances.py +26 -16
- pulumi_alicloud/drds/instance.py +17 -16
- pulumi_alicloud/drds/outputs.py +5 -0
- pulumi_alicloud/drds/polardbx_instance.py +19 -18
- pulumi_alicloud/dts/consumer_channel.py +57 -40
- pulumi_alicloud/dts/get_consumer_channels.py +18 -9
- pulumi_alicloud/dts/get_instances.py +27 -11
- pulumi_alicloud/dts/get_migration_jobs.py +21 -9
- pulumi_alicloud/dts/get_subscription_jobs.py +30 -16
- pulumi_alicloud/dts/get_synchronization_jobs.py +24 -11
- pulumi_alicloud/dts/instance.py +52 -30
- pulumi_alicloud/dts/job_monitor_rule.py +5 -0
- pulumi_alicloud/dts/migration_instance.py +27 -26
- pulumi_alicloud/dts/migration_job.py +5 -0
- pulumi_alicloud/dts/outputs.py +11 -6
- pulumi_alicloud/dts/subscription_job.py +75 -58
- pulumi_alicloud/dts/synchronization_instance.py +13 -12
- pulumi_alicloud/dts/synchronization_job.py +5 -0
- pulumi_alicloud/eais/get_instances.py +25 -7
- pulumi_alicloud/eais/instance.py +68 -65
- pulumi_alicloud/eais/outputs.py +5 -0
- pulumi_alicloud/ebs/_inputs.py +118 -8
- pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +5 -0
- pulumi_alicloud/ebs/disk_replica_group.py +53 -0
- pulumi_alicloud/ebs/disk_replica_pair.py +5 -0
- pulumi_alicloud/ebs/enterprise_snapshot_policy.py +58 -57
- pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +19 -18
- pulumi_alicloud/ebs/get_dedicated_block_storage_clusters.py +21 -11
- pulumi_alicloud/ebs/get_disk_replica_groups.py +16 -9
- pulumi_alicloud/ebs/get_disk_replica_pairs.py +22 -11
- pulumi_alicloud/ebs/get_regions.py +18 -11
- pulumi_alicloud/ebs/outputs.py +5 -8
- pulumi_alicloud/ebs/replica_group_drill.py +5 -4
- pulumi_alicloud/ebs/replica_pair_drill.py +5 -4
- pulumi_alicloud/ebs/solution_instance.py +136 -135
- pulumi_alicloud/eci/_inputs.py +612 -182
- pulumi_alicloud/eci/container_group.py +232 -180
- pulumi_alicloud/eci/get_container_groups.py +46 -20
- pulumi_alicloud/eci/get_image_caches.py +27 -9
- pulumi_alicloud/eci/get_virtual_nodes.py +42 -22
- pulumi_alicloud/eci/get_zones.py +14 -9
- pulumi_alicloud/eci/image_cache.py +32 -27
- pulumi_alicloud/eci/open_api_image_cache.py +8 -3
- pulumi_alicloud/eci/outputs.py +60 -217
- pulumi_alicloud/eci/virtual_node.py +56 -51
- pulumi_alicloud/ecp/get_instance_types.py +14 -9
- pulumi_alicloud/ecp/get_instances.py +121 -13
- pulumi_alicloud/ecp/get_key_pairs.py +21 -9
- pulumi_alicloud/ecp/get_zones.py +14 -9
- pulumi_alicloud/ecp/instance.py +232 -181
- pulumi_alicloud/ecp/key_pair.py +5 -4
- pulumi_alicloud/ecp/outputs.py +5 -0
- pulumi_alicloud/ecs/__init__.py +1 -0
- pulumi_alicloud/ecs/_inputs.py +1035 -45
- pulumi_alicloud/ecs/activation.py +5 -4
- pulumi_alicloud/ecs/auto_provisioning_group.py +44 -37
- pulumi_alicloud/ecs/auto_snapshot_policy.py +342 -145
- pulumi_alicloud/ecs/capacity_reservation.py +35 -34
- pulumi_alicloud/ecs/command.py +7 -4
- pulumi_alicloud/ecs/copy_image.py +18 -19
- pulumi_alicloud/ecs/dedicated_host.py +24 -19
- pulumi_alicloud/ecs/disk.py +213 -59
- pulumi_alicloud/ecs/disk_attachment.py +17 -12
- pulumi_alicloud/ecs/ecs_auto_snapshot_policy_attachment.py +19 -16
- pulumi_alicloud/ecs/ecs_dedicated_host_cluster.py +25 -24
- pulumi_alicloud/ecs/ecs_deployment_set.py +34 -19
- pulumi_alicloud/ecs/ecs_disk.py +455 -139
- pulumi_alicloud/ecs/ecs_disk_attachment.py +33 -30
- pulumi_alicloud/ecs/ecs_image_component.py +240 -66
- pulumi_alicloud/ecs/ecs_image_pipeline.py +47 -44
- pulumi_alicloud/ecs/ecs_instance_set.py +81 -41
- pulumi_alicloud/ecs/ecs_invocation.py +51 -44
- pulumi_alicloud/ecs/ecs_key_pair.py +93 -70
- pulumi_alicloud/ecs/ecs_key_pair_attachment.py +40 -41
- pulumi_alicloud/ecs/ecs_launch_template.py +474 -195
- pulumi_alicloud/ecs/ecs_network_interface.py +148 -79
- pulumi_alicloud/ecs/ecs_network_interface_attachment.py +109 -59
- pulumi_alicloud/ecs/ecs_network_interface_permission.py +5 -0
- pulumi_alicloud/ecs/ecs_prefix_list.py +22 -21
- pulumi_alicloud/ecs/ecs_session_manager_status.py +5 -4
- pulumi_alicloud/ecs/ecs_snapshot.py +270 -93
- pulumi_alicloud/ecs/ecs_snapshot_group.py +59 -50
- pulumi_alicloud/ecs/eip.py +93 -36
- pulumi_alicloud/ecs/eip_address.py +595 -214
- pulumi_alicloud/ecs/eip_association.py +236 -86
- pulumi_alicloud/ecs/eip_segment_address.py +320 -141
- pulumi_alicloud/ecs/elasticity_assurance.py +67 -14
- pulumi_alicloud/ecs/get_activations.py +23 -9
- pulumi_alicloud/ecs/get_auto_snapshot_policies.py +30 -16
- pulumi_alicloud/ecs/get_capacity_reservations.py +42 -18
- pulumi_alicloud/ecs/get_commands.py +33 -13
- pulumi_alicloud/ecs/get_dedicated_hosts.py +50 -22
- pulumi_alicloud/ecs/get_disks.py +81 -26
- pulumi_alicloud/ecs/get_ecs_dedicated_host_clusters.py +32 -14
- pulumi_alicloud/ecs/get_ecs_deployment_sets.py +25 -11
- pulumi_alicloud/ecs/get_ecs_disks.py +206 -58
- pulumi_alicloud/ecs/get_ecs_image_components.py +40 -18
- pulumi_alicloud/ecs/get_ecs_image_pipeline.py +30 -14
- pulumi_alicloud/ecs/get_ecs_invocations.py +30 -13
- pulumi_alicloud/ecs/get_ecs_key_pairs.py +32 -19
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +202 -20
- pulumi_alicloud/ecs/get_ecs_network_interface_permissions.py +27 -11
- pulumi_alicloud/ecs/get_ecs_network_interfaces.py +108 -36
- pulumi_alicloud/ecs/get_ecs_prefix_lists.py +25 -11
- pulumi_alicloud/ecs/get_ecs_snapshot_groups.py +34 -16
- pulumi_alicloud/ecs/get_ecs_snapshots.py +64 -28
- pulumi_alicloud/ecs/get_ecs_storage_capacity_units.py +23 -11
- pulumi_alicloud/ecs/get_eip_addresses.py +69 -32
- pulumi_alicloud/ecs/get_eips.py +57 -20
- pulumi_alicloud/ecs/get_elasticity_assurances.py +31 -16
- pulumi_alicloud/ecs/get_hpc_clusters.py +19 -9
- pulumi_alicloud/ecs/get_images.py +82 -22
- pulumi_alicloud/ecs/get_instance_keywords.py +17 -9
- pulumi_alicloud/ecs/get_instance_type_families.py +23 -9
- pulumi_alicloud/ecs/get_instance_types.py +169 -19
- pulumi_alicloud/ecs/get_instances.py +52 -21
- pulumi_alicloud/ecs/get_key_pairs.py +36 -21
- pulumi_alicloud/ecs/get_network_interfaces.py +109 -71
- pulumi_alicloud/ecs/get_security_group_rules.py +40 -17
- pulumi_alicloud/ecs/get_security_groups.py +41 -20
- pulumi_alicloud/ecs/get_snapshots.py +50 -14
- pulumi_alicloud/ecs/hpc_cluster.py +11 -6
- pulumi_alicloud/ecs/image.py +657 -174
- pulumi_alicloud/ecs/image_copy.py +60 -77
- pulumi_alicloud/ecs/image_export.py +41 -36
- pulumi_alicloud/ecs/image_import.py +186 -115
- pulumi_alicloud/ecs/image_pipeline_execution.py +245 -0
- pulumi_alicloud/ecs/image_share_permission.py +53 -40
- pulumi_alicloud/ecs/instance.py +712 -231
- pulumi_alicloud/ecs/key_pair.py +43 -28
- pulumi_alicloud/ecs/key_pair_attachment.py +8 -9
- pulumi_alicloud/ecs/launch_template.py +325 -154
- pulumi_alicloud/ecs/outputs.py +729 -190
- pulumi_alicloud/ecs/reserved_instance.py +32 -37
- pulumi_alicloud/ecs/security_group.py +180 -101
- pulumi_alicloud/ecs/security_group_rule.py +82 -59
- pulumi_alicloud/ecs/snapshot.py +89 -34
- pulumi_alicloud/ecs/snapshot_policy.py +171 -15
- pulumi_alicloud/ecs/storage_capacity_unit.py +5 -4
- pulumi_alicloud/edas/_inputs.py +73 -0
- pulumi_alicloud/edas/application.py +23 -22
- pulumi_alicloud/edas/application_deployment.py +41 -40
- pulumi_alicloud/edas/application_scale.py +55 -46
- pulumi_alicloud/edas/cluster.py +13 -12
- pulumi_alicloud/edas/deploy_group.py +27 -26
- pulumi_alicloud/edas/get_applications.py +19 -9
- pulumi_alicloud/edas/get_clusters.py +23 -11
- pulumi_alicloud/edas/get_deploy_groups.py +19 -5
- pulumi_alicloud/edas/get_namespaces.py +19 -9
- pulumi_alicloud/edas/get_service.py +14 -9
- pulumi_alicloud/edas/instance_cluster_attachment.py +35 -34
- pulumi_alicloud/edas/k8s_application.py +17 -36
- pulumi_alicloud/edas/k8s_cluster.py +5 -0
- pulumi_alicloud/edas/k8s_slb_attachment.py +10 -5
- pulumi_alicloud/edas/namespace.py +17 -12
- pulumi_alicloud/edas/outputs.py +5 -0
- pulumi_alicloud/edas/slb_attachment.py +41 -40
- pulumi_alicloud/eds/_inputs.py +69 -0
- pulumi_alicloud/eds/ad_connector_directory.py +19 -18
- pulumi_alicloud/eds/ad_connector_office_site.py +32 -10
- pulumi_alicloud/eds/bundle.py +15 -14
- pulumi_alicloud/eds/command.py +47 -46
- pulumi_alicloud/eds/custom_property.py +16 -15
- pulumi_alicloud/eds/desktop.py +59 -58
- pulumi_alicloud/eds/ecd_policy_group.py +45 -44
- pulumi_alicloud/eds/get_ad_connector_directories.py +23 -11
- pulumi_alicloud/eds/get_ad_connector_office_sites.py +41 -11
- pulumi_alicloud/eds/get_bundles.py +23 -11
- pulumi_alicloud/eds/get_commands.py +64 -49
- pulumi_alicloud/eds/get_custom_properties.py +16 -9
- pulumi_alicloud/eds/get_desktop_types.py +30 -13
- pulumi_alicloud/eds/get_desktops.py +69 -51
- pulumi_alicloud/eds/get_images.py +67 -49
- pulumi_alicloud/eds/get_nas_file_systems.py +29 -15
- pulumi_alicloud/eds/get_network_packages.py +26 -17
- pulumi_alicloud/eds/get_policy_groups.py +47 -35
- pulumi_alicloud/eds/get_ram_directories.py +23 -11
- pulumi_alicloud/eds/get_simple_office_sites.py +23 -11
- pulumi_alicloud/eds/get_snapshots.py +27 -13
- pulumi_alicloud/eds/get_users.py +20 -11
- pulumi_alicloud/eds/get_zones.py +15 -9
- pulumi_alicloud/eds/image.py +47 -46
- pulumi_alicloud/eds/nas_file_system.py +11 -10
- pulumi_alicloud/eds/network_package.py +29 -14
- pulumi_alicloud/eds/outputs.py +21 -20
- pulumi_alicloud/eds/ram_directory.py +19 -14
- pulumi_alicloud/eds/simple_office_site.py +23 -34
- pulumi_alicloud/eds/snapshot.py +47 -46
- pulumi_alicloud/eds/user.py +11 -10
- pulumi_alicloud/eflo/get_subnets.py +43 -15
- pulumi_alicloud/eflo/get_vpds.py +37 -13
- pulumi_alicloud/eflo/outputs.py +5 -0
- pulumi_alicloud/eflo/subnet.py +17 -16
- pulumi_alicloud/eflo/vpd.py +11 -10
- pulumi_alicloud/ehpc/_inputs.py +87 -0
- pulumi_alicloud/ehpc/cluster.py +118 -47
- pulumi_alicloud/ehpc/get_clusters.py +36 -13
- pulumi_alicloud/ehpc/get_job_templates.py +21 -11
- pulumi_alicloud/ehpc/job_template.py +11 -10
- pulumi_alicloud/ehpc/outputs.py +39 -2
- pulumi_alicloud/eipanycast/_inputs.py +17 -0
- pulumi_alicloud/eipanycast/anycast_eip_address.py +19 -18
- pulumi_alicloud/eipanycast/anycast_eip_address_attachment.py +72 -101
- pulumi_alicloud/eipanycast/get_anycast_eip_addresses.py +41 -15
- pulumi_alicloud/eipanycast/outputs.py +5 -0
- pulumi_alicloud/elasticsearch/get_instances.py +26 -8
- pulumi_alicloud/elasticsearch/get_zones.py +19 -9
- pulumi_alicloud/elasticsearch/instance.py +343 -56
- pulumi_alicloud/elasticsearch/outputs.py +7 -2
- pulumi_alicloud/emr/_inputs.py +180 -8
- pulumi_alicloud/emr/cluster.py +938 -39
- pulumi_alicloud/emr/get_clusters.py +168 -123
- pulumi_alicloud/emr/get_disk_types.py +29 -13
- pulumi_alicloud/emr/get_instance_types.py +35 -15
- pulumi_alicloud/emr/get_main_versions.py +25 -15
- pulumi_alicloud/emr/outputs.py +26 -29
- pulumi_alicloud/emrv2/_inputs.py +2092 -71
- pulumi_alicloud/emrv2/cluster.py +248 -206
- pulumi_alicloud/emrv2/get_clusters.py +70 -18
- pulumi_alicloud/emrv2/outputs.py +1248 -35
- pulumi_alicloud/ens/__init__.py +2 -0
- pulumi_alicloud/ens/_inputs.py +218 -2
- pulumi_alicloud/ens/disk.py +11 -10
- pulumi_alicloud/ens/disk_instance_attachment.py +21 -20
- pulumi_alicloud/ens/eip.py +5 -4
- pulumi_alicloud/ens/eip_instance_attachment.py +485 -0
- pulumi_alicloud/ens/get_key_pairs.py +22 -9
- pulumi_alicloud/ens/image.py +17 -16
- pulumi_alicloud/ens/instance.py +455 -207
- pulumi_alicloud/ens/instance_security_group_attachment.py +19 -18
- pulumi_alicloud/ens/key_pair.py +5 -4
- pulumi_alicloud/ens/load_balancer.py +79 -29
- pulumi_alicloud/ens/nat_gateway.py +463 -0
- pulumi_alicloud/ens/network.py +5 -4
- pulumi_alicloud/ens/outputs.py +146 -2
- pulumi_alicloud/ens/security_group.py +5 -4
- pulumi_alicloud/ens/snapshot.py +5 -4
- pulumi_alicloud/ens/vswitch.py +11 -10
- pulumi_alicloud/esa/__init__.py +12 -0
- pulumi_alicloud/esa/_inputs.py +456 -0
- pulumi_alicloud/esa/outputs.py +321 -0
- pulumi_alicloud/esa/rate_plan_instance.py +626 -0
- pulumi_alicloud/esa/record.py +798 -0
- pulumi_alicloud/esa/site.py +533 -0
- pulumi_alicloud/ess/__init__.py +1 -0
- pulumi_alicloud/ess/_inputs.py +1313 -110
- pulumi_alicloud/ess/alarm.py +232 -84
- pulumi_alicloud/ess/alb_server_group_attachment.py +55 -50
- pulumi_alicloud/ess/attachment.py +57 -52
- pulumi_alicloud/ess/eci_scaling_configuration.py +464 -88
- pulumi_alicloud/ess/get_alarms.py +23 -5
- pulumi_alicloud/ess/get_lifecycle_hooks.py +25 -13
- pulumi_alicloud/ess/get_notifications.py +18 -9
- pulumi_alicloud/ess/get_scaling_configurations.py +139 -21
- pulumi_alicloud/ess/get_scaling_groups.py +19 -9
- pulumi_alicloud/ess/get_scaling_rules.py +29 -15
- pulumi_alicloud/ess/get_scheduled_tasks.py +27 -13
- pulumi_alicloud/ess/lifecycle_hook.py +31 -24
- pulumi_alicloud/ess/notification.py +79 -31
- pulumi_alicloud/ess/outputs.py +618 -105
- pulumi_alicloud/ess/scaling_configuration.py +569 -106
- pulumi_alicloud/ess/scaling_group.py +591 -75
- pulumi_alicloud/ess/scaling_group_v_server_groups.py +10 -5
- pulumi_alicloud/ess/scaling_rule.py +291 -51
- pulumi_alicloud/ess/schedule.py +5 -0
- pulumi_alicloud/ess/scheduled_task.py +12 -7
- pulumi_alicloud/ess/server_group_attachment.py +557 -0
- pulumi_alicloud/ess/suspend_process.py +37 -32
- pulumi_alicloud/eventbridge/_inputs.py +284 -0
- pulumi_alicloud/eventbridge/api_destination.py +30 -29
- pulumi_alicloud/eventbridge/connection.py +115 -110
- pulumi_alicloud/eventbridge/event_bus.py +5 -4
- pulumi_alicloud/eventbridge/event_source.py +35 -26
- pulumi_alicloud/eventbridge/get_event_buses.py +23 -9
- pulumi_alicloud/eventbridge/get_event_sources.py +19 -9
- pulumi_alicloud/eventbridge/get_rules.py +27 -11
- pulumi_alicloud/eventbridge/get_service.py +14 -9
- pulumi_alicloud/eventbridge/outputs.py +12 -3
- pulumi_alicloud/eventbridge/rule.py +10 -5
- pulumi_alicloud/eventbridge/service_linked_role.py +7 -6
- pulumi_alicloud/eventbridge/slr.py +5 -0
- pulumi_alicloud/expressconnect/__init__.py +9 -0
- pulumi_alicloud/expressconnect/_inputs.py +84 -0
- pulumi_alicloud/expressconnect/ec_failover_test_job.py +15 -14
- pulumi_alicloud/expressconnect/get_access_points.py +23 -11
- pulumi_alicloud/expressconnect/get_grant_rule_to_cens.py +22 -9
- pulumi_alicloud/expressconnect/get_physical_connection_service.py +14 -9
- pulumi_alicloud/expressconnect/get_physical_connections.py +25 -11
- pulumi_alicloud/expressconnect/get_router_interfaces.py +33 -15
- pulumi_alicloud/expressconnect/get_vbr_pconn_associations.py +24 -11
- pulumi_alicloud/expressconnect/get_virtual_border_routers.py +45 -31
- pulumi_alicloud/expressconnect/get_virtual_physical_connections.py +33 -5
- pulumi_alicloud/expressconnect/grant_rule_to_cen.py +19 -18
- pulumi_alicloud/expressconnect/outputs.py +56 -0
- pulumi_alicloud/expressconnect/physical_connection.py +330 -201
- pulumi_alicloud/expressconnect/router_express_connect_router.py +463 -0
- pulumi_alicloud/expressconnect/router_grant_association.py +477 -0
- pulumi_alicloud/expressconnect/router_interface.py +15 -18
- pulumi_alicloud/expressconnect/router_tr_association.py +583 -0
- pulumi_alicloud/expressconnect/router_vbr_child_instance.py +541 -0
- pulumi_alicloud/expressconnect/router_vpc_association.py +505 -0
- pulumi_alicloud/expressconnect/traffic_qos.py +289 -0
- pulumi_alicloud/expressconnect/traffic_qos_association.py +341 -0
- pulumi_alicloud/expressconnect/traffic_qos_queue.py +525 -0
- pulumi_alicloud/expressconnect/traffic_qos_rule.py +1179 -0
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +13 -12
- pulumi_alicloud/expressconnect/virtual_border_router.py +15 -14
- pulumi_alicloud/expressconnect/virtual_physical_connection.py +15 -14
- pulumi_alicloud/fc/__init__.py +10 -0
- pulumi_alicloud/fc/_inputs.py +3052 -4
- pulumi_alicloud/fc/alias.py +16 -13
- pulumi_alicloud/fc/custom_domain.py +81 -70
- pulumi_alicloud/fc/function.py +60 -53
- pulumi_alicloud/fc/function_async_invoke_config.py +110 -103
- pulumi_alicloud/fc/get_custom_domains.py +21 -11
- pulumi_alicloud/fc/get_functions.py +25 -13
- pulumi_alicloud/fc/get_service.py +14 -9
- pulumi_alicloud/fc/get_services.py +19 -9
- pulumi_alicloud/fc/get_triggers.py +29 -15
- pulumi_alicloud/fc/get_zones.py +17 -9
- pulumi_alicloud/fc/layer_version.py +13 -12
- pulumi_alicloud/fc/outputs.py +2130 -8
- pulumi_alicloud/fc/service.py +17 -12
- pulumi_alicloud/fc/trigger.py +433 -308
- pulumi_alicloud/fc/v2_function.py +33 -28
- pulumi_alicloud/fc/v3_alias.py +473 -0
- pulumi_alicloud/fc/v3_async_invoke_config.py +500 -0
- pulumi_alicloud/fc/v3_concurrency_config.py +314 -0
- pulumi_alicloud/fc/v3_custom_domain.py +964 -0
- pulumi_alicloud/fc/v3_function.py +1704 -0
- pulumi_alicloud/fc/v3_function_version.py +346 -0
- pulumi_alicloud/fc/v3_layer_version.py +619 -0
- pulumi_alicloud/fc/v3_provision_config.py +765 -0
- pulumi_alicloud/fc/v3_trigger.py +878 -0
- pulumi_alicloud/fc/v3_vpc_binding.py +288 -0
- pulumi_alicloud/fnf/execution.py +19 -12
- pulumi_alicloud/fnf/flow.py +13 -6
- pulumi_alicloud/fnf/get_executions.py +29 -13
- pulumi_alicloud/fnf/get_flows.py +21 -9
- pulumi_alicloud/fnf/get_schedules.py +23 -9
- pulumi_alicloud/fnf/get_service.py +14 -9
- pulumi_alicloud/fnf/outputs.py +5 -0
- pulumi_alicloud/fnf/schedule.py +13 -10
- pulumi_alicloud/ga/_inputs.py +291 -8
- pulumi_alicloud/ga/accelerator.py +117 -20
- pulumi_alicloud/ga/accelerator_spare_ip_attachment.py +15 -14
- pulumi_alicloud/ga/access_log.py +49 -42
- pulumi_alicloud/ga/acl.py +80 -38
- pulumi_alicloud/ga/acl_attachment.py +29 -28
- pulumi_alicloud/ga/acl_entry_attachment.py +11 -10
- pulumi_alicloud/ga/additional_certificate.py +5 -0
- pulumi_alicloud/ga/bandwidth_package.py +99 -32
- pulumi_alicloud/ga/bandwidth_package_attachment.py +39 -38
- pulumi_alicloud/ga/basic_accelerate_ip.py +15 -14
- pulumi_alicloud/ga/basic_accelerate_ip_endpoint_relation.py +39 -48
- pulumi_alicloud/ga/basic_accelerator.py +76 -28
- pulumi_alicloud/ga/basic_endpoint.py +33 -42
- pulumi_alicloud/ga/basic_endpoint_group.py +19 -18
- pulumi_alicloud/ga/basic_ip_set.py +11 -10
- pulumi_alicloud/ga/custom_routing_endpoint.py +54 -32
- pulumi_alicloud/ga/custom_routing_endpoint_group.py +25 -24
- pulumi_alicloud/ga/custom_routing_endpoint_group_destination.py +27 -26
- pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +86 -81
- pulumi_alicloud/ga/domain.py +11 -10
- pulumi_alicloud/ga/endpoint_group.py +187 -102
- pulumi_alicloud/ga/forwarding_rule.py +115 -110
- pulumi_alicloud/ga/get_accelerator_spare_ip_attachments.py +31 -11
- pulumi_alicloud/ga/get_accelerators.py +27 -9
- pulumi_alicloud/ga/get_acls.py +41 -13
- pulumi_alicloud/ga/get_additional_certificates.py +31 -11
- pulumi_alicloud/ga/get_bandwidth_packages.py +43 -15
- pulumi_alicloud/ga/get_basic_accelerate_ip_endpoint_relations.py +26 -11
- pulumi_alicloud/ga/get_basic_accelerate_ips.py +26 -11
- pulumi_alicloud/ga/get_basic_accelerators.py +29 -11
- pulumi_alicloud/ga/get_basic_endpoints.py +31 -11
- pulumi_alicloud/ga/get_custom_routing_endpoint_group_destinations.py +34 -11
- pulumi_alicloud/ga/get_custom_routing_endpoint_groups.py +33 -11
- pulumi_alicloud/ga/get_custom_routing_endpoint_traffic_policies.py +32 -11
- pulumi_alicloud/ga/get_custom_routing_endpoints.py +28 -11
- pulumi_alicloud/ga/get_custom_routing_port_mappings.py +28 -11
- pulumi_alicloud/ga/get_domains.py +66 -7
- pulumi_alicloud/ga/get_endpoint_group_ip_address_cidr_blocks.py +36 -12
- pulumi_alicloud/ga/get_endpoint_groups.py +75 -53
- pulumi_alicloud/ga/get_forwarding_rules.py +30 -11
- pulumi_alicloud/ga/get_ip_sets.py +30 -13
- pulumi_alicloud/ga/get_listeners.py +36 -13
- pulumi_alicloud/ga/ip_set.py +13 -12
- pulumi_alicloud/ga/listener.py +188 -37
- pulumi_alicloud/ga/outputs.py +127 -38
- pulumi_alicloud/get_account.py +11 -9
- pulumi_alicloud/get_caller_identity.py +14 -9
- pulumi_alicloud/get_file_crc64_checksum.py +18 -11
- pulumi_alicloud/get_msc_sub_contact_verification_message.py +22 -15
- pulumi_alicloud/get_msc_sub_contacts.py +27 -11
- pulumi_alicloud/get_msc_sub_subscriptions.py +19 -11
- pulumi_alicloud/get_msc_sub_webhooks.py +27 -11
- pulumi_alicloud/get_regions.py +19 -9
- pulumi_alicloud/get_zones.py +41 -13
- pulumi_alicloud/governance/__init__.py +12 -0
- pulumi_alicloud/governance/_inputs.py +149 -0
- pulumi_alicloud/governance/account.py +606 -0
- pulumi_alicloud/governance/baseline.py +392 -0
- pulumi_alicloud/governance/get_baselines.py +263 -0
- pulumi_alicloud/governance/outputs.py +155 -0
- pulumi_alicloud/gpdb/__init__.py +12 -0
- pulumi_alicloud/gpdb/_inputs.py +575 -3
- pulumi_alicloud/gpdb/account.py +201 -115
- pulumi_alicloud/gpdb/backup_policy.py +5 -0
- pulumi_alicloud/gpdb/connection.py +31 -34
- pulumi_alicloud/gpdb/database.py +545 -0
- pulumi_alicloud/gpdb/db_instance_ip_array.py +538 -0
- pulumi_alicloud/gpdb/db_instance_plan.py +10 -115
- pulumi_alicloud/gpdb/db_resource_group.py +414 -0
- pulumi_alicloud/gpdb/elastic_instance.py +33 -28
- pulumi_alicloud/gpdb/external_data_service.py +490 -0
- pulumi_alicloud/gpdb/get_accounts.py +23 -9
- pulumi_alicloud/gpdb/get_data_backups.py +317 -0
- pulumi_alicloud/gpdb/get_db_instance_plans.py +29 -11
- pulumi_alicloud/gpdb/get_instances.py +44 -16
- pulumi_alicloud/gpdb/get_log_backups.py +246 -0
- pulumi_alicloud/gpdb/get_zones.py +17 -5
- pulumi_alicloud/gpdb/hadoop_data_source.py +1140 -0
- pulumi_alicloud/gpdb/instance.py +354 -108
- pulumi_alicloud/gpdb/jdbc_data_source.py +648 -0
- pulumi_alicloud/gpdb/outputs.py +605 -7
- pulumi_alicloud/gpdb/remote_adb_data_source.py +768 -0
- pulumi_alicloud/gpdb/streaming_data_service.py +486 -0
- pulumi_alicloud/gpdb/streaming_data_source.py +650 -0
- pulumi_alicloud/gpdb/streaming_job.py +1573 -0
- pulumi_alicloud/graphdatabase/_inputs.py +25 -0
- pulumi_alicloud/graphdatabase/db_instance.py +10 -9
- pulumi_alicloud/graphdatabase/get_db_instances.py +24 -11
- pulumi_alicloud/graphdatabase/outputs.py +5 -0
- pulumi_alicloud/gwlb/__init__.py +13 -0
- pulumi_alicloud/gwlb/_inputs.py +694 -0
- pulumi_alicloud/gwlb/get_zones.py +173 -0
- pulumi_alicloud/gwlb/listener.py +434 -0
- pulumi_alicloud/gwlb/load_balancer.py +544 -0
- pulumi_alicloud/gwlb/outputs.py +588 -0
- pulumi_alicloud/gwlb/server_group.py +829 -0
- pulumi_alicloud/hbase/_inputs.py +61 -0
- pulumi_alicloud/hbase/get_instance_types.py +33 -7
- pulumi_alicloud/hbase/get_instances.py +32 -18
- pulumi_alicloud/hbase/get_zones.py +15 -11
- pulumi_alicloud/hbase/instance.py +43 -40
- pulumi_alicloud/hbase/outputs.py +8 -3
- pulumi_alicloud/hbr/_inputs.py +238 -14
- pulumi_alicloud/hbr/ecs_backup_client.py +33 -28
- pulumi_alicloud/hbr/ecs_backup_plan.py +53 -39
- pulumi_alicloud/hbr/get_backup_jobs.py +96 -81
- pulumi_alicloud/hbr/get_ecs_backup_clients.py +26 -15
- pulumi_alicloud/hbr/get_ecs_backup_plans.py +27 -13
- pulumi_alicloud/hbr/get_hana_backup_clients.py +28 -9
- pulumi_alicloud/hbr/get_hana_backup_plans.py +31 -13
- pulumi_alicloud/hbr/get_hana_instances.py +39 -13
- pulumi_alicloud/hbr/get_nas_backup_plans.py +27 -13
- pulumi_alicloud/hbr/get_oss_backup_plans.py +25 -11
- pulumi_alicloud/hbr/get_ots_backup_plans.py +29 -13
- pulumi_alicloud/hbr/get_ots_snapshots.py +22 -11
- pulumi_alicloud/hbr/get_replication_vault_regions.py +14 -9
- pulumi_alicloud/hbr/get_restore_jobs.py +49 -27
- pulumi_alicloud/hbr/get_server_backup_plans.py +30 -21
- pulumi_alicloud/hbr/get_service.py +14 -9
- pulumi_alicloud/hbr/get_snapshots.py +72 -43
- pulumi_alicloud/hbr/get_vaults.py +29 -11
- pulumi_alicloud/hbr/hana_backup_client.py +49 -36
- pulumi_alicloud/hbr/hana_backup_plan.py +50 -20
- pulumi_alicloud/hbr/hana_instance.py +25 -16
- pulumi_alicloud/hbr/nas_backup_plan.py +29 -19
- pulumi_alicloud/hbr/oss_backup_plan.py +20 -12
- pulumi_alicloud/hbr/ots_backup_plan.py +103 -97
- pulumi_alicloud/hbr/outputs.py +45 -14
- pulumi_alicloud/hbr/policy.py +48 -47
- pulumi_alicloud/hbr/policy_binding.py +237 -95
- pulumi_alicloud/hbr/replication_vault.py +15 -22
- pulumi_alicloud/hbr/restore_job.py +44 -43
- pulumi_alicloud/hbr/server_backup_plan.py +53 -41
- pulumi_alicloud/hbr/vault.py +29 -6
- pulumi_alicloud/hologram/_inputs.py +41 -0
- pulumi_alicloud/hologram/instance.py +24 -19
- pulumi_alicloud/hologram/outputs.py +5 -0
- pulumi_alicloud/imm/get_projects.py +16 -9
- pulumi_alicloud/imm/outputs.py +5 -0
- pulumi_alicloud/imm/project.py +7 -4
- pulumi_alicloud/imp/_inputs.py +23 -0
- pulumi_alicloud/imp/app_template.py +10 -9
- pulumi_alicloud/imp/get_app_templates.py +23 -11
- pulumi_alicloud/imp/outputs.py +5 -0
- pulumi_alicloud/ims/oidc_provider.py +5 -4
- pulumi_alicloud/iot/device_group.py +5 -4
- pulumi_alicloud/iot/get_device_groups.py +26 -9
- pulumi_alicloud/iot/get_service.py +14 -9
- pulumi_alicloud/iot/outputs.py +5 -0
- pulumi_alicloud/kms/_inputs.py +33 -4
- pulumi_alicloud/kms/alias.py +11 -10
- pulumi_alicloud/kms/application_access_point.py +5 -4
- pulumi_alicloud/kms/ciphertext.py +5 -4
- pulumi_alicloud/kms/client_key.py +9 -8
- pulumi_alicloud/kms/get_aliases.py +23 -11
- pulumi_alicloud/kms/get_ciphertext.py +18 -9
- pulumi_alicloud/kms/get_key_versions.py +24 -13
- pulumi_alicloud/kms/get_keys.py +26 -9
- pulumi_alicloud/kms/get_plaintext.py +19 -9
- pulumi_alicloud/kms/get_secret_versions.py +30 -13
- pulumi_alicloud/kms/get_secrets.py +37 -17
- pulumi_alicloud/kms/get_service.py +14 -9
- pulumi_alicloud/kms/instance.py +272 -153
- pulumi_alicloud/kms/key.py +347 -254
- pulumi_alicloud/kms/key_version.py +5 -4
- pulumi_alicloud/kms/network_rule.py +5 -4
- pulumi_alicloud/kms/outputs.py +28 -23
- pulumi_alicloud/kms/policy.py +5 -0
- pulumi_alicloud/kms/secret.py +231 -117
- pulumi_alicloud/kvstore/_inputs.py +23 -6
- pulumi_alicloud/kvstore/account.py +78 -63
- pulumi_alicloud/kvstore/audit_log_config.py +32 -31
- pulumi_alicloud/kvstore/backup_policy.py +58 -49
- pulumi_alicloud/kvstore/connection.py +31 -30
- pulumi_alicloud/kvstore/get_accounts.py +28 -13
- pulumi_alicloud/kvstore/get_connections.py +43 -10
- pulumi_alicloud/kvstore/get_instance_classes.py +78 -50
- pulumi_alicloud/kvstore/get_instance_engines.py +41 -28
- pulumi_alicloud/kvstore/get_instances.py +80 -23
- pulumi_alicloud/kvstore/get_permission.py +24 -19
- pulumi_alicloud/kvstore/get_zones.py +29 -13
- pulumi_alicloud/kvstore/instance.py +282 -142
- pulumi_alicloud/kvstore/outputs.py +67 -22
- pulumi_alicloud/lindorm/get_instances.py +29 -11
- pulumi_alicloud/lindorm/instance.py +34 -39
- pulumi_alicloud/lindorm/outputs.py +5 -0
- pulumi_alicloud/live/__init__.py +8 -0
- pulumi_alicloud/live/caster.py +1343 -0
- pulumi_alicloud/log/_inputs.py +467 -27
- pulumi_alicloud/log/alert.py +383 -412
- pulumi_alicloud/log/alert_resource.py +11 -10
- pulumi_alicloud/log/audit.py +21 -30
- pulumi_alicloud/log/dashboard.py +23 -16
- pulumi_alicloud/log/etl.py +133 -122
- pulumi_alicloud/log/get_alert_resource.py +21 -13
- pulumi_alicloud/log/get_projects.py +23 -7
- pulumi_alicloud/log/get_service.py +14 -9
- pulumi_alicloud/log/get_stores.py +21 -9
- pulumi_alicloud/log/ingestion.py +23 -18
- pulumi_alicloud/log/log_tail_attachment.py +57 -46
- pulumi_alicloud/log/log_tail_config.py +47 -38
- pulumi_alicloud/log/machine_group.py +19 -12
- pulumi_alicloud/log/oss_export.py +28 -23
- pulumi_alicloud/log/oss_shipper.py +28 -19
- pulumi_alicloud/log/outputs.py +30 -27
- pulumi_alicloud/log/project.py +85 -64
- pulumi_alicloud/log/resource.py +11 -10
- pulumi_alicloud/log/resource_record.py +13 -10
- pulumi_alicloud/log/store.py +153 -73
- pulumi_alicloud/log/store_index.py +59 -52
- pulumi_alicloud/marketplace/get_product.py +16 -9
- pulumi_alicloud/marketplace/get_products.py +32 -5
- pulumi_alicloud/marketplace/order.py +29 -28
- pulumi_alicloud/marketplace/outputs.py +5 -0
- pulumi_alicloud/maxcompute/_inputs.py +186 -44
- pulumi_alicloud/maxcompute/get_projects.py +33 -25
- pulumi_alicloud/maxcompute/get_service.py +18 -9
- pulumi_alicloud/maxcompute/outputs.py +126 -104
- pulumi_alicloud/maxcompute/project.py +248 -83
- pulumi_alicloud/message/get_service_queues.py +25 -9
- pulumi_alicloud/message/get_service_subscriptions.py +27 -9
- pulumi_alicloud/message/get_service_topics.py +25 -9
- pulumi_alicloud/message/outputs.py +5 -0
- pulumi_alicloud/message/service_queue.py +105 -78
- pulumi_alicloud/message/service_subscription.py +25 -10
- pulumi_alicloud/message/service_topic.py +5 -4
- pulumi_alicloud/mhub/app.py +11 -10
- pulumi_alicloud/mhub/get_apps.py +27 -11
- pulumi_alicloud/mhub/get_products.py +19 -9
- pulumi_alicloud/mhub/outputs.py +5 -0
- pulumi_alicloud/mhub/product.py +5 -4
- pulumi_alicloud/mns/get_queues.py +17 -9
- pulumi_alicloud/mns/get_service.py +14 -9
- pulumi_alicloud/mns/get_topic_subscriptions.py +23 -13
- pulumi_alicloud/mns/get_topics.py +17 -9
- pulumi_alicloud/mns/outputs.py +5 -0
- pulumi_alicloud/mns/queue.py +11 -8
- pulumi_alicloud/mns/topic.py +11 -8
- pulumi_alicloud/mns/topic_subscription.py +19 -14
- pulumi_alicloud/mongodb/__init__.py +1 -0
- pulumi_alicloud/mongodb/_inputs.py +265 -20
- pulumi_alicloud/mongodb/account.py +21 -18
- pulumi_alicloud/mongodb/audit_policy.py +21 -18
- pulumi_alicloud/mongodb/get_accounts.py +22 -13
- pulumi_alicloud/mongodb/get_audit_policies.py +18 -11
- pulumi_alicloud/mongodb/get_instances.py +38 -20
- pulumi_alicloud/mongodb/get_serverless_instances.py +45 -18
- pulumi_alicloud/mongodb/get_sharding_network_private_addresses.py +22 -7
- pulumi_alicloud/mongodb/get_sharding_network_public_addresses.py +22 -11
- pulumi_alicloud/mongodb/get_zones.py +19 -11
- pulumi_alicloud/mongodb/instance.py +312 -65
- pulumi_alicloud/mongodb/outputs.py +27 -26
- pulumi_alicloud/mongodb/private_srv_network_address.py +283 -0
- pulumi_alicloud/mongodb/serverless_instance.py +52 -51
- pulumi_alicloud/mongodb/sharding_instance.py +291 -107
- pulumi_alicloud/mongodb/sharding_network_private_address.py +91 -92
- pulumi_alicloud/mongodb/sharding_network_public_address.py +51 -48
- pulumi_alicloud/msc_sub_contract.py +5 -4
- pulumi_alicloud/msc_sub_subscription.py +9 -8
- pulumi_alicloud/msc_sub_webhook.py +5 -0
- pulumi_alicloud/mse/__init__.py +2 -0
- pulumi_alicloud/mse/_inputs.py +45 -0
- pulumi_alicloud/mse/cluster.py +196 -65
- pulumi_alicloud/mse/engine_namespace.py +191 -88
- pulumi_alicloud/mse/gateway.py +7 -2
- pulumi_alicloud/mse/get_clusters.py +99 -19
- pulumi_alicloud/mse/get_engine_namespaces.py +113 -24
- pulumi_alicloud/mse/get_gateways.py +31 -13
- pulumi_alicloud/mse/get_nacos_configs.py +394 -0
- pulumi_alicloud/mse/get_znodes.py +25 -9
- pulumi_alicloud/mse/nacos_config.py +762 -0
- pulumi_alicloud/mse/outputs.py +170 -8
- pulumi_alicloud/mse/znode.py +17 -16
- pulumi_alicloud/nas/__init__.py +2 -0
- pulumi_alicloud/nas/_inputs.py +317 -0
- pulumi_alicloud/nas/access_group.py +21 -24
- pulumi_alicloud/nas/access_point.py +756 -0
- pulumi_alicloud/nas/access_rule.py +43 -22
- pulumi_alicloud/nas/auto_snapshot_policy.py +116 -30
- pulumi_alicloud/nas/data_flow.py +25 -6
- pulumi_alicloud/nas/file_system.py +501 -234
- pulumi_alicloud/nas/fileset.py +27 -26
- pulumi_alicloud/nas/get_access_groups.py +31 -12
- pulumi_alicloud/nas/get_access_rules.py +24 -5
- pulumi_alicloud/nas/get_auto_snapshot_policies.py +21 -9
- pulumi_alicloud/nas/get_data_flows.py +22 -11
- pulumi_alicloud/nas/get_file_systems.py +31 -13
- pulumi_alicloud/nas/get_filesets.py +22 -11
- pulumi_alicloud/nas/get_lifecycle_policies.py +21 -9
- pulumi_alicloud/nas/get_mount_targets.py +34 -15
- pulumi_alicloud/nas/get_protocols.py +24 -15
- pulumi_alicloud/nas/get_service.py +14 -9
- pulumi_alicloud/nas/get_snapshots.py +27 -11
- pulumi_alicloud/nas/get_zones.py +16 -9
- pulumi_alicloud/nas/lifecycle_policy.py +17 -16
- pulumi_alicloud/nas/mount_target.py +81 -0
- pulumi_alicloud/nas/outputs.py +246 -0
- pulumi_alicloud/nas/recycle_bin.py +19 -18
- pulumi_alicloud/nas/smb_acl_attachment.py +13 -12
- pulumi_alicloud/nas/snapshot.py +19 -20
- pulumi_alicloud/nlb/_inputs.py +287 -64
- pulumi_alicloud/nlb/get_listeners.py +52 -7
- pulumi_alicloud/nlb/get_load_balancers.py +54 -24
- pulumi_alicloud/nlb/get_security_policies.py +32 -16
- pulumi_alicloud/nlb/get_server_group_server_attachments.py +30 -11
- pulumi_alicloud/nlb/get_server_groups.py +36 -18
- pulumi_alicloud/nlb/get_zones.py +15 -9
- pulumi_alicloud/nlb/listener.py +396 -321
- pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +30 -25
- pulumi_alicloud/nlb/load_balancer.py +357 -257
- pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +74 -79
- pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +69 -60
- pulumi_alicloud/nlb/outputs.py +136 -75
- pulumi_alicloud/nlb/security_policy.py +74 -45
- pulumi_alicloud/nlb/server_group.py +255 -148
- pulumi_alicloud/nlb/server_group_server_attachment.py +21 -20
- pulumi_alicloud/ocean/base_instance.py +519 -183
- pulumi_alicloud/ocean/get_base_instances.py +39 -13
- pulumi_alicloud/ocean/outputs.py +5 -0
- pulumi_alicloud/oos/application.py +29 -28
- pulumi_alicloud/oos/application_group.py +21 -20
- pulumi_alicloud/oos/default_patch_baseline.py +9 -8
- pulumi_alicloud/oos/execution.py +25 -16
- pulumi_alicloud/oos/get_application_groups.py +23 -9
- pulumi_alicloud/oos/get_applications.py +26 -14
- pulumi_alicloud/oos/get_executions.py +57 -18
- pulumi_alicloud/oos/get_parameters.py +42 -18
- pulumi_alicloud/oos/get_patch_baselines.py +29 -9
- pulumi_alicloud/oos/get_secret_parameters.py +149 -19
- pulumi_alicloud/oos/get_state_configurations.py +25 -14
- pulumi_alicloud/oos/get_templates.py +56 -22
- pulumi_alicloud/oos/outputs.py +41 -25
- pulumi_alicloud/oos/parameter.py +47 -18
- pulumi_alicloud/oos/patch_baseline.py +21 -74
- pulumi_alicloud/oos/secret_parameter.py +55 -26
- pulumi_alicloud/oos/service_setting.py +19 -16
- pulumi_alicloud/oos/state_configuration.py +25 -24
- pulumi_alicloud/oos/template.py +35 -28
- pulumi_alicloud/opensearch/_inputs.py +54 -0
- pulumi_alicloud/opensearch/app_group.py +25 -24
- pulumi_alicloud/opensearch/get_app_groups.py +45 -25
- pulumi_alicloud/opensearch/outputs.py +5 -0
- pulumi_alicloud/oss/__init__.py +17 -0
- pulumi_alicloud/oss/_inputs.py +2525 -13
- pulumi_alicloud/oss/access_point.py +463 -0
- pulumi_alicloud/oss/account_public_access_block.py +205 -0
- pulumi_alicloud/oss/bucket.py +128 -143
- pulumi_alicloud/oss/bucket_access_monitor.py +211 -0
- pulumi_alicloud/oss/bucket_acl.py +5 -0
- pulumi_alicloud/oss/bucket_cname.py +509 -0
- pulumi_alicloud/oss/bucket_cname_token.py +239 -0
- pulumi_alicloud/oss/bucket_cors.py +336 -0
- pulumi_alicloud/oss/bucket_data_redundancy_transition.py +303 -0
- pulumi_alicloud/oss/bucket_https_config.py +5 -0
- pulumi_alicloud/oss/bucket_logging.py +320 -0
- pulumi_alicloud/oss/bucket_meta_query.py +275 -0
- pulumi_alicloud/oss/bucket_object.py +25 -24
- pulumi_alicloud/oss/bucket_policy.py +17 -14
- pulumi_alicloud/oss/bucket_public_access_block.py +271 -0
- pulumi_alicloud/oss/bucket_referer.py +33 -30
- pulumi_alicloud/oss/bucket_replication.py +132 -129
- pulumi_alicloud/oss/bucket_request_payment.py +210 -0
- pulumi_alicloud/oss/bucket_server_side_encryption.py +385 -0
- pulumi_alicloud/oss/bucket_transfer_acceleration.py +210 -0
- pulumi_alicloud/oss/bucket_user_defined_log_fields.py +333 -0
- pulumi_alicloud/oss/bucket_versioning.py +210 -0
- pulumi_alicloud/oss/bucket_website.py +416 -0
- pulumi_alicloud/oss/bucket_worm.py +327 -0
- pulumi_alicloud/oss/get_bucket_objects.py +20 -9
- pulumi_alicloud/oss/get_buckets.py +17 -9
- pulumi_alicloud/oss/get_instance_attachments.py +20 -9
- pulumi_alicloud/oss/get_instances.py +26 -18
- pulumi_alicloud/oss/get_service.py +14 -9
- pulumi_alicloud/oss/get_tables.py +21 -5
- pulumi_alicloud/oss/outputs.py +1661 -15
- pulumi_alicloud/ots/_inputs.py +155 -0
- pulumi_alicloud/ots/get_instance_attachments.py +20 -9
- pulumi_alicloud/ots/get_instances.py +26 -18
- pulumi_alicloud/ots/get_search_indexes.py +23 -5
- pulumi_alicloud/ots/get_secondary_indexes.py +23 -5
- pulumi_alicloud/ots/get_service.py +14 -9
- pulumi_alicloud/ots/get_tables.py +21 -5
- pulumi_alicloud/ots/get_tunnels.py +27 -13
- pulumi_alicloud/ots/instance.py +118 -24
- pulumi_alicloud/ots/instance_attachment.py +21 -18
- pulumi_alicloud/ots/outputs.py +8 -7
- pulumi_alicloud/ots/search_index.py +124 -121
- pulumi_alicloud/ots/secondary_index.py +63 -60
- pulumi_alicloud/ots/table.py +220 -76
- pulumi_alicloud/ots/tunnel.py +41 -38
- pulumi_alicloud/outputs.py +5 -0
- pulumi_alicloud/pai/__init__.py +16 -0
- pulumi_alicloud/pai/_inputs.py +129 -0
- pulumi_alicloud/pai/outputs.py +83 -0
- pulumi_alicloud/pai/service.py +501 -0
- pulumi_alicloud/pai/workspace_code_source.py +702 -0
- pulumi_alicloud/pai/workspace_dataset.py +1081 -0
- pulumi_alicloud/pai/workspace_datasetversion.py +818 -0
- pulumi_alicloud/pai/workspace_experiment.py +394 -0
- pulumi_alicloud/pai/workspace_run.py +344 -0
- pulumi_alicloud/pai/workspace_workspace.py +447 -0
- pulumi_alicloud/polardb/_inputs.py +77 -0
- pulumi_alicloud/polardb/account.py +33 -32
- pulumi_alicloud/polardb/account_privilege.py +27 -24
- pulumi_alicloud/polardb/backup_policy.py +5 -0
- pulumi_alicloud/polardb/cluster.py +371 -103
- pulumi_alicloud/polardb/cluster_endpoint.py +33 -32
- pulumi_alicloud/polardb/database.py +19 -18
- pulumi_alicloud/polardb/endpoint.py +33 -32
- pulumi_alicloud/polardb/endpoint_address.py +23 -22
- pulumi_alicloud/polardb/get_accounts.py +37 -21
- pulumi_alicloud/polardb/get_clusters.py +37 -21
- pulumi_alicloud/polardb/get_databases.py +37 -21
- pulumi_alicloud/polardb/get_endpoints.py +24 -17
- pulumi_alicloud/polardb/get_global_database_networks.py +36 -17
- pulumi_alicloud/polardb/get_node_classes.py +28 -9
- pulumi_alicloud/polardb/get_parameter_groups.py +23 -9
- pulumi_alicloud/polardb/get_zones.py +19 -9
- pulumi_alicloud/polardb/global_database_network.py +19 -18
- pulumi_alicloud/polardb/outputs.py +9 -4
- pulumi_alicloud/polardb/parameter_group.py +22 -19
- pulumi_alicloud/polardb/primary_endpoint.py +19 -18
- pulumi_alicloud/privatelink/get_service.py +16 -11
- pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +39 -13
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_resources.py +25 -11
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_users.py +30 -11
- pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +84 -22
- pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +32 -13
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +56 -13
- pulumi_alicloud/privatelink/outputs.py +30 -14
- pulumi_alicloud/privatelink/vpc_endpoint.py +270 -108
- pulumi_alicloud/privatelink/vpc_endpoint_service.py +108 -109
- pulumi_alicloud/privatelink/vpc_endpoint_service_connection.py +56 -47
- pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +61 -59
- pulumi_alicloud/privatelink/vpc_endpoint_service_user.py +69 -29
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +66 -47
- pulumi_alicloud/provider.py +41 -40
- pulumi_alicloud/pulumi-plugin.json +2 -1
- pulumi_alicloud/pvtz/_inputs.py +85 -0
- pulumi_alicloud/pvtz/endpoint.py +10 -5
- pulumi_alicloud/pvtz/get_endpoints.py +21 -9
- pulumi_alicloud/pvtz/get_resolver_zones.py +18 -11
- pulumi_alicloud/pvtz/get_rules.py +21 -9
- pulumi_alicloud/pvtz/get_service.py +14 -9
- pulumi_alicloud/pvtz/get_zone_records.py +34 -13
- pulumi_alicloud/pvtz/get_zones.py +35 -11
- pulumi_alicloud/pvtz/outputs.py +5 -0
- pulumi_alicloud/pvtz/rule.py +10 -5
- pulumi_alicloud/pvtz/rule_attachment.py +10 -5
- pulumi_alicloud/pvtz/user_vpc_authorization.py +5 -4
- pulumi_alicloud/pvtz/zone.py +27 -32
- pulumi_alicloud/pvtz/zone_attachment.py +44 -55
- pulumi_alicloud/pvtz/zone_record.py +10 -15
- pulumi_alicloud/quickbi/get_users.py +20 -9
- pulumi_alicloud/quickbi/outputs.py +5 -0
- pulumi_alicloud/quickbi/user.py +5 -4
- pulumi_alicloud/quotas/__init__.py +1 -0
- pulumi_alicloud/quotas/_inputs.py +202 -28
- pulumi_alicloud/quotas/application_info.py +8 -3
- pulumi_alicloud/quotas/get_application_infos.py +32 -7
- pulumi_alicloud/quotas/get_quota_alarms.py +33 -13
- pulumi_alicloud/quotas/get_quota_applications.py +52 -25
- pulumi_alicloud/quotas/get_quotas.py +38 -13
- pulumi_alicloud/quotas/get_template_applications.py +98 -5
- pulumi_alicloud/quotas/outputs.py +12 -27
- pulumi_alicloud/quotas/quota_alarm.py +30 -29
- pulumi_alicloud/quotas/quota_application.py +31 -33
- pulumi_alicloud/quotas/template_applications.py +12 -7
- pulumi_alicloud/quotas/template_quota.py +24 -23
- pulumi_alicloud/quotas/template_service.py +170 -0
- pulumi_alicloud/ram/_inputs.py +83 -0
- pulumi_alicloud/ram/access_key.py +13 -8
- pulumi_alicloud/ram/account_alias.py +5 -4
- pulumi_alicloud/ram/account_password_policy.py +15 -18
- pulumi_alicloud/ram/alias.py +5 -0
- pulumi_alicloud/ram/get_account_alias.py +49 -7
- pulumi_alicloud/ram/get_account_aliases.py +14 -5
- pulumi_alicloud/ram/get_groups.py +29 -15
- pulumi_alicloud/ram/get_policies.py +97 -19
- pulumi_alicloud/ram/get_policy_document.py +148 -149
- pulumi_alicloud/ram/get_roles.py +27 -13
- pulumi_alicloud/ram/get_saml_providers.py +21 -9
- pulumi_alicloud/ram/get_users.py +75 -55
- pulumi_alicloud/ram/group.py +11 -6
- pulumi_alicloud/ram/group_membership.py +5 -0
- pulumi_alicloud/ram/group_policy_attachment.py +25 -10
- pulumi_alicloud/ram/login_profile.py +15 -12
- pulumi_alicloud/ram/outputs.py +5 -0
- pulumi_alicloud/ram/policy.py +34 -51
- pulumi_alicloud/ram/role.py +20 -37
- pulumi_alicloud/ram/role_attachment.py +31 -24
- pulumi_alicloud/ram/role_policy_attachment.py +21 -8
- pulumi_alicloud/ram/saml_provider.py +11 -14
- pulumi_alicloud/ram/security_preference.py +9 -8
- pulumi_alicloud/ram/user.py +11 -8
- pulumi_alicloud/ram/user_policy_attachment.py +21 -8
- pulumi_alicloud/rdc/get_organizations.py +33 -11
- pulumi_alicloud/rdc/organization.py +13 -8
- pulumi_alicloud/rdc/outputs.py +5 -0
- pulumi_alicloud/rds/__init__.py +2 -0
- pulumi_alicloud/rds/_inputs.py +583 -0
- pulumi_alicloud/rds/account.py +44 -71
- pulumi_alicloud/rds/account_privilege.py +17 -14
- pulumi_alicloud/rds/backup_policy.py +298 -69
- pulumi_alicloud/rds/connection.py +17 -16
- pulumi_alicloud/rds/custom.py +1630 -0
- pulumi_alicloud/rds/custom_deployment_set.py +525 -0
- pulumi_alicloud/rds/database.py +70 -23
- pulumi_alicloud/rds/db_instance_endpoint.py +48 -43
- pulumi_alicloud/rds/db_instance_endpoint_address.py +45 -40
- pulumi_alicloud/rds/db_node.py +33 -28
- pulumi_alicloud/rds/ddr_instance.py +29 -24
- pulumi_alicloud/rds/get_accounts.py +25 -11
- pulumi_alicloud/rds/get_character_set_names.py +18 -9
- pulumi_alicloud/rds/get_class_details.py +37 -17
- pulumi_alicloud/rds/get_collation_time_zones.py +20 -13
- pulumi_alicloud/rds/get_cross_region_backups.py +36 -11
- pulumi_alicloud/rds/get_cross_regions.py +19 -11
- pulumi_alicloud/rds/get_instance_class_infos.py +46 -9
- pulumi_alicloud/rds/get_instance_classes.py +61 -5
- pulumi_alicloud/rds/get_instance_engines.py +51 -5
- pulumi_alicloud/rds/get_instances.py +48 -17
- pulumi_alicloud/rds/get_modify_parameter_logs.py +24 -13
- pulumi_alicloud/rds/get_rds_backups.py +34 -31
- pulumi_alicloud/rds/get_rds_parameter_groups.py +21 -5
- pulumi_alicloud/rds/get_slots.py +18 -9
- pulumi_alicloud/rds/get_zones.py +59 -21
- pulumi_alicloud/rds/instance.py +406 -92
- pulumi_alicloud/rds/outputs.py +110 -0
- pulumi_alicloud/rds/rds_account.py +239 -128
- pulumi_alicloud/rds/rds_backup.py +9 -8
- pulumi_alicloud/rds/rds_clone_db_instance.py +40 -39
- pulumi_alicloud/rds/rds_db_proxy.py +107 -41
- pulumi_alicloud/rds/rds_instance_cross_backup_policy.py +23 -22
- pulumi_alicloud/rds/rds_parameter_group.py +26 -25
- pulumi_alicloud/rds/rds_service_linked_role.py +5 -4
- pulumi_alicloud/rds/rds_upgrade_db_instance.py +35 -34
- pulumi_alicloud/rds/read_only_instance.py +42 -37
- pulumi_alicloud/rds/read_write_splitting_connection.py +61 -58
- pulumi_alicloud/realtimecompute/_inputs.py +41 -0
- pulumi_alicloud/realtimecompute/outputs.py +5 -0
- pulumi_alicloud/realtimecompute/vvp_instance.py +29 -24
- pulumi_alicloud/redis/tair_instance.py +1483 -66
- pulumi_alicloud/resourcemanager/_inputs.py +21 -0
- pulumi_alicloud/resourcemanager/account.py +29 -28
- pulumi_alicloud/resourcemanager/control_policy.py +5 -4
- pulumi_alicloud/resourcemanager/control_policy_attachment.py +35 -34
- pulumi_alicloud/resourcemanager/delegated_administrator.py +17 -16
- pulumi_alicloud/resourcemanager/folder.py +13 -12
- pulumi_alicloud/resourcemanager/get_account_deletion_check_task.py +17 -9
- pulumi_alicloud/resourcemanager/get_accounts.py +20 -9
- pulumi_alicloud/resourcemanager/get_control_policies.py +27 -11
- pulumi_alicloud/resourcemanager/get_control_policy_attachments.py +23 -11
- pulumi_alicloud/resourcemanager/get_delegated_administrators.py +24 -11
- pulumi_alicloud/resourcemanager/get_folders.py +60 -37
- pulumi_alicloud/resourcemanager/get_handshakes.py +20 -9
- pulumi_alicloud/resourcemanager/get_policies.py +21 -5
- pulumi_alicloud/resourcemanager/get_policy_attachments.py +27 -9
- pulumi_alicloud/resourcemanager/get_policy_versions.py +22 -9
- pulumi_alicloud/resourcemanager/get_resource_directories.py +14 -9
- pulumi_alicloud/resourcemanager/get_resource_groups.py +23 -9
- pulumi_alicloud/resourcemanager/get_resource_shares.py +29 -13
- pulumi_alicloud/resourcemanager/get_roles.py +21 -9
- pulumi_alicloud/resourcemanager/get_shared_resources.py +20 -5
- pulumi_alicloud/resourcemanager/get_shared_targets.py +28 -17
- pulumi_alicloud/resourcemanager/handshake.py +9 -8
- pulumi_alicloud/resourcemanager/outputs.py +13 -8
- pulumi_alicloud/resourcemanager/policy.py +24 -29
- pulumi_alicloud/resourcemanager/policy_attachment.py +5 -0
- pulumi_alicloud/resourcemanager/policy_version.py +46 -51
- pulumi_alicloud/resourcemanager/resource_directory.py +33 -0
- pulumi_alicloud/resourcemanager/resource_group.py +30 -35
- pulumi_alicloud/resourcemanager/resource_share.py +5 -4
- pulumi_alicloud/resourcemanager/role.py +5 -4
- pulumi_alicloud/resourcemanager/saved_query.py +5 -4
- pulumi_alicloud/resourcemanager/service_linked_role.py +5 -4
- pulumi_alicloud/resourcemanager/shared_resource.py +59 -16
- pulumi_alicloud/resourcemanager/shared_target.py +11 -10
- pulumi_alicloud/rocketmq/_inputs.py +238 -22
- pulumi_alicloud/rocketmq/acl.py +7 -6
- pulumi_alicloud/rocketmq/acl_rule.py +11 -10
- pulumi_alicloud/rocketmq/client_user.py +19 -18
- pulumi_alicloud/rocketmq/consumer_group.py +56 -55
- pulumi_alicloud/rocketmq/dnat_entry.py +5 -4
- pulumi_alicloud/rocketmq/get_groups.py +32 -10
- pulumi_alicloud/rocketmq/get_instances.py +36 -16
- pulumi_alicloud/rocketmq/get_service.py +14 -9
- pulumi_alicloud/rocketmq/get_topics.py +36 -20
- pulumi_alicloud/rocketmq/group.py +28 -33
- pulumi_alicloud/rocketmq/instance.py +26 -31
- pulumi_alicloud/rocketmq/outputs.py +99 -30
- pulumi_alicloud/rocketmq/qos.py +7 -6
- pulumi_alicloud/rocketmq/qos_car.py +13 -10
- pulumi_alicloud/rocketmq/qos_policy.py +5 -0
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +337 -138
- pulumi_alicloud/rocketmq/rocket_mq_topic.py +43 -42
- pulumi_alicloud/rocketmq/snat_entry.py +5 -4
- pulumi_alicloud/rocketmq/topic.py +35 -42
- pulumi_alicloud/ros/_inputs.py +117 -12
- pulumi_alicloud/ros/change_set.py +18 -17
- pulumi_alicloud/ros/get_change_sets.py +29 -11
- pulumi_alicloud/ros/get_regions.py +14 -9
- pulumi_alicloud/ros/get_stack_groups.py +25 -11
- pulumi_alicloud/ros/get_stack_instances.py +38 -11
- pulumi_alicloud/ros/get_stacks.py +40 -18
- pulumi_alicloud/ros/get_template_scratches.py +26 -13
- pulumi_alicloud/ros/get_templates.py +34 -16
- pulumi_alicloud/ros/outputs.py +29 -22
- pulumi_alicloud/ros/stack.py +42 -45
- pulumi_alicloud/ros/stack_group.py +12 -13
- pulumi_alicloud/ros/stack_instance.py +92 -43
- pulumi_alicloud/ros/template.py +25 -26
- pulumi_alicloud/ros/template_scratch.py +41 -40
- pulumi_alicloud/sae/_inputs.py +692 -96
- pulumi_alicloud/sae/application.py +134 -193
- pulumi_alicloud/sae/application_scaling_rule.py +123 -122
- pulumi_alicloud/sae/config_map.py +17 -14
- pulumi_alicloud/sae/get_application_scaling_rules.py +18 -9
- pulumi_alicloud/sae/get_applications.py +46 -23
- pulumi_alicloud/sae/get_config_maps.py +33 -19
- pulumi_alicloud/sae/get_grey_tag_routes.py +21 -9
- pulumi_alicloud/sae/get_ingresses.py +22 -7
- pulumi_alicloud/sae/get_instance_specifications.py +16 -9
- pulumi_alicloud/sae/get_namespaces.py +19 -9
- pulumi_alicloud/sae/get_service.py +14 -9
- pulumi_alicloud/sae/grey_tag_route.py +91 -90
- pulumi_alicloud/sae/ingress.py +65 -64
- pulumi_alicloud/sae/load_balancer_internet.py +50 -47
- pulumi_alicloud/sae/load_balancer_intranet.py +50 -47
- pulumi_alicloud/sae/namespace.py +11 -10
- pulumi_alicloud/sae/outputs.py +22 -109
- pulumi_alicloud/sag/get_acls.py +23 -13
- pulumi_alicloud/sag/get_smartag_flow_logs.py +27 -9
- pulumi_alicloud/sag/outputs.py +5 -0
- pulumi_alicloud/sag/smartag_flow_log.py +5 -4
- pulumi_alicloud/scdn/_inputs.py +79 -0
- pulumi_alicloud/scdn/domain.py +32 -37
- pulumi_alicloud/scdn/domain_config.py +10 -5
- pulumi_alicloud/scdn/get_domains.py +27 -11
- pulumi_alicloud/scdn/outputs.py +5 -0
- pulumi_alicloud/schedulerx/__init__.py +3 -0
- pulumi_alicloud/schedulerx/_inputs.py +542 -0
- pulumi_alicloud/schedulerx/app_group.py +952 -0
- pulumi_alicloud/schedulerx/get_namespaces.py +19 -9
- pulumi_alicloud/schedulerx/job.py +1454 -0
- pulumi_alicloud/schedulerx/namespace.py +69 -55
- pulumi_alicloud/schedulerx/outputs.py +430 -0
- pulumi_alicloud/sddp/config.py +5 -4
- pulumi_alicloud/sddp/data_limit.py +5 -0
- pulumi_alicloud/sddp/get_configs.py +29 -17
- pulumi_alicloud/sddp/get_data_limits.py +35 -15
- pulumi_alicloud/sddp/get_instances.py +19 -11
- pulumi_alicloud/sddp/get_rules.py +84 -27
- pulumi_alicloud/sddp/instance.py +13 -12
- pulumi_alicloud/sddp/outputs.py +19 -14
- pulumi_alicloud/sddp/rule.py +138 -132
- pulumi_alicloud/securitycenter/get_groups.py +19 -9
- pulumi_alicloud/securitycenter/group.py +5 -4
- pulumi_alicloud/securitycenter/outputs.py +5 -0
- pulumi_alicloud/securitycenter/service_linked_role.py +7 -6
- pulumi_alicloud/selectdb/__init__.py +13 -0
- pulumi_alicloud/selectdb/_inputs.py +585 -0
- pulumi_alicloud/selectdb/db_cluster.py +835 -0
- pulumi_alicloud/selectdb/db_instance.py +1373 -0
- pulumi_alicloud/selectdb/get_db_clusters.py +195 -0
- pulumi_alicloud/selectdb/get_db_instances.py +204 -0
- pulumi_alicloud/selectdb/outputs.py +1127 -0
- pulumi_alicloud/servicecatalog/__init__.py +4 -0
- pulumi_alicloud/servicecatalog/_inputs.py +39 -0
- pulumi_alicloud/servicecatalog/get_end_user_products.py +26 -9
- pulumi_alicloud/servicecatalog/get_launch_options.py +28 -18
- pulumi_alicloud/servicecatalog/get_portfolios.py +35 -13
- pulumi_alicloud/servicecatalog/get_product_as_end_users.py +22 -9
- pulumi_alicloud/servicecatalog/get_product_versions.py +25 -12
- pulumi_alicloud/servicecatalog/get_provisioned_products.py +33 -12
- pulumi_alicloud/servicecatalog/outputs.py +9 -4
- pulumi_alicloud/servicecatalog/portfolio.py +36 -35
- pulumi_alicloud/servicecatalog/principal_portfolio_association.py +359 -0
- pulumi_alicloud/servicecatalog/product.py +388 -0
- pulumi_alicloud/servicecatalog/product_portfolio_association.py +227 -0
- pulumi_alicloud/servicecatalog/product_version.py +544 -0
- pulumi_alicloud/servicecatalog/provisioned_product.py +34 -33
- pulumi_alicloud/servicemesh/_inputs.py +1039 -114
- pulumi_alicloud/servicemesh/extension_provider.py +7 -2
- pulumi_alicloud/servicemesh/get_extension_providers.py +23 -9
- pulumi_alicloud/servicemesh/get_service_meshes.py +23 -5
- pulumi_alicloud/servicemesh/get_versions.py +26 -13
- pulumi_alicloud/servicemesh/outputs.py +615 -117
- pulumi_alicloud/servicemesh/service_mesh.py +170 -109
- pulumi_alicloud/servicemesh/user_permission.py +10 -5
- pulumi_alicloud/simpleapplicationserver/custom_image.py +23 -22
- pulumi_alicloud/simpleapplicationserver/firewall_rule.py +17 -16
- pulumi_alicloud/simpleapplicationserver/get_images.py +23 -13
- pulumi_alicloud/simpleapplicationserver/get_instances.py +27 -13
- pulumi_alicloud/simpleapplicationserver/get_server_custom_images.py +19 -9
- pulumi_alicloud/simpleapplicationserver/get_server_disks.py +27 -11
- pulumi_alicloud/simpleapplicationserver/get_server_firewall_rules.py +18 -9
- pulumi_alicloud/simpleapplicationserver/get_server_plans.py +30 -11
- pulumi_alicloud/simpleapplicationserver/get_server_snapshots.py +27 -11
- pulumi_alicloud/simpleapplicationserver/instance.py +5 -0
- pulumi_alicloud/simpleapplicationserver/outputs.py +5 -0
- pulumi_alicloud/simpleapplicationserver/snapshot.py +31 -22
- pulumi_alicloud/slb/_inputs.py +89 -8
- pulumi_alicloud/slb/acl.py +33 -34
- pulumi_alicloud/slb/acl_entry_attachment.py +15 -10
- pulumi_alicloud/slb/application_load_balancer.py +25 -32
- pulumi_alicloud/slb/attachment.py +39 -34
- pulumi_alicloud/slb/backend_server.py +10 -5
- pulumi_alicloud/slb/ca_certificate.py +26 -55
- pulumi_alicloud/slb/domain_extension.py +17 -14
- pulumi_alicloud/slb/get_acls.py +28 -14
- pulumi_alicloud/slb/get_application_load_balancers.py +68 -20
- pulumi_alicloud/slb/get_attachments.py +20 -11
- pulumi_alicloud/slb/get_backend_servers.py +20 -11
- pulumi_alicloud/slb/get_ca_certificates.py +28 -14
- pulumi_alicloud/slb/get_domain_extensions.py +26 -15
- pulumi_alicloud/slb/get_listeners.py +22 -9
- pulumi_alicloud/slb/get_load_balancers.py +70 -26
- pulumi_alicloud/slb/get_master_slave_server_groups.py +21 -5
- pulumi_alicloud/slb/get_rules.py +45 -25
- pulumi_alicloud/slb/get_server_certificates.py +28 -14
- pulumi_alicloud/slb/get_server_groups.py +33 -21
- pulumi_alicloud/slb/get_tls_cipher_policies.py +27 -11
- pulumi_alicloud/slb/get_zones.py +30 -16
- pulumi_alicloud/slb/listener.py +48 -608
- pulumi_alicloud/slb/load_balancer.py +62 -73
- pulumi_alicloud/slb/master_slave_server_group.py +72 -65
- pulumi_alicloud/slb/outputs.py +43 -48
- pulumi_alicloud/slb/rule.py +69 -20
- pulumi_alicloud/slb/server_certificate.py +59 -96
- pulumi_alicloud/slb/server_group.py +147 -92
- pulumi_alicloud/slb/server_group_server_attachment.py +129 -0
- pulumi_alicloud/slb/tls_cipher_policy.py +11 -10
- pulumi_alicloud/sls/__init__.py +13 -0
- pulumi_alicloud/sls/_inputs.py +2909 -0
- pulumi_alicloud/sls/alert.py +793 -0
- pulumi_alicloud/sls/collection_policy.py +561 -0
- pulumi_alicloud/sls/oss_export_sink.py +428 -0
- pulumi_alicloud/sls/outputs.py +2148 -0
- pulumi_alicloud/sls/scheduled_sql.py +528 -0
- pulumi_alicloud/sms/short_url.py +5 -4
- pulumi_alicloud/tag/get_meta_tags.py +16 -9
- pulumi_alicloud/tag/meta_tag.py +5 -4
- pulumi_alicloud/tag/outputs.py +5 -0
- pulumi_alicloud/tag/policy.py +7 -6
- pulumi_alicloud/tag/policy_attachment.py +13 -12
- pulumi_alicloud/threatdetection/_inputs.py +81 -0
- pulumi_alicloud/threatdetection/anti_brute_force_rule.py +11 -10
- pulumi_alicloud/threatdetection/backup_policy.py +11 -10
- pulumi_alicloud/threatdetection/baseline_strategy.py +13 -12
- pulumi_alicloud/threatdetection/client_file_protect.py +17 -16
- pulumi_alicloud/threatdetection/client_user_define_rule.py +5 -4
- pulumi_alicloud/threatdetection/file_upload_limit.py +5 -0
- pulumi_alicloud/threatdetection/get_anti_brute_force_rules.py +61 -5
- pulumi_alicloud/threatdetection/get_assets.py +30 -9
- pulumi_alicloud/threatdetection/get_backup_policies.py +29 -9
- pulumi_alicloud/threatdetection/get_baseline_strategies.py +63 -5
- pulumi_alicloud/threatdetection/get_honey_pots.py +26 -9
- pulumi_alicloud/threatdetection/get_honeypot_images.py +21 -9
- pulumi_alicloud/threatdetection/get_honeypot_nodes.py +29 -11
- pulumi_alicloud/threatdetection/get_honeypot_presets.py +36 -11
- pulumi_alicloud/threatdetection/get_honeypot_probes.py +46 -29
- pulumi_alicloud/threatdetection/get_instances.py +26 -11
- pulumi_alicloud/threatdetection/get_log_shipper.py +19 -9
- pulumi_alicloud/threatdetection/get_vul_whitelists.py +20 -9
- pulumi_alicloud/threatdetection/get_web_lock_configs.py +30 -11
- pulumi_alicloud/threatdetection/honey_pot.py +15 -14
- pulumi_alicloud/threatdetection/honeypot_node.py +5 -4
- pulumi_alicloud/threatdetection/honeypot_preset.py +28 -25
- pulumi_alicloud/threatdetection/honeypot_probe.py +32 -31
- pulumi_alicloud/threatdetection/image_event_operation.py +23 -26
- pulumi_alicloud/threatdetection/instance.py +339 -52
- pulumi_alicloud/threatdetection/malicious_file_whitelist_config.py +15 -14
- pulumi_alicloud/threatdetection/oss_scan_config.py +19 -18
- pulumi_alicloud/threatdetection/outputs.py +5 -0
- pulumi_alicloud/threatdetection/sas_trail.py +7 -6
- pulumi_alicloud/threatdetection/vul_whitelist.py +9 -8
- pulumi_alicloud/threatdetection/web_lock_config.py +11 -10
- pulumi_alicloud/tsdb/get_instances.py +30 -11
- pulumi_alicloud/tsdb/get_zones.py +15 -9
- pulumi_alicloud/tsdb/instance.py +23 -14
- pulumi_alicloud/tsdb/outputs.py +5 -0
- pulumi_alicloud/videosurveillance/get_service.py +14 -9
- pulumi_alicloud/videosurveillance/get_system_groups.py +33 -17
- pulumi_alicloud/videosurveillance/outputs.py +5 -0
- pulumi_alicloud/videosurveillance/system_group.py +5 -4
- pulumi_alicloud/vod/_inputs.py +29 -0
- pulumi_alicloud/vod/domain.py +58 -43
- pulumi_alicloud/vod/editing_project.py +5 -4
- pulumi_alicloud/vod/get_domains.py +52 -32
- pulumi_alicloud/vod/outputs.py +5 -0
- pulumi_alicloud/vpc/__init__.py +5 -0
- pulumi_alicloud/vpc/_inputs.py +349 -152
- pulumi_alicloud/vpc/bgp_group.py +17 -16
- pulumi_alicloud/vpc/bgp_network.py +17 -16
- pulumi_alicloud/vpc/bgp_peer.py +56 -27
- pulumi_alicloud/vpc/common_bandwith_package.py +215 -139
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +73 -44
- pulumi_alicloud/vpc/dhcp_options_set.py +27 -32
- pulumi_alicloud/vpc/dhcp_options_set_attachment.py +13 -12
- pulumi_alicloud/vpc/flow_log.py +19 -14
- pulumi_alicloud/vpc/forward_entry.py +24 -29
- pulumi_alicloud/vpc/gateway_endpoint.py +19 -18
- pulumi_alicloud/vpc/gateway_endpoint_route_table_attachment.py +5 -4
- pulumi_alicloud/vpc/gateway_route_table_attachment.py +17 -16
- pulumi_alicloud/vpc/get_bgp_groups.py +27 -13
- pulumi_alicloud/vpc/get_bgp_networks.py +24 -13
- pulumi_alicloud/vpc/get_bgp_peers.py +28 -15
- pulumi_alicloud/vpc/get_common_bandwidth_packages.py +37 -15
- pulumi_alicloud/vpc/get_dhcp_options_sets.py +29 -21
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +15 -5
- pulumi_alicloud/vpc/get_flow_log_service.py +14 -9
- pulumi_alicloud/vpc/get_forward_entries.py +53 -27
- pulumi_alicloud/vpc/get_havips.py +23 -11
- pulumi_alicloud/vpc/get_ipsec_servers.py +23 -9
- pulumi_alicloud/vpc/get_ipv4_gateways.py +27 -11
- pulumi_alicloud/vpc/get_ipv6_addresses.py +31 -11
- pulumi_alicloud/vpc/get_ipv6_egress_rules.py +31 -13
- pulumi_alicloud/vpc/get_ipv6_gateways.py +27 -11
- pulumi_alicloud/vpc/get_ipv6_internet_bandwidths.py +22 -9
- pulumi_alicloud/vpc/get_nat_gateways.py +49 -10
- pulumi_alicloud/vpc/get_nat_ip_cidrs.py +33 -15
- pulumi_alicloud/vpc/get_nat_ips.py +35 -15
- pulumi_alicloud/vpc/get_network_acls.py +33 -13
- pulumi_alicloud/vpc/get_networks.py +57 -20
- pulumi_alicloud/vpc/get_pbr_route_entries.py +18 -9
- pulumi_alicloud/vpc/get_peer_connections.py +44 -13
- pulumi_alicloud/vpc/get_prefix_lists.py +23 -9
- pulumi_alicloud/vpc/get_public_ip_address_pool_cidr_blocks.py +22 -9
- pulumi_alicloud/vpc/get_public_ip_address_pools.py +33 -15
- pulumi_alicloud/vpc/get_route_entries.py +70 -51
- pulumi_alicloud/vpc/get_route_tables.py +83 -29
- pulumi_alicloud/vpc/get_router_interfaces.py +33 -9
- pulumi_alicloud/vpc/get_snat_entries.py +53 -25
- pulumi_alicloud/vpc/get_ssl_vpn_client_certs.py +25 -13
- pulumi_alicloud/vpc/get_ssl_vpn_servers.py +25 -13
- pulumi_alicloud/vpc/get_switches.py +81 -49
- pulumi_alicloud/vpc/get_traffic_mirror_filter_egress_rules.py +22 -11
- pulumi_alicloud/vpc/get_traffic_mirror_filter_ingress_rules.py +22 -11
- pulumi_alicloud/vpc/get_traffic_mirror_filters.py +25 -11
- pulumi_alicloud/vpc/get_traffic_mirror_service.py +14 -9
- pulumi_alicloud/vpc/get_traffic_mirror_sessions.py +39 -15
- pulumi_alicloud/vpc/get_vpc_flow_logs.py +41 -15
- pulumi_alicloud/vpc/ha_vip.py +38 -35
- pulumi_alicloud/vpc/ha_vip_attachment.py +32 -35
- pulumi_alicloud/vpc/ha_vipv2.py +28 -33
- pulumi_alicloud/vpc/ipam_ipam.py +531 -0
- pulumi_alicloud/vpc/ipam_ipam_pool.py +850 -0
- pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +545 -0
- pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +313 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +537 -0
- pulumi_alicloud/vpc/ipv4_cidr_block.py +5 -4
- pulumi_alicloud/vpc/ipv4_gateway.py +27 -26
- pulumi_alicloud/vpc/ipv6_address.py +29 -28
- pulumi_alicloud/vpc/ipv6_egress_rule.py +67 -36
- pulumi_alicloud/vpc/ipv6_gateway.py +22 -27
- pulumi_alicloud/vpc/ipv6_internet_bandwidth.py +37 -32
- pulumi_alicloud/vpc/nat_gateway.py +208 -28
- pulumi_alicloud/vpc/nat_ip.py +19 -18
- pulumi_alicloud/vpc/nat_ip_cidr.py +17 -16
- pulumi_alicloud/vpc/network.py +612 -180
- pulumi_alicloud/vpc/network_acl.py +87 -92
- pulumi_alicloud/vpc/network_acl_attachment.py +30 -29
- pulumi_alicloud/vpc/network_acl_entries.py +83 -72
- pulumi_alicloud/vpc/network_interface.py +116 -71
- pulumi_alicloud/vpc/network_interface_attachment.py +39 -0
- pulumi_alicloud/vpc/outputs.py +128 -206
- pulumi_alicloud/vpc/peer_connection.py +330 -164
- pulumi_alicloud/vpc/peer_connection_accepter.py +379 -114
- pulumi_alicloud/vpc/prefix_list.py +34 -33
- pulumi_alicloud/vpc/public_ip_address_pool.py +143 -34
- pulumi_alicloud/vpc/public_ip_address_pool_cidr_block.py +13 -12
- pulumi_alicloud/vpc/route_entry.py +243 -154
- pulumi_alicloud/vpc/route_table.py +22 -27
- pulumi_alicloud/vpc/route_table_attachment.py +25 -18
- pulumi_alicloud/vpc/router_interface.py +20 -43
- pulumi_alicloud/vpc/router_interface_connection.py +29 -32
- pulumi_alicloud/vpc/snat_entry.py +21 -20
- pulumi_alicloud/vpc/subnet.py +80 -55
- pulumi_alicloud/vpc/switch.py +149 -151
- pulumi_alicloud/vpc/traffic_mirror_filter.py +65 -64
- pulumi_alicloud/vpc/traffic_mirror_filter_egress_rule.py +8 -13
- pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +16 -21
- pulumi_alicloud/vpc/traffic_mirror_session.py +53 -50
- pulumi_alicloud/vpc/vbr_ha.py +5 -0
- pulumi_alicloud/vpc/vpc_network_acl_attachment.py +5 -0
- pulumi_alicloud/vpc/vswitch_cidr_reservation.py +11 -10
- pulumi_alicloud/vpn/_inputs.py +405 -58
- pulumi_alicloud/vpn/connection.py +267 -48
- pulumi_alicloud/vpn/customer_gateway.py +22 -27
- pulumi_alicloud/vpn/gateway.py +25 -32
- pulumi_alicloud/vpn/gateway_vco_route.py +177 -107
- pulumi_alicloud/vpn/gateway_vpn_attachment.py +95 -92
- pulumi_alicloud/vpn/get_connections.py +31 -17
- pulumi_alicloud/vpn/get_customer_gateways.py +23 -13
- pulumi_alicloud/vpn/get_gateway_vco_routes.py +124 -105
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +34 -18
- pulumi_alicloud/vpn/get_gateway_zones.py +34 -9
- pulumi_alicloud/vpn/get_gateways.py +30 -8
- pulumi_alicloud/vpn/ipsec_server.py +43 -32
- pulumi_alicloud/vpn/outputs.py +16 -69
- pulumi_alicloud/vpn/pbr_route_entry.py +167 -24
- pulumi_alicloud/vpn/route_entry.py +167 -44
- pulumi_alicloud/vpn/ssl_vpn_client_cert.py +5 -0
- pulumi_alicloud/vpn/ssl_vpn_server.py +5 -0
- pulumi_alicloud/waf/_inputs.py +15 -0
- pulumi_alicloud/waf/certificate.py +15 -14
- pulumi_alicloud/waf/domain.py +33 -38
- pulumi_alicloud/waf/get_certificates.py +39 -13
- pulumi_alicloud/waf/get_domains.py +31 -13
- pulumi_alicloud/waf/get_instances.py +24 -11
- pulumi_alicloud/waf/instance.py +5 -16
- pulumi_alicloud/waf/outputs.py +7 -4
- pulumi_alicloud/waf/protection_module.py +23 -22
- pulumi_alicloud/wafv3/_inputs.py +173 -0
- pulumi_alicloud/wafv3/defense_template.py +11 -10
- pulumi_alicloud/wafv3/domain.py +15 -10
- pulumi_alicloud/wafv3/get_domains.py +36 -17
- pulumi_alicloud/wafv3/get_instances.py +25 -13
- pulumi_alicloud/wafv3/instance.py +5 -4
- pulumi_alicloud/wafv3/outputs.py +5 -0
- pulumi_alicloud/yundun/_inputs.py +43 -0
- pulumi_alicloud/yundun/bastion_host_instance.py +21 -16
- pulumi_alicloud/yundun/db_audit_instance.py +19 -14
- pulumi_alicloud/yundun/get_bastion_host_instances.py +24 -8
- pulumi_alicloud/yundun/get_db_audit_instance.py +24 -8
- pulumi_alicloud/yundun/outputs.py +9 -4
- {pulumi_alicloud-3.53.0a1713354491.dist-info → pulumi_alicloud-3.73.0a1736832142.dist-info}/METADATA +7 -6
- pulumi_alicloud-3.73.0a1736832142.dist-info/RECORD +2010 -0
- {pulumi_alicloud-3.53.0a1713354491.dist-info → pulumi_alicloud-3.73.0a1736832142.dist-info}/WHEEL +1 -1
- pulumi_alicloud-3.53.0a1713354491.dist-info/RECORD +0 -1863
- {pulumi_alicloud-3.53.0a1713354491.dist-info → pulumi_alicloud-3.73.0a1736832142.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ecs/instance.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -27,6 +32,7 @@ class InstanceArgs:
|
|
|
27
32
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
28
33
|
description: Optional[pulumi.Input[str]] = None,
|
|
29
34
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
35
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
30
36
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
31
37
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
32
38
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -34,6 +40,7 @@ class InstanceArgs:
|
|
|
34
40
|
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
|
|
35
41
|
http_tokens: Optional[pulumi.Input[str]] = None,
|
|
36
42
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
43
|
+
image_options: Optional[pulumi.Input['InstanceImageOptionsArgs']] = None,
|
|
37
44
|
include_data_disks: Optional[pulumi.Input[bool]] = None,
|
|
38
45
|
instance_charge_type: Optional[pulumi.Input[str]] = None,
|
|
39
46
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -46,19 +53,23 @@ class InstanceArgs:
|
|
|
46
53
|
is_outdated: Optional[pulumi.Input[bool]] = None,
|
|
47
54
|
key_name: Optional[pulumi.Input[str]] = None,
|
|
48
55
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
49
|
-
kms_encryption_context: Optional[pulumi.Input[Mapping[str,
|
|
56
|
+
kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
50
57
|
launch_template_id: Optional[pulumi.Input[str]] = None,
|
|
51
58
|
launch_template_name: Optional[pulumi.Input[str]] = None,
|
|
52
59
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
53
60
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
54
61
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
55
62
|
maintenance_time: Optional[pulumi.Input['InstanceMaintenanceTimeArgs']] = None,
|
|
63
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
64
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
56
65
|
network_interfaces: Optional[pulumi.Input['InstanceNetworkInterfacesArgs']] = None,
|
|
57
66
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
58
67
|
password: Optional[pulumi.Input[str]] = None,
|
|
68
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
59
69
|
period: Optional[pulumi.Input[int]] = None,
|
|
60
70
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
61
71
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
72
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
62
73
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
63
74
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
64
75
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -83,12 +94,13 @@ class InstanceArgs:
|
|
|
83
94
|
system_disk_storage_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
84
95
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
85
96
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
86
|
-
volume_tags: Optional[pulumi.Input[Mapping[str,
|
|
97
|
+
volume_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
98
|
+
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
87
99
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
88
100
|
"""
|
|
89
101
|
The set of arguments for constructing a Instance resource.
|
|
90
102
|
:param pulumi.Input[bool] allocate_public_ip: It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
|
|
91
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
103
|
+
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
92
104
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
93
105
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
94
106
|
:param pulumi.Input[int] auto_renew_period: Auto renewal period of an instance, in the unit of month. It is valid when `instance_charge_type` is `PrePaid`. Default to 1. Valid value:
|
|
@@ -103,20 +115,36 @@ class InstanceArgs:
|
|
|
103
115
|
- false: Disable deletion protection.
|
|
104
116
|
:param pulumi.Input[str] deployment_set_id: The ID of the deployment set to which to deploy the instance. **NOTE:** From version 1.176.0, instance's deploymentSetId can be removed when 'deployment_set_id' = "".
|
|
105
117
|
:param pulumi.Input[str] description: Description of the instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
|
|
106
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
118
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
107
119
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
108
120
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
121
|
+
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
109
122
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
110
123
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
111
124
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
112
125
|
On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
|
|
113
126
|
:param pulumi.Input[str] hpc_cluster_id: The ID of the Elastic High Performance Computing (E-HPC) cluster to which to assign the instance.
|
|
114
127
|
:param pulumi.Input[str] http_endpoint: Specifies whether to enable the access channel for instance metadata. Valid values: `enabled`, `disabled`. Default value: `enabled`.
|
|
115
|
-
:param pulumi.Input[int] http_put_response_hop_limit: The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
128
|
+
:param pulumi.Input[int] http_put_response_hop_limit: **NOTE:**: This parameter is not available for use yet. The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
116
129
|
:param pulumi.Input[str] http_tokens: Specifies whether to forcefully use the security-enhanced mode (IMDSv2) to access instance metadata. Default value: optional. Valid values:
|
|
117
130
|
- optional: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
118
131
|
- required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
119
132
|
:param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
|
|
133
|
+
:param pulumi.Input['InstanceImageOptionsArgs'] image_options: The options of images. See `image_options` below.
|
|
134
|
+
|
|
135
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
136
|
+
|
|
137
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
138
|
+
|
|
139
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
140
|
+
|
|
141
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
142
|
+
|
|
143
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
144
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
145
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
146
|
+
|
|
147
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
120
148
|
:param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
|
|
121
149
|
:param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
|
|
122
150
|
**NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
|
|
@@ -131,31 +159,24 @@ class InstanceArgs:
|
|
|
131
159
|
:param pulumi.Input[bool] is_outdated: Whether to use outdated instance type. Default to false.
|
|
132
160
|
:param pulumi.Input[str] key_name: The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
|
|
133
161
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to an instance. If the `password` is filled in, this field will be ignored. When it is changed, the instance will reboot to make the change take effect.
|
|
134
|
-
:param pulumi.Input[Mapping[str,
|
|
162
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating an instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set. When it is changed, the instance will reboot to make the change take effect.
|
|
135
163
|
:param pulumi.Input[str] launch_template_id: The ID of the launch template. For more information, see [DescribeLaunchTemplates](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-describelaunchtemplates).To use a launch template to create an instance, you must use the `launch_template_id` or `launch_template_name` parameter to specify the launch template.
|
|
136
164
|
:param pulumi.Input[str] launch_template_name: The name of the launch template.
|
|
137
165
|
:param pulumi.Input[str] launch_template_version: The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
141
|
-
|
|
142
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
143
|
-
|
|
144
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
145
|
-
|
|
146
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
147
|
-
|
|
148
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
149
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
150
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
151
|
-
|
|
152
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
153
166
|
:param pulumi.Input[str] maintenance_action: The maintenance action. Valid values: `Stop`, `AutoRecover` and `AutoRedeploy`.
|
|
167
|
+
* `Stop` : stops the instance.
|
|
168
|
+
* `AutoRecover` : automatically recovers the instance.
|
|
169
|
+
* `AutoRedeploy` : fails the instance over, which may cause damage to the data disks attached to the instance.
|
|
154
170
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
155
171
|
:param pulumi.Input['InstanceMaintenanceTimeArgs'] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
172
|
+
:param pulumi.Input[int] network_card_index: The index of the network card for Primary ENI.
|
|
173
|
+
:param pulumi.Input[str] network_interface_traffic_mode: The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
174
|
+
- `Standard`: Uses the TCP communication mode.
|
|
175
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
156
176
|
:param pulumi.Input['InstanceNetworkInterfacesArgs'] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
157
177
|
:param pulumi.Input[str] operator_type: The operation type. It is valid when `instance_charge_type` is `PrePaid`. Default value: `upgrade`. Valid values: `upgrade`, `downgrade`. **NOTE:** When the new instance type specified by the `instance_type` parameter has lower specifications than the current instance type, you must set `operator_type` to `downgrade`.
|
|
158
178
|
:param pulumi.Input[str] password: Password to an instance is a string of 8 to 30 characters. It must contain uppercase/lowercase letters and numerals, but cannot contain special symbols. When it is changed, the instance will reboot to make the change take effect.
|
|
179
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
159
180
|
:param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid and required when `instance_charge_type` is `PrePaid`. Valid values:
|
|
160
181
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
161
182
|
- [1-3] when `period_unit` in "Week"
|
|
@@ -163,11 +184,15 @@ class InstanceArgs:
|
|
|
163
184
|
> **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
|
|
164
185
|
:param pulumi.Input[str] period_unit: The duration unit that you will buy the resource. It is valid when `instance_charge_type` is 'PrePaid'. Valid value: ["Week", "Month"]. Default to "Month".
|
|
165
186
|
:param pulumi.Input[str] private_ip: Instance private IP address can be specified when you creating new instance. It is valid when `vswitch_id` is specified. When it is changed, the instance will reboot to make the change take effect.
|
|
187
|
+
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
166
188
|
:param pulumi.Input[str] renewal_status: Whether to renew an ECS instance automatically or not. It is valid when `instance_charge_type` is `PrePaid`. Default to "Normal". Valid values:
|
|
189
|
+
- `AutoRenewal`: Enable auto renewal.
|
|
190
|
+
- `Normal`: Disable auto renewal.
|
|
191
|
+
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
167
192
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
168
193
|
: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.
|
|
169
194
|
: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.
|
|
170
|
-
: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
|
|
195
|
+
: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.
|
|
171
196
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
172
197
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
173
198
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -182,8 +207,10 @@ class InstanceArgs:
|
|
|
182
207
|
Default to NoSpot. Note: Currently, the spot instance only supports domestic site account.
|
|
183
208
|
:param pulumi.Input[str] status: The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`.
|
|
184
209
|
:param pulumi.Input[str] stopped_mode: The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
210
|
+
* `KeepCharging`: standard mode. Billing of the instance continues after the instance is stopped, and resources are retained for the instance.
|
|
211
|
+
* `StopCharging`: economical mode. Billing of some resources of the instance stops after the instance is stopped. When the instance is stopped, its resources such as vCPUs, memory, and public IP address are released. You may be unable to restart the instance if some types of resources are out of stock in the current region.
|
|
185
212
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
186
|
-
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
213
|
+
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
187
214
|
:param pulumi.Input[str] system_disk_description: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
188
215
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The algorithm to be used to encrypt the system disk. Valid values are `aes-256`, `sm4-128`. Default value is `aes-256`.
|
|
189
216
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -199,9 +226,10 @@ class InstanceArgs:
|
|
|
199
226
|
It supports to setting a base64-encoded value, and it is the recommended usage.
|
|
200
227
|
From version 1.60.0, it can be updated in-place. If updated, the instance will reboot to make the change take effect.
|
|
201
228
|
Note: Not all changes will take effect, and it depends on [cloud-init module type](https://cloudinit.readthedocs.io/en/latest/topics/modules.html).
|
|
202
|
-
:param pulumi.Input[Mapping[str,
|
|
229
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
203
230
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
204
231
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
232
|
+
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
205
233
|
:param pulumi.Input[str] vswitch_id: The virtual switch ID to launch in VPC. This parameter must be set unless you can create classic network instances. When it is changed, the instance will reboot to make the change take effect.
|
|
206
234
|
"""
|
|
207
235
|
if allocate_public_ip is not None:
|
|
@@ -229,6 +257,8 @@ class InstanceArgs:
|
|
|
229
257
|
pulumi.set(__self__, "description", description)
|
|
230
258
|
if dry_run is not None:
|
|
231
259
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
260
|
+
if enable_jumbo_frame is not None:
|
|
261
|
+
pulumi.set(__self__, "enable_jumbo_frame", enable_jumbo_frame)
|
|
232
262
|
if force_delete is not None:
|
|
233
263
|
pulumi.set(__self__, "force_delete", force_delete)
|
|
234
264
|
if host_name is not None:
|
|
@@ -243,6 +273,8 @@ class InstanceArgs:
|
|
|
243
273
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
244
274
|
if image_id is not None:
|
|
245
275
|
pulumi.set(__self__, "image_id", image_id)
|
|
276
|
+
if image_options is not None:
|
|
277
|
+
pulumi.set(__self__, "image_options", image_options)
|
|
246
278
|
if include_data_disks is not None:
|
|
247
279
|
pulumi.set(__self__, "include_data_disks", include_data_disks)
|
|
248
280
|
if instance_charge_type is not None:
|
|
@@ -284,18 +316,26 @@ class InstanceArgs:
|
|
|
284
316
|
pulumi.set(__self__, "maintenance_notify", maintenance_notify)
|
|
285
317
|
if maintenance_time is not None:
|
|
286
318
|
pulumi.set(__self__, "maintenance_time", maintenance_time)
|
|
319
|
+
if network_card_index is not None:
|
|
320
|
+
pulumi.set(__self__, "network_card_index", network_card_index)
|
|
321
|
+
if network_interface_traffic_mode is not None:
|
|
322
|
+
pulumi.set(__self__, "network_interface_traffic_mode", network_interface_traffic_mode)
|
|
287
323
|
if network_interfaces is not None:
|
|
288
324
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
|
289
325
|
if operator_type is not None:
|
|
290
326
|
pulumi.set(__self__, "operator_type", operator_type)
|
|
291
327
|
if password is not None:
|
|
292
328
|
pulumi.set(__self__, "password", password)
|
|
329
|
+
if password_inherit is not None:
|
|
330
|
+
pulumi.set(__self__, "password_inherit", password_inherit)
|
|
293
331
|
if period is not None:
|
|
294
332
|
pulumi.set(__self__, "period", period)
|
|
295
333
|
if period_unit is not None:
|
|
296
334
|
pulumi.set(__self__, "period_unit", period_unit)
|
|
297
335
|
if private_ip is not None:
|
|
298
336
|
pulumi.set(__self__, "private_ip", private_ip)
|
|
337
|
+
if queue_pair_number is not None:
|
|
338
|
+
pulumi.set(__self__, "queue_pair_number", queue_pair_number)
|
|
299
339
|
if renewal_status is not None:
|
|
300
340
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
301
341
|
if resource_group_id is not None:
|
|
@@ -346,18 +386,18 @@ class InstanceArgs:
|
|
|
346
386
|
pulumi.set(__self__, "user_data", user_data)
|
|
347
387
|
if volume_tags is not None:
|
|
348
388
|
pulumi.set(__self__, "volume_tags", volume_tags)
|
|
389
|
+
if vpc_id is not None:
|
|
390
|
+
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
349
391
|
if vswitch_id is not None:
|
|
350
392
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
351
393
|
|
|
352
394
|
@property
|
|
353
395
|
@pulumi.getter(name="allocatePublicIp")
|
|
396
|
+
@_utilities.deprecated("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
|
|
354
397
|
def allocate_public_ip(self) -> Optional[pulumi.Input[bool]]:
|
|
355
398
|
"""
|
|
356
399
|
It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
|
|
357
400
|
"""
|
|
358
|
-
warnings.warn("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""", DeprecationWarning)
|
|
359
|
-
pulumi.log.warn("""allocate_public_ip is deprecated: Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
|
|
360
|
-
|
|
361
401
|
return pulumi.get(self, "allocate_public_ip")
|
|
362
402
|
|
|
363
403
|
@allocate_public_ip.setter
|
|
@@ -368,7 +408,7 @@ class InstanceArgs:
|
|
|
368
408
|
@pulumi.getter(name="autoReleaseTime")
|
|
369
409
|
def auto_release_time(self) -> Optional[pulumi.Input[str]]:
|
|
370
410
|
"""
|
|
371
|
-
The automatic release time of the `PostPaid` instance.
|
|
411
|
+
The automatic release time of the `PostPaid` instance.
|
|
372
412
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
373
413
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
374
414
|
"""
|
|
@@ -482,7 +522,7 @@ class InstanceArgs:
|
|
|
482
522
|
@pulumi.getter(name="dryRun")
|
|
483
523
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
484
524
|
"""
|
|
485
|
-
Specifies whether to send a dry-run request. Default to false.
|
|
525
|
+
Specifies whether to send a dry-run request. Default to false.
|
|
486
526
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
487
527
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
488
528
|
"""
|
|
@@ -492,6 +532,18 @@ class InstanceArgs:
|
|
|
492
532
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
493
533
|
pulumi.set(self, "dry_run", value)
|
|
494
534
|
|
|
535
|
+
@property
|
|
536
|
+
@pulumi.getter(name="enableJumboFrame")
|
|
537
|
+
def enable_jumbo_frame(self) -> Optional[pulumi.Input[bool]]:
|
|
538
|
+
"""
|
|
539
|
+
Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
540
|
+
"""
|
|
541
|
+
return pulumi.get(self, "enable_jumbo_frame")
|
|
542
|
+
|
|
543
|
+
@enable_jumbo_frame.setter
|
|
544
|
+
def enable_jumbo_frame(self, value: Optional[pulumi.Input[bool]]):
|
|
545
|
+
pulumi.set(self, "enable_jumbo_frame", value)
|
|
546
|
+
|
|
495
547
|
@property
|
|
496
548
|
@pulumi.getter(name="forceDelete")
|
|
497
549
|
def force_delete(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -546,7 +598,7 @@ class InstanceArgs:
|
|
|
546
598
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
547
599
|
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[int]]:
|
|
548
600
|
"""
|
|
549
|
-
The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
601
|
+
**NOTE:**: This parameter is not available for use yet. The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
550
602
|
"""
|
|
551
603
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
552
604
|
|
|
@@ -580,6 +632,32 @@ class InstanceArgs:
|
|
|
580
632
|
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
581
633
|
pulumi.set(self, "image_id", value)
|
|
582
634
|
|
|
635
|
+
@property
|
|
636
|
+
@pulumi.getter(name="imageOptions")
|
|
637
|
+
def image_options(self) -> Optional[pulumi.Input['InstanceImageOptionsArgs']]:
|
|
638
|
+
"""
|
|
639
|
+
The options of images. See `image_options` below.
|
|
640
|
+
|
|
641
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
642
|
+
|
|
643
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
644
|
+
|
|
645
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
646
|
+
|
|
647
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
648
|
+
|
|
649
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
650
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
651
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
652
|
+
|
|
653
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
654
|
+
"""
|
|
655
|
+
return pulumi.get(self, "image_options")
|
|
656
|
+
|
|
657
|
+
@image_options.setter
|
|
658
|
+
def image_options(self, value: Optional[pulumi.Input['InstanceImageOptionsArgs']]):
|
|
659
|
+
pulumi.set(self, "image_options", value)
|
|
660
|
+
|
|
583
661
|
@property
|
|
584
662
|
@pulumi.getter(name="includeDataDisks")
|
|
585
663
|
def include_data_disks(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -642,13 +720,11 @@ class InstanceArgs:
|
|
|
642
720
|
|
|
643
721
|
@property
|
|
644
722
|
@pulumi.getter(name="internetMaxBandwidthIn")
|
|
723
|
+
@_utilities.deprecated("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
|
|
645
724
|
def internet_max_bandwidth_in(self) -> Optional[pulumi.Input[int]]:
|
|
646
725
|
"""
|
|
647
726
|
Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). Value range: [1, 200]. If this value is not specified, then automatically sets it to 200 Mbps.
|
|
648
727
|
"""
|
|
649
|
-
warnings.warn("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""", DeprecationWarning)
|
|
650
|
-
pulumi.log.warn("""internet_max_bandwidth_in is deprecated: The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
|
|
651
|
-
|
|
652
728
|
return pulumi.get(self, "internet_max_bandwidth_in")
|
|
653
729
|
|
|
654
730
|
@internet_max_bandwidth_in.setter
|
|
@@ -729,14 +805,14 @@ class InstanceArgs:
|
|
|
729
805
|
|
|
730
806
|
@property
|
|
731
807
|
@pulumi.getter(name="kmsEncryptionContext")
|
|
732
|
-
def kms_encryption_context(self) -> Optional[pulumi.Input[Mapping[str,
|
|
808
|
+
def kms_encryption_context(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
733
809
|
"""
|
|
734
810
|
An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating an instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set. When it is changed, the instance will reboot to make the change take effect.
|
|
735
811
|
"""
|
|
736
812
|
return pulumi.get(self, "kms_encryption_context")
|
|
737
813
|
|
|
738
814
|
@kms_encryption_context.setter
|
|
739
|
-
def kms_encryption_context(self, value: Optional[pulumi.Input[Mapping[str,
|
|
815
|
+
def kms_encryption_context(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
740
816
|
pulumi.set(self, "kms_encryption_context", value)
|
|
741
817
|
|
|
742
818
|
@property
|
|
@@ -768,21 +844,6 @@ class InstanceArgs:
|
|
|
768
844
|
def launch_template_version(self) -> Optional[pulumi.Input[str]]:
|
|
769
845
|
"""
|
|
770
846
|
The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
774
|
-
|
|
775
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
776
|
-
|
|
777
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
778
|
-
|
|
779
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
780
|
-
|
|
781
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
782
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
783
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
784
|
-
|
|
785
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
786
847
|
"""
|
|
787
848
|
return pulumi.get(self, "launch_template_version")
|
|
788
849
|
|
|
@@ -795,6 +856,9 @@ class InstanceArgs:
|
|
|
795
856
|
def maintenance_action(self) -> Optional[pulumi.Input[str]]:
|
|
796
857
|
"""
|
|
797
858
|
The maintenance action. Valid values: `Stop`, `AutoRecover` and `AutoRedeploy`.
|
|
859
|
+
* `Stop` : stops the instance.
|
|
860
|
+
* `AutoRecover` : automatically recovers the instance.
|
|
861
|
+
* `AutoRedeploy` : fails the instance over, which may cause damage to the data disks attached to the instance.
|
|
798
862
|
"""
|
|
799
863
|
return pulumi.get(self, "maintenance_action")
|
|
800
864
|
|
|
@@ -826,6 +890,32 @@ class InstanceArgs:
|
|
|
826
890
|
def maintenance_time(self, value: Optional[pulumi.Input['InstanceMaintenanceTimeArgs']]):
|
|
827
891
|
pulumi.set(self, "maintenance_time", value)
|
|
828
892
|
|
|
893
|
+
@property
|
|
894
|
+
@pulumi.getter(name="networkCardIndex")
|
|
895
|
+
def network_card_index(self) -> Optional[pulumi.Input[int]]:
|
|
896
|
+
"""
|
|
897
|
+
The index of the network card for Primary ENI.
|
|
898
|
+
"""
|
|
899
|
+
return pulumi.get(self, "network_card_index")
|
|
900
|
+
|
|
901
|
+
@network_card_index.setter
|
|
902
|
+
def network_card_index(self, value: Optional[pulumi.Input[int]]):
|
|
903
|
+
pulumi.set(self, "network_card_index", value)
|
|
904
|
+
|
|
905
|
+
@property
|
|
906
|
+
@pulumi.getter(name="networkInterfaceTrafficMode")
|
|
907
|
+
def network_interface_traffic_mode(self) -> Optional[pulumi.Input[str]]:
|
|
908
|
+
"""
|
|
909
|
+
The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
910
|
+
- `Standard`: Uses the TCP communication mode.
|
|
911
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
912
|
+
"""
|
|
913
|
+
return pulumi.get(self, "network_interface_traffic_mode")
|
|
914
|
+
|
|
915
|
+
@network_interface_traffic_mode.setter
|
|
916
|
+
def network_interface_traffic_mode(self, value: Optional[pulumi.Input[str]]):
|
|
917
|
+
pulumi.set(self, "network_interface_traffic_mode", value)
|
|
918
|
+
|
|
829
919
|
@property
|
|
830
920
|
@pulumi.getter(name="networkInterfaces")
|
|
831
921
|
def network_interfaces(self) -> Optional[pulumi.Input['InstanceNetworkInterfacesArgs']]:
|
|
@@ -862,6 +952,18 @@ class InstanceArgs:
|
|
|
862
952
|
def password(self, value: Optional[pulumi.Input[str]]):
|
|
863
953
|
pulumi.set(self, "password", value)
|
|
864
954
|
|
|
955
|
+
@property
|
|
956
|
+
@pulumi.getter(name="passwordInherit")
|
|
957
|
+
def password_inherit(self) -> Optional[pulumi.Input[bool]]:
|
|
958
|
+
"""
|
|
959
|
+
Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
960
|
+
"""
|
|
961
|
+
return pulumi.get(self, "password_inherit")
|
|
962
|
+
|
|
963
|
+
@password_inherit.setter
|
|
964
|
+
def password_inherit(self, value: Optional[pulumi.Input[bool]]):
|
|
965
|
+
pulumi.set(self, "password_inherit", value)
|
|
966
|
+
|
|
865
967
|
@property
|
|
866
968
|
@pulumi.getter
|
|
867
969
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -902,11 +1004,26 @@ class InstanceArgs:
|
|
|
902
1004
|
def private_ip(self, value: Optional[pulumi.Input[str]]):
|
|
903
1005
|
pulumi.set(self, "private_ip", value)
|
|
904
1006
|
|
|
1007
|
+
@property
|
|
1008
|
+
@pulumi.getter(name="queuePairNumber")
|
|
1009
|
+
def queue_pair_number(self) -> Optional[pulumi.Input[int]]:
|
|
1010
|
+
"""
|
|
1011
|
+
The number of queues supported by the ERI.
|
|
1012
|
+
"""
|
|
1013
|
+
return pulumi.get(self, "queue_pair_number")
|
|
1014
|
+
|
|
1015
|
+
@queue_pair_number.setter
|
|
1016
|
+
def queue_pair_number(self, value: Optional[pulumi.Input[int]]):
|
|
1017
|
+
pulumi.set(self, "queue_pair_number", value)
|
|
1018
|
+
|
|
905
1019
|
@property
|
|
906
1020
|
@pulumi.getter(name="renewalStatus")
|
|
907
1021
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
908
1022
|
"""
|
|
909
1023
|
Whether to renew an ECS instance automatically or not. It is valid when `instance_charge_type` is `PrePaid`. Default to "Normal". Valid values:
|
|
1024
|
+
- `AutoRenewal`: Enable auto renewal.
|
|
1025
|
+
- `Normal`: Disable auto renewal.
|
|
1026
|
+
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
910
1027
|
"""
|
|
911
1028
|
return pulumi.get(self, "renewal_status")
|
|
912
1029
|
|
|
@@ -954,7 +1071,7 @@ class InstanceArgs:
|
|
|
954
1071
|
@pulumi.getter(name="secondaryPrivateIps")
|
|
955
1072
|
def secondary_private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
956
1073
|
"""
|
|
957
|
-
A list of Secondary private IP addresses which is selected from within the CIDR block of the
|
|
1074
|
+
A list of Secondary private IP addresses which is selected from within the CIDR block of the vSwitch.
|
|
958
1075
|
"""
|
|
959
1076
|
return pulumi.get(self, "secondary_private_ips")
|
|
960
1077
|
|
|
@@ -1046,6 +1163,8 @@ class InstanceArgs:
|
|
|
1046
1163
|
def stopped_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1047
1164
|
"""
|
|
1048
1165
|
The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
1166
|
+
* `KeepCharging`: standard mode. Billing of the instance continues after the instance is stopped, and resources are retained for the instance.
|
|
1167
|
+
* `StopCharging`: economical mode. Billing of some resources of the instance stops after the instance is stopped. When the instance is stopped, its resources such as vCPUs, memory, and public IP address are released. You may be unable to restart the instance if some types of resources are out of stock in the current region.
|
|
1049
1168
|
"""
|
|
1050
1169
|
return pulumi.get(self, "stopped_mode")
|
|
1051
1170
|
|
|
@@ -1069,7 +1188,7 @@ class InstanceArgs:
|
|
|
1069
1188
|
@pulumi.getter(name="systemDiskCategory")
|
|
1070
1189
|
def system_disk_category(self) -> Optional[pulumi.Input[str]]:
|
|
1071
1190
|
"""
|
|
1072
|
-
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
1191
|
+
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
1073
1192
|
"""
|
|
1074
1193
|
return pulumi.get(self, "system_disk_category")
|
|
1075
1194
|
|
|
@@ -1204,7 +1323,7 @@ class InstanceArgs:
|
|
|
1204
1323
|
|
|
1205
1324
|
@property
|
|
1206
1325
|
@pulumi.getter(name="volumeTags")
|
|
1207
|
-
def volume_tags(self) -> Optional[pulumi.Input[Mapping[str,
|
|
1326
|
+
def volume_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1208
1327
|
"""
|
|
1209
1328
|
A mapping of tags to assign to the devices created by the instance at launch time.
|
|
1210
1329
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
@@ -1213,9 +1332,21 @@ class InstanceArgs:
|
|
|
1213
1332
|
return pulumi.get(self, "volume_tags")
|
|
1214
1333
|
|
|
1215
1334
|
@volume_tags.setter
|
|
1216
|
-
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str,
|
|
1335
|
+
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1217
1336
|
pulumi.set(self, "volume_tags", value)
|
|
1218
1337
|
|
|
1338
|
+
@property
|
|
1339
|
+
@pulumi.getter(name="vpcId")
|
|
1340
|
+
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
1341
|
+
"""
|
|
1342
|
+
The ID of the VPC.
|
|
1343
|
+
"""
|
|
1344
|
+
return pulumi.get(self, "vpc_id")
|
|
1345
|
+
|
|
1346
|
+
@vpc_id.setter
|
|
1347
|
+
def vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
1348
|
+
pulumi.set(self, "vpc_id", value)
|
|
1349
|
+
|
|
1219
1350
|
@property
|
|
1220
1351
|
@pulumi.getter(name="vswitchId")
|
|
1221
1352
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1237,6 +1368,7 @@ class _InstanceState:
|
|
|
1237
1368
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
1238
1369
|
availability_zone: Optional[pulumi.Input[str]] = None,
|
|
1239
1370
|
cpu: Optional[pulumi.Input[int]] = None,
|
|
1371
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
1240
1372
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
1241
1373
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]]] = None,
|
|
1242
1374
|
dedicated_host_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1245,6 +1377,8 @@ class _InstanceState:
|
|
|
1245
1377
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
1246
1378
|
description: Optional[pulumi.Input[str]] = None,
|
|
1247
1379
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
1380
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
1381
|
+
expired_time: Optional[pulumi.Input[str]] = None,
|
|
1248
1382
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
1249
1383
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
1250
1384
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1252,6 +1386,7 @@ class _InstanceState:
|
|
|
1252
1386
|
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
|
|
1253
1387
|
http_tokens: Optional[pulumi.Input[str]] = None,
|
|
1254
1388
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
1389
|
+
image_options: Optional[pulumi.Input['InstanceImageOptionsArgs']] = None,
|
|
1255
1390
|
include_data_disks: Optional[pulumi.Input[bool]] = None,
|
|
1256
1391
|
instance_charge_type: Optional[pulumi.Input[str]] = None,
|
|
1257
1392
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -1264,7 +1399,7 @@ class _InstanceState:
|
|
|
1264
1399
|
is_outdated: Optional[pulumi.Input[bool]] = None,
|
|
1265
1400
|
key_name: Optional[pulumi.Input[str]] = None,
|
|
1266
1401
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
1267
|
-
kms_encryption_context: Optional[pulumi.Input[Mapping[str,
|
|
1402
|
+
kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1268
1403
|
launch_template_id: Optional[pulumi.Input[str]] = None,
|
|
1269
1404
|
launch_template_name: Optional[pulumi.Input[str]] = None,
|
|
1270
1405
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
@@ -1272,17 +1407,21 @@ class _InstanceState:
|
|
|
1272
1407
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
1273
1408
|
maintenance_time: Optional[pulumi.Input['InstanceMaintenanceTimeArgs']] = None,
|
|
1274
1409
|
memory: Optional[pulumi.Input[int]] = None,
|
|
1410
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
1275
1411
|
network_interface_id: Optional[pulumi.Input[str]] = None,
|
|
1412
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
1276
1413
|
network_interfaces: Optional[pulumi.Input['InstanceNetworkInterfacesArgs']] = None,
|
|
1277
1414
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
1278
1415
|
os_name: Optional[pulumi.Input[str]] = None,
|
|
1279
1416
|
os_type: Optional[pulumi.Input[str]] = None,
|
|
1280
1417
|
password: Optional[pulumi.Input[str]] = None,
|
|
1418
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
1281
1419
|
period: Optional[pulumi.Input[int]] = None,
|
|
1282
1420
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
1283
1421
|
primary_ip_address: Optional[pulumi.Input[str]] = None,
|
|
1284
1422
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
1285
1423
|
public_ip: Optional[pulumi.Input[str]] = None,
|
|
1424
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
1286
1425
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
1287
1426
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1288
1427
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -1293,6 +1432,7 @@ class _InstanceState:
|
|
|
1293
1432
|
spot_duration: Optional[pulumi.Input[int]] = None,
|
|
1294
1433
|
spot_price_limit: Optional[pulumi.Input[float]] = None,
|
|
1295
1434
|
spot_strategy: Optional[pulumi.Input[str]] = None,
|
|
1435
|
+
start_time: Optional[pulumi.Input[str]] = None,
|
|
1296
1436
|
status: Optional[pulumi.Input[str]] = None,
|
|
1297
1437
|
stopped_mode: Optional[pulumi.Input[str]] = None,
|
|
1298
1438
|
system_disk_auto_snapshot_policy_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1308,12 +1448,13 @@ class _InstanceState:
|
|
|
1308
1448
|
system_disk_storage_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
1309
1449
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1310
1450
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
1311
|
-
volume_tags: Optional[pulumi.Input[Mapping[str,
|
|
1451
|
+
volume_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1452
|
+
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1312
1453
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
1313
1454
|
"""
|
|
1314
1455
|
Input properties used for looking up and filtering Instance resources.
|
|
1315
1456
|
:param pulumi.Input[bool] allocate_public_ip: It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
|
|
1316
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
1457
|
+
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
1317
1458
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
1318
1459
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
1319
1460
|
:param pulumi.Input[int] auto_renew_period: Auto renewal period of an instance, in the unit of month. It is valid when `instance_charge_type` is `PrePaid`. Default to 1. Valid value:
|
|
@@ -1321,6 +1462,7 @@ class _InstanceState:
|
|
|
1321
1462
|
- [1, 2, 3] when `period_unit` in "Week"
|
|
1322
1463
|
:param pulumi.Input[str] availability_zone: The Zone to start the instance in. It is ignored and will be computed when set `vswitch_id`.
|
|
1323
1464
|
:param pulumi.Input[int] cpu: The number of vCPUs.
|
|
1465
|
+
:param pulumi.Input[str] create_time: (Available since v1.232.0) The time when the instance was created.
|
|
1324
1466
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
1325
1467
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]] data_disks: The list of data disks created with instance. See `data_disks` below.
|
|
1326
1468
|
:param pulumi.Input[str] dedicated_host_id: The ID of the dedicated host on which to create the instance. If you set the DedicatedHostId parameter, the `spot_strategy` and `spot_price_limit` parameters cannot be set. This is because preemptible instances cannot be created on dedicated hosts.
|
|
@@ -1330,20 +1472,37 @@ class _InstanceState:
|
|
|
1330
1472
|
:param pulumi.Input[str] deployment_set_group_no: The group number of the instance in a deployment set when the deployment set is use.
|
|
1331
1473
|
:param pulumi.Input[str] deployment_set_id: The ID of the deployment set to which to deploy the instance. **NOTE:** From version 1.176.0, instance's deploymentSetId can be removed when 'deployment_set_id' = "".
|
|
1332
1474
|
:param pulumi.Input[str] description: Description of the instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
|
|
1333
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
1475
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
1334
1476
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
1335
1477
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
1478
|
+
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
1479
|
+
:param pulumi.Input[str] expired_time: (Available since v1.232.0) The expiration time of the instance.
|
|
1336
1480
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
1337
1481
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
1338
1482
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
1339
1483
|
On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
|
|
1340
1484
|
:param pulumi.Input[str] hpc_cluster_id: The ID of the Elastic High Performance Computing (E-HPC) cluster to which to assign the instance.
|
|
1341
1485
|
:param pulumi.Input[str] http_endpoint: Specifies whether to enable the access channel for instance metadata. Valid values: `enabled`, `disabled`. Default value: `enabled`.
|
|
1342
|
-
:param pulumi.Input[int] http_put_response_hop_limit: The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
1486
|
+
:param pulumi.Input[int] http_put_response_hop_limit: **NOTE:**: This parameter is not available for use yet. The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
1343
1487
|
:param pulumi.Input[str] http_tokens: Specifies whether to forcefully use the security-enhanced mode (IMDSv2) to access instance metadata. Default value: optional. Valid values:
|
|
1344
1488
|
- optional: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
1345
1489
|
- required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
1346
1490
|
:param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
|
|
1491
|
+
:param pulumi.Input['InstanceImageOptionsArgs'] image_options: The options of images. See `image_options` below.
|
|
1492
|
+
|
|
1493
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
1494
|
+
|
|
1495
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
1496
|
+
|
|
1497
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
1498
|
+
|
|
1499
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
1500
|
+
|
|
1501
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
1502
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
1503
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
1504
|
+
|
|
1505
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
1347
1506
|
:param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
|
|
1348
1507
|
:param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
|
|
1349
1508
|
**NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
|
|
@@ -1358,35 +1517,28 @@ class _InstanceState:
|
|
|
1358
1517
|
:param pulumi.Input[bool] is_outdated: Whether to use outdated instance type. Default to false.
|
|
1359
1518
|
:param pulumi.Input[str] key_name: The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
|
|
1360
1519
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to an instance. If the `password` is filled in, this field will be ignored. When it is changed, the instance will reboot to make the change take effect.
|
|
1361
|
-
:param pulumi.Input[Mapping[str,
|
|
1520
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating an instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set. When it is changed, the instance will reboot to make the change take effect.
|
|
1362
1521
|
:param pulumi.Input[str] launch_template_id: The ID of the launch template. For more information, see [DescribeLaunchTemplates](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-describelaunchtemplates).To use a launch template to create an instance, you must use the `launch_template_id` or `launch_template_name` parameter to specify the launch template.
|
|
1363
1522
|
:param pulumi.Input[str] launch_template_name: The name of the launch template.
|
|
1364
1523
|
:param pulumi.Input[str] launch_template_version: The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
1368
|
-
|
|
1369
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
1370
|
-
|
|
1371
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
1372
|
-
|
|
1373
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
1374
|
-
|
|
1375
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
1376
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
1377
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
1378
|
-
|
|
1379
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
1380
1524
|
:param pulumi.Input[str] maintenance_action: The maintenance action. Valid values: `Stop`, `AutoRecover` and `AutoRedeploy`.
|
|
1525
|
+
* `Stop` : stops the instance.
|
|
1526
|
+
* `AutoRecover` : automatically recovers the instance.
|
|
1527
|
+
* `AutoRedeploy` : fails the instance over, which may cause damage to the data disks attached to the instance.
|
|
1381
1528
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
1382
1529
|
:param pulumi.Input['InstanceMaintenanceTimeArgs'] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
1383
1530
|
:param pulumi.Input[int] memory: The memory size of the instance. Unit: MiB.
|
|
1384
|
-
:param pulumi.Input[
|
|
1531
|
+
:param pulumi.Input[int] network_card_index: The index of the network card for Primary ENI.
|
|
1532
|
+
:param pulumi.Input[str] network_interface_id: The ID of the Primary ENI.
|
|
1533
|
+
:param pulumi.Input[str] network_interface_traffic_mode: The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
1534
|
+
- `Standard`: Uses the TCP communication mode.
|
|
1535
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
1385
1536
|
:param pulumi.Input['InstanceNetworkInterfacesArgs'] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
1386
1537
|
:param pulumi.Input[str] operator_type: The operation type. It is valid when `instance_charge_type` is `PrePaid`. Default value: `upgrade`. Valid values: `upgrade`, `downgrade`. **NOTE:** When the new instance type specified by the `instance_type` parameter has lower specifications than the current instance type, you must set `operator_type` to `downgrade`.
|
|
1387
1538
|
:param pulumi.Input[str] os_name: The name of the operating system of the instance.
|
|
1388
1539
|
:param pulumi.Input[str] os_type: The type of the operating system of the instance.
|
|
1389
1540
|
:param pulumi.Input[str] password: Password to an instance is a string of 8 to 30 characters. It must contain uppercase/lowercase letters and numerals, but cannot contain special symbols. When it is changed, the instance will reboot to make the change take effect.
|
|
1541
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
1390
1542
|
:param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid and required when `instance_charge_type` is `PrePaid`. Valid values:
|
|
1391
1543
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
1392
1544
|
- [1-3] when `period_unit` in "Week"
|
|
@@ -1396,11 +1548,15 @@ class _InstanceState:
|
|
|
1396
1548
|
:param pulumi.Input[str] primary_ip_address: The primary private IP address of the ENI.
|
|
1397
1549
|
:param pulumi.Input[str] private_ip: Instance private IP address can be specified when you creating new instance. It is valid when `vswitch_id` is specified. When it is changed, the instance will reboot to make the change take effect.
|
|
1398
1550
|
:param pulumi.Input[str] public_ip: The instance public ip.
|
|
1551
|
+
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
1399
1552
|
:param pulumi.Input[str] renewal_status: Whether to renew an ECS instance automatically or not. It is valid when `instance_charge_type` is `PrePaid`. Default to "Normal". Valid values:
|
|
1553
|
+
- `AutoRenewal`: Enable auto renewal.
|
|
1554
|
+
- `Normal`: Disable auto renewal.
|
|
1555
|
+
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
1400
1556
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
1401
1557
|
: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.
|
|
1402
1558
|
: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.
|
|
1403
|
-
: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
|
|
1559
|
+
: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.
|
|
1404
1560
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
1405
1561
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
1406
1562
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -1413,10 +1569,13 @@ class _InstanceState:
|
|
|
1413
1569
|
- SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance
|
|
1414
1570
|
|
|
1415
1571
|
Default to NoSpot. Note: Currently, the spot instance only supports domestic site account.
|
|
1572
|
+
:param pulumi.Input[str] start_time: (Available since v1.232.0) The time when the instance was last started.
|
|
1416
1573
|
:param pulumi.Input[str] status: The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`.
|
|
1417
1574
|
:param pulumi.Input[str] stopped_mode: The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
1575
|
+
* `KeepCharging`: standard mode. Billing of the instance continues after the instance is stopped, and resources are retained for the instance.
|
|
1576
|
+
* `StopCharging`: economical mode. Billing of some resources of the instance stops after the instance is stopped. When the instance is stopped, its resources such as vCPUs, memory, and public IP address are released. You may be unable to restart the instance if some types of resources are out of stock in the current region.
|
|
1418
1577
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
1419
|
-
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
1578
|
+
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
1420
1579
|
:param pulumi.Input[str] system_disk_description: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
1421
1580
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The algorithm to be used to encrypt the system disk. Valid values are `aes-256`, `sm4-128`. Default value is `aes-256`.
|
|
1422
1581
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -1433,9 +1592,10 @@ class _InstanceState:
|
|
|
1433
1592
|
It supports to setting a base64-encoded value, and it is the recommended usage.
|
|
1434
1593
|
From version 1.60.0, it can be updated in-place. If updated, the instance will reboot to make the change take effect.
|
|
1435
1594
|
Note: Not all changes will take effect, and it depends on [cloud-init module type](https://cloudinit.readthedocs.io/en/latest/topics/modules.html).
|
|
1436
|
-
:param pulumi.Input[Mapping[str,
|
|
1595
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
1437
1596
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
1438
1597
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
1598
|
+
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
1439
1599
|
:param pulumi.Input[str] vswitch_id: The virtual switch ID to launch in VPC. This parameter must be set unless you can create classic network instances. When it is changed, the instance will reboot to make the change take effect.
|
|
1440
1600
|
"""
|
|
1441
1601
|
if allocate_public_ip is not None:
|
|
@@ -1451,6 +1611,8 @@ class _InstanceState:
|
|
|
1451
1611
|
pulumi.set(__self__, "availability_zone", availability_zone)
|
|
1452
1612
|
if cpu is not None:
|
|
1453
1613
|
pulumi.set(__self__, "cpu", cpu)
|
|
1614
|
+
if create_time is not None:
|
|
1615
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
1454
1616
|
if credit_specification is not None:
|
|
1455
1617
|
pulumi.set(__self__, "credit_specification", credit_specification)
|
|
1456
1618
|
if data_disks is not None:
|
|
@@ -1467,6 +1629,10 @@ class _InstanceState:
|
|
|
1467
1629
|
pulumi.set(__self__, "description", description)
|
|
1468
1630
|
if dry_run is not None:
|
|
1469
1631
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
1632
|
+
if enable_jumbo_frame is not None:
|
|
1633
|
+
pulumi.set(__self__, "enable_jumbo_frame", enable_jumbo_frame)
|
|
1634
|
+
if expired_time is not None:
|
|
1635
|
+
pulumi.set(__self__, "expired_time", expired_time)
|
|
1470
1636
|
if force_delete is not None:
|
|
1471
1637
|
pulumi.set(__self__, "force_delete", force_delete)
|
|
1472
1638
|
if host_name is not None:
|
|
@@ -1481,6 +1647,8 @@ class _InstanceState:
|
|
|
1481
1647
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
1482
1648
|
if image_id is not None:
|
|
1483
1649
|
pulumi.set(__self__, "image_id", image_id)
|
|
1650
|
+
if image_options is not None:
|
|
1651
|
+
pulumi.set(__self__, "image_options", image_options)
|
|
1484
1652
|
if include_data_disks is not None:
|
|
1485
1653
|
pulumi.set(__self__, "include_data_disks", include_data_disks)
|
|
1486
1654
|
if instance_charge_type is not None:
|
|
@@ -1524,8 +1692,12 @@ class _InstanceState:
|
|
|
1524
1692
|
pulumi.set(__self__, "maintenance_time", maintenance_time)
|
|
1525
1693
|
if memory is not None:
|
|
1526
1694
|
pulumi.set(__self__, "memory", memory)
|
|
1695
|
+
if network_card_index is not None:
|
|
1696
|
+
pulumi.set(__self__, "network_card_index", network_card_index)
|
|
1527
1697
|
if network_interface_id is not None:
|
|
1528
1698
|
pulumi.set(__self__, "network_interface_id", network_interface_id)
|
|
1699
|
+
if network_interface_traffic_mode is not None:
|
|
1700
|
+
pulumi.set(__self__, "network_interface_traffic_mode", network_interface_traffic_mode)
|
|
1529
1701
|
if network_interfaces is not None:
|
|
1530
1702
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
|
1531
1703
|
if operator_type is not None:
|
|
@@ -1536,6 +1708,8 @@ class _InstanceState:
|
|
|
1536
1708
|
pulumi.set(__self__, "os_type", os_type)
|
|
1537
1709
|
if password is not None:
|
|
1538
1710
|
pulumi.set(__self__, "password", password)
|
|
1711
|
+
if password_inherit is not None:
|
|
1712
|
+
pulumi.set(__self__, "password_inherit", password_inherit)
|
|
1539
1713
|
if period is not None:
|
|
1540
1714
|
pulumi.set(__self__, "period", period)
|
|
1541
1715
|
if period_unit is not None:
|
|
@@ -1546,6 +1720,8 @@ class _InstanceState:
|
|
|
1546
1720
|
pulumi.set(__self__, "private_ip", private_ip)
|
|
1547
1721
|
if public_ip is not None:
|
|
1548
1722
|
pulumi.set(__self__, "public_ip", public_ip)
|
|
1723
|
+
if queue_pair_number is not None:
|
|
1724
|
+
pulumi.set(__self__, "queue_pair_number", queue_pair_number)
|
|
1549
1725
|
if renewal_status is not None:
|
|
1550
1726
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
1551
1727
|
if resource_group_id is not None:
|
|
@@ -1566,6 +1742,8 @@ class _InstanceState:
|
|
|
1566
1742
|
pulumi.set(__self__, "spot_price_limit", spot_price_limit)
|
|
1567
1743
|
if spot_strategy is not None:
|
|
1568
1744
|
pulumi.set(__self__, "spot_strategy", spot_strategy)
|
|
1745
|
+
if start_time is not None:
|
|
1746
|
+
pulumi.set(__self__, "start_time", start_time)
|
|
1569
1747
|
if status is not None:
|
|
1570
1748
|
pulumi.set(__self__, "status", status)
|
|
1571
1749
|
if stopped_mode is not None:
|
|
@@ -1598,18 +1776,18 @@ class _InstanceState:
|
|
|
1598
1776
|
pulumi.set(__self__, "user_data", user_data)
|
|
1599
1777
|
if volume_tags is not None:
|
|
1600
1778
|
pulumi.set(__self__, "volume_tags", volume_tags)
|
|
1779
|
+
if vpc_id is not None:
|
|
1780
|
+
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
1601
1781
|
if vswitch_id is not None:
|
|
1602
1782
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
1603
1783
|
|
|
1604
1784
|
@property
|
|
1605
1785
|
@pulumi.getter(name="allocatePublicIp")
|
|
1786
|
+
@_utilities.deprecated("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
|
|
1606
1787
|
def allocate_public_ip(self) -> Optional[pulumi.Input[bool]]:
|
|
1607
1788
|
"""
|
|
1608
1789
|
It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
|
|
1609
1790
|
"""
|
|
1610
|
-
warnings.warn("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""", DeprecationWarning)
|
|
1611
|
-
pulumi.log.warn("""allocate_public_ip is deprecated: Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
|
|
1612
|
-
|
|
1613
1791
|
return pulumi.get(self, "allocate_public_ip")
|
|
1614
1792
|
|
|
1615
1793
|
@allocate_public_ip.setter
|
|
@@ -1620,7 +1798,7 @@ class _InstanceState:
|
|
|
1620
1798
|
@pulumi.getter(name="autoReleaseTime")
|
|
1621
1799
|
def auto_release_time(self) -> Optional[pulumi.Input[str]]:
|
|
1622
1800
|
"""
|
|
1623
|
-
The automatic release time of the `PostPaid` instance.
|
|
1801
|
+
The automatic release time of the `PostPaid` instance.
|
|
1624
1802
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
1625
1803
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
1626
1804
|
"""
|
|
@@ -1668,6 +1846,18 @@ class _InstanceState:
|
|
|
1668
1846
|
def cpu(self, value: Optional[pulumi.Input[int]]):
|
|
1669
1847
|
pulumi.set(self, "cpu", value)
|
|
1670
1848
|
|
|
1849
|
+
@property
|
|
1850
|
+
@pulumi.getter(name="createTime")
|
|
1851
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
1852
|
+
"""
|
|
1853
|
+
(Available since v1.232.0) The time when the instance was created.
|
|
1854
|
+
"""
|
|
1855
|
+
return pulumi.get(self, "create_time")
|
|
1856
|
+
|
|
1857
|
+
@create_time.setter
|
|
1858
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
1859
|
+
pulumi.set(self, "create_time", value)
|
|
1860
|
+
|
|
1671
1861
|
@property
|
|
1672
1862
|
@pulumi.getter(name="creditSpecification")
|
|
1673
1863
|
def credit_specification(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1758,7 +1948,7 @@ class _InstanceState:
|
|
|
1758
1948
|
@pulumi.getter(name="dryRun")
|
|
1759
1949
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
1760
1950
|
"""
|
|
1761
|
-
Specifies whether to send a dry-run request. Default to false.
|
|
1951
|
+
Specifies whether to send a dry-run request. Default to false.
|
|
1762
1952
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
1763
1953
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
1764
1954
|
"""
|
|
@@ -1768,6 +1958,30 @@ class _InstanceState:
|
|
|
1768
1958
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
1769
1959
|
pulumi.set(self, "dry_run", value)
|
|
1770
1960
|
|
|
1961
|
+
@property
|
|
1962
|
+
@pulumi.getter(name="enableJumboFrame")
|
|
1963
|
+
def enable_jumbo_frame(self) -> Optional[pulumi.Input[bool]]:
|
|
1964
|
+
"""
|
|
1965
|
+
Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
1966
|
+
"""
|
|
1967
|
+
return pulumi.get(self, "enable_jumbo_frame")
|
|
1968
|
+
|
|
1969
|
+
@enable_jumbo_frame.setter
|
|
1970
|
+
def enable_jumbo_frame(self, value: Optional[pulumi.Input[bool]]):
|
|
1971
|
+
pulumi.set(self, "enable_jumbo_frame", value)
|
|
1972
|
+
|
|
1973
|
+
@property
|
|
1974
|
+
@pulumi.getter(name="expiredTime")
|
|
1975
|
+
def expired_time(self) -> Optional[pulumi.Input[str]]:
|
|
1976
|
+
"""
|
|
1977
|
+
(Available since v1.232.0) The expiration time of the instance.
|
|
1978
|
+
"""
|
|
1979
|
+
return pulumi.get(self, "expired_time")
|
|
1980
|
+
|
|
1981
|
+
@expired_time.setter
|
|
1982
|
+
def expired_time(self, value: Optional[pulumi.Input[str]]):
|
|
1983
|
+
pulumi.set(self, "expired_time", value)
|
|
1984
|
+
|
|
1771
1985
|
@property
|
|
1772
1986
|
@pulumi.getter(name="forceDelete")
|
|
1773
1987
|
def force_delete(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -1822,7 +2036,7 @@ class _InstanceState:
|
|
|
1822
2036
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
1823
2037
|
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1824
2038
|
"""
|
|
1825
|
-
The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
2039
|
+
**NOTE:**: This parameter is not available for use yet. The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
1826
2040
|
"""
|
|
1827
2041
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
1828
2042
|
|
|
@@ -1856,6 +2070,32 @@ class _InstanceState:
|
|
|
1856
2070
|
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
1857
2071
|
pulumi.set(self, "image_id", value)
|
|
1858
2072
|
|
|
2073
|
+
@property
|
|
2074
|
+
@pulumi.getter(name="imageOptions")
|
|
2075
|
+
def image_options(self) -> Optional[pulumi.Input['InstanceImageOptionsArgs']]:
|
|
2076
|
+
"""
|
|
2077
|
+
The options of images. See `image_options` below.
|
|
2078
|
+
|
|
2079
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
2080
|
+
|
|
2081
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
2082
|
+
|
|
2083
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
2084
|
+
|
|
2085
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
2086
|
+
|
|
2087
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
2088
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
2089
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
2090
|
+
|
|
2091
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
2092
|
+
"""
|
|
2093
|
+
return pulumi.get(self, "image_options")
|
|
2094
|
+
|
|
2095
|
+
@image_options.setter
|
|
2096
|
+
def image_options(self, value: Optional[pulumi.Input['InstanceImageOptionsArgs']]):
|
|
2097
|
+
pulumi.set(self, "image_options", value)
|
|
2098
|
+
|
|
1859
2099
|
@property
|
|
1860
2100
|
@pulumi.getter(name="includeDataDisks")
|
|
1861
2101
|
def include_data_disks(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -1918,13 +2158,11 @@ class _InstanceState:
|
|
|
1918
2158
|
|
|
1919
2159
|
@property
|
|
1920
2160
|
@pulumi.getter(name="internetMaxBandwidthIn")
|
|
2161
|
+
@_utilities.deprecated("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
|
|
1921
2162
|
def internet_max_bandwidth_in(self) -> Optional[pulumi.Input[int]]:
|
|
1922
2163
|
"""
|
|
1923
2164
|
Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). Value range: [1, 200]. If this value is not specified, then automatically sets it to 200 Mbps.
|
|
1924
2165
|
"""
|
|
1925
|
-
warnings.warn("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""", DeprecationWarning)
|
|
1926
|
-
pulumi.log.warn("""internet_max_bandwidth_in is deprecated: The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
|
|
1927
|
-
|
|
1928
2166
|
return pulumi.get(self, "internet_max_bandwidth_in")
|
|
1929
2167
|
|
|
1930
2168
|
@internet_max_bandwidth_in.setter
|
|
@@ -2005,14 +2243,14 @@ class _InstanceState:
|
|
|
2005
2243
|
|
|
2006
2244
|
@property
|
|
2007
2245
|
@pulumi.getter(name="kmsEncryptionContext")
|
|
2008
|
-
def kms_encryption_context(self) -> Optional[pulumi.Input[Mapping[str,
|
|
2246
|
+
def kms_encryption_context(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
2009
2247
|
"""
|
|
2010
2248
|
An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating an instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set. When it is changed, the instance will reboot to make the change take effect.
|
|
2011
2249
|
"""
|
|
2012
2250
|
return pulumi.get(self, "kms_encryption_context")
|
|
2013
2251
|
|
|
2014
2252
|
@kms_encryption_context.setter
|
|
2015
|
-
def kms_encryption_context(self, value: Optional[pulumi.Input[Mapping[str,
|
|
2253
|
+
def kms_encryption_context(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
2016
2254
|
pulumi.set(self, "kms_encryption_context", value)
|
|
2017
2255
|
|
|
2018
2256
|
@property
|
|
@@ -2044,21 +2282,6 @@ class _InstanceState:
|
|
|
2044
2282
|
def launch_template_version(self) -> Optional[pulumi.Input[str]]:
|
|
2045
2283
|
"""
|
|
2046
2284
|
The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
2050
|
-
|
|
2051
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
2052
|
-
|
|
2053
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
2054
|
-
|
|
2055
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
2056
|
-
|
|
2057
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
2058
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
2059
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
2060
|
-
|
|
2061
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
2062
2285
|
"""
|
|
2063
2286
|
return pulumi.get(self, "launch_template_version")
|
|
2064
2287
|
|
|
@@ -2071,6 +2294,9 @@ class _InstanceState:
|
|
|
2071
2294
|
def maintenance_action(self) -> Optional[pulumi.Input[str]]:
|
|
2072
2295
|
"""
|
|
2073
2296
|
The maintenance action. Valid values: `Stop`, `AutoRecover` and `AutoRedeploy`.
|
|
2297
|
+
* `Stop` : stops the instance.
|
|
2298
|
+
* `AutoRecover` : automatically recovers the instance.
|
|
2299
|
+
* `AutoRedeploy` : fails the instance over, which may cause damage to the data disks attached to the instance.
|
|
2074
2300
|
"""
|
|
2075
2301
|
return pulumi.get(self, "maintenance_action")
|
|
2076
2302
|
|
|
@@ -2114,11 +2340,23 @@ class _InstanceState:
|
|
|
2114
2340
|
def memory(self, value: Optional[pulumi.Input[int]]):
|
|
2115
2341
|
pulumi.set(self, "memory", value)
|
|
2116
2342
|
|
|
2343
|
+
@property
|
|
2344
|
+
@pulumi.getter(name="networkCardIndex")
|
|
2345
|
+
def network_card_index(self) -> Optional[pulumi.Input[int]]:
|
|
2346
|
+
"""
|
|
2347
|
+
The index of the network card for Primary ENI.
|
|
2348
|
+
"""
|
|
2349
|
+
return pulumi.get(self, "network_card_index")
|
|
2350
|
+
|
|
2351
|
+
@network_card_index.setter
|
|
2352
|
+
def network_card_index(self, value: Optional[pulumi.Input[int]]):
|
|
2353
|
+
pulumi.set(self, "network_card_index", value)
|
|
2354
|
+
|
|
2117
2355
|
@property
|
|
2118
2356
|
@pulumi.getter(name="networkInterfaceId")
|
|
2119
2357
|
def network_interface_id(self) -> Optional[pulumi.Input[str]]:
|
|
2120
2358
|
"""
|
|
2121
|
-
The ID of the
|
|
2359
|
+
The ID of the Primary ENI.
|
|
2122
2360
|
"""
|
|
2123
2361
|
return pulumi.get(self, "network_interface_id")
|
|
2124
2362
|
|
|
@@ -2126,6 +2364,20 @@ class _InstanceState:
|
|
|
2126
2364
|
def network_interface_id(self, value: Optional[pulumi.Input[str]]):
|
|
2127
2365
|
pulumi.set(self, "network_interface_id", value)
|
|
2128
2366
|
|
|
2367
|
+
@property
|
|
2368
|
+
@pulumi.getter(name="networkInterfaceTrafficMode")
|
|
2369
|
+
def network_interface_traffic_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2370
|
+
"""
|
|
2371
|
+
The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
2372
|
+
- `Standard`: Uses the TCP communication mode.
|
|
2373
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
2374
|
+
"""
|
|
2375
|
+
return pulumi.get(self, "network_interface_traffic_mode")
|
|
2376
|
+
|
|
2377
|
+
@network_interface_traffic_mode.setter
|
|
2378
|
+
def network_interface_traffic_mode(self, value: Optional[pulumi.Input[str]]):
|
|
2379
|
+
pulumi.set(self, "network_interface_traffic_mode", value)
|
|
2380
|
+
|
|
2129
2381
|
@property
|
|
2130
2382
|
@pulumi.getter(name="networkInterfaces")
|
|
2131
2383
|
def network_interfaces(self) -> Optional[pulumi.Input['InstanceNetworkInterfacesArgs']]:
|
|
@@ -2186,6 +2438,18 @@ class _InstanceState:
|
|
|
2186
2438
|
def password(self, value: Optional[pulumi.Input[str]]):
|
|
2187
2439
|
pulumi.set(self, "password", value)
|
|
2188
2440
|
|
|
2441
|
+
@property
|
|
2442
|
+
@pulumi.getter(name="passwordInherit")
|
|
2443
|
+
def password_inherit(self) -> Optional[pulumi.Input[bool]]:
|
|
2444
|
+
"""
|
|
2445
|
+
Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
2446
|
+
"""
|
|
2447
|
+
return pulumi.get(self, "password_inherit")
|
|
2448
|
+
|
|
2449
|
+
@password_inherit.setter
|
|
2450
|
+
def password_inherit(self, value: Optional[pulumi.Input[bool]]):
|
|
2451
|
+
pulumi.set(self, "password_inherit", value)
|
|
2452
|
+
|
|
2189
2453
|
@property
|
|
2190
2454
|
@pulumi.getter
|
|
2191
2455
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -2250,11 +2514,26 @@ class _InstanceState:
|
|
|
2250
2514
|
def public_ip(self, value: Optional[pulumi.Input[str]]):
|
|
2251
2515
|
pulumi.set(self, "public_ip", value)
|
|
2252
2516
|
|
|
2517
|
+
@property
|
|
2518
|
+
@pulumi.getter(name="queuePairNumber")
|
|
2519
|
+
def queue_pair_number(self) -> Optional[pulumi.Input[int]]:
|
|
2520
|
+
"""
|
|
2521
|
+
The number of queues supported by the ERI.
|
|
2522
|
+
"""
|
|
2523
|
+
return pulumi.get(self, "queue_pair_number")
|
|
2524
|
+
|
|
2525
|
+
@queue_pair_number.setter
|
|
2526
|
+
def queue_pair_number(self, value: Optional[pulumi.Input[int]]):
|
|
2527
|
+
pulumi.set(self, "queue_pair_number", value)
|
|
2528
|
+
|
|
2253
2529
|
@property
|
|
2254
2530
|
@pulumi.getter(name="renewalStatus")
|
|
2255
2531
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
2256
2532
|
"""
|
|
2257
2533
|
Whether to renew an ECS instance automatically or not. It is valid when `instance_charge_type` is `PrePaid`. Default to "Normal". Valid values:
|
|
2534
|
+
- `AutoRenewal`: Enable auto renewal.
|
|
2535
|
+
- `Normal`: Disable auto renewal.
|
|
2536
|
+
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
2258
2537
|
"""
|
|
2259
2538
|
return pulumi.get(self, "renewal_status")
|
|
2260
2539
|
|
|
@@ -2302,7 +2581,7 @@ class _InstanceState:
|
|
|
2302
2581
|
@pulumi.getter(name="secondaryPrivateIps")
|
|
2303
2582
|
def secondary_private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2304
2583
|
"""
|
|
2305
|
-
A list of Secondary private IP addresses which is selected from within the CIDR block of the
|
|
2584
|
+
A list of Secondary private IP addresses which is selected from within the CIDR block of the vSwitch.
|
|
2306
2585
|
"""
|
|
2307
2586
|
return pulumi.get(self, "secondary_private_ips")
|
|
2308
2587
|
|
|
@@ -2377,6 +2656,18 @@ class _InstanceState:
|
|
|
2377
2656
|
def spot_strategy(self, value: Optional[pulumi.Input[str]]):
|
|
2378
2657
|
pulumi.set(self, "spot_strategy", value)
|
|
2379
2658
|
|
|
2659
|
+
@property
|
|
2660
|
+
@pulumi.getter(name="startTime")
|
|
2661
|
+
def start_time(self) -> Optional[pulumi.Input[str]]:
|
|
2662
|
+
"""
|
|
2663
|
+
(Available since v1.232.0) The time when the instance was last started.
|
|
2664
|
+
"""
|
|
2665
|
+
return pulumi.get(self, "start_time")
|
|
2666
|
+
|
|
2667
|
+
@start_time.setter
|
|
2668
|
+
def start_time(self, value: Optional[pulumi.Input[str]]):
|
|
2669
|
+
pulumi.set(self, "start_time", value)
|
|
2670
|
+
|
|
2380
2671
|
@property
|
|
2381
2672
|
@pulumi.getter
|
|
2382
2673
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2394,6 +2685,8 @@ class _InstanceState:
|
|
|
2394
2685
|
def stopped_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2395
2686
|
"""
|
|
2396
2687
|
The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
2688
|
+
* `KeepCharging`: standard mode. Billing of the instance continues after the instance is stopped, and resources are retained for the instance.
|
|
2689
|
+
* `StopCharging`: economical mode. Billing of some resources of the instance stops after the instance is stopped. When the instance is stopped, its resources such as vCPUs, memory, and public IP address are released. You may be unable to restart the instance if some types of resources are out of stock in the current region.
|
|
2397
2690
|
"""
|
|
2398
2691
|
return pulumi.get(self, "stopped_mode")
|
|
2399
2692
|
|
|
@@ -2417,7 +2710,7 @@ class _InstanceState:
|
|
|
2417
2710
|
@pulumi.getter(name="systemDiskCategory")
|
|
2418
2711
|
def system_disk_category(self) -> Optional[pulumi.Input[str]]:
|
|
2419
2712
|
"""
|
|
2420
|
-
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
2713
|
+
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
2421
2714
|
"""
|
|
2422
2715
|
return pulumi.get(self, "system_disk_category")
|
|
2423
2716
|
|
|
@@ -2564,7 +2857,7 @@ class _InstanceState:
|
|
|
2564
2857
|
|
|
2565
2858
|
@property
|
|
2566
2859
|
@pulumi.getter(name="volumeTags")
|
|
2567
|
-
def volume_tags(self) -> Optional[pulumi.Input[Mapping[str,
|
|
2860
|
+
def volume_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
2568
2861
|
"""
|
|
2569
2862
|
A mapping of tags to assign to the devices created by the instance at launch time.
|
|
2570
2863
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
@@ -2573,9 +2866,21 @@ class _InstanceState:
|
|
|
2573
2866
|
return pulumi.get(self, "volume_tags")
|
|
2574
2867
|
|
|
2575
2868
|
@volume_tags.setter
|
|
2576
|
-
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str,
|
|
2869
|
+
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
2577
2870
|
pulumi.set(self, "volume_tags", value)
|
|
2578
2871
|
|
|
2872
|
+
@property
|
|
2873
|
+
@pulumi.getter(name="vpcId")
|
|
2874
|
+
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
2875
|
+
"""
|
|
2876
|
+
The ID of the VPC.
|
|
2877
|
+
"""
|
|
2878
|
+
return pulumi.get(self, "vpc_id")
|
|
2879
|
+
|
|
2880
|
+
@vpc_id.setter
|
|
2881
|
+
def vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
2882
|
+
pulumi.set(self, "vpc_id", value)
|
|
2883
|
+
|
|
2579
2884
|
@property
|
|
2580
2885
|
@pulumi.getter(name="vswitchId")
|
|
2581
2886
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2599,12 +2904,13 @@ class Instance(pulumi.CustomResource):
|
|
|
2599
2904
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
2600
2905
|
availability_zone: Optional[pulumi.Input[str]] = None,
|
|
2601
2906
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
2602
|
-
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2907
|
+
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]]] = None,
|
|
2603
2908
|
dedicated_host_id: Optional[pulumi.Input[str]] = None,
|
|
2604
2909
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
2605
2910
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
2606
2911
|
description: Optional[pulumi.Input[str]] = None,
|
|
2607
2912
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
2913
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
2608
2914
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
2609
2915
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
2610
2916
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -2612,6 +2918,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2612
2918
|
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
|
|
2613
2919
|
http_tokens: Optional[pulumi.Input[str]] = None,
|
|
2614
2920
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
2921
|
+
image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
|
|
2615
2922
|
include_data_disks: Optional[pulumi.Input[bool]] = None,
|
|
2616
2923
|
instance_charge_type: Optional[pulumi.Input[str]] = None,
|
|
2617
2924
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2624,19 +2931,23 @@ class Instance(pulumi.CustomResource):
|
|
|
2624
2931
|
is_outdated: Optional[pulumi.Input[bool]] = None,
|
|
2625
2932
|
key_name: Optional[pulumi.Input[str]] = None,
|
|
2626
2933
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
2627
|
-
kms_encryption_context: Optional[pulumi.Input[Mapping[str,
|
|
2934
|
+
kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2628
2935
|
launch_template_id: Optional[pulumi.Input[str]] = None,
|
|
2629
2936
|
launch_template_name: Optional[pulumi.Input[str]] = None,
|
|
2630
2937
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
2631
2938
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
2632
2939
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
2633
|
-
maintenance_time: Optional[pulumi.Input[
|
|
2634
|
-
|
|
2940
|
+
maintenance_time: Optional[pulumi.Input[Union['InstanceMaintenanceTimeArgs', 'InstanceMaintenanceTimeArgsDict']]] = None,
|
|
2941
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
2942
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
2943
|
+
network_interfaces: Optional[pulumi.Input[Union['InstanceNetworkInterfacesArgs', 'InstanceNetworkInterfacesArgsDict']]] = None,
|
|
2635
2944
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
2636
2945
|
password: Optional[pulumi.Input[str]] = None,
|
|
2946
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
2637
2947
|
period: Optional[pulumi.Input[int]] = None,
|
|
2638
2948
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
2639
2949
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
2950
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
2640
2951
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
2641
2952
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
2642
2953
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2661,7 +2972,8 @@ class Instance(pulumi.CustomResource):
|
|
|
2661
2972
|
system_disk_storage_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
2662
2973
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2663
2974
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
2664
|
-
volume_tags: Optional[pulumi.Input[Mapping[str,
|
|
2975
|
+
volume_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2976
|
+
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
2665
2977
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
2666
2978
|
__props__=None):
|
|
2667
2979
|
"""
|
|
@@ -2673,7 +2985,6 @@ class Instance(pulumi.CustomResource):
|
|
|
2673
2985
|
|
|
2674
2986
|
## Example Usage
|
|
2675
2987
|
|
|
2676
|
-
<!--Start PulumiCodeChooser -->
|
|
2677
2988
|
```python
|
|
2678
2989
|
import pulumi
|
|
2679
2990
|
import pulumi_alicloud as alicloud
|
|
@@ -2682,12 +2993,19 @@ class Instance(pulumi.CustomResource):
|
|
|
2682
2993
|
name = config.get("name")
|
|
2683
2994
|
if name is None:
|
|
2684
2995
|
name = "terraform-example"
|
|
2996
|
+
instance_type = config.get("instanceType")
|
|
2997
|
+
if instance_type is None:
|
|
2998
|
+
instance_type = "ecs.n4.large"
|
|
2999
|
+
image_id = config.get("imageId")
|
|
3000
|
+
if image_id is None:
|
|
3001
|
+
image_id = "ubuntu_18_04_64_20G_alibase_20190624.vhd"
|
|
2685
3002
|
# Create a new ECS instance for VPC
|
|
2686
3003
|
vpc = alicloud.vpc.Network("vpc",
|
|
2687
3004
|
vpc_name=name,
|
|
2688
3005
|
cidr_block="172.16.0.0/16")
|
|
2689
3006
|
# Create a new ECS instance for a VPC
|
|
2690
3007
|
group = alicloud.ecs.SecurityGroup("group",
|
|
3008
|
+
name=name,
|
|
2691
3009
|
description="foo",
|
|
2692
3010
|
vpc_id=vpc.id)
|
|
2693
3011
|
key = alicloud.kms.Key("key",
|
|
@@ -2695,7 +3013,8 @@ class Instance(pulumi.CustomResource):
|
|
|
2695
3013
|
pending_window_in_days=7,
|
|
2696
3014
|
status="Enabled")
|
|
2697
3015
|
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
|
|
2698
|
-
available_resource_creation="VSwitch"
|
|
3016
|
+
available_resource_creation="VSwitch",
|
|
3017
|
+
available_instance_type=instance_type)
|
|
2699
3018
|
vswitch = alicloud.vpc.Switch("vswitch",
|
|
2700
3019
|
vpc_id=vpc.id,
|
|
2701
3020
|
cidr_block="172.16.0.0/24",
|
|
@@ -2704,24 +3023,23 @@ class Instance(pulumi.CustomResource):
|
|
|
2704
3023
|
instance = alicloud.ecs.Instance("instance",
|
|
2705
3024
|
availability_zone=default.zones[0].id,
|
|
2706
3025
|
security_groups=[__item.id for __item in [group]],
|
|
2707
|
-
instance_type=
|
|
3026
|
+
instance_type=instance_type,
|
|
2708
3027
|
system_disk_category="cloud_efficiency",
|
|
2709
3028
|
system_disk_name=name,
|
|
2710
3029
|
system_disk_description="test_foo_system_disk_description",
|
|
2711
|
-
image_id=
|
|
3030
|
+
image_id=image_id,
|
|
2712
3031
|
instance_name=name,
|
|
2713
3032
|
vswitch_id=vswitch.id,
|
|
2714
3033
|
internet_max_bandwidth_out=10,
|
|
2715
|
-
data_disks=[
|
|
2716
|
-
name
|
|
2717
|
-
size
|
|
2718
|
-
category
|
|
2719
|
-
description
|
|
2720
|
-
encrypted
|
|
2721
|
-
kms_key_id
|
|
2722
|
-
|
|
3034
|
+
data_disks=[{
|
|
3035
|
+
"name": "disk2",
|
|
3036
|
+
"size": 20,
|
|
3037
|
+
"category": "cloud_efficiency",
|
|
3038
|
+
"description": "disk2",
|
|
3039
|
+
"encrypted": True,
|
|
3040
|
+
"kms_key_id": key.id,
|
|
3041
|
+
}])
|
|
2723
3042
|
```
|
|
2724
|
-
<!--End PulumiCodeChooser -->
|
|
2725
3043
|
|
|
2726
3044
|
## Module Support
|
|
2727
3045
|
|
|
@@ -2739,7 +3057,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2739
3057
|
:param str resource_name: The name of the resource.
|
|
2740
3058
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
2741
3059
|
:param pulumi.Input[bool] allocate_public_ip: It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
|
|
2742
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
3060
|
+
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
2743
3061
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
2744
3062
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
2745
3063
|
:param pulumi.Input[int] auto_renew_period: Auto renewal period of an instance, in the unit of month. It is valid when `instance_charge_type` is `PrePaid`. Default to 1. Valid value:
|
|
@@ -2747,27 +3065,43 @@ class Instance(pulumi.CustomResource):
|
|
|
2747
3065
|
- [1, 2, 3] when `period_unit` in "Week"
|
|
2748
3066
|
:param pulumi.Input[str] availability_zone: The Zone to start the instance in. It is ignored and will be computed when set `vswitch_id`.
|
|
2749
3067
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
2750
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3068
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]] data_disks: The list of data disks created with instance. See `data_disks` below.
|
|
2751
3069
|
:param pulumi.Input[str] dedicated_host_id: The ID of the dedicated host on which to create the instance. If you set the DedicatedHostId parameter, the `spot_strategy` and `spot_price_limit` parameters cannot be set. This is because preemptible instances cannot be created on dedicated hosts.
|
|
2752
3070
|
:param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not. It does not work when the instance is spot. Default value: `false`.
|
|
2753
3071
|
- true: Enable deletion protection.
|
|
2754
3072
|
- false: Disable deletion protection.
|
|
2755
3073
|
:param pulumi.Input[str] deployment_set_id: The ID of the deployment set to which to deploy the instance. **NOTE:** From version 1.176.0, instance's deploymentSetId can be removed when 'deployment_set_id' = "".
|
|
2756
3074
|
:param pulumi.Input[str] description: Description of the instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
|
|
2757
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
3075
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
2758
3076
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
2759
3077
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
3078
|
+
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
2760
3079
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
2761
3080
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
2762
3081
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
2763
3082
|
On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
|
|
2764
3083
|
:param pulumi.Input[str] hpc_cluster_id: The ID of the Elastic High Performance Computing (E-HPC) cluster to which to assign the instance.
|
|
2765
3084
|
:param pulumi.Input[str] http_endpoint: Specifies whether to enable the access channel for instance metadata. Valid values: `enabled`, `disabled`. Default value: `enabled`.
|
|
2766
|
-
:param pulumi.Input[int] http_put_response_hop_limit: The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
3085
|
+
:param pulumi.Input[int] http_put_response_hop_limit: **NOTE:**: This parameter is not available for use yet. The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
2767
3086
|
:param pulumi.Input[str] http_tokens: Specifies whether to forcefully use the security-enhanced mode (IMDSv2) to access instance metadata. Default value: optional. Valid values:
|
|
2768
3087
|
- optional: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
2769
3088
|
- required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
2770
3089
|
:param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
|
|
3090
|
+
:param pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']] image_options: The options of images. See `image_options` below.
|
|
3091
|
+
|
|
3092
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3093
|
+
|
|
3094
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3095
|
+
|
|
3096
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3097
|
+
|
|
3098
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3099
|
+
|
|
3100
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3101
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3102
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3103
|
+
|
|
3104
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
2771
3105
|
:param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
|
|
2772
3106
|
:param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
|
|
2773
3107
|
**NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
|
|
@@ -2782,31 +3116,24 @@ class Instance(pulumi.CustomResource):
|
|
|
2782
3116
|
:param pulumi.Input[bool] is_outdated: Whether to use outdated instance type. Default to false.
|
|
2783
3117
|
:param pulumi.Input[str] key_name: The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
|
|
2784
3118
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to an instance. If the `password` is filled in, this field will be ignored. When it is changed, the instance will reboot to make the change take effect.
|
|
2785
|
-
:param pulumi.Input[Mapping[str,
|
|
3119
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating an instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set. When it is changed, the instance will reboot to make the change take effect.
|
|
2786
3120
|
:param pulumi.Input[str] launch_template_id: The ID of the launch template. For more information, see [DescribeLaunchTemplates](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-describelaunchtemplates).To use a launch template to create an instance, you must use the `launch_template_id` or `launch_template_name` parameter to specify the launch template.
|
|
2787
3121
|
:param pulumi.Input[str] launch_template_name: The name of the launch template.
|
|
2788
3122
|
:param pulumi.Input[str] launch_template_version: The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
2792
|
-
|
|
2793
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
2794
|
-
|
|
2795
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
2796
|
-
|
|
2797
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
2798
|
-
|
|
2799
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
2800
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
2801
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
2802
|
-
|
|
2803
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
2804
3123
|
:param pulumi.Input[str] maintenance_action: The maintenance action. Valid values: `Stop`, `AutoRecover` and `AutoRedeploy`.
|
|
3124
|
+
* `Stop` : stops the instance.
|
|
3125
|
+
* `AutoRecover` : automatically recovers the instance.
|
|
3126
|
+
* `AutoRedeploy` : fails the instance over, which may cause damage to the data disks attached to the instance.
|
|
2805
3127
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
2806
|
-
:param pulumi.Input[
|
|
2807
|
-
:param pulumi.Input[
|
|
3128
|
+
:param pulumi.Input[Union['InstanceMaintenanceTimeArgs', 'InstanceMaintenanceTimeArgsDict']] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
3129
|
+
:param pulumi.Input[int] network_card_index: The index of the network card for Primary ENI.
|
|
3130
|
+
:param pulumi.Input[str] network_interface_traffic_mode: The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
3131
|
+
- `Standard`: Uses the TCP communication mode.
|
|
3132
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
3133
|
+
:param pulumi.Input[Union['InstanceNetworkInterfacesArgs', 'InstanceNetworkInterfacesArgsDict']] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
2808
3134
|
:param pulumi.Input[str] operator_type: The operation type. It is valid when `instance_charge_type` is `PrePaid`. Default value: `upgrade`. Valid values: `upgrade`, `downgrade`. **NOTE:** When the new instance type specified by the `instance_type` parameter has lower specifications than the current instance type, you must set `operator_type` to `downgrade`.
|
|
2809
3135
|
:param pulumi.Input[str] password: Password to an instance is a string of 8 to 30 characters. It must contain uppercase/lowercase letters and numerals, but cannot contain special symbols. When it is changed, the instance will reboot to make the change take effect.
|
|
3136
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
2810
3137
|
:param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid and required when `instance_charge_type` is `PrePaid`. Valid values:
|
|
2811
3138
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
2812
3139
|
- [1-3] when `period_unit` in "Week"
|
|
@@ -2814,11 +3141,15 @@ class Instance(pulumi.CustomResource):
|
|
|
2814
3141
|
> **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
|
|
2815
3142
|
:param pulumi.Input[str] period_unit: The duration unit that you will buy the resource. It is valid when `instance_charge_type` is 'PrePaid'. Valid value: ["Week", "Month"]. Default to "Month".
|
|
2816
3143
|
:param pulumi.Input[str] private_ip: Instance private IP address can be specified when you creating new instance. It is valid when `vswitch_id` is specified. When it is changed, the instance will reboot to make the change take effect.
|
|
3144
|
+
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
2817
3145
|
:param pulumi.Input[str] renewal_status: Whether to renew an ECS instance automatically or not. It is valid when `instance_charge_type` is `PrePaid`. Default to "Normal". Valid values:
|
|
3146
|
+
- `AutoRenewal`: Enable auto renewal.
|
|
3147
|
+
- `Normal`: Disable auto renewal.
|
|
3148
|
+
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
2818
3149
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
2819
3150
|
: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.
|
|
2820
3151
|
: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.
|
|
2821
|
-
: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
|
|
3152
|
+
: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.
|
|
2822
3153
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
2823
3154
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
2824
3155
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -2833,8 +3164,10 @@ class Instance(pulumi.CustomResource):
|
|
|
2833
3164
|
Default to NoSpot. Note: Currently, the spot instance only supports domestic site account.
|
|
2834
3165
|
:param pulumi.Input[str] status: The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`.
|
|
2835
3166
|
:param pulumi.Input[str] stopped_mode: The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
3167
|
+
* `KeepCharging`: standard mode. Billing of the instance continues after the instance is stopped, and resources are retained for the instance.
|
|
3168
|
+
* `StopCharging`: economical mode. Billing of some resources of the instance stops after the instance is stopped. When the instance is stopped, its resources such as vCPUs, memory, and public IP address are released. You may be unable to restart the instance if some types of resources are out of stock in the current region.
|
|
2836
3169
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
2837
|
-
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
3170
|
+
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
2838
3171
|
:param pulumi.Input[str] system_disk_description: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
2839
3172
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The algorithm to be used to encrypt the system disk. Valid values are `aes-256`, `sm4-128`. Default value is `aes-256`.
|
|
2840
3173
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -2850,9 +3183,10 @@ class Instance(pulumi.CustomResource):
|
|
|
2850
3183
|
It supports to setting a base64-encoded value, and it is the recommended usage.
|
|
2851
3184
|
From version 1.60.0, it can be updated in-place. If updated, the instance will reboot to make the change take effect.
|
|
2852
3185
|
Note: Not all changes will take effect, and it depends on [cloud-init module type](https://cloudinit.readthedocs.io/en/latest/topics/modules.html).
|
|
2853
|
-
:param pulumi.Input[Mapping[str,
|
|
3186
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
2854
3187
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
2855
3188
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
3189
|
+
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
2856
3190
|
:param pulumi.Input[str] vswitch_id: The virtual switch ID to launch in VPC. This parameter must be set unless you can create classic network instances. When it is changed, the instance will reboot to make the change take effect.
|
|
2857
3191
|
"""
|
|
2858
3192
|
...
|
|
@@ -2870,7 +3204,6 @@ class Instance(pulumi.CustomResource):
|
|
|
2870
3204
|
|
|
2871
3205
|
## Example Usage
|
|
2872
3206
|
|
|
2873
|
-
<!--Start PulumiCodeChooser -->
|
|
2874
3207
|
```python
|
|
2875
3208
|
import pulumi
|
|
2876
3209
|
import pulumi_alicloud as alicloud
|
|
@@ -2879,12 +3212,19 @@ class Instance(pulumi.CustomResource):
|
|
|
2879
3212
|
name = config.get("name")
|
|
2880
3213
|
if name is None:
|
|
2881
3214
|
name = "terraform-example"
|
|
3215
|
+
instance_type = config.get("instanceType")
|
|
3216
|
+
if instance_type is None:
|
|
3217
|
+
instance_type = "ecs.n4.large"
|
|
3218
|
+
image_id = config.get("imageId")
|
|
3219
|
+
if image_id is None:
|
|
3220
|
+
image_id = "ubuntu_18_04_64_20G_alibase_20190624.vhd"
|
|
2882
3221
|
# Create a new ECS instance for VPC
|
|
2883
3222
|
vpc = alicloud.vpc.Network("vpc",
|
|
2884
3223
|
vpc_name=name,
|
|
2885
3224
|
cidr_block="172.16.0.0/16")
|
|
2886
3225
|
# Create a new ECS instance for a VPC
|
|
2887
3226
|
group = alicloud.ecs.SecurityGroup("group",
|
|
3227
|
+
name=name,
|
|
2888
3228
|
description="foo",
|
|
2889
3229
|
vpc_id=vpc.id)
|
|
2890
3230
|
key = alicloud.kms.Key("key",
|
|
@@ -2892,7 +3232,8 @@ class Instance(pulumi.CustomResource):
|
|
|
2892
3232
|
pending_window_in_days=7,
|
|
2893
3233
|
status="Enabled")
|
|
2894
3234
|
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
|
|
2895
|
-
available_resource_creation="VSwitch"
|
|
3235
|
+
available_resource_creation="VSwitch",
|
|
3236
|
+
available_instance_type=instance_type)
|
|
2896
3237
|
vswitch = alicloud.vpc.Switch("vswitch",
|
|
2897
3238
|
vpc_id=vpc.id,
|
|
2898
3239
|
cidr_block="172.16.0.0/24",
|
|
@@ -2901,24 +3242,23 @@ class Instance(pulumi.CustomResource):
|
|
|
2901
3242
|
instance = alicloud.ecs.Instance("instance",
|
|
2902
3243
|
availability_zone=default.zones[0].id,
|
|
2903
3244
|
security_groups=[__item.id for __item in [group]],
|
|
2904
|
-
instance_type=
|
|
3245
|
+
instance_type=instance_type,
|
|
2905
3246
|
system_disk_category="cloud_efficiency",
|
|
2906
3247
|
system_disk_name=name,
|
|
2907
3248
|
system_disk_description="test_foo_system_disk_description",
|
|
2908
|
-
image_id=
|
|
3249
|
+
image_id=image_id,
|
|
2909
3250
|
instance_name=name,
|
|
2910
3251
|
vswitch_id=vswitch.id,
|
|
2911
3252
|
internet_max_bandwidth_out=10,
|
|
2912
|
-
data_disks=[
|
|
2913
|
-
name
|
|
2914
|
-
size
|
|
2915
|
-
category
|
|
2916
|
-
description
|
|
2917
|
-
encrypted
|
|
2918
|
-
kms_key_id
|
|
2919
|
-
|
|
3253
|
+
data_disks=[{
|
|
3254
|
+
"name": "disk2",
|
|
3255
|
+
"size": 20,
|
|
3256
|
+
"category": "cloud_efficiency",
|
|
3257
|
+
"description": "disk2",
|
|
3258
|
+
"encrypted": True,
|
|
3259
|
+
"kms_key_id": key.id,
|
|
3260
|
+
}])
|
|
2920
3261
|
```
|
|
2921
|
-
<!--End PulumiCodeChooser -->
|
|
2922
3262
|
|
|
2923
3263
|
## Module Support
|
|
2924
3264
|
|
|
@@ -2953,12 +3293,13 @@ class Instance(pulumi.CustomResource):
|
|
|
2953
3293
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
2954
3294
|
availability_zone: Optional[pulumi.Input[str]] = None,
|
|
2955
3295
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
2956
|
-
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3296
|
+
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]]] = None,
|
|
2957
3297
|
dedicated_host_id: Optional[pulumi.Input[str]] = None,
|
|
2958
3298
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
2959
3299
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
2960
3300
|
description: Optional[pulumi.Input[str]] = None,
|
|
2961
3301
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
3302
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
2962
3303
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
2963
3304
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
2964
3305
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -2966,6 +3307,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2966
3307
|
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
|
|
2967
3308
|
http_tokens: Optional[pulumi.Input[str]] = None,
|
|
2968
3309
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
3310
|
+
image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
|
|
2969
3311
|
include_data_disks: Optional[pulumi.Input[bool]] = None,
|
|
2970
3312
|
instance_charge_type: Optional[pulumi.Input[str]] = None,
|
|
2971
3313
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2978,19 +3320,23 @@ class Instance(pulumi.CustomResource):
|
|
|
2978
3320
|
is_outdated: Optional[pulumi.Input[bool]] = None,
|
|
2979
3321
|
key_name: Optional[pulumi.Input[str]] = None,
|
|
2980
3322
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
2981
|
-
kms_encryption_context: Optional[pulumi.Input[Mapping[str,
|
|
3323
|
+
kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2982
3324
|
launch_template_id: Optional[pulumi.Input[str]] = None,
|
|
2983
3325
|
launch_template_name: Optional[pulumi.Input[str]] = None,
|
|
2984
3326
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
2985
3327
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
2986
3328
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
2987
|
-
maintenance_time: Optional[pulumi.Input[
|
|
2988
|
-
|
|
3329
|
+
maintenance_time: Optional[pulumi.Input[Union['InstanceMaintenanceTimeArgs', 'InstanceMaintenanceTimeArgsDict']]] = None,
|
|
3330
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
3331
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
3332
|
+
network_interfaces: Optional[pulumi.Input[Union['InstanceNetworkInterfacesArgs', 'InstanceNetworkInterfacesArgsDict']]] = None,
|
|
2989
3333
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
2990
3334
|
password: Optional[pulumi.Input[str]] = None,
|
|
3335
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
2991
3336
|
period: Optional[pulumi.Input[int]] = None,
|
|
2992
3337
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
2993
3338
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
3339
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
2994
3340
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
2995
3341
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
2996
3342
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3015,7 +3361,8 @@ class Instance(pulumi.CustomResource):
|
|
|
3015
3361
|
system_disk_storage_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
3016
3362
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3017
3363
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
3018
|
-
volume_tags: Optional[pulumi.Input[Mapping[str,
|
|
3364
|
+
volume_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3365
|
+
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
3019
3366
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
3020
3367
|
__props__=None):
|
|
3021
3368
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -3037,6 +3384,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3037
3384
|
__props__.__dict__["deployment_set_id"] = deployment_set_id
|
|
3038
3385
|
__props__.__dict__["description"] = description
|
|
3039
3386
|
__props__.__dict__["dry_run"] = dry_run
|
|
3387
|
+
__props__.__dict__["enable_jumbo_frame"] = enable_jumbo_frame
|
|
3040
3388
|
__props__.__dict__["force_delete"] = force_delete
|
|
3041
3389
|
__props__.__dict__["host_name"] = host_name
|
|
3042
3390
|
__props__.__dict__["hpc_cluster_id"] = hpc_cluster_id
|
|
@@ -3044,6 +3392,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3044
3392
|
__props__.__dict__["http_put_response_hop_limit"] = http_put_response_hop_limit
|
|
3045
3393
|
__props__.__dict__["http_tokens"] = http_tokens
|
|
3046
3394
|
__props__.__dict__["image_id"] = image_id
|
|
3395
|
+
__props__.__dict__["image_options"] = image_options
|
|
3047
3396
|
__props__.__dict__["include_data_disks"] = include_data_disks
|
|
3048
3397
|
__props__.__dict__["instance_charge_type"] = instance_charge_type
|
|
3049
3398
|
__props__.__dict__["instance_name"] = instance_name
|
|
@@ -3063,12 +3412,16 @@ class Instance(pulumi.CustomResource):
|
|
|
3063
3412
|
__props__.__dict__["maintenance_action"] = maintenance_action
|
|
3064
3413
|
__props__.__dict__["maintenance_notify"] = maintenance_notify
|
|
3065
3414
|
__props__.__dict__["maintenance_time"] = maintenance_time
|
|
3415
|
+
__props__.__dict__["network_card_index"] = network_card_index
|
|
3416
|
+
__props__.__dict__["network_interface_traffic_mode"] = network_interface_traffic_mode
|
|
3066
3417
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
|
3067
3418
|
__props__.__dict__["operator_type"] = operator_type
|
|
3068
3419
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
3420
|
+
__props__.__dict__["password_inherit"] = password_inherit
|
|
3069
3421
|
__props__.__dict__["period"] = period
|
|
3070
3422
|
__props__.__dict__["period_unit"] = period_unit
|
|
3071
3423
|
__props__.__dict__["private_ip"] = private_ip
|
|
3424
|
+
__props__.__dict__["queue_pair_number"] = queue_pair_number
|
|
3072
3425
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
3073
3426
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
3074
3427
|
__props__.__dict__["role_name"] = role_name
|
|
@@ -3094,15 +3447,19 @@ class Instance(pulumi.CustomResource):
|
|
|
3094
3447
|
__props__.__dict__["tags"] = tags
|
|
3095
3448
|
__props__.__dict__["user_data"] = user_data
|
|
3096
3449
|
__props__.__dict__["volume_tags"] = volume_tags
|
|
3450
|
+
__props__.__dict__["vpc_id"] = vpc_id
|
|
3097
3451
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
3098
3452
|
__props__.__dict__["cpu"] = None
|
|
3453
|
+
__props__.__dict__["create_time"] = None
|
|
3099
3454
|
__props__.__dict__["deployment_set_group_no"] = None
|
|
3455
|
+
__props__.__dict__["expired_time"] = None
|
|
3100
3456
|
__props__.__dict__["memory"] = None
|
|
3101
3457
|
__props__.__dict__["network_interface_id"] = None
|
|
3102
3458
|
__props__.__dict__["os_name"] = None
|
|
3103
3459
|
__props__.__dict__["os_type"] = None
|
|
3104
3460
|
__props__.__dict__["primary_ip_address"] = None
|
|
3105
3461
|
__props__.__dict__["public_ip"] = None
|
|
3462
|
+
__props__.__dict__["start_time"] = None
|
|
3106
3463
|
__props__.__dict__["system_disk_id"] = None
|
|
3107
3464
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
|
3108
3465
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
@@ -3121,14 +3478,17 @@ class Instance(pulumi.CustomResource):
|
|
|
3121
3478
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
3122
3479
|
availability_zone: Optional[pulumi.Input[str]] = None,
|
|
3123
3480
|
cpu: Optional[pulumi.Input[int]] = None,
|
|
3481
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
3124
3482
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
3125
|
-
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3483
|
+
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]]] = None,
|
|
3126
3484
|
dedicated_host_id: Optional[pulumi.Input[str]] = None,
|
|
3127
3485
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
3128
3486
|
deployment_set_group_no: Optional[pulumi.Input[str]] = None,
|
|
3129
3487
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
3130
3488
|
description: Optional[pulumi.Input[str]] = None,
|
|
3131
3489
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
3490
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
3491
|
+
expired_time: Optional[pulumi.Input[str]] = None,
|
|
3132
3492
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
3133
3493
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
3134
3494
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3136,6 +3496,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3136
3496
|
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
|
|
3137
3497
|
http_tokens: Optional[pulumi.Input[str]] = None,
|
|
3138
3498
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
3499
|
+
image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
|
|
3139
3500
|
include_data_disks: Optional[pulumi.Input[bool]] = None,
|
|
3140
3501
|
instance_charge_type: Optional[pulumi.Input[str]] = None,
|
|
3141
3502
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3148,25 +3509,29 @@ class Instance(pulumi.CustomResource):
|
|
|
3148
3509
|
is_outdated: Optional[pulumi.Input[bool]] = None,
|
|
3149
3510
|
key_name: Optional[pulumi.Input[str]] = None,
|
|
3150
3511
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
3151
|
-
kms_encryption_context: Optional[pulumi.Input[Mapping[str,
|
|
3512
|
+
kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3152
3513
|
launch_template_id: Optional[pulumi.Input[str]] = None,
|
|
3153
3514
|
launch_template_name: Optional[pulumi.Input[str]] = None,
|
|
3154
3515
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
3155
3516
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
3156
3517
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
3157
|
-
maintenance_time: Optional[pulumi.Input[
|
|
3518
|
+
maintenance_time: Optional[pulumi.Input[Union['InstanceMaintenanceTimeArgs', 'InstanceMaintenanceTimeArgsDict']]] = None,
|
|
3158
3519
|
memory: Optional[pulumi.Input[int]] = None,
|
|
3520
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
3159
3521
|
network_interface_id: Optional[pulumi.Input[str]] = None,
|
|
3160
|
-
|
|
3522
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
3523
|
+
network_interfaces: Optional[pulumi.Input[Union['InstanceNetworkInterfacesArgs', 'InstanceNetworkInterfacesArgsDict']]] = None,
|
|
3161
3524
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
3162
3525
|
os_name: Optional[pulumi.Input[str]] = None,
|
|
3163
3526
|
os_type: Optional[pulumi.Input[str]] = None,
|
|
3164
3527
|
password: Optional[pulumi.Input[str]] = None,
|
|
3528
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
3165
3529
|
period: Optional[pulumi.Input[int]] = None,
|
|
3166
3530
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
3167
3531
|
primary_ip_address: Optional[pulumi.Input[str]] = None,
|
|
3168
3532
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
3169
3533
|
public_ip: Optional[pulumi.Input[str]] = None,
|
|
3534
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
3170
3535
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
3171
3536
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
3172
3537
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3177,6 +3542,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3177
3542
|
spot_duration: Optional[pulumi.Input[int]] = None,
|
|
3178
3543
|
spot_price_limit: Optional[pulumi.Input[float]] = None,
|
|
3179
3544
|
spot_strategy: Optional[pulumi.Input[str]] = None,
|
|
3545
|
+
start_time: Optional[pulumi.Input[str]] = None,
|
|
3180
3546
|
status: Optional[pulumi.Input[str]] = None,
|
|
3181
3547
|
stopped_mode: Optional[pulumi.Input[str]] = None,
|
|
3182
3548
|
system_disk_auto_snapshot_policy_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3192,7 +3558,8 @@ class Instance(pulumi.CustomResource):
|
|
|
3192
3558
|
system_disk_storage_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
3193
3559
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3194
3560
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
3195
|
-
volume_tags: Optional[pulumi.Input[Mapping[str,
|
|
3561
|
+
volume_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3562
|
+
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
3196
3563
|
vswitch_id: Optional[pulumi.Input[str]] = None) -> 'Instance':
|
|
3197
3564
|
"""
|
|
3198
3565
|
Get an existing Instance resource's state with the given name, id, and optional extra
|
|
@@ -3202,7 +3569,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3202
3569
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
3203
3570
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
3204
3571
|
:param pulumi.Input[bool] allocate_public_ip: It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
|
|
3205
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
3572
|
+
:param pulumi.Input[str] auto_release_time: The automatic release time of the `PostPaid` instance.
|
|
3206
3573
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
3207
3574
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
3208
3575
|
:param pulumi.Input[int] auto_renew_period: Auto renewal period of an instance, in the unit of month. It is valid when `instance_charge_type` is `PrePaid`. Default to 1. Valid value:
|
|
@@ -3210,8 +3577,9 @@ class Instance(pulumi.CustomResource):
|
|
|
3210
3577
|
- [1, 2, 3] when `period_unit` in "Week"
|
|
3211
3578
|
:param pulumi.Input[str] availability_zone: The Zone to start the instance in. It is ignored and will be computed when set `vswitch_id`.
|
|
3212
3579
|
:param pulumi.Input[int] cpu: The number of vCPUs.
|
|
3580
|
+
:param pulumi.Input[str] create_time: (Available since v1.232.0) The time when the instance was created.
|
|
3213
3581
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
3214
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3582
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]] data_disks: The list of data disks created with instance. See `data_disks` below.
|
|
3215
3583
|
:param pulumi.Input[str] dedicated_host_id: The ID of the dedicated host on which to create the instance. If you set the DedicatedHostId parameter, the `spot_strategy` and `spot_price_limit` parameters cannot be set. This is because preemptible instances cannot be created on dedicated hosts.
|
|
3216
3584
|
:param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not. It does not work when the instance is spot. Default value: `false`.
|
|
3217
3585
|
- true: Enable deletion protection.
|
|
@@ -3219,20 +3587,37 @@ class Instance(pulumi.CustomResource):
|
|
|
3219
3587
|
:param pulumi.Input[str] deployment_set_group_no: The group number of the instance in a deployment set when the deployment set is use.
|
|
3220
3588
|
:param pulumi.Input[str] deployment_set_id: The ID of the deployment set to which to deploy the instance. **NOTE:** From version 1.176.0, instance's deploymentSetId can be removed when 'deployment_set_id' = "".
|
|
3221
3589
|
:param pulumi.Input[str] description: Description of the instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
|
|
3222
|
-
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
3590
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to send a dry-run request. Default to false.
|
|
3223
3591
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
3224
3592
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
3593
|
+
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
3594
|
+
:param pulumi.Input[str] expired_time: (Available since v1.232.0) The expiration time of the instance.
|
|
3225
3595
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
3226
3596
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
3227
3597
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
3228
3598
|
On other OSs such as Linux, the host name can contain a maximum of 64 characters, which can be segments separated by dots (“.”), where each segment can contain uppercase/lowercase letters, numerals, or “_“. When it is changed, the instance will reboot to make the change take effect.
|
|
3229
3599
|
:param pulumi.Input[str] hpc_cluster_id: The ID of the Elastic High Performance Computing (E-HPC) cluster to which to assign the instance.
|
|
3230
3600
|
:param pulumi.Input[str] http_endpoint: Specifies whether to enable the access channel for instance metadata. Valid values: `enabled`, `disabled`. Default value: `enabled`.
|
|
3231
|
-
:param pulumi.Input[int] http_put_response_hop_limit: The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
3601
|
+
:param pulumi.Input[int] http_put_response_hop_limit: **NOTE:**: This parameter is not available for use yet. The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
3232
3602
|
:param pulumi.Input[str] http_tokens: Specifies whether to forcefully use the security-enhanced mode (IMDSv2) to access instance metadata. Default value: optional. Valid values:
|
|
3233
3603
|
- optional: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
3234
3604
|
- required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
3235
3605
|
:param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
|
|
3606
|
+
:param pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']] image_options: The options of images. See `image_options` below.
|
|
3607
|
+
|
|
3608
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3609
|
+
|
|
3610
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3611
|
+
|
|
3612
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3613
|
+
|
|
3614
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3615
|
+
|
|
3616
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3617
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3618
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3619
|
+
|
|
3620
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
3236
3621
|
:param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
|
|
3237
3622
|
:param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
|
|
3238
3623
|
**NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
|
|
@@ -3247,35 +3632,28 @@ class Instance(pulumi.CustomResource):
|
|
|
3247
3632
|
:param pulumi.Input[bool] is_outdated: Whether to use outdated instance type. Default to false.
|
|
3248
3633
|
:param pulumi.Input[str] key_name: The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
|
|
3249
3634
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to an instance. If the `password` is filled in, this field will be ignored. When it is changed, the instance will reboot to make the change take effect.
|
|
3250
|
-
:param pulumi.Input[Mapping[str,
|
|
3635
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating an instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set. When it is changed, the instance will reboot to make the change take effect.
|
|
3251
3636
|
:param pulumi.Input[str] launch_template_id: The ID of the launch template. For more information, see [DescribeLaunchTemplates](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-describelaunchtemplates).To use a launch template to create an instance, you must use the `launch_template_id` or `launch_template_name` parameter to specify the launch template.
|
|
3252
3637
|
:param pulumi.Input[str] launch_template_name: The name of the launch template.
|
|
3253
3638
|
:param pulumi.Input[str] launch_template_version: The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3257
|
-
|
|
3258
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3259
|
-
|
|
3260
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3261
|
-
|
|
3262
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3263
|
-
|
|
3264
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3265
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3266
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3267
|
-
|
|
3268
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
3269
3639
|
:param pulumi.Input[str] maintenance_action: The maintenance action. Valid values: `Stop`, `AutoRecover` and `AutoRedeploy`.
|
|
3640
|
+
* `Stop` : stops the instance.
|
|
3641
|
+
* `AutoRecover` : automatically recovers the instance.
|
|
3642
|
+
* `AutoRedeploy` : fails the instance over, which may cause damage to the data disks attached to the instance.
|
|
3270
3643
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
3271
|
-
:param pulumi.Input[
|
|
3644
|
+
:param pulumi.Input[Union['InstanceMaintenanceTimeArgs', 'InstanceMaintenanceTimeArgsDict']] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
3272
3645
|
:param pulumi.Input[int] memory: The memory size of the instance. Unit: MiB.
|
|
3273
|
-
:param pulumi.Input[
|
|
3274
|
-
:param pulumi.Input[
|
|
3646
|
+
:param pulumi.Input[int] network_card_index: The index of the network card for Primary ENI.
|
|
3647
|
+
:param pulumi.Input[str] network_interface_id: The ID of the Primary ENI.
|
|
3648
|
+
:param pulumi.Input[str] network_interface_traffic_mode: The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
3649
|
+
- `Standard`: Uses the TCP communication mode.
|
|
3650
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
3651
|
+
:param pulumi.Input[Union['InstanceNetworkInterfacesArgs', 'InstanceNetworkInterfacesArgsDict']] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
3275
3652
|
:param pulumi.Input[str] operator_type: The operation type. It is valid when `instance_charge_type` is `PrePaid`. Default value: `upgrade`. Valid values: `upgrade`, `downgrade`. **NOTE:** When the new instance type specified by the `instance_type` parameter has lower specifications than the current instance type, you must set `operator_type` to `downgrade`.
|
|
3276
3653
|
:param pulumi.Input[str] os_name: The name of the operating system of the instance.
|
|
3277
3654
|
:param pulumi.Input[str] os_type: The type of the operating system of the instance.
|
|
3278
3655
|
:param pulumi.Input[str] password: Password to an instance is a string of 8 to 30 characters. It must contain uppercase/lowercase letters and numerals, but cannot contain special symbols. When it is changed, the instance will reboot to make the change take effect.
|
|
3656
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
3279
3657
|
:param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid and required when `instance_charge_type` is `PrePaid`. Valid values:
|
|
3280
3658
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
3281
3659
|
- [1-3] when `period_unit` in "Week"
|
|
@@ -3285,11 +3663,15 @@ class Instance(pulumi.CustomResource):
|
|
|
3285
3663
|
:param pulumi.Input[str] primary_ip_address: The primary private IP address of the ENI.
|
|
3286
3664
|
:param pulumi.Input[str] private_ip: Instance private IP address can be specified when you creating new instance. It is valid when `vswitch_id` is specified. When it is changed, the instance will reboot to make the change take effect.
|
|
3287
3665
|
:param pulumi.Input[str] public_ip: The instance public ip.
|
|
3666
|
+
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
3288
3667
|
:param pulumi.Input[str] renewal_status: Whether to renew an ECS instance automatically or not. It is valid when `instance_charge_type` is `PrePaid`. Default to "Normal". Valid values:
|
|
3668
|
+
- `AutoRenewal`: Enable auto renewal.
|
|
3669
|
+
- `Normal`: Disable auto renewal.
|
|
3670
|
+
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
3289
3671
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
3290
3672
|
: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.
|
|
3291
3673
|
: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.
|
|
3292
|
-
: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
|
|
3674
|
+
: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.
|
|
3293
3675
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
3294
3676
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
3295
3677
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -3302,10 +3684,13 @@ class Instance(pulumi.CustomResource):
|
|
|
3302
3684
|
- SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance
|
|
3303
3685
|
|
|
3304
3686
|
Default to NoSpot. Note: Currently, the spot instance only supports domestic site account.
|
|
3687
|
+
:param pulumi.Input[str] start_time: (Available since v1.232.0) The time when the instance was last started.
|
|
3305
3688
|
:param pulumi.Input[str] status: The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`.
|
|
3306
3689
|
:param pulumi.Input[str] stopped_mode: The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
3690
|
+
* `KeepCharging`: standard mode. Billing of the instance continues after the instance is stopped, and resources are retained for the instance.
|
|
3691
|
+
* `StopCharging`: economical mode. Billing of some resources of the instance stops after the instance is stopped. When the instance is stopped, its resources such as vCPUs, memory, and public IP address are released. You may be unable to restart the instance if some types of resources are out of stock in the current region.
|
|
3307
3692
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
3308
|
-
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
3693
|
+
:param pulumi.Input[str] system_disk_category: Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
3309
3694
|
:param pulumi.Input[str] system_disk_description: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
|
|
3310
3695
|
:param pulumi.Input[str] system_disk_encrypt_algorithm: The algorithm to be used to encrypt the system disk. Valid values are `aes-256`, `sm4-128`. Default value is `aes-256`.
|
|
3311
3696
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -3322,9 +3707,10 @@ class Instance(pulumi.CustomResource):
|
|
|
3322
3707
|
It supports to setting a base64-encoded value, and it is the recommended usage.
|
|
3323
3708
|
From version 1.60.0, it can be updated in-place. If updated, the instance will reboot to make the change take effect.
|
|
3324
3709
|
Note: Not all changes will take effect, and it depends on [cloud-init module type](https://cloudinit.readthedocs.io/en/latest/topics/modules.html).
|
|
3325
|
-
:param pulumi.Input[Mapping[str,
|
|
3710
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
3326
3711
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
3327
3712
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
3713
|
+
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
3328
3714
|
:param pulumi.Input[str] vswitch_id: The virtual switch ID to launch in VPC. This parameter must be set unless you can create classic network instances. When it is changed, the instance will reboot to make the change take effect.
|
|
3329
3715
|
"""
|
|
3330
3716
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -3336,6 +3722,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3336
3722
|
__props__.__dict__["auto_renew_period"] = auto_renew_period
|
|
3337
3723
|
__props__.__dict__["availability_zone"] = availability_zone
|
|
3338
3724
|
__props__.__dict__["cpu"] = cpu
|
|
3725
|
+
__props__.__dict__["create_time"] = create_time
|
|
3339
3726
|
__props__.__dict__["credit_specification"] = credit_specification
|
|
3340
3727
|
__props__.__dict__["data_disks"] = data_disks
|
|
3341
3728
|
__props__.__dict__["dedicated_host_id"] = dedicated_host_id
|
|
@@ -3344,6 +3731,8 @@ class Instance(pulumi.CustomResource):
|
|
|
3344
3731
|
__props__.__dict__["deployment_set_id"] = deployment_set_id
|
|
3345
3732
|
__props__.__dict__["description"] = description
|
|
3346
3733
|
__props__.__dict__["dry_run"] = dry_run
|
|
3734
|
+
__props__.__dict__["enable_jumbo_frame"] = enable_jumbo_frame
|
|
3735
|
+
__props__.__dict__["expired_time"] = expired_time
|
|
3347
3736
|
__props__.__dict__["force_delete"] = force_delete
|
|
3348
3737
|
__props__.__dict__["host_name"] = host_name
|
|
3349
3738
|
__props__.__dict__["hpc_cluster_id"] = hpc_cluster_id
|
|
@@ -3351,6 +3740,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3351
3740
|
__props__.__dict__["http_put_response_hop_limit"] = http_put_response_hop_limit
|
|
3352
3741
|
__props__.__dict__["http_tokens"] = http_tokens
|
|
3353
3742
|
__props__.__dict__["image_id"] = image_id
|
|
3743
|
+
__props__.__dict__["image_options"] = image_options
|
|
3354
3744
|
__props__.__dict__["include_data_disks"] = include_data_disks
|
|
3355
3745
|
__props__.__dict__["instance_charge_type"] = instance_charge_type
|
|
3356
3746
|
__props__.__dict__["instance_name"] = instance_name
|
|
@@ -3371,17 +3761,21 @@ class Instance(pulumi.CustomResource):
|
|
|
3371
3761
|
__props__.__dict__["maintenance_notify"] = maintenance_notify
|
|
3372
3762
|
__props__.__dict__["maintenance_time"] = maintenance_time
|
|
3373
3763
|
__props__.__dict__["memory"] = memory
|
|
3764
|
+
__props__.__dict__["network_card_index"] = network_card_index
|
|
3374
3765
|
__props__.__dict__["network_interface_id"] = network_interface_id
|
|
3766
|
+
__props__.__dict__["network_interface_traffic_mode"] = network_interface_traffic_mode
|
|
3375
3767
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
|
3376
3768
|
__props__.__dict__["operator_type"] = operator_type
|
|
3377
3769
|
__props__.__dict__["os_name"] = os_name
|
|
3378
3770
|
__props__.__dict__["os_type"] = os_type
|
|
3379
3771
|
__props__.__dict__["password"] = password
|
|
3772
|
+
__props__.__dict__["password_inherit"] = password_inherit
|
|
3380
3773
|
__props__.__dict__["period"] = period
|
|
3381
3774
|
__props__.__dict__["period_unit"] = period_unit
|
|
3382
3775
|
__props__.__dict__["primary_ip_address"] = primary_ip_address
|
|
3383
3776
|
__props__.__dict__["private_ip"] = private_ip
|
|
3384
3777
|
__props__.__dict__["public_ip"] = public_ip
|
|
3778
|
+
__props__.__dict__["queue_pair_number"] = queue_pair_number
|
|
3385
3779
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
3386
3780
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
3387
3781
|
__props__.__dict__["role_name"] = role_name
|
|
@@ -3392,6 +3786,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3392
3786
|
__props__.__dict__["spot_duration"] = spot_duration
|
|
3393
3787
|
__props__.__dict__["spot_price_limit"] = spot_price_limit
|
|
3394
3788
|
__props__.__dict__["spot_strategy"] = spot_strategy
|
|
3789
|
+
__props__.__dict__["start_time"] = start_time
|
|
3395
3790
|
__props__.__dict__["status"] = status
|
|
3396
3791
|
__props__.__dict__["stopped_mode"] = stopped_mode
|
|
3397
3792
|
__props__.__dict__["system_disk_auto_snapshot_policy_id"] = system_disk_auto_snapshot_policy_id
|
|
@@ -3408,25 +3803,24 @@ class Instance(pulumi.CustomResource):
|
|
|
3408
3803
|
__props__.__dict__["tags"] = tags
|
|
3409
3804
|
__props__.__dict__["user_data"] = user_data
|
|
3410
3805
|
__props__.__dict__["volume_tags"] = volume_tags
|
|
3806
|
+
__props__.__dict__["vpc_id"] = vpc_id
|
|
3411
3807
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
3412
3808
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
|
3413
3809
|
|
|
3414
3810
|
@property
|
|
3415
3811
|
@pulumi.getter(name="allocatePublicIp")
|
|
3812
|
+
@_utilities.deprecated("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
|
|
3416
3813
|
def allocate_public_ip(self) -> pulumi.Output[Optional[bool]]:
|
|
3417
3814
|
"""
|
|
3418
3815
|
It has been deprecated from version "1.7.0". Setting "internet_max_bandwidth_out" larger than 0 can allocate a public ip address for an instance.
|
|
3419
3816
|
"""
|
|
3420
|
-
warnings.warn("""Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""", DeprecationWarning)
|
|
3421
|
-
pulumi.log.warn("""allocate_public_ip is deprecated: Field 'allocate_public_ip' has been deprecated from provider version 1.6.1. Setting 'internet_max_bandwidth_out' larger than 0 will allocate public ip for instance.""")
|
|
3422
|
-
|
|
3423
3817
|
return pulumi.get(self, "allocate_public_ip")
|
|
3424
3818
|
|
|
3425
3819
|
@property
|
|
3426
3820
|
@pulumi.getter(name="autoReleaseTime")
|
|
3427
3821
|
def auto_release_time(self) -> pulumi.Output[Optional[str]]:
|
|
3428
3822
|
"""
|
|
3429
|
-
The automatic release time of the `PostPaid` instance.
|
|
3823
|
+
The automatic release time of the `PostPaid` instance.
|
|
3430
3824
|
The time follows the ISO 8601 standard and is in UTC time. Format: yyyy-MM-ddTHH:mm:ssZ. It must be at least half an hour later than the current time and less than 3 years since the current time.
|
|
3431
3825
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
3432
3826
|
"""
|
|
@@ -3458,6 +3852,14 @@ class Instance(pulumi.CustomResource):
|
|
|
3458
3852
|
"""
|
|
3459
3853
|
return pulumi.get(self, "cpu")
|
|
3460
3854
|
|
|
3855
|
+
@property
|
|
3856
|
+
@pulumi.getter(name="createTime")
|
|
3857
|
+
def create_time(self) -> pulumi.Output[str]:
|
|
3858
|
+
"""
|
|
3859
|
+
(Available since v1.232.0) The time when the instance was created.
|
|
3860
|
+
"""
|
|
3861
|
+
return pulumi.get(self, "create_time")
|
|
3862
|
+
|
|
3461
3863
|
@property
|
|
3462
3864
|
@pulumi.getter(name="creditSpecification")
|
|
3463
3865
|
def credit_specification(self) -> pulumi.Output[str]:
|
|
@@ -3520,12 +3922,28 @@ class Instance(pulumi.CustomResource):
|
|
|
3520
3922
|
@pulumi.getter(name="dryRun")
|
|
3521
3923
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
3522
3924
|
"""
|
|
3523
|
-
Specifies whether to send a dry-run request. Default to false.
|
|
3925
|
+
Specifies whether to send a dry-run request. Default to false.
|
|
3524
3926
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
3525
3927
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
3526
3928
|
"""
|
|
3527
3929
|
return pulumi.get(self, "dry_run")
|
|
3528
3930
|
|
|
3931
|
+
@property
|
|
3932
|
+
@pulumi.getter(name="enableJumboFrame")
|
|
3933
|
+
def enable_jumbo_frame(self) -> pulumi.Output[bool]:
|
|
3934
|
+
"""
|
|
3935
|
+
Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
3936
|
+
"""
|
|
3937
|
+
return pulumi.get(self, "enable_jumbo_frame")
|
|
3938
|
+
|
|
3939
|
+
@property
|
|
3940
|
+
@pulumi.getter(name="expiredTime")
|
|
3941
|
+
def expired_time(self) -> pulumi.Output[str]:
|
|
3942
|
+
"""
|
|
3943
|
+
(Available since v1.232.0) The expiration time of the instance.
|
|
3944
|
+
"""
|
|
3945
|
+
return pulumi.get(self, "expired_time")
|
|
3946
|
+
|
|
3529
3947
|
@property
|
|
3530
3948
|
@pulumi.getter(name="forceDelete")
|
|
3531
3949
|
def force_delete(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -3564,7 +3982,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3564
3982
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
3565
3983
|
def http_put_response_hop_limit(self) -> pulumi.Output[int]:
|
|
3566
3984
|
"""
|
|
3567
|
-
The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
3985
|
+
**NOTE:**: This parameter is not available for use yet. The HTTP PUT response hop limit for accessing instance metadata. Valid values: 1 to 64. Default value: 1.
|
|
3568
3986
|
"""
|
|
3569
3987
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
3570
3988
|
|
|
@@ -3586,6 +4004,28 @@ class Instance(pulumi.CustomResource):
|
|
|
3586
4004
|
"""
|
|
3587
4005
|
return pulumi.get(self, "image_id")
|
|
3588
4006
|
|
|
4007
|
+
@property
|
|
4008
|
+
@pulumi.getter(name="imageOptions")
|
|
4009
|
+
def image_options(self) -> pulumi.Output['outputs.InstanceImageOptions']:
|
|
4010
|
+
"""
|
|
4011
|
+
The options of images. See `image_options` below.
|
|
4012
|
+
|
|
4013
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
4014
|
+
|
|
4015
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
4016
|
+
|
|
4017
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
4018
|
+
|
|
4019
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
4020
|
+
|
|
4021
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
4022
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
4023
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
4024
|
+
|
|
4025
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
4026
|
+
"""
|
|
4027
|
+
return pulumi.get(self, "image_options")
|
|
4028
|
+
|
|
3589
4029
|
@property
|
|
3590
4030
|
@pulumi.getter(name="includeDataDisks")
|
|
3591
4031
|
def include_data_disks(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -3628,13 +4068,11 @@ class Instance(pulumi.CustomResource):
|
|
|
3628
4068
|
|
|
3629
4069
|
@property
|
|
3630
4070
|
@pulumi.getter(name="internetMaxBandwidthIn")
|
|
4071
|
+
@_utilities.deprecated("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
|
|
3631
4072
|
def internet_max_bandwidth_in(self) -> pulumi.Output[int]:
|
|
3632
4073
|
"""
|
|
3633
4074
|
Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). Value range: [1, 200]. If this value is not specified, then automatically sets it to 200 Mbps.
|
|
3634
4075
|
"""
|
|
3635
|
-
warnings.warn("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""", DeprecationWarning)
|
|
3636
|
-
pulumi.log.warn("""internet_max_bandwidth_in is deprecated: The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""")
|
|
3637
|
-
|
|
3638
4076
|
return pulumi.get(self, "internet_max_bandwidth_in")
|
|
3639
4077
|
|
|
3640
4078
|
@property
|
|
@@ -3687,7 +4125,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3687
4125
|
|
|
3688
4126
|
@property
|
|
3689
4127
|
@pulumi.getter(name="kmsEncryptionContext")
|
|
3690
|
-
def kms_encryption_context(self) -> pulumi.Output[Optional[Mapping[str,
|
|
4128
|
+
def kms_encryption_context(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
3691
4129
|
"""
|
|
3692
4130
|
An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating an instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set. When it is changed, the instance will reboot to make the change take effect.
|
|
3693
4131
|
"""
|
|
@@ -3714,21 +4152,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3714
4152
|
def launch_template_version(self) -> pulumi.Output[Optional[str]]:
|
|
3715
4153
|
"""
|
|
3716
4154
|
The version of the launch template. If you set `launch_template_id` or `launch_template_name` parameter but do not set the version number of the launch template, the default template version is used.
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3720
|
-
|
|
3721
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3722
|
-
|
|
3723
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3724
|
-
|
|
3725
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3726
|
-
|
|
3727
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3728
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3729
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3730
|
-
|
|
3731
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
3732
4155
|
"""
|
|
3733
4156
|
return pulumi.get(self, "launch_template_version")
|
|
3734
4157
|
|
|
@@ -3737,6 +4160,9 @@ class Instance(pulumi.CustomResource):
|
|
|
3737
4160
|
def maintenance_action(self) -> pulumi.Output[str]:
|
|
3738
4161
|
"""
|
|
3739
4162
|
The maintenance action. Valid values: `Stop`, `AutoRecover` and `AutoRedeploy`.
|
|
4163
|
+
* `Stop` : stops the instance.
|
|
4164
|
+
* `AutoRecover` : automatically recovers the instance.
|
|
4165
|
+
* `AutoRedeploy` : fails the instance over, which may cause damage to the data disks attached to the instance.
|
|
3740
4166
|
"""
|
|
3741
4167
|
return pulumi.get(self, "maintenance_action")
|
|
3742
4168
|
|
|
@@ -3764,14 +4190,32 @@ class Instance(pulumi.CustomResource):
|
|
|
3764
4190
|
"""
|
|
3765
4191
|
return pulumi.get(self, "memory")
|
|
3766
4192
|
|
|
4193
|
+
@property
|
|
4194
|
+
@pulumi.getter(name="networkCardIndex")
|
|
4195
|
+
def network_card_index(self) -> pulumi.Output[Optional[int]]:
|
|
4196
|
+
"""
|
|
4197
|
+
The index of the network card for Primary ENI.
|
|
4198
|
+
"""
|
|
4199
|
+
return pulumi.get(self, "network_card_index")
|
|
4200
|
+
|
|
3767
4201
|
@property
|
|
3768
4202
|
@pulumi.getter(name="networkInterfaceId")
|
|
3769
4203
|
def network_interface_id(self) -> pulumi.Output[str]:
|
|
3770
4204
|
"""
|
|
3771
|
-
The ID of the
|
|
4205
|
+
The ID of the Primary ENI.
|
|
3772
4206
|
"""
|
|
3773
4207
|
return pulumi.get(self, "network_interface_id")
|
|
3774
4208
|
|
|
4209
|
+
@property
|
|
4210
|
+
@pulumi.getter(name="networkInterfaceTrafficMode")
|
|
4211
|
+
def network_interface_traffic_mode(self) -> pulumi.Output[str]:
|
|
4212
|
+
"""
|
|
4213
|
+
The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
4214
|
+
- `Standard`: Uses the TCP communication mode.
|
|
4215
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
4216
|
+
"""
|
|
4217
|
+
return pulumi.get(self, "network_interface_traffic_mode")
|
|
4218
|
+
|
|
3775
4219
|
@property
|
|
3776
4220
|
@pulumi.getter(name="networkInterfaces")
|
|
3777
4221
|
def network_interfaces(self) -> pulumi.Output['outputs.InstanceNetworkInterfaces']:
|
|
@@ -3812,6 +4256,14 @@ class Instance(pulumi.CustomResource):
|
|
|
3812
4256
|
"""
|
|
3813
4257
|
return pulumi.get(self, "password")
|
|
3814
4258
|
|
|
4259
|
+
@property
|
|
4260
|
+
@pulumi.getter(name="passwordInherit")
|
|
4261
|
+
def password_inherit(self) -> pulumi.Output[Optional[bool]]:
|
|
4262
|
+
"""
|
|
4263
|
+
Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
4264
|
+
"""
|
|
4265
|
+
return pulumi.get(self, "password_inherit")
|
|
4266
|
+
|
|
3815
4267
|
@property
|
|
3816
4268
|
@pulumi.getter
|
|
3817
4269
|
def period(self) -> pulumi.Output[int]:
|
|
@@ -3856,11 +4308,22 @@ class Instance(pulumi.CustomResource):
|
|
|
3856
4308
|
"""
|
|
3857
4309
|
return pulumi.get(self, "public_ip")
|
|
3858
4310
|
|
|
4311
|
+
@property
|
|
4312
|
+
@pulumi.getter(name="queuePairNumber")
|
|
4313
|
+
def queue_pair_number(self) -> pulumi.Output[Optional[int]]:
|
|
4314
|
+
"""
|
|
4315
|
+
The number of queues supported by the ERI.
|
|
4316
|
+
"""
|
|
4317
|
+
return pulumi.get(self, "queue_pair_number")
|
|
4318
|
+
|
|
3859
4319
|
@property
|
|
3860
4320
|
@pulumi.getter(name="renewalStatus")
|
|
3861
4321
|
def renewal_status(self) -> pulumi.Output[Optional[str]]:
|
|
3862
4322
|
"""
|
|
3863
4323
|
Whether to renew an ECS instance automatically or not. It is valid when `instance_charge_type` is `PrePaid`. Default to "Normal". Valid values:
|
|
4324
|
+
- `AutoRenewal`: Enable auto renewal.
|
|
4325
|
+
- `Normal`: Disable auto renewal.
|
|
4326
|
+
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
3864
4327
|
"""
|
|
3865
4328
|
return pulumi.get(self, "renewal_status")
|
|
3866
4329
|
|
|
@@ -3892,7 +4355,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3892
4355
|
@pulumi.getter(name="secondaryPrivateIps")
|
|
3893
4356
|
def secondary_private_ips(self) -> pulumi.Output[Sequence[str]]:
|
|
3894
4357
|
"""
|
|
3895
|
-
A list of Secondary private IP addresses which is selected from within the CIDR block of the
|
|
4358
|
+
A list of Secondary private IP addresses which is selected from within the CIDR block of the vSwitch.
|
|
3896
4359
|
"""
|
|
3897
4360
|
return pulumi.get(self, "secondary_private_ips")
|
|
3898
4361
|
|
|
@@ -3943,6 +4406,14 @@ class Instance(pulumi.CustomResource):
|
|
|
3943
4406
|
"""
|
|
3944
4407
|
return pulumi.get(self, "spot_strategy")
|
|
3945
4408
|
|
|
4409
|
+
@property
|
|
4410
|
+
@pulumi.getter(name="startTime")
|
|
4411
|
+
def start_time(self) -> pulumi.Output[str]:
|
|
4412
|
+
"""
|
|
4413
|
+
(Available since v1.232.0) The time when the instance was last started.
|
|
4414
|
+
"""
|
|
4415
|
+
return pulumi.get(self, "start_time")
|
|
4416
|
+
|
|
3946
4417
|
@property
|
|
3947
4418
|
@pulumi.getter
|
|
3948
4419
|
def status(self) -> pulumi.Output[str]:
|
|
@@ -3956,6 +4427,8 @@ class Instance(pulumi.CustomResource):
|
|
|
3956
4427
|
def stopped_mode(self) -> pulumi.Output[str]:
|
|
3957
4428
|
"""
|
|
3958
4429
|
The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
4430
|
+
* `KeepCharging`: standard mode. Billing of the instance continues after the instance is stopped, and resources are retained for the instance.
|
|
4431
|
+
* `StopCharging`: economical mode. Billing of some resources of the instance stops after the instance is stopped. When the instance is stopped, its resources such as vCPUs, memory, and public IP address are released. You may be unable to restart the instance if some types of resources are out of stock in the current region.
|
|
3959
4432
|
"""
|
|
3960
4433
|
return pulumi.get(self, "stopped_mode")
|
|
3961
4434
|
|
|
@@ -3971,7 +4444,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3971
4444
|
@pulumi.getter(name="systemDiskCategory")
|
|
3972
4445
|
def system_disk_category(self) -> pulumi.Output[str]:
|
|
3973
4446
|
"""
|
|
3974
|
-
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since
|
|
4447
|
+
Valid values are `ephemeral_ssd`, `cloud_efficiency`, `cloud_ssd`, `cloud_essd`, `cloud`, `cloud_auto`, `cloud_essd_entry`. only is used to some none I/O optimized instance. Valid values `cloud_auto` Available since v1.184.0.
|
|
3975
4448
|
"""
|
|
3976
4449
|
return pulumi.get(self, "system_disk_category")
|
|
3977
4450
|
|
|
@@ -4070,7 +4543,7 @@ class Instance(pulumi.CustomResource):
|
|
|
4070
4543
|
|
|
4071
4544
|
@property
|
|
4072
4545
|
@pulumi.getter(name="volumeTags")
|
|
4073
|
-
def volume_tags(self) -> pulumi.Output[Mapping[str,
|
|
4546
|
+
def volume_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
|
4074
4547
|
"""
|
|
4075
4548
|
A mapping of tags to assign to the devices created by the instance at launch time.
|
|
4076
4549
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
@@ -4078,6 +4551,14 @@ class Instance(pulumi.CustomResource):
|
|
|
4078
4551
|
"""
|
|
4079
4552
|
return pulumi.get(self, "volume_tags")
|
|
4080
4553
|
|
|
4554
|
+
@property
|
|
4555
|
+
@pulumi.getter(name="vpcId")
|
|
4556
|
+
def vpc_id(self) -> pulumi.Output[str]:
|
|
4557
|
+
"""
|
|
4558
|
+
The ID of the VPC.
|
|
4559
|
+
"""
|
|
4560
|
+
return pulumi.get(self, "vpc_id")
|
|
4561
|
+
|
|
4081
4562
|
@property
|
|
4082
4563
|
@pulumi.getter(name="vswitchId")
|
|
4083
4564
|
def vswitch_id(self) -> pulumi.Output[str]:
|