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
|
@@ -28,7 +28,7 @@ class GetKubernetesNodePoolsResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getKubernetesNodePools.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, cluster_id=None, id=None, ids=None, nodepools=None, output_file=None):
|
|
31
|
+
def __init__(__self__, cluster_id=None, id=None, ids=None, node_pool_name=None, nodepools=None, output_file=None):
|
|
32
32
|
if cluster_id and not isinstance(cluster_id, str):
|
|
33
33
|
raise TypeError("Expected argument 'cluster_id' to be a str")
|
|
34
34
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
@@ -38,6 +38,9 @@ class GetKubernetesNodePoolsResult:
|
|
|
38
38
|
if ids and not isinstance(ids, list):
|
|
39
39
|
raise TypeError("Expected argument 'ids' to be a list")
|
|
40
40
|
pulumi.set(__self__, "ids", ids)
|
|
41
|
+
if node_pool_name and not isinstance(node_pool_name, str):
|
|
42
|
+
raise TypeError("Expected argument 'node_pool_name' to be a str")
|
|
43
|
+
pulumi.set(__self__, "node_pool_name", node_pool_name)
|
|
41
44
|
if nodepools and not isinstance(nodepools, list):
|
|
42
45
|
raise TypeError("Expected argument 'nodepools' to be a list")
|
|
43
46
|
pulumi.set(__self__, "nodepools", nodepools)
|
|
@@ -66,6 +69,14 @@ class GetKubernetesNodePoolsResult:
|
|
|
66
69
|
"""
|
|
67
70
|
return pulumi.get(self, "ids")
|
|
68
71
|
|
|
72
|
+
@property
|
|
73
|
+
@pulumi.getter(name="nodePoolName")
|
|
74
|
+
def node_pool_name(self) -> Optional[builtins.str]:
|
|
75
|
+
"""
|
|
76
|
+
The name of node pool.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "node_pool_name")
|
|
79
|
+
|
|
69
80
|
@property
|
|
70
81
|
@pulumi.getter
|
|
71
82
|
def nodepools(self) -> Sequence['outputs.GetKubernetesNodePoolsNodepoolResult']:
|
|
@@ -89,12 +100,14 @@ class AwaitableGetKubernetesNodePoolsResult(GetKubernetesNodePoolsResult):
|
|
|
89
100
|
cluster_id=self.cluster_id,
|
|
90
101
|
id=self.id,
|
|
91
102
|
ids=self.ids,
|
|
103
|
+
node_pool_name=self.node_pool_name,
|
|
92
104
|
nodepools=self.nodepools,
|
|
93
105
|
output_file=self.output_file)
|
|
94
106
|
|
|
95
107
|
|
|
96
108
|
def get_kubernetes_node_pools(cluster_id: Optional[builtins.str] = None,
|
|
97
109
|
ids: Optional[Sequence[builtins.str]] = None,
|
|
110
|
+
node_pool_name: Optional[builtins.str] = None,
|
|
98
111
|
output_file: Optional[builtins.str] = None,
|
|
99
112
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKubernetesNodePoolsResult:
|
|
100
113
|
"""
|
|
@@ -105,11 +118,13 @@ def get_kubernetes_node_pools(cluster_id: Optional[builtins.str] = None,
|
|
|
105
118
|
|
|
106
119
|
:param builtins.str cluster_id: The id of kubernetes cluster.
|
|
107
120
|
:param Sequence[builtins.str] ids: A list of Nodepool IDs.
|
|
121
|
+
:param builtins.str node_pool_name: The name of node pool.
|
|
108
122
|
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
109
123
|
"""
|
|
110
124
|
__args__ = dict()
|
|
111
125
|
__args__['clusterId'] = cluster_id
|
|
112
126
|
__args__['ids'] = ids
|
|
127
|
+
__args__['nodePoolName'] = node_pool_name
|
|
113
128
|
__args__['outputFile'] = output_file
|
|
114
129
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
115
130
|
__ret__ = pulumi.runtime.invoke('alicloud:cs/getKubernetesNodePools:getKubernetesNodePools', __args__, opts=opts, typ=GetKubernetesNodePoolsResult).value
|
|
@@ -118,10 +133,12 @@ def get_kubernetes_node_pools(cluster_id: Optional[builtins.str] = None,
|
|
|
118
133
|
cluster_id=pulumi.get(__ret__, 'cluster_id'),
|
|
119
134
|
id=pulumi.get(__ret__, 'id'),
|
|
120
135
|
ids=pulumi.get(__ret__, 'ids'),
|
|
136
|
+
node_pool_name=pulumi.get(__ret__, 'node_pool_name'),
|
|
121
137
|
nodepools=pulumi.get(__ret__, 'nodepools'),
|
|
122
138
|
output_file=pulumi.get(__ret__, 'output_file'))
|
|
123
139
|
def get_kubernetes_node_pools_output(cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
124
140
|
ids: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
141
|
+
node_pool_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
125
142
|
output_file: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
126
143
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKubernetesNodePoolsResult]:
|
|
127
144
|
"""
|
|
@@ -132,11 +149,13 @@ def get_kubernetes_node_pools_output(cluster_id: Optional[pulumi.Input[builtins.
|
|
|
132
149
|
|
|
133
150
|
:param builtins.str cluster_id: The id of kubernetes cluster.
|
|
134
151
|
:param Sequence[builtins.str] ids: A list of Nodepool IDs.
|
|
152
|
+
:param builtins.str node_pool_name: The name of node pool.
|
|
135
153
|
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
136
154
|
"""
|
|
137
155
|
__args__ = dict()
|
|
138
156
|
__args__['clusterId'] = cluster_id
|
|
139
157
|
__args__['ids'] = ids
|
|
158
|
+
__args__['nodePoolName'] = node_pool_name
|
|
140
159
|
__args__['outputFile'] = output_file
|
|
141
160
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
142
161
|
__ret__ = pulumi.runtime.invoke_output('alicloud:cs/getKubernetesNodePools:getKubernetesNodePools', __args__, opts=opts, typ=GetKubernetesNodePoolsResult)
|
|
@@ -144,5 +163,6 @@ def get_kubernetes_node_pools_output(cluster_id: Optional[pulumi.Input[builtins.
|
|
|
144
163
|
cluster_id=pulumi.get(__response__, 'cluster_id'),
|
|
145
164
|
id=pulumi.get(__response__, 'id'),
|
|
146
165
|
ids=pulumi.get(__response__, 'ids'),
|
|
166
|
+
node_pool_name=pulumi.get(__response__, 'node_pool_name'),
|
|
147
167
|
nodepools=pulumi.get(__response__, 'nodepools'),
|
|
148
168
|
output_file=pulumi.get(__response__, 'output_file')))
|
pulumi_alicloud/cs/kubernetes.py
CHANGED
|
@@ -68,6 +68,7 @@ class KubernetesArgs:
|
|
|
68
68
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
69
69
|
service_account_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
70
70
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
71
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
71
72
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
72
73
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
73
74
|
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -78,12 +79,10 @@ class KubernetesArgs:
|
|
|
78
79
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] master_instance_types: The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
|
|
79
80
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] master_vswitch_ids: The vswitches used by master, you can specific 3 or 5 vswitches because of the amount of masters. Detailed below.
|
|
80
81
|
:param pulumi.Input[Sequence[pulumi.Input['KubernetesAddonArgs']]] 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.
|
|
81
|
-
|
|
82
|
-
*Network params*
|
|
83
82
|
: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.
|
|
84
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
85
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
86
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
83
|
+
: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.
|
|
84
|
+
: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.
|
|
85
|
+
: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.
|
|
87
86
|
|
|
88
87
|
*Removed params*
|
|
89
88
|
: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.
|
|
@@ -125,6 +124,9 @@ class KubernetesArgs:
|
|
|
125
124
|
: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.
|
|
126
125
|
: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.
|
|
127
126
|
: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.
|
|
127
|
+
: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.
|
|
128
|
+
|
|
129
|
+
*Network params*
|
|
128
130
|
: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.
|
|
129
131
|
|
|
130
132
|
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
@@ -142,10 +144,19 @@ class KubernetesArgs:
|
|
|
142
144
|
pulumi.set(__self__, "addons", addons)
|
|
143
145
|
if api_audiences is not None:
|
|
144
146
|
pulumi.set(__self__, "api_audiences", api_audiences)
|
|
147
|
+
if client_cert is not None:
|
|
148
|
+
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)
|
|
149
|
+
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.""")
|
|
145
150
|
if client_cert is not None:
|
|
146
151
|
pulumi.set(__self__, "client_cert", client_cert)
|
|
152
|
+
if client_key is not None:
|
|
153
|
+
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)
|
|
154
|
+
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.""")
|
|
147
155
|
if client_key is not None:
|
|
148
156
|
pulumi.set(__self__, "client_key", client_key)
|
|
157
|
+
if cluster_ca_cert is not None:
|
|
158
|
+
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)
|
|
159
|
+
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.""")
|
|
149
160
|
if cluster_ca_cert is not None:
|
|
150
161
|
pulumi.set(__self__, "cluster_ca_cert", cluster_ca_cert)
|
|
151
162
|
if cluster_domain is not None:
|
|
@@ -232,6 +243,8 @@ class KubernetesArgs:
|
|
|
232
243
|
pulumi.set(__self__, "service_account_issuer", service_account_issuer)
|
|
233
244
|
if service_cidr is not None:
|
|
234
245
|
pulumi.set(__self__, "service_cidr", service_cidr)
|
|
246
|
+
if skip_set_certificate_authority is not None:
|
|
247
|
+
pulumi.set(__self__, "skip_set_certificate_authority", skip_set_certificate_authority)
|
|
235
248
|
if slb_internet_enabled is not None:
|
|
236
249
|
pulumi.set(__self__, "slb_internet_enabled", slb_internet_enabled)
|
|
237
250
|
if tags is not None:
|
|
@@ -272,8 +285,6 @@ class KubernetesArgs:
|
|
|
272
285
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesAddonArgs']]]]:
|
|
273
286
|
"""
|
|
274
287
|
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.
|
|
275
|
-
|
|
276
|
-
*Network params*
|
|
277
288
|
"""
|
|
278
289
|
return pulumi.get(self, "addons")
|
|
279
290
|
|
|
@@ -295,9 +306,10 @@ class KubernetesArgs:
|
|
|
295
306
|
|
|
296
307
|
@property
|
|
297
308
|
@pulumi.getter(name="clientCert")
|
|
309
|
+
@_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.""")
|
|
298
310
|
def client_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
299
311
|
"""
|
|
300
|
-
|
|
312
|
+
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.
|
|
301
313
|
"""
|
|
302
314
|
return pulumi.get(self, "client_cert")
|
|
303
315
|
|
|
@@ -307,9 +319,10 @@ class KubernetesArgs:
|
|
|
307
319
|
|
|
308
320
|
@property
|
|
309
321
|
@pulumi.getter(name="clientKey")
|
|
322
|
+
@_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.""")
|
|
310
323
|
def client_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
311
324
|
"""
|
|
312
|
-
|
|
325
|
+
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.
|
|
313
326
|
"""
|
|
314
327
|
return pulumi.get(self, "client_key")
|
|
315
328
|
|
|
@@ -319,9 +332,10 @@ class KubernetesArgs:
|
|
|
319
332
|
|
|
320
333
|
@property
|
|
321
334
|
@pulumi.getter(name="clusterCaCert")
|
|
335
|
+
@_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.""")
|
|
322
336
|
def cluster_ca_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
323
337
|
"""
|
|
324
|
-
|
|
338
|
+
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.
|
|
325
339
|
|
|
326
340
|
*Removed params*
|
|
327
341
|
"""
|
|
@@ -797,6 +811,20 @@ class KubernetesArgs:
|
|
|
797
811
|
def service_cidr(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
798
812
|
pulumi.set(self, "service_cidr", value)
|
|
799
813
|
|
|
814
|
+
@property
|
|
815
|
+
@pulumi.getter(name="skipSetCertificateAuthority")
|
|
816
|
+
def skip_set_certificate_authority(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
817
|
+
"""
|
|
818
|
+
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.
|
|
819
|
+
|
|
820
|
+
*Network params*
|
|
821
|
+
"""
|
|
822
|
+
return pulumi.get(self, "skip_set_certificate_authority")
|
|
823
|
+
|
|
824
|
+
@skip_set_certificate_authority.setter
|
|
825
|
+
def skip_set_certificate_authority(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
826
|
+
pulumi.set(self, "skip_set_certificate_authority", value)
|
|
827
|
+
|
|
800
828
|
@property
|
|
801
829
|
@pulumi.getter(name="slbInternetEnabled")
|
|
802
830
|
def slb_internet_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -916,6 +944,7 @@ class _KubernetesState:
|
|
|
916
944
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
917
945
|
service_account_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
918
946
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
947
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
919
948
|
slb_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
920
949
|
slb_internet: Optional[pulumi.Input[builtins.str]] = None,
|
|
921
950
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
@@ -929,13 +958,11 @@ class _KubernetesState:
|
|
|
929
958
|
"""
|
|
930
959
|
Input properties used for looking up and filtering Kubernetes resources.
|
|
931
960
|
:param pulumi.Input[Sequence[pulumi.Input['KubernetesAddonArgs']]] 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.
|
|
932
|
-
|
|
933
|
-
*Network params*
|
|
934
961
|
: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.
|
|
935
|
-
:param pulumi.Input['KubernetesCertificateAuthorityArgs'] certificate_authority: (Map,
|
|
936
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
937
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
938
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
962
|
+
:param pulumi.Input['KubernetesCertificateAuthorityArgs'] 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.
|
|
963
|
+
: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.
|
|
964
|
+
: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.
|
|
965
|
+
: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.
|
|
939
966
|
|
|
940
967
|
*Removed params*
|
|
941
968
|
: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.
|
|
@@ -982,6 +1009,9 @@ class _KubernetesState:
|
|
|
982
1009
|
: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.
|
|
983
1010
|
: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.
|
|
984
1011
|
: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.
|
|
1012
|
+
: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.
|
|
1013
|
+
|
|
1014
|
+
*Network params*
|
|
985
1015
|
:param pulumi.Input[builtins.str] slb_id: The ID of APIServer load balancer.
|
|
986
1016
|
:param pulumi.Input[builtins.str] slb_internet: The public ip of load balancer.
|
|
987
1017
|
: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.
|
|
@@ -1002,12 +1032,24 @@ class _KubernetesState:
|
|
|
1002
1032
|
pulumi.set(__self__, "addons", addons)
|
|
1003
1033
|
if api_audiences is not None:
|
|
1004
1034
|
pulumi.set(__self__, "api_audiences", api_audiences)
|
|
1035
|
+
if certificate_authority is not None:
|
|
1036
|
+
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)
|
|
1037
|
+
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.""")
|
|
1005
1038
|
if certificate_authority is not None:
|
|
1006
1039
|
pulumi.set(__self__, "certificate_authority", certificate_authority)
|
|
1040
|
+
if client_cert is not None:
|
|
1041
|
+
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)
|
|
1042
|
+
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.""")
|
|
1007
1043
|
if client_cert is not None:
|
|
1008
1044
|
pulumi.set(__self__, "client_cert", client_cert)
|
|
1045
|
+
if client_key is not None:
|
|
1046
|
+
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)
|
|
1047
|
+
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.""")
|
|
1009
1048
|
if client_key is not None:
|
|
1010
1049
|
pulumi.set(__self__, "client_key", client_key)
|
|
1050
|
+
if cluster_ca_cert is not None:
|
|
1051
|
+
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)
|
|
1052
|
+
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.""")
|
|
1011
1053
|
if cluster_ca_cert is not None:
|
|
1012
1054
|
pulumi.set(__self__, "cluster_ca_cert", cluster_ca_cert)
|
|
1013
1055
|
if cluster_domain is not None:
|
|
@@ -1104,6 +1146,8 @@ class _KubernetesState:
|
|
|
1104
1146
|
pulumi.set(__self__, "service_account_issuer", service_account_issuer)
|
|
1105
1147
|
if service_cidr is not None:
|
|
1106
1148
|
pulumi.set(__self__, "service_cidr", service_cidr)
|
|
1149
|
+
if skip_set_certificate_authority is not None:
|
|
1150
|
+
pulumi.set(__self__, "skip_set_certificate_authority", skip_set_certificate_authority)
|
|
1107
1151
|
if slb_id is not None:
|
|
1108
1152
|
pulumi.set(__self__, "slb_id", slb_id)
|
|
1109
1153
|
if slb_internet is not None:
|
|
@@ -1130,8 +1174,6 @@ class _KubernetesState:
|
|
|
1130
1174
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesAddonArgs']]]]:
|
|
1131
1175
|
"""
|
|
1132
1176
|
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.
|
|
1133
|
-
|
|
1134
|
-
*Network params*
|
|
1135
1177
|
"""
|
|
1136
1178
|
return pulumi.get(self, "addons")
|
|
1137
1179
|
|
|
@@ -1153,9 +1195,10 @@ class _KubernetesState:
|
|
|
1153
1195
|
|
|
1154
1196
|
@property
|
|
1155
1197
|
@pulumi.getter(name="certificateAuthority")
|
|
1198
|
+
@_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.""")
|
|
1156
1199
|
def certificate_authority(self) -> Optional[pulumi.Input['KubernetesCertificateAuthorityArgs']]:
|
|
1157
1200
|
"""
|
|
1158
|
-
(Map,
|
|
1201
|
+
(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.
|
|
1159
1202
|
"""
|
|
1160
1203
|
return pulumi.get(self, "certificate_authority")
|
|
1161
1204
|
|
|
@@ -1165,9 +1208,10 @@ class _KubernetesState:
|
|
|
1165
1208
|
|
|
1166
1209
|
@property
|
|
1167
1210
|
@pulumi.getter(name="clientCert")
|
|
1211
|
+
@_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.""")
|
|
1168
1212
|
def client_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1169
1213
|
"""
|
|
1170
|
-
|
|
1214
|
+
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.
|
|
1171
1215
|
"""
|
|
1172
1216
|
return pulumi.get(self, "client_cert")
|
|
1173
1217
|
|
|
@@ -1177,9 +1221,10 @@ class _KubernetesState:
|
|
|
1177
1221
|
|
|
1178
1222
|
@property
|
|
1179
1223
|
@pulumi.getter(name="clientKey")
|
|
1224
|
+
@_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.""")
|
|
1180
1225
|
def client_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1181
1226
|
"""
|
|
1182
|
-
|
|
1227
|
+
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.
|
|
1183
1228
|
"""
|
|
1184
1229
|
return pulumi.get(self, "client_key")
|
|
1185
1230
|
|
|
@@ -1189,9 +1234,10 @@ class _KubernetesState:
|
|
|
1189
1234
|
|
|
1190
1235
|
@property
|
|
1191
1236
|
@pulumi.getter(name="clusterCaCert")
|
|
1237
|
+
@_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.""")
|
|
1192
1238
|
def cluster_ca_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1193
1239
|
"""
|
|
1194
|
-
|
|
1240
|
+
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.
|
|
1195
1241
|
|
|
1196
1242
|
*Removed params*
|
|
1197
1243
|
"""
|
|
@@ -1727,6 +1773,20 @@ class _KubernetesState:
|
|
|
1727
1773
|
def service_cidr(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1728
1774
|
pulumi.set(self, "service_cidr", value)
|
|
1729
1775
|
|
|
1776
|
+
@property
|
|
1777
|
+
@pulumi.getter(name="skipSetCertificateAuthority")
|
|
1778
|
+
def skip_set_certificate_authority(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1779
|
+
"""
|
|
1780
|
+
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.
|
|
1781
|
+
|
|
1782
|
+
*Network params*
|
|
1783
|
+
"""
|
|
1784
|
+
return pulumi.get(self, "skip_set_certificate_authority")
|
|
1785
|
+
|
|
1786
|
+
@skip_set_certificate_authority.setter
|
|
1787
|
+
def skip_set_certificate_authority(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1788
|
+
pulumi.set(self, "skip_set_certificate_authority", value)
|
|
1789
|
+
|
|
1730
1790
|
@property
|
|
1731
1791
|
@pulumi.getter(name="slbId")
|
|
1732
1792
|
def slb_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -1907,6 +1967,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
1907
1967
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1908
1968
|
service_account_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
1909
1969
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
1970
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1910
1971
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1911
1972
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1912
1973
|
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -1961,12 +2022,10 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
1961
2022
|
:param str resource_name: The name of the resource.
|
|
1962
2023
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1963
2024
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesAddonArgs', 'KubernetesAddonArgsDict']]]] 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.
|
|
1964
|
-
|
|
1965
|
-
*Network params*
|
|
1966
2025
|
: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.
|
|
1967
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
1968
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
1969
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
2026
|
+
: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.
|
|
2027
|
+
: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.
|
|
2028
|
+
: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.
|
|
1970
2029
|
|
|
1971
2030
|
*Removed params*
|
|
1972
2031
|
: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.
|
|
@@ -2010,6 +2069,9 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2010
2069
|
: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.
|
|
2011
2070
|
: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.
|
|
2012
2071
|
: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.
|
|
2072
|
+
: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.
|
|
2073
|
+
|
|
2074
|
+
*Network params*
|
|
2013
2075
|
: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.
|
|
2014
2076
|
|
|
2015
2077
|
> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `pod_vswitch_ids` field and addons with `terway-eniip`.
|
|
@@ -2133,6 +2195,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2133
2195
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
2134
2196
|
service_account_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
2135
2197
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
2198
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2136
2199
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2137
2200
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
2138
2201
|
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -2197,6 +2260,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2197
2260
|
__props__.__dict__["security_group_id"] = security_group_id
|
|
2198
2261
|
__props__.__dict__["service_account_issuer"] = service_account_issuer
|
|
2199
2262
|
__props__.__dict__["service_cidr"] = service_cidr
|
|
2263
|
+
__props__.__dict__["skip_set_certificate_authority"] = skip_set_certificate_authority
|
|
2200
2264
|
__props__.__dict__["slb_internet_enabled"] = slb_internet_enabled
|
|
2201
2265
|
__props__.__dict__["tags"] = tags
|
|
2202
2266
|
__props__.__dict__["timezone"] = timezone
|
|
@@ -2273,6 +2337,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2273
2337
|
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
2274
2338
|
service_account_issuer: Optional[pulumi.Input[builtins.str]] = None,
|
|
2275
2339
|
service_cidr: Optional[pulumi.Input[builtins.str]] = None,
|
|
2340
|
+
skip_set_certificate_authority: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2276
2341
|
slb_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
2277
2342
|
slb_internet: Optional[pulumi.Input[builtins.str]] = None,
|
|
2278
2343
|
slb_internet_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
@@ -2291,13 +2356,11 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2291
2356
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
2292
2357
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
2293
2358
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesAddonArgs', 'KubernetesAddonArgsDict']]]] 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.
|
|
2294
|
-
|
|
2295
|
-
*Network params*
|
|
2296
2359
|
: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.
|
|
2297
|
-
:param pulumi.Input[Union['KubernetesCertificateAuthorityArgs', 'KubernetesCertificateAuthorityArgsDict']] certificate_authority: (Map,
|
|
2298
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
2299
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
2300
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
2360
|
+
:param pulumi.Input[Union['KubernetesCertificateAuthorityArgs', 'KubernetesCertificateAuthorityArgsDict']] 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.
|
|
2361
|
+
: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.
|
|
2362
|
+
: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.
|
|
2363
|
+
: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.
|
|
2301
2364
|
|
|
2302
2365
|
*Removed params*
|
|
2303
2366
|
: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.
|
|
@@ -2344,6 +2407,9 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2344
2407
|
: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.
|
|
2345
2408
|
: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.
|
|
2346
2409
|
: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.
|
|
2410
|
+
: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.
|
|
2411
|
+
|
|
2412
|
+
*Network params*
|
|
2347
2413
|
:param pulumi.Input[builtins.str] slb_id: The ID of APIServer load balancer.
|
|
2348
2414
|
:param pulumi.Input[builtins.str] slb_internet: The public ip of load balancer.
|
|
2349
2415
|
: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.
|
|
@@ -2414,6 +2480,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2414
2480
|
__props__.__dict__["security_group_id"] = security_group_id
|
|
2415
2481
|
__props__.__dict__["service_account_issuer"] = service_account_issuer
|
|
2416
2482
|
__props__.__dict__["service_cidr"] = service_cidr
|
|
2483
|
+
__props__.__dict__["skip_set_certificate_authority"] = skip_set_certificate_authority
|
|
2417
2484
|
__props__.__dict__["slb_id"] = slb_id
|
|
2418
2485
|
__props__.__dict__["slb_internet"] = slb_internet
|
|
2419
2486
|
__props__.__dict__["slb_internet_enabled"] = slb_internet_enabled
|
|
@@ -2431,8 +2498,6 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2431
2498
|
def addons(self) -> pulumi.Output[Optional[Sequence['outputs.KubernetesAddon']]]:
|
|
2432
2499
|
"""
|
|
2433
2500
|
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.
|
|
2434
|
-
|
|
2435
|
-
*Network params*
|
|
2436
2501
|
"""
|
|
2437
2502
|
return pulumi.get(self, "addons")
|
|
2438
2503
|
|
|
@@ -2446,33 +2511,37 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2446
2511
|
|
|
2447
2512
|
@property
|
|
2448
2513
|
@pulumi.getter(name="certificateAuthority")
|
|
2514
|
+
@_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.""")
|
|
2449
2515
|
def certificate_authority(self) -> pulumi.Output['outputs.KubernetesCertificateAuthority']:
|
|
2450
2516
|
"""
|
|
2451
|
-
(Map,
|
|
2517
|
+
(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.
|
|
2452
2518
|
"""
|
|
2453
2519
|
return pulumi.get(self, "certificate_authority")
|
|
2454
2520
|
|
|
2455
2521
|
@property
|
|
2456
2522
|
@pulumi.getter(name="clientCert")
|
|
2523
|
+
@_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.""")
|
|
2457
2524
|
def client_cert(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2458
2525
|
"""
|
|
2459
|
-
|
|
2526
|
+
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.
|
|
2460
2527
|
"""
|
|
2461
2528
|
return pulumi.get(self, "client_cert")
|
|
2462
2529
|
|
|
2463
2530
|
@property
|
|
2464
2531
|
@pulumi.getter(name="clientKey")
|
|
2532
|
+
@_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.""")
|
|
2465
2533
|
def client_key(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2466
2534
|
"""
|
|
2467
|
-
|
|
2535
|
+
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.
|
|
2468
2536
|
"""
|
|
2469
2537
|
return pulumi.get(self, "client_key")
|
|
2470
2538
|
|
|
2471
2539
|
@property
|
|
2472
2540
|
@pulumi.getter(name="clusterCaCert")
|
|
2541
|
+
@_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.""")
|
|
2473
2542
|
def cluster_ca_cert(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2474
2543
|
"""
|
|
2475
|
-
|
|
2544
|
+
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.
|
|
2476
2545
|
|
|
2477
2546
|
*Removed params*
|
|
2478
2547
|
"""
|
|
@@ -2828,6 +2897,16 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2828
2897
|
"""
|
|
2829
2898
|
return pulumi.get(self, "service_cidr")
|
|
2830
2899
|
|
|
2900
|
+
@property
|
|
2901
|
+
@pulumi.getter(name="skipSetCertificateAuthority")
|
|
2902
|
+
def skip_set_certificate_authority(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
2903
|
+
"""
|
|
2904
|
+
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.
|
|
2905
|
+
|
|
2906
|
+
*Network params*
|
|
2907
|
+
"""
|
|
2908
|
+
return pulumi.get(self, "skip_set_certificate_authority")
|
|
2909
|
+
|
|
2831
2910
|
@property
|
|
2832
2911
|
@pulumi.getter(name="slbId")
|
|
2833
2912
|
def slb_id(self) -> pulumi.Output[builtins.str]:
|