pulumi-alicloud 3.75.0a1741324537__py3-none-any.whl → 3.76.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +501 -4
- pulumi_alicloud/_inputs.py +53 -0
- pulumi_alicloud/ackone/__init__.py +1 -0
- pulumi_alicloud/ackone/cluster.py +73 -8
- pulumi_alicloud/ackone/membership_attachment.py +223 -0
- pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
- pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
- pulumi_alicloud/alb/_inputs.py +217 -17
- pulumi_alicloud/alb/load_balancer.py +7 -35
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
- pulumi_alicloud/alb/outputs.py +150 -12
- pulumi_alicloud/alb/server_group.py +199 -44
- pulumi_alicloud/aligreen/audit_callback.py +2 -2
- pulumi_alicloud/aligreen/biz_type.py +2 -2
- pulumi_alicloud/aligreen/callback.py +2 -2
- pulumi_alicloud/aligreen/image_lib.py +2 -2
- pulumi_alicloud/aligreen/keyword_lib.py +2 -2
- pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
- pulumi_alicloud/alikafka/sasl_acl.py +7 -7
- pulumi_alicloud/apigateway/_inputs.py +134 -0
- pulumi_alicloud/apigateway/group.py +117 -5
- pulumi_alicloud/apigateway/instance.py +199 -11
- pulumi_alicloud/apigateway/outputs.py +107 -0
- pulumi_alicloud/arms/alert_contact.py +2 -2
- pulumi_alicloud/arms/alert_contact_group.py +2 -2
- pulumi_alicloud/arms/get_prometheus.py +2 -6
- pulumi_alicloud/arms/grafana_workspace.py +511 -69
- pulumi_alicloud/arms/outputs.py +18 -18
- pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
- pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
- pulumi_alicloud/cdn/domain_new.py +2 -2
- pulumi_alicloud/cen/_inputs.py +6 -3
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
- pulumi_alicloud/cen/instance.py +101 -59
- pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
- pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
- pulumi_alicloud/cen/outputs.py +69 -26
- pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
- pulumi_alicloud/cen/transit_router.py +127 -53
- pulumi_alicloud/cen/transit_router_cidr.py +53 -35
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
- pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
- pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
- pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
- pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
- pulumi_alicloud/cfg/aggregator.py +6 -4
- pulumi_alicloud/clickhouse/db_cluster.py +179 -6
- pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
- pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
- pulumi_alicloud/cloudcontrol/get_products.py +2 -2
- pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
- pulumi_alicloud/cloudcontrol/resource.py +2 -2
- pulumi_alicloud/cloudfirewall/__init__.py +2 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
- pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
- pulumi_alicloud/cloudfirewall/outputs.py +362 -0
- pulumi_alicloud/cloudphone/__init__.py +12 -0
- pulumi_alicloud/cloudphone/_inputs.py +175 -0
- pulumi_alicloud/cloudphone/image.py +323 -0
- pulumi_alicloud/cloudphone/key_pair.py +294 -0
- pulumi_alicloud/cloudphone/outputs.py +138 -0
- pulumi_alicloud/cloudphone/policy.py +522 -0
- pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
- pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
- pulumi_alicloud/cloudphoneinstance/group.py +961 -0
- pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/config/outputs.py +32 -0
- pulumi_alicloud/cs/__init__.py +1 -0
- pulumi_alicloud/cs/_inputs.py +9 -9
- pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/managed_kubernetes.py +174 -59
- pulumi_alicloud/cs/node_pool.py +91 -63
- pulumi_alicloud/cs/outputs.py +1991 -213
- pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
- pulumi_alicloud/dataworks/data_source.py +2 -2
- pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
- pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
- pulumi_alicloud/dataworks/di_job.py +2 -2
- pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
- pulumi_alicloud/dataworks/network.py +2 -2
- pulumi_alicloud/dataworks/project.py +2 -2
- pulumi_alicloud/dataworks/project_member.py +2 -2
- pulumi_alicloud/dbs/backup_plan.py +2 -2
- pulumi_alicloud/ddos/bgp_policy.py +2 -2
- pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
- pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/eais/__init__.py +2 -0
- pulumi_alicloud/eais/_inputs.py +75 -0
- pulumi_alicloud/eais/client_instance_attachment.py +408 -0
- pulumi_alicloud/eais/instance.py +365 -118
- pulumi_alicloud/eais/outputs.py +32 -0
- pulumi_alicloud/ebs/disk_replica_group.py +512 -30
- pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
- pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
- pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
- pulumi_alicloud/ebs/replica_group_drill.py +2 -2
- pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
- pulumi_alicloud/ecp/instance.py +2 -2
- pulumi_alicloud/ecp/key_pair.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +33 -0
- pulumi_alicloud/ecs/disk.py +1 -1
- pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
- pulumi_alicloud/ecs/ecs_disk.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
- pulumi_alicloud/ecs/eip.py +1 -1
- pulumi_alicloud/ecs/eip_address.py +1 -1
- pulumi_alicloud/ecs/instance.py +44 -31
- pulumi_alicloud/ecs/outputs.py +26 -2
- pulumi_alicloud/eds/command.py +10 -2
- pulumi_alicloud/eflo/__init__.py +5 -0
- pulumi_alicloud/eflo/_inputs.py +1717 -0
- pulumi_alicloud/eflo/cluster.py +935 -0
- pulumi_alicloud/eflo/invocation.py +1114 -0
- pulumi_alicloud/eflo/node.py +1013 -0
- pulumi_alicloud/eflo/node_group.py +1101 -0
- pulumi_alicloud/eflo/outputs.py +1366 -0
- pulumi_alicloud/emrv2/__init__.py +1 -0
- pulumi_alicloud/emrv2/_inputs.py +47 -7
- pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
- pulumi_alicloud/emrv2/outputs.py +195 -5
- pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
- pulumi_alicloud/ens/image.py +81 -34
- pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
- pulumi_alicloud/ens/nat_gateway.py +6 -6
- pulumi_alicloud/ens/vswitch.py +36 -36
- pulumi_alicloud/esa/__init__.py +23 -0
- pulumi_alicloud/esa/_inputs.py +1068 -15
- pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
- pulumi_alicloud/esa/cache_rule.py +1419 -0
- pulumi_alicloud/esa/certificate.py +731 -0
- pulumi_alicloud/esa/client_ca_certificate.py +388 -0
- pulumi_alicloud/esa/client_certificate.py +452 -0
- pulumi_alicloud/esa/compression_rule.py +596 -0
- pulumi_alicloud/esa/edge_container_app.py +972 -0
- pulumi_alicloud/esa/edge_container_app_record.py +376 -0
- pulumi_alicloud/esa/get_sites.py +421 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +58 -44
- pulumi_alicloud/esa/http_response_header_modification_rule.py +539 -0
- pulumi_alicloud/esa/https_application_configuration.py +939 -0
- pulumi_alicloud/esa/https_basic_configuration.py +1041 -0
- pulumi_alicloud/esa/image_transform.py +498 -0
- pulumi_alicloud/esa/kv_namespace.py +276 -0
- pulumi_alicloud/esa/list.py +30 -30
- pulumi_alicloud/esa/network_optimization.py +680 -0
- pulumi_alicloud/esa/origin_pool.py +485 -0
- pulumi_alicloud/esa/origin_rule.py +796 -0
- pulumi_alicloud/esa/outputs.py +959 -10
- pulumi_alicloud/esa/page.py +30 -51
- pulumi_alicloud/esa/rate_plan_instance.py +88 -161
- pulumi_alicloud/esa/record.py +2 -2
- pulumi_alicloud/esa/redirect_rule.py +748 -0
- pulumi_alicloud/esa/rewrite_url_rule.py +688 -0
- pulumi_alicloud/esa/site.py +276 -27
- pulumi_alicloud/esa/site_delivery_task.py +841 -0
- pulumi_alicloud/esa/waiting_room.py +1207 -0
- pulumi_alicloud/esa/waiting_room_event.py +1378 -0
- pulumi_alicloud/esa/waiting_room_rule.py +497 -0
- pulumi_alicloud/ess/_inputs.py +155 -0
- pulumi_alicloud/ess/outputs.py +128 -0
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/ess/scaling_group.py +237 -2
- pulumi_alicloud/ess/scaling_rule.py +143 -2
- pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
- pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
- pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
- pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
- pulumi_alicloud/ga/outputs.py +10 -4
- pulumi_alicloud/gpdb/db_resource_group.py +6 -6
- pulumi_alicloud/gpdb/external_data_service.py +6 -6
- pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
- pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
- pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
- pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
- pulumi_alicloud/gpdb/streaming_job.py +2 -2
- pulumi_alicloud/hbr/policy.py +67 -6
- pulumi_alicloud/hbr/vault.py +210 -9
- pulumi_alicloud/ims/oidc_provider.py +24 -13
- pulumi_alicloud/kms/get_keys.py +10 -0
- pulumi_alicloud/kvstore/account.py +9 -9
- pulumi_alicloud/kvstore/connection.py +2 -2
- pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
- pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
- pulumi_alicloud/kvstore/instance.py +7 -7
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/live/caster.py +2 -2
- pulumi_alicloud/maxcompute/__init__.py +1 -0
- pulumi_alicloud/maxcompute/_inputs.py +232 -3
- pulumi_alicloud/maxcompute/outputs.py +183 -2
- pulumi_alicloud/maxcompute/project.py +2 -2
- pulumi_alicloud/maxcompute/quota.py +438 -0
- pulumi_alicloud/message/__init__.py +3 -0
- pulumi_alicloud/message/_inputs.py +149 -0
- pulumi_alicloud/message/outputs.py +112 -0
- pulumi_alicloud/message/service_endpoint.py +218 -0
- pulumi_alicloud/message/service_endpoint_acl.py +306 -0
- pulumi_alicloud/message/service_queue.py +49 -0
- pulumi_alicloud/message/service_subscription.py +91 -14
- pulumi_alicloud/mse/nacos_config.py +4 -0
- pulumi_alicloud/nas/mount_target.py +149 -54
- pulumi_alicloud/nlb/__init__.py +1 -0
- pulumi_alicloud/nlb/_inputs.py +157 -30
- pulumi_alicloud/nlb/listener.py +87 -20
- pulumi_alicloud/nlb/load_balancer.py +212 -24
- pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
- pulumi_alicloud/nlb/outputs.py +123 -20
- pulumi_alicloud/nlb/server_group.py +55 -20
- pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
- pulumi_alicloud/oss/__init__.py +1 -0
- pulumi_alicloud/oss/_inputs.py +20 -0
- pulumi_alicloud/oss/access_point.py +2 -2
- pulumi_alicloud/oss/bucket_cname.py +2 -2
- pulumi_alicloud/oss/bucket_cors.py +2 -2
- pulumi_alicloud/oss/bucket_style.py +402 -0
- pulumi_alicloud/oss/bucket_website.py +2 -2
- pulumi_alicloud/oss/outputs.py +14 -0
- pulumi_alicloud/ots/_inputs.py +3 -3
- pulumi_alicloud/ots/outputs.py +2 -2
- pulumi_alicloud/pai/service.py +59 -67
- pulumi_alicloud/pai/workspace_code_source.py +2 -2
- pulumi_alicloud/pai/workspace_dataset.py +2 -2
- pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
- pulumi_alicloud/pai/workspace_experiment.py +2 -2
- pulumi_alicloud/pai/workspace_run.py +2 -2
- pulumi_alicloud/pai/workspace_workspace.py +2 -2
- pulumi_alicloud/polardb/cluster.py +75 -28
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
- pulumi_alicloud/privatelink/outputs.py +11 -0
- pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/__init__.py +3 -0
- pulumi_alicloud/ram/_inputs.py +9 -9
- pulumi_alicloud/ram/access_key.py +97 -35
- pulumi_alicloud/ram/account_alias.py +18 -45
- pulumi_alicloud/ram/get_system_policys.py +189 -0
- pulumi_alicloud/ram/group.py +156 -35
- pulumi_alicloud/ram/group_policy_attachment.py +51 -29
- pulumi_alicloud/ram/login_profile.py +92 -38
- pulumi_alicloud/ram/outputs.py +91 -6
- pulumi_alicloud/ram/password_policy.py +779 -0
- pulumi_alicloud/ram/policy.py +199 -88
- pulumi_alicloud/ram/role_policy_attachment.py +51 -29
- pulumi_alicloud/ram/saml_provider.py +44 -37
- pulumi_alicloud/ram/user.py +10 -2
- pulumi_alicloud/ram/user_group_attachment.py +273 -0
- pulumi_alicloud/ram/user_policy_attachment.py +49 -27
- pulumi_alicloud/rds/__init__.py +1 -0
- pulumi_alicloud/rds/custom_disk.py +1053 -0
- pulumi_alicloud/rds/instance.py +117 -14
- pulumi_alicloud/redis/tair_instance.py +14 -14
- pulumi_alicloud/resourcemanager/__init__.py +1 -0
- pulumi_alicloud/resourcemanager/_inputs.py +53 -0
- pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
- pulumi_alicloud/resourcemanager/outputs.py +50 -0
- pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
- pulumi_alicloud/rocketmq/__init__.py +1 -1
- pulumi_alicloud/rocketmq/_inputs.py +146 -4
- pulumi_alicloud/rocketmq/account.py +452 -0
- pulumi_alicloud/rocketmq/acl.py +473 -47
- pulumi_alicloud/rocketmq/client_user.py +8 -2
- pulumi_alicloud/rocketmq/consumer_group.py +121 -24
- pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
- pulumi_alicloud/rocketmq/outputs.py +113 -4
- pulumi_alicloud/rocketmq/qos.py +8 -2
- pulumi_alicloud/rocketmq/qos_car.py +10 -4
- pulumi_alicloud/rocketmq/qos_policy.py +6 -0
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
- pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
- pulumi_alicloud/rocketmq/snat_entry.py +8 -2
- pulumi_alicloud/sag/__init__.py +8 -0
- pulumi_alicloud/sag/acl.py +200 -0
- pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
- pulumi_alicloud/sag/client_user.py +560 -0
- pulumi_alicloud/sag/dnat_entry.py +512 -0
- pulumi_alicloud/sag/get_acls.py +2 -2
- pulumi_alicloud/sag/qos.py +202 -0
- pulumi_alicloud/sag/qos_car.py +654 -0
- pulumi_alicloud/sag/qos_policy.py +659 -0
- pulumi_alicloud/sag/snat_entry.py +313 -0
- pulumi_alicloud/securitycenter/group.py +2 -2
- pulumi_alicloud/selectdb/db_instance.py +60 -11
- pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
- pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
- pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
- pulumi_alicloud/sls/oss_export_sink.py +2 -2
- pulumi_alicloud/tag/__init__.py +1 -0
- pulumi_alicloud/tag/associated_rule.py +306 -0
- pulumi_alicloud/tag/policy.py +27 -36
- pulumi_alicloud/threatdetection/__init__.py +3 -0
- pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
- pulumi_alicloud/threatdetection/asset_bind.py +209 -0
- pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
- pulumi_alicloud/threatdetection/instance.py +271 -54
- pulumi_alicloud/threatdetection/log_meta.py +351 -0
- pulumi_alicloud/vpc/__init__.py +2 -0
- pulumi_alicloud/vpc/_inputs.py +281 -0
- pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/flow_log.py +184 -49
- pulumi_alicloud/vpc/forward_entry.py +8 -4
- pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
- pulumi_alicloud/vpc/get_forward_entries.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
- pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
- pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
- pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
- pulumi_alicloud/vpc/get_snat_entries.py +5 -2
- pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
- pulumi_alicloud/vpc/ipam_ipam.py +2 -9
- pulumi_alicloud/vpc/ipam_ipam_pool.py +2 -30
- pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
- pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
- pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +2 -9
- pulumi_alicloud/vpc/ipv6_address.py +85 -5
- pulumi_alicloud/vpc/nat_gateway.py +8 -0
- pulumi_alicloud/vpc/outputs.py +244 -2
- pulumi_alicloud/vpc/peer_connection.py +84 -42
- pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
- pulumi_alicloud/vpc/route_table.py +100 -45
- pulumi_alicloud/vpc/router_interface_connection.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
- pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
- pulumi_alicloud/vpn/_inputs.py +716 -71
- pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
- pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +26 -60
- pulumi_alicloud/vpn/get_gateways.py +21 -1
- pulumi_alicloud/vpn/ipsec_server.py +2 -2
- pulumi_alicloud/vpn/outputs.py +1982 -1006
- {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/METADATA +2 -2
- {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/RECORD +355 -278
- {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/top_level.txt +0 -0
|
@@ -36,6 +36,7 @@ class ManagedKubernetesArgs:
|
|
|
36
36
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
37
37
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
38
38
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
39
|
+
ip_stack: Optional[pulumi.Input[str]] = None,
|
|
39
40
|
is_enterprise_security_group: Optional[pulumi.Input[bool]] = None,
|
|
40
41
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
41
42
|
maintenance_window: Optional[pulumi.Input['ManagedKubernetesMaintenanceWindowArgs']] = None,
|
|
@@ -58,7 +59,8 @@ class ManagedKubernetesArgs:
|
|
|
58
59
|
user_ca: Optional[pulumi.Input[str]] = None,
|
|
59
60
|
version: Optional[pulumi.Input[str]] = None,
|
|
60
61
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
61
|
-
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
|
62
|
+
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
63
|
+
zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
62
64
|
"""
|
|
63
65
|
The set of arguments for constructing a ManagedKubernetes resource.
|
|
64
66
|
:param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
@@ -83,6 +85,7 @@ class ManagedKubernetesArgs:
|
|
|
83
85
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
84
86
|
:param pulumi.Input[bool] enable_rrsa: Whether to enable cluster to support RRSA for kubernetes version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
85
87
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
88
|
+
:param pulumi.Input[str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
86
89
|
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. Only works for **Create** Operation. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
87
90
|
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balancer instance specification. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation. The spec will not take effect because the charge of the load balancer has been changed to PayByCLCU.
|
|
88
91
|
:param pulumi.Input['ManagedKubernetesMaintenanceWindowArgs'] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
@@ -95,16 +98,19 @@ class ManagedKubernetesArgs:
|
|
|
95
98
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
96
99
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
97
100
|
:param pulumi.Input[str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
101
|
+
* > **NOTE:** Please take of note before updating the `security_group_id`:
|
|
102
|
+
* If block rules are configured in the security group, ensure the security group rules allow traffic for protocols and ports required by the cluster. For recommended security group rules, see [Configure and manage security groups for an ACK cluster](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/user-guide/configure-security-group-rules-to-enforce-access-control-on-ack-clusters).
|
|
103
|
+
* During security group updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
104
|
+
* After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
98
105
|
:param pulumi.Input[str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
99
106
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
100
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
101
|
-
|
|
102
|
-
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
103
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
104
|
-
|
|
105
|
-
*Computed params*
|
|
107
|
+
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
106
108
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
107
|
-
:param pulumi.Input[str] timezone:
|
|
109
|
+
:param pulumi.Input[str] timezone: Cluster timezone, works for control plane and Worker nodes.
|
|
110
|
+
* > **NOTE:** Please take of note before updating the `timezone`:
|
|
111
|
+
* After modifying the timezone, cluster inspection configurations will adopt the new timezone.
|
|
112
|
+
* During timezone updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
113
|
+
* After updating the timezone: Newly scaled-out nodes will automatically apply the new timezone. Existing nodes remain unaffected. Reset the node to apply changes to existing nodes.
|
|
108
114
|
:param pulumi.Input[str] user_ca: The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
|
|
109
115
|
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK. Do not specify if cluster auto upgrade is enabled, see cluster_auto_upgrade for more information.
|
|
110
116
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vSwitches of the control plane.
|
|
@@ -113,7 +119,8 @@ class ManagedKubernetesArgs:
|
|
|
113
119
|
* The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
114
120
|
* Ensure that all security groups of the cluster, including the security groups of the control plane, all node pools, and container network, are allowed to access the CIDR blocks of the new vSwitches. This ensures that the nodes and containers can connect to the API server.
|
|
115
121
|
* If the new vSwitches of the control plane are configured with an ACL, ensure that the ACL allows communication between the new vSwitches and CIDR blocks such as those of the cluster nodes and the container network.
|
|
116
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The
|
|
122
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vSwitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vSwitches, which supports modifying control plane vSwitches.
|
|
123
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: The IDs of the zone in which the cluster control plane is deployed. ACK automatically creates a VPC in the region and vSwitches in the specified zones. Only works for **Create** Operation. Do not specify this with `vswitch_ids` together.
|
|
117
124
|
"""
|
|
118
125
|
if addons is not None:
|
|
119
126
|
pulumi.set(__self__, "addons", addons)
|
|
@@ -145,6 +152,8 @@ class ManagedKubernetesArgs:
|
|
|
145
152
|
pulumi.set(__self__, "enable_rrsa", enable_rrsa)
|
|
146
153
|
if encryption_provider_key is not None:
|
|
147
154
|
pulumi.set(__self__, "encryption_provider_key", encryption_provider_key)
|
|
155
|
+
if ip_stack is not None:
|
|
156
|
+
pulumi.set(__self__, "ip_stack", ip_stack)
|
|
148
157
|
if is_enterprise_security_group is not None:
|
|
149
158
|
pulumi.set(__self__, "is_enterprise_security_group", is_enterprise_security_group)
|
|
150
159
|
if load_balancer_spec is not None:
|
|
@@ -197,6 +206,8 @@ class ManagedKubernetesArgs:
|
|
|
197
206
|
pulumi.log.warn("""worker_vswitch_ids is deprecated: Field 'worker_vswitch_ids' has been deprecated from provider version 1.241.0. Please use 'vswitch_ids' to managed control plane vswtiches""")
|
|
198
207
|
if worker_vswitch_ids is not None:
|
|
199
208
|
pulumi.set(__self__, "worker_vswitch_ids", worker_vswitch_ids)
|
|
209
|
+
if zone_ids is not None:
|
|
210
|
+
pulumi.set(__self__, "zone_ids", zone_ids)
|
|
200
211
|
|
|
201
212
|
@property
|
|
202
213
|
@pulumi.getter
|
|
@@ -385,6 +396,18 @@ class ManagedKubernetesArgs:
|
|
|
385
396
|
def encryption_provider_key(self, value: Optional[pulumi.Input[str]]):
|
|
386
397
|
pulumi.set(self, "encryption_provider_key", value)
|
|
387
398
|
|
|
399
|
+
@property
|
|
400
|
+
@pulumi.getter(name="ipStack")
|
|
401
|
+
def ip_stack(self) -> Optional[pulumi.Input[str]]:
|
|
402
|
+
"""
|
|
403
|
+
The IP address family that the cluster network uses. Valid values:
|
|
404
|
+
"""
|
|
405
|
+
return pulumi.get(self, "ip_stack")
|
|
406
|
+
|
|
407
|
+
@ip_stack.setter
|
|
408
|
+
def ip_stack(self, value: Optional[pulumi.Input[str]]):
|
|
409
|
+
pulumi.set(self, "ip_stack", value)
|
|
410
|
+
|
|
388
411
|
@property
|
|
389
412
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
390
413
|
def is_enterprise_security_group(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -541,6 +564,10 @@ class ManagedKubernetesArgs:
|
|
|
541
564
|
def security_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
542
565
|
"""
|
|
543
566
|
The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
567
|
+
* > **NOTE:** Please take of note before updating the `security_group_id`:
|
|
568
|
+
* If block rules are configured in the security group, ensure the security group rules allow traffic for protocols and ports required by the cluster. For recommended security group rules, see [Configure and manage security groups for an ACK cluster](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/user-guide/configure-security-group-rules-to-enforce-access-control-on-ack-clusters).
|
|
569
|
+
* During security group updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
570
|
+
* After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
544
571
|
"""
|
|
545
572
|
return pulumi.get(self, "security_group_id")
|
|
546
573
|
|
|
@@ -576,12 +603,7 @@ class ManagedKubernetesArgs:
|
|
|
576
603
|
@pulumi.getter(name="slbInternetEnabled")
|
|
577
604
|
def slb_internet_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
578
605
|
"""
|
|
579
|
-
Whether to create internet load balancer for API Server. Default to true.
|
|
580
|
-
|
|
581
|
-
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
582
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
583
|
-
|
|
584
|
-
*Computed params*
|
|
606
|
+
Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
585
607
|
"""
|
|
586
608
|
return pulumi.get(self, "slb_internet_enabled")
|
|
587
609
|
|
|
@@ -605,7 +627,11 @@ class ManagedKubernetesArgs:
|
|
|
605
627
|
@pulumi.getter
|
|
606
628
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
607
629
|
"""
|
|
608
|
-
|
|
630
|
+
Cluster timezone, works for control plane and Worker nodes.
|
|
631
|
+
* > **NOTE:** Please take of note before updating the `timezone`:
|
|
632
|
+
* After modifying the timezone, cluster inspection configurations will adopt the new timezone.
|
|
633
|
+
* During timezone updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
634
|
+
* After updating the timezone: Newly scaled-out nodes will automatically apply the new timezone. Existing nodes remain unaffected. Reset the node to apply changes to existing nodes.
|
|
609
635
|
"""
|
|
610
636
|
return pulumi.get(self, "timezone")
|
|
611
637
|
|
|
@@ -659,7 +685,7 @@ class ManagedKubernetesArgs:
|
|
|
659
685
|
@_utilities.deprecated("""Field 'worker_vswitch_ids' has been deprecated from provider version 1.241.0. Please use 'vswitch_ids' to managed control plane vswtiches""")
|
|
660
686
|
def worker_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
661
687
|
"""
|
|
662
|
-
The
|
|
688
|
+
The vSwitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vSwitches, which supports modifying control plane vSwitches.
|
|
663
689
|
"""
|
|
664
690
|
return pulumi.get(self, "worker_vswitch_ids")
|
|
665
691
|
|
|
@@ -667,6 +693,18 @@ class ManagedKubernetesArgs:
|
|
|
667
693
|
def worker_vswitch_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
668
694
|
pulumi.set(self, "worker_vswitch_ids", value)
|
|
669
695
|
|
|
696
|
+
@property
|
|
697
|
+
@pulumi.getter(name="zoneIds")
|
|
698
|
+
def zone_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
699
|
+
"""
|
|
700
|
+
The IDs of the zone in which the cluster control plane is deployed. ACK automatically creates a VPC in the region and vSwitches in the specified zones. Only works for **Create** Operation. Do not specify this with `vswitch_ids` together.
|
|
701
|
+
"""
|
|
702
|
+
return pulumi.get(self, "zone_ids")
|
|
703
|
+
|
|
704
|
+
@zone_ids.setter
|
|
705
|
+
def zone_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
706
|
+
pulumi.set(self, "zone_ids", value)
|
|
707
|
+
|
|
670
708
|
|
|
671
709
|
@pulumi.input_type
|
|
672
710
|
class _ManagedKubernetesState:
|
|
@@ -688,6 +726,7 @@ class _ManagedKubernetesState:
|
|
|
688
726
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
689
727
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
690
728
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
729
|
+
ip_stack: Optional[pulumi.Input[str]] = None,
|
|
691
730
|
is_enterprise_security_group: Optional[pulumi.Input[bool]] = None,
|
|
692
731
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
693
732
|
maintenance_window: Optional[pulumi.Input['ManagedKubernetesMaintenanceWindowArgs']] = None,
|
|
@@ -717,7 +756,8 @@ class _ManagedKubernetesState:
|
|
|
717
756
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
718
757
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
719
758
|
worker_ram_role_name: Optional[pulumi.Input[str]] = None,
|
|
720
|
-
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
|
759
|
+
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
760
|
+
zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
721
761
|
"""
|
|
722
762
|
Input properties used for looking up and filtering ManagedKubernetes resources.
|
|
723
763
|
:param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
@@ -744,6 +784,7 @@ class _ManagedKubernetesState:
|
|
|
744
784
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
745
785
|
:param pulumi.Input[bool] enable_rrsa: Whether to enable cluster to support RRSA for kubernetes version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
746
786
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
787
|
+
:param pulumi.Input[str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
747
788
|
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. Only works for **Create** Operation. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
748
789
|
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balancer instance specification. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation. The spec will not take effect because the charge of the load balancer has been changed to PayByCLCU.
|
|
749
790
|
:param pulumi.Input['ManagedKubernetesMaintenanceWindowArgs'] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
@@ -758,19 +799,22 @@ class _ManagedKubernetesState:
|
|
|
758
799
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
759
800
|
:param pulumi.Input['ManagedKubernetesRrsaMetadataArgs'] rrsa_metadata: (Optional, Available since v1.185.0) Nested attribute containing RRSA related data for your cluster.
|
|
760
801
|
:param pulumi.Input[str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
802
|
+
* > **NOTE:** Please take of note before updating the `security_group_id`:
|
|
803
|
+
* If block rules are configured in the security group, ensure the security group rules allow traffic for protocols and ports required by the cluster. For recommended security group rules, see [Configure and manage security groups for an ACK cluster](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/user-guide/configure-security-group-rules-to-enforce-access-control-on-ack-clusters).
|
|
804
|
+
* During security group updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
805
|
+
* After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
761
806
|
:param pulumi.Input[str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
762
807
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
763
808
|
:param pulumi.Input[str] slb_id: The ID of APIServer load balancer.
|
|
764
809
|
:param pulumi.Input[str] slb_internet: The public ip of load balancer.
|
|
765
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
766
|
-
|
|
767
|
-
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
768
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
769
|
-
|
|
770
|
-
*Computed params*
|
|
810
|
+
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
771
811
|
:param pulumi.Input[str] slb_intranet: The ID of private load balancer where the current cluster master node is located.
|
|
772
812
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
773
|
-
:param pulumi.Input[str] timezone:
|
|
813
|
+
:param pulumi.Input[str] timezone: Cluster timezone, works for control plane and Worker nodes.
|
|
814
|
+
* > **NOTE:** Please take of note before updating the `timezone`:
|
|
815
|
+
* After modifying the timezone, cluster inspection configurations will adopt the new timezone.
|
|
816
|
+
* During timezone updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
817
|
+
* After updating the timezone: Newly scaled-out nodes will automatically apply the new timezone. Existing nodes remain unaffected. Reset the node to apply changes to existing nodes.
|
|
774
818
|
:param pulumi.Input[str] user_ca: The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
|
|
775
819
|
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK. Do not specify if cluster auto upgrade is enabled, see cluster_auto_upgrade for more information.
|
|
776
820
|
:param pulumi.Input[str] vpc_id: The ID of VPC where the current cluster is located.
|
|
@@ -781,7 +825,8 @@ class _ManagedKubernetesState:
|
|
|
781
825
|
* Ensure that all security groups of the cluster, including the security groups of the control plane, all node pools, and container network, are allowed to access the CIDR blocks of the new vSwitches. This ensures that the nodes and containers can connect to the API server.
|
|
782
826
|
* If the new vSwitches of the control plane are configured with an ACL, ensure that the ACL allows communication between the new vSwitches and CIDR blocks such as those of the cluster nodes and the container network.
|
|
783
827
|
:param pulumi.Input[str] worker_ram_role_name: The RamRole Name attached to worker node.
|
|
784
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The
|
|
828
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vSwitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vSwitches, which supports modifying control plane vSwitches.
|
|
829
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: The IDs of the zone in which the cluster control plane is deployed. ACK automatically creates a VPC in the region and vSwitches in the specified zones. Only works for **Create** Operation. Do not specify this with `vswitch_ids` together.
|
|
785
830
|
"""
|
|
786
831
|
if addons is not None:
|
|
787
832
|
pulumi.set(__self__, "addons", addons)
|
|
@@ -817,6 +862,8 @@ class _ManagedKubernetesState:
|
|
|
817
862
|
pulumi.set(__self__, "enable_rrsa", enable_rrsa)
|
|
818
863
|
if encryption_provider_key is not None:
|
|
819
864
|
pulumi.set(__self__, "encryption_provider_key", encryption_provider_key)
|
|
865
|
+
if ip_stack is not None:
|
|
866
|
+
pulumi.set(__self__, "ip_stack", ip_stack)
|
|
820
867
|
if is_enterprise_security_group is not None:
|
|
821
868
|
pulumi.set(__self__, "is_enterprise_security_group", is_enterprise_security_group)
|
|
822
869
|
if load_balancer_spec is not None:
|
|
@@ -883,6 +930,8 @@ class _ManagedKubernetesState:
|
|
|
883
930
|
pulumi.log.warn("""worker_vswitch_ids is deprecated: Field 'worker_vswitch_ids' has been deprecated from provider version 1.241.0. Please use 'vswitch_ids' to managed control plane vswtiches""")
|
|
884
931
|
if worker_vswitch_ids is not None:
|
|
885
932
|
pulumi.set(__self__, "worker_vswitch_ids", worker_vswitch_ids)
|
|
933
|
+
if zone_ids is not None:
|
|
934
|
+
pulumi.set(__self__, "zone_ids", zone_ids)
|
|
886
935
|
|
|
887
936
|
@property
|
|
888
937
|
@pulumi.getter
|
|
@@ -1095,6 +1144,18 @@ class _ManagedKubernetesState:
|
|
|
1095
1144
|
def encryption_provider_key(self, value: Optional[pulumi.Input[str]]):
|
|
1096
1145
|
pulumi.set(self, "encryption_provider_key", value)
|
|
1097
1146
|
|
|
1147
|
+
@property
|
|
1148
|
+
@pulumi.getter(name="ipStack")
|
|
1149
|
+
def ip_stack(self) -> Optional[pulumi.Input[str]]:
|
|
1150
|
+
"""
|
|
1151
|
+
The IP address family that the cluster network uses. Valid values:
|
|
1152
|
+
"""
|
|
1153
|
+
return pulumi.get(self, "ip_stack")
|
|
1154
|
+
|
|
1155
|
+
@ip_stack.setter
|
|
1156
|
+
def ip_stack(self, value: Optional[pulumi.Input[str]]):
|
|
1157
|
+
pulumi.set(self, "ip_stack", value)
|
|
1158
|
+
|
|
1098
1159
|
@property
|
|
1099
1160
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
1100
1161
|
def is_enterprise_security_group(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -1275,6 +1336,10 @@ class _ManagedKubernetesState:
|
|
|
1275
1336
|
def security_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
1276
1337
|
"""
|
|
1277
1338
|
The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
1339
|
+
* > **NOTE:** Please take of note before updating the `security_group_id`:
|
|
1340
|
+
* If block rules are configured in the security group, ensure the security group rules allow traffic for protocols and ports required by the cluster. For recommended security group rules, see [Configure and manage security groups for an ACK cluster](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/user-guide/configure-security-group-rules-to-enforce-access-control-on-ack-clusters).
|
|
1341
|
+
* During security group updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
1342
|
+
* After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
1278
1343
|
"""
|
|
1279
1344
|
return pulumi.get(self, "security_group_id")
|
|
1280
1345
|
|
|
@@ -1334,12 +1399,7 @@ class _ManagedKubernetesState:
|
|
|
1334
1399
|
@pulumi.getter(name="slbInternetEnabled")
|
|
1335
1400
|
def slb_internet_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1336
1401
|
"""
|
|
1337
|
-
Whether to create internet load balancer for API Server. Default to true.
|
|
1338
|
-
|
|
1339
|
-
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
1340
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
1341
|
-
|
|
1342
|
-
*Computed params*
|
|
1402
|
+
Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
1343
1403
|
"""
|
|
1344
1404
|
return pulumi.get(self, "slb_internet_enabled")
|
|
1345
1405
|
|
|
@@ -1375,7 +1435,11 @@ class _ManagedKubernetesState:
|
|
|
1375
1435
|
@pulumi.getter
|
|
1376
1436
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
1377
1437
|
"""
|
|
1378
|
-
|
|
1438
|
+
Cluster timezone, works for control plane and Worker nodes.
|
|
1439
|
+
* > **NOTE:** Please take of note before updating the `timezone`:
|
|
1440
|
+
* After modifying the timezone, cluster inspection configurations will adopt the new timezone.
|
|
1441
|
+
* During timezone updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
1442
|
+
* After updating the timezone: Newly scaled-out nodes will automatically apply the new timezone. Existing nodes remain unaffected. Reset the node to apply changes to existing nodes.
|
|
1379
1443
|
"""
|
|
1380
1444
|
return pulumi.get(self, "timezone")
|
|
1381
1445
|
|
|
@@ -1453,7 +1517,7 @@ class _ManagedKubernetesState:
|
|
|
1453
1517
|
@_utilities.deprecated("""Field 'worker_vswitch_ids' has been deprecated from provider version 1.241.0. Please use 'vswitch_ids' to managed control plane vswtiches""")
|
|
1454
1518
|
def worker_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1455
1519
|
"""
|
|
1456
|
-
The
|
|
1520
|
+
The vSwitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vSwitches, which supports modifying control plane vSwitches.
|
|
1457
1521
|
"""
|
|
1458
1522
|
return pulumi.get(self, "worker_vswitch_ids")
|
|
1459
1523
|
|
|
@@ -1461,6 +1525,18 @@ class _ManagedKubernetesState:
|
|
|
1461
1525
|
def worker_vswitch_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1462
1526
|
pulumi.set(self, "worker_vswitch_ids", value)
|
|
1463
1527
|
|
|
1528
|
+
@property
|
|
1529
|
+
@pulumi.getter(name="zoneIds")
|
|
1530
|
+
def zone_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1531
|
+
"""
|
|
1532
|
+
The IDs of the zone in which the cluster control plane is deployed. ACK automatically creates a VPC in the region and vSwitches in the specified zones. Only works for **Create** Operation. Do not specify this with `vswitch_ids` together.
|
|
1533
|
+
"""
|
|
1534
|
+
return pulumi.get(self, "zone_ids")
|
|
1535
|
+
|
|
1536
|
+
@zone_ids.setter
|
|
1537
|
+
def zone_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1538
|
+
pulumi.set(self, "zone_ids", value)
|
|
1539
|
+
|
|
1464
1540
|
|
|
1465
1541
|
class ManagedKubernetes(pulumi.CustomResource):
|
|
1466
1542
|
@overload
|
|
@@ -1482,6 +1558,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1482
1558
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1483
1559
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1484
1560
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
1561
|
+
ip_stack: Optional[pulumi.Input[str]] = None,
|
|
1485
1562
|
is_enterprise_security_group: Optional[pulumi.Input[bool]] = None,
|
|
1486
1563
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
1487
1564
|
maintenance_window: Optional[pulumi.Input[Union['ManagedKubernetesMaintenanceWindowArgs', 'ManagedKubernetesMaintenanceWindowArgsDict']]] = None,
|
|
@@ -1505,6 +1582,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1505
1582
|
version: Optional[pulumi.Input[str]] = None,
|
|
1506
1583
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1507
1584
|
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1585
|
+
zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1508
1586
|
__props__=None):
|
|
1509
1587
|
"""
|
|
1510
1588
|
This resource will help you to manage a ManagedKubernetes Cluster in Alibaba Cloud Kubernetes Service.
|
|
@@ -1571,6 +1649,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1571
1649
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1572
1650
|
:param pulumi.Input[bool] enable_rrsa: Whether to enable cluster to support RRSA for kubernetes version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
1573
1651
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
1652
|
+
:param pulumi.Input[str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
1574
1653
|
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. Only works for **Create** Operation. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
1575
1654
|
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balancer instance specification. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation. The spec will not take effect because the charge of the load balancer has been changed to PayByCLCU.
|
|
1576
1655
|
:param pulumi.Input[Union['ManagedKubernetesMaintenanceWindowArgs', 'ManagedKubernetesMaintenanceWindowArgsDict']] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
@@ -1583,16 +1662,19 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1583
1662
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
1584
1663
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
1585
1664
|
:param pulumi.Input[str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
1665
|
+
* > **NOTE:** Please take of note before updating the `security_group_id`:
|
|
1666
|
+
* If block rules are configured in the security group, ensure the security group rules allow traffic for protocols and ports required by the cluster. For recommended security group rules, see [Configure and manage security groups for an ACK cluster](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/user-guide/configure-security-group-rules-to-enforce-access-control-on-ack-clusters).
|
|
1667
|
+
* During security group updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
1668
|
+
* After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
1586
1669
|
:param pulumi.Input[str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
1587
1670
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
1588
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
1589
|
-
|
|
1590
|
-
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
1591
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
1592
|
-
|
|
1593
|
-
*Computed params*
|
|
1671
|
+
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
1594
1672
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
1595
|
-
:param pulumi.Input[str] timezone:
|
|
1673
|
+
:param pulumi.Input[str] timezone: Cluster timezone, works for control plane and Worker nodes.
|
|
1674
|
+
* > **NOTE:** Please take of note before updating the `timezone`:
|
|
1675
|
+
* After modifying the timezone, cluster inspection configurations will adopt the new timezone.
|
|
1676
|
+
* During timezone updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
1677
|
+
* After updating the timezone: Newly scaled-out nodes will automatically apply the new timezone. Existing nodes remain unaffected. Reset the node to apply changes to existing nodes.
|
|
1596
1678
|
:param pulumi.Input[str] user_ca: The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
|
|
1597
1679
|
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK. Do not specify if cluster auto upgrade is enabled, see cluster_auto_upgrade for more information.
|
|
1598
1680
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vSwitches of the control plane.
|
|
@@ -1601,7 +1683,8 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1601
1683
|
* The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
1602
1684
|
* Ensure that all security groups of the cluster, including the security groups of the control plane, all node pools, and container network, are allowed to access the CIDR blocks of the new vSwitches. This ensures that the nodes and containers can connect to the API server.
|
|
1603
1685
|
* If the new vSwitches of the control plane are configured with an ACL, ensure that the ACL allows communication between the new vSwitches and CIDR blocks such as those of the cluster nodes and the container network.
|
|
1604
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The
|
|
1686
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vSwitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vSwitches, which supports modifying control plane vSwitches.
|
|
1687
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: The IDs of the zone in which the cluster control plane is deployed. ACK automatically creates a VPC in the region and vSwitches in the specified zones. Only works for **Create** Operation. Do not specify this with `vswitch_ids` together.
|
|
1605
1688
|
"""
|
|
1606
1689
|
...
|
|
1607
1690
|
@overload
|
|
@@ -1680,6 +1763,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1680
1763
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1681
1764
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1682
1765
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
1766
|
+
ip_stack: Optional[pulumi.Input[str]] = None,
|
|
1683
1767
|
is_enterprise_security_group: Optional[pulumi.Input[bool]] = None,
|
|
1684
1768
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
1685
1769
|
maintenance_window: Optional[pulumi.Input[Union['ManagedKubernetesMaintenanceWindowArgs', 'ManagedKubernetesMaintenanceWindowArgsDict']]] = None,
|
|
@@ -1703,6 +1787,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1703
1787
|
version: Optional[pulumi.Input[str]] = None,
|
|
1704
1788
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1705
1789
|
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1790
|
+
zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1706
1791
|
__props__=None):
|
|
1707
1792
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1708
1793
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1727,6 +1812,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1727
1812
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
1728
1813
|
__props__.__dict__["enable_rrsa"] = enable_rrsa
|
|
1729
1814
|
__props__.__dict__["encryption_provider_key"] = encryption_provider_key
|
|
1815
|
+
__props__.__dict__["ip_stack"] = ip_stack
|
|
1730
1816
|
__props__.__dict__["is_enterprise_security_group"] = is_enterprise_security_group
|
|
1731
1817
|
__props__.__dict__["load_balancer_spec"] = load_balancer_spec
|
|
1732
1818
|
__props__.__dict__["maintenance_window"] = maintenance_window
|
|
@@ -1750,6 +1836,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1750
1836
|
__props__.__dict__["version"] = version
|
|
1751
1837
|
__props__.__dict__["vswitch_ids"] = vswitch_ids
|
|
1752
1838
|
__props__.__dict__["worker_vswitch_ids"] = worker_vswitch_ids
|
|
1839
|
+
__props__.__dict__["zone_ids"] = zone_ids
|
|
1753
1840
|
__props__.__dict__["certificate_authority"] = None
|
|
1754
1841
|
__props__.__dict__["connections"] = None
|
|
1755
1842
|
__props__.__dict__["nat_gateway_id"] = None
|
|
@@ -1786,6 +1873,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1786
1873
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1787
1874
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1788
1875
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
1876
|
+
ip_stack: Optional[pulumi.Input[str]] = None,
|
|
1789
1877
|
is_enterprise_security_group: Optional[pulumi.Input[bool]] = None,
|
|
1790
1878
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
1791
1879
|
maintenance_window: Optional[pulumi.Input[Union['ManagedKubernetesMaintenanceWindowArgs', 'ManagedKubernetesMaintenanceWindowArgsDict']]] = None,
|
|
@@ -1815,7 +1903,8 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1815
1903
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1816
1904
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1817
1905
|
worker_ram_role_name: Optional[pulumi.Input[str]] = None,
|
|
1818
|
-
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
|
1906
|
+
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1907
|
+
zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ManagedKubernetes':
|
|
1819
1908
|
"""
|
|
1820
1909
|
Get an existing ManagedKubernetes resource's state with the given name, id, and optional extra
|
|
1821
1910
|
properties used to qualify the lookup.
|
|
@@ -1847,6 +1936,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1847
1936
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1848
1937
|
:param pulumi.Input[bool] enable_rrsa: Whether to enable cluster to support RRSA for kubernetes version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
1849
1938
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
1939
|
+
:param pulumi.Input[str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
1850
1940
|
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. Only works for **Create** Operation. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
1851
1941
|
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balancer instance specification. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation. The spec will not take effect because the charge of the load balancer has been changed to PayByCLCU.
|
|
1852
1942
|
:param pulumi.Input[Union['ManagedKubernetesMaintenanceWindowArgs', 'ManagedKubernetesMaintenanceWindowArgsDict']] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
@@ -1861,19 +1951,22 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1861
1951
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
1862
1952
|
:param pulumi.Input[Union['ManagedKubernetesRrsaMetadataArgs', 'ManagedKubernetesRrsaMetadataArgsDict']] rrsa_metadata: (Optional, Available since v1.185.0) Nested attribute containing RRSA related data for your cluster.
|
|
1863
1953
|
:param pulumi.Input[str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
1954
|
+
* > **NOTE:** Please take of note before updating the `security_group_id`:
|
|
1955
|
+
* If block rules are configured in the security group, ensure the security group rules allow traffic for protocols and ports required by the cluster. For recommended security group rules, see [Configure and manage security groups for an ACK cluster](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/user-guide/configure-security-group-rules-to-enforce-access-control-on-ack-clusters).
|
|
1956
|
+
* During security group updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
1957
|
+
* After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
1864
1958
|
:param pulumi.Input[str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
1865
1959
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
1866
1960
|
:param pulumi.Input[str] slb_id: The ID of APIServer load balancer.
|
|
1867
1961
|
:param pulumi.Input[str] slb_internet: The public ip of load balancer.
|
|
1868
|
-
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
1869
|
-
|
|
1870
|
-
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
1871
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
1872
|
-
|
|
1873
|
-
*Computed params*
|
|
1962
|
+
:param pulumi.Input[bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
1874
1963
|
:param pulumi.Input[str] slb_intranet: The ID of private load balancer where the current cluster master node is located.
|
|
1875
1964
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
1876
|
-
:param pulumi.Input[str] timezone:
|
|
1965
|
+
:param pulumi.Input[str] timezone: Cluster timezone, works for control plane and Worker nodes.
|
|
1966
|
+
* > **NOTE:** Please take of note before updating the `timezone`:
|
|
1967
|
+
* After modifying the timezone, cluster inspection configurations will adopt the new timezone.
|
|
1968
|
+
* During timezone updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
1969
|
+
* After updating the timezone: Newly scaled-out nodes will automatically apply the new timezone. Existing nodes remain unaffected. Reset the node to apply changes to existing nodes.
|
|
1877
1970
|
:param pulumi.Input[str] user_ca: The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
|
|
1878
1971
|
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK. Do not specify if cluster auto upgrade is enabled, see cluster_auto_upgrade for more information.
|
|
1879
1972
|
:param pulumi.Input[str] vpc_id: The ID of VPC where the current cluster is located.
|
|
@@ -1884,7 +1977,8 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1884
1977
|
* Ensure that all security groups of the cluster, including the security groups of the control plane, all node pools, and container network, are allowed to access the CIDR blocks of the new vSwitches. This ensures that the nodes and containers can connect to the API server.
|
|
1885
1978
|
* If the new vSwitches of the control plane are configured with an ACL, ensure that the ACL allows communication between the new vSwitches and CIDR blocks such as those of the cluster nodes and the container network.
|
|
1886
1979
|
:param pulumi.Input[str] worker_ram_role_name: The RamRole Name attached to worker node.
|
|
1887
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The
|
|
1980
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vSwitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vSwitches, which supports modifying control plane vSwitches.
|
|
1981
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: The IDs of the zone in which the cluster control plane is deployed. ACK automatically creates a VPC in the region and vSwitches in the specified zones. Only works for **Create** Operation. Do not specify this with `vswitch_ids` together.
|
|
1888
1982
|
"""
|
|
1889
1983
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1890
1984
|
|
|
@@ -1907,6 +2001,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1907
2001
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
1908
2002
|
__props__.__dict__["enable_rrsa"] = enable_rrsa
|
|
1909
2003
|
__props__.__dict__["encryption_provider_key"] = encryption_provider_key
|
|
2004
|
+
__props__.__dict__["ip_stack"] = ip_stack
|
|
1910
2005
|
__props__.__dict__["is_enterprise_security_group"] = is_enterprise_security_group
|
|
1911
2006
|
__props__.__dict__["load_balancer_spec"] = load_balancer_spec
|
|
1912
2007
|
__props__.__dict__["maintenance_window"] = maintenance_window
|
|
@@ -1937,6 +2032,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1937
2032
|
__props__.__dict__["vswitch_ids"] = vswitch_ids
|
|
1938
2033
|
__props__.__dict__["worker_ram_role_name"] = worker_ram_role_name
|
|
1939
2034
|
__props__.__dict__["worker_vswitch_ids"] = worker_vswitch_ids
|
|
2035
|
+
__props__.__dict__["zone_ids"] = zone_ids
|
|
1940
2036
|
return ManagedKubernetes(resource_name, opts=opts, __props__=__props__)
|
|
1941
2037
|
|
|
1942
2038
|
@property
|
|
@@ -2082,6 +2178,14 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2082
2178
|
"""
|
|
2083
2179
|
return pulumi.get(self, "encryption_provider_key")
|
|
2084
2180
|
|
|
2181
|
+
@property
|
|
2182
|
+
@pulumi.getter(name="ipStack")
|
|
2183
|
+
def ip_stack(self) -> pulumi.Output[str]:
|
|
2184
|
+
"""
|
|
2185
|
+
The IP address family that the cluster network uses. Valid values:
|
|
2186
|
+
"""
|
|
2187
|
+
return pulumi.get(self, "ip_stack")
|
|
2188
|
+
|
|
2085
2189
|
@property
|
|
2086
2190
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
2087
2191
|
def is_enterprise_security_group(self) -> pulumi.Output[bool]:
|
|
@@ -2202,6 +2306,10 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2202
2306
|
def security_group_id(self) -> pulumi.Output[str]:
|
|
2203
2307
|
"""
|
|
2204
2308
|
The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
2309
|
+
* > **NOTE:** Please take of note before updating the `security_group_id`:
|
|
2310
|
+
* If block rules are configured in the security group, ensure the security group rules allow traffic for protocols and ports required by the cluster. For recommended security group rules, see [Configure and manage security groups for an ACK cluster](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/user-guide/configure-security-group-rules-to-enforce-access-control-on-ack-clusters).
|
|
2311
|
+
* During security group updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
2312
|
+
* After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
2205
2313
|
"""
|
|
2206
2314
|
return pulumi.get(self, "security_group_id")
|
|
2207
2315
|
|
|
@@ -2241,12 +2349,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2241
2349
|
@pulumi.getter(name="slbInternetEnabled")
|
|
2242
2350
|
def slb_internet_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
2243
2351
|
"""
|
|
2244
|
-
Whether to create internet load balancer for API Server. Default to true.
|
|
2245
|
-
|
|
2246
|
-
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
2247
|
-
If you want to use `Flannel` as CNI network plugin, You need to specify the `pod_cidr` field and addons with `flannel`.
|
|
2248
|
-
|
|
2249
|
-
*Computed params*
|
|
2352
|
+
Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
2250
2353
|
"""
|
|
2251
2354
|
return pulumi.get(self, "slb_internet_enabled")
|
|
2252
2355
|
|
|
@@ -2270,7 +2373,11 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2270
2373
|
@pulumi.getter
|
|
2271
2374
|
def timezone(self) -> pulumi.Output[Optional[str]]:
|
|
2272
2375
|
"""
|
|
2273
|
-
|
|
2376
|
+
Cluster timezone, works for control plane and Worker nodes.
|
|
2377
|
+
* > **NOTE:** Please take of note before updating the `timezone`:
|
|
2378
|
+
* After modifying the timezone, cluster inspection configurations will adopt the new timezone.
|
|
2379
|
+
* During timezone updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours.
|
|
2380
|
+
* After updating the timezone: Newly scaled-out nodes will automatically apply the new timezone. Existing nodes remain unaffected. Reset the node to apply changes to existing nodes.
|
|
2274
2381
|
"""
|
|
2275
2382
|
return pulumi.get(self, "timezone")
|
|
2276
2383
|
|
|
@@ -2324,7 +2431,15 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2324
2431
|
@_utilities.deprecated("""Field 'worker_vswitch_ids' has been deprecated from provider version 1.241.0. Please use 'vswitch_ids' to managed control plane vswtiches""")
|
|
2325
2432
|
def worker_vswitch_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
2326
2433
|
"""
|
|
2327
|
-
The
|
|
2434
|
+
The vSwitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vSwitches, which supports modifying control plane vSwitches.
|
|
2328
2435
|
"""
|
|
2329
2436
|
return pulumi.get(self, "worker_vswitch_ids")
|
|
2330
2437
|
|
|
2438
|
+
@property
|
|
2439
|
+
@pulumi.getter(name="zoneIds")
|
|
2440
|
+
def zone_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
2441
|
+
"""
|
|
2442
|
+
The IDs of the zone in which the cluster control plane is deployed. ACK automatically creates a VPC in the region and vSwitches in the specified zones. Only works for **Create** Operation. Do not specify this with `vswitch_ids` together.
|
|
2443
|
+
"""
|
|
2444
|
+
return pulumi.get(self, "zone_ids")
|
|
2445
|
+
|