pulumi-alicloud 3.73.0a1736850863__py3-none-any.whl → 3.73.0a1736949061__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 +59 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +6 -6
- pulumi_alicloud/alb/a_script.py +116 -98
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +4 -4
- pulumi_alicloud/alikafka/instance.py +188 -70
- pulumi_alicloud/amqp/instance.py +77 -28
- pulumi_alicloud/bastionhost/_inputs.py +40 -38
- pulumi_alicloud/bastionhost/get_instances.py +6 -22
- pulumi_alicloud/bastionhost/outputs.py +60 -49
- pulumi_alicloud/cen/instance_grant.py +4 -0
- pulumi_alicloud/cloudcontrol/__init__.py +12 -0
- pulumi_alicloud/cloudcontrol/get_prices.py +199 -0
- pulumi_alicloud/cloudcontrol/get_products.py +187 -0
- pulumi_alicloud/cloudcontrol/get_resource_types.py +178 -0
- pulumi_alicloud/cloudcontrol/outputs.py +688 -0
- pulumi_alicloud/cloudcontrol/resource.py +407 -0
- pulumi_alicloud/cms/_inputs.py +21 -15
- pulumi_alicloud/cms/alarm.py +7 -7
- pulumi_alicloud/cms/outputs.py +14 -10
- pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +4 -2
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +2 -0
- pulumi_alicloud/cs/kubernetes.py +14 -14
- pulumi_alicloud/cs/managed_kubernetes.py +137 -47
- pulumi_alicloud/dataworks/__init__.py +4 -0
- pulumi_alicloud/dataworks/_inputs.py +1534 -0
- pulumi_alicloud/dataworks/di_alarm_rule.py +708 -0
- pulumi_alicloud/dataworks/di_job.py +1005 -0
- pulumi_alicloud/dataworks/dw_resource_group.py +703 -0
- pulumi_alicloud/dataworks/network.py +331 -0
- pulumi_alicloud/dataworks/outputs.py +1247 -0
- pulumi_alicloud/dcdn/waf_rule.py +14 -14
- pulumi_alicloud/dns/get_alidns_domains.py +7 -2
- pulumi_alicloud/dns/outputs.py +8 -0
- pulumi_alicloud/ecs/ecs_launch_template.py +122 -0
- pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
- pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/launch_template.py +88 -0
- pulumi_alicloud/fc/custom_domain.py +2 -2
- pulumi_alicloud/fc/function.py +32 -4
- pulumi_alicloud/fc/v2_function.py +20 -0
- pulumi_alicloud/hbr/__init__.py +1 -0
- pulumi_alicloud/hbr/cross_account.py +338 -0
- pulumi_alicloud/ims/oidc_provider.py +28 -0
- pulumi_alicloud/log/resource_record.py +42 -26
- pulumi_alicloud/message/service_queue.py +106 -59
- pulumi_alicloud/message/service_topic.py +182 -37
- pulumi_alicloud/mongodb/account.py +138 -163
- pulumi_alicloud/oos/secret_parameter.py +84 -9
- pulumi_alicloud/oss/bucket.py +1 -1
- pulumi_alicloud/oss/bucket_policy.py +2 -4
- pulumi_alicloud/oss/bucket_referer.py +2 -4
- pulumi_alicloud/oss/get_buckets.py +16 -2
- pulumi_alicloud/oss/outputs.py +18 -17
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/sae/application.py +84 -7
- pulumi_alicloud/sls/collection_policy.py +2 -2
- pulumi_alicloud/vpc/__init__.py +5 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +295 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +196 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +353 -0
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +333 -0
- pulumi_alicloud/vpc/get_ipam_ipams.py +291 -0
- pulumi_alicloud/vpc/get_networks.py +3 -0
- pulumi_alicloud/vpc/nat_gateway.py +145 -7
- pulumi_alicloud/vpc/outputs.py +777 -0
- pulumi_alicloud/vpc/snat_entry.py +107 -48
- pulumi_alicloud/vpn/_inputs.py +96 -72
- pulumi_alicloud/vpn/connection.py +24 -28
- pulumi_alicloud/vpn/outputs.py +64 -48
- pulumi_alicloud/yundun/_inputs.py +26 -24
- pulumi_alicloud/yundun/outputs.py +37 -22
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.73.0a1736949061.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.73.0a1736949061.dist-info}/RECORD +78 -61
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.73.0a1736949061.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.73.0a1736949061.dist-info}/top_level.txt +0 -0
|
@@ -21,7 +21,6 @@ __all__ = ['ManagedKubernetesArgs', 'ManagedKubernetes']
|
|
|
21
21
|
@pulumi.input_type
|
|
22
22
|
class ManagedKubernetesArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
|
-
worker_vswitch_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
25
24
|
addons: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]]] = None,
|
|
26
25
|
api_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
27
26
|
client_cert: Optional[pulumi.Input[str]] = None,
|
|
@@ -57,10 +56,11 @@ class ManagedKubernetesArgs:
|
|
|
57
56
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
58
57
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
59
58
|
user_ca: Optional[pulumi.Input[str]] = None,
|
|
60
|
-
version: Optional[pulumi.Input[str]] = None
|
|
59
|
+
version: Optional[pulumi.Input[str]] = None,
|
|
60
|
+
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
61
|
+
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
61
62
|
"""
|
|
62
63
|
The set of arguments for constructing a ManagedKubernetes resource.
|
|
63
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vswitches used by control plane. See `worker_vswitch_ids` below.
|
|
64
64
|
: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.
|
|
65
65
|
|
|
66
66
|
*Network params*
|
|
@@ -84,14 +84,14 @@ class ManagedKubernetesArgs:
|
|
|
84
84
|
: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
85
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
86
86
|
: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
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load
|
|
87
|
+
: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
88
|
: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.
|
|
89
89
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
90
90
|
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Only works for **Create** Operation.
|
|
91
91
|
:param pulumi.Input[int] node_cidr_mask: The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
|
|
92
92
|
:param pulumi.Input['ManagedKubernetesOperationPolicyArgs'] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
|
|
93
93
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
94
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `
|
|
94
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
95
95
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
96
96
|
: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
97
|
: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.
|
|
@@ -107,8 +107,14 @@ class ManagedKubernetesArgs:
|
|
|
107
107
|
: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
108
|
: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
109
|
: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
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vSwitches of the control plane.
|
|
111
|
+
> **NOTE:** Please take of note before updating the `vswitch_ids`:
|
|
112
|
+
* This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
113
|
+
* The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
114
|
+
* 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
|
+
* 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 vswitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vswtiches, which supports modifying control plane vswtiches.
|
|
110
117
|
"""
|
|
111
|
-
pulumi.set(__self__, "worker_vswitch_ids", worker_vswitch_ids)
|
|
112
118
|
if addons is not None:
|
|
113
119
|
pulumi.set(__self__, "addons", addons)
|
|
114
120
|
if api_audiences is not None:
|
|
@@ -142,8 +148,8 @@ class ManagedKubernetesArgs:
|
|
|
142
148
|
if is_enterprise_security_group is not None:
|
|
143
149
|
pulumi.set(__self__, "is_enterprise_security_group", is_enterprise_security_group)
|
|
144
150
|
if load_balancer_spec is not None:
|
|
145
|
-
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
146
|
-
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
151
|
+
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)
|
|
152
|
+
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""")
|
|
147
153
|
if load_balancer_spec is not None:
|
|
148
154
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
149
155
|
if maintenance_window is not None:
|
|
@@ -184,18 +190,13 @@ class ManagedKubernetesArgs:
|
|
|
184
190
|
pulumi.set(__self__, "user_ca", user_ca)
|
|
185
191
|
if version is not None:
|
|
186
192
|
pulumi.set(__self__, "version", version)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
return pulumi.get(self, "worker_vswitch_ids")
|
|
195
|
-
|
|
196
|
-
@worker_vswitch_ids.setter
|
|
197
|
-
def worker_vswitch_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
198
|
-
pulumi.set(self, "worker_vswitch_ids", value)
|
|
193
|
+
if vswitch_ids is not None:
|
|
194
|
+
pulumi.set(__self__, "vswitch_ids", vswitch_ids)
|
|
195
|
+
if worker_vswitch_ids is not None:
|
|
196
|
+
warnings.warn("""Field 'worker_vswitch_ids' has been deprecated from provider version 1.241.0. Please use 'vswitch_ids' to managed control plane vswtiches""", DeprecationWarning)
|
|
197
|
+
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
|
+
if worker_vswitch_ids is not None:
|
|
199
|
+
pulumi.set(__self__, "worker_vswitch_ids", worker_vswitch_ids)
|
|
199
200
|
|
|
200
201
|
@property
|
|
201
202
|
@pulumi.getter
|
|
@@ -398,10 +399,10 @@ class ManagedKubernetesArgs:
|
|
|
398
399
|
|
|
399
400
|
@property
|
|
400
401
|
@pulumi.getter(name="loadBalancerSpec")
|
|
401
|
-
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
402
|
+
@_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""")
|
|
402
403
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
403
404
|
"""
|
|
404
|
-
The cluster api server load
|
|
405
|
+
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.
|
|
405
406
|
"""
|
|
406
407
|
return pulumi.get(self, "load_balancer_spec")
|
|
407
408
|
|
|
@@ -494,7 +495,7 @@ class ManagedKubernetesArgs:
|
|
|
494
495
|
@pulumi.getter(name="podVswitchIds")
|
|
495
496
|
def pod_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
496
497
|
"""
|
|
497
|
-
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `
|
|
498
|
+
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
498
499
|
"""
|
|
499
500
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
500
501
|
|
|
@@ -636,6 +637,36 @@ class ManagedKubernetesArgs:
|
|
|
636
637
|
def version(self, value: Optional[pulumi.Input[str]]):
|
|
637
638
|
pulumi.set(self, "version", value)
|
|
638
639
|
|
|
640
|
+
@property
|
|
641
|
+
@pulumi.getter(name="vswitchIds")
|
|
642
|
+
def vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
643
|
+
"""
|
|
644
|
+
The vSwitches of the control plane.
|
|
645
|
+
> **NOTE:** Please take of note before updating the `vswitch_ids`:
|
|
646
|
+
* This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
647
|
+
* The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
648
|
+
* 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.
|
|
649
|
+
* 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.
|
|
650
|
+
"""
|
|
651
|
+
return pulumi.get(self, "vswitch_ids")
|
|
652
|
+
|
|
653
|
+
@vswitch_ids.setter
|
|
654
|
+
def vswitch_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
655
|
+
pulumi.set(self, "vswitch_ids", value)
|
|
656
|
+
|
|
657
|
+
@property
|
|
658
|
+
@pulumi.getter(name="workerVswitchIds")
|
|
659
|
+
@_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
|
+
def worker_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
661
|
+
"""
|
|
662
|
+
The vswitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vswtiches, which supports modifying control plane vswtiches.
|
|
663
|
+
"""
|
|
664
|
+
return pulumi.get(self, "worker_vswitch_ids")
|
|
665
|
+
|
|
666
|
+
@worker_vswitch_ids.setter
|
|
667
|
+
def worker_vswitch_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
668
|
+
pulumi.set(self, "worker_vswitch_ids", value)
|
|
669
|
+
|
|
639
670
|
|
|
640
671
|
@pulumi.input_type
|
|
641
672
|
class _ManagedKubernetesState:
|
|
@@ -684,6 +715,7 @@ class _ManagedKubernetesState:
|
|
|
684
715
|
user_ca: Optional[pulumi.Input[str]] = None,
|
|
685
716
|
version: Optional[pulumi.Input[str]] = None,
|
|
686
717
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
718
|
+
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
687
719
|
worker_ram_role_name: Optional[pulumi.Input[str]] = None,
|
|
688
720
|
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
689
721
|
"""
|
|
@@ -713,7 +745,7 @@ class _ManagedKubernetesState:
|
|
|
713
745
|
: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).
|
|
714
746
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
715
747
|
: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).
|
|
716
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load
|
|
748
|
+
: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.
|
|
717
749
|
: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.
|
|
718
750
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
719
751
|
:param pulumi.Input[str] nat_gateway_id: The ID of nat gateway used to launch kubernetes cluster.
|
|
@@ -721,7 +753,7 @@ class _ManagedKubernetesState:
|
|
|
721
753
|
:param pulumi.Input[int] node_cidr_mask: The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
|
|
722
754
|
:param pulumi.Input['ManagedKubernetesOperationPolicyArgs'] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
|
|
723
755
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
724
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `
|
|
756
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
725
757
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
726
758
|
: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.
|
|
727
759
|
:param pulumi.Input['ManagedKubernetesRrsaMetadataArgs'] rrsa_metadata: (Optional, Available since v1.185.0) Nested attribute containing RRSA related data for your cluster.
|
|
@@ -742,8 +774,14 @@ class _ManagedKubernetesState:
|
|
|
742
774
|
: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.
|
|
743
775
|
: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.
|
|
744
776
|
:param pulumi.Input[str] vpc_id: The ID of VPC where the current cluster is located.
|
|
777
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vSwitches of the control plane.
|
|
778
|
+
> **NOTE:** Please take of note before updating the `vswitch_ids`:
|
|
779
|
+
* This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
780
|
+
* The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
781
|
+
* 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
|
+
* 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.
|
|
745
783
|
:param pulumi.Input[str] worker_ram_role_name: The RamRole Name attached to worker node.
|
|
746
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vswitches used by control plane.
|
|
784
|
+
: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 vswtiches, which supports modifying control plane vswtiches.
|
|
747
785
|
"""
|
|
748
786
|
if addons is not None:
|
|
749
787
|
pulumi.set(__self__, "addons", addons)
|
|
@@ -782,8 +820,8 @@ class _ManagedKubernetesState:
|
|
|
782
820
|
if is_enterprise_security_group is not None:
|
|
783
821
|
pulumi.set(__self__, "is_enterprise_security_group", is_enterprise_security_group)
|
|
784
822
|
if load_balancer_spec is not None:
|
|
785
|
-
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
786
|
-
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
823
|
+
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)
|
|
824
|
+
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""")
|
|
787
825
|
if load_balancer_spec is not None:
|
|
788
826
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
789
827
|
if maintenance_window is not None:
|
|
@@ -836,8 +874,13 @@ class _ManagedKubernetesState:
|
|
|
836
874
|
pulumi.set(__self__, "version", version)
|
|
837
875
|
if vpc_id is not None:
|
|
838
876
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
877
|
+
if vswitch_ids is not None:
|
|
878
|
+
pulumi.set(__self__, "vswitch_ids", vswitch_ids)
|
|
839
879
|
if worker_ram_role_name is not None:
|
|
840
880
|
pulumi.set(__self__, "worker_ram_role_name", worker_ram_role_name)
|
|
881
|
+
if worker_vswitch_ids is not None:
|
|
882
|
+
warnings.warn("""Field 'worker_vswitch_ids' has been deprecated from provider version 1.241.0. Please use 'vswitch_ids' to managed control plane vswtiches""", DeprecationWarning)
|
|
883
|
+
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""")
|
|
841
884
|
if worker_vswitch_ids is not None:
|
|
842
885
|
pulumi.set(__self__, "worker_vswitch_ids", worker_vswitch_ids)
|
|
843
886
|
|
|
@@ -1066,10 +1109,10 @@ class _ManagedKubernetesState:
|
|
|
1066
1109
|
|
|
1067
1110
|
@property
|
|
1068
1111
|
@pulumi.getter(name="loadBalancerSpec")
|
|
1069
|
-
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
1112
|
+
@_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""")
|
|
1070
1113
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
1071
1114
|
"""
|
|
1072
|
-
The cluster api server load
|
|
1115
|
+
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.
|
|
1073
1116
|
"""
|
|
1074
1117
|
return pulumi.get(self, "load_balancer_spec")
|
|
1075
1118
|
|
|
@@ -1174,7 +1217,7 @@ class _ManagedKubernetesState:
|
|
|
1174
1217
|
@pulumi.getter(name="podVswitchIds")
|
|
1175
1218
|
def pod_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1176
1219
|
"""
|
|
1177
|
-
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `
|
|
1220
|
+
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
1178
1221
|
"""
|
|
1179
1222
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
1180
1223
|
|
|
@@ -1376,6 +1419,23 @@ class _ManagedKubernetesState:
|
|
|
1376
1419
|
def vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
1377
1420
|
pulumi.set(self, "vpc_id", value)
|
|
1378
1421
|
|
|
1422
|
+
@property
|
|
1423
|
+
@pulumi.getter(name="vswitchIds")
|
|
1424
|
+
def vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1425
|
+
"""
|
|
1426
|
+
The vSwitches of the control plane.
|
|
1427
|
+
> **NOTE:** Please take of note before updating the `vswitch_ids`:
|
|
1428
|
+
* This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
1429
|
+
* The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
1430
|
+
* 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.
|
|
1431
|
+
* 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.
|
|
1432
|
+
"""
|
|
1433
|
+
return pulumi.get(self, "vswitch_ids")
|
|
1434
|
+
|
|
1435
|
+
@vswitch_ids.setter
|
|
1436
|
+
def vswitch_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1437
|
+
pulumi.set(self, "vswitch_ids", value)
|
|
1438
|
+
|
|
1379
1439
|
@property
|
|
1380
1440
|
@pulumi.getter(name="workerRamRoleName")
|
|
1381
1441
|
def worker_ram_role_name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1390,9 +1450,10 @@ class _ManagedKubernetesState:
|
|
|
1390
1450
|
|
|
1391
1451
|
@property
|
|
1392
1452
|
@pulumi.getter(name="workerVswitchIds")
|
|
1453
|
+
@_utilities.deprecated("""Field 'worker_vswitch_ids' has been deprecated from provider version 1.241.0. Please use 'vswitch_ids' to managed control plane vswtiches""")
|
|
1393
1454
|
def worker_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1394
1455
|
"""
|
|
1395
|
-
The vswitches used by control plane.
|
|
1456
|
+
The vswitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vswtiches, which supports modifying control plane vswtiches.
|
|
1396
1457
|
"""
|
|
1397
1458
|
return pulumi.get(self, "worker_vswitch_ids")
|
|
1398
1459
|
|
|
@@ -1442,6 +1503,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1442
1503
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
1443
1504
|
user_ca: Optional[pulumi.Input[str]] = None,
|
|
1444
1505
|
version: Optional[pulumi.Input[str]] = None,
|
|
1506
|
+
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1445
1507
|
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1446
1508
|
__props__=None):
|
|
1447
1509
|
"""
|
|
@@ -1510,14 +1572,14 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1510
1572
|
: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).
|
|
1511
1573
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
1512
1574
|
: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).
|
|
1513
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load
|
|
1575
|
+
: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.
|
|
1514
1576
|
: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.
|
|
1515
1577
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
1516
1578
|
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Only works for **Create** Operation.
|
|
1517
1579
|
:param pulumi.Input[int] node_cidr_mask: The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
|
|
1518
1580
|
:param pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
|
|
1519
1581
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
1520
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `
|
|
1582
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
1521
1583
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
1522
1584
|
: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.
|
|
1523
1585
|
: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.
|
|
@@ -1533,13 +1595,19 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1533
1595
|
: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.
|
|
1534
1596
|
: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.
|
|
1535
1597
|
: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.
|
|
1536
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
1598
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vSwitches of the control plane.
|
|
1599
|
+
> **NOTE:** Please take of note before updating the `vswitch_ids`:
|
|
1600
|
+
* This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
1601
|
+
* The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
1602
|
+
* 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
|
+
* 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 vswitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vswtiches, which supports modifying control plane vswtiches.
|
|
1537
1605
|
"""
|
|
1538
1606
|
...
|
|
1539
1607
|
@overload
|
|
1540
1608
|
def __init__(__self__,
|
|
1541
1609
|
resource_name: str,
|
|
1542
|
-
args: ManagedKubernetesArgs,
|
|
1610
|
+
args: Optional[ManagedKubernetesArgs] = None,
|
|
1543
1611
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
1544
1612
|
"""
|
|
1545
1613
|
This resource will help you to manage a ManagedKubernetes Cluster in Alibaba Cloud Kubernetes Service.
|
|
@@ -1633,6 +1701,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1633
1701
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
1634
1702
|
user_ca: Optional[pulumi.Input[str]] = None,
|
|
1635
1703
|
version: Optional[pulumi.Input[str]] = None,
|
|
1704
|
+
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1636
1705
|
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1637
1706
|
__props__=None):
|
|
1638
1707
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -1679,8 +1748,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1679
1748
|
__props__.__dict__["timezone"] = timezone
|
|
1680
1749
|
__props__.__dict__["user_ca"] = user_ca
|
|
1681
1750
|
__props__.__dict__["version"] = version
|
|
1682
|
-
|
|
1683
|
-
raise TypeError("Missing required property 'worker_vswitch_ids'")
|
|
1751
|
+
__props__.__dict__["vswitch_ids"] = vswitch_ids
|
|
1684
1752
|
__props__.__dict__["worker_vswitch_ids"] = worker_vswitch_ids
|
|
1685
1753
|
__props__.__dict__["certificate_authority"] = None
|
|
1686
1754
|
__props__.__dict__["connections"] = None
|
|
@@ -1745,6 +1813,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1745
1813
|
user_ca: Optional[pulumi.Input[str]] = None,
|
|
1746
1814
|
version: Optional[pulumi.Input[str]] = None,
|
|
1747
1815
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1816
|
+
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1748
1817
|
worker_ram_role_name: Optional[pulumi.Input[str]] = None,
|
|
1749
1818
|
worker_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ManagedKubernetes':
|
|
1750
1819
|
"""
|
|
@@ -1779,7 +1848,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1779
1848
|
: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).
|
|
1780
1849
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
1781
1850
|
: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).
|
|
1782
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load
|
|
1851
|
+
: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.
|
|
1783
1852
|
: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.
|
|
1784
1853
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
1785
1854
|
:param pulumi.Input[str] nat_gateway_id: The ID of nat gateway used to launch kubernetes cluster.
|
|
@@ -1787,7 +1856,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1787
1856
|
:param pulumi.Input[int] node_cidr_mask: The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
|
|
1788
1857
|
:param pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
|
|
1789
1858
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
1790
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `
|
|
1859
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
1791
1860
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
1792
1861
|
: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.
|
|
1793
1862
|
:param pulumi.Input[Union['ManagedKubernetesRrsaMetadataArgs', 'ManagedKubernetesRrsaMetadataArgsDict']] rrsa_metadata: (Optional, Available since v1.185.0) Nested attribute containing RRSA related data for your cluster.
|
|
@@ -1808,8 +1877,14 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1808
1877
|
: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.
|
|
1809
1878
|
: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.
|
|
1810
1879
|
:param pulumi.Input[str] vpc_id: The ID of VPC where the current cluster is located.
|
|
1880
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vSwitches of the control plane.
|
|
1881
|
+
> **NOTE:** Please take of note before updating the `vswitch_ids`:
|
|
1882
|
+
* This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
1883
|
+
* The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
1884
|
+
* 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
|
+
* 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.
|
|
1811
1886
|
:param pulumi.Input[str] worker_ram_role_name: The RamRole Name attached to worker node.
|
|
1812
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vswitches used by control plane.
|
|
1887
|
+
: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 vswtiches, which supports modifying control plane vswtiches.
|
|
1813
1888
|
"""
|
|
1814
1889
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1815
1890
|
|
|
@@ -1859,6 +1934,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1859
1934
|
__props__.__dict__["user_ca"] = user_ca
|
|
1860
1935
|
__props__.__dict__["version"] = version
|
|
1861
1936
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
1937
|
+
__props__.__dict__["vswitch_ids"] = vswitch_ids
|
|
1862
1938
|
__props__.__dict__["worker_ram_role_name"] = worker_ram_role_name
|
|
1863
1939
|
__props__.__dict__["worker_vswitch_ids"] = worker_vswitch_ids
|
|
1864
1940
|
return ManagedKubernetes(resource_name, opts=opts, __props__=__props__)
|
|
@@ -2016,10 +2092,10 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2016
2092
|
|
|
2017
2093
|
@property
|
|
2018
2094
|
@pulumi.getter(name="loadBalancerSpec")
|
|
2019
|
-
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The
|
|
2020
|
-
def load_balancer_spec(self) -> pulumi.Output[
|
|
2095
|
+
@_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""")
|
|
2096
|
+
def load_balancer_spec(self) -> pulumi.Output[str]:
|
|
2021
2097
|
"""
|
|
2022
|
-
The cluster api server load
|
|
2098
|
+
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.
|
|
2023
2099
|
"""
|
|
2024
2100
|
return pulumi.get(self, "load_balancer_spec")
|
|
2025
2101
|
|
|
@@ -2088,7 +2164,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2088
2164
|
@pulumi.getter(name="podVswitchIds")
|
|
2089
2165
|
def pod_vswitch_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
2090
2166
|
"""
|
|
2091
|
-
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `
|
|
2167
|
+
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
2092
2168
|
"""
|
|
2093
2169
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
2094
2170
|
|
|
@@ -2222,6 +2298,19 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2222
2298
|
"""
|
|
2223
2299
|
return pulumi.get(self, "vpc_id")
|
|
2224
2300
|
|
|
2301
|
+
@property
|
|
2302
|
+
@pulumi.getter(name="vswitchIds")
|
|
2303
|
+
def vswitch_ids(self) -> pulumi.Output[Sequence[str]]:
|
|
2304
|
+
"""
|
|
2305
|
+
The vSwitches of the control plane.
|
|
2306
|
+
> **NOTE:** Please take of note before updating the `vswitch_ids`:
|
|
2307
|
+
* This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane.
|
|
2308
|
+
* The control plane restarts during the change process. Exercise caution when you perform this operation.
|
|
2309
|
+
* 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.
|
|
2310
|
+
* 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.
|
|
2311
|
+
"""
|
|
2312
|
+
return pulumi.get(self, "vswitch_ids")
|
|
2313
|
+
|
|
2225
2314
|
@property
|
|
2226
2315
|
@pulumi.getter(name="workerRamRoleName")
|
|
2227
2316
|
def worker_ram_role_name(self) -> pulumi.Output[str]:
|
|
@@ -2232,9 +2321,10 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2232
2321
|
|
|
2233
2322
|
@property
|
|
2234
2323
|
@pulumi.getter(name="workerVswitchIds")
|
|
2235
|
-
|
|
2324
|
+
@_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
|
+
def worker_vswitch_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
2236
2326
|
"""
|
|
2237
|
-
The vswitches used by control plane.
|
|
2327
|
+
The vswitches used by control plane. Modification after creation will not take effect. Please use `vswitch_ids` to managed control plane vswtiches, which supports modifying control plane vswtiches.
|
|
2238
2328
|
"""
|
|
2239
2329
|
return pulumi.get(self, "worker_vswitch_ids")
|
|
2240
2330
|
|
|
@@ -7,9 +7,13 @@ import typing
|
|
|
7
7
|
# Export this package's modules as members:
|
|
8
8
|
from .data_source import *
|
|
9
9
|
from .data_source_shared_rule import *
|
|
10
|
+
from .di_alarm_rule import *
|
|
11
|
+
from .di_job import *
|
|
12
|
+
from .dw_resource_group import *
|
|
10
13
|
from .folder import *
|
|
11
14
|
from .get_folders import *
|
|
12
15
|
from .get_service import *
|
|
16
|
+
from .network import *
|
|
13
17
|
from .project import *
|
|
14
18
|
from .project_member import *
|
|
15
19
|
from ._inputs import *
|