pulumi-alicloud 3.51.0a1710157550__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 +1008 -21
- pulumi_alicloud/_inputs.py +1255 -65
- 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 +40 -45
- pulumi_alicloud/actiontrail/trail_deprecated.py +20 -35
- pulumi_alicloud/adb/_inputs.py +43 -0
- pulumi_alicloud/adb/account.py +53 -84
- pulumi_alicloud/adb/backup_policy.py +5 -0
- pulumi_alicloud/adb/cluster.py +205 -46
- pulumi_alicloud/adb/connection.py +31 -68
- pulumi_alicloud/adb/db_cluster.py +281 -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 +912 -98
- 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 +90 -115
- 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 +39 -36
- pulumi_alicloud/alikafka/instance.py +209 -44
- pulumi_alicloud/alikafka/instance_allowed_ip_attachment.py +80 -63
- pulumi_alicloud/alikafka/sasl_acl.py +35 -24
- pulumi_alicloud/alikafka/sasl_user.py +45 -34
- pulumi_alicloud/alikafka/topic.py +39 -36
- 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 +462 -184
- 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 +4 -0
- pulumi_alicloud/apigateway/_inputs.py +700 -39
- 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 +411 -48
- pulumi_alicloud/apigateway/plugin.py +240 -87
- pulumi_alicloud/apigateway/plugin_attachment.py +425 -0
- 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 +141 -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 +151 -38
- 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 +27 -49
- pulumi_alicloud/cassandra/backup_plan.py +9 -0
- pulumi_alicloud/cassandra/cluster.py +37 -32
- pulumi_alicloud/cassandra/data_center.py +15 -10
- pulumi_alicloud/cassandra/get_backup_plans.py +21 -9
- pulumi_alicloud/cassandra/get_clusters.py +30 -14
- pulumi_alicloud/cassandra/get_data_centers.py +29 -13
- pulumi_alicloud/cassandra/get_zones.py +23 -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 +38 -33
- pulumi_alicloud/cddc/dedicated_host_group.py +15 -10
- pulumi_alicloud/cddc/dedicated_propre_host.py +31 -26
- 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 +131 -216
- pulumi_alicloud/cdn/domain_config.py +98 -50
- 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 +404 -196
- 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 +88 -42
- pulumi_alicloud/clickhouse/backup_policy.py +17 -16
- pulumi_alicloud/clickhouse/db_cluster.py +159 -51
- 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 +29 -17
- pulumi_alicloud/cloudconnect/network.py +9 -6
- pulumi_alicloud/cloudconnect/network_attachment.py +15 -12
- pulumi_alicloud/cloudconnect/network_grant.py +27 -44
- 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 +663 -146
- 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 +26 -23
- 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 +248 -175
- 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/__init__.py +1 -0
- pulumi_alicloud/cloudmonitor/_inputs.py +89 -0
- pulumi_alicloud/cloudmonitor/get_service_hybrid_double_writes.py +247 -0
- pulumi_alicloud/cloudmonitor/outputs.py +68 -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 +18 -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 +9 -0
- pulumi_alicloud/config/outputs.py +389 -2
- pulumi_alicloud/config/vars.py +13 -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 +2487 -291
- 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 +130 -145
- pulumi_alicloud/cs/get_ack_service.py +16 -9
- pulumi_alicloud/cs/get_cluster_credential.py +23 -31
- 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 +30 -27
- 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 +75 -28
- 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 +1330 -495
- pulumi_alicloud/cs/outputs.py +1375 -180
- 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 +371 -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 +153 -0
- 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 +118 -70
- 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 +36 -35
- 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 +50 -16
- pulumi_alicloud/dns/get_alidns_instances.py +22 -9
- pulumi_alicloud/dns/get_alidns_records.py +76 -13
- 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 +50 -16
- 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 +726 -238
- 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 +15 -22
- 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 +125 -54
- 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 +350 -63
- 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 +2146 -61
- pulumi_alicloud/emrv2/cluster.py +295 -194
- pulumi_alicloud/emrv2/get_clusters.py +70 -18
- pulumi_alicloud/emrv2/outputs.py +1464 -195
- 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 +1361 -110
- pulumi_alicloud/ess/alarm.py +232 -84
- pulumi_alicloud/ess/alb_server_group_attachment.py +55 -50
- pulumi_alicloud/ess/attachment.py +225 -79
- 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 +659 -106
- pulumi_alicloud/ess/scaling_configuration.py +576 -113
- 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 +432 -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 +320 -32
- 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 +48 -35
- pulumi_alicloud/eventbridge/rule.py +43 -38
- 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 +16 -11
- 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 +84 -42
- 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 +20 -19
- pulumi_alicloud/ga/listener.py +243 -38
- 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 +203 -129
- pulumi_alicloud/gpdb/backup_policy.py +5 -0
- pulumi_alicloud/gpdb/connection.py +31 -44
- 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 -111
- 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/__init__.py +2 -0
- pulumi_alicloud/hbr/_inputs.py +511 -0
- 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 +342 -2
- pulumi_alicloud/hbr/policy.py +362 -0
- pulumi_alicloud/hbr/policy_binding.py +901 -0
- 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 +85 -70
- 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 +296 -156
- 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/__init__.py +1 -0
- pulumi_alicloud/log/_inputs.py +467 -27
- pulumi_alicloud/log/alert.py +383 -412
- pulumi_alicloud/log/alert_resource.py +291 -0
- 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 +27 -19
- pulumi_alicloud/log/get_projects.py +23 -7
- pulumi_alicloud/log/get_service.py +16 -11
- 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 +86 -45
- pulumi_alicloud/log/machine_group.py +19 -12
- pulumi_alicloud/log/oss_export.py +35 -30
- pulumi_alicloud/log/oss_shipper.py +35 -26
- 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 +28 -25
- 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 +314 -67
- pulumi_alicloud/mongodb/outputs.py +27 -26
- pulumi_alicloud/mongodb/private_srv_network_address.py +283 -0
- pulumi_alicloud/mongodb/serverless_instance.py +59 -58
- pulumi_alicloud/mongodb/sharding_instance.py +293 -109
- pulumi_alicloud/mongodb/sharding_network_private_address.py +98 -99
- 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 +323 -121
- pulumi_alicloud/mse/engine_namespace.py +177 -68
- 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 +398 -325
- 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 -239
- 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 +243 -7
- 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 +21 -0
- pulumi_alicloud/oss/_inputs.py +2531 -15
- pulumi_alicloud/oss/access_point.py +463 -0
- pulumi_alicloud/oss/account_public_access_block.py +205 -0
- pulumi_alicloud/oss/bucket.py +201 -154
- pulumi_alicloud/oss/bucket_access_monitor.py +211 -0
- pulumi_alicloud/oss/bucket_acl.py +211 -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 +258 -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 +297 -0
- pulumi_alicloud/oss/bucket_public_access_block.py +271 -0
- pulumi_alicloud/oss/bucket_referer.py +475 -0
- pulumi_alicloud/oss/bucket_replication.py +159 -156
- 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 +32 -22
- pulumi_alicloud/oss/get_service.py +14 -9
- pulumi_alicloud/oss/get_tables.py +21 -5
- pulumi_alicloud/oss/outputs.py +1792 -98
- pulumi_alicloud/ots/_inputs.py +155 -0
- pulumi_alicloud/ots/get_instance_attachments.py +20 -9
- pulumi_alicloud/ots/get_instances.py +32 -22
- 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 +265 -23
- pulumi_alicloud/ots/instance_attachment.py +21 -18
- pulumi_alicloud/ots/outputs.py +75 -30
- 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 +54 -38
- 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 +78 -27
- pulumi_alicloud/quotas/get_quotas.py +40 -15
- pulumi_alicloud/quotas/get_template_applications.py +100 -7
- pulumi_alicloud/quotas/outputs.py +14 -29
- 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 +585 -12
- 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 +36 -31
- 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 +467 -153
- pulumi_alicloud/rds/outputs.py +112 -12
- 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 +25 -4
- pulumi_alicloud/resourcemanager/account.py +29 -28
- pulumi_alicloud/resourcemanager/control_policy.py +5 -4
- pulumi_alicloud/resourcemanager/control_policy_attachment.py +41 -32
- pulumi_alicloud/resourcemanager/delegated_administrator.py +23 -14
- pulumi_alicloud/resourcemanager/folder.py +15 -6
- 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 +17 -12
- 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 +98 -54
- 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 +9 -8
- pulumi_alicloud/rocketmq/acl_rule.py +13 -12
- pulumi_alicloud/rocketmq/client_user.py +21 -20
- pulumi_alicloud/rocketmq/consumer_group.py +56 -55
- pulumi_alicloud/rocketmq/dnat_entry.py +7 -6
- 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 +9 -8
- pulumi_alicloud/rocketmq/qos_car.py +15 -12
- pulumi_alicloud/rocketmq/qos_policy.py +7 -2
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +337 -138
- pulumi_alicloud/rocketmq/rocket_mq_topic.py +43 -42
- pulumi_alicloud/rocketmq/snat_entry.py +7 -6
- pulumi_alicloud/rocketmq/topic.py +35 -42
- pulumi_alicloud/ros/_inputs.py +117 -12
- pulumi_alicloud/ros/change_set.py +20 -11
- 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 +116 -51
- 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 +147 -198
- 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 +97 -88
- 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 +25 -15
- 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 +36 -37
- pulumi_alicloud/scdn/domain_config.py +14 -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 +28 -10
- pulumi_alicloud/servicemesh/get_versions.py +26 -13
- pulumi_alicloud/servicemesh/outputs.py +663 -165
- 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 +12 -7
- pulumi_alicloud/simpleapplicationserver/outputs.py +5 -0
- pulumi_alicloud/simpleapplicationserver/snapshot.py +31 -22
- pulumi_alicloud/slb/_inputs.py +97 -16
- 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 +78 -731
- pulumi_alicloud/slb/load_balancer.py +62 -73
- pulumi_alicloud/slb/master_slave_server_group.py +72 -65
- pulumi_alicloud/slb/outputs.py +51 -56
- pulumi_alicloud/slb/rule.py +185 -169
- 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 +25 -14
- 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 +427 -166
- 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 +31 -36
- 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 +663 -197
- pulumi_alicloud/vpc/network_acl.py +165 -123
- pulumi_alicloud/vpc/network_acl_attachment.py +32 -31
- pulumi_alicloud/vpc/network_acl_entries.py +85 -74
- pulumi_alicloud/vpc/network_interface.py +116 -71
- pulumi_alicloud/vpc/network_interface_attachment.py +39 -0
- pulumi_alicloud/vpc/outputs.py +199 -221
- 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 +68 -13
- 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.51.0a1710157550.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.51.0a1710157550.dist-info → pulumi_alicloud-3.73.0a1736832142.dist-info}/WHEEL +1 -1
- pulumi_alicloud-3.51.0a1710157550.dist-info/RECORD +0 -1854
- {pulumi_alicloud-3.51.0a1710157550.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,42 +159,40 @@ 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.
|
|
159
|
-
:param pulumi.Input[
|
|
179
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
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"
|
|
183
|
+
|
|
162
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.
|
|
163
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".
|
|
164
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.
|
|
165
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.
|
|
166
192
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
167
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.
|
|
168
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.
|
|
169
|
-
: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.
|
|
170
196
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
171
197
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
172
198
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -181,8 +207,10 @@ class InstanceArgs:
|
|
|
181
207
|
Default to NoSpot. Note: Currently, the spot instance only supports domestic site account.
|
|
182
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`.
|
|
183
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.
|
|
184
212
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
185
|
-
: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.
|
|
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.
|
|
186
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://.
|
|
187
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`.
|
|
188
216
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -198,9 +226,10 @@ class InstanceArgs:
|
|
|
198
226
|
It supports to setting a base64-encoded value, and it is the recommended usage.
|
|
199
227
|
From version 1.60.0, it can be updated in-place. If updated, the instance will reboot to make the change take effect.
|
|
200
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).
|
|
201
|
-
: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.
|
|
202
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.
|
|
203
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.
|
|
204
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.
|
|
205
234
|
"""
|
|
206
235
|
if allocate_public_ip is not None:
|
|
@@ -228,6 +257,8 @@ class InstanceArgs:
|
|
|
228
257
|
pulumi.set(__self__, "description", description)
|
|
229
258
|
if dry_run is not None:
|
|
230
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)
|
|
231
262
|
if force_delete is not None:
|
|
232
263
|
pulumi.set(__self__, "force_delete", force_delete)
|
|
233
264
|
if host_name is not None:
|
|
@@ -242,6 +273,8 @@ class InstanceArgs:
|
|
|
242
273
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
243
274
|
if image_id is not None:
|
|
244
275
|
pulumi.set(__self__, "image_id", image_id)
|
|
276
|
+
if image_options is not None:
|
|
277
|
+
pulumi.set(__self__, "image_options", image_options)
|
|
245
278
|
if include_data_disks is not None:
|
|
246
279
|
pulumi.set(__self__, "include_data_disks", include_data_disks)
|
|
247
280
|
if instance_charge_type is not None:
|
|
@@ -283,18 +316,26 @@ class InstanceArgs:
|
|
|
283
316
|
pulumi.set(__self__, "maintenance_notify", maintenance_notify)
|
|
284
317
|
if maintenance_time is not None:
|
|
285
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)
|
|
286
323
|
if network_interfaces is not None:
|
|
287
324
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
|
288
325
|
if operator_type is not None:
|
|
289
326
|
pulumi.set(__self__, "operator_type", operator_type)
|
|
290
327
|
if password is not None:
|
|
291
328
|
pulumi.set(__self__, "password", password)
|
|
329
|
+
if password_inherit is not None:
|
|
330
|
+
pulumi.set(__self__, "password_inherit", password_inherit)
|
|
292
331
|
if period is not None:
|
|
293
332
|
pulumi.set(__self__, "period", period)
|
|
294
333
|
if period_unit is not None:
|
|
295
334
|
pulumi.set(__self__, "period_unit", period_unit)
|
|
296
335
|
if private_ip is not None:
|
|
297
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)
|
|
298
339
|
if renewal_status is not None:
|
|
299
340
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
300
341
|
if resource_group_id is not None:
|
|
@@ -345,18 +386,18 @@ class InstanceArgs:
|
|
|
345
386
|
pulumi.set(__self__, "user_data", user_data)
|
|
346
387
|
if volume_tags is not None:
|
|
347
388
|
pulumi.set(__self__, "volume_tags", volume_tags)
|
|
389
|
+
if vpc_id is not None:
|
|
390
|
+
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
348
391
|
if vswitch_id is not None:
|
|
349
392
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
350
393
|
|
|
351
394
|
@property
|
|
352
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.""")
|
|
353
397
|
def allocate_public_ip(self) -> Optional[pulumi.Input[bool]]:
|
|
354
398
|
"""
|
|
355
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.
|
|
356
400
|
"""
|
|
357
|
-
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)
|
|
358
|
-
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.""")
|
|
359
|
-
|
|
360
401
|
return pulumi.get(self, "allocate_public_ip")
|
|
361
402
|
|
|
362
403
|
@allocate_public_ip.setter
|
|
@@ -367,7 +408,7 @@ class InstanceArgs:
|
|
|
367
408
|
@pulumi.getter(name="autoReleaseTime")
|
|
368
409
|
def auto_release_time(self) -> Optional[pulumi.Input[str]]:
|
|
369
410
|
"""
|
|
370
|
-
The automatic release time of the `PostPaid` instance.
|
|
411
|
+
The automatic release time of the `PostPaid` instance.
|
|
371
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.
|
|
372
413
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
373
414
|
"""
|
|
@@ -481,7 +522,7 @@ class InstanceArgs:
|
|
|
481
522
|
@pulumi.getter(name="dryRun")
|
|
482
523
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
483
524
|
"""
|
|
484
|
-
Specifies whether to send a dry-run request. Default to false.
|
|
525
|
+
Specifies whether to send a dry-run request. Default to false.
|
|
485
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.
|
|
486
527
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
487
528
|
"""
|
|
@@ -491,6 +532,18 @@ class InstanceArgs:
|
|
|
491
532
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
492
533
|
pulumi.set(self, "dry_run", value)
|
|
493
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
|
+
|
|
494
547
|
@property
|
|
495
548
|
@pulumi.getter(name="forceDelete")
|
|
496
549
|
def force_delete(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -545,7 +598,7 @@ class InstanceArgs:
|
|
|
545
598
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
546
599
|
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[int]]:
|
|
547
600
|
"""
|
|
548
|
-
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.
|
|
549
602
|
"""
|
|
550
603
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
551
604
|
|
|
@@ -579,6 +632,32 @@ class InstanceArgs:
|
|
|
579
632
|
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
580
633
|
pulumi.set(self, "image_id", value)
|
|
581
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
|
+
|
|
582
661
|
@property
|
|
583
662
|
@pulumi.getter(name="includeDataDisks")
|
|
584
663
|
def include_data_disks(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -641,13 +720,11 @@ class InstanceArgs:
|
|
|
641
720
|
|
|
642
721
|
@property
|
|
643
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.""")
|
|
644
724
|
def internet_max_bandwidth_in(self) -> Optional[pulumi.Input[int]]:
|
|
645
725
|
"""
|
|
646
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.
|
|
647
727
|
"""
|
|
648
|
-
warnings.warn("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""", DeprecationWarning)
|
|
649
|
-
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.""")
|
|
650
|
-
|
|
651
728
|
return pulumi.get(self, "internet_max_bandwidth_in")
|
|
652
729
|
|
|
653
730
|
@internet_max_bandwidth_in.setter
|
|
@@ -728,14 +805,14 @@ class InstanceArgs:
|
|
|
728
805
|
|
|
729
806
|
@property
|
|
730
807
|
@pulumi.getter(name="kmsEncryptionContext")
|
|
731
|
-
def kms_encryption_context(self) -> Optional[pulumi.Input[Mapping[str,
|
|
808
|
+
def kms_encryption_context(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
732
809
|
"""
|
|
733
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.
|
|
734
811
|
"""
|
|
735
812
|
return pulumi.get(self, "kms_encryption_context")
|
|
736
813
|
|
|
737
814
|
@kms_encryption_context.setter
|
|
738
|
-
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]]]]):
|
|
739
816
|
pulumi.set(self, "kms_encryption_context", value)
|
|
740
817
|
|
|
741
818
|
@property
|
|
@@ -767,21 +844,6 @@ class InstanceArgs:
|
|
|
767
844
|
def launch_template_version(self) -> Optional[pulumi.Input[str]]:
|
|
768
845
|
"""
|
|
769
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.
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
> **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.
|
|
773
|
-
|
|
774
|
-
> **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.
|
|
775
|
-
|
|
776
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
777
|
-
|
|
778
|
-
> **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.
|
|
779
|
-
|
|
780
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
781
|
-
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).
|
|
782
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
783
|
-
|
|
784
|
-
> **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.
|
|
785
847
|
"""
|
|
786
848
|
return pulumi.get(self, "launch_template_version")
|
|
787
849
|
|
|
@@ -794,6 +856,9 @@ class InstanceArgs:
|
|
|
794
856
|
def maintenance_action(self) -> Optional[pulumi.Input[str]]:
|
|
795
857
|
"""
|
|
796
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.
|
|
797
862
|
"""
|
|
798
863
|
return pulumi.get(self, "maintenance_action")
|
|
799
864
|
|
|
@@ -825,6 +890,32 @@ class InstanceArgs:
|
|
|
825
890
|
def maintenance_time(self, value: Optional[pulumi.Input['InstanceMaintenanceTimeArgs']]):
|
|
826
891
|
pulumi.set(self, "maintenance_time", value)
|
|
827
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
|
+
|
|
828
919
|
@property
|
|
829
920
|
@pulumi.getter(name="networkInterfaces")
|
|
830
921
|
def network_interfaces(self) -> Optional[pulumi.Input['InstanceNetworkInterfacesArgs']]:
|
|
@@ -861,13 +952,26 @@ class InstanceArgs:
|
|
|
861
952
|
def password(self, value: Optional[pulumi.Input[str]]):
|
|
862
953
|
pulumi.set(self, "password", value)
|
|
863
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
|
+
|
|
864
967
|
@property
|
|
865
968
|
@pulumi.getter
|
|
866
969
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
867
970
|
"""
|
|
868
|
-
The duration that you will buy the resource, in month. It is valid when `instance_charge_type` is `PrePaid`. Valid values:
|
|
971
|
+
The duration that you will buy the resource, in month. It is valid and required when `instance_charge_type` is `PrePaid`. Valid values:
|
|
869
972
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
870
973
|
- [1-3] when `period_unit` in "Week"
|
|
974
|
+
|
|
871
975
|
> **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.
|
|
872
976
|
"""
|
|
873
977
|
return pulumi.get(self, "period")
|
|
@@ -900,11 +1004,26 @@ class InstanceArgs:
|
|
|
900
1004
|
def private_ip(self, value: Optional[pulumi.Input[str]]):
|
|
901
1005
|
pulumi.set(self, "private_ip", value)
|
|
902
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
|
+
|
|
903
1019
|
@property
|
|
904
1020
|
@pulumi.getter(name="renewalStatus")
|
|
905
1021
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
906
1022
|
"""
|
|
907
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.
|
|
908
1027
|
"""
|
|
909
1028
|
return pulumi.get(self, "renewal_status")
|
|
910
1029
|
|
|
@@ -952,7 +1071,7 @@ class InstanceArgs:
|
|
|
952
1071
|
@pulumi.getter(name="secondaryPrivateIps")
|
|
953
1072
|
def secondary_private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
954
1073
|
"""
|
|
955
|
-
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.
|
|
956
1075
|
"""
|
|
957
1076
|
return pulumi.get(self, "secondary_private_ips")
|
|
958
1077
|
|
|
@@ -1044,6 +1163,8 @@ class InstanceArgs:
|
|
|
1044
1163
|
def stopped_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1045
1164
|
"""
|
|
1046
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.
|
|
1047
1168
|
"""
|
|
1048
1169
|
return pulumi.get(self, "stopped_mode")
|
|
1049
1170
|
|
|
@@ -1067,7 +1188,7 @@ class InstanceArgs:
|
|
|
1067
1188
|
@pulumi.getter(name="systemDiskCategory")
|
|
1068
1189
|
def system_disk_category(self) -> Optional[pulumi.Input[str]]:
|
|
1069
1190
|
"""
|
|
1070
|
-
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.
|
|
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.
|
|
1071
1192
|
"""
|
|
1072
1193
|
return pulumi.get(self, "system_disk_category")
|
|
1073
1194
|
|
|
@@ -1202,7 +1323,7 @@ class InstanceArgs:
|
|
|
1202
1323
|
|
|
1203
1324
|
@property
|
|
1204
1325
|
@pulumi.getter(name="volumeTags")
|
|
1205
|
-
def volume_tags(self) -> Optional[pulumi.Input[Mapping[str,
|
|
1326
|
+
def volume_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1206
1327
|
"""
|
|
1207
1328
|
A mapping of tags to assign to the devices created by the instance at launch time.
|
|
1208
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.
|
|
@@ -1211,9 +1332,21 @@ class InstanceArgs:
|
|
|
1211
1332
|
return pulumi.get(self, "volume_tags")
|
|
1212
1333
|
|
|
1213
1334
|
@volume_tags.setter
|
|
1214
|
-
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str,
|
|
1335
|
+
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1215
1336
|
pulumi.set(self, "volume_tags", value)
|
|
1216
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
|
+
|
|
1217
1350
|
@property
|
|
1218
1351
|
@pulumi.getter(name="vswitchId")
|
|
1219
1352
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1235,6 +1368,7 @@ class _InstanceState:
|
|
|
1235
1368
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
1236
1369
|
availability_zone: Optional[pulumi.Input[str]] = None,
|
|
1237
1370
|
cpu: Optional[pulumi.Input[int]] = None,
|
|
1371
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
1238
1372
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
1239
1373
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]]] = None,
|
|
1240
1374
|
dedicated_host_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1243,6 +1377,8 @@ class _InstanceState:
|
|
|
1243
1377
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
1244
1378
|
description: Optional[pulumi.Input[str]] = None,
|
|
1245
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,
|
|
1246
1382
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
1247
1383
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
1248
1384
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1250,6 +1386,7 @@ class _InstanceState:
|
|
|
1250
1386
|
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
|
|
1251
1387
|
http_tokens: Optional[pulumi.Input[str]] = None,
|
|
1252
1388
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
1389
|
+
image_options: Optional[pulumi.Input['InstanceImageOptionsArgs']] = None,
|
|
1253
1390
|
include_data_disks: Optional[pulumi.Input[bool]] = None,
|
|
1254
1391
|
instance_charge_type: Optional[pulumi.Input[str]] = None,
|
|
1255
1392
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -1262,7 +1399,7 @@ class _InstanceState:
|
|
|
1262
1399
|
is_outdated: Optional[pulumi.Input[bool]] = None,
|
|
1263
1400
|
key_name: Optional[pulumi.Input[str]] = None,
|
|
1264
1401
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
1265
|
-
kms_encryption_context: Optional[pulumi.Input[Mapping[str,
|
|
1402
|
+
kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1266
1403
|
launch_template_id: Optional[pulumi.Input[str]] = None,
|
|
1267
1404
|
launch_template_name: Optional[pulumi.Input[str]] = None,
|
|
1268
1405
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
@@ -1270,17 +1407,21 @@ class _InstanceState:
|
|
|
1270
1407
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
1271
1408
|
maintenance_time: Optional[pulumi.Input['InstanceMaintenanceTimeArgs']] = None,
|
|
1272
1409
|
memory: Optional[pulumi.Input[int]] = None,
|
|
1410
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
1273
1411
|
network_interface_id: Optional[pulumi.Input[str]] = None,
|
|
1412
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
1274
1413
|
network_interfaces: Optional[pulumi.Input['InstanceNetworkInterfacesArgs']] = None,
|
|
1275
1414
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
1276
1415
|
os_name: Optional[pulumi.Input[str]] = None,
|
|
1277
1416
|
os_type: Optional[pulumi.Input[str]] = None,
|
|
1278
1417
|
password: Optional[pulumi.Input[str]] = None,
|
|
1418
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
1279
1419
|
period: Optional[pulumi.Input[int]] = None,
|
|
1280
1420
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
1281
1421
|
primary_ip_address: Optional[pulumi.Input[str]] = None,
|
|
1282
1422
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
1283
1423
|
public_ip: Optional[pulumi.Input[str]] = None,
|
|
1424
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
1284
1425
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
1285
1426
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1286
1427
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -1291,6 +1432,7 @@ class _InstanceState:
|
|
|
1291
1432
|
spot_duration: Optional[pulumi.Input[int]] = None,
|
|
1292
1433
|
spot_price_limit: Optional[pulumi.Input[float]] = None,
|
|
1293
1434
|
spot_strategy: Optional[pulumi.Input[str]] = None,
|
|
1435
|
+
start_time: Optional[pulumi.Input[str]] = None,
|
|
1294
1436
|
status: Optional[pulumi.Input[str]] = None,
|
|
1295
1437
|
stopped_mode: Optional[pulumi.Input[str]] = None,
|
|
1296
1438
|
system_disk_auto_snapshot_policy_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1306,12 +1448,13 @@ class _InstanceState:
|
|
|
1306
1448
|
system_disk_storage_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
1307
1449
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1308
1450
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
1309
|
-
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,
|
|
1310
1453
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
1311
1454
|
"""
|
|
1312
1455
|
Input properties used for looking up and filtering Instance resources.
|
|
1313
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.
|
|
1314
|
-
: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.
|
|
1315
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.
|
|
1316
1459
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
1317
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:
|
|
@@ -1319,6 +1462,7 @@ class _InstanceState:
|
|
|
1319
1462
|
- [1, 2, 3] when `period_unit` in "Week"
|
|
1320
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`.
|
|
1321
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.
|
|
1322
1466
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
1323
1467
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]] data_disks: The list of data disks created with instance. See `data_disks` below.
|
|
1324
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.
|
|
@@ -1328,20 +1472,37 @@ class _InstanceState:
|
|
|
1328
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.
|
|
1329
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' = "".
|
|
1330
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.
|
|
1331
|
-
: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.
|
|
1332
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.
|
|
1333
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.
|
|
1334
1480
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
1335
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".
|
|
1336
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.
|
|
1337
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.
|
|
1338
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.
|
|
1339
1485
|
:param pulumi.Input[str] http_endpoint: Specifies whether to enable the access channel for instance metadata. Valid values: `enabled`, `disabled`. Default value: `enabled`.
|
|
1340
|
-
: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.
|
|
1341
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:
|
|
1342
1488
|
- optional: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
1343
1489
|
- required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
1344
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.
|
|
1345
1506
|
:param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
|
|
1346
1507
|
:param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
|
|
1347
1508
|
**NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
|
|
@@ -1356,48 +1517,46 @@ class _InstanceState:
|
|
|
1356
1517
|
:param pulumi.Input[bool] is_outdated: Whether to use outdated instance type. Default to false.
|
|
1357
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.
|
|
1358
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.
|
|
1359
|
-
: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.
|
|
1360
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.
|
|
1361
1522
|
:param pulumi.Input[str] launch_template_name: The name of the launch template.
|
|
1362
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.
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
> **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.
|
|
1366
|
-
|
|
1367
|
-
> **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.
|
|
1368
|
-
|
|
1369
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
1370
|
-
|
|
1371
|
-
> **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.
|
|
1372
|
-
|
|
1373
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
1374
|
-
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).
|
|
1375
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
1376
|
-
|
|
1377
|
-
> **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.
|
|
1378
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.
|
|
1379
1528
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
1380
1529
|
:param pulumi.Input['InstanceMaintenanceTimeArgs'] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
1381
1530
|
:param pulumi.Input[int] memory: The memory size of the instance. Unit: MiB.
|
|
1382
|
-
: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.
|
|
1383
1536
|
:param pulumi.Input['InstanceNetworkInterfacesArgs'] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
1384
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`.
|
|
1385
1538
|
:param pulumi.Input[str] os_name: The name of the operating system of the instance.
|
|
1386
1539
|
:param pulumi.Input[str] os_type: The type of the operating system of the instance.
|
|
1387
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.
|
|
1388
|
-
:param pulumi.Input[
|
|
1541
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
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:
|
|
1389
1543
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
1390
1544
|
- [1-3] when `period_unit` in "Week"
|
|
1545
|
+
|
|
1391
1546
|
> **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.
|
|
1392
1547
|
: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".
|
|
1393
1548
|
:param pulumi.Input[str] primary_ip_address: The primary private IP address of the ENI.
|
|
1394
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.
|
|
1395
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.
|
|
1396
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.
|
|
1397
1556
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
1398
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.
|
|
1399
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.
|
|
1400
|
-
: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.
|
|
1401
1560
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
1402
1561
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
1403
1562
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -1410,10 +1569,13 @@ class _InstanceState:
|
|
|
1410
1569
|
- SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance
|
|
1411
1570
|
|
|
1412
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.
|
|
1413
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`.
|
|
1414
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.
|
|
1415
1577
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
1416
|
-
: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.
|
|
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.
|
|
1417
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://.
|
|
1418
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`.
|
|
1419
1581
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -1430,9 +1592,10 @@ class _InstanceState:
|
|
|
1430
1592
|
It supports to setting a base64-encoded value, and it is the recommended usage.
|
|
1431
1593
|
From version 1.60.0, it can be updated in-place. If updated, the instance will reboot to make the change take effect.
|
|
1432
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).
|
|
1433
|
-
: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.
|
|
1434
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.
|
|
1435
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.
|
|
1436
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.
|
|
1437
1600
|
"""
|
|
1438
1601
|
if allocate_public_ip is not None:
|
|
@@ -1448,6 +1611,8 @@ class _InstanceState:
|
|
|
1448
1611
|
pulumi.set(__self__, "availability_zone", availability_zone)
|
|
1449
1612
|
if cpu is not None:
|
|
1450
1613
|
pulumi.set(__self__, "cpu", cpu)
|
|
1614
|
+
if create_time is not None:
|
|
1615
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
1451
1616
|
if credit_specification is not None:
|
|
1452
1617
|
pulumi.set(__self__, "credit_specification", credit_specification)
|
|
1453
1618
|
if data_disks is not None:
|
|
@@ -1464,6 +1629,10 @@ class _InstanceState:
|
|
|
1464
1629
|
pulumi.set(__self__, "description", description)
|
|
1465
1630
|
if dry_run is not None:
|
|
1466
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)
|
|
1467
1636
|
if force_delete is not None:
|
|
1468
1637
|
pulumi.set(__self__, "force_delete", force_delete)
|
|
1469
1638
|
if host_name is not None:
|
|
@@ -1478,6 +1647,8 @@ class _InstanceState:
|
|
|
1478
1647
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
1479
1648
|
if image_id is not None:
|
|
1480
1649
|
pulumi.set(__self__, "image_id", image_id)
|
|
1650
|
+
if image_options is not None:
|
|
1651
|
+
pulumi.set(__self__, "image_options", image_options)
|
|
1481
1652
|
if include_data_disks is not None:
|
|
1482
1653
|
pulumi.set(__self__, "include_data_disks", include_data_disks)
|
|
1483
1654
|
if instance_charge_type is not None:
|
|
@@ -1521,8 +1692,12 @@ class _InstanceState:
|
|
|
1521
1692
|
pulumi.set(__self__, "maintenance_time", maintenance_time)
|
|
1522
1693
|
if memory is not None:
|
|
1523
1694
|
pulumi.set(__self__, "memory", memory)
|
|
1695
|
+
if network_card_index is not None:
|
|
1696
|
+
pulumi.set(__self__, "network_card_index", network_card_index)
|
|
1524
1697
|
if network_interface_id is not None:
|
|
1525
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)
|
|
1526
1701
|
if network_interfaces is not None:
|
|
1527
1702
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
|
1528
1703
|
if operator_type is not None:
|
|
@@ -1533,6 +1708,8 @@ class _InstanceState:
|
|
|
1533
1708
|
pulumi.set(__self__, "os_type", os_type)
|
|
1534
1709
|
if password is not None:
|
|
1535
1710
|
pulumi.set(__self__, "password", password)
|
|
1711
|
+
if password_inherit is not None:
|
|
1712
|
+
pulumi.set(__self__, "password_inherit", password_inherit)
|
|
1536
1713
|
if period is not None:
|
|
1537
1714
|
pulumi.set(__self__, "period", period)
|
|
1538
1715
|
if period_unit is not None:
|
|
@@ -1543,6 +1720,8 @@ class _InstanceState:
|
|
|
1543
1720
|
pulumi.set(__self__, "private_ip", private_ip)
|
|
1544
1721
|
if public_ip is not None:
|
|
1545
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)
|
|
1546
1725
|
if renewal_status is not None:
|
|
1547
1726
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
1548
1727
|
if resource_group_id is not None:
|
|
@@ -1563,6 +1742,8 @@ class _InstanceState:
|
|
|
1563
1742
|
pulumi.set(__self__, "spot_price_limit", spot_price_limit)
|
|
1564
1743
|
if spot_strategy is not None:
|
|
1565
1744
|
pulumi.set(__self__, "spot_strategy", spot_strategy)
|
|
1745
|
+
if start_time is not None:
|
|
1746
|
+
pulumi.set(__self__, "start_time", start_time)
|
|
1566
1747
|
if status is not None:
|
|
1567
1748
|
pulumi.set(__self__, "status", status)
|
|
1568
1749
|
if stopped_mode is not None:
|
|
@@ -1595,18 +1776,18 @@ class _InstanceState:
|
|
|
1595
1776
|
pulumi.set(__self__, "user_data", user_data)
|
|
1596
1777
|
if volume_tags is not None:
|
|
1597
1778
|
pulumi.set(__self__, "volume_tags", volume_tags)
|
|
1779
|
+
if vpc_id is not None:
|
|
1780
|
+
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
1598
1781
|
if vswitch_id is not None:
|
|
1599
1782
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
1600
1783
|
|
|
1601
1784
|
@property
|
|
1602
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.""")
|
|
1603
1787
|
def allocate_public_ip(self) -> Optional[pulumi.Input[bool]]:
|
|
1604
1788
|
"""
|
|
1605
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.
|
|
1606
1790
|
"""
|
|
1607
|
-
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)
|
|
1608
|
-
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.""")
|
|
1609
|
-
|
|
1610
1791
|
return pulumi.get(self, "allocate_public_ip")
|
|
1611
1792
|
|
|
1612
1793
|
@allocate_public_ip.setter
|
|
@@ -1617,7 +1798,7 @@ class _InstanceState:
|
|
|
1617
1798
|
@pulumi.getter(name="autoReleaseTime")
|
|
1618
1799
|
def auto_release_time(self) -> Optional[pulumi.Input[str]]:
|
|
1619
1800
|
"""
|
|
1620
|
-
The automatic release time of the `PostPaid` instance.
|
|
1801
|
+
The automatic release time of the `PostPaid` instance.
|
|
1621
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.
|
|
1622
1803
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
1623
1804
|
"""
|
|
@@ -1665,6 +1846,18 @@ class _InstanceState:
|
|
|
1665
1846
|
def cpu(self, value: Optional[pulumi.Input[int]]):
|
|
1666
1847
|
pulumi.set(self, "cpu", value)
|
|
1667
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
|
+
|
|
1668
1861
|
@property
|
|
1669
1862
|
@pulumi.getter(name="creditSpecification")
|
|
1670
1863
|
def credit_specification(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1755,7 +1948,7 @@ class _InstanceState:
|
|
|
1755
1948
|
@pulumi.getter(name="dryRun")
|
|
1756
1949
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
1757
1950
|
"""
|
|
1758
|
-
Specifies whether to send a dry-run request. Default to false.
|
|
1951
|
+
Specifies whether to send a dry-run request. Default to false.
|
|
1759
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.
|
|
1760
1953
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
1761
1954
|
"""
|
|
@@ -1765,6 +1958,30 @@ class _InstanceState:
|
|
|
1765
1958
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
1766
1959
|
pulumi.set(self, "dry_run", value)
|
|
1767
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
|
+
|
|
1768
1985
|
@property
|
|
1769
1986
|
@pulumi.getter(name="forceDelete")
|
|
1770
1987
|
def force_delete(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -1819,7 +2036,7 @@ class _InstanceState:
|
|
|
1819
2036
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
1820
2037
|
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1821
2038
|
"""
|
|
1822
|
-
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.
|
|
1823
2040
|
"""
|
|
1824
2041
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
1825
2042
|
|
|
@@ -1853,6 +2070,32 @@ class _InstanceState:
|
|
|
1853
2070
|
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
1854
2071
|
pulumi.set(self, "image_id", value)
|
|
1855
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
|
+
|
|
1856
2099
|
@property
|
|
1857
2100
|
@pulumi.getter(name="includeDataDisks")
|
|
1858
2101
|
def include_data_disks(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -1915,13 +2158,11 @@ class _InstanceState:
|
|
|
1915
2158
|
|
|
1916
2159
|
@property
|
|
1917
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.""")
|
|
1918
2162
|
def internet_max_bandwidth_in(self) -> Optional[pulumi.Input[int]]:
|
|
1919
2163
|
"""
|
|
1920
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.
|
|
1921
2165
|
"""
|
|
1922
|
-
warnings.warn("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""", DeprecationWarning)
|
|
1923
|
-
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.""")
|
|
1924
|
-
|
|
1925
2166
|
return pulumi.get(self, "internet_max_bandwidth_in")
|
|
1926
2167
|
|
|
1927
2168
|
@internet_max_bandwidth_in.setter
|
|
@@ -2002,14 +2243,14 @@ class _InstanceState:
|
|
|
2002
2243
|
|
|
2003
2244
|
@property
|
|
2004
2245
|
@pulumi.getter(name="kmsEncryptionContext")
|
|
2005
|
-
def kms_encryption_context(self) -> Optional[pulumi.Input[Mapping[str,
|
|
2246
|
+
def kms_encryption_context(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
2006
2247
|
"""
|
|
2007
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.
|
|
2008
2249
|
"""
|
|
2009
2250
|
return pulumi.get(self, "kms_encryption_context")
|
|
2010
2251
|
|
|
2011
2252
|
@kms_encryption_context.setter
|
|
2012
|
-
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]]]]):
|
|
2013
2254
|
pulumi.set(self, "kms_encryption_context", value)
|
|
2014
2255
|
|
|
2015
2256
|
@property
|
|
@@ -2041,21 +2282,6 @@ class _InstanceState:
|
|
|
2041
2282
|
def launch_template_version(self) -> Optional[pulumi.Input[str]]:
|
|
2042
2283
|
"""
|
|
2043
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.
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
> **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.
|
|
2047
|
-
|
|
2048
|
-
> **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.
|
|
2049
|
-
|
|
2050
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
2051
|
-
|
|
2052
|
-
> **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.
|
|
2053
|
-
|
|
2054
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
2055
|
-
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).
|
|
2056
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
2057
|
-
|
|
2058
|
-
> **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.
|
|
2059
2285
|
"""
|
|
2060
2286
|
return pulumi.get(self, "launch_template_version")
|
|
2061
2287
|
|
|
@@ -2068,6 +2294,9 @@ class _InstanceState:
|
|
|
2068
2294
|
def maintenance_action(self) -> Optional[pulumi.Input[str]]:
|
|
2069
2295
|
"""
|
|
2070
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.
|
|
2071
2300
|
"""
|
|
2072
2301
|
return pulumi.get(self, "maintenance_action")
|
|
2073
2302
|
|
|
@@ -2111,11 +2340,23 @@ class _InstanceState:
|
|
|
2111
2340
|
def memory(self, value: Optional[pulumi.Input[int]]):
|
|
2112
2341
|
pulumi.set(self, "memory", value)
|
|
2113
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
|
+
|
|
2114
2355
|
@property
|
|
2115
2356
|
@pulumi.getter(name="networkInterfaceId")
|
|
2116
2357
|
def network_interface_id(self) -> Optional[pulumi.Input[str]]:
|
|
2117
2358
|
"""
|
|
2118
|
-
The ID of the
|
|
2359
|
+
The ID of the Primary ENI.
|
|
2119
2360
|
"""
|
|
2120
2361
|
return pulumi.get(self, "network_interface_id")
|
|
2121
2362
|
|
|
@@ -2123,6 +2364,20 @@ class _InstanceState:
|
|
|
2123
2364
|
def network_interface_id(self, value: Optional[pulumi.Input[str]]):
|
|
2124
2365
|
pulumi.set(self, "network_interface_id", value)
|
|
2125
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
|
+
|
|
2126
2381
|
@property
|
|
2127
2382
|
@pulumi.getter(name="networkInterfaces")
|
|
2128
2383
|
def network_interfaces(self) -> Optional[pulumi.Input['InstanceNetworkInterfacesArgs']]:
|
|
@@ -2183,13 +2438,26 @@ class _InstanceState:
|
|
|
2183
2438
|
def password(self, value: Optional[pulumi.Input[str]]):
|
|
2184
2439
|
pulumi.set(self, "password", value)
|
|
2185
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
|
+
|
|
2186
2453
|
@property
|
|
2187
2454
|
@pulumi.getter
|
|
2188
2455
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
2189
2456
|
"""
|
|
2190
|
-
The duration that you will buy the resource, in month. It is valid when `instance_charge_type` is `PrePaid`. Valid values:
|
|
2457
|
+
The duration that you will buy the resource, in month. It is valid and required when `instance_charge_type` is `PrePaid`. Valid values:
|
|
2191
2458
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
2192
2459
|
- [1-3] when `period_unit` in "Week"
|
|
2460
|
+
|
|
2193
2461
|
> **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.
|
|
2194
2462
|
"""
|
|
2195
2463
|
return pulumi.get(self, "period")
|
|
@@ -2246,11 +2514,26 @@ class _InstanceState:
|
|
|
2246
2514
|
def public_ip(self, value: Optional[pulumi.Input[str]]):
|
|
2247
2515
|
pulumi.set(self, "public_ip", value)
|
|
2248
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
|
+
|
|
2249
2529
|
@property
|
|
2250
2530
|
@pulumi.getter(name="renewalStatus")
|
|
2251
2531
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
2252
2532
|
"""
|
|
2253
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.
|
|
2254
2537
|
"""
|
|
2255
2538
|
return pulumi.get(self, "renewal_status")
|
|
2256
2539
|
|
|
@@ -2298,7 +2581,7 @@ class _InstanceState:
|
|
|
2298
2581
|
@pulumi.getter(name="secondaryPrivateIps")
|
|
2299
2582
|
def secondary_private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2300
2583
|
"""
|
|
2301
|
-
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.
|
|
2302
2585
|
"""
|
|
2303
2586
|
return pulumi.get(self, "secondary_private_ips")
|
|
2304
2587
|
|
|
@@ -2373,6 +2656,18 @@ class _InstanceState:
|
|
|
2373
2656
|
def spot_strategy(self, value: Optional[pulumi.Input[str]]):
|
|
2374
2657
|
pulumi.set(self, "spot_strategy", value)
|
|
2375
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
|
+
|
|
2376
2671
|
@property
|
|
2377
2672
|
@pulumi.getter
|
|
2378
2673
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2390,6 +2685,8 @@ class _InstanceState:
|
|
|
2390
2685
|
def stopped_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2391
2686
|
"""
|
|
2392
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.
|
|
2393
2690
|
"""
|
|
2394
2691
|
return pulumi.get(self, "stopped_mode")
|
|
2395
2692
|
|
|
@@ -2413,7 +2710,7 @@ class _InstanceState:
|
|
|
2413
2710
|
@pulumi.getter(name="systemDiskCategory")
|
|
2414
2711
|
def system_disk_category(self) -> Optional[pulumi.Input[str]]:
|
|
2415
2712
|
"""
|
|
2416
|
-
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.
|
|
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.
|
|
2417
2714
|
"""
|
|
2418
2715
|
return pulumi.get(self, "system_disk_category")
|
|
2419
2716
|
|
|
@@ -2560,7 +2857,7 @@ class _InstanceState:
|
|
|
2560
2857
|
|
|
2561
2858
|
@property
|
|
2562
2859
|
@pulumi.getter(name="volumeTags")
|
|
2563
|
-
def volume_tags(self) -> Optional[pulumi.Input[Mapping[str,
|
|
2860
|
+
def volume_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
2564
2861
|
"""
|
|
2565
2862
|
A mapping of tags to assign to the devices created by the instance at launch time.
|
|
2566
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.
|
|
@@ -2569,9 +2866,21 @@ class _InstanceState:
|
|
|
2569
2866
|
return pulumi.get(self, "volume_tags")
|
|
2570
2867
|
|
|
2571
2868
|
@volume_tags.setter
|
|
2572
|
-
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str,
|
|
2869
|
+
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
2573
2870
|
pulumi.set(self, "volume_tags", value)
|
|
2574
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
|
+
|
|
2575
2884
|
@property
|
|
2576
2885
|
@pulumi.getter(name="vswitchId")
|
|
2577
2886
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2595,12 +2904,13 @@ class Instance(pulumi.CustomResource):
|
|
|
2595
2904
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
2596
2905
|
availability_zone: Optional[pulumi.Input[str]] = None,
|
|
2597
2906
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
2598
|
-
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2907
|
+
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]]] = None,
|
|
2599
2908
|
dedicated_host_id: Optional[pulumi.Input[str]] = None,
|
|
2600
2909
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
2601
2910
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
2602
2911
|
description: Optional[pulumi.Input[str]] = None,
|
|
2603
2912
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
2913
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
2604
2914
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
2605
2915
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
2606
2916
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -2608,6 +2918,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2608
2918
|
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
|
|
2609
2919
|
http_tokens: Optional[pulumi.Input[str]] = None,
|
|
2610
2920
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
2921
|
+
image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
|
|
2611
2922
|
include_data_disks: Optional[pulumi.Input[bool]] = None,
|
|
2612
2923
|
instance_charge_type: Optional[pulumi.Input[str]] = None,
|
|
2613
2924
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2620,19 +2931,23 @@ class Instance(pulumi.CustomResource):
|
|
|
2620
2931
|
is_outdated: Optional[pulumi.Input[bool]] = None,
|
|
2621
2932
|
key_name: Optional[pulumi.Input[str]] = None,
|
|
2622
2933
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
2623
|
-
kms_encryption_context: Optional[pulumi.Input[Mapping[str,
|
|
2934
|
+
kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2624
2935
|
launch_template_id: Optional[pulumi.Input[str]] = None,
|
|
2625
2936
|
launch_template_name: Optional[pulumi.Input[str]] = None,
|
|
2626
2937
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
2627
2938
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
2628
2939
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
2629
|
-
maintenance_time: Optional[pulumi.Input[
|
|
2630
|
-
|
|
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,
|
|
2631
2944
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
2632
2945
|
password: Optional[pulumi.Input[str]] = None,
|
|
2946
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
2633
2947
|
period: Optional[pulumi.Input[int]] = None,
|
|
2634
2948
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
2635
2949
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
2950
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
2636
2951
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
2637
2952
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
2638
2953
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2657,7 +2972,8 @@ class Instance(pulumi.CustomResource):
|
|
|
2657
2972
|
system_disk_storage_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
2658
2973
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2659
2974
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
2660
|
-
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,
|
|
2661
2977
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
2662
2978
|
__props__=None):
|
|
2663
2979
|
"""
|
|
@@ -2669,7 +2985,6 @@ class Instance(pulumi.CustomResource):
|
|
|
2669
2985
|
|
|
2670
2986
|
## Example Usage
|
|
2671
2987
|
|
|
2672
|
-
<!--Start PulumiCodeChooser -->
|
|
2673
2988
|
```python
|
|
2674
2989
|
import pulumi
|
|
2675
2990
|
import pulumi_alicloud as alicloud
|
|
@@ -2678,12 +2993,19 @@ class Instance(pulumi.CustomResource):
|
|
|
2678
2993
|
name = config.get("name")
|
|
2679
2994
|
if name is None:
|
|
2680
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"
|
|
2681
3002
|
# Create a new ECS instance for VPC
|
|
2682
3003
|
vpc = alicloud.vpc.Network("vpc",
|
|
2683
3004
|
vpc_name=name,
|
|
2684
3005
|
cidr_block="172.16.0.0/16")
|
|
2685
3006
|
# Create a new ECS instance for a VPC
|
|
2686
3007
|
group = alicloud.ecs.SecurityGroup("group",
|
|
3008
|
+
name=name,
|
|
2687
3009
|
description="foo",
|
|
2688
3010
|
vpc_id=vpc.id)
|
|
2689
3011
|
key = alicloud.kms.Key("key",
|
|
@@ -2691,7 +3013,8 @@ class Instance(pulumi.CustomResource):
|
|
|
2691
3013
|
pending_window_in_days=7,
|
|
2692
3014
|
status="Enabled")
|
|
2693
3015
|
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
|
|
2694
|
-
available_resource_creation="VSwitch"
|
|
3016
|
+
available_resource_creation="VSwitch",
|
|
3017
|
+
available_instance_type=instance_type)
|
|
2695
3018
|
vswitch = alicloud.vpc.Switch("vswitch",
|
|
2696
3019
|
vpc_id=vpc.id,
|
|
2697
3020
|
cidr_block="172.16.0.0/24",
|
|
@@ -2700,24 +3023,23 @@ class Instance(pulumi.CustomResource):
|
|
|
2700
3023
|
instance = alicloud.ecs.Instance("instance",
|
|
2701
3024
|
availability_zone=default.zones[0].id,
|
|
2702
3025
|
security_groups=[__item.id for __item in [group]],
|
|
2703
|
-
instance_type=
|
|
3026
|
+
instance_type=instance_type,
|
|
2704
3027
|
system_disk_category="cloud_efficiency",
|
|
2705
3028
|
system_disk_name=name,
|
|
2706
3029
|
system_disk_description="test_foo_system_disk_description",
|
|
2707
|
-
image_id=
|
|
3030
|
+
image_id=image_id,
|
|
2708
3031
|
instance_name=name,
|
|
2709
3032
|
vswitch_id=vswitch.id,
|
|
2710
3033
|
internet_max_bandwidth_out=10,
|
|
2711
|
-
data_disks=[
|
|
2712
|
-
name
|
|
2713
|
-
size
|
|
2714
|
-
category
|
|
2715
|
-
description
|
|
2716
|
-
encrypted
|
|
2717
|
-
kms_key_id
|
|
2718
|
-
|
|
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
|
+
}])
|
|
2719
3042
|
```
|
|
2720
|
-
<!--End PulumiCodeChooser -->
|
|
2721
3043
|
|
|
2722
3044
|
## Module Support
|
|
2723
3045
|
|
|
@@ -2735,7 +3057,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2735
3057
|
:param str resource_name: The name of the resource.
|
|
2736
3058
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
2737
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.
|
|
2738
|
-
: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.
|
|
2739
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.
|
|
2740
3062
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
2741
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:
|
|
@@ -2743,27 +3065,43 @@ class Instance(pulumi.CustomResource):
|
|
|
2743
3065
|
- [1, 2, 3] when `period_unit` in "Week"
|
|
2744
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`.
|
|
2745
3067
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
2746
|
-
: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.
|
|
2747
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.
|
|
2748
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`.
|
|
2749
3071
|
- true: Enable deletion protection.
|
|
2750
3072
|
- false: Disable deletion protection.
|
|
2751
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' = "".
|
|
2752
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.
|
|
2753
|
-
: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.
|
|
2754
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.
|
|
2755
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`.
|
|
2756
3079
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
2757
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".
|
|
2758
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.
|
|
2759
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.
|
|
2760
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.
|
|
2761
3084
|
:param pulumi.Input[str] http_endpoint: Specifies whether to enable the access channel for instance metadata. Valid values: `enabled`, `disabled`. Default value: `enabled`.
|
|
2762
|
-
: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.
|
|
2763
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:
|
|
2764
3087
|
- optional: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
2765
3088
|
- required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
2766
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.
|
|
2767
3105
|
:param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
|
|
2768
3106
|
:param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
|
|
2769
3107
|
**NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
|
|
@@ -2778,42 +3116,40 @@ class Instance(pulumi.CustomResource):
|
|
|
2778
3116
|
:param pulumi.Input[bool] is_outdated: Whether to use outdated instance type. Default to false.
|
|
2779
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.
|
|
2780
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.
|
|
2781
|
-
: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.
|
|
2782
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.
|
|
2783
3121
|
:param pulumi.Input[str] launch_template_name: The name of the launch template.
|
|
2784
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.
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
> **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.
|
|
2788
|
-
|
|
2789
|
-
> **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.
|
|
2790
|
-
|
|
2791
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
2792
|
-
|
|
2793
|
-
> **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.
|
|
2794
|
-
|
|
2795
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
2796
|
-
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).
|
|
2797
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
2798
|
-
|
|
2799
|
-
> **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.
|
|
2800
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.
|
|
2801
3127
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
2802
|
-
:param pulumi.Input[
|
|
2803
|
-
: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.
|
|
2804
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`.
|
|
2805
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.
|
|
2806
|
-
:param pulumi.Input[
|
|
3136
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
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:
|
|
2807
3138
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
2808
3139
|
- [1-3] when `period_unit` in "Week"
|
|
3140
|
+
|
|
2809
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.
|
|
2810
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".
|
|
2811
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.
|
|
2812
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.
|
|
2813
3149
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
2814
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.
|
|
2815
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.
|
|
2816
|
-
: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.
|
|
2817
3153
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
2818
3154
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
2819
3155
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -2828,8 +3164,10 @@ class Instance(pulumi.CustomResource):
|
|
|
2828
3164
|
Default to NoSpot. Note: Currently, the spot instance only supports domestic site account.
|
|
2829
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`.
|
|
2830
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.
|
|
2831
3169
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
2832
|
-
: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.
|
|
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.
|
|
2833
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://.
|
|
2834
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`.
|
|
2835
3173
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -2845,9 +3183,10 @@ class Instance(pulumi.CustomResource):
|
|
|
2845
3183
|
It supports to setting a base64-encoded value, and it is the recommended usage.
|
|
2846
3184
|
From version 1.60.0, it can be updated in-place. If updated, the instance will reboot to make the change take effect.
|
|
2847
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).
|
|
2848
|
-
: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.
|
|
2849
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.
|
|
2850
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.
|
|
2851
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.
|
|
2852
3191
|
"""
|
|
2853
3192
|
...
|
|
@@ -2865,7 +3204,6 @@ class Instance(pulumi.CustomResource):
|
|
|
2865
3204
|
|
|
2866
3205
|
## Example Usage
|
|
2867
3206
|
|
|
2868
|
-
<!--Start PulumiCodeChooser -->
|
|
2869
3207
|
```python
|
|
2870
3208
|
import pulumi
|
|
2871
3209
|
import pulumi_alicloud as alicloud
|
|
@@ -2874,12 +3212,19 @@ class Instance(pulumi.CustomResource):
|
|
|
2874
3212
|
name = config.get("name")
|
|
2875
3213
|
if name is None:
|
|
2876
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"
|
|
2877
3221
|
# Create a new ECS instance for VPC
|
|
2878
3222
|
vpc = alicloud.vpc.Network("vpc",
|
|
2879
3223
|
vpc_name=name,
|
|
2880
3224
|
cidr_block="172.16.0.0/16")
|
|
2881
3225
|
# Create a new ECS instance for a VPC
|
|
2882
3226
|
group = alicloud.ecs.SecurityGroup("group",
|
|
3227
|
+
name=name,
|
|
2883
3228
|
description="foo",
|
|
2884
3229
|
vpc_id=vpc.id)
|
|
2885
3230
|
key = alicloud.kms.Key("key",
|
|
@@ -2887,7 +3232,8 @@ class Instance(pulumi.CustomResource):
|
|
|
2887
3232
|
pending_window_in_days=7,
|
|
2888
3233
|
status="Enabled")
|
|
2889
3234
|
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
|
|
2890
|
-
available_resource_creation="VSwitch"
|
|
3235
|
+
available_resource_creation="VSwitch",
|
|
3236
|
+
available_instance_type=instance_type)
|
|
2891
3237
|
vswitch = alicloud.vpc.Switch("vswitch",
|
|
2892
3238
|
vpc_id=vpc.id,
|
|
2893
3239
|
cidr_block="172.16.0.0/24",
|
|
@@ -2896,24 +3242,23 @@ class Instance(pulumi.CustomResource):
|
|
|
2896
3242
|
instance = alicloud.ecs.Instance("instance",
|
|
2897
3243
|
availability_zone=default.zones[0].id,
|
|
2898
3244
|
security_groups=[__item.id for __item in [group]],
|
|
2899
|
-
instance_type=
|
|
3245
|
+
instance_type=instance_type,
|
|
2900
3246
|
system_disk_category="cloud_efficiency",
|
|
2901
3247
|
system_disk_name=name,
|
|
2902
3248
|
system_disk_description="test_foo_system_disk_description",
|
|
2903
|
-
image_id=
|
|
3249
|
+
image_id=image_id,
|
|
2904
3250
|
instance_name=name,
|
|
2905
3251
|
vswitch_id=vswitch.id,
|
|
2906
3252
|
internet_max_bandwidth_out=10,
|
|
2907
|
-
data_disks=[
|
|
2908
|
-
name
|
|
2909
|
-
size
|
|
2910
|
-
category
|
|
2911
|
-
description
|
|
2912
|
-
encrypted
|
|
2913
|
-
kms_key_id
|
|
2914
|
-
|
|
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
|
+
}])
|
|
2915
3261
|
```
|
|
2916
|
-
<!--End PulumiCodeChooser -->
|
|
2917
3262
|
|
|
2918
3263
|
## Module Support
|
|
2919
3264
|
|
|
@@ -2948,12 +3293,13 @@ class Instance(pulumi.CustomResource):
|
|
|
2948
3293
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
2949
3294
|
availability_zone: Optional[pulumi.Input[str]] = None,
|
|
2950
3295
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
2951
|
-
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3296
|
+
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]]] = None,
|
|
2952
3297
|
dedicated_host_id: Optional[pulumi.Input[str]] = None,
|
|
2953
3298
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
2954
3299
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
2955
3300
|
description: Optional[pulumi.Input[str]] = None,
|
|
2956
3301
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
3302
|
+
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
2957
3303
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
2958
3304
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
2959
3305
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -2961,6 +3307,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2961
3307
|
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
|
|
2962
3308
|
http_tokens: Optional[pulumi.Input[str]] = None,
|
|
2963
3309
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
3310
|
+
image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
|
|
2964
3311
|
include_data_disks: Optional[pulumi.Input[bool]] = None,
|
|
2965
3312
|
instance_charge_type: Optional[pulumi.Input[str]] = None,
|
|
2966
3313
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2973,19 +3320,23 @@ class Instance(pulumi.CustomResource):
|
|
|
2973
3320
|
is_outdated: Optional[pulumi.Input[bool]] = None,
|
|
2974
3321
|
key_name: Optional[pulumi.Input[str]] = None,
|
|
2975
3322
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
2976
|
-
kms_encryption_context: Optional[pulumi.Input[Mapping[str,
|
|
3323
|
+
kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2977
3324
|
launch_template_id: Optional[pulumi.Input[str]] = None,
|
|
2978
3325
|
launch_template_name: Optional[pulumi.Input[str]] = None,
|
|
2979
3326
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
2980
3327
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
2981
3328
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
2982
|
-
maintenance_time: Optional[pulumi.Input[
|
|
2983
|
-
|
|
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,
|
|
2984
3333
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
2985
3334
|
password: Optional[pulumi.Input[str]] = None,
|
|
3335
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
2986
3336
|
period: Optional[pulumi.Input[int]] = None,
|
|
2987
3337
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
2988
3338
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
3339
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
2989
3340
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
2990
3341
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
2991
3342
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3010,7 +3361,8 @@ class Instance(pulumi.CustomResource):
|
|
|
3010
3361
|
system_disk_storage_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
3011
3362
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3012
3363
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
3013
|
-
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,
|
|
3014
3366
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
3015
3367
|
__props__=None):
|
|
3016
3368
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -3032,6 +3384,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3032
3384
|
__props__.__dict__["deployment_set_id"] = deployment_set_id
|
|
3033
3385
|
__props__.__dict__["description"] = description
|
|
3034
3386
|
__props__.__dict__["dry_run"] = dry_run
|
|
3387
|
+
__props__.__dict__["enable_jumbo_frame"] = enable_jumbo_frame
|
|
3035
3388
|
__props__.__dict__["force_delete"] = force_delete
|
|
3036
3389
|
__props__.__dict__["host_name"] = host_name
|
|
3037
3390
|
__props__.__dict__["hpc_cluster_id"] = hpc_cluster_id
|
|
@@ -3039,6 +3392,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3039
3392
|
__props__.__dict__["http_put_response_hop_limit"] = http_put_response_hop_limit
|
|
3040
3393
|
__props__.__dict__["http_tokens"] = http_tokens
|
|
3041
3394
|
__props__.__dict__["image_id"] = image_id
|
|
3395
|
+
__props__.__dict__["image_options"] = image_options
|
|
3042
3396
|
__props__.__dict__["include_data_disks"] = include_data_disks
|
|
3043
3397
|
__props__.__dict__["instance_charge_type"] = instance_charge_type
|
|
3044
3398
|
__props__.__dict__["instance_name"] = instance_name
|
|
@@ -3058,12 +3412,16 @@ class Instance(pulumi.CustomResource):
|
|
|
3058
3412
|
__props__.__dict__["maintenance_action"] = maintenance_action
|
|
3059
3413
|
__props__.__dict__["maintenance_notify"] = maintenance_notify
|
|
3060
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
|
|
3061
3417
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
|
3062
3418
|
__props__.__dict__["operator_type"] = operator_type
|
|
3063
3419
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
3420
|
+
__props__.__dict__["password_inherit"] = password_inherit
|
|
3064
3421
|
__props__.__dict__["period"] = period
|
|
3065
3422
|
__props__.__dict__["period_unit"] = period_unit
|
|
3066
3423
|
__props__.__dict__["private_ip"] = private_ip
|
|
3424
|
+
__props__.__dict__["queue_pair_number"] = queue_pair_number
|
|
3067
3425
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
3068
3426
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
3069
3427
|
__props__.__dict__["role_name"] = role_name
|
|
@@ -3089,15 +3447,19 @@ class Instance(pulumi.CustomResource):
|
|
|
3089
3447
|
__props__.__dict__["tags"] = tags
|
|
3090
3448
|
__props__.__dict__["user_data"] = user_data
|
|
3091
3449
|
__props__.__dict__["volume_tags"] = volume_tags
|
|
3450
|
+
__props__.__dict__["vpc_id"] = vpc_id
|
|
3092
3451
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
3093
3452
|
__props__.__dict__["cpu"] = None
|
|
3453
|
+
__props__.__dict__["create_time"] = None
|
|
3094
3454
|
__props__.__dict__["deployment_set_group_no"] = None
|
|
3455
|
+
__props__.__dict__["expired_time"] = None
|
|
3095
3456
|
__props__.__dict__["memory"] = None
|
|
3096
3457
|
__props__.__dict__["network_interface_id"] = None
|
|
3097
3458
|
__props__.__dict__["os_name"] = None
|
|
3098
3459
|
__props__.__dict__["os_type"] = None
|
|
3099
3460
|
__props__.__dict__["primary_ip_address"] = None
|
|
3100
3461
|
__props__.__dict__["public_ip"] = None
|
|
3462
|
+
__props__.__dict__["start_time"] = None
|
|
3101
3463
|
__props__.__dict__["system_disk_id"] = None
|
|
3102
3464
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
|
3103
3465
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
@@ -3116,14 +3478,17 @@ class Instance(pulumi.CustomResource):
|
|
|
3116
3478
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
3117
3479
|
availability_zone: Optional[pulumi.Input[str]] = None,
|
|
3118
3480
|
cpu: Optional[pulumi.Input[int]] = None,
|
|
3481
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
3119
3482
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
3120
|
-
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
3483
|
+
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]]] = None,
|
|
3121
3484
|
dedicated_host_id: Optional[pulumi.Input[str]] = None,
|
|
3122
3485
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
3123
3486
|
deployment_set_group_no: Optional[pulumi.Input[str]] = None,
|
|
3124
3487
|
deployment_set_id: Optional[pulumi.Input[str]] = None,
|
|
3125
3488
|
description: Optional[pulumi.Input[str]] = None,
|
|
3126
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,
|
|
3127
3492
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
3128
3493
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
3129
3494
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3131,6 +3496,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3131
3496
|
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
|
|
3132
3497
|
http_tokens: Optional[pulumi.Input[str]] = None,
|
|
3133
3498
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
3499
|
+
image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
|
|
3134
3500
|
include_data_disks: Optional[pulumi.Input[bool]] = None,
|
|
3135
3501
|
instance_charge_type: Optional[pulumi.Input[str]] = None,
|
|
3136
3502
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3143,25 +3509,29 @@ class Instance(pulumi.CustomResource):
|
|
|
3143
3509
|
is_outdated: Optional[pulumi.Input[bool]] = None,
|
|
3144
3510
|
key_name: Optional[pulumi.Input[str]] = None,
|
|
3145
3511
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
3146
|
-
kms_encryption_context: Optional[pulumi.Input[Mapping[str,
|
|
3512
|
+
kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3147
3513
|
launch_template_id: Optional[pulumi.Input[str]] = None,
|
|
3148
3514
|
launch_template_name: Optional[pulumi.Input[str]] = None,
|
|
3149
3515
|
launch_template_version: Optional[pulumi.Input[str]] = None,
|
|
3150
3516
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
3151
3517
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
3152
|
-
maintenance_time: Optional[pulumi.Input[
|
|
3518
|
+
maintenance_time: Optional[pulumi.Input[Union['InstanceMaintenanceTimeArgs', 'InstanceMaintenanceTimeArgsDict']]] = None,
|
|
3153
3519
|
memory: Optional[pulumi.Input[int]] = None,
|
|
3520
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
3154
3521
|
network_interface_id: Optional[pulumi.Input[str]] = None,
|
|
3155
|
-
|
|
3522
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
3523
|
+
network_interfaces: Optional[pulumi.Input[Union['InstanceNetworkInterfacesArgs', 'InstanceNetworkInterfacesArgsDict']]] = None,
|
|
3156
3524
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
3157
3525
|
os_name: Optional[pulumi.Input[str]] = None,
|
|
3158
3526
|
os_type: Optional[pulumi.Input[str]] = None,
|
|
3159
3527
|
password: Optional[pulumi.Input[str]] = None,
|
|
3528
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
3160
3529
|
period: Optional[pulumi.Input[int]] = None,
|
|
3161
3530
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
3162
3531
|
primary_ip_address: Optional[pulumi.Input[str]] = None,
|
|
3163
3532
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
3164
3533
|
public_ip: Optional[pulumi.Input[str]] = None,
|
|
3534
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
3165
3535
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
3166
3536
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
3167
3537
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3172,6 +3542,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3172
3542
|
spot_duration: Optional[pulumi.Input[int]] = None,
|
|
3173
3543
|
spot_price_limit: Optional[pulumi.Input[float]] = None,
|
|
3174
3544
|
spot_strategy: Optional[pulumi.Input[str]] = None,
|
|
3545
|
+
start_time: Optional[pulumi.Input[str]] = None,
|
|
3175
3546
|
status: Optional[pulumi.Input[str]] = None,
|
|
3176
3547
|
stopped_mode: Optional[pulumi.Input[str]] = None,
|
|
3177
3548
|
system_disk_auto_snapshot_policy_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3187,7 +3558,8 @@ class Instance(pulumi.CustomResource):
|
|
|
3187
3558
|
system_disk_storage_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
3188
3559
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3189
3560
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
3190
|
-
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,
|
|
3191
3563
|
vswitch_id: Optional[pulumi.Input[str]] = None) -> 'Instance':
|
|
3192
3564
|
"""
|
|
3193
3565
|
Get an existing Instance resource's state with the given name, id, and optional extra
|
|
@@ -3197,7 +3569,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3197
3569
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
3198
3570
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
3199
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.
|
|
3200
|
-
: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.
|
|
3201
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.
|
|
3202
3574
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
3203
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:
|
|
@@ -3205,8 +3577,9 @@ class Instance(pulumi.CustomResource):
|
|
|
3205
3577
|
- [1, 2, 3] when `period_unit` in "Week"
|
|
3206
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`.
|
|
3207
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.
|
|
3208
3581
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
3209
|
-
: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.
|
|
3210
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.
|
|
3211
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`.
|
|
3212
3585
|
- true: Enable deletion protection.
|
|
@@ -3214,20 +3587,37 @@ class Instance(pulumi.CustomResource):
|
|
|
3214
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.
|
|
3215
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' = "".
|
|
3216
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.
|
|
3217
|
-
: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.
|
|
3218
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.
|
|
3219
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.
|
|
3220
3595
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
3221
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".
|
|
3222
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.
|
|
3223
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.
|
|
3224
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.
|
|
3225
3600
|
:param pulumi.Input[str] http_endpoint: Specifies whether to enable the access channel for instance metadata. Valid values: `enabled`, `disabled`. Default value: `enabled`.
|
|
3226
|
-
: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.
|
|
3227
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:
|
|
3228
3603
|
- optional: does not forcefully use the security-enhanced mode (IMDSv2).
|
|
3229
3604
|
- required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
|
|
3230
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.
|
|
3231
3621
|
:param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
|
|
3232
3622
|
:param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
|
|
3233
3623
|
**NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
|
|
@@ -3242,48 +3632,46 @@ class Instance(pulumi.CustomResource):
|
|
|
3242
3632
|
:param pulumi.Input[bool] is_outdated: Whether to use outdated instance type. Default to false.
|
|
3243
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.
|
|
3244
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.
|
|
3245
|
-
: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.
|
|
3246
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.
|
|
3247
3637
|
:param pulumi.Input[str] launch_template_name: The name of the launch template.
|
|
3248
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.
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
> **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.
|
|
3252
|
-
|
|
3253
|
-
> **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.
|
|
3254
|
-
|
|
3255
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3256
|
-
|
|
3257
|
-
> **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.
|
|
3258
|
-
|
|
3259
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3260
|
-
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).
|
|
3261
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3262
|
-
|
|
3263
|
-
> **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.
|
|
3264
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.
|
|
3265
3643
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
3266
|
-
:param pulumi.Input[
|
|
3644
|
+
:param pulumi.Input[Union['InstanceMaintenanceTimeArgs', 'InstanceMaintenanceTimeArgsDict']] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
3267
3645
|
:param pulumi.Input[int] memory: The memory size of the instance. Unit: MiB.
|
|
3268
|
-
:param pulumi.Input[
|
|
3269
|
-
: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.
|
|
3270
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`.
|
|
3271
3653
|
:param pulumi.Input[str] os_name: The name of the operating system of the instance.
|
|
3272
3654
|
:param pulumi.Input[str] os_type: The type of the operating system of the instance.
|
|
3273
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.
|
|
3274
|
-
:param pulumi.Input[
|
|
3656
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
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:
|
|
3275
3658
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
3276
3659
|
- [1-3] when `period_unit` in "Week"
|
|
3660
|
+
|
|
3277
3661
|
> **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.
|
|
3278
3662
|
: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".
|
|
3279
3663
|
:param pulumi.Input[str] primary_ip_address: The primary private IP address of the ENI.
|
|
3280
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.
|
|
3281
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.
|
|
3282
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.
|
|
3283
3671
|
:param pulumi.Input[str] resource_group_id: The Id of resource group which the instance belongs.
|
|
3284
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.
|
|
3285
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.
|
|
3286
|
-
: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.
|
|
3287
3675
|
:param pulumi.Input[str] security_enhancement_strategy: The security enhancement strategy.
|
|
3288
3676
|
- Active: Enable security enhancement strategy, it only works on system images.
|
|
3289
3677
|
- Deactive: Disable security enhancement strategy, it works on all images.
|
|
@@ -3296,10 +3684,13 @@ class Instance(pulumi.CustomResource):
|
|
|
3296
3684
|
- SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance
|
|
3297
3685
|
|
|
3298
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.
|
|
3299
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`.
|
|
3300
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.
|
|
3301
3692
|
:param pulumi.Input[str] system_disk_auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
|
|
3302
|
-
: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.
|
|
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.
|
|
3303
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://.
|
|
3304
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`.
|
|
3305
3696
|
:param pulumi.Input[bool] system_disk_encrypted: Specifies whether to encrypt the system disk. Valid values: `true`,`false`. Default value: `false`.
|
|
@@ -3316,9 +3707,10 @@ class Instance(pulumi.CustomResource):
|
|
|
3316
3707
|
It supports to setting a base64-encoded value, and it is the recommended usage.
|
|
3317
3708
|
From version 1.60.0, it can be updated in-place. If updated, the instance will reboot to make the change take effect.
|
|
3318
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).
|
|
3319
|
-
: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.
|
|
3320
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.
|
|
3321
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.
|
|
3322
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.
|
|
3323
3715
|
"""
|
|
3324
3716
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -3330,6 +3722,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3330
3722
|
__props__.__dict__["auto_renew_period"] = auto_renew_period
|
|
3331
3723
|
__props__.__dict__["availability_zone"] = availability_zone
|
|
3332
3724
|
__props__.__dict__["cpu"] = cpu
|
|
3725
|
+
__props__.__dict__["create_time"] = create_time
|
|
3333
3726
|
__props__.__dict__["credit_specification"] = credit_specification
|
|
3334
3727
|
__props__.__dict__["data_disks"] = data_disks
|
|
3335
3728
|
__props__.__dict__["dedicated_host_id"] = dedicated_host_id
|
|
@@ -3338,6 +3731,8 @@ class Instance(pulumi.CustomResource):
|
|
|
3338
3731
|
__props__.__dict__["deployment_set_id"] = deployment_set_id
|
|
3339
3732
|
__props__.__dict__["description"] = description
|
|
3340
3733
|
__props__.__dict__["dry_run"] = dry_run
|
|
3734
|
+
__props__.__dict__["enable_jumbo_frame"] = enable_jumbo_frame
|
|
3735
|
+
__props__.__dict__["expired_time"] = expired_time
|
|
3341
3736
|
__props__.__dict__["force_delete"] = force_delete
|
|
3342
3737
|
__props__.__dict__["host_name"] = host_name
|
|
3343
3738
|
__props__.__dict__["hpc_cluster_id"] = hpc_cluster_id
|
|
@@ -3345,6 +3740,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3345
3740
|
__props__.__dict__["http_put_response_hop_limit"] = http_put_response_hop_limit
|
|
3346
3741
|
__props__.__dict__["http_tokens"] = http_tokens
|
|
3347
3742
|
__props__.__dict__["image_id"] = image_id
|
|
3743
|
+
__props__.__dict__["image_options"] = image_options
|
|
3348
3744
|
__props__.__dict__["include_data_disks"] = include_data_disks
|
|
3349
3745
|
__props__.__dict__["instance_charge_type"] = instance_charge_type
|
|
3350
3746
|
__props__.__dict__["instance_name"] = instance_name
|
|
@@ -3365,17 +3761,21 @@ class Instance(pulumi.CustomResource):
|
|
|
3365
3761
|
__props__.__dict__["maintenance_notify"] = maintenance_notify
|
|
3366
3762
|
__props__.__dict__["maintenance_time"] = maintenance_time
|
|
3367
3763
|
__props__.__dict__["memory"] = memory
|
|
3764
|
+
__props__.__dict__["network_card_index"] = network_card_index
|
|
3368
3765
|
__props__.__dict__["network_interface_id"] = network_interface_id
|
|
3766
|
+
__props__.__dict__["network_interface_traffic_mode"] = network_interface_traffic_mode
|
|
3369
3767
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
|
3370
3768
|
__props__.__dict__["operator_type"] = operator_type
|
|
3371
3769
|
__props__.__dict__["os_name"] = os_name
|
|
3372
3770
|
__props__.__dict__["os_type"] = os_type
|
|
3373
3771
|
__props__.__dict__["password"] = password
|
|
3772
|
+
__props__.__dict__["password_inherit"] = password_inherit
|
|
3374
3773
|
__props__.__dict__["period"] = period
|
|
3375
3774
|
__props__.__dict__["period_unit"] = period_unit
|
|
3376
3775
|
__props__.__dict__["primary_ip_address"] = primary_ip_address
|
|
3377
3776
|
__props__.__dict__["private_ip"] = private_ip
|
|
3378
3777
|
__props__.__dict__["public_ip"] = public_ip
|
|
3778
|
+
__props__.__dict__["queue_pair_number"] = queue_pair_number
|
|
3379
3779
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
3380
3780
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
3381
3781
|
__props__.__dict__["role_name"] = role_name
|
|
@@ -3386,6 +3786,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3386
3786
|
__props__.__dict__["spot_duration"] = spot_duration
|
|
3387
3787
|
__props__.__dict__["spot_price_limit"] = spot_price_limit
|
|
3388
3788
|
__props__.__dict__["spot_strategy"] = spot_strategy
|
|
3789
|
+
__props__.__dict__["start_time"] = start_time
|
|
3389
3790
|
__props__.__dict__["status"] = status
|
|
3390
3791
|
__props__.__dict__["stopped_mode"] = stopped_mode
|
|
3391
3792
|
__props__.__dict__["system_disk_auto_snapshot_policy_id"] = system_disk_auto_snapshot_policy_id
|
|
@@ -3402,25 +3803,24 @@ class Instance(pulumi.CustomResource):
|
|
|
3402
3803
|
__props__.__dict__["tags"] = tags
|
|
3403
3804
|
__props__.__dict__["user_data"] = user_data
|
|
3404
3805
|
__props__.__dict__["volume_tags"] = volume_tags
|
|
3806
|
+
__props__.__dict__["vpc_id"] = vpc_id
|
|
3405
3807
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
3406
3808
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
|
3407
3809
|
|
|
3408
3810
|
@property
|
|
3409
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.""")
|
|
3410
3813
|
def allocate_public_ip(self) -> pulumi.Output[Optional[bool]]:
|
|
3411
3814
|
"""
|
|
3412
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.
|
|
3413
3816
|
"""
|
|
3414
|
-
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)
|
|
3415
|
-
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.""")
|
|
3416
|
-
|
|
3417
3817
|
return pulumi.get(self, "allocate_public_ip")
|
|
3418
3818
|
|
|
3419
3819
|
@property
|
|
3420
3820
|
@pulumi.getter(name="autoReleaseTime")
|
|
3421
3821
|
def auto_release_time(self) -> pulumi.Output[Optional[str]]:
|
|
3422
3822
|
"""
|
|
3423
|
-
The automatic release time of the `PostPaid` instance.
|
|
3823
|
+
The automatic release time of the `PostPaid` instance.
|
|
3424
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.
|
|
3425
3825
|
Setting it to null can cancel automatic release feature, and the ECS instance will not be released automatically.
|
|
3426
3826
|
"""
|
|
@@ -3452,6 +3852,14 @@ class Instance(pulumi.CustomResource):
|
|
|
3452
3852
|
"""
|
|
3453
3853
|
return pulumi.get(self, "cpu")
|
|
3454
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
|
+
|
|
3455
3863
|
@property
|
|
3456
3864
|
@pulumi.getter(name="creditSpecification")
|
|
3457
3865
|
def credit_specification(self) -> pulumi.Output[str]:
|
|
@@ -3514,12 +3922,28 @@ class Instance(pulumi.CustomResource):
|
|
|
3514
3922
|
@pulumi.getter(name="dryRun")
|
|
3515
3923
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
3516
3924
|
"""
|
|
3517
|
-
Specifies whether to send a dry-run request. Default to false.
|
|
3925
|
+
Specifies whether to send a dry-run request. Default to false.
|
|
3518
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.
|
|
3519
3927
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
3520
3928
|
"""
|
|
3521
3929
|
return pulumi.get(self, "dry_run")
|
|
3522
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
|
+
|
|
3523
3947
|
@property
|
|
3524
3948
|
@pulumi.getter(name="forceDelete")
|
|
3525
3949
|
def force_delete(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -3558,7 +3982,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3558
3982
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
3559
3983
|
def http_put_response_hop_limit(self) -> pulumi.Output[int]:
|
|
3560
3984
|
"""
|
|
3561
|
-
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.
|
|
3562
3986
|
"""
|
|
3563
3987
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
3564
3988
|
|
|
@@ -3580,6 +4004,28 @@ class Instance(pulumi.CustomResource):
|
|
|
3580
4004
|
"""
|
|
3581
4005
|
return pulumi.get(self, "image_id")
|
|
3582
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
|
+
|
|
3583
4029
|
@property
|
|
3584
4030
|
@pulumi.getter(name="includeDataDisks")
|
|
3585
4031
|
def include_data_disks(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -3622,13 +4068,11 @@ class Instance(pulumi.CustomResource):
|
|
|
3622
4068
|
|
|
3623
4069
|
@property
|
|
3624
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.""")
|
|
3625
4072
|
def internet_max_bandwidth_in(self) -> pulumi.Output[int]:
|
|
3626
4073
|
"""
|
|
3627
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.
|
|
3628
4075
|
"""
|
|
3629
|
-
warnings.warn("""The attribute is invalid and no any affect for the instance. So it has been deprecated since version v1.121.2.""", DeprecationWarning)
|
|
3630
|
-
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.""")
|
|
3631
|
-
|
|
3632
4076
|
return pulumi.get(self, "internet_max_bandwidth_in")
|
|
3633
4077
|
|
|
3634
4078
|
@property
|
|
@@ -3681,7 +4125,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3681
4125
|
|
|
3682
4126
|
@property
|
|
3683
4127
|
@pulumi.getter(name="kmsEncryptionContext")
|
|
3684
|
-
def kms_encryption_context(self) -> pulumi.Output[Optional[Mapping[str,
|
|
4128
|
+
def kms_encryption_context(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
3685
4129
|
"""
|
|
3686
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.
|
|
3687
4131
|
"""
|
|
@@ -3708,21 +4152,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3708
4152
|
def launch_template_version(self) -> pulumi.Output[Optional[str]]:
|
|
3709
4153
|
"""
|
|
3710
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.
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
> **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.
|
|
3714
|
-
|
|
3715
|
-
> **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.
|
|
3716
|
-
|
|
3717
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3718
|
-
|
|
3719
|
-
> **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.
|
|
3720
|
-
|
|
3721
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3722
|
-
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).
|
|
3723
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3724
|
-
|
|
3725
|
-
> **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.
|
|
3726
4155
|
"""
|
|
3727
4156
|
return pulumi.get(self, "launch_template_version")
|
|
3728
4157
|
|
|
@@ -3731,6 +4160,9 @@ class Instance(pulumi.CustomResource):
|
|
|
3731
4160
|
def maintenance_action(self) -> pulumi.Output[str]:
|
|
3732
4161
|
"""
|
|
3733
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.
|
|
3734
4166
|
"""
|
|
3735
4167
|
return pulumi.get(self, "maintenance_action")
|
|
3736
4168
|
|
|
@@ -3758,14 +4190,32 @@ class Instance(pulumi.CustomResource):
|
|
|
3758
4190
|
"""
|
|
3759
4191
|
return pulumi.get(self, "memory")
|
|
3760
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
|
+
|
|
3761
4201
|
@property
|
|
3762
4202
|
@pulumi.getter(name="networkInterfaceId")
|
|
3763
4203
|
def network_interface_id(self) -> pulumi.Output[str]:
|
|
3764
4204
|
"""
|
|
3765
|
-
The ID of the
|
|
4205
|
+
The ID of the Primary ENI.
|
|
3766
4206
|
"""
|
|
3767
4207
|
return pulumi.get(self, "network_interface_id")
|
|
3768
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
|
+
|
|
3769
4219
|
@property
|
|
3770
4220
|
@pulumi.getter(name="networkInterfaces")
|
|
3771
4221
|
def network_interfaces(self) -> pulumi.Output['outputs.InstanceNetworkInterfaces']:
|
|
@@ -3806,13 +4256,22 @@ class Instance(pulumi.CustomResource):
|
|
|
3806
4256
|
"""
|
|
3807
4257
|
return pulumi.get(self, "password")
|
|
3808
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
|
+
|
|
3809
4267
|
@property
|
|
3810
4268
|
@pulumi.getter
|
|
3811
4269
|
def period(self) -> pulumi.Output[int]:
|
|
3812
4270
|
"""
|
|
3813
|
-
The duration that you will buy the resource, in month. It is valid when `instance_charge_type` is `PrePaid`. Valid values:
|
|
4271
|
+
The duration that you will buy the resource, in month. It is valid and required when `instance_charge_type` is `PrePaid`. Valid values:
|
|
3814
4272
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
3815
4273
|
- [1-3] when `period_unit` in "Week"
|
|
4274
|
+
|
|
3816
4275
|
> **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.
|
|
3817
4276
|
"""
|
|
3818
4277
|
return pulumi.get(self, "period")
|
|
@@ -3849,11 +4308,22 @@ class Instance(pulumi.CustomResource):
|
|
|
3849
4308
|
"""
|
|
3850
4309
|
return pulumi.get(self, "public_ip")
|
|
3851
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
|
+
|
|
3852
4319
|
@property
|
|
3853
4320
|
@pulumi.getter(name="renewalStatus")
|
|
3854
4321
|
def renewal_status(self) -> pulumi.Output[Optional[str]]:
|
|
3855
4322
|
"""
|
|
3856
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.
|
|
3857
4327
|
"""
|
|
3858
4328
|
return pulumi.get(self, "renewal_status")
|
|
3859
4329
|
|
|
@@ -3885,7 +4355,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3885
4355
|
@pulumi.getter(name="secondaryPrivateIps")
|
|
3886
4356
|
def secondary_private_ips(self) -> pulumi.Output[Sequence[str]]:
|
|
3887
4357
|
"""
|
|
3888
|
-
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.
|
|
3889
4359
|
"""
|
|
3890
4360
|
return pulumi.get(self, "secondary_private_ips")
|
|
3891
4361
|
|
|
@@ -3936,6 +4406,14 @@ class Instance(pulumi.CustomResource):
|
|
|
3936
4406
|
"""
|
|
3937
4407
|
return pulumi.get(self, "spot_strategy")
|
|
3938
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
|
+
|
|
3939
4417
|
@property
|
|
3940
4418
|
@pulumi.getter
|
|
3941
4419
|
def status(self) -> pulumi.Output[str]:
|
|
@@ -3949,6 +4427,8 @@ class Instance(pulumi.CustomResource):
|
|
|
3949
4427
|
def stopped_mode(self) -> pulumi.Output[str]:
|
|
3950
4428
|
"""
|
|
3951
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.
|
|
3952
4432
|
"""
|
|
3953
4433
|
return pulumi.get(self, "stopped_mode")
|
|
3954
4434
|
|
|
@@ -3964,7 +4444,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3964
4444
|
@pulumi.getter(name="systemDiskCategory")
|
|
3965
4445
|
def system_disk_category(self) -> pulumi.Output[str]:
|
|
3966
4446
|
"""
|
|
3967
|
-
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.
|
|
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.
|
|
3968
4448
|
"""
|
|
3969
4449
|
return pulumi.get(self, "system_disk_category")
|
|
3970
4450
|
|
|
@@ -4063,7 +4543,7 @@ class Instance(pulumi.CustomResource):
|
|
|
4063
4543
|
|
|
4064
4544
|
@property
|
|
4065
4545
|
@pulumi.getter(name="volumeTags")
|
|
4066
|
-
def volume_tags(self) -> pulumi.Output[Mapping[str,
|
|
4546
|
+
def volume_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
|
4067
4547
|
"""
|
|
4068
4548
|
A mapping of tags to assign to the devices created by the instance at launch time.
|
|
4069
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.
|
|
@@ -4071,6 +4551,14 @@ class Instance(pulumi.CustomResource):
|
|
|
4071
4551
|
"""
|
|
4072
4552
|
return pulumi.get(self, "volume_tags")
|
|
4073
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
|
+
|
|
4074
4562
|
@property
|
|
4075
4563
|
@pulumi.getter(name="vswitchId")
|
|
4076
4564
|
def vswitch_id(self) -> pulumi.Output[str]:
|