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
|
@@ -32,7 +32,6 @@ class EdgeKubernetesArgs:
|
|
|
32
32
|
cluster_ca_cert: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
33
|
cluster_spec: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
34
|
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
35
|
-
force_update: Optional[pulumi.Input[builtins.bool]] = None,
|
|
36
35
|
install_cloud_monitor: Optional[pulumi.Input[builtins.bool]] = None,
|
|
37
36
|
is_enterprise_security_group: Optional[pulumi.Input[builtins.bool]] = None,
|
|
38
37
|
key_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -52,6 +51,7 @@ class EdgeKubernetesArgs:
|
|
|
52
51
|
runtime: Optional[pulumi.Input['EdgeKubernetesRuntimeArgs']] = None,
|
|
53
52
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
54
53
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
54
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
55
55
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
56
56
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
57
57
|
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -69,22 +69,19 @@ class EdgeKubernetesArgs:
|
|
|
69
69
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] worker_vswitch_ids: The vswitches used by workers.
|
|
70
70
|
:param pulumi.Input[Sequence[pulumi.Input['EdgeKubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` below.
|
|
71
71
|
:param pulumi.Input[builtins.str] availability_zone: The ID of availability zone.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
:param pulumi.Input[builtins.str]
|
|
75
|
-
:param pulumi.Input[builtins.str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
76
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
72
|
+
: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.
|
|
73
|
+
: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.
|
|
74
|
+
: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.
|
|
77
75
|
|
|
78
76
|
*Removed params*
|
|
79
77
|
:param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
|
|
80
78
|
* ack.standard : Standard edge clusters.
|
|
81
79
|
* ack.pro.small : Professional edge clusters.
|
|
82
80
|
:param pulumi.Input[builtins.bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
83
|
-
:param pulumi.Input[builtins.bool] force_update: Default false, when you want to change `vpc_id`, you have to set this field to true, then the cluster will be recreated.
|
|
84
81
|
:param pulumi.Input[builtins.bool] install_cloud_monitor: Install cloud monitor agent on ECS. default: `true`.
|
|
85
82
|
:param pulumi.Input[builtins.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
83
|
:param pulumi.Input[builtins.str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
87
|
-
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like
|
|
84
|
+
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like ~/.kube/config. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
88
85
|
:param pulumi.Input[builtins.str] load_balancer_spec: The cluster api server load balance 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).
|
|
89
86
|
->NOTE: If you want to use `Flannel` as CNI network plugin, You need to specific the `pod_cidr` field and addons with `flannel`.
|
|
90
87
|
|
|
@@ -101,6 +98,9 @@ class EdgeKubernetesArgs:
|
|
|
101
98
|
:param pulumi.Input['EdgeKubernetesRuntimeArgs'] runtime: The runtime of containers. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm). See `runtime` below.
|
|
102
99
|
:param pulumi.Input[builtins.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.
|
|
103
100
|
: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.
|
|
101
|
+
: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.
|
|
102
|
+
|
|
103
|
+
*Network params*
|
|
104
104
|
:param pulumi.Input[builtins.bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
105
105
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work node.
|
|
106
106
|
:param pulumi.Input[builtins.str] user_data: Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket.
|
|
@@ -123,18 +123,25 @@ class EdgeKubernetesArgs:
|
|
|
123
123
|
pulumi.set(__self__, "addons", addons)
|
|
124
124
|
if availability_zone is not None:
|
|
125
125
|
pulumi.set(__self__, "availability_zone", availability_zone)
|
|
126
|
+
if client_cert is not None:
|
|
127
|
+
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)
|
|
128
|
+
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.""")
|
|
126
129
|
if client_cert is not None:
|
|
127
130
|
pulumi.set(__self__, "client_cert", client_cert)
|
|
131
|
+
if client_key is not None:
|
|
132
|
+
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)
|
|
133
|
+
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.""")
|
|
128
134
|
if client_key is not None:
|
|
129
135
|
pulumi.set(__self__, "client_key", client_key)
|
|
136
|
+
if cluster_ca_cert is not None:
|
|
137
|
+
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)
|
|
138
|
+
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.""")
|
|
130
139
|
if cluster_ca_cert is not None:
|
|
131
140
|
pulumi.set(__self__, "cluster_ca_cert", cluster_ca_cert)
|
|
132
141
|
if cluster_spec is not None:
|
|
133
142
|
pulumi.set(__self__, "cluster_spec", cluster_spec)
|
|
134
143
|
if deletion_protection is not None:
|
|
135
144
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
|
136
|
-
if force_update is not None:
|
|
137
|
-
pulumi.set(__self__, "force_update", force_update)
|
|
138
145
|
if install_cloud_monitor is not None:
|
|
139
146
|
pulumi.set(__self__, "install_cloud_monitor", install_cloud_monitor)
|
|
140
147
|
if is_enterprise_security_group is not None:
|
|
@@ -142,8 +149,8 @@ class EdgeKubernetesArgs:
|
|
|
142
149
|
if key_name is not None:
|
|
143
150
|
pulumi.set(__self__, "key_name", key_name)
|
|
144
151
|
if kube_config is not None:
|
|
145
|
-
warnings.warn("""Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
146
|
-
pulumi.log.warn("""kube_config is deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
152
|
+
warnings.warn("""Field 'kube_config' has been deprecated from provider version 1.187.0. Please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""", DeprecationWarning)
|
|
153
|
+
pulumi.log.warn("""kube_config is deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. Please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
|
|
147
154
|
if kube_config is not None:
|
|
148
155
|
pulumi.set(__self__, "kube_config", kube_config)
|
|
149
156
|
if load_balancer_spec is not None:
|
|
@@ -179,6 +186,8 @@ class EdgeKubernetesArgs:
|
|
|
179
186
|
pulumi.set(__self__, "security_group_id", security_group_id)
|
|
180
187
|
if service_cidr is not None:
|
|
181
188
|
pulumi.set(__self__, "service_cidr", service_cidr)
|
|
189
|
+
if skip_set_certificate_authority is not None:
|
|
190
|
+
pulumi.set(__self__, "skip_set_certificate_authority", skip_set_certificate_authority)
|
|
182
191
|
if slb_internet_enabled is not None:
|
|
183
192
|
pulumi.set(__self__, "slb_internet_enabled", slb_internet_enabled)
|
|
184
193
|
if tags is not None:
|
|
@@ -253,8 +262,6 @@ class EdgeKubernetesArgs:
|
|
|
253
262
|
def availability_zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
254
263
|
"""
|
|
255
264
|
The ID of availability zone.
|
|
256
|
-
|
|
257
|
-
*Network params*
|
|
258
265
|
"""
|
|
259
266
|
return pulumi.get(self, "availability_zone")
|
|
260
267
|
|
|
@@ -264,9 +271,10 @@ class EdgeKubernetesArgs:
|
|
|
264
271
|
|
|
265
272
|
@property
|
|
266
273
|
@pulumi.getter(name="clientCert")
|
|
274
|
+
@_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.""")
|
|
267
275
|
def client_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
268
276
|
"""
|
|
269
|
-
|
|
277
|
+
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.
|
|
270
278
|
"""
|
|
271
279
|
return pulumi.get(self, "client_cert")
|
|
272
280
|
|
|
@@ -276,9 +284,10 @@ class EdgeKubernetesArgs:
|
|
|
276
284
|
|
|
277
285
|
@property
|
|
278
286
|
@pulumi.getter(name="clientKey")
|
|
287
|
+
@_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.""")
|
|
279
288
|
def client_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
280
289
|
"""
|
|
281
|
-
|
|
290
|
+
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.
|
|
282
291
|
"""
|
|
283
292
|
return pulumi.get(self, "client_key")
|
|
284
293
|
|
|
@@ -288,9 +297,10 @@ class EdgeKubernetesArgs:
|
|
|
288
297
|
|
|
289
298
|
@property
|
|
290
299
|
@pulumi.getter(name="clusterCaCert")
|
|
300
|
+
@_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.""")
|
|
291
301
|
def cluster_ca_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
292
302
|
"""
|
|
293
|
-
|
|
303
|
+
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.
|
|
294
304
|
|
|
295
305
|
*Removed params*
|
|
296
306
|
"""
|
|
@@ -326,18 +336,6 @@ class EdgeKubernetesArgs:
|
|
|
326
336
|
def deletion_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
327
337
|
pulumi.set(self, "deletion_protection", value)
|
|
328
338
|
|
|
329
|
-
@property
|
|
330
|
-
@pulumi.getter(name="forceUpdate")
|
|
331
|
-
def force_update(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
332
|
-
"""
|
|
333
|
-
Default false, when you want to change `vpc_id`, you have to set this field to true, then the cluster will be recreated.
|
|
334
|
-
"""
|
|
335
|
-
return pulumi.get(self, "force_update")
|
|
336
|
-
|
|
337
|
-
@force_update.setter
|
|
338
|
-
def force_update(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
339
|
-
pulumi.set(self, "force_update", value)
|
|
340
|
-
|
|
341
339
|
@property
|
|
342
340
|
@pulumi.getter(name="installCloudMonitor")
|
|
343
341
|
def install_cloud_monitor(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -376,10 +374,10 @@ class EdgeKubernetesArgs:
|
|
|
376
374
|
|
|
377
375
|
@property
|
|
378
376
|
@pulumi.getter(name="kubeConfig")
|
|
379
|
-
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
377
|
+
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0. Please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
|
|
380
378
|
def kube_config(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
381
379
|
"""
|
|
382
|
-
The path of kube config, like
|
|
380
|
+
The path of kube config, like ~/.kube/config. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
383
381
|
"""
|
|
384
382
|
return pulumi.get(self, "kube_config")
|
|
385
383
|
|
|
@@ -565,6 +563,20 @@ class EdgeKubernetesArgs:
|
|
|
565
563
|
def service_cidr(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
566
564
|
pulumi.set(self, "service_cidr", value)
|
|
567
565
|
|
|
566
|
+
@property
|
|
567
|
+
@pulumi.getter(name="skipSetCertificateAuthority")
|
|
568
|
+
def skip_set_certificate_authority(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
569
|
+
"""
|
|
570
|
+
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.
|
|
571
|
+
|
|
572
|
+
*Network params*
|
|
573
|
+
"""
|
|
574
|
+
return pulumi.get(self, "skip_set_certificate_authority")
|
|
575
|
+
|
|
576
|
+
@skip_set_certificate_authority.setter
|
|
577
|
+
def skip_set_certificate_authority(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
578
|
+
pulumi.set(self, "skip_set_certificate_authority", value)
|
|
579
|
+
|
|
568
580
|
@property
|
|
569
581
|
@pulumi.getter(name="slbInternetEnabled")
|
|
570
582
|
def slb_internet_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -702,7 +714,6 @@ class _EdgeKubernetesState:
|
|
|
702
714
|
cluster_spec: Optional[pulumi.Input[builtins.str]] = None,
|
|
703
715
|
connections: Optional[pulumi.Input['EdgeKubernetesConnectionsArgs']] = None,
|
|
704
716
|
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
705
|
-
force_update: Optional[pulumi.Input[builtins.bool]] = None,
|
|
706
717
|
install_cloud_monitor: Optional[pulumi.Input[builtins.bool]] = None,
|
|
707
718
|
is_enterprise_security_group: Optional[pulumi.Input[builtins.bool]] = None,
|
|
708
719
|
key_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -723,6 +734,7 @@ class _EdgeKubernetesState:
|
|
|
723
734
|
runtime: Optional[pulumi.Input['EdgeKubernetesRuntimeArgs']] = None,
|
|
724
735
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
725
736
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
737
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
726
738
|
slb_internet: Optional[pulumi.Input[builtins.str]] = None,
|
|
727
739
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
728
740
|
slb_intranet: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -745,12 +757,10 @@ class _EdgeKubernetesState:
|
|
|
745
757
|
Input properties used for looking up and filtering EdgeKubernetes resources.
|
|
746
758
|
:param pulumi.Input[Sequence[pulumi.Input['EdgeKubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` below.
|
|
747
759
|
:param pulumi.Input[builtins.str] availability_zone: The ID of availability zone.
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
:param pulumi.Input[
|
|
751
|
-
:param pulumi.Input[builtins.str]
|
|
752
|
-
:param pulumi.Input[builtins.str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
753
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
760
|
+
:param pulumi.Input['EdgeKubernetesCertificateAuthorityArgs'] 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.
|
|
761
|
+
: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.
|
|
762
|
+
: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.
|
|
763
|
+
: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.
|
|
754
764
|
|
|
755
765
|
*Removed params*
|
|
756
766
|
:param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
|
|
@@ -758,11 +768,10 @@ class _EdgeKubernetesState:
|
|
|
758
768
|
* ack.pro.small : Professional edge clusters.
|
|
759
769
|
:param pulumi.Input['EdgeKubernetesConnectionsArgs'] connections: (Map) Map of kubernetes cluster connection information.
|
|
760
770
|
:param pulumi.Input[builtins.bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
761
|
-
:param pulumi.Input[builtins.bool] force_update: Default false, when you want to change `vpc_id`, you have to set this field to true, then the cluster will be recreated.
|
|
762
771
|
:param pulumi.Input[builtins.bool] install_cloud_monitor: Install cloud monitor agent on ECS. default: `true`.
|
|
763
772
|
:param pulumi.Input[builtins.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).
|
|
764
773
|
:param pulumi.Input[builtins.str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
765
|
-
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like
|
|
774
|
+
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like ~/.kube/config. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
766
775
|
:param pulumi.Input[builtins.str] load_balancer_spec: The cluster api server load balance 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).
|
|
767
776
|
->NOTE: If you want to use `Flannel` as CNI network plugin, You need to specific the `pod_cidr` field and addons with `flannel`.
|
|
768
777
|
|
|
@@ -780,6 +789,9 @@ class _EdgeKubernetesState:
|
|
|
780
789
|
:param pulumi.Input['EdgeKubernetesRuntimeArgs'] runtime: The runtime of containers. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm). See `runtime` below.
|
|
781
790
|
:param pulumi.Input[builtins.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.
|
|
782
791
|
: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.
|
|
792
|
+
: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.
|
|
793
|
+
|
|
794
|
+
*Network params*
|
|
783
795
|
:param pulumi.Input[builtins.str] slb_internet: The public ip of load balancer.
|
|
784
796
|
:param pulumi.Input[builtins.bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
785
797
|
:param pulumi.Input[builtins.str] slb_intranet: The ID of private load balancer where the current cluster master node is located.
|
|
@@ -807,12 +819,24 @@ class _EdgeKubernetesState:
|
|
|
807
819
|
pulumi.set(__self__, "addons", addons)
|
|
808
820
|
if availability_zone is not None:
|
|
809
821
|
pulumi.set(__self__, "availability_zone", availability_zone)
|
|
822
|
+
if certificate_authority is not None:
|
|
823
|
+
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)
|
|
824
|
+
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.""")
|
|
810
825
|
if certificate_authority is not None:
|
|
811
826
|
pulumi.set(__self__, "certificate_authority", certificate_authority)
|
|
827
|
+
if client_cert is not None:
|
|
828
|
+
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)
|
|
829
|
+
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.""")
|
|
812
830
|
if client_cert is not None:
|
|
813
831
|
pulumi.set(__self__, "client_cert", client_cert)
|
|
832
|
+
if client_key is not None:
|
|
833
|
+
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)
|
|
834
|
+
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.""")
|
|
814
835
|
if client_key is not None:
|
|
815
836
|
pulumi.set(__self__, "client_key", client_key)
|
|
837
|
+
if cluster_ca_cert is not None:
|
|
838
|
+
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)
|
|
839
|
+
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.""")
|
|
816
840
|
if cluster_ca_cert is not None:
|
|
817
841
|
pulumi.set(__self__, "cluster_ca_cert", cluster_ca_cert)
|
|
818
842
|
if cluster_spec is not None:
|
|
@@ -821,8 +845,6 @@ class _EdgeKubernetesState:
|
|
|
821
845
|
pulumi.set(__self__, "connections", connections)
|
|
822
846
|
if deletion_protection is not None:
|
|
823
847
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
|
824
|
-
if force_update is not None:
|
|
825
|
-
pulumi.set(__self__, "force_update", force_update)
|
|
826
848
|
if install_cloud_monitor is not None:
|
|
827
849
|
pulumi.set(__self__, "install_cloud_monitor", install_cloud_monitor)
|
|
828
850
|
if is_enterprise_security_group is not None:
|
|
@@ -830,8 +852,8 @@ class _EdgeKubernetesState:
|
|
|
830
852
|
if key_name is not None:
|
|
831
853
|
pulumi.set(__self__, "key_name", key_name)
|
|
832
854
|
if kube_config is not None:
|
|
833
|
-
warnings.warn("""Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
834
|
-
pulumi.log.warn("""kube_config is deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
855
|
+
warnings.warn("""Field 'kube_config' has been deprecated from provider version 1.187.0. Please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""", DeprecationWarning)
|
|
856
|
+
pulumi.log.warn("""kube_config is deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. Please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
|
|
835
857
|
if kube_config is not None:
|
|
836
858
|
pulumi.set(__self__, "kube_config", kube_config)
|
|
837
859
|
if load_balancer_spec is not None:
|
|
@@ -869,6 +891,8 @@ class _EdgeKubernetesState:
|
|
|
869
891
|
pulumi.set(__self__, "security_group_id", security_group_id)
|
|
870
892
|
if service_cidr is not None:
|
|
871
893
|
pulumi.set(__self__, "service_cidr", service_cidr)
|
|
894
|
+
if skip_set_certificate_authority is not None:
|
|
895
|
+
pulumi.set(__self__, "skip_set_certificate_authority", skip_set_certificate_authority)
|
|
872
896
|
if slb_internet is not None:
|
|
873
897
|
pulumi.set(__self__, "slb_internet", slb_internet)
|
|
874
898
|
if slb_internet_enabled is not None:
|
|
@@ -923,8 +947,6 @@ class _EdgeKubernetesState:
|
|
|
923
947
|
def availability_zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
924
948
|
"""
|
|
925
949
|
The ID of availability zone.
|
|
926
|
-
|
|
927
|
-
*Network params*
|
|
928
950
|
"""
|
|
929
951
|
return pulumi.get(self, "availability_zone")
|
|
930
952
|
|
|
@@ -934,9 +956,10 @@ class _EdgeKubernetesState:
|
|
|
934
956
|
|
|
935
957
|
@property
|
|
936
958
|
@pulumi.getter(name="certificateAuthority")
|
|
959
|
+
@_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.""")
|
|
937
960
|
def certificate_authority(self) -> Optional[pulumi.Input['EdgeKubernetesCertificateAuthorityArgs']]:
|
|
938
961
|
"""
|
|
939
|
-
(Map,
|
|
962
|
+
(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.
|
|
940
963
|
"""
|
|
941
964
|
return pulumi.get(self, "certificate_authority")
|
|
942
965
|
|
|
@@ -946,9 +969,10 @@ class _EdgeKubernetesState:
|
|
|
946
969
|
|
|
947
970
|
@property
|
|
948
971
|
@pulumi.getter(name="clientCert")
|
|
972
|
+
@_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.""")
|
|
949
973
|
def client_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
950
974
|
"""
|
|
951
|
-
|
|
975
|
+
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.
|
|
952
976
|
"""
|
|
953
977
|
return pulumi.get(self, "client_cert")
|
|
954
978
|
|
|
@@ -958,9 +982,10 @@ class _EdgeKubernetesState:
|
|
|
958
982
|
|
|
959
983
|
@property
|
|
960
984
|
@pulumi.getter(name="clientKey")
|
|
985
|
+
@_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.""")
|
|
961
986
|
def client_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
962
987
|
"""
|
|
963
|
-
|
|
988
|
+
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.
|
|
964
989
|
"""
|
|
965
990
|
return pulumi.get(self, "client_key")
|
|
966
991
|
|
|
@@ -970,9 +995,10 @@ class _EdgeKubernetesState:
|
|
|
970
995
|
|
|
971
996
|
@property
|
|
972
997
|
@pulumi.getter(name="clusterCaCert")
|
|
998
|
+
@_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.""")
|
|
973
999
|
def cluster_ca_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
974
1000
|
"""
|
|
975
|
-
|
|
1001
|
+
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.
|
|
976
1002
|
|
|
977
1003
|
*Removed params*
|
|
978
1004
|
"""
|
|
@@ -1020,18 +1046,6 @@ class _EdgeKubernetesState:
|
|
|
1020
1046
|
def deletion_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1021
1047
|
pulumi.set(self, "deletion_protection", value)
|
|
1022
1048
|
|
|
1023
|
-
@property
|
|
1024
|
-
@pulumi.getter(name="forceUpdate")
|
|
1025
|
-
def force_update(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1026
|
-
"""
|
|
1027
|
-
Default false, when you want to change `vpc_id`, you have to set this field to true, then the cluster will be recreated.
|
|
1028
|
-
"""
|
|
1029
|
-
return pulumi.get(self, "force_update")
|
|
1030
|
-
|
|
1031
|
-
@force_update.setter
|
|
1032
|
-
def force_update(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1033
|
-
pulumi.set(self, "force_update", value)
|
|
1034
|
-
|
|
1035
1049
|
@property
|
|
1036
1050
|
@pulumi.getter(name="installCloudMonitor")
|
|
1037
1051
|
def install_cloud_monitor(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -1070,10 +1084,10 @@ class _EdgeKubernetesState:
|
|
|
1070
1084
|
|
|
1071
1085
|
@property
|
|
1072
1086
|
@pulumi.getter(name="kubeConfig")
|
|
1073
|
-
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
1087
|
+
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0. Please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
|
|
1074
1088
|
def kube_config(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1075
1089
|
"""
|
|
1076
|
-
The path of kube config, like
|
|
1090
|
+
The path of kube config, like ~/.kube/config. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
1077
1091
|
"""
|
|
1078
1092
|
return pulumi.get(self, "kube_config")
|
|
1079
1093
|
|
|
@@ -1271,6 +1285,20 @@ class _EdgeKubernetesState:
|
|
|
1271
1285
|
def service_cidr(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1272
1286
|
pulumi.set(self, "service_cidr", value)
|
|
1273
1287
|
|
|
1288
|
+
@property
|
|
1289
|
+
@pulumi.getter(name="skipSetCertificateAuthority")
|
|
1290
|
+
def skip_set_certificate_authority(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1291
|
+
"""
|
|
1292
|
+
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.
|
|
1293
|
+
|
|
1294
|
+
*Network params*
|
|
1295
|
+
"""
|
|
1296
|
+
return pulumi.get(self, "skip_set_certificate_authority")
|
|
1297
|
+
|
|
1298
|
+
@skip_set_certificate_authority.setter
|
|
1299
|
+
def skip_set_certificate_authority(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1300
|
+
pulumi.set(self, "skip_set_certificate_authority", value)
|
|
1301
|
+
|
|
1274
1302
|
@property
|
|
1275
1303
|
@pulumi.getter(name="slbInternet")
|
|
1276
1304
|
def slb_internet(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -1507,7 +1535,6 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1507
1535
|
cluster_ca_cert: Optional[pulumi.Input[builtins.str]] = None,
|
|
1508
1536
|
cluster_spec: Optional[pulumi.Input[builtins.str]] = None,
|
|
1509
1537
|
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1510
|
-
force_update: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1511
1538
|
install_cloud_monitor: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1512
1539
|
is_enterprise_security_group: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1513
1540
|
key_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -1527,6 +1554,7 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1527
1554
|
runtime: Optional[pulumi.Input[Union['EdgeKubernetesRuntimeArgs', 'EdgeKubernetesRuntimeArgsDict']]] = None,
|
|
1528
1555
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1529
1556
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
1557
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1530
1558
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1531
1559
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1532
1560
|
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -1601,6 +1629,7 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1601
1629
|
install_cloud_monitor=True,
|
|
1602
1630
|
slb_internet_enabled=True,
|
|
1603
1631
|
is_enterprise_security_group=True,
|
|
1632
|
+
skip_set_certificate_authority=True,
|
|
1604
1633
|
worker_data_disks=[{
|
|
1605
1634
|
"category": "cloud_ssd",
|
|
1606
1635
|
"size": "200",
|
|
@@ -1647,6 +1676,7 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1647
1676
|
install_cloud_monitor=True,
|
|
1648
1677
|
slb_internet_enabled=True,
|
|
1649
1678
|
is_enterprise_security_group=True,
|
|
1679
|
+
skip_set_certificate_authority=True,
|
|
1650
1680
|
worker_data_disks=[{
|
|
1651
1681
|
"category": "cloud_ssd",
|
|
1652
1682
|
"size": "200",
|
|
@@ -1666,22 +1696,19 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1666
1696
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1667
1697
|
:param pulumi.Input[Sequence[pulumi.Input[Union['EdgeKubernetesAddonArgs', 'EdgeKubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` below.
|
|
1668
1698
|
:param pulumi.Input[builtins.str] availability_zone: The ID of availability zone.
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
:param pulumi.Input[builtins.str]
|
|
1672
|
-
:param pulumi.Input[builtins.str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
1673
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
1699
|
+
: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.
|
|
1700
|
+
: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.
|
|
1701
|
+
: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.
|
|
1674
1702
|
|
|
1675
1703
|
*Removed params*
|
|
1676
1704
|
:param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
|
|
1677
1705
|
* ack.standard : Standard edge clusters.
|
|
1678
1706
|
* ack.pro.small : Professional edge clusters.
|
|
1679
1707
|
:param pulumi.Input[builtins.bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1680
|
-
:param pulumi.Input[builtins.bool] force_update: Default false, when you want to change `vpc_id`, you have to set this field to true, then the cluster will be recreated.
|
|
1681
1708
|
:param pulumi.Input[builtins.bool] install_cloud_monitor: Install cloud monitor agent on ECS. default: `true`.
|
|
1682
1709
|
:param pulumi.Input[builtins.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).
|
|
1683
1710
|
:param pulumi.Input[builtins.str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
1684
|
-
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like
|
|
1711
|
+
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like ~/.kube/config. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
1685
1712
|
:param pulumi.Input[builtins.str] load_balancer_spec: The cluster api server load balance 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).
|
|
1686
1713
|
->NOTE: If you want to use `Flannel` as CNI network plugin, You need to specific the `pod_cidr` field and addons with `flannel`.
|
|
1687
1714
|
|
|
@@ -1698,6 +1725,9 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1698
1725
|
:param pulumi.Input[Union['EdgeKubernetesRuntimeArgs', 'EdgeKubernetesRuntimeArgsDict']] runtime: The runtime of containers. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm). See `runtime` below.
|
|
1699
1726
|
:param pulumi.Input[builtins.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.
|
|
1700
1727
|
: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.
|
|
1728
|
+
: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.
|
|
1729
|
+
|
|
1730
|
+
*Network params*
|
|
1701
1731
|
:param pulumi.Input[builtins.bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
1702
1732
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work node.
|
|
1703
1733
|
:param pulumi.Input[builtins.str] user_data: Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket.
|
|
@@ -1782,6 +1812,7 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1782
1812
|
install_cloud_monitor=True,
|
|
1783
1813
|
slb_internet_enabled=True,
|
|
1784
1814
|
is_enterprise_security_group=True,
|
|
1815
|
+
skip_set_certificate_authority=True,
|
|
1785
1816
|
worker_data_disks=[{
|
|
1786
1817
|
"category": "cloud_ssd",
|
|
1787
1818
|
"size": "200",
|
|
@@ -1828,6 +1859,7 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1828
1859
|
install_cloud_monitor=True,
|
|
1829
1860
|
slb_internet_enabled=True,
|
|
1830
1861
|
is_enterprise_security_group=True,
|
|
1862
|
+
skip_set_certificate_authority=True,
|
|
1831
1863
|
worker_data_disks=[{
|
|
1832
1864
|
"category": "cloud_ssd",
|
|
1833
1865
|
"size": "200",
|
|
@@ -1865,7 +1897,6 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1865
1897
|
cluster_ca_cert: Optional[pulumi.Input[builtins.str]] = None,
|
|
1866
1898
|
cluster_spec: Optional[pulumi.Input[builtins.str]] = None,
|
|
1867
1899
|
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1868
|
-
force_update: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1869
1900
|
install_cloud_monitor: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1870
1901
|
is_enterprise_security_group: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1871
1902
|
key_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -1885,6 +1916,7 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1885
1916
|
runtime: Optional[pulumi.Input[Union['EdgeKubernetesRuntimeArgs', 'EdgeKubernetesRuntimeArgsDict']]] = None,
|
|
1886
1917
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1887
1918
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
1919
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1888
1920
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1889
1921
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1890
1922
|
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -1914,7 +1946,6 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1914
1946
|
__props__.__dict__["cluster_ca_cert"] = cluster_ca_cert
|
|
1915
1947
|
__props__.__dict__["cluster_spec"] = cluster_spec
|
|
1916
1948
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
1917
|
-
__props__.__dict__["force_update"] = force_update
|
|
1918
1949
|
__props__.__dict__["install_cloud_monitor"] = install_cloud_monitor
|
|
1919
1950
|
__props__.__dict__["is_enterprise_security_group"] = is_enterprise_security_group
|
|
1920
1951
|
__props__.__dict__["key_name"] = key_name
|
|
@@ -1934,6 +1965,7 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1934
1965
|
__props__.__dict__["runtime"] = runtime
|
|
1935
1966
|
__props__.__dict__["security_group_id"] = security_group_id
|
|
1936
1967
|
__props__.__dict__["service_cidr"] = service_cidr
|
|
1968
|
+
__props__.__dict__["skip_set_certificate_authority"] = skip_set_certificate_authority
|
|
1937
1969
|
__props__.__dict__["slb_internet_enabled"] = slb_internet_enabled
|
|
1938
1970
|
__props__.__dict__["tags"] = tags
|
|
1939
1971
|
__props__.__dict__["user_data"] = user_data
|
|
@@ -1982,7 +2014,6 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
1982
2014
|
cluster_spec: Optional[pulumi.Input[builtins.str]] = None,
|
|
1983
2015
|
connections: Optional[pulumi.Input[Union['EdgeKubernetesConnectionsArgs', 'EdgeKubernetesConnectionsArgsDict']]] = None,
|
|
1984
2016
|
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1985
|
-
force_update: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1986
2017
|
install_cloud_monitor: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1987
2018
|
is_enterprise_security_group: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1988
2019
|
key_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -2003,6 +2034,7 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
2003
2034
|
runtime: Optional[pulumi.Input[Union['EdgeKubernetesRuntimeArgs', 'EdgeKubernetesRuntimeArgsDict']]] = None,
|
|
2004
2035
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
2005
2036
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
2037
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2006
2038
|
slb_internet: Optional[pulumi.Input[builtins.str]] = None,
|
|
2007
2039
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2008
2040
|
slb_intranet: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -2030,12 +2062,10 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
2030
2062
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
2031
2063
|
:param pulumi.Input[Sequence[pulumi.Input[Union['EdgeKubernetesAddonArgs', 'EdgeKubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` below.
|
|
2032
2064
|
:param pulumi.Input[builtins.str] availability_zone: The ID of availability zone.
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
:param pulumi.Input[
|
|
2036
|
-
:param pulumi.Input[builtins.str]
|
|
2037
|
-
:param pulumi.Input[builtins.str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
2038
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
2065
|
+
:param pulumi.Input[Union['EdgeKubernetesCertificateAuthorityArgs', 'EdgeKubernetesCertificateAuthorityArgsDict']] 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.
|
|
2066
|
+
: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.
|
|
2067
|
+
: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.
|
|
2068
|
+
: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.
|
|
2039
2069
|
|
|
2040
2070
|
*Removed params*
|
|
2041
2071
|
:param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
|
|
@@ -2043,11 +2073,10 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
2043
2073
|
* ack.pro.small : Professional edge clusters.
|
|
2044
2074
|
:param pulumi.Input[Union['EdgeKubernetesConnectionsArgs', 'EdgeKubernetesConnectionsArgsDict']] connections: (Map) Map of kubernetes cluster connection information.
|
|
2045
2075
|
:param pulumi.Input[builtins.bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
2046
|
-
:param pulumi.Input[builtins.bool] force_update: Default false, when you want to change `vpc_id`, you have to set this field to true, then the cluster will be recreated.
|
|
2047
2076
|
:param pulumi.Input[builtins.bool] install_cloud_monitor: Install cloud monitor agent on ECS. default: `true`.
|
|
2048
2077
|
:param pulumi.Input[builtins.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).
|
|
2049
2078
|
:param pulumi.Input[builtins.str] key_name: The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `key_name` `kms_encrypted_password` fields.
|
|
2050
|
-
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like
|
|
2079
|
+
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like ~/.kube/config. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
2051
2080
|
:param pulumi.Input[builtins.str] load_balancer_spec: The cluster api server load balance 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).
|
|
2052
2081
|
->NOTE: If you want to use `Flannel` as CNI network plugin, You need to specific the `pod_cidr` field and addons with `flannel`.
|
|
2053
2082
|
|
|
@@ -2065,6 +2094,9 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
2065
2094
|
:param pulumi.Input[Union['EdgeKubernetesRuntimeArgs', 'EdgeKubernetesRuntimeArgsDict']] runtime: The runtime of containers. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm). See `runtime` below.
|
|
2066
2095
|
:param pulumi.Input[builtins.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.
|
|
2067
2096
|
: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.
|
|
2097
|
+
: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.
|
|
2098
|
+
|
|
2099
|
+
*Network params*
|
|
2068
2100
|
:param pulumi.Input[builtins.str] slb_internet: The public ip of load balancer.
|
|
2069
2101
|
:param pulumi.Input[builtins.bool] slb_internet_enabled: Whether to create internet load balancer for API Server. Default to true.
|
|
2070
2102
|
:param pulumi.Input[builtins.str] slb_intranet: The ID of private load balancer where the current cluster master node is located.
|
|
@@ -2101,7 +2133,6 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
2101
2133
|
__props__.__dict__["cluster_spec"] = cluster_spec
|
|
2102
2134
|
__props__.__dict__["connections"] = connections
|
|
2103
2135
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
2104
|
-
__props__.__dict__["force_update"] = force_update
|
|
2105
2136
|
__props__.__dict__["install_cloud_monitor"] = install_cloud_monitor
|
|
2106
2137
|
__props__.__dict__["is_enterprise_security_group"] = is_enterprise_security_group
|
|
2107
2138
|
__props__.__dict__["key_name"] = key_name
|
|
@@ -2122,6 +2153,7 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
2122
2153
|
__props__.__dict__["runtime"] = runtime
|
|
2123
2154
|
__props__.__dict__["security_group_id"] = security_group_id
|
|
2124
2155
|
__props__.__dict__["service_cidr"] = service_cidr
|
|
2156
|
+
__props__.__dict__["skip_set_certificate_authority"] = skip_set_certificate_authority
|
|
2125
2157
|
__props__.__dict__["slb_internet"] = slb_internet
|
|
2126
2158
|
__props__.__dict__["slb_internet_enabled"] = slb_internet_enabled
|
|
2127
2159
|
__props__.__dict__["slb_intranet"] = slb_intranet
|
|
@@ -2155,40 +2187,42 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
2155
2187
|
def availability_zone(self) -> pulumi.Output[builtins.str]:
|
|
2156
2188
|
"""
|
|
2157
2189
|
The ID of availability zone.
|
|
2158
|
-
|
|
2159
|
-
*Network params*
|
|
2160
2190
|
"""
|
|
2161
2191
|
return pulumi.get(self, "availability_zone")
|
|
2162
2192
|
|
|
2163
2193
|
@property
|
|
2164
2194
|
@pulumi.getter(name="certificateAuthority")
|
|
2195
|
+
@_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.""")
|
|
2165
2196
|
def certificate_authority(self) -> pulumi.Output['outputs.EdgeKubernetesCertificateAuthority']:
|
|
2166
2197
|
"""
|
|
2167
|
-
(Map,
|
|
2198
|
+
(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.
|
|
2168
2199
|
"""
|
|
2169
2200
|
return pulumi.get(self, "certificate_authority")
|
|
2170
2201
|
|
|
2171
2202
|
@property
|
|
2172
2203
|
@pulumi.getter(name="clientCert")
|
|
2204
|
+
@_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.""")
|
|
2173
2205
|
def client_cert(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2174
2206
|
"""
|
|
2175
|
-
|
|
2207
|
+
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.
|
|
2176
2208
|
"""
|
|
2177
2209
|
return pulumi.get(self, "client_cert")
|
|
2178
2210
|
|
|
2179
2211
|
@property
|
|
2180
2212
|
@pulumi.getter(name="clientKey")
|
|
2213
|
+
@_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.""")
|
|
2181
2214
|
def client_key(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2182
2215
|
"""
|
|
2183
|
-
|
|
2216
|
+
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.
|
|
2184
2217
|
"""
|
|
2185
2218
|
return pulumi.get(self, "client_key")
|
|
2186
2219
|
|
|
2187
2220
|
@property
|
|
2188
2221
|
@pulumi.getter(name="clusterCaCert")
|
|
2222
|
+
@_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.""")
|
|
2189
2223
|
def cluster_ca_cert(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2190
2224
|
"""
|
|
2191
|
-
|
|
2225
|
+
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.
|
|
2192
2226
|
|
|
2193
2227
|
*Removed params*
|
|
2194
2228
|
"""
|
|
@@ -2220,14 +2254,6 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
2220
2254
|
"""
|
|
2221
2255
|
return pulumi.get(self, "deletion_protection")
|
|
2222
2256
|
|
|
2223
|
-
@property
|
|
2224
|
-
@pulumi.getter(name="forceUpdate")
|
|
2225
|
-
def force_update(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
2226
|
-
"""
|
|
2227
|
-
Default false, when you want to change `vpc_id`, you have to set this field to true, then the cluster will be recreated.
|
|
2228
|
-
"""
|
|
2229
|
-
return pulumi.get(self, "force_update")
|
|
2230
|
-
|
|
2231
2257
|
@property
|
|
2232
2258
|
@pulumi.getter(name="installCloudMonitor")
|
|
2233
2259
|
def install_cloud_monitor(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
@@ -2254,10 +2280,10 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
2254
2280
|
|
|
2255
2281
|
@property
|
|
2256
2282
|
@pulumi.getter(name="kubeConfig")
|
|
2257
|
-
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
2283
|
+
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0. Please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
|
|
2258
2284
|
def kube_config(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2259
2285
|
"""
|
|
2260
|
-
The path of kube config, like
|
|
2286
|
+
The path of kube config, like ~/.kube/config. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
2261
2287
|
"""
|
|
2262
2288
|
return pulumi.get(self, "kube_config")
|
|
2263
2289
|
|
|
@@ -2387,6 +2413,16 @@ class EdgeKubernetes(pulumi.CustomResource):
|
|
|
2387
2413
|
"""
|
|
2388
2414
|
return pulumi.get(self, "service_cidr")
|
|
2389
2415
|
|
|
2416
|
+
@property
|
|
2417
|
+
@pulumi.getter(name="skipSetCertificateAuthority")
|
|
2418
|
+
def skip_set_certificate_authority(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
2419
|
+
"""
|
|
2420
|
+
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.
|
|
2421
|
+
|
|
2422
|
+
*Network params*
|
|
2423
|
+
"""
|
|
2424
|
+
return pulumi.get(self, "skip_set_certificate_authority")
|
|
2425
|
+
|
|
2390
2426
|
@property
|
|
2391
2427
|
@pulumi.getter(name="slbInternet")
|
|
2392
2428
|
def slb_internet(self) -> pulumi.Output[builtins.str]:
|