pulumi-alicloud 3.77.0a1746076596__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.0a1746076596.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.77.0a1746076596.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/RECORD +83 -71
- {pulumi_alicloud-3.77.0a1746076596.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.77.0a1746076596.dist-info → pulumi_alicloud-3.77.0a1746220593.dist-info}/top_level.txt +0 -0
pulumi_alicloud/cs/outputs.py
CHANGED
|
@@ -314,8 +314,8 @@ class EdgeKubernetesCertificateAuthority(dict):
|
|
|
314
314
|
client_key: Optional[builtins.str] = None,
|
|
315
315
|
cluster_cert: Optional[builtins.str] = None):
|
|
316
316
|
"""
|
|
317
|
-
:param builtins.str client_cert:
|
|
318
|
-
:param builtins.str client_key:
|
|
317
|
+
:param 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.
|
|
318
|
+
:param 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.
|
|
319
319
|
:param builtins.str cluster_cert: The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
|
|
320
320
|
"""
|
|
321
321
|
if client_cert is not None:
|
|
@@ -329,7 +329,7 @@ class EdgeKubernetesCertificateAuthority(dict):
|
|
|
329
329
|
@pulumi.getter(name="clientCert")
|
|
330
330
|
def client_cert(self) -> Optional[builtins.str]:
|
|
331
331
|
"""
|
|
332
|
-
|
|
332
|
+
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.
|
|
333
333
|
"""
|
|
334
334
|
return pulumi.get(self, "client_cert")
|
|
335
335
|
|
|
@@ -337,7 +337,7 @@ class EdgeKubernetesCertificateAuthority(dict):
|
|
|
337
337
|
@pulumi.getter(name="clientKey")
|
|
338
338
|
def client_key(self) -> Optional[builtins.str]:
|
|
339
339
|
"""
|
|
340
|
-
|
|
340
|
+
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.
|
|
341
341
|
"""
|
|
342
342
|
return pulumi.get(self, "client_key")
|
|
343
343
|
|
|
@@ -857,8 +857,8 @@ class KubernetesCertificateAuthority(dict):
|
|
|
857
857
|
client_key: Optional[builtins.str] = None,
|
|
858
858
|
cluster_cert: Optional[builtins.str] = None):
|
|
859
859
|
"""
|
|
860
|
-
:param builtins.str client_cert:
|
|
861
|
-
:param builtins.str client_key:
|
|
860
|
+
:param 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.
|
|
861
|
+
:param 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.
|
|
862
862
|
:param builtins.str cluster_cert: The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
|
|
863
863
|
"""
|
|
864
864
|
if client_cert is not None:
|
|
@@ -872,7 +872,7 @@ class KubernetesCertificateAuthority(dict):
|
|
|
872
872
|
@pulumi.getter(name="clientCert")
|
|
873
873
|
def client_cert(self) -> Optional[builtins.str]:
|
|
874
874
|
"""
|
|
875
|
-
|
|
875
|
+
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.
|
|
876
876
|
"""
|
|
877
877
|
return pulumi.get(self, "client_cert")
|
|
878
878
|
|
|
@@ -880,7 +880,7 @@ class KubernetesCertificateAuthority(dict):
|
|
|
880
880
|
@pulumi.getter(name="clientKey")
|
|
881
881
|
def client_key(self) -> Optional[builtins.str]:
|
|
882
882
|
"""
|
|
883
|
-
|
|
883
|
+
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.
|
|
884
884
|
"""
|
|
885
885
|
return pulumi.get(self, "client_key")
|
|
886
886
|
|
|
@@ -1390,8 +1390,8 @@ class ManagedKubernetesCertificateAuthority(dict):
|
|
|
1390
1390
|
client_key: Optional[builtins.str] = None,
|
|
1391
1391
|
cluster_cert: Optional[builtins.str] = None):
|
|
1392
1392
|
"""
|
|
1393
|
-
:param builtins.str client_cert:
|
|
1394
|
-
:param builtins.str client_key:
|
|
1393
|
+
:param 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.
|
|
1394
|
+
:param 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.
|
|
1395
1395
|
:param builtins.str cluster_cert: The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
|
|
1396
1396
|
"""
|
|
1397
1397
|
if client_cert is not None:
|
|
@@ -1405,7 +1405,7 @@ class ManagedKubernetesCertificateAuthority(dict):
|
|
|
1405
1405
|
@pulumi.getter(name="clientCert")
|
|
1406
1406
|
def client_cert(self) -> Optional[builtins.str]:
|
|
1407
1407
|
"""
|
|
1408
|
-
|
|
1408
|
+
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.
|
|
1409
1409
|
"""
|
|
1410
1410
|
return pulumi.get(self, "client_cert")
|
|
1411
1411
|
|
|
@@ -1413,7 +1413,7 @@ class ManagedKubernetesCertificateAuthority(dict):
|
|
|
1413
1413
|
@pulumi.getter(name="clientKey")
|
|
1414
1414
|
def client_key(self) -> Optional[builtins.str]:
|
|
1415
1415
|
"""
|
|
1416
|
-
|
|
1416
|
+
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.
|
|
1417
1417
|
"""
|
|
1418
1418
|
return pulumi.get(self, "client_key")
|
|
1419
1419
|
|
|
@@ -4697,7 +4697,7 @@ class GetKubernetesNodePoolsNodepoolResult(dict):
|
|
|
4697
4697
|
:param 'GetKubernetesNodePoolsNodepoolManagementArgs' management: Managed node pool configuration.
|
|
4698
4698
|
:param builtins.str multi_az_policy: The scaling policy for ECS instances in a multi-zone scaling group. Valid value: `PRIORITY`, `COST_OPTIMIZED` and `BALANCE`. `PRIORITY`: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. `COST_OPTIMIZED`: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the `CompensateWithOnDemand` parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. `BALANCE`: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
|
|
4699
4699
|
:param builtins.str node_name_mode: Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.- The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.- The node IP address is the complete private IP address of the node.- For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.
|
|
4700
|
-
:param builtins.str node_pool_id: The ID of
|
|
4700
|
+
:param builtins.str node_pool_id: The first ID of the resource.
|
|
4701
4701
|
:param builtins.str node_pool_name: The name of node pool.
|
|
4702
4702
|
:param builtins.str on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
|
|
4703
4703
|
:param builtins.str on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
|
|
@@ -4985,7 +4985,7 @@ class GetKubernetesNodePoolsNodepoolResult(dict):
|
|
|
4985
4985
|
@pulumi.getter(name="nodePoolId")
|
|
4986
4986
|
def node_pool_id(self) -> builtins.str:
|
|
4987
4987
|
"""
|
|
4988
|
-
The ID of
|
|
4988
|
+
The first ID of the resource.
|
|
4989
4989
|
"""
|
|
4990
4990
|
return pulumi.get(self, "node_pool_id")
|
|
4991
4991
|
|
|
@@ -56,9 +56,9 @@ class ServerlessKubernetesArgs:
|
|
|
56
56
|
"""
|
|
57
57
|
The set of arguments for constructing a ServerlessKubernetes resource.
|
|
58
58
|
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
59
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
60
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
61
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
59
|
+
: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.
|
|
60
|
+
: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.
|
|
61
|
+
: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.
|
|
62
62
|
:param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values:
|
|
63
63
|
- ack.standard: Standard serverless clusters.
|
|
64
64
|
- ack.pro.small: Professional serverless clusters.
|
|
@@ -70,7 +70,7 @@ class ServerlessKubernetesArgs:
|
|
|
70
70
|
- false: Disable deletion protection.
|
|
71
71
|
:param pulumi.Input[builtins.bool] enable_rrsa: Whether to enable cluster to support RRSA for version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
72
72
|
:param pulumi.Input[builtins.bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false. Only works for **Create** Operation.
|
|
73
|
-
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like
|
|
73
|
+
: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.
|
|
74
74
|
:param pulumi.Input[builtins.str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s2.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation.
|
|
75
75
|
:param pulumi.Input[builtins.str] logging_type: Enable log service, Valid value `SLS`. Only works for **Create** Operation.
|
|
76
76
|
:param pulumi.Input['ServerlessKubernetesMaintenanceWindowArgs'] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
@@ -94,10 +94,19 @@ class ServerlessKubernetesArgs:
|
|
|
94
94
|
"""
|
|
95
95
|
if addons is not None:
|
|
96
96
|
pulumi.set(__self__, "addons", addons)
|
|
97
|
+
if client_cert is not None:
|
|
98
|
+
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)
|
|
99
|
+
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.""")
|
|
97
100
|
if client_cert is not None:
|
|
98
101
|
pulumi.set(__self__, "client_cert", client_cert)
|
|
102
|
+
if client_key is not None:
|
|
103
|
+
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)
|
|
104
|
+
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.""")
|
|
99
105
|
if client_key is not None:
|
|
100
106
|
pulumi.set(__self__, "client_key", client_key)
|
|
107
|
+
if cluster_ca_cert is not None:
|
|
108
|
+
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)
|
|
109
|
+
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.""")
|
|
101
110
|
if cluster_ca_cert is not None:
|
|
102
111
|
pulumi.set(__self__, "cluster_ca_cert", cluster_ca_cert)
|
|
103
112
|
if cluster_spec is not None:
|
|
@@ -113,8 +122,8 @@ class ServerlessKubernetesArgs:
|
|
|
113
122
|
if endpoint_public_access_enabled is not None:
|
|
114
123
|
pulumi.set(__self__, "endpoint_public_access_enabled", endpoint_public_access_enabled)
|
|
115
124
|
if kube_config is not None:
|
|
116
|
-
warnings.warn("""Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
117
|
-
pulumi.log.warn("""kube_config is deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
125
|
+
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)
|
|
126
|
+
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.""")
|
|
118
127
|
if kube_config is not None:
|
|
119
128
|
pulumi.set(__self__, "kube_config", kube_config)
|
|
120
129
|
if load_balancer_spec is not None:
|
|
@@ -184,9 +193,10 @@ class ServerlessKubernetesArgs:
|
|
|
184
193
|
|
|
185
194
|
@property
|
|
186
195
|
@pulumi.getter(name="clientCert")
|
|
196
|
+
@_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.""")
|
|
187
197
|
def client_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
188
198
|
"""
|
|
189
|
-
|
|
199
|
+
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.
|
|
190
200
|
"""
|
|
191
201
|
return pulumi.get(self, "client_cert")
|
|
192
202
|
|
|
@@ -196,9 +206,10 @@ class ServerlessKubernetesArgs:
|
|
|
196
206
|
|
|
197
207
|
@property
|
|
198
208
|
@pulumi.getter(name="clientKey")
|
|
209
|
+
@_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.""")
|
|
199
210
|
def client_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
200
211
|
"""
|
|
201
|
-
|
|
212
|
+
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.
|
|
202
213
|
"""
|
|
203
214
|
return pulumi.get(self, "client_key")
|
|
204
215
|
|
|
@@ -208,9 +219,10 @@ class ServerlessKubernetesArgs:
|
|
|
208
219
|
|
|
209
220
|
@property
|
|
210
221
|
@pulumi.getter(name="clusterCaCert")
|
|
222
|
+
@_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.""")
|
|
211
223
|
def cluster_ca_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
212
224
|
"""
|
|
213
|
-
|
|
225
|
+
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.
|
|
214
226
|
"""
|
|
215
227
|
return pulumi.get(self, "cluster_ca_cert")
|
|
216
228
|
|
|
@@ -297,10 +309,10 @@ class ServerlessKubernetesArgs:
|
|
|
297
309
|
|
|
298
310
|
@property
|
|
299
311
|
@pulumi.getter(name="kubeConfig")
|
|
300
|
-
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
312
|
+
@_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.""")
|
|
301
313
|
def kube_config(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
302
314
|
"""
|
|
303
|
-
The path of kube config, like
|
|
315
|
+
The path of kube config, like ~/.kube/config. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
304
316
|
"""
|
|
305
317
|
return pulumi.get(self, "kube_config")
|
|
306
318
|
|
|
@@ -587,9 +599,9 @@ class _ServerlessKubernetesState:
|
|
|
587
599
|
"""
|
|
588
600
|
Input properties used for looking up and filtering ServerlessKubernetes resources.
|
|
589
601
|
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
590
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
591
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
592
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
602
|
+
: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.
|
|
603
|
+
: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.
|
|
604
|
+
: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.
|
|
593
605
|
:param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values:
|
|
594
606
|
- ack.standard: Standard serverless clusters.
|
|
595
607
|
- ack.pro.small: Professional serverless clusters.
|
|
@@ -601,7 +613,7 @@ class _ServerlessKubernetesState:
|
|
|
601
613
|
- false: Disable deletion protection.
|
|
602
614
|
:param pulumi.Input[builtins.bool] enable_rrsa: Whether to enable cluster to support RRSA for version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
603
615
|
:param pulumi.Input[builtins.bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false. Only works for **Create** Operation.
|
|
604
|
-
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like
|
|
616
|
+
: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.
|
|
605
617
|
:param pulumi.Input[builtins.str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s2.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation.
|
|
606
618
|
:param pulumi.Input[builtins.str] logging_type: Enable log service, Valid value `SLS`. Only works for **Create** Operation.
|
|
607
619
|
:param pulumi.Input['ServerlessKubernetesMaintenanceWindowArgs'] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
@@ -626,10 +638,19 @@ class _ServerlessKubernetesState:
|
|
|
626
638
|
"""
|
|
627
639
|
if addons is not None:
|
|
628
640
|
pulumi.set(__self__, "addons", addons)
|
|
641
|
+
if client_cert is not None:
|
|
642
|
+
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)
|
|
643
|
+
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.""")
|
|
629
644
|
if client_cert is not None:
|
|
630
645
|
pulumi.set(__self__, "client_cert", client_cert)
|
|
646
|
+
if client_key is not None:
|
|
647
|
+
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)
|
|
648
|
+
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.""")
|
|
631
649
|
if client_key is not None:
|
|
632
650
|
pulumi.set(__self__, "client_key", client_key)
|
|
651
|
+
if cluster_ca_cert is not None:
|
|
652
|
+
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)
|
|
653
|
+
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.""")
|
|
633
654
|
if cluster_ca_cert is not None:
|
|
634
655
|
pulumi.set(__self__, "cluster_ca_cert", cluster_ca_cert)
|
|
635
656
|
if cluster_spec is not None:
|
|
@@ -645,8 +666,8 @@ class _ServerlessKubernetesState:
|
|
|
645
666
|
if endpoint_public_access_enabled is not None:
|
|
646
667
|
pulumi.set(__self__, "endpoint_public_access_enabled", endpoint_public_access_enabled)
|
|
647
668
|
if kube_config is not None:
|
|
648
|
-
warnings.warn("""Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
649
|
-
pulumi.log.warn("""kube_config is deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
669
|
+
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)
|
|
670
|
+
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.""")
|
|
650
671
|
if kube_config is not None:
|
|
651
672
|
pulumi.set(__self__, "kube_config", kube_config)
|
|
652
673
|
if load_balancer_spec is not None:
|
|
@@ -718,9 +739,10 @@ class _ServerlessKubernetesState:
|
|
|
718
739
|
|
|
719
740
|
@property
|
|
720
741
|
@pulumi.getter(name="clientCert")
|
|
742
|
+
@_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.""")
|
|
721
743
|
def client_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
722
744
|
"""
|
|
723
|
-
|
|
745
|
+
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.
|
|
724
746
|
"""
|
|
725
747
|
return pulumi.get(self, "client_cert")
|
|
726
748
|
|
|
@@ -730,9 +752,10 @@ class _ServerlessKubernetesState:
|
|
|
730
752
|
|
|
731
753
|
@property
|
|
732
754
|
@pulumi.getter(name="clientKey")
|
|
755
|
+
@_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.""")
|
|
733
756
|
def client_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
734
757
|
"""
|
|
735
|
-
|
|
758
|
+
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.
|
|
736
759
|
"""
|
|
737
760
|
return pulumi.get(self, "client_key")
|
|
738
761
|
|
|
@@ -742,9 +765,10 @@ class _ServerlessKubernetesState:
|
|
|
742
765
|
|
|
743
766
|
@property
|
|
744
767
|
@pulumi.getter(name="clusterCaCert")
|
|
768
|
+
@_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.""")
|
|
745
769
|
def cluster_ca_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
746
770
|
"""
|
|
747
|
-
|
|
771
|
+
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.
|
|
748
772
|
"""
|
|
749
773
|
return pulumi.get(self, "cluster_ca_cert")
|
|
750
774
|
|
|
@@ -831,10 +855,10 @@ class _ServerlessKubernetesState:
|
|
|
831
855
|
|
|
832
856
|
@property
|
|
833
857
|
@pulumi.getter(name="kubeConfig")
|
|
834
|
-
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
858
|
+
@_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.""")
|
|
835
859
|
def kube_config(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
836
860
|
"""
|
|
837
|
-
The path of kube config, like
|
|
861
|
+
The path of kube config, like ~/.kube/config. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
838
862
|
"""
|
|
839
863
|
return pulumi.get(self, "kube_config")
|
|
840
864
|
|
|
@@ -1187,29 +1211,12 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1187
1211
|
new_nat_gateway=True,
|
|
1188
1212
|
endpoint_public_access_enabled=True,
|
|
1189
1213
|
deletion_protection=False,
|
|
1190
|
-
load_balancer_spec="slb.s2.small",
|
|
1191
1214
|
time_zone="Asia/Shanghai",
|
|
1192
1215
|
service_cidr="172.21.0.0/20",
|
|
1193
|
-
service_discovery_types=["PrivateZone"],
|
|
1194
|
-
logging_type="SLS",
|
|
1195
1216
|
tags={
|
|
1196
1217
|
"k-aa": "v-aa",
|
|
1197
|
-
"k-bb": "v-
|
|
1198
|
-
}
|
|
1199
|
-
addons=[
|
|
1200
|
-
{
|
|
1201
|
-
"name": "alb-ingress-controller",
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
"name": "metrics-server",
|
|
1205
|
-
},
|
|
1206
|
-
{
|
|
1207
|
-
"name": "knative",
|
|
1208
|
-
},
|
|
1209
|
-
{
|
|
1210
|
-
"name": "arms-prometheus",
|
|
1211
|
-
},
|
|
1212
|
-
])
|
|
1218
|
+
"k-bb": "v-bb",
|
|
1219
|
+
})
|
|
1213
1220
|
```
|
|
1214
1221
|
|
|
1215
1222
|
## Import
|
|
@@ -1223,9 +1230,9 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1223
1230
|
:param str resource_name: The name of the resource.
|
|
1224
1231
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1225
1232
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesAddonArgs', 'ServerlessKubernetesAddonArgsDict']]]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
1226
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
1227
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
1228
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
1233
|
+
: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.
|
|
1234
|
+
: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.
|
|
1235
|
+
: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.
|
|
1229
1236
|
:param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values:
|
|
1230
1237
|
- ack.standard: Standard serverless clusters.
|
|
1231
1238
|
- ack.pro.small: Professional serverless clusters.
|
|
@@ -1237,7 +1244,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1237
1244
|
- false: Disable deletion protection.
|
|
1238
1245
|
:param pulumi.Input[builtins.bool] enable_rrsa: Whether to enable cluster to support RRSA for version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
1239
1246
|
:param pulumi.Input[builtins.bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false. Only works for **Create** Operation.
|
|
1240
|
-
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like
|
|
1247
|
+
: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.
|
|
1241
1248
|
:param pulumi.Input[builtins.str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s2.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation.
|
|
1242
1249
|
:param pulumi.Input[builtins.str] logging_type: Enable log service, Valid value `SLS`. Only works for **Create** Operation.
|
|
1243
1250
|
:param pulumi.Input[Union['ServerlessKubernetesMaintenanceWindowArgs', 'ServerlessKubernetesMaintenanceWindowArgsDict']] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
@@ -1317,29 +1324,12 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1317
1324
|
new_nat_gateway=True,
|
|
1318
1325
|
endpoint_public_access_enabled=True,
|
|
1319
1326
|
deletion_protection=False,
|
|
1320
|
-
load_balancer_spec="slb.s2.small",
|
|
1321
1327
|
time_zone="Asia/Shanghai",
|
|
1322
1328
|
service_cidr="172.21.0.0/20",
|
|
1323
|
-
service_discovery_types=["PrivateZone"],
|
|
1324
|
-
logging_type="SLS",
|
|
1325
1329
|
tags={
|
|
1326
1330
|
"k-aa": "v-aa",
|
|
1327
|
-
"k-bb": "v-
|
|
1328
|
-
}
|
|
1329
|
-
addons=[
|
|
1330
|
-
{
|
|
1331
|
-
"name": "alb-ingress-controller",
|
|
1332
|
-
},
|
|
1333
|
-
{
|
|
1334
|
-
"name": "metrics-server",
|
|
1335
|
-
},
|
|
1336
|
-
{
|
|
1337
|
-
"name": "knative",
|
|
1338
|
-
},
|
|
1339
|
-
{
|
|
1340
|
-
"name": "arms-prometheus",
|
|
1341
|
-
},
|
|
1342
|
-
])
|
|
1331
|
+
"k-bb": "v-bb",
|
|
1332
|
+
})
|
|
1343
1333
|
```
|
|
1344
1334
|
|
|
1345
1335
|
## Import
|
|
@@ -1487,9 +1477,9 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1487
1477
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1488
1478
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1489
1479
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesAddonArgs', 'ServerlessKubernetesAddonArgsDict']]]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
|
|
1490
|
-
:param pulumi.Input[builtins.str] client_cert:
|
|
1491
|
-
:param pulumi.Input[builtins.str] client_key:
|
|
1492
|
-
:param pulumi.Input[builtins.str] cluster_ca_cert:
|
|
1480
|
+
: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.
|
|
1481
|
+
: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.
|
|
1482
|
+
: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.
|
|
1493
1483
|
:param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values:
|
|
1494
1484
|
- ack.standard: Standard serverless clusters.
|
|
1495
1485
|
- ack.pro.small: Professional serverless clusters.
|
|
@@ -1501,7 +1491,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1501
1491
|
- false: Disable deletion protection.
|
|
1502
1492
|
:param pulumi.Input[builtins.bool] enable_rrsa: Whether to enable cluster to support RRSA for version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
|
|
1503
1493
|
:param pulumi.Input[builtins.bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false. Only works for **Create** Operation.
|
|
1504
|
-
:param pulumi.Input[builtins.str] kube_config: The path of kube config, like
|
|
1494
|
+
: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.
|
|
1505
1495
|
:param pulumi.Input[builtins.str] load_balancer_spec: The cluster api server load balance instance specification, default `slb.s2.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). Only works for **Create** Operation.
|
|
1506
1496
|
:param pulumi.Input[builtins.str] logging_type: Enable log service, Valid value `SLS`. Only works for **Create** Operation.
|
|
1507
1497
|
:param pulumi.Input[Union['ServerlessKubernetesMaintenanceWindowArgs', 'ServerlessKubernetesMaintenanceWindowArgsDict']] maintenance_window: The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
|
|
@@ -1572,25 +1562,28 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1572
1562
|
|
|
1573
1563
|
@property
|
|
1574
1564
|
@pulumi.getter(name="clientCert")
|
|
1565
|
+
@_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.""")
|
|
1575
1566
|
def client_cert(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1576
1567
|
"""
|
|
1577
|
-
|
|
1568
|
+
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.
|
|
1578
1569
|
"""
|
|
1579
1570
|
return pulumi.get(self, "client_cert")
|
|
1580
1571
|
|
|
1581
1572
|
@property
|
|
1582
1573
|
@pulumi.getter(name="clientKey")
|
|
1574
|
+
@_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.""")
|
|
1583
1575
|
def client_key(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1584
1576
|
"""
|
|
1585
|
-
|
|
1577
|
+
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.
|
|
1586
1578
|
"""
|
|
1587
1579
|
return pulumi.get(self, "client_key")
|
|
1588
1580
|
|
|
1589
1581
|
@property
|
|
1590
1582
|
@pulumi.getter(name="clusterCaCert")
|
|
1583
|
+
@_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.""")
|
|
1591
1584
|
def cluster_ca_cert(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1592
1585
|
"""
|
|
1593
|
-
|
|
1586
|
+
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.
|
|
1594
1587
|
"""
|
|
1595
1588
|
return pulumi.get(self, "cluster_ca_cert")
|
|
1596
1589
|
|
|
@@ -1649,10 +1642,10 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1649
1642
|
|
|
1650
1643
|
@property
|
|
1651
1644
|
@pulumi.getter(name="kubeConfig")
|
|
1652
|
-
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0.
|
|
1645
|
+
@_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.""")
|
|
1653
1646
|
def kube_config(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1654
1647
|
"""
|
|
1655
|
-
The path of kube config, like
|
|
1648
|
+
The path of kube config, like ~/.kube/config. Please use the attribute output_file of new DataSource `cs_get_cluster_credential` to replace it.
|
|
1656
1649
|
"""
|
|
1657
1650
|
return pulumi.get(self, "kube_config")
|
|
1658
1651
|
|