pulumi-alicloud 3.74.0a1737782319__py3-none-any.whl → 3.75.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 +310 -0
- pulumi_alicloud/_inputs.py +33 -0
- pulumi_alicloud/_utilities.py +8 -4
- pulumi_alicloud/ackone/__init__.py +1 -0
- pulumi_alicloud/ackone/cluster.py +73 -8
- pulumi_alicloud/ackone/membership_attachment.py +223 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +1109 -246
- pulumi_alicloud/alb/get_server_groups.py +55 -25
- pulumi_alicloud/alb/listener.py +269 -174
- pulumi_alicloud/alb/load_balancer.py +211 -118
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
- pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +856 -220
- pulumi_alicloud/alb/server_group.py +661 -96
- 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/apigateway/instance.py +51 -4
- pulumi_alicloud/cen/_inputs.py +34 -0
- pulumi_alicloud/cen/outputs.py +37 -0
- pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
- 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/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/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/config/outputs.py +20 -0
- pulumi_alicloud/cs/_inputs.py +358 -10
- pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/kubernetes.py +15 -15
- pulumi_alicloud/cs/managed_kubernetes.py +47 -35
- pulumi_alicloud/cs/node_pool.py +126 -23
- pulumi_alicloud/cs/outputs.py +271 -7
- pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/dfs/file_system.py +62 -23
- pulumi_alicloud/dfs/mount_point.py +48 -22
- pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
- pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/ebs/replica_group_drill.py +2 -2
- pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
- pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
- pulumi_alicloud/ecs/eip.py +1 -1
- pulumi_alicloud/ecs/eip_address.py +1 -1
- pulumi_alicloud/ecs/instance.py +43 -30
- pulumi_alicloud/eds/command.py +10 -2
- 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/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 +22 -0
- pulumi_alicloud/esa/_inputs.py +512 -0
- pulumi_alicloud/esa/cache_rule.py +1405 -0
- pulumi_alicloud/esa/certificate.py +724 -0
- pulumi_alicloud/esa/client_ca_certificate.py +388 -0
- pulumi_alicloud/esa/client_certificate.py +452 -0
- pulumi_alicloud/esa/compression_rule.py +582 -0
- pulumi_alicloud/esa/get_sites.py +421 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
- pulumi_alicloud/esa/http_response_header_modification_rule.py +560 -0
- pulumi_alicloud/esa/https_application_configuration.py +925 -0
- pulumi_alicloud/esa/https_basic_configuration.py +1027 -0
- pulumi_alicloud/esa/image_transform.py +484 -0
- pulumi_alicloud/esa/kv_namespace.py +276 -0
- pulumi_alicloud/esa/list.py +361 -0
- pulumi_alicloud/esa/network_optimization.py +750 -0
- pulumi_alicloud/esa/origin_pool.py +485 -0
- pulumi_alicloud/esa/origin_rule.py +768 -0
- pulumi_alicloud/esa/outputs.py +473 -0
- pulumi_alicloud/esa/page.py +376 -0
- pulumi_alicloud/esa/rate_plan_instance.py +63 -7
- pulumi_alicloud/esa/record.py +2 -2
- pulumi_alicloud/esa/redirect_rule.py +734 -0
- pulumi_alicloud/esa/rewrite_url_rule.py +702 -0
- pulumi_alicloud/esa/site.py +307 -2
- pulumi_alicloud/esa/waiting_room.py +1257 -0
- pulumi_alicloud/esa/waiting_room_event.py +1392 -0
- pulumi_alicloud/esa/waiting_room_rule.py +504 -0
- pulumi_alicloud/ess/get_scaling_groups.py +64 -10
- pulumi_alicloud/ess/get_scaling_rules.py +74 -10
- pulumi_alicloud/ess/outputs.py +357 -17
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/eventbridge/get_service.py +2 -6
- pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
- pulumi_alicloud/fc/_inputs.py +75 -75
- pulumi_alicloud/fc/outputs.py +50 -50
- pulumi_alicloud/fc/v3_function.py +53 -6
- 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/streaming_data_service.py +2 -2
- pulumi_alicloud/hbr/policy.py +67 -6
- pulumi_alicloud/hbr/vault.py +210 -9
- pulumi_alicloud/kms/__init__.py +1 -0
- pulumi_alicloud/kms/get_instances.py +160 -0
- pulumi_alicloud/kms/get_keys.py +10 -0
- pulumi_alicloud/kms/instance.py +0 -60
- pulumi_alicloud/kms/outputs.py +19 -0
- pulumi_alicloud/maxcompute/__init__.py +5 -0
- pulumi_alicloud/maxcompute/_inputs.py +615 -42
- pulumi_alicloud/maxcompute/outputs.py +486 -28
- pulumi_alicloud/maxcompute/project.py +63 -31
- pulumi_alicloud/maxcompute/quota_plan.py +412 -0
- pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
- pulumi_alicloud/maxcompute/role.py +423 -0
- pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
- pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -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/nlb/_inputs.py +114 -24
- pulumi_alicloud/nlb/listener.py +87 -20
- pulumi_alicloud/nlb/outputs.py +93 -16
- pulumi_alicloud/nlb/server_group.py +55 -20
- pulumi_alicloud/ots/_inputs.py +3 -3
- pulumi_alicloud/ots/outputs.py +2 -2
- 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/privatelink/get_vpc_endpoints.py +21 -1
- pulumi_alicloud/privatelink/outputs.py +11 -0
- pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/access_key.py +20 -4
- pulumi_alicloud/ram/user.py +10 -2
- pulumi_alicloud/rds/instance.py +75 -0
- pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
- pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
- pulumi_alicloud/tag/__init__.py +1 -0
- pulumi_alicloud/tag/associated_rule.py +306 -0
- pulumi_alicloud/tag/policy.py +27 -36
- pulumi_alicloud/vpc/__init__.py +2 -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/get_enhanced_nat_available_zones.py +38 -2
- pulumi_alicloud/vpc/get_forward_entries.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 +49 -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 +49 -9
- pulumi_alicloud/vpc/ipam_service.py +144 -0
- pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
- pulumi_alicloud/vpc/nat_gateway.py +8 -0
- pulumi_alicloud/vpc/outputs.py +12 -2
- pulumi_alicloud/vpc/router_interface_connection.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
- pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +11 -2
- pulumi_alicloud/vpn/get_gateways.py +21 -1
- pulumi_alicloud/vpn/outputs.py +23 -12
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/RECORD +197 -149
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/top_level.txt +0 -0
|
@@ -84,6 +84,7 @@ class GetKubernetesClustersResult:
|
|
|
84
84
|
|
|
85
85
|
@property
|
|
86
86
|
@pulumi.getter(name="kubeConfigFilePrefix")
|
|
87
|
+
@_utilities.deprecated("""Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
|
|
87
88
|
def kube_config_file_prefix(self) -> Optional[str]:
|
|
88
89
|
return pulumi.get(self, "kube_config_file_prefix")
|
|
89
90
|
|
|
@@ -131,7 +132,7 @@ def get_kubernetes_clusters(enable_details: Optional[bool] = None,
|
|
|
131
132
|
"""
|
|
132
133
|
This data source provides a list Container Service Kubernetes Clusters on Alibaba Cloud.
|
|
133
134
|
|
|
134
|
-
> **NOTE:** Available since v1.34.0
|
|
135
|
+
> **NOTE:** Available since v1.34.0.
|
|
135
136
|
|
|
136
137
|
> **NOTE:** From version 1.177.0+, We supported batch export of clusters' kube config information by `kube_config_file_prefix`.
|
|
137
138
|
|
|
@@ -151,7 +152,7 @@ def get_kubernetes_clusters(enable_details: Optional[bool] = None,
|
|
|
151
152
|
|
|
152
153
|
:param bool enable_details: Boolean, false by default, only `id` and `name` are exported. Set to true if more details are needed, e.g., `master_disk_category`, `slb_internet_enabled`, `connections`. See full list in attributes.
|
|
153
154
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
154
|
-
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/k8s`, then it will be named with `~/.kube/k8s-clusterID-kubeconfig`. From version 1.
|
|
155
|
+
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/k8s`, then it will be named with `~/.kube/k8s-clusterID-kubeconfig`. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
155
156
|
:param str name_regex: A regex string to filter results by cluster name.
|
|
156
157
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
157
158
|
"""
|
|
@@ -182,7 +183,7 @@ def get_kubernetes_clusters_output(enable_details: Optional[pulumi.Input[Optiona
|
|
|
182
183
|
"""
|
|
183
184
|
This data source provides a list Container Service Kubernetes Clusters on Alibaba Cloud.
|
|
184
185
|
|
|
185
|
-
> **NOTE:** Available since v1.34.0
|
|
186
|
+
> **NOTE:** Available since v1.34.0.
|
|
186
187
|
|
|
187
188
|
> **NOTE:** From version 1.177.0+, We supported batch export of clusters' kube config information by `kube_config_file_prefix`.
|
|
188
189
|
|
|
@@ -202,7 +203,7 @@ def get_kubernetes_clusters_output(enable_details: Optional[pulumi.Input[Optiona
|
|
|
202
203
|
|
|
203
204
|
:param bool enable_details: Boolean, false by default, only `id` and `name` are exported. Set to true if more details are needed, e.g., `master_disk_category`, `slb_internet_enabled`, `connections`. See full list in attributes.
|
|
204
205
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
205
|
-
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/k8s`, then it will be named with `~/.kube/k8s-clusterID-kubeconfig`. From version 1.
|
|
206
|
+
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/k8s`, then it will be named with `~/.kube/k8s-clusterID-kubeconfig`. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
206
207
|
:param str name_regex: A regex string to filter results by cluster name.
|
|
207
208
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
208
209
|
"""
|
|
@@ -84,6 +84,7 @@ class GetManagedKubernetesClustersResult:
|
|
|
84
84
|
|
|
85
85
|
@property
|
|
86
86
|
@pulumi.getter(name="kubeConfigFilePrefix")
|
|
87
|
+
@_utilities.deprecated("""Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
|
|
87
88
|
def kube_config_file_prefix(self) -> Optional[str]:
|
|
88
89
|
return pulumi.get(self, "kube_config_file_prefix")
|
|
89
90
|
|
|
@@ -131,7 +132,7 @@ def get_managed_kubernetes_clusters(enable_details: Optional[bool] = None,
|
|
|
131
132
|
"""
|
|
132
133
|
This data source provides a list Container Service Managed Kubernetes Clusters on Alibaba Cloud.
|
|
133
134
|
|
|
134
|
-
> **NOTE:** Available
|
|
135
|
+
> **NOTE:** Available since v1.35.0
|
|
135
136
|
|
|
136
137
|
> **NOTE:** From version 1.177.0+, We supported batch export of clusters' kube config information by `kube_config_file_prefix`.
|
|
137
138
|
|
|
@@ -151,7 +152,7 @@ def get_managed_kubernetes_clusters(enable_details: Optional[bool] = None,
|
|
|
151
152
|
|
|
152
153
|
:param bool enable_details: Boolean, false by default, only `id` and `name` are exported. Set to true if more details are needed, e.g., `master_disk_category`, `slb_internet_enabled`, `connections`. See full list in attributes.
|
|
153
154
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
154
|
-
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/managed`, then it will be named with `~/.kube/managed-clusterID-kubeconfig`. From version 1.
|
|
155
|
+
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/managed`, then it will be named with `~/.kube/managed-clusterID-kubeconfig`. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it
|
|
155
156
|
:param str name_regex: A regex string to filter results by cluster name.
|
|
156
157
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
157
158
|
"""
|
|
@@ -182,7 +183,7 @@ def get_managed_kubernetes_clusters_output(enable_details: Optional[pulumi.Input
|
|
|
182
183
|
"""
|
|
183
184
|
This data source provides a list Container Service Managed Kubernetes Clusters on Alibaba Cloud.
|
|
184
185
|
|
|
185
|
-
> **NOTE:** Available
|
|
186
|
+
> **NOTE:** Available since v1.35.0
|
|
186
187
|
|
|
187
188
|
> **NOTE:** From version 1.177.0+, We supported batch export of clusters' kube config information by `kube_config_file_prefix`.
|
|
188
189
|
|
|
@@ -202,7 +203,7 @@ def get_managed_kubernetes_clusters_output(enable_details: Optional[pulumi.Input
|
|
|
202
203
|
|
|
203
204
|
:param bool enable_details: Boolean, false by default, only `id` and `name` are exported. Set to true if more details are needed, e.g., `master_disk_category`, `slb_internet_enabled`, `connections`. See full list in attributes.
|
|
204
205
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
205
|
-
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/managed`, then it will be named with `~/.kube/managed-clusterID-kubeconfig`. From version 1.
|
|
206
|
+
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/managed`, then it will be named with `~/.kube/managed-clusterID-kubeconfig`. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it
|
|
206
207
|
:param str name_regex: A regex string to filter results by cluster name.
|
|
207
208
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
208
209
|
"""
|
|
@@ -84,6 +84,7 @@ class GetServerlessKubernetesClustersResult:
|
|
|
84
84
|
|
|
85
85
|
@property
|
|
86
86
|
@pulumi.getter(name="kubeConfigFilePrefix")
|
|
87
|
+
@_utilities.deprecated("""Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
|
|
87
88
|
def kube_config_file_prefix(self) -> Optional[str]:
|
|
88
89
|
return pulumi.get(self, "kube_config_file_prefix")
|
|
89
90
|
|
|
@@ -131,7 +132,7 @@ def get_serverless_kubernetes_clusters(enable_details: Optional[bool] = None,
|
|
|
131
132
|
"""
|
|
132
133
|
This data source provides a list Container Service Serverless Kubernetes Clusters on Alibaba Cloud.
|
|
133
134
|
|
|
134
|
-
> **NOTE:** Available
|
|
135
|
+
> **NOTE:** Available since 1.58.0
|
|
135
136
|
|
|
136
137
|
> **NOTE:** From version 1.177.0+, We supported batch export of clusters' kube config information by `kube_config_file_prefix`.
|
|
137
138
|
|
|
@@ -151,7 +152,7 @@ def get_serverless_kubernetes_clusters(enable_details: Optional[bool] = None,
|
|
|
151
152
|
|
|
152
153
|
:param bool enable_details: Boolean, false by default, only `id` and `name` are exported. Set to true if more details are needed, e.g., `deletion_protection`, `connections`. See full list in attributes.
|
|
153
154
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
154
|
-
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/serverless`, then it will be named with `~/.kube/serverless-clusterID-kubeconfig`. From version 1.
|
|
155
|
+
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/serverless`, then it will be named with `~/.kube/serverless-clusterID-kubeconfig`. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it
|
|
155
156
|
:param str name_regex: A regex string to filter results by cluster name.
|
|
156
157
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
157
158
|
"""
|
|
@@ -182,7 +183,7 @@ def get_serverless_kubernetes_clusters_output(enable_details: Optional[pulumi.In
|
|
|
182
183
|
"""
|
|
183
184
|
This data source provides a list Container Service Serverless Kubernetes Clusters on Alibaba Cloud.
|
|
184
185
|
|
|
185
|
-
> **NOTE:** Available
|
|
186
|
+
> **NOTE:** Available since 1.58.0
|
|
186
187
|
|
|
187
188
|
> **NOTE:** From version 1.177.0+, We supported batch export of clusters' kube config information by `kube_config_file_prefix`.
|
|
188
189
|
|
|
@@ -202,7 +203,7 @@ def get_serverless_kubernetes_clusters_output(enable_details: Optional[pulumi.In
|
|
|
202
203
|
|
|
203
204
|
:param bool enable_details: Boolean, false by default, only `id` and `name` are exported. Set to true if more details are needed, e.g., `deletion_protection`, `connections`. See full list in attributes.
|
|
204
205
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
205
|
-
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/serverless`, then it will be named with `~/.kube/serverless-clusterID-kubeconfig`. From version 1.
|
|
206
|
+
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/serverless`, then it will be named with `~/.kube/serverless-clusterID-kubeconfig`. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it
|
|
206
207
|
:param str name_regex: A regex string to filter results by cluster name.
|
|
207
208
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
208
209
|
"""
|
pulumi_alicloud/cs/kubernetes.py
CHANGED
|
@@ -96,7 +96,7 @@ class KubernetesArgs:
|
|
|
96
96
|
:param pulumi.Input[str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
97
97
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
98
98
|
: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 a cs kubernetes 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.
|
|
99
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load
|
|
99
|
+
: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.
|
|
100
100
|
:param pulumi.Input[bool] master_auto_renew: Enable master payment auto-renew, defaults to false.
|
|
101
101
|
:param pulumi.Input[int] master_auto_renew_period: Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
|
|
102
102
|
:param pulumi.Input[str] master_disk_category: The system disk category of master node. Its valid value are `cloud_ssd`, `cloud_essd` and `cloud_efficiency`. Default to `cloud_efficiency`.
|
|
@@ -170,8 +170,8 @@ class KubernetesArgs:
|
|
|
170
170
|
if kms_encryption_context is not None:
|
|
171
171
|
pulumi.set(__self__, "kms_encryption_context", kms_encryption_context)
|
|
172
172
|
if load_balancer_spec is not None:
|
|
173
|
-
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
174
|
-
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
173
|
+
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The spec will not take effect because the charge of the load balancer has been changed to PayByCLCU""", DeprecationWarning)
|
|
174
|
+
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The spec will not take effect because the charge of the load balancer has been changed to PayByCLCU""")
|
|
175
175
|
if load_balancer_spec is not None:
|
|
176
176
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
177
177
|
if master_auto_renew is not None:
|
|
@@ -464,10 +464,10 @@ class KubernetesArgs:
|
|
|
464
464
|
|
|
465
465
|
@property
|
|
466
466
|
@pulumi.getter(name="loadBalancerSpec")
|
|
467
|
-
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
467
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The spec will not take effect because the charge of the load balancer has been changed to PayByCLCU""")
|
|
468
468
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
469
469
|
"""
|
|
470
|
-
The cluster api server load
|
|
470
|
+
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.
|
|
471
471
|
"""
|
|
472
472
|
return pulumi.get(self, "load_balancer_spec")
|
|
473
473
|
|
|
@@ -949,7 +949,7 @@ class _KubernetesState:
|
|
|
949
949
|
:param pulumi.Input[str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
950
950
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
951
951
|
: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 a cs kubernetes 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.
|
|
952
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load
|
|
952
|
+
: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.
|
|
953
953
|
:param pulumi.Input[bool] master_auto_renew: Enable master payment auto-renew, defaults to false.
|
|
954
954
|
:param pulumi.Input[int] master_auto_renew_period: Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
|
|
955
955
|
:param pulumi.Input[str] master_disk_category: The system disk category of master node. Its valid value are `cloud_ssd`, `cloud_essd` and `cloud_efficiency`. Default to `cloud_efficiency`.
|
|
@@ -1034,8 +1034,8 @@ class _KubernetesState:
|
|
|
1034
1034
|
if kms_encryption_context is not None:
|
|
1035
1035
|
pulumi.set(__self__, "kms_encryption_context", kms_encryption_context)
|
|
1036
1036
|
if load_balancer_spec is not None:
|
|
1037
|
-
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
1038
|
-
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
1037
|
+
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The spec will not take effect because the charge of the load balancer has been changed to PayByCLCU""", DeprecationWarning)
|
|
1038
|
+
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The spec will not take effect because the charge of the load balancer has been changed to PayByCLCU""")
|
|
1039
1039
|
if load_balancer_spec is not None:
|
|
1040
1040
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
1041
1041
|
if master_auto_renew is not None:
|
|
@@ -1346,10 +1346,10 @@ class _KubernetesState:
|
|
|
1346
1346
|
|
|
1347
1347
|
@property
|
|
1348
1348
|
@pulumi.getter(name="loadBalancerSpec")
|
|
1349
|
-
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
1349
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The spec will not take effect because the charge of the load balancer has been changed to PayByCLCU""")
|
|
1350
1350
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
1351
1351
|
"""
|
|
1352
|
-
The cluster api server load
|
|
1352
|
+
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.
|
|
1353
1353
|
"""
|
|
1354
1354
|
return pulumi.get(self, "load_balancer_spec")
|
|
1355
1355
|
|
|
@@ -1976,7 +1976,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
1976
1976
|
:param pulumi.Input[str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
1977
1977
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
1978
1978
|
: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 a cs kubernetes 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.
|
|
1979
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load
|
|
1979
|
+
: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.
|
|
1980
1980
|
:param pulumi.Input[bool] master_auto_renew: Enable master payment auto-renew, defaults to false.
|
|
1981
1981
|
:param pulumi.Input[int] master_auto_renew_period: Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
|
|
1982
1982
|
:param pulumi.Input[str] master_disk_category: The system disk category of master node. Its valid value are `cloud_ssd`, `cloud_essd` and `cloud_efficiency`. Default to `cloud_efficiency`.
|
|
@@ -2308,7 +2308,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2308
2308
|
:param pulumi.Input[str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
2309
2309
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
2310
2310
|
: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 a cs kubernetes 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.
|
|
2311
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load
|
|
2311
|
+
: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.
|
|
2312
2312
|
:param pulumi.Input[bool] master_auto_renew: Enable master payment auto-renew, defaults to false.
|
|
2313
2313
|
:param pulumi.Input[int] master_auto_renew_period: Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
|
|
2314
2314
|
:param pulumi.Input[str] master_disk_category: The system disk category of master node. Its valid value are `cloud_ssd`, `cloud_essd` and `cloud_efficiency`. Default to `cloud_efficiency`.
|
|
@@ -2572,10 +2572,10 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2572
2572
|
|
|
2573
2573
|
@property
|
|
2574
2574
|
@pulumi.getter(name="loadBalancerSpec")
|
|
2575
|
-
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
2576
|
-
def load_balancer_spec(self) -> pulumi.Output[
|
|
2575
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The spec will not take effect because the charge of the load balancer has been changed to PayByCLCU""")
|
|
2576
|
+
def load_balancer_spec(self) -> pulumi.Output[str]:
|
|
2577
2577
|
"""
|
|
2578
|
-
The cluster api server load
|
|
2578
|
+
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.
|
|
2579
2579
|
"""
|
|
2580
2580
|
return pulumi.get(self, "load_balancer_spec")
|
|
2581
2581
|
|
|
@@ -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,
|
|
@@ -83,6 +84,7 @@ class ManagedKubernetesArgs:
|
|
|
83
84
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
84
85
|
: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
86
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
87
|
+
:param pulumi.Input[str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
86
88
|
: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
89
|
: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
90
|
: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.
|
|
@@ -98,11 +100,6 @@ class ManagedKubernetesArgs:
|
|
|
98
100
|
: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
101
|
: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
102
|
: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*
|
|
106
103
|
: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
104
|
:param pulumi.Input[str] timezone: When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
|
|
108
105
|
: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.
|
|
@@ -145,6 +142,8 @@ class ManagedKubernetesArgs:
|
|
|
145
142
|
pulumi.set(__self__, "enable_rrsa", enable_rrsa)
|
|
146
143
|
if encryption_provider_key is not None:
|
|
147
144
|
pulumi.set(__self__, "encryption_provider_key", encryption_provider_key)
|
|
145
|
+
if ip_stack is not None:
|
|
146
|
+
pulumi.set(__self__, "ip_stack", ip_stack)
|
|
148
147
|
if is_enterprise_security_group is not None:
|
|
149
148
|
pulumi.set(__self__, "is_enterprise_security_group", is_enterprise_security_group)
|
|
150
149
|
if load_balancer_spec is not None:
|
|
@@ -385,6 +384,18 @@ class ManagedKubernetesArgs:
|
|
|
385
384
|
def encryption_provider_key(self, value: Optional[pulumi.Input[str]]):
|
|
386
385
|
pulumi.set(self, "encryption_provider_key", value)
|
|
387
386
|
|
|
387
|
+
@property
|
|
388
|
+
@pulumi.getter(name="ipStack")
|
|
389
|
+
def ip_stack(self) -> Optional[pulumi.Input[str]]:
|
|
390
|
+
"""
|
|
391
|
+
The IP address family that the cluster network uses. Valid values:
|
|
392
|
+
"""
|
|
393
|
+
return pulumi.get(self, "ip_stack")
|
|
394
|
+
|
|
395
|
+
@ip_stack.setter
|
|
396
|
+
def ip_stack(self, value: Optional[pulumi.Input[str]]):
|
|
397
|
+
pulumi.set(self, "ip_stack", value)
|
|
398
|
+
|
|
388
399
|
@property
|
|
389
400
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
390
401
|
def is_enterprise_security_group(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -577,11 +588,6 @@ class ManagedKubernetesArgs:
|
|
|
577
588
|
def slb_internet_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
578
589
|
"""
|
|
579
590
|
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*
|
|
585
591
|
"""
|
|
586
592
|
return pulumi.get(self, "slb_internet_enabled")
|
|
587
593
|
|
|
@@ -688,6 +694,7 @@ class _ManagedKubernetesState:
|
|
|
688
694
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
689
695
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
690
696
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
697
|
+
ip_stack: Optional[pulumi.Input[str]] = None,
|
|
691
698
|
is_enterprise_security_group: Optional[pulumi.Input[bool]] = None,
|
|
692
699
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
693
700
|
maintenance_window: Optional[pulumi.Input['ManagedKubernetesMaintenanceWindowArgs']] = None,
|
|
@@ -744,6 +751,7 @@ class _ManagedKubernetesState:
|
|
|
744
751
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
745
752
|
: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
753
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
754
|
+
:param pulumi.Input[str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
747
755
|
: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
756
|
: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
757
|
: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.
|
|
@@ -763,11 +771,6 @@ class _ManagedKubernetesState:
|
|
|
763
771
|
:param pulumi.Input[str] slb_id: The ID of APIServer load balancer.
|
|
764
772
|
:param pulumi.Input[str] slb_internet: The public ip of load balancer.
|
|
765
773
|
: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*
|
|
771
774
|
:param pulumi.Input[str] slb_intranet: The ID of private load balancer where the current cluster master node is located.
|
|
772
775
|
: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
776
|
:param pulumi.Input[str] timezone: When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
|
|
@@ -817,6 +820,8 @@ class _ManagedKubernetesState:
|
|
|
817
820
|
pulumi.set(__self__, "enable_rrsa", enable_rrsa)
|
|
818
821
|
if encryption_provider_key is not None:
|
|
819
822
|
pulumi.set(__self__, "encryption_provider_key", encryption_provider_key)
|
|
823
|
+
if ip_stack is not None:
|
|
824
|
+
pulumi.set(__self__, "ip_stack", ip_stack)
|
|
820
825
|
if is_enterprise_security_group is not None:
|
|
821
826
|
pulumi.set(__self__, "is_enterprise_security_group", is_enterprise_security_group)
|
|
822
827
|
if load_balancer_spec is not None:
|
|
@@ -1095,6 +1100,18 @@ class _ManagedKubernetesState:
|
|
|
1095
1100
|
def encryption_provider_key(self, value: Optional[pulumi.Input[str]]):
|
|
1096
1101
|
pulumi.set(self, "encryption_provider_key", value)
|
|
1097
1102
|
|
|
1103
|
+
@property
|
|
1104
|
+
@pulumi.getter(name="ipStack")
|
|
1105
|
+
def ip_stack(self) -> Optional[pulumi.Input[str]]:
|
|
1106
|
+
"""
|
|
1107
|
+
The IP address family that the cluster network uses. Valid values:
|
|
1108
|
+
"""
|
|
1109
|
+
return pulumi.get(self, "ip_stack")
|
|
1110
|
+
|
|
1111
|
+
@ip_stack.setter
|
|
1112
|
+
def ip_stack(self, value: Optional[pulumi.Input[str]]):
|
|
1113
|
+
pulumi.set(self, "ip_stack", value)
|
|
1114
|
+
|
|
1098
1115
|
@property
|
|
1099
1116
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
1100
1117
|
def is_enterprise_security_group(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -1335,11 +1352,6 @@ class _ManagedKubernetesState:
|
|
|
1335
1352
|
def slb_internet_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1336
1353
|
"""
|
|
1337
1354
|
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*
|
|
1343
1355
|
"""
|
|
1344
1356
|
return pulumi.get(self, "slb_internet_enabled")
|
|
1345
1357
|
|
|
@@ -1482,6 +1494,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1482
1494
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1483
1495
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1484
1496
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
1497
|
+
ip_stack: Optional[pulumi.Input[str]] = None,
|
|
1485
1498
|
is_enterprise_security_group: Optional[pulumi.Input[bool]] = None,
|
|
1486
1499
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
1487
1500
|
maintenance_window: Optional[pulumi.Input[Union['ManagedKubernetesMaintenanceWindowArgs', 'ManagedKubernetesMaintenanceWindowArgsDict']]] = None,
|
|
@@ -1571,6 +1584,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1571
1584
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1572
1585
|
: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
1586
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
1587
|
+
:param pulumi.Input[str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
1574
1588
|
: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
1589
|
: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
1590
|
: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.
|
|
@@ -1586,11 +1600,6 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1586
1600
|
: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
1601
|
: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
1602
|
: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*
|
|
1594
1603
|
: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
1604
|
:param pulumi.Input[str] timezone: When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
|
|
1596
1605
|
: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.
|
|
@@ -1680,6 +1689,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1680
1689
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1681
1690
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1682
1691
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
1692
|
+
ip_stack: Optional[pulumi.Input[str]] = None,
|
|
1683
1693
|
is_enterprise_security_group: Optional[pulumi.Input[bool]] = None,
|
|
1684
1694
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
1685
1695
|
maintenance_window: Optional[pulumi.Input[Union['ManagedKubernetesMaintenanceWindowArgs', 'ManagedKubernetesMaintenanceWindowArgsDict']]] = None,
|
|
@@ -1727,6 +1737,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1727
1737
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
1728
1738
|
__props__.__dict__["enable_rrsa"] = enable_rrsa
|
|
1729
1739
|
__props__.__dict__["encryption_provider_key"] = encryption_provider_key
|
|
1740
|
+
__props__.__dict__["ip_stack"] = ip_stack
|
|
1730
1741
|
__props__.__dict__["is_enterprise_security_group"] = is_enterprise_security_group
|
|
1731
1742
|
__props__.__dict__["load_balancer_spec"] = load_balancer_spec
|
|
1732
1743
|
__props__.__dict__["maintenance_window"] = maintenance_window
|
|
@@ -1786,6 +1797,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1786
1797
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1787
1798
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1788
1799
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
1800
|
+
ip_stack: Optional[pulumi.Input[str]] = None,
|
|
1789
1801
|
is_enterprise_security_group: Optional[pulumi.Input[bool]] = None,
|
|
1790
1802
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
1791
1803
|
maintenance_window: Optional[pulumi.Input[Union['ManagedKubernetesMaintenanceWindowArgs', 'ManagedKubernetesMaintenanceWindowArgsDict']]] = None,
|
|
@@ -1847,6 +1859,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1847
1859
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1848
1860
|
: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
1861
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
1862
|
+
:param pulumi.Input[str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
1850
1863
|
: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
1864
|
: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
1865
|
: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.
|
|
@@ -1866,11 +1879,6 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1866
1879
|
:param pulumi.Input[str] slb_id: The ID of APIServer load balancer.
|
|
1867
1880
|
:param pulumi.Input[str] slb_internet: The public ip of load balancer.
|
|
1868
1881
|
: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*
|
|
1874
1882
|
:param pulumi.Input[str] slb_intranet: The ID of private load balancer where the current cluster master node is located.
|
|
1875
1883
|
: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
1884
|
:param pulumi.Input[str] timezone: When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
|
|
@@ -1907,6 +1915,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1907
1915
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
1908
1916
|
__props__.__dict__["enable_rrsa"] = enable_rrsa
|
|
1909
1917
|
__props__.__dict__["encryption_provider_key"] = encryption_provider_key
|
|
1918
|
+
__props__.__dict__["ip_stack"] = ip_stack
|
|
1910
1919
|
__props__.__dict__["is_enterprise_security_group"] = is_enterprise_security_group
|
|
1911
1920
|
__props__.__dict__["load_balancer_spec"] = load_balancer_spec
|
|
1912
1921
|
__props__.__dict__["maintenance_window"] = maintenance_window
|
|
@@ -2082,6 +2091,14 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2082
2091
|
"""
|
|
2083
2092
|
return pulumi.get(self, "encryption_provider_key")
|
|
2084
2093
|
|
|
2094
|
+
@property
|
|
2095
|
+
@pulumi.getter(name="ipStack")
|
|
2096
|
+
def ip_stack(self) -> pulumi.Output[str]:
|
|
2097
|
+
"""
|
|
2098
|
+
The IP address family that the cluster network uses. Valid values:
|
|
2099
|
+
"""
|
|
2100
|
+
return pulumi.get(self, "ip_stack")
|
|
2101
|
+
|
|
2085
2102
|
@property
|
|
2086
2103
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
2087
2104
|
def is_enterprise_security_group(self) -> pulumi.Output[bool]:
|
|
@@ -2242,11 +2259,6 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2242
2259
|
def slb_internet_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
2243
2260
|
"""
|
|
2244
2261
|
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*
|
|
2250
2262
|
"""
|
|
2251
2263
|
return pulumi.get(self, "slb_internet_enabled")
|
|
2252
2264
|
|