pulumi-alicloud 3.77.0a1746163013__py3-none-any.whl → 3.77.0a1746220593__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 +72 -0
- pulumi_alicloud/_inputs.py +13 -0
- pulumi_alicloud/adb/db_cluster_lake_version.py +94 -0
- pulumi_alicloud/alb/_inputs.py +6 -3
- pulumi_alicloud/alb/outputs.py +4 -2
- pulumi_alicloud/apig/environment.py +2 -2
- pulumi_alicloud/apig/http_api.py +2 -2
- pulumi_alicloud/arms/grafana_workspace.py +56 -14
- pulumi_alicloud/cloudfirewall/instance_member.py +4 -4
- pulumi_alicloud/cloudfirewall/vpc_cen_tr_firewall.py +2 -2
- pulumi_alicloud/cloudsso/_inputs.py +697 -7
- pulumi_alicloud/cloudsso/directory.py +345 -65
- pulumi_alicloud/cloudsso/outputs.py +557 -8
- pulumi_alicloud/config/outputs.py +8 -0
- pulumi_alicloud/cs/_inputs.py +18 -18
- pulumi_alicloud/cs/edge_kubernetes.py +136 -100
- pulumi_alicloud/cs/get_kubernetes_node_pools.py +21 -1
- pulumi_alicloud/cs/kubernetes.py +118 -39
- pulumi_alicloud/cs/managed_kubernetes.py +125 -46
- pulumi_alicloud/cs/outputs.py +14 -14
- pulumi_alicloud/cs/serverless_kubernetes.py +66 -73
- pulumi_alicloud/ddos/ddos_coo_instance.py +175 -25
- pulumi_alicloud/dns/ddos_coo_instance.py +175 -25
- pulumi_alicloud/dts/job_monitor_rule.py +2 -2
- pulumi_alicloud/dts/synchronization_job.py +2 -2
- pulumi_alicloud/ecs/get_instance_types.py +4 -4
- pulumi_alicloud/ecs/instance.py +28 -28
- pulumi_alicloud/ecs/outputs.py +2 -2
- pulumi_alicloud/ecs/security_group_rule.py +32 -4
- pulumi_alicloud/eflo/__init__.py +3 -0
- pulumi_alicloud/eflo/_inputs.py +623 -0
- pulumi_alicloud/eflo/experiment_plan.py +573 -0
- pulumi_alicloud/eflo/experiment_plan_template.py +464 -0
- pulumi_alicloud/eflo/outputs.py +476 -0
- pulumi_alicloud/eflo/resource.py +388 -0
- pulumi_alicloud/ens/disk.py +120 -69
- pulumi_alicloud/ens/eip.py +45 -41
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/scheduled_preload_execution.py +479 -0
- pulumi_alicloud/esa/scheduled_preload_job.py +467 -0
- pulumi_alicloud/gwlb/listener.py +2 -2
- pulumi_alicloud/gwlb/load_balancer.py +2 -2
- pulumi_alicloud/gwlb/server_group.py +2 -2
- pulumi_alicloud/ims/__init__.py +2 -0
- pulumi_alicloud/ims/get_oidc_providers.py +216 -0
- pulumi_alicloud/ims/outputs.py +138 -0
- pulumi_alicloud/mongodb/__init__.py +2 -0
- pulumi_alicloud/mongodb/_inputs.py +154 -0
- pulumi_alicloud/mongodb/instance.py +7 -7
- pulumi_alicloud/mongodb/outputs.py +121 -0
- pulumi_alicloud/mongodb/public_network_address.py +275 -0
- pulumi_alicloud/mongodb/replica_set_role.py +533 -0
- pulumi_alicloud/nas/_inputs.py +252 -18
- pulumi_alicloud/nas/file_system.py +649 -264
- pulumi_alicloud/nas/outputs.py +198 -12
- pulumi_alicloud/nlb/server_group_server_attachment.py +4 -0
- pulumi_alicloud/pai/__init__.py +1 -0
- pulumi_alicloud/pai/flow_pipeline.py +491 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/__init__.py +1 -0
- pulumi_alicloud/ram/get_role_policy_attachments.py +272 -0
- pulumi_alicloud/ram/outputs.py +63 -0
- pulumi_alicloud/ram/security_preference.py +496 -110
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/rds/instance.py +1 -1
- pulumi_alicloud/sae/application_scaling_rule.py +2 -2
- pulumi_alicloud/sae/ingress.py +2 -2
- pulumi_alicloud/schedulerx/app_group.py +2 -2
- pulumi_alicloud/schedulerx/job.py +2 -2
- pulumi_alicloud/selectdb/db_cluster.py +2 -0
- pulumi_alicloud/selectdb/db_instance.py +43 -13
- pulumi_alicloud/selectdb/get_db_clusters.py +2 -0
- pulumi_alicloud/selectdb/get_db_instances.py +2 -0
- pulumi_alicloud/selectdb/outputs.py +3 -3
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +295 -0
- pulumi_alicloud/sls/etl.py +516 -0
- pulumi_alicloud/sls/outputs.py +209 -0
- pulumi_alicloud/vpc/network.py +156 -88
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/RECORD +83 -71
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/top_level.txt +0 -0
|
@@ -54,6 +54,7 @@ class ManagedKubernetesArgs:
|
|
|
54
54
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
55
55
|
service_account_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
56
56
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
57
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
57
58
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
58
59
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
59
60
|
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -65,12 +66,10 @@ class ManagedKubernetesArgs:
|
|
|
65
66
|
"""
|
|
66
67
|
The set of arguments for constructing a ManagedKubernetes resource.
|
|
67
68
|
: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.
|
|
68
|
-
|
|
69
|
-
*Network params*
|
|
70
69
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
71
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
72
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
73
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
70
|
+
:param pulumi.Input[builtins.str] client_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-cert.pem) for replace it.
|
|
71
|
+
:param pulumi.Input[builtins.str] client_key: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_key attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-key.pem) for replace it.
|
|
72
|
+
:param pulumi.Input[builtins.str] cluster_ca_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.cluster_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.
|
|
74
73
|
|
|
75
74
|
*Removed params*
|
|
76
75
|
:param pulumi.Input[builtins.str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
|
|
@@ -85,7 +84,7 @@ class ManagedKubernetesArgs:
|
|
|
85
84
|
:param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
86
85
|
:param pulumi.Input[builtins.bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
87
86
|
:param pulumi.Input[builtins.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).
|
|
88
|
-
:param pulumi.Input[builtins.str] encryption_provider_key: The
|
|
87
|
+
:param pulumi.Input[builtins.str] encryption_provider_key: The ID of the Key Management Service (KMS) key that is used to encrypt Kubernetes Secrets.
|
|
89
88
|
:param pulumi.Input[builtins.str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
90
89
|
:param pulumi.Input[builtins.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).
|
|
91
90
|
:param pulumi.Input[builtins.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.
|
|
@@ -105,6 +104,9 @@ class ManagedKubernetesArgs:
|
|
|
105
104
|
* After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
106
105
|
:param pulumi.Input[builtins.str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
107
106
|
:param pulumi.Input[builtins.str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
107
|
+
:param pulumi.Input[builtins.bool] skip_set_certificate_authority: Configure whether to save certificate authority data for your cluster to attribute `certificate_authority`. For cluster security, recommended configuration as `true`. Will be removed with attribute certificate_authority removed.
|
|
108
|
+
|
|
109
|
+
*Network params*
|
|
108
110
|
:param pulumi.Input[builtins.bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
109
111
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
110
112
|
:param pulumi.Input[builtins.str] timezone: Cluster timezone, works for control plane and Worker nodes.
|
|
@@ -127,10 +129,19 @@ class ManagedKubernetesArgs:
|
|
|
127
129
|
pulumi.set(__self__, "addons", addons)
|
|
128
130
|
if api_audiences is not None:
|
|
129
131
|
pulumi.set(__self__, "api_audiences", api_audiences)
|
|
132
|
+
if client_cert is not None:
|
|
133
|
+
warnings.warn("""Field 'client_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.""", DeprecationWarning)
|
|
134
|
+
pulumi.log.warn("""client_cert is deprecated: Field 'client_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.""")
|
|
130
135
|
if client_cert is not None:
|
|
131
136
|
pulumi.set(__self__, "client_cert", client_cert)
|
|
137
|
+
if client_key is not None:
|
|
138
|
+
warnings.warn("""Field 'client_key' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_key' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-key.pem) for replace it.""", DeprecationWarning)
|
|
139
|
+
pulumi.log.warn("""client_key is deprecated: Field 'client_key' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_key' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-key.pem) for replace it.""")
|
|
132
140
|
if client_key is not None:
|
|
133
141
|
pulumi.set(__self__, "client_key", client_key)
|
|
142
|
+
if cluster_ca_cert is not None:
|
|
143
|
+
warnings.warn("""Field 'cluster_ca_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.cluster_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.""", DeprecationWarning)
|
|
144
|
+
pulumi.log.warn("""cluster_ca_cert is deprecated: Field 'cluster_ca_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.cluster_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.""")
|
|
134
145
|
if cluster_ca_cert is not None:
|
|
135
146
|
pulumi.set(__self__, "cluster_ca_cert", cluster_ca_cert)
|
|
136
147
|
if cluster_domain is not None:
|
|
@@ -190,6 +201,8 @@ class ManagedKubernetesArgs:
|
|
|
190
201
|
pulumi.set(__self__, "service_account_issuer", service_account_issuer)
|
|
191
202
|
if service_cidr is not None:
|
|
192
203
|
pulumi.set(__self__, "service_cidr", service_cidr)
|
|
204
|
+
if skip_set_certificate_authority is not None:
|
|
205
|
+
pulumi.set(__self__, "skip_set_certificate_authority", skip_set_certificate_authority)
|
|
193
206
|
if slb_internet_enabled is not None:
|
|
194
207
|
pulumi.set(__self__, "slb_internet_enabled", slb_internet_enabled)
|
|
195
208
|
if tags is not None:
|
|
@@ -215,8 +228,6 @@ class ManagedKubernetesArgs:
|
|
|
215
228
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]]]:
|
|
216
229
|
"""
|
|
217
230
|
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.
|
|
218
|
-
|
|
219
|
-
*Network params*
|
|
220
231
|
"""
|
|
221
232
|
return pulumi.get(self, "addons")
|
|
222
233
|
|
|
@@ -238,9 +249,10 @@ class ManagedKubernetesArgs:
|
|
|
238
249
|
|
|
239
250
|
@property
|
|
240
251
|
@pulumi.getter(name="clientCert")
|
|
252
|
+
@_utilities.deprecated("""Field 'client_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.""")
|
|
241
253
|
def client_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
242
254
|
"""
|
|
243
|
-
|
|
255
|
+
From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-cert.pem) for replace it.
|
|
244
256
|
"""
|
|
245
257
|
return pulumi.get(self, "client_cert")
|
|
246
258
|
|
|
@@ -250,9 +262,10 @@ class ManagedKubernetesArgs:
|
|
|
250
262
|
|
|
251
263
|
@property
|
|
252
264
|
@pulumi.getter(name="clientKey")
|
|
265
|
+
@_utilities.deprecated("""Field 'client_key' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_key' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-key.pem) for replace it.""")
|
|
253
266
|
def client_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
254
267
|
"""
|
|
255
|
-
|
|
268
|
+
From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_key attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-key.pem) for replace it.
|
|
256
269
|
"""
|
|
257
270
|
return pulumi.get(self, "client_key")
|
|
258
271
|
|
|
@@ -262,9 +275,10 @@ class ManagedKubernetesArgs:
|
|
|
262
275
|
|
|
263
276
|
@property
|
|
264
277
|
@pulumi.getter(name="clusterCaCert")
|
|
278
|
+
@_utilities.deprecated("""Field 'cluster_ca_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.cluster_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.""")
|
|
265
279
|
def cluster_ca_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
266
280
|
"""
|
|
267
|
-
|
|
281
|
+
From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.cluster_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.
|
|
268
282
|
|
|
269
283
|
*Removed params*
|
|
270
284
|
"""
|
|
@@ -389,7 +403,7 @@ class ManagedKubernetesArgs:
|
|
|
389
403
|
@pulumi.getter(name="encryptionProviderKey")
|
|
390
404
|
def encryption_provider_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
391
405
|
"""
|
|
392
|
-
The
|
|
406
|
+
The ID of the Key Management Service (KMS) key that is used to encrypt Kubernetes Secrets.
|
|
393
407
|
"""
|
|
394
408
|
return pulumi.get(self, "encryption_provider_key")
|
|
395
409
|
|
|
@@ -600,6 +614,20 @@ class ManagedKubernetesArgs:
|
|
|
600
614
|
def service_cidr(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
601
615
|
pulumi.set(self, "service_cidr", value)
|
|
602
616
|
|
|
617
|
+
@property
|
|
618
|
+
@pulumi.getter(name="skipSetCertificateAuthority")
|
|
619
|
+
def skip_set_certificate_authority(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
620
|
+
"""
|
|
621
|
+
Configure whether to save certificate authority data for your cluster to attribute `certificate_authority`. For cluster security, recommended configuration as `true`. Will be removed with attribute certificate_authority removed.
|
|
622
|
+
|
|
623
|
+
*Network params*
|
|
624
|
+
"""
|
|
625
|
+
return pulumi.get(self, "skip_set_certificate_authority")
|
|
626
|
+
|
|
627
|
+
@skip_set_certificate_authority.setter
|
|
628
|
+
def skip_set_certificate_authority(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
629
|
+
pulumi.set(self, "skip_set_certificate_authority", value)
|
|
630
|
+
|
|
603
631
|
@property
|
|
604
632
|
@pulumi.getter(name="slbInternetEnabled")
|
|
605
633
|
def slb_internet_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -746,6 +774,7 @@ class _ManagedKubernetesState:
|
|
|
746
774
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
747
775
|
service_account_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
748
776
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
777
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
749
778
|
slb_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
750
779
|
slb_internet: Optional[pulumi.Input[builtins.str]] = None,
|
|
751
780
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
@@ -762,13 +791,11 @@ class _ManagedKubernetesState:
|
|
|
762
791
|
"""
|
|
763
792
|
Input properties used for looking up and filtering ManagedKubernetes resources.
|
|
764
793
|
: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.
|
|
765
|
-
|
|
766
|
-
*Network params*
|
|
767
794
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
768
|
-
:param pulumi.Input['ManagedKubernetesCertificateAuthorityArgs'] certificate_authority: (
|
|
769
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
770
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
771
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
795
|
+
:param pulumi.Input['ManagedKubernetesCertificateAuthorityArgs'] certificate_authority: (Map, Deprecated from v1.248.0) Nested attribute containing certificate authority data for your cluster. Please use the attribute certificate_authority of new DataSource `cs_get_cluster_credential` to replace it.
|
|
796
|
+
:param pulumi.Input[builtins.str] client_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-cert.pem) for replace it.
|
|
797
|
+
:param pulumi.Input[builtins.str] client_key: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_key attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-key.pem) for replace it.
|
|
798
|
+
:param pulumi.Input[builtins.str] cluster_ca_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.cluster_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.
|
|
772
799
|
|
|
773
800
|
*Removed params*
|
|
774
801
|
:param pulumi.Input[builtins.str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
|
|
@@ -784,7 +811,7 @@ class _ManagedKubernetesState:
|
|
|
784
811
|
:param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
785
812
|
:param pulumi.Input[builtins.bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
786
813
|
:param pulumi.Input[builtins.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).
|
|
787
|
-
:param pulumi.Input[builtins.str] encryption_provider_key: The
|
|
814
|
+
:param pulumi.Input[builtins.str] encryption_provider_key: The ID of the Key Management Service (KMS) key that is used to encrypt Kubernetes Secrets.
|
|
788
815
|
:param pulumi.Input[builtins.str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
789
816
|
:param pulumi.Input[builtins.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).
|
|
790
817
|
:param pulumi.Input[builtins.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.
|
|
@@ -806,6 +833,9 @@ class _ManagedKubernetesState:
|
|
|
806
833
|
* After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
807
834
|
:param pulumi.Input[builtins.str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
808
835
|
:param pulumi.Input[builtins.str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
836
|
+
:param pulumi.Input[builtins.bool] skip_set_certificate_authority: Configure whether to save certificate authority data for your cluster to attribute `certificate_authority`. For cluster security, recommended configuration as `true`. Will be removed with attribute certificate_authority removed.
|
|
837
|
+
|
|
838
|
+
*Network params*
|
|
809
839
|
:param pulumi.Input[builtins.str] slb_id: The ID of APIServer load balancer.
|
|
810
840
|
:param pulumi.Input[builtins.str] slb_internet: The public ip of load balancer.
|
|
811
841
|
:param pulumi.Input[builtins.bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
@@ -833,12 +863,24 @@ class _ManagedKubernetesState:
|
|
|
833
863
|
pulumi.set(__self__, "addons", addons)
|
|
834
864
|
if api_audiences is not None:
|
|
835
865
|
pulumi.set(__self__, "api_audiences", api_audiences)
|
|
866
|
+
if certificate_authority is not None:
|
|
867
|
+
warnings.warn("""Field 'certificate_authority' has been deprecated from provider version 1.248.0. Please use the attribute 'certificate_authority' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""", DeprecationWarning)
|
|
868
|
+
pulumi.log.warn("""certificate_authority is deprecated: Field 'certificate_authority' has been deprecated from provider version 1.248.0. Please use the attribute 'certificate_authority' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
|
|
836
869
|
if certificate_authority is not None:
|
|
837
870
|
pulumi.set(__self__, "certificate_authority", certificate_authority)
|
|
871
|
+
if client_cert is not None:
|
|
872
|
+
warnings.warn("""Field 'client_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.""", DeprecationWarning)
|
|
873
|
+
pulumi.log.warn("""client_cert is deprecated: Field 'client_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.""")
|
|
838
874
|
if client_cert is not None:
|
|
839
875
|
pulumi.set(__self__, "client_cert", client_cert)
|
|
876
|
+
if client_key is not None:
|
|
877
|
+
warnings.warn("""Field 'client_key' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_key' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-key.pem) for replace it.""", DeprecationWarning)
|
|
878
|
+
pulumi.log.warn("""client_key is deprecated: Field 'client_key' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_key' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-key.pem) for replace it.""")
|
|
840
879
|
if client_key is not None:
|
|
841
880
|
pulumi.set(__self__, "client_key", client_key)
|
|
881
|
+
if cluster_ca_cert is not None:
|
|
882
|
+
warnings.warn("""Field 'cluster_ca_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.cluster_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.""", DeprecationWarning)
|
|
883
|
+
pulumi.log.warn("""cluster_ca_cert is deprecated: Field 'cluster_ca_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.cluster_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.""")
|
|
842
884
|
if cluster_ca_cert is not None:
|
|
843
885
|
pulumi.set(__self__, "cluster_ca_cert", cluster_ca_cert)
|
|
844
886
|
if cluster_domain is not None:
|
|
@@ -904,6 +946,8 @@ class _ManagedKubernetesState:
|
|
|
904
946
|
pulumi.set(__self__, "service_account_issuer", service_account_issuer)
|
|
905
947
|
if service_cidr is not None:
|
|
906
948
|
pulumi.set(__self__, "service_cidr", service_cidr)
|
|
949
|
+
if skip_set_certificate_authority is not None:
|
|
950
|
+
pulumi.set(__self__, "skip_set_certificate_authority", skip_set_certificate_authority)
|
|
907
951
|
if slb_id is not None:
|
|
908
952
|
pulumi.set(__self__, "slb_id", slb_id)
|
|
909
953
|
if slb_internet is not None:
|
|
@@ -939,8 +983,6 @@ class _ManagedKubernetesState:
|
|
|
939
983
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]]]:
|
|
940
984
|
"""
|
|
941
985
|
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.
|
|
942
|
-
|
|
943
|
-
*Network params*
|
|
944
986
|
"""
|
|
945
987
|
return pulumi.get(self, "addons")
|
|
946
988
|
|
|
@@ -962,9 +1004,10 @@ class _ManagedKubernetesState:
|
|
|
962
1004
|
|
|
963
1005
|
@property
|
|
964
1006
|
@pulumi.getter(name="certificateAuthority")
|
|
1007
|
+
@_utilities.deprecated("""Field 'certificate_authority' has been deprecated from provider version 1.248.0. Please use the attribute 'certificate_authority' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
|
|
965
1008
|
def certificate_authority(self) -> Optional[pulumi.Input['ManagedKubernetesCertificateAuthorityArgs']]:
|
|
966
1009
|
"""
|
|
967
|
-
(
|
|
1010
|
+
(Map, Deprecated from v1.248.0) Nested attribute containing certificate authority data for your cluster. Please use the attribute certificate_authority of new DataSource `cs_get_cluster_credential` to replace it.
|
|
968
1011
|
"""
|
|
969
1012
|
return pulumi.get(self, "certificate_authority")
|
|
970
1013
|
|
|
@@ -974,9 +1017,10 @@ class _ManagedKubernetesState:
|
|
|
974
1017
|
|
|
975
1018
|
@property
|
|
976
1019
|
@pulumi.getter(name="clientCert")
|
|
1020
|
+
@_utilities.deprecated("""Field 'client_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.""")
|
|
977
1021
|
def client_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
978
1022
|
"""
|
|
979
|
-
|
|
1023
|
+
From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-cert.pem) for replace it.
|
|
980
1024
|
"""
|
|
981
1025
|
return pulumi.get(self, "client_cert")
|
|
982
1026
|
|
|
@@ -986,9 +1030,10 @@ class _ManagedKubernetesState:
|
|
|
986
1030
|
|
|
987
1031
|
@property
|
|
988
1032
|
@pulumi.getter(name="clientKey")
|
|
1033
|
+
@_utilities.deprecated("""Field 'client_key' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_key' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-key.pem) for replace it.""")
|
|
989
1034
|
def client_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
990
1035
|
"""
|
|
991
|
-
|
|
1036
|
+
From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_key attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-key.pem) for replace it.
|
|
992
1037
|
"""
|
|
993
1038
|
return pulumi.get(self, "client_key")
|
|
994
1039
|
|
|
@@ -998,9 +1043,10 @@ class _ManagedKubernetesState:
|
|
|
998
1043
|
|
|
999
1044
|
@property
|
|
1000
1045
|
@pulumi.getter(name="clusterCaCert")
|
|
1046
|
+
@_utilities.deprecated("""Field 'cluster_ca_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.cluster_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.""")
|
|
1001
1047
|
def cluster_ca_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1002
1048
|
"""
|
|
1003
|
-
|
|
1049
|
+
From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.cluster_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.
|
|
1004
1050
|
|
|
1005
1051
|
*Removed params*
|
|
1006
1052
|
"""
|
|
@@ -1137,7 +1183,7 @@ class _ManagedKubernetesState:
|
|
|
1137
1183
|
@pulumi.getter(name="encryptionProviderKey")
|
|
1138
1184
|
def encryption_provider_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1139
1185
|
"""
|
|
1140
|
-
The
|
|
1186
|
+
The ID of the Key Management Service (KMS) key that is used to encrypt Kubernetes Secrets.
|
|
1141
1187
|
"""
|
|
1142
1188
|
return pulumi.get(self, "encryption_provider_key")
|
|
1143
1189
|
|
|
@@ -1372,6 +1418,20 @@ class _ManagedKubernetesState:
|
|
|
1372
1418
|
def service_cidr(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1373
1419
|
pulumi.set(self, "service_cidr", value)
|
|
1374
1420
|
|
|
1421
|
+
@property
|
|
1422
|
+
@pulumi.getter(name="skipSetCertificateAuthority")
|
|
1423
|
+
def skip_set_certificate_authority(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1424
|
+
"""
|
|
1425
|
+
Configure whether to save certificate authority data for your cluster to attribute `certificate_authority`. For cluster security, recommended configuration as `true`. Will be removed with attribute certificate_authority removed.
|
|
1426
|
+
|
|
1427
|
+
*Network params*
|
|
1428
|
+
"""
|
|
1429
|
+
return pulumi.get(self, "skip_set_certificate_authority")
|
|
1430
|
+
|
|
1431
|
+
@skip_set_certificate_authority.setter
|
|
1432
|
+
def skip_set_certificate_authority(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1433
|
+
pulumi.set(self, "skip_set_certificate_authority", value)
|
|
1434
|
+
|
|
1375
1435
|
@property
|
|
1376
1436
|
@pulumi.getter(name="slbId")
|
|
1377
1437
|
def slb_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -1579,6 +1639,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1579
1639
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1580
1640
|
service_account_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
1581
1641
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
1642
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1582
1643
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1583
1644
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1584
1645
|
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -1632,12 +1693,10 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1632
1693
|
:param str resource_name: The name of the resource.
|
|
1633
1694
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1634
1695
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesAddonArgs', 'ManagedKubernetesAddonArgsDict']]]] 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.
|
|
1635
|
-
|
|
1636
|
-
*Network params*
|
|
1637
1696
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
1638
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
1639
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
1640
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
1697
|
+
:param pulumi.Input[builtins.str] client_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-cert.pem) for replace it.
|
|
1698
|
+
:param pulumi.Input[builtins.str] client_key: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_key attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-key.pem) for replace it.
|
|
1699
|
+
:param pulumi.Input[builtins.str] cluster_ca_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.cluster_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.
|
|
1641
1700
|
|
|
1642
1701
|
*Removed params*
|
|
1643
1702
|
:param pulumi.Input[builtins.str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
|
|
@@ -1652,7 +1711,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1652
1711
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesDeleteOptionArgs', 'ManagedKubernetesDeleteOptionArgsDict']]]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
1653
1712
|
:param pulumi.Input[builtins.bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1654
1713
|
:param pulumi.Input[builtins.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).
|
|
1655
|
-
:param pulumi.Input[builtins.str] encryption_provider_key: The
|
|
1714
|
+
:param pulumi.Input[builtins.str] encryption_provider_key: The ID of the Key Management Service (KMS) key that is used to encrypt Kubernetes Secrets.
|
|
1656
1715
|
:param pulumi.Input[builtins.str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
1657
1716
|
:param pulumi.Input[builtins.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).
|
|
1658
1717
|
:param pulumi.Input[builtins.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.
|
|
@@ -1672,6 +1731,9 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1672
1731
|
* After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
1673
1732
|
:param pulumi.Input[builtins.str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
1674
1733
|
:param pulumi.Input[builtins.str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
1734
|
+
:param pulumi.Input[builtins.bool] skip_set_certificate_authority: Configure whether to save certificate authority data for your cluster to attribute `certificate_authority`. For cluster security, recommended configuration as `true`. Will be removed with attribute certificate_authority removed.
|
|
1735
|
+
|
|
1736
|
+
*Network params*
|
|
1675
1737
|
:param pulumi.Input[builtins.bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
1676
1738
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes. See `tags` below.
|
|
1677
1739
|
:param pulumi.Input[builtins.str] timezone: Cluster timezone, works for control plane and Worker nodes.
|
|
@@ -1784,6 +1846,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1784
1846
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1785
1847
|
service_account_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
1786
1848
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
1849
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1787
1850
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1788
1851
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1789
1852
|
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -1833,6 +1896,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1833
1896
|
__props__.__dict__["security_group_id"] = security_group_id
|
|
1834
1897
|
__props__.__dict__["service_account_issuer"] = service_account_issuer
|
|
1835
1898
|
__props__.__dict__["service_cidr"] = service_cidr
|
|
1899
|
+
__props__.__dict__["skip_set_certificate_authority"] = skip_set_certificate_authority
|
|
1836
1900
|
__props__.__dict__["slb_internet_enabled"] = slb_internet_enabled
|
|
1837
1901
|
__props__.__dict__["tags"] = tags
|
|
1838
1902
|
__props__.__dict__["timezone"] = timezone
|
|
@@ -1896,6 +1960,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1896
1960
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1897
1961
|
service_account_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
1898
1962
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
1963
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1899
1964
|
slb_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1900
1965
|
slb_internet: Optional[pulumi.Input[builtins.str]] = None,
|
|
1901
1966
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
@@ -1917,13 +1982,11 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1917
1982
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1918
1983
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1919
1984
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesAddonArgs', 'ManagedKubernetesAddonArgsDict']]]] 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.
|
|
1920
|
-
|
|
1921
|
-
*Network params*
|
|
1922
1985
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
1923
|
-
:param pulumi.Input[Union['ManagedKubernetesCertificateAuthorityArgs', 'ManagedKubernetesCertificateAuthorityArgsDict']] certificate_authority: (
|
|
1924
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
1925
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
1926
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
1986
|
+
:param pulumi.Input[Union['ManagedKubernetesCertificateAuthorityArgs', 'ManagedKubernetesCertificateAuthorityArgsDict']] certificate_authority: (Map, Deprecated from v1.248.0) Nested attribute containing certificate authority data for your cluster. Please use the attribute certificate_authority of new DataSource `cs_get_cluster_credential` to replace it.
|
|
1987
|
+
:param pulumi.Input[builtins.str] client_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-cert.pem) for replace it.
|
|
1988
|
+
:param pulumi.Input[builtins.str] client_key: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_key attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-key.pem) for replace it.
|
|
1989
|
+
:param pulumi.Input[builtins.str] cluster_ca_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.cluster_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.
|
|
1927
1990
|
|
|
1928
1991
|
*Removed params*
|
|
1929
1992
|
:param pulumi.Input[builtins.str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
|
|
@@ -1939,7 +2002,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1939
2002
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesDeleteOptionArgs', 'ManagedKubernetesDeleteOptionArgsDict']]]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
1940
2003
|
:param pulumi.Input[builtins.bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1941
2004
|
:param pulumi.Input[builtins.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).
|
|
1942
|
-
:param pulumi.Input[builtins.str] encryption_provider_key: The
|
|
2005
|
+
:param pulumi.Input[builtins.str] encryption_provider_key: The ID of the Key Management Service (KMS) key that is used to encrypt Kubernetes Secrets.
|
|
1943
2006
|
:param pulumi.Input[builtins.str] ip_stack: The IP address family that the cluster network uses. Valid values:
|
|
1944
2007
|
:param pulumi.Input[builtins.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).
|
|
1945
2008
|
:param pulumi.Input[builtins.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.
|
|
@@ -1961,6 +2024,9 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1961
2024
|
* After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group.
|
|
1962
2025
|
:param pulumi.Input[builtins.str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
|
|
1963
2026
|
:param pulumi.Input[builtins.str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
2027
|
+
:param pulumi.Input[builtins.bool] skip_set_certificate_authority: Configure whether to save certificate authority data for your cluster to attribute `certificate_authority`. For cluster security, recommended configuration as `true`. Will be removed with attribute certificate_authority removed.
|
|
2028
|
+
|
|
2029
|
+
*Network params*
|
|
1964
2030
|
:param pulumi.Input[builtins.str] slb_id: The ID of APIServer load balancer.
|
|
1965
2031
|
:param pulumi.Input[builtins.str] slb_internet: The public ip of load balancer.
|
|
1966
2032
|
:param pulumi.Input[builtins.bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true. Only works for **Create** Operation.
|
|
@@ -2024,6 +2090,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2024
2090
|
__props__.__dict__["security_group_id"] = security_group_id
|
|
2025
2091
|
__props__.__dict__["service_account_issuer"] = service_account_issuer
|
|
2026
2092
|
__props__.__dict__["service_cidr"] = service_cidr
|
|
2093
|
+
__props__.__dict__["skip_set_certificate_authority"] = skip_set_certificate_authority
|
|
2027
2094
|
__props__.__dict__["slb_id"] = slb_id
|
|
2028
2095
|
__props__.__dict__["slb_internet"] = slb_internet
|
|
2029
2096
|
__props__.__dict__["slb_internet_enabled"] = slb_internet_enabled
|
|
@@ -2044,8 +2111,6 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2044
2111
|
def addons(self) -> pulumi.Output[Optional[Sequence['outputs.ManagedKubernetesAddon']]]:
|
|
2045
2112
|
"""
|
|
2046
2113
|
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.
|
|
2047
|
-
|
|
2048
|
-
*Network params*
|
|
2049
2114
|
"""
|
|
2050
2115
|
return pulumi.get(self, "addons")
|
|
2051
2116
|
|
|
@@ -2059,33 +2124,37 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2059
2124
|
|
|
2060
2125
|
@property
|
|
2061
2126
|
@pulumi.getter(name="certificateAuthority")
|
|
2127
|
+
@_utilities.deprecated("""Field 'certificate_authority' has been deprecated from provider version 1.248.0. Please use the attribute 'certificate_authority' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
|
|
2062
2128
|
def certificate_authority(self) -> pulumi.Output['outputs.ManagedKubernetesCertificateAuthority']:
|
|
2063
2129
|
"""
|
|
2064
|
-
(
|
|
2130
|
+
(Map, Deprecated from v1.248.0) Nested attribute containing certificate authority data for your cluster. Please use the attribute certificate_authority of new DataSource `cs_get_cluster_credential` to replace it.
|
|
2065
2131
|
"""
|
|
2066
2132
|
return pulumi.get(self, "certificate_authority")
|
|
2067
2133
|
|
|
2068
2134
|
@property
|
|
2069
2135
|
@pulumi.getter(name="clientCert")
|
|
2136
|
+
@_utilities.deprecated("""Field 'client_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.""")
|
|
2070
2137
|
def client_cert(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2071
2138
|
"""
|
|
2072
|
-
|
|
2139
|
+
From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-cert.pem) for replace it.
|
|
2073
2140
|
"""
|
|
2074
2141
|
return pulumi.get(self, "client_cert")
|
|
2075
2142
|
|
|
2076
2143
|
@property
|
|
2077
2144
|
@pulumi.getter(name="clientKey")
|
|
2145
|
+
@_utilities.deprecated("""Field 'client_key' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_key' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-key.pem) for replace it.""")
|
|
2078
2146
|
def client_key(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2079
2147
|
"""
|
|
2080
|
-
|
|
2148
|
+
From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_key attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-key.pem) for replace it.
|
|
2081
2149
|
"""
|
|
2082
2150
|
return pulumi.get(self, "client_key")
|
|
2083
2151
|
|
|
2084
2152
|
@property
|
|
2085
2153
|
@pulumi.getter(name="clusterCaCert")
|
|
2154
|
+
@_utilities.deprecated("""Field 'cluster_ca_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.cluster_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.""")
|
|
2086
2155
|
def cluster_ca_cert(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2087
2156
|
"""
|
|
2088
|
-
|
|
2157
|
+
From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.cluster_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.
|
|
2089
2158
|
|
|
2090
2159
|
*Removed params*
|
|
2091
2160
|
"""
|
|
@@ -2178,7 +2247,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2178
2247
|
@pulumi.getter(name="encryptionProviderKey")
|
|
2179
2248
|
def encryption_provider_key(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2180
2249
|
"""
|
|
2181
|
-
The
|
|
2250
|
+
The ID of the Key Management Service (KMS) key that is used to encrypt Kubernetes Secrets.
|
|
2182
2251
|
"""
|
|
2183
2252
|
return pulumi.get(self, "encryption_provider_key")
|
|
2184
2253
|
|
|
@@ -2333,6 +2402,16 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
2333
2402
|
"""
|
|
2334
2403
|
return pulumi.get(self, "service_cidr")
|
|
2335
2404
|
|
|
2405
|
+
@property
|
|
2406
|
+
@pulumi.getter(name="skipSetCertificateAuthority")
|
|
2407
|
+
def skip_set_certificate_authority(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
2408
|
+
"""
|
|
2409
|
+
Configure whether to save certificate authority data for your cluster to attribute `certificate_authority`. For cluster security, recommended configuration as `true`. Will be removed with attribute certificate_authority removed.
|
|
2410
|
+
|
|
2411
|
+
*Network params*
|
|
2412
|
+
"""
|
|
2413
|
+
return pulumi.get(self, "skip_set_certificate_authority")
|
|
2414
|
+
|
|
2336
2415
|
@property
|
|
2337
2416
|
@pulumi.getter(name="slbId")
|
|
2338
2417
|
def slb_id(self) -> pulumi.Output[builtins.str]:
|