pulumi-alicloud 3.64.0a1729196623__py3-none-any.whl → 3.64.0a1730118787__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 +16 -0
- pulumi_alicloud/amqp/instance.py +8 -8
- pulumi_alicloud/bss/get_open_api_pricing_modules.py +4 -4
- pulumi_alicloud/bss/get_open_api_products.py +4 -4
- pulumi_alicloud/cas/get_certificates.py +17 -1
- pulumi_alicloud/cas/get_service_certificates.py +153 -17
- pulumi_alicloud/cas/outputs.py +40 -36
- pulumi_alicloud/cen/instance.py +108 -53
- pulumi_alicloud/cloudfirewall/control_policy.py +524 -23
- pulumi_alicloud/cloudfirewall/instance.py +64 -36
- pulumi_alicloud/cs/_inputs.py +390 -26
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +2 -0
- pulumi_alicloud/cs/kubernetes.py +48 -35
- pulumi_alicloud/cs/managed_kubernetes.py +91 -35
- pulumi_alicloud/cs/node_pool.py +68 -14
- pulumi_alicloud/cs/outputs.py +293 -16
- pulumi_alicloud/cs/serverless_kubernetes.py +157 -63
- pulumi_alicloud/databasefilesystem/_inputs.py +0 -6
- pulumi_alicloud/databasefilesystem/instance.py +31 -0
- pulumi_alicloud/databasefilesystem/outputs.py +0 -4
- pulumi_alicloud/dns/get_alidns_records.py +26 -4
- pulumi_alicloud/dns/outputs.py +2 -2
- pulumi_alicloud/eais/instance.py +55 -57
- pulumi_alicloud/ecp/instance.py +177 -219
- pulumi_alicloud/ecs/disk.py +2 -2
- pulumi_alicloud/ecs/ecs_disk.py +142 -58
- pulumi_alicloud/ecs/ecs_key_pair.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +169 -0
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +172 -6
- pulumi_alicloud/ecs/instance.py +131 -98
- pulumi_alicloud/ecs/key_pair.py +1 -1
- pulumi_alicloud/ecs/launch_template.py +102 -0
- pulumi_alicloud/ecs/outputs.py +57 -24
- pulumi_alicloud/ens/disk.py +2 -2
- pulumi_alicloud/ens/disk_instance_attachment.py +2 -2
- pulumi_alicloud/ess/_inputs.py +342 -2
- pulumi_alicloud/ess/eci_scaling_configuration.py +202 -0
- pulumi_alicloud/ess/outputs.py +226 -2
- pulumi_alicloud/ess/scaling_configuration.py +376 -0
- pulumi_alicloud/ga/_inputs.py +57 -22
- pulumi_alicloud/ga/outputs.py +39 -15
- pulumi_alicloud/gpdb/__init__.py +1 -0
- pulumi_alicloud/gpdb/database.py +545 -0
- pulumi_alicloud/gpdb/instance.py +1 -1
- pulumi_alicloud/kvstore/instance.py +24 -5
- pulumi_alicloud/mse/cluster.py +149 -51
- pulumi_alicloud/mse/engine_namespace.py +176 -74
- pulumi_alicloud/mse/get_clusters.py +70 -10
- pulumi_alicloud/mse/get_engine_namespaces.py +93 -15
- pulumi_alicloud/mse/outputs.py +36 -8
- pulumi_alicloud/nas/data_flow.py +6 -6
- pulumi_alicloud/nas/fileset.py +6 -6
- pulumi_alicloud/nas/lifecycle_policy.py +6 -6
- pulumi_alicloud/nas/recycle_bin.py +6 -6
- pulumi_alicloud/nas/snapshot.py +6 -6
- pulumi_alicloud/polardb/cluster.py +162 -0
- pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +51 -7
- pulumi_alicloud/privatelink/outputs.py +17 -6
- pulumi_alicloud/privatelink/vpc_endpoint_service_user.py +54 -17
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +7 -21
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +50 -3
- pulumi_alicloud/resourcemanager/get_folders.py +35 -28
- pulumi_alicloud/resourcemanager/outputs.py +8 -8
- pulumi_alicloud/servicemesh/_inputs.py +656 -174
- pulumi_alicloud/servicemesh/outputs.py +507 -117
- pulumi_alicloud/servicemesh/service_mesh.py +120 -78
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +307 -0
- pulumi_alicloud/sls/collection_policy.py +561 -0
- pulumi_alicloud/sls/outputs.py +263 -0
- pulumi_alicloud/threatdetection/instance.py +331 -43
- {pulumi_alicloud-3.64.0a1729196623.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.64.0a1729196623.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/RECORD +76 -74
- {pulumi_alicloud-3.64.0a1729196623.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.64.0a1729196623.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/top_level.txt +0 -0
|
@@ -44,6 +44,7 @@ class ManagedKubernetesArgs:
|
|
|
44
44
|
name_prefix: Optional[pulumi.Input[str]] = None,
|
|
45
45
|
new_nat_gateway: Optional[pulumi.Input[bool]] = None,
|
|
46
46
|
node_cidr_mask: Optional[pulumi.Input[int]] = None,
|
|
47
|
+
operation_policy: Optional[pulumi.Input['ManagedKubernetesOperationPolicyArgs']] = None,
|
|
47
48
|
pod_cidr: Optional[pulumi.Input[str]] = None,
|
|
48
49
|
pod_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
49
50
|
proxy_mode: Optional[pulumi.Input[str]] = None,
|
|
@@ -82,14 +83,15 @@ class ManagedKubernetesArgs:
|
|
|
82
83
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
83
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).
|
|
84
85
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
85
|
-
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
86
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
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 balance instance specification, default `slb.s1.small`. 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.
|
|
87
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.
|
|
88
89
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
89
|
-
: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.
|
|
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.
|
|
90
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
|
+
:param pulumi.Input['ManagedKubernetesOperationPolicyArgs'] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
|
|
91
93
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
92
|
-
: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 `worker_vswitch_ids` but must be in same availability zones.
|
|
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 `worker_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
93
95
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
94
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.
|
|
95
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.
|
|
@@ -104,7 +106,7 @@ class ManagedKubernetesArgs:
|
|
|
104
106
|
: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.
|
|
105
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.
|
|
106
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.
|
|
107
|
-
: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.
|
|
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.
|
|
108
110
|
"""
|
|
109
111
|
pulumi.set(__self__, "worker_vswitch_ids", worker_vswitch_ids)
|
|
110
112
|
if addons is not None:
|
|
@@ -139,6 +141,9 @@ class ManagedKubernetesArgs:
|
|
|
139
141
|
pulumi.set(__self__, "encryption_provider_key", encryption_provider_key)
|
|
140
142
|
if is_enterprise_security_group is not None:
|
|
141
143
|
pulumi.set(__self__, "is_enterprise_security_group", is_enterprise_security_group)
|
|
144
|
+
if load_balancer_spec is not None:
|
|
145
|
+
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""", DeprecationWarning)
|
|
146
|
+
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""")
|
|
142
147
|
if load_balancer_spec is not None:
|
|
143
148
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
144
149
|
if maintenance_window is not None:
|
|
@@ -151,6 +156,8 @@ class ManagedKubernetesArgs:
|
|
|
151
156
|
pulumi.set(__self__, "new_nat_gateway", new_nat_gateway)
|
|
152
157
|
if node_cidr_mask is not None:
|
|
153
158
|
pulumi.set(__self__, "node_cidr_mask", node_cidr_mask)
|
|
159
|
+
if operation_policy is not None:
|
|
160
|
+
pulumi.set(__self__, "operation_policy", operation_policy)
|
|
154
161
|
if pod_cidr is not None:
|
|
155
162
|
pulumi.set(__self__, "pod_cidr", pod_cidr)
|
|
156
163
|
if pod_vswitch_ids is not None:
|
|
@@ -381,7 +388,7 @@ class ManagedKubernetesArgs:
|
|
|
381
388
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
382
389
|
def is_enterprise_security_group(self) -> Optional[pulumi.Input[bool]]:
|
|
383
390
|
"""
|
|
384
|
-
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
391
|
+
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).
|
|
385
392
|
"""
|
|
386
393
|
return pulumi.get(self, "is_enterprise_security_group")
|
|
387
394
|
|
|
@@ -391,9 +398,10 @@ class ManagedKubernetesArgs:
|
|
|
391
398
|
|
|
392
399
|
@property
|
|
393
400
|
@pulumi.getter(name="loadBalancerSpec")
|
|
401
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""")
|
|
394
402
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
395
403
|
"""
|
|
396
|
-
The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
404
|
+
The cluster api server load balance instance specification, default `slb.s1.small`. 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.
|
|
397
405
|
"""
|
|
398
406
|
return pulumi.get(self, "load_balancer_spec")
|
|
399
407
|
|
|
@@ -438,7 +446,7 @@ class ManagedKubernetesArgs:
|
|
|
438
446
|
@pulumi.getter(name="newNatGateway")
|
|
439
447
|
def new_nat_gateway(self) -> Optional[pulumi.Input[bool]]:
|
|
440
448
|
"""
|
|
441
|
-
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.
|
|
449
|
+
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.
|
|
442
450
|
"""
|
|
443
451
|
return pulumi.get(self, "new_nat_gateway")
|
|
444
452
|
|
|
@@ -458,6 +466,18 @@ class ManagedKubernetesArgs:
|
|
|
458
466
|
def node_cidr_mask(self, value: Optional[pulumi.Input[int]]):
|
|
459
467
|
pulumi.set(self, "node_cidr_mask", value)
|
|
460
468
|
|
|
469
|
+
@property
|
|
470
|
+
@pulumi.getter(name="operationPolicy")
|
|
471
|
+
def operation_policy(self) -> Optional[pulumi.Input['ManagedKubernetesOperationPolicyArgs']]:
|
|
472
|
+
"""
|
|
473
|
+
The cluster automatic operation policy. See `operation_policy` below.
|
|
474
|
+
"""
|
|
475
|
+
return pulumi.get(self, "operation_policy")
|
|
476
|
+
|
|
477
|
+
@operation_policy.setter
|
|
478
|
+
def operation_policy(self, value: Optional[pulumi.Input['ManagedKubernetesOperationPolicyArgs']]):
|
|
479
|
+
pulumi.set(self, "operation_policy", value)
|
|
480
|
+
|
|
461
481
|
@property
|
|
462
482
|
@pulumi.getter(name="podCidr")
|
|
463
483
|
def pod_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -474,7 +494,7 @@ class ManagedKubernetesArgs:
|
|
|
474
494
|
@pulumi.getter(name="podVswitchIds")
|
|
475
495
|
def pod_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
476
496
|
"""
|
|
477
|
-
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` but must be in same availability zones.
|
|
497
|
+
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
478
498
|
"""
|
|
479
499
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
480
500
|
|
|
@@ -608,7 +628,7 @@ class ManagedKubernetesArgs:
|
|
|
608
628
|
@pulumi.getter
|
|
609
629
|
def version(self) -> Optional[pulumi.Input[str]]:
|
|
610
630
|
"""
|
|
611
|
-
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.
|
|
631
|
+
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.
|
|
612
632
|
"""
|
|
613
633
|
return pulumi.get(self, "version")
|
|
614
634
|
|
|
@@ -645,6 +665,7 @@ class _ManagedKubernetesState:
|
|
|
645
665
|
nat_gateway_id: Optional[pulumi.Input[str]] = None,
|
|
646
666
|
new_nat_gateway: Optional[pulumi.Input[bool]] = None,
|
|
647
667
|
node_cidr_mask: Optional[pulumi.Input[int]] = None,
|
|
668
|
+
operation_policy: Optional[pulumi.Input['ManagedKubernetesOperationPolicyArgs']] = None,
|
|
648
669
|
pod_cidr: Optional[pulumi.Input[str]] = None,
|
|
649
670
|
pod_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
650
671
|
proxy_mode: Optional[pulumi.Input[str]] = None,
|
|
@@ -691,15 +712,16 @@ class _ManagedKubernetesState:
|
|
|
691
712
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
692
713
|
: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).
|
|
693
714
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
694
|
-
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
695
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
715
|
+
: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 balance instance specification, default `slb.s1.small`. 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.
|
|
696
717
|
: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.
|
|
697
718
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
698
719
|
:param pulumi.Input[str] nat_gateway_id: The ID of nat gateway used to launch kubernetes cluster.
|
|
699
|
-
: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.
|
|
720
|
+
: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.
|
|
700
721
|
: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
|
+
:param pulumi.Input['ManagedKubernetesOperationPolicyArgs'] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
|
|
701
723
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
702
|
-
: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 `worker_vswitch_ids` but must be in same availability zones.
|
|
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 `worker_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
703
725
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
704
726
|
: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.
|
|
705
727
|
:param pulumi.Input['ManagedKubernetesRrsaMetadataArgs'] rrsa_metadata: (Optional, Available since v1.185.0) Nested attribute containing RRSA related data for your cluster.
|
|
@@ -718,7 +740,7 @@ class _ManagedKubernetesState:
|
|
|
718
740
|
: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.
|
|
719
741
|
: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.
|
|
720
742
|
: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.
|
|
721
|
-
: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.
|
|
743
|
+
: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.
|
|
722
744
|
:param pulumi.Input[str] vpc_id: The ID of VPC where the current cluster is located.
|
|
723
745
|
:param pulumi.Input[str] worker_ram_role_name: The RamRole Name attached to worker node.
|
|
724
746
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vswitches used by control plane. See `worker_vswitch_ids` below.
|
|
@@ -759,6 +781,9 @@ class _ManagedKubernetesState:
|
|
|
759
781
|
pulumi.set(__self__, "encryption_provider_key", encryption_provider_key)
|
|
760
782
|
if is_enterprise_security_group is not None:
|
|
761
783
|
pulumi.set(__self__, "is_enterprise_security_group", is_enterprise_security_group)
|
|
784
|
+
if load_balancer_spec is not None:
|
|
785
|
+
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""", DeprecationWarning)
|
|
786
|
+
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""")
|
|
762
787
|
if load_balancer_spec is not None:
|
|
763
788
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
764
789
|
if maintenance_window is not None:
|
|
@@ -773,6 +798,8 @@ class _ManagedKubernetesState:
|
|
|
773
798
|
pulumi.set(__self__, "new_nat_gateway", new_nat_gateway)
|
|
774
799
|
if node_cidr_mask is not None:
|
|
775
800
|
pulumi.set(__self__, "node_cidr_mask", node_cidr_mask)
|
|
801
|
+
if operation_policy is not None:
|
|
802
|
+
pulumi.set(__self__, "operation_policy", operation_policy)
|
|
776
803
|
if pod_cidr is not None:
|
|
777
804
|
pulumi.set(__self__, "pod_cidr", pod_cidr)
|
|
778
805
|
if pod_vswitch_ids is not None:
|
|
@@ -1029,7 +1056,7 @@ class _ManagedKubernetesState:
|
|
|
1029
1056
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
1030
1057
|
def is_enterprise_security_group(self) -> Optional[pulumi.Input[bool]]:
|
|
1031
1058
|
"""
|
|
1032
|
-
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
1059
|
+
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).
|
|
1033
1060
|
"""
|
|
1034
1061
|
return pulumi.get(self, "is_enterprise_security_group")
|
|
1035
1062
|
|
|
@@ -1039,9 +1066,10 @@ class _ManagedKubernetesState:
|
|
|
1039
1066
|
|
|
1040
1067
|
@property
|
|
1041
1068
|
@pulumi.getter(name="loadBalancerSpec")
|
|
1069
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""")
|
|
1042
1070
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
1043
1071
|
"""
|
|
1044
|
-
The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
1072
|
+
The cluster api server load balance instance specification, default `slb.s1.small`. 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.
|
|
1045
1073
|
"""
|
|
1046
1074
|
return pulumi.get(self, "load_balancer_spec")
|
|
1047
1075
|
|
|
@@ -1098,7 +1126,7 @@ class _ManagedKubernetesState:
|
|
|
1098
1126
|
@pulumi.getter(name="newNatGateway")
|
|
1099
1127
|
def new_nat_gateway(self) -> Optional[pulumi.Input[bool]]:
|
|
1100
1128
|
"""
|
|
1101
|
-
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.
|
|
1129
|
+
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.
|
|
1102
1130
|
"""
|
|
1103
1131
|
return pulumi.get(self, "new_nat_gateway")
|
|
1104
1132
|
|
|
@@ -1118,6 +1146,18 @@ class _ManagedKubernetesState:
|
|
|
1118
1146
|
def node_cidr_mask(self, value: Optional[pulumi.Input[int]]):
|
|
1119
1147
|
pulumi.set(self, "node_cidr_mask", value)
|
|
1120
1148
|
|
|
1149
|
+
@property
|
|
1150
|
+
@pulumi.getter(name="operationPolicy")
|
|
1151
|
+
def operation_policy(self) -> Optional[pulumi.Input['ManagedKubernetesOperationPolicyArgs']]:
|
|
1152
|
+
"""
|
|
1153
|
+
The cluster automatic operation policy. See `operation_policy` below.
|
|
1154
|
+
"""
|
|
1155
|
+
return pulumi.get(self, "operation_policy")
|
|
1156
|
+
|
|
1157
|
+
@operation_policy.setter
|
|
1158
|
+
def operation_policy(self, value: Optional[pulumi.Input['ManagedKubernetesOperationPolicyArgs']]):
|
|
1159
|
+
pulumi.set(self, "operation_policy", value)
|
|
1160
|
+
|
|
1121
1161
|
@property
|
|
1122
1162
|
@pulumi.getter(name="podCidr")
|
|
1123
1163
|
def pod_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1134,7 +1174,7 @@ class _ManagedKubernetesState:
|
|
|
1134
1174
|
@pulumi.getter(name="podVswitchIds")
|
|
1135
1175
|
def pod_vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1136
1176
|
"""
|
|
1137
|
-
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` but must be in same availability zones.
|
|
1177
|
+
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
1138
1178
|
"""
|
|
1139
1179
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
1140
1180
|
|
|
@@ -1316,7 +1356,7 @@ class _ManagedKubernetesState:
|
|
|
1316
1356
|
@pulumi.getter
|
|
1317
1357
|
def version(self) -> Optional[pulumi.Input[str]]:
|
|
1318
1358
|
"""
|
|
1319
|
-
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.
|
|
1359
|
+
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.
|
|
1320
1360
|
"""
|
|
1321
1361
|
return pulumi.get(self, "version")
|
|
1322
1362
|
|
|
@@ -1388,6 +1428,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1388
1428
|
name_prefix: Optional[pulumi.Input[str]] = None,
|
|
1389
1429
|
new_nat_gateway: Optional[pulumi.Input[bool]] = None,
|
|
1390
1430
|
node_cidr_mask: Optional[pulumi.Input[int]] = None,
|
|
1431
|
+
operation_policy: Optional[pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']]] = None,
|
|
1391
1432
|
pod_cidr: Optional[pulumi.Input[str]] = None,
|
|
1392
1433
|
pod_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1393
1434
|
proxy_mode: Optional[pulumi.Input[str]] = None,
|
|
@@ -1468,14 +1509,15 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1468
1509
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1469
1510
|
: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).
|
|
1470
1511
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
1471
|
-
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
1472
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
1512
|
+
: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 balance instance specification, default `slb.s1.small`. 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.
|
|
1473
1514
|
: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.
|
|
1474
1515
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
1475
|
-
: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.
|
|
1516
|
+
: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.
|
|
1476
1517
|
: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
|
+
:param pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
|
|
1477
1519
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
1478
|
-
: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 `worker_vswitch_ids` but must be in same availability zones.
|
|
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 `worker_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
1479
1521
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
1480
1522
|
: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.
|
|
1481
1523
|
: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.
|
|
@@ -1490,7 +1532,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1490
1532
|
: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.
|
|
1491
1533
|
: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.
|
|
1492
1534
|
: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.
|
|
1493
|
-
: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.
|
|
1535
|
+
: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.
|
|
1494
1536
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vswitches used by control plane. See `worker_vswitch_ids` below.
|
|
1495
1537
|
"""
|
|
1496
1538
|
...
|
|
@@ -1577,6 +1619,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1577
1619
|
name_prefix: Optional[pulumi.Input[str]] = None,
|
|
1578
1620
|
new_nat_gateway: Optional[pulumi.Input[bool]] = None,
|
|
1579
1621
|
node_cidr_mask: Optional[pulumi.Input[int]] = None,
|
|
1622
|
+
operation_policy: Optional[pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']]] = None,
|
|
1580
1623
|
pod_cidr: Optional[pulumi.Input[str]] = None,
|
|
1581
1624
|
pod_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1582
1625
|
proxy_mode: Optional[pulumi.Input[str]] = None,
|
|
@@ -1622,6 +1665,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1622
1665
|
__props__.__dict__["name_prefix"] = name_prefix
|
|
1623
1666
|
__props__.__dict__["new_nat_gateway"] = new_nat_gateway
|
|
1624
1667
|
__props__.__dict__["node_cidr_mask"] = node_cidr_mask
|
|
1668
|
+
__props__.__dict__["operation_policy"] = operation_policy
|
|
1625
1669
|
__props__.__dict__["pod_cidr"] = pod_cidr
|
|
1626
1670
|
__props__.__dict__["pod_vswitch_ids"] = pod_vswitch_ids
|
|
1627
1671
|
__props__.__dict__["proxy_mode"] = proxy_mode
|
|
@@ -1682,6 +1726,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1682
1726
|
nat_gateway_id: Optional[pulumi.Input[str]] = None,
|
|
1683
1727
|
new_nat_gateway: Optional[pulumi.Input[bool]] = None,
|
|
1684
1728
|
node_cidr_mask: Optional[pulumi.Input[int]] = None,
|
|
1729
|
+
operation_policy: Optional[pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']]] = None,
|
|
1685
1730
|
pod_cidr: Optional[pulumi.Input[str]] = None,
|
|
1686
1731
|
pod_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1687
1732
|
proxy_mode: Optional[pulumi.Input[str]] = None,
|
|
@@ -1733,15 +1778,16 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1733
1778
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1734
1779
|
: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).
|
|
1735
1780
|
:param pulumi.Input[str] encryption_provider_key: The disk encryption key.
|
|
1736
|
-
:param pulumi.Input[bool] is_enterprise_security_group: Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
1737
|
-
:param pulumi.Input[str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
1781
|
+
: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 balance instance specification, default `slb.s1.small`. 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.
|
|
1738
1783
|
: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.
|
|
1739
1784
|
:param pulumi.Input[str] name: The kubernetes cluster's name. It is unique in one Alicloud account.
|
|
1740
1785
|
:param pulumi.Input[str] nat_gateway_id: The ID of nat gateway used to launch kubernetes cluster.
|
|
1741
|
-
: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.
|
|
1786
|
+
: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.
|
|
1742
1787
|
: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
|
+
:param pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
|
|
1743
1789
|
:param pulumi.Input[str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
|
|
1744
|
-
: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 `worker_vswitch_ids` but must be in same availability zones.
|
|
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 `worker_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
1745
1791
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
|
|
1746
1792
|
: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.
|
|
1747
1793
|
:param pulumi.Input[Union['ManagedKubernetesRrsaMetadataArgs', 'ManagedKubernetesRrsaMetadataArgsDict']] rrsa_metadata: (Optional, Available since v1.185.0) Nested attribute containing RRSA related data for your cluster.
|
|
@@ -1760,7 +1806,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1760
1806
|
: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.
|
|
1761
1807
|
: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.
|
|
1762
1808
|
: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.
|
|
1763
|
-
: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.
|
|
1809
|
+
: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.
|
|
1764
1810
|
:param pulumi.Input[str] vpc_id: The ID of VPC where the current cluster is located.
|
|
1765
1811
|
:param pulumi.Input[str] worker_ram_role_name: The RamRole Name attached to worker node.
|
|
1766
1812
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] worker_vswitch_ids: The vswitches used by control plane. See `worker_vswitch_ids` below.
|
|
@@ -1794,6 +1840,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1794
1840
|
__props__.__dict__["nat_gateway_id"] = nat_gateway_id
|
|
1795
1841
|
__props__.__dict__["new_nat_gateway"] = new_nat_gateway
|
|
1796
1842
|
__props__.__dict__["node_cidr_mask"] = node_cidr_mask
|
|
1843
|
+
__props__.__dict__["operation_policy"] = operation_policy
|
|
1797
1844
|
__props__.__dict__["pod_cidr"] = pod_cidr
|
|
1798
1845
|
__props__.__dict__["pod_vswitch_ids"] = pod_vswitch_ids
|
|
1799
1846
|
__props__.__dict__["proxy_mode"] = proxy_mode
|
|
@@ -1963,15 +2010,16 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1963
2010
|
@pulumi.getter(name="isEnterpriseSecurityGroup")
|
|
1964
2011
|
def is_enterprise_security_group(self) -> pulumi.Output[bool]:
|
|
1965
2012
|
"""
|
|
1966
|
-
Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
|
|
2013
|
+
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).
|
|
1967
2014
|
"""
|
|
1968
2015
|
return pulumi.get(self, "is_enterprise_security_group")
|
|
1969
2016
|
|
|
1970
2017
|
@property
|
|
1971
2018
|
@pulumi.getter(name="loadBalancerSpec")
|
|
2019
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.232.0. The load balancer has been changed to PayByCLCU so that the spec is no need anymore.""")
|
|
1972
2020
|
def load_balancer_spec(self) -> pulumi.Output[Optional[str]]:
|
|
1973
2021
|
"""
|
|
1974
|
-
The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
2022
|
+
The cluster api server load balance instance specification, default `slb.s1.small`. 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.
|
|
1975
2023
|
"""
|
|
1976
2024
|
return pulumi.get(self, "load_balancer_spec")
|
|
1977
2025
|
|
|
@@ -2008,7 +2056,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2008
2056
|
@pulumi.getter(name="newNatGateway")
|
|
2009
2057
|
def new_nat_gateway(self) -> pulumi.Output[Optional[bool]]:
|
|
2010
2058
|
"""
|
|
2011
|
-
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.
|
|
2059
|
+
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.
|
|
2012
2060
|
"""
|
|
2013
2061
|
return pulumi.get(self, "new_nat_gateway")
|
|
2014
2062
|
|
|
@@ -2020,6 +2068,14 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2020
2068
|
"""
|
|
2021
2069
|
return pulumi.get(self, "node_cidr_mask")
|
|
2022
2070
|
|
|
2071
|
+
@property
|
|
2072
|
+
@pulumi.getter(name="operationPolicy")
|
|
2073
|
+
def operation_policy(self) -> pulumi.Output['outputs.ManagedKubernetesOperationPolicy']:
|
|
2074
|
+
"""
|
|
2075
|
+
The cluster automatic operation policy. See `operation_policy` below.
|
|
2076
|
+
"""
|
|
2077
|
+
return pulumi.get(self, "operation_policy")
|
|
2078
|
+
|
|
2023
2079
|
@property
|
|
2024
2080
|
@pulumi.getter(name="podCidr")
|
|
2025
2081
|
def pod_cidr(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -2032,7 +2088,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2032
2088
|
@pulumi.getter(name="podVswitchIds")
|
|
2033
2089
|
def pod_vswitch_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
2034
2090
|
"""
|
|
2035
|
-
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` but must be in same availability zones.
|
|
2091
|
+
[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `worker_vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
|
|
2036
2092
|
"""
|
|
2037
2093
|
return pulumi.get(self, "pod_vswitch_ids")
|
|
2038
2094
|
|
|
@@ -2154,7 +2210,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2154
2210
|
@pulumi.getter
|
|
2155
2211
|
def version(self) -> pulumi.Output[str]:
|
|
2156
2212
|
"""
|
|
2157
|
-
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.
|
|
2213
|
+
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.
|
|
2158
2214
|
"""
|
|
2159
2215
|
return pulumi.get(self, "version")
|
|
2160
2216
|
|