pulumi-alicloud 3.62.0a1724995491__py3-none-any.whl → 3.62.0a1725600316__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/brain/get_industrial_pid_loops.py +18 -2
- pulumi_alicloud/brain/get_industrial_pid_organizations.py +12 -2
- pulumi_alicloud/brain/get_industrial_pid_projects.py +18 -2
- pulumi_alicloud/brain/get_industrial_serice.py +6 -2
- pulumi_alicloud/brain/industrial_pid_loop.py +6 -2
- pulumi_alicloud/brain/industrial_pid_organization.py +4 -4
- pulumi_alicloud/brain/industrial_pid_project.py +4 -4
- pulumi_alicloud/cas/certificate.py +155 -13
- pulumi_alicloud/cas/service_certificate.py +9 -30
- pulumi_alicloud/cdn/real_time_log_delivery.py +2 -2
- pulumi_alicloud/cen/get_transit_router_route_tables.py +81 -14
- pulumi_alicloud/cen/outputs.py +6 -2
- pulumi_alicloud/cfg/remediation.py +6 -2
- pulumi_alicloud/clickhouse/account.py +2 -2
- pulumi_alicloud/clickhouse/backup_policy.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +2 -0
- pulumi_alicloud/cs/_inputs.py +141 -21
- pulumi_alicloud/cs/kubernetes.py +7 -7
- pulumi_alicloud/cs/managed_kubernetes.py +506 -45
- pulumi_alicloud/cs/outputs.py +148 -21
- pulumi_alicloud/cs/registry_enterprise_namespace.py +92 -72
- pulumi_alicloud/cs/registry_enterprise_repo.py +96 -74
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +105 -101
- pulumi_alicloud/cs/serverless_kubernetes.py +174 -206
- pulumi_alicloud/databasefilesystem/instance.py +2 -2
- pulumi_alicloud/dts/consumer_channel.py +2 -2
- pulumi_alicloud/dts/subscription_job.py +2 -2
- pulumi_alicloud/ecs/auto_provisioning_group.py +2 -2
- pulumi_alicloud/ehpc/get_clusters.py +11 -2
- pulumi_alicloud/ehpc/get_job_templates.py +5 -2
- pulumi_alicloud/ehpc/job_template.py +2 -2
- pulumi_alicloud/ehpc/outputs.py +34 -2
- pulumi_alicloud/fc/function.py +6 -6
- pulumi_alicloud/fc/function_async_invoke_config.py +2 -2
- pulumi_alicloud/fc/trigger.py +2 -2
- pulumi_alicloud/gpdb/account.py +0 -4
- pulumi_alicloud/gpdb/connection.py +0 -4
- pulumi_alicloud/log/alert.py +30 -28
- pulumi_alicloud/log/audit.py +2 -0
- pulumi_alicloud/log/dashboard.py +8 -8
- pulumi_alicloud/log/etl.py +26 -26
- pulumi_alicloud/log/ingestion.py +10 -10
- pulumi_alicloud/log/log_tail_attachment.py +14 -14
- pulumi_alicloud/log/log_tail_config.py +10 -10
- pulumi_alicloud/log/machine_group.py +4 -4
- pulumi_alicloud/log/oss_export.py +10 -10
- pulumi_alicloud/log/project.py +4 -4
- pulumi_alicloud/log/store_index.py +10 -10
- pulumi_alicloud/nlb/server_group.py +2 -2
- pulumi_alicloud/oos/service_setting.py +10 -8
- pulumi_alicloud/oss/bucket.py +18 -10
- pulumi_alicloud/oss/bucket_object.py +12 -8
- pulumi_alicloud/oss/bucket_replication.py +2 -2
- pulumi_alicloud/polardb/cluster.py +75 -21
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/zone_record.py +2 -2
- pulumi_alicloud/ram/access_key.py +4 -0
- pulumi_alicloud/rds/account_privilege.py +2 -2
- pulumi_alicloud/rds/backup_policy.py +270 -12
- pulumi_alicloud/rds/database.py +49 -7
- pulumi_alicloud/rds/instance.py +4 -2
- pulumi_alicloud/rocketmq/group.py +2 -2
- pulumi_alicloud/rocketmq/topic.py +2 -2
- pulumi_alicloud/sls/alert.py +6 -6
- pulumi_alicloud/sls/scheduled_sql.py +10 -10
- pulumi_alicloud/vpc/ha_vip_attachment.py +2 -2
- pulumi_alicloud/vpc/ipv6_internet_bandwidth.py +4 -4
- pulumi_alicloud/vpc/route_table_attachment.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +2 -2
- {pulumi_alicloud-3.62.0a1724995491.dist-info → pulumi_alicloud-3.62.0a1725600316.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.62.0a1724995491.dist-info → pulumi_alicloud-3.62.0a1725600316.dist-info}/RECORD +73 -73
- {pulumi_alicloud-3.62.0a1724995491.dist-info → pulumi_alicloud-3.62.0a1725600316.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.62.0a1724995491.dist-info → pulumi_alicloud-3.62.0a1725600316.dist-info}/top_level.txt +0 -0
|
@@ -16,17 +16,16 @@ __all__ = ['ServerlessKubernetesArgs', 'ServerlessKubernetes']
|
|
|
16
16
|
@pulumi.input_type
|
|
17
17
|
class ServerlessKubernetesArgs:
|
|
18
18
|
def __init__(__self__, *,
|
|
19
|
-
vpc_id: pulumi.Input[str],
|
|
20
19
|
addons: Optional[pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]]] = None,
|
|
21
20
|
client_cert: Optional[pulumi.Input[str]] = None,
|
|
22
21
|
client_key: Optional[pulumi.Input[str]] = None,
|
|
23
22
|
cluster_ca_cert: Optional[pulumi.Input[str]] = None,
|
|
24
23
|
cluster_spec: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
|
|
24
|
+
custom_san: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesDeleteOptionArgs']]]] = None,
|
|
26
26
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
27
27
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
28
28
|
endpoint_public_access_enabled: Optional[pulumi.Input[bool]] = None,
|
|
29
|
-
force_update: Optional[pulumi.Input[bool]] = None,
|
|
30
29
|
kube_config: Optional[pulumi.Input[str]] = None,
|
|
31
30
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
32
31
|
logging_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -36,7 +35,6 @@ class ServerlessKubernetesArgs:
|
|
|
36
35
|
private_zone: Optional[pulumi.Input[bool]] = None,
|
|
37
36
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
38
37
|
retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
39
|
-
rrsa_metadata: Optional[pulumi.Input['ServerlessKubernetesRrsaMetadataArgs']] = None,
|
|
40
38
|
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
41
39
|
service_cidr: Optional[pulumi.Input[str]] = None,
|
|
42
40
|
service_discovery_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -44,28 +42,28 @@ class ServerlessKubernetesArgs:
|
|
|
44
42
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
45
43
|
time_zone: Optional[pulumi.Input[str]] = None,
|
|
46
44
|
version: Optional[pulumi.Input[str]] = None,
|
|
47
|
-
|
|
45
|
+
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
48
46
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
49
47
|
zone_id: Optional[pulumi.Input[str]] = None):
|
|
50
48
|
"""
|
|
51
49
|
The set of arguments for constructing a ServerlessKubernetes resource.
|
|
52
|
-
:param pulumi.Input[
|
|
53
|
-
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]] addons: You can specific network plugin,log component,ingress component and so on. See `addons` below.
|
|
50
|
+
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
54
51
|
:param pulumi.Input[str] client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
55
52
|
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
56
53
|
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
57
54
|
:param pulumi.Input[str] cluster_spec: The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values:
|
|
58
55
|
- ack.standard: Standard serverless clusters.
|
|
59
56
|
- ack.pro.small: Professional serverless clusters.
|
|
60
|
-
:param pulumi.Input[
|
|
57
|
+
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
58
|
+
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
61
59
|
|
|
62
60
|
*Removed params*
|
|
61
|
+
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesDeleteOptionArgs']]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
63
62
|
:param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not.
|
|
64
63
|
- true: Enable deletion protection.
|
|
65
64
|
- false: Disable deletion protection.
|
|
66
65
|
:param pulumi.Input[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).
|
|
67
|
-
:param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet
|
|
68
|
-
:param pulumi.Input[bool] force_update: Default false, when you want to change `vpc_id` and `vswitch_id`, you have to set this field to true, then the cluster will be recreated.
|
|
66
|
+
:param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false.
|
|
69
67
|
:param pulumi.Input[str] kube_config: The path of kube config, like `~/.kube/config`.
|
|
70
68
|
:param pulumi.Input[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).
|
|
71
69
|
:param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`.
|
|
@@ -73,19 +71,17 @@ class ServerlessKubernetesArgs:
|
|
|
73
71
|
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. SNAT must be configured when a new VPC is automatically created. Default is `true`.
|
|
74
72
|
:param pulumi.Input[bool] private_zone: Has been deprecated from provider version 1.123.1. `PrivateZone` is used as the enumeration value of `service_discovery_types`.
|
|
75
73
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
76
|
-
:param pulumi.Input['ServerlessKubernetesRrsaMetadataArgs'] rrsa_metadata: Nested attribute containing RRSA related data for your cluster. See `rrsa_metadata` below.
|
|
77
74
|
:param pulumi.Input[str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
78
75
|
:param pulumi.Input[str] service_cidr: CIDR block of the service network. The specified CIDR block cannot overlap with that of the VPC or those of the ACK clusters that are deployed in the VPC. The CIDR block cannot be modified after the cluster is created.
|
|
79
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] service_discovery_types: Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
76
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] service_discovery_types: Service discovery type. Only works for **Create** Operation. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
80
77
|
:param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`.
|
|
81
78
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
|
|
82
79
|
:param pulumi.Input[str] time_zone: The time zone of the cluster.
|
|
83
80
|
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
|
|
84
|
-
:param pulumi.Input[str]
|
|
81
|
+
:param pulumi.Input[str] vpc_id: The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
|
|
85
82
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vswitches where new kubernetes cluster will be located.
|
|
86
83
|
:param pulumi.Input[str] zone_id: When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.
|
|
87
84
|
"""
|
|
88
|
-
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
89
85
|
if addons is not None:
|
|
90
86
|
pulumi.set(__self__, "addons", addons)
|
|
91
87
|
if client_cert is not None:
|
|
@@ -96,23 +92,29 @@ class ServerlessKubernetesArgs:
|
|
|
96
92
|
pulumi.set(__self__, "cluster_ca_cert", cluster_ca_cert)
|
|
97
93
|
if cluster_spec is not None:
|
|
98
94
|
pulumi.set(__self__, "cluster_spec", cluster_spec)
|
|
99
|
-
if
|
|
100
|
-
pulumi.set(__self__, "
|
|
95
|
+
if custom_san is not None:
|
|
96
|
+
pulumi.set(__self__, "custom_san", custom_san)
|
|
97
|
+
if delete_options is not None:
|
|
98
|
+
pulumi.set(__self__, "delete_options", delete_options)
|
|
101
99
|
if deletion_protection is not None:
|
|
102
100
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
|
103
101
|
if enable_rrsa is not None:
|
|
104
102
|
pulumi.set(__self__, "enable_rrsa", enable_rrsa)
|
|
105
103
|
if endpoint_public_access_enabled is not None:
|
|
106
104
|
pulumi.set(__self__, "endpoint_public_access_enabled", endpoint_public_access_enabled)
|
|
107
|
-
if force_update is not None:
|
|
108
|
-
pulumi.set(__self__, "force_update", force_update)
|
|
109
105
|
if kube_config is not None:
|
|
110
106
|
warnings.warn("""Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.""", DeprecationWarning)
|
|
111
107
|
pulumi.log.warn("""kube_config is deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.""")
|
|
112
108
|
if kube_config is not None:
|
|
113
109
|
pulumi.set(__self__, "kube_config", kube_config)
|
|
110
|
+
if load_balancer_spec is not None:
|
|
111
|
+
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.229.1. The load balancer has been changed to PayByCLCU so that no spec is need anymore.""", DeprecationWarning)
|
|
112
|
+
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.229.1. The load balancer has been changed to PayByCLCU so that no spec is need anymore.""")
|
|
114
113
|
if load_balancer_spec is not None:
|
|
115
114
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
115
|
+
if logging_type is not None:
|
|
116
|
+
warnings.warn("""Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.""", DeprecationWarning)
|
|
117
|
+
pulumi.log.warn("""logging_type is deprecated: Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.""")
|
|
116
118
|
if logging_type is not None:
|
|
117
119
|
pulumi.set(__self__, "logging_type", logging_type)
|
|
118
120
|
if name is not None:
|
|
@@ -130,14 +132,15 @@ class ServerlessKubernetesArgs:
|
|
|
130
132
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
131
133
|
if retain_resources is not None:
|
|
132
134
|
pulumi.set(__self__, "retain_resources", retain_resources)
|
|
133
|
-
if rrsa_metadata is not None:
|
|
134
|
-
pulumi.set(__self__, "rrsa_metadata", rrsa_metadata)
|
|
135
135
|
if security_group_id is not None:
|
|
136
136
|
pulumi.set(__self__, "security_group_id", security_group_id)
|
|
137
137
|
if service_cidr is not None:
|
|
138
138
|
pulumi.set(__self__, "service_cidr", service_cidr)
|
|
139
139
|
if service_discovery_types is not None:
|
|
140
140
|
pulumi.set(__self__, "service_discovery_types", service_discovery_types)
|
|
141
|
+
if sls_project_name is not None:
|
|
142
|
+
warnings.warn("""Field 'sls_project_name' has been deprecated from provider version 1.229.1. Please use the field `config` of addons `alibaba-log-controller` to specify log project name.""", DeprecationWarning)
|
|
143
|
+
pulumi.log.warn("""sls_project_name is deprecated: Field 'sls_project_name' has been deprecated from provider version 1.229.1. Please use the field `config` of addons `alibaba-log-controller` to specify log project name.""")
|
|
141
144
|
if sls_project_name is not None:
|
|
142
145
|
pulumi.set(__self__, "sls_project_name", sls_project_name)
|
|
143
146
|
if tags is not None:
|
|
@@ -146,33 +149,18 @@ class ServerlessKubernetesArgs:
|
|
|
146
149
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
147
150
|
if version is not None:
|
|
148
151
|
pulumi.set(__self__, "version", version)
|
|
149
|
-
if
|
|
150
|
-
|
|
151
|
-
pulumi.log.warn("""vswitch_id is deprecated: Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.""")
|
|
152
|
-
if vswitch_id is not None:
|
|
153
|
-
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
152
|
+
if vpc_id is not None:
|
|
153
|
+
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
154
154
|
if vswitch_ids is not None:
|
|
155
155
|
pulumi.set(__self__, "vswitch_ids", vswitch_ids)
|
|
156
156
|
if zone_id is not None:
|
|
157
157
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
158
158
|
|
|
159
|
-
@property
|
|
160
|
-
@pulumi.getter(name="vpcId")
|
|
161
|
-
def vpc_id(self) -> pulumi.Input[str]:
|
|
162
|
-
"""
|
|
163
|
-
The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
|
|
164
|
-
"""
|
|
165
|
-
return pulumi.get(self, "vpc_id")
|
|
166
|
-
|
|
167
|
-
@vpc_id.setter
|
|
168
|
-
def vpc_id(self, value: pulumi.Input[str]):
|
|
169
|
-
pulumi.set(self, "vpc_id", value)
|
|
170
|
-
|
|
171
159
|
@property
|
|
172
160
|
@pulumi.getter
|
|
173
161
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]]]:
|
|
174
162
|
"""
|
|
175
|
-
You can specific network plugin,log component,ingress component and so on. See `addons`
|
|
163
|
+
You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
176
164
|
"""
|
|
177
165
|
return pulumi.get(self, "addons")
|
|
178
166
|
|
|
@@ -231,18 +219,31 @@ class ServerlessKubernetesArgs:
|
|
|
231
219
|
pulumi.set(self, "cluster_spec", value)
|
|
232
220
|
|
|
233
221
|
@property
|
|
234
|
-
@pulumi.getter(name="
|
|
235
|
-
def
|
|
222
|
+
@pulumi.getter(name="customSan")
|
|
223
|
+
def custom_san(self) -> Optional[pulumi.Input[str]]:
|
|
236
224
|
"""
|
|
237
|
-
|
|
225
|
+
Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
226
|
+
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
238
227
|
|
|
239
228
|
*Removed params*
|
|
240
229
|
"""
|
|
241
|
-
return pulumi.get(self, "
|
|
230
|
+
return pulumi.get(self, "custom_san")
|
|
242
231
|
|
|
243
|
-
@
|
|
244
|
-
def
|
|
245
|
-
pulumi.set(self, "
|
|
232
|
+
@custom_san.setter
|
|
233
|
+
def custom_san(self, value: Optional[pulumi.Input[str]]):
|
|
234
|
+
pulumi.set(self, "custom_san", value)
|
|
235
|
+
|
|
236
|
+
@property
|
|
237
|
+
@pulumi.getter(name="deleteOptions")
|
|
238
|
+
def delete_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesDeleteOptionArgs']]]]:
|
|
239
|
+
"""
|
|
240
|
+
Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
241
|
+
"""
|
|
242
|
+
return pulumi.get(self, "delete_options")
|
|
243
|
+
|
|
244
|
+
@delete_options.setter
|
|
245
|
+
def delete_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesDeleteOptionArgs']]]]):
|
|
246
|
+
pulumi.set(self, "delete_options", value)
|
|
246
247
|
|
|
247
248
|
@property
|
|
248
249
|
@pulumi.getter(name="deletionProtection")
|
|
@@ -274,7 +275,7 @@ class ServerlessKubernetesArgs:
|
|
|
274
275
|
@pulumi.getter(name="endpointPublicAccessEnabled")
|
|
275
276
|
def endpoint_public_access_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
276
277
|
"""
|
|
277
|
-
Whether to create internet
|
|
278
|
+
Whether to create internet eip for API Server. Default to false.
|
|
278
279
|
"""
|
|
279
280
|
return pulumi.get(self, "endpoint_public_access_enabled")
|
|
280
281
|
|
|
@@ -282,18 +283,6 @@ class ServerlessKubernetesArgs:
|
|
|
282
283
|
def endpoint_public_access_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
283
284
|
pulumi.set(self, "endpoint_public_access_enabled", value)
|
|
284
285
|
|
|
285
|
-
@property
|
|
286
|
-
@pulumi.getter(name="forceUpdate")
|
|
287
|
-
def force_update(self) -> Optional[pulumi.Input[bool]]:
|
|
288
|
-
"""
|
|
289
|
-
Default false, when you want to change `vpc_id` and `vswitch_id`, you have to set this field to true, then the cluster will be recreated.
|
|
290
|
-
"""
|
|
291
|
-
return pulumi.get(self, "force_update")
|
|
292
|
-
|
|
293
|
-
@force_update.setter
|
|
294
|
-
def force_update(self, value: Optional[pulumi.Input[bool]]):
|
|
295
|
-
pulumi.set(self, "force_update", value)
|
|
296
|
-
|
|
297
286
|
@property
|
|
298
287
|
@pulumi.getter(name="kubeConfig")
|
|
299
288
|
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.""")
|
|
@@ -309,6 +298,7 @@ class ServerlessKubernetesArgs:
|
|
|
309
298
|
|
|
310
299
|
@property
|
|
311
300
|
@pulumi.getter(name="loadBalancerSpec")
|
|
301
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.229.1. The load balancer has been changed to PayByCLCU so that no spec is need anymore.""")
|
|
312
302
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
313
303
|
"""
|
|
314
304
|
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).
|
|
@@ -321,6 +311,7 @@ class ServerlessKubernetesArgs:
|
|
|
321
311
|
|
|
322
312
|
@property
|
|
323
313
|
@pulumi.getter(name="loggingType")
|
|
314
|
+
@_utilities.deprecated("""Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.""")
|
|
324
315
|
def logging_type(self) -> Optional[pulumi.Input[str]]:
|
|
325
316
|
"""
|
|
326
317
|
Enable log service, Valid value `SLS`.
|
|
@@ -398,18 +389,6 @@ class ServerlessKubernetesArgs:
|
|
|
398
389
|
def retain_resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
399
390
|
pulumi.set(self, "retain_resources", value)
|
|
400
391
|
|
|
401
|
-
@property
|
|
402
|
-
@pulumi.getter(name="rrsaMetadata")
|
|
403
|
-
def rrsa_metadata(self) -> Optional[pulumi.Input['ServerlessKubernetesRrsaMetadataArgs']]:
|
|
404
|
-
"""
|
|
405
|
-
Nested attribute containing RRSA related data for your cluster. See `rrsa_metadata` below.
|
|
406
|
-
"""
|
|
407
|
-
return pulumi.get(self, "rrsa_metadata")
|
|
408
|
-
|
|
409
|
-
@rrsa_metadata.setter
|
|
410
|
-
def rrsa_metadata(self, value: Optional[pulumi.Input['ServerlessKubernetesRrsaMetadataArgs']]):
|
|
411
|
-
pulumi.set(self, "rrsa_metadata", value)
|
|
412
|
-
|
|
413
392
|
@property
|
|
414
393
|
@pulumi.getter(name="securityGroupId")
|
|
415
394
|
def security_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -438,7 +417,7 @@ class ServerlessKubernetesArgs:
|
|
|
438
417
|
@pulumi.getter(name="serviceDiscoveryTypes")
|
|
439
418
|
def service_discovery_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
440
419
|
"""
|
|
441
|
-
Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
420
|
+
Service discovery type. Only works for **Create** Operation. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
442
421
|
"""
|
|
443
422
|
return pulumi.get(self, "service_discovery_types")
|
|
444
423
|
|
|
@@ -448,6 +427,7 @@ class ServerlessKubernetesArgs:
|
|
|
448
427
|
|
|
449
428
|
@property
|
|
450
429
|
@pulumi.getter(name="slsProjectName")
|
|
430
|
+
@_utilities.deprecated("""Field 'sls_project_name' has been deprecated from provider version 1.229.1. Please use the field `config` of addons `alibaba-log-controller` to specify log project name.""")
|
|
451
431
|
def sls_project_name(self) -> Optional[pulumi.Input[str]]:
|
|
452
432
|
"""
|
|
453
433
|
If you use an existing SLS project, you must specify `sls_project_name`.
|
|
@@ -495,17 +475,16 @@ class ServerlessKubernetesArgs:
|
|
|
495
475
|
pulumi.set(self, "version", value)
|
|
496
476
|
|
|
497
477
|
@property
|
|
498
|
-
@pulumi.getter(name="
|
|
499
|
-
|
|
500
|
-
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
478
|
+
@pulumi.getter(name="vpcId")
|
|
479
|
+
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
501
480
|
"""
|
|
502
|
-
The
|
|
481
|
+
The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
|
|
503
482
|
"""
|
|
504
|
-
return pulumi.get(self, "
|
|
483
|
+
return pulumi.get(self, "vpc_id")
|
|
505
484
|
|
|
506
|
-
@
|
|
507
|
-
def
|
|
508
|
-
pulumi.set(self, "
|
|
485
|
+
@vpc_id.setter
|
|
486
|
+
def vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
487
|
+
pulumi.set(self, "vpc_id", value)
|
|
509
488
|
|
|
510
489
|
@property
|
|
511
490
|
@pulumi.getter(name="vswitchIds")
|
|
@@ -540,11 +519,11 @@ class _ServerlessKubernetesState:
|
|
|
540
519
|
client_key: Optional[pulumi.Input[str]] = None,
|
|
541
520
|
cluster_ca_cert: Optional[pulumi.Input[str]] = None,
|
|
542
521
|
cluster_spec: Optional[pulumi.Input[str]] = None,
|
|
543
|
-
|
|
522
|
+
custom_san: Optional[pulumi.Input[str]] = None,
|
|
523
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesDeleteOptionArgs']]]] = None,
|
|
544
524
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
545
525
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
546
526
|
endpoint_public_access_enabled: Optional[pulumi.Input[bool]] = None,
|
|
547
|
-
force_update: Optional[pulumi.Input[bool]] = None,
|
|
548
527
|
kube_config: Optional[pulumi.Input[str]] = None,
|
|
549
528
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
550
529
|
logging_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -563,27 +542,27 @@ class _ServerlessKubernetesState:
|
|
|
563
542
|
time_zone: Optional[pulumi.Input[str]] = None,
|
|
564
543
|
version: Optional[pulumi.Input[str]] = None,
|
|
565
544
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
566
|
-
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
567
545
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
568
546
|
zone_id: Optional[pulumi.Input[str]] = None):
|
|
569
547
|
"""
|
|
570
548
|
Input properties used for looking up and filtering ServerlessKubernetes resources.
|
|
571
|
-
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]] addons: You can specific network plugin,log component,ingress component and so on. See `addons`
|
|
549
|
+
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
572
550
|
:param pulumi.Input[str] client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
573
551
|
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
574
552
|
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
575
553
|
:param pulumi.Input[str] cluster_spec: The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values:
|
|
576
554
|
- ack.standard: Standard serverless clusters.
|
|
577
555
|
- ack.pro.small: Professional serverless clusters.
|
|
578
|
-
:param pulumi.Input[
|
|
556
|
+
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
557
|
+
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
579
558
|
|
|
580
559
|
*Removed params*
|
|
560
|
+
:param pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesDeleteOptionArgs']]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
581
561
|
:param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not.
|
|
582
562
|
- true: Enable deletion protection.
|
|
583
563
|
- false: Disable deletion protection.
|
|
584
564
|
:param pulumi.Input[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).
|
|
585
|
-
:param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet
|
|
586
|
-
:param pulumi.Input[bool] force_update: Default false, when you want to change `vpc_id` and `vswitch_id`, you have to set this field to true, then the cluster will be recreated.
|
|
565
|
+
:param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false.
|
|
587
566
|
:param pulumi.Input[str] kube_config: The path of kube config, like `~/.kube/config`.
|
|
588
567
|
:param pulumi.Input[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).
|
|
589
568
|
:param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`.
|
|
@@ -591,16 +570,15 @@ class _ServerlessKubernetesState:
|
|
|
591
570
|
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. SNAT must be configured when a new VPC is automatically created. Default is `true`.
|
|
592
571
|
:param pulumi.Input[bool] private_zone: Has been deprecated from provider version 1.123.1. `PrivateZone` is used as the enumeration value of `service_discovery_types`.
|
|
593
572
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
594
|
-
:param pulumi.Input['ServerlessKubernetesRrsaMetadataArgs'] rrsa_metadata: Nested attribute containing RRSA related data for your cluster.
|
|
573
|
+
:param pulumi.Input['ServerlessKubernetesRrsaMetadataArgs'] rrsa_metadata: Nested attribute containing RRSA related data for your cluster.
|
|
595
574
|
:param pulumi.Input[str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
596
575
|
:param pulumi.Input[str] service_cidr: CIDR block of the service network. The specified CIDR block cannot overlap with that of the VPC or those of the ACK clusters that are deployed in the VPC. The CIDR block cannot be modified after the cluster is created.
|
|
597
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] service_discovery_types: Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
576
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] service_discovery_types: Service discovery type. Only works for **Create** Operation. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
598
577
|
:param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`.
|
|
599
578
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
|
|
600
579
|
:param pulumi.Input[str] time_zone: The time zone of the cluster.
|
|
601
580
|
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
|
|
602
|
-
:param pulumi.Input[str] vpc_id: The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC
|
|
603
|
-
:param pulumi.Input[str] vswitch_id: The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availability_zone` specified.
|
|
581
|
+
:param pulumi.Input[str] vpc_id: The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
|
|
604
582
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vswitches where new kubernetes cluster will be located.
|
|
605
583
|
:param pulumi.Input[str] zone_id: When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.
|
|
606
584
|
"""
|
|
@@ -614,23 +592,29 @@ class _ServerlessKubernetesState:
|
|
|
614
592
|
pulumi.set(__self__, "cluster_ca_cert", cluster_ca_cert)
|
|
615
593
|
if cluster_spec is not None:
|
|
616
594
|
pulumi.set(__self__, "cluster_spec", cluster_spec)
|
|
617
|
-
if
|
|
618
|
-
pulumi.set(__self__, "
|
|
595
|
+
if custom_san is not None:
|
|
596
|
+
pulumi.set(__self__, "custom_san", custom_san)
|
|
597
|
+
if delete_options is not None:
|
|
598
|
+
pulumi.set(__self__, "delete_options", delete_options)
|
|
619
599
|
if deletion_protection is not None:
|
|
620
600
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
|
621
601
|
if enable_rrsa is not None:
|
|
622
602
|
pulumi.set(__self__, "enable_rrsa", enable_rrsa)
|
|
623
603
|
if endpoint_public_access_enabled is not None:
|
|
624
604
|
pulumi.set(__self__, "endpoint_public_access_enabled", endpoint_public_access_enabled)
|
|
625
|
-
if force_update is not None:
|
|
626
|
-
pulumi.set(__self__, "force_update", force_update)
|
|
627
605
|
if kube_config is not None:
|
|
628
606
|
warnings.warn("""Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.""", DeprecationWarning)
|
|
629
607
|
pulumi.log.warn("""kube_config is deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.""")
|
|
630
608
|
if kube_config is not None:
|
|
631
609
|
pulumi.set(__self__, "kube_config", kube_config)
|
|
610
|
+
if load_balancer_spec is not None:
|
|
611
|
+
warnings.warn("""Field 'load_balancer_spec' has been deprecated from provider version 1.229.1. The load balancer has been changed to PayByCLCU so that no spec is need anymore.""", DeprecationWarning)
|
|
612
|
+
pulumi.log.warn("""load_balancer_spec is deprecated: Field 'load_balancer_spec' has been deprecated from provider version 1.229.1. The load balancer has been changed to PayByCLCU so that no spec is need anymore.""")
|
|
632
613
|
if load_balancer_spec is not None:
|
|
633
614
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
615
|
+
if logging_type is not None:
|
|
616
|
+
warnings.warn("""Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.""", DeprecationWarning)
|
|
617
|
+
pulumi.log.warn("""logging_type is deprecated: Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.""")
|
|
634
618
|
if logging_type is not None:
|
|
635
619
|
pulumi.set(__self__, "logging_type", logging_type)
|
|
636
620
|
if name is not None:
|
|
@@ -656,6 +640,9 @@ class _ServerlessKubernetesState:
|
|
|
656
640
|
pulumi.set(__self__, "service_cidr", service_cidr)
|
|
657
641
|
if service_discovery_types is not None:
|
|
658
642
|
pulumi.set(__self__, "service_discovery_types", service_discovery_types)
|
|
643
|
+
if sls_project_name is not None:
|
|
644
|
+
warnings.warn("""Field 'sls_project_name' has been deprecated from provider version 1.229.1. Please use the field `config` of addons `alibaba-log-controller` to specify log project name.""", DeprecationWarning)
|
|
645
|
+
pulumi.log.warn("""sls_project_name is deprecated: Field 'sls_project_name' has been deprecated from provider version 1.229.1. Please use the field `config` of addons `alibaba-log-controller` to specify log project name.""")
|
|
659
646
|
if sls_project_name is not None:
|
|
660
647
|
pulumi.set(__self__, "sls_project_name", sls_project_name)
|
|
661
648
|
if tags is not None:
|
|
@@ -666,11 +653,6 @@ class _ServerlessKubernetesState:
|
|
|
666
653
|
pulumi.set(__self__, "version", version)
|
|
667
654
|
if vpc_id is not None:
|
|
668
655
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
669
|
-
if vswitch_id is not None:
|
|
670
|
-
warnings.warn("""Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.""", DeprecationWarning)
|
|
671
|
-
pulumi.log.warn("""vswitch_id is deprecated: Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.""")
|
|
672
|
-
if vswitch_id is not None:
|
|
673
|
-
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
674
656
|
if vswitch_ids is not None:
|
|
675
657
|
pulumi.set(__self__, "vswitch_ids", vswitch_ids)
|
|
676
658
|
if zone_id is not None:
|
|
@@ -680,7 +662,7 @@ class _ServerlessKubernetesState:
|
|
|
680
662
|
@pulumi.getter
|
|
681
663
|
def addons(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesAddonArgs']]]]:
|
|
682
664
|
"""
|
|
683
|
-
You can specific network plugin,log component,ingress component and so on. See `addons`
|
|
665
|
+
You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
684
666
|
"""
|
|
685
667
|
return pulumi.get(self, "addons")
|
|
686
668
|
|
|
@@ -739,18 +721,31 @@ class _ServerlessKubernetesState:
|
|
|
739
721
|
pulumi.set(self, "cluster_spec", value)
|
|
740
722
|
|
|
741
723
|
@property
|
|
742
|
-
@pulumi.getter(name="
|
|
743
|
-
def
|
|
724
|
+
@pulumi.getter(name="customSan")
|
|
725
|
+
def custom_san(self) -> Optional[pulumi.Input[str]]:
|
|
744
726
|
"""
|
|
745
|
-
|
|
727
|
+
Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
728
|
+
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
746
729
|
|
|
747
730
|
*Removed params*
|
|
748
731
|
"""
|
|
749
|
-
return pulumi.get(self, "
|
|
732
|
+
return pulumi.get(self, "custom_san")
|
|
733
|
+
|
|
734
|
+
@custom_san.setter
|
|
735
|
+
def custom_san(self, value: Optional[pulumi.Input[str]]):
|
|
736
|
+
pulumi.set(self, "custom_san", value)
|
|
737
|
+
|
|
738
|
+
@property
|
|
739
|
+
@pulumi.getter(name="deleteOptions")
|
|
740
|
+
def delete_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesDeleteOptionArgs']]]]:
|
|
741
|
+
"""
|
|
742
|
+
Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
743
|
+
"""
|
|
744
|
+
return pulumi.get(self, "delete_options")
|
|
750
745
|
|
|
751
|
-
@
|
|
752
|
-
def
|
|
753
|
-
pulumi.set(self, "
|
|
746
|
+
@delete_options.setter
|
|
747
|
+
def delete_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServerlessKubernetesDeleteOptionArgs']]]]):
|
|
748
|
+
pulumi.set(self, "delete_options", value)
|
|
754
749
|
|
|
755
750
|
@property
|
|
756
751
|
@pulumi.getter(name="deletionProtection")
|
|
@@ -782,7 +777,7 @@ class _ServerlessKubernetesState:
|
|
|
782
777
|
@pulumi.getter(name="endpointPublicAccessEnabled")
|
|
783
778
|
def endpoint_public_access_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
784
779
|
"""
|
|
785
|
-
Whether to create internet
|
|
780
|
+
Whether to create internet eip for API Server. Default to false.
|
|
786
781
|
"""
|
|
787
782
|
return pulumi.get(self, "endpoint_public_access_enabled")
|
|
788
783
|
|
|
@@ -790,18 +785,6 @@ class _ServerlessKubernetesState:
|
|
|
790
785
|
def endpoint_public_access_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
791
786
|
pulumi.set(self, "endpoint_public_access_enabled", value)
|
|
792
787
|
|
|
793
|
-
@property
|
|
794
|
-
@pulumi.getter(name="forceUpdate")
|
|
795
|
-
def force_update(self) -> Optional[pulumi.Input[bool]]:
|
|
796
|
-
"""
|
|
797
|
-
Default false, when you want to change `vpc_id` and `vswitch_id`, you have to set this field to true, then the cluster will be recreated.
|
|
798
|
-
"""
|
|
799
|
-
return pulumi.get(self, "force_update")
|
|
800
|
-
|
|
801
|
-
@force_update.setter
|
|
802
|
-
def force_update(self, value: Optional[pulumi.Input[bool]]):
|
|
803
|
-
pulumi.set(self, "force_update", value)
|
|
804
|
-
|
|
805
788
|
@property
|
|
806
789
|
@pulumi.getter(name="kubeConfig")
|
|
807
790
|
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.""")
|
|
@@ -817,6 +800,7 @@ class _ServerlessKubernetesState:
|
|
|
817
800
|
|
|
818
801
|
@property
|
|
819
802
|
@pulumi.getter(name="loadBalancerSpec")
|
|
803
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.229.1. The load balancer has been changed to PayByCLCU so that no spec is need anymore.""")
|
|
820
804
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
821
805
|
"""
|
|
822
806
|
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).
|
|
@@ -829,6 +813,7 @@ class _ServerlessKubernetesState:
|
|
|
829
813
|
|
|
830
814
|
@property
|
|
831
815
|
@pulumi.getter(name="loggingType")
|
|
816
|
+
@_utilities.deprecated("""Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.""")
|
|
832
817
|
def logging_type(self) -> Optional[pulumi.Input[str]]:
|
|
833
818
|
"""
|
|
834
819
|
Enable log service, Valid value `SLS`.
|
|
@@ -910,7 +895,7 @@ class _ServerlessKubernetesState:
|
|
|
910
895
|
@pulumi.getter(name="rrsaMetadata")
|
|
911
896
|
def rrsa_metadata(self) -> Optional[pulumi.Input['ServerlessKubernetesRrsaMetadataArgs']]:
|
|
912
897
|
"""
|
|
913
|
-
Nested attribute containing RRSA related data for your cluster.
|
|
898
|
+
Nested attribute containing RRSA related data for your cluster.
|
|
914
899
|
"""
|
|
915
900
|
return pulumi.get(self, "rrsa_metadata")
|
|
916
901
|
|
|
@@ -946,7 +931,7 @@ class _ServerlessKubernetesState:
|
|
|
946
931
|
@pulumi.getter(name="serviceDiscoveryTypes")
|
|
947
932
|
def service_discovery_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
948
933
|
"""
|
|
949
|
-
Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
934
|
+
Service discovery type. Only works for **Create** Operation. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
950
935
|
"""
|
|
951
936
|
return pulumi.get(self, "service_discovery_types")
|
|
952
937
|
|
|
@@ -956,6 +941,7 @@ class _ServerlessKubernetesState:
|
|
|
956
941
|
|
|
957
942
|
@property
|
|
958
943
|
@pulumi.getter(name="slsProjectName")
|
|
944
|
+
@_utilities.deprecated("""Field 'sls_project_name' has been deprecated from provider version 1.229.1. Please use the field `config` of addons `alibaba-log-controller` to specify log project name.""")
|
|
959
945
|
def sls_project_name(self) -> Optional[pulumi.Input[str]]:
|
|
960
946
|
"""
|
|
961
947
|
If you use an existing SLS project, you must specify `sls_project_name`.
|
|
@@ -1006,7 +992,7 @@ class _ServerlessKubernetesState:
|
|
|
1006
992
|
@pulumi.getter(name="vpcId")
|
|
1007
993
|
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
1008
994
|
"""
|
|
1009
|
-
The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC
|
|
995
|
+
The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
|
|
1010
996
|
"""
|
|
1011
997
|
return pulumi.get(self, "vpc_id")
|
|
1012
998
|
|
|
@@ -1014,19 +1000,6 @@ class _ServerlessKubernetesState:
|
|
|
1014
1000
|
def vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
1015
1001
|
pulumi.set(self, "vpc_id", value)
|
|
1016
1002
|
|
|
1017
|
-
@property
|
|
1018
|
-
@pulumi.getter(name="vswitchId")
|
|
1019
|
-
@_utilities.deprecated("""Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.""")
|
|
1020
|
-
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
1021
|
-
"""
|
|
1022
|
-
The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availability_zone` specified.
|
|
1023
|
-
"""
|
|
1024
|
-
return pulumi.get(self, "vswitch_id")
|
|
1025
|
-
|
|
1026
|
-
@vswitch_id.setter
|
|
1027
|
-
def vswitch_id(self, value: Optional[pulumi.Input[str]]):
|
|
1028
|
-
pulumi.set(self, "vswitch_id", value)
|
|
1029
|
-
|
|
1030
1003
|
@property
|
|
1031
1004
|
@pulumi.getter(name="vswitchIds")
|
|
1032
1005
|
def vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
@@ -1062,11 +1035,11 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1062
1035
|
client_key: Optional[pulumi.Input[str]] = None,
|
|
1063
1036
|
cluster_ca_cert: Optional[pulumi.Input[str]] = None,
|
|
1064
1037
|
cluster_spec: Optional[pulumi.Input[str]] = None,
|
|
1065
|
-
|
|
1038
|
+
custom_san: Optional[pulumi.Input[str]] = None,
|
|
1039
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesDeleteOptionArgs', 'ServerlessKubernetesDeleteOptionArgsDict']]]]] = None,
|
|
1066
1040
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1067
1041
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1068
1042
|
endpoint_public_access_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1069
|
-
force_update: Optional[pulumi.Input[bool]] = None,
|
|
1070
1043
|
kube_config: Optional[pulumi.Input[str]] = None,
|
|
1071
1044
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
1072
1045
|
logging_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -1076,7 +1049,6 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1076
1049
|
private_zone: Optional[pulumi.Input[bool]] = None,
|
|
1077
1050
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1078
1051
|
retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1079
|
-
rrsa_metadata: Optional[pulumi.Input[Union['ServerlessKubernetesRrsaMetadataArgs', 'ServerlessKubernetesRrsaMetadataArgsDict']]] = None,
|
|
1080
1052
|
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
1081
1053
|
service_cidr: Optional[pulumi.Input[str]] = None,
|
|
1082
1054
|
service_discovery_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -1085,7 +1057,6 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1085
1057
|
time_zone: Optional[pulumi.Input[str]] = None,
|
|
1086
1058
|
version: Optional[pulumi.Input[str]] = None,
|
|
1087
1059
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1088
|
-
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
1089
1060
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1090
1061
|
zone_id: Optional[pulumi.Input[str]] = None,
|
|
1091
1062
|
__props__=None):
|
|
@@ -1110,6 +1081,8 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1110
1081
|
|
|
1111
1082
|
> **NOTE:** From version 1.162.0, support for creating professional serverless cluster.
|
|
1112
1083
|
|
|
1084
|
+
> **NOTE:** From version 1.229.1, support to migrate basic serverless cluster to professional serverless cluster.
|
|
1085
|
+
|
|
1113
1086
|
## Example Usage
|
|
1114
1087
|
|
|
1115
1088
|
Basic Usage
|
|
@@ -1121,15 +1094,15 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1121
1094
|
config = pulumi.Config()
|
|
1122
1095
|
name = config.get("name")
|
|
1123
1096
|
if name is None:
|
|
1124
|
-
name = "ask-example"
|
|
1097
|
+
name = "ask-example-pro"
|
|
1125
1098
|
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
1126
1099
|
default_network = alicloud.vpc.Network("default",
|
|
1127
1100
|
vpc_name=name,
|
|
1128
|
-
cidr_block="10.
|
|
1101
|
+
cidr_block="10.2.0.0/21")
|
|
1129
1102
|
default_switch = alicloud.vpc.Switch("default",
|
|
1130
1103
|
vswitch_name=name,
|
|
1131
1104
|
vpc_id=default_network.id,
|
|
1132
|
-
cidr_block="10.
|
|
1105
|
+
cidr_block="10.2.1.0/24",
|
|
1133
1106
|
zone_id=default.zones[0].id)
|
|
1134
1107
|
serverless = alicloud.cs.ServerlessKubernetes("serverless",
|
|
1135
1108
|
name_prefix=name,
|
|
@@ -1158,6 +1131,9 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1158
1131
|
{
|
|
1159
1132
|
"name": "knative",
|
|
1160
1133
|
},
|
|
1134
|
+
{
|
|
1135
|
+
"name": "arms-prometheus",
|
|
1136
|
+
},
|
|
1161
1137
|
])
|
|
1162
1138
|
```
|
|
1163
1139
|
|
|
@@ -1171,22 +1147,23 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1171
1147
|
|
|
1172
1148
|
:param str resource_name: The name of the resource.
|
|
1173
1149
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1174
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesAddonArgs', 'ServerlessKubernetesAddonArgsDict']]]] addons: You can specific network plugin,log component,ingress component and so on. See `addons`
|
|
1150
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesAddonArgs', 'ServerlessKubernetesAddonArgsDict']]]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
1175
1151
|
:param pulumi.Input[str] client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
1176
1152
|
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
1177
1153
|
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
1178
1154
|
:param pulumi.Input[str] cluster_spec: The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values:
|
|
1179
1155
|
- ack.standard: Standard serverless clusters.
|
|
1180
1156
|
- ack.pro.small: Professional serverless clusters.
|
|
1181
|
-
:param pulumi.Input[
|
|
1157
|
+
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
1158
|
+
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
1182
1159
|
|
|
1183
1160
|
*Removed params*
|
|
1161
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesDeleteOptionArgs', 'ServerlessKubernetesDeleteOptionArgsDict']]]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
1184
1162
|
:param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not.
|
|
1185
1163
|
- true: Enable deletion protection.
|
|
1186
1164
|
- false: Disable deletion protection.
|
|
1187
1165
|
:param pulumi.Input[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).
|
|
1188
|
-
:param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet
|
|
1189
|
-
:param pulumi.Input[bool] force_update: Default false, when you want to change `vpc_id` and `vswitch_id`, you have to set this field to true, then the cluster will be recreated.
|
|
1166
|
+
:param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false.
|
|
1190
1167
|
:param pulumi.Input[str] kube_config: The path of kube config, like `~/.kube/config`.
|
|
1191
1168
|
:param pulumi.Input[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).
|
|
1192
1169
|
:param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`.
|
|
@@ -1194,16 +1171,14 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1194
1171
|
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. SNAT must be configured when a new VPC is automatically created. Default is `true`.
|
|
1195
1172
|
:param pulumi.Input[bool] private_zone: Has been deprecated from provider version 1.123.1. `PrivateZone` is used as the enumeration value of `service_discovery_types`.
|
|
1196
1173
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
1197
|
-
:param pulumi.Input[Union['ServerlessKubernetesRrsaMetadataArgs', 'ServerlessKubernetesRrsaMetadataArgsDict']] rrsa_metadata: Nested attribute containing RRSA related data for your cluster. See `rrsa_metadata` below.
|
|
1198
1174
|
:param pulumi.Input[str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
1199
1175
|
:param pulumi.Input[str] service_cidr: CIDR block of the service network. The specified CIDR block cannot overlap with that of the VPC or those of the ACK clusters that are deployed in the VPC. The CIDR block cannot be modified after the cluster is created.
|
|
1200
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] service_discovery_types: Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
1176
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] service_discovery_types: Service discovery type. Only works for **Create** Operation. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
1201
1177
|
:param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`.
|
|
1202
1178
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
|
|
1203
1179
|
:param pulumi.Input[str] time_zone: The time zone of the cluster.
|
|
1204
1180
|
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
|
|
1205
|
-
:param pulumi.Input[str] vpc_id: The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC
|
|
1206
|
-
:param pulumi.Input[str] vswitch_id: The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availability_zone` specified.
|
|
1181
|
+
:param pulumi.Input[str] vpc_id: The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
|
|
1207
1182
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vswitches where new kubernetes cluster will be located.
|
|
1208
1183
|
:param pulumi.Input[str] zone_id: When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.
|
|
1209
1184
|
"""
|
|
@@ -1211,7 +1186,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1211
1186
|
@overload
|
|
1212
1187
|
def __init__(__self__,
|
|
1213
1188
|
resource_name: str,
|
|
1214
|
-
args: ServerlessKubernetesArgs,
|
|
1189
|
+
args: Optional[ServerlessKubernetesArgs] = None,
|
|
1215
1190
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
1216
1191
|
"""
|
|
1217
1192
|
This resource will help you to manager a Serverless Kubernetes Cluster, see [What is serverless kubernetes](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/create-a-dedicated-kubernetes-cluster-that-supports-sandboxed-containers). The cluster is same as container service created by web console.
|
|
@@ -1234,6 +1209,8 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1234
1209
|
|
|
1235
1210
|
> **NOTE:** From version 1.162.0, support for creating professional serverless cluster.
|
|
1236
1211
|
|
|
1212
|
+
> **NOTE:** From version 1.229.1, support to migrate basic serverless cluster to professional serverless cluster.
|
|
1213
|
+
|
|
1237
1214
|
## Example Usage
|
|
1238
1215
|
|
|
1239
1216
|
Basic Usage
|
|
@@ -1245,15 +1222,15 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1245
1222
|
config = pulumi.Config()
|
|
1246
1223
|
name = config.get("name")
|
|
1247
1224
|
if name is None:
|
|
1248
|
-
name = "ask-example"
|
|
1225
|
+
name = "ask-example-pro"
|
|
1249
1226
|
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
1250
1227
|
default_network = alicloud.vpc.Network("default",
|
|
1251
1228
|
vpc_name=name,
|
|
1252
|
-
cidr_block="10.
|
|
1229
|
+
cidr_block="10.2.0.0/21")
|
|
1253
1230
|
default_switch = alicloud.vpc.Switch("default",
|
|
1254
1231
|
vswitch_name=name,
|
|
1255
1232
|
vpc_id=default_network.id,
|
|
1256
|
-
cidr_block="10.
|
|
1233
|
+
cidr_block="10.2.1.0/24",
|
|
1257
1234
|
zone_id=default.zones[0].id)
|
|
1258
1235
|
serverless = alicloud.cs.ServerlessKubernetes("serverless",
|
|
1259
1236
|
name_prefix=name,
|
|
@@ -1282,6 +1259,9 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1282
1259
|
{
|
|
1283
1260
|
"name": "knative",
|
|
1284
1261
|
},
|
|
1262
|
+
{
|
|
1263
|
+
"name": "arms-prometheus",
|
|
1264
|
+
},
|
|
1285
1265
|
])
|
|
1286
1266
|
```
|
|
1287
1267
|
|
|
@@ -1313,11 +1293,11 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1313
1293
|
client_key: Optional[pulumi.Input[str]] = None,
|
|
1314
1294
|
cluster_ca_cert: Optional[pulumi.Input[str]] = None,
|
|
1315
1295
|
cluster_spec: Optional[pulumi.Input[str]] = None,
|
|
1316
|
-
|
|
1296
|
+
custom_san: Optional[pulumi.Input[str]] = None,
|
|
1297
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesDeleteOptionArgs', 'ServerlessKubernetesDeleteOptionArgsDict']]]]] = None,
|
|
1317
1298
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1318
1299
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1319
1300
|
endpoint_public_access_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1320
|
-
force_update: Optional[pulumi.Input[bool]] = None,
|
|
1321
1301
|
kube_config: Optional[pulumi.Input[str]] = None,
|
|
1322
1302
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
1323
1303
|
logging_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -1327,7 +1307,6 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1327
1307
|
private_zone: Optional[pulumi.Input[bool]] = None,
|
|
1328
1308
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1329
1309
|
retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1330
|
-
rrsa_metadata: Optional[pulumi.Input[Union['ServerlessKubernetesRrsaMetadataArgs', 'ServerlessKubernetesRrsaMetadataArgsDict']]] = None,
|
|
1331
1310
|
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
1332
1311
|
service_cidr: Optional[pulumi.Input[str]] = None,
|
|
1333
1312
|
service_discovery_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -1336,7 +1315,6 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1336
1315
|
time_zone: Optional[pulumi.Input[str]] = None,
|
|
1337
1316
|
version: Optional[pulumi.Input[str]] = None,
|
|
1338
1317
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1339
|
-
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
1340
1318
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1341
1319
|
zone_id: Optional[pulumi.Input[str]] = None,
|
|
1342
1320
|
__props__=None):
|
|
@@ -1353,11 +1331,11 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1353
1331
|
__props__.__dict__["client_key"] = client_key
|
|
1354
1332
|
__props__.__dict__["cluster_ca_cert"] = cluster_ca_cert
|
|
1355
1333
|
__props__.__dict__["cluster_spec"] = cluster_spec
|
|
1356
|
-
__props__.__dict__["
|
|
1334
|
+
__props__.__dict__["custom_san"] = custom_san
|
|
1335
|
+
__props__.__dict__["delete_options"] = delete_options
|
|
1357
1336
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
1358
1337
|
__props__.__dict__["enable_rrsa"] = enable_rrsa
|
|
1359
1338
|
__props__.__dict__["endpoint_public_access_enabled"] = endpoint_public_access_enabled
|
|
1360
|
-
__props__.__dict__["force_update"] = force_update
|
|
1361
1339
|
__props__.__dict__["kube_config"] = kube_config
|
|
1362
1340
|
__props__.__dict__["load_balancer_spec"] = load_balancer_spec
|
|
1363
1341
|
__props__.__dict__["logging_type"] = logging_type
|
|
@@ -1367,7 +1345,6 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1367
1345
|
__props__.__dict__["private_zone"] = private_zone
|
|
1368
1346
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1369
1347
|
__props__.__dict__["retain_resources"] = retain_resources
|
|
1370
|
-
__props__.__dict__["rrsa_metadata"] = rrsa_metadata
|
|
1371
1348
|
__props__.__dict__["security_group_id"] = security_group_id
|
|
1372
1349
|
__props__.__dict__["service_cidr"] = service_cidr
|
|
1373
1350
|
__props__.__dict__["service_discovery_types"] = service_discovery_types
|
|
@@ -1375,12 +1352,10 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1375
1352
|
__props__.__dict__["tags"] = tags
|
|
1376
1353
|
__props__.__dict__["time_zone"] = time_zone
|
|
1377
1354
|
__props__.__dict__["version"] = version
|
|
1378
|
-
if vpc_id is None and not opts.urn:
|
|
1379
|
-
raise TypeError("Missing required property 'vpc_id'")
|
|
1380
1355
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
1381
|
-
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
1382
1356
|
__props__.__dict__["vswitch_ids"] = vswitch_ids
|
|
1383
1357
|
__props__.__dict__["zone_id"] = zone_id
|
|
1358
|
+
__props__.__dict__["rrsa_metadata"] = None
|
|
1384
1359
|
super(ServerlessKubernetes, __self__).__init__(
|
|
1385
1360
|
'alicloud:cs/serverlessKubernetes:ServerlessKubernetes',
|
|
1386
1361
|
resource_name,
|
|
@@ -1396,11 +1371,11 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1396
1371
|
client_key: Optional[pulumi.Input[str]] = None,
|
|
1397
1372
|
cluster_ca_cert: Optional[pulumi.Input[str]] = None,
|
|
1398
1373
|
cluster_spec: Optional[pulumi.Input[str]] = None,
|
|
1399
|
-
|
|
1374
|
+
custom_san: Optional[pulumi.Input[str]] = None,
|
|
1375
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesDeleteOptionArgs', 'ServerlessKubernetesDeleteOptionArgsDict']]]]] = None,
|
|
1400
1376
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1401
1377
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1402
1378
|
endpoint_public_access_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1403
|
-
force_update: Optional[pulumi.Input[bool]] = None,
|
|
1404
1379
|
kube_config: Optional[pulumi.Input[str]] = None,
|
|
1405
1380
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
1406
1381
|
logging_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -1419,7 +1394,6 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1419
1394
|
time_zone: Optional[pulumi.Input[str]] = None,
|
|
1420
1395
|
version: Optional[pulumi.Input[str]] = None,
|
|
1421
1396
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1422
|
-
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
1423
1397
|
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1424
1398
|
zone_id: Optional[pulumi.Input[str]] = None) -> 'ServerlessKubernetes':
|
|
1425
1399
|
"""
|
|
@@ -1429,22 +1403,23 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1429
1403
|
:param str resource_name: The unique name of the resulting resource.
|
|
1430
1404
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1431
1405
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1432
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesAddonArgs', 'ServerlessKubernetesAddonArgsDict']]]] addons: You can specific network plugin,log component,ingress component and so on. See `addons`
|
|
1406
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesAddonArgs', 'ServerlessKubernetesAddonArgsDict']]]] addons: You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
1433
1407
|
:param pulumi.Input[str] client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
1434
1408
|
:param pulumi.Input[str] client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
1435
1409
|
:param pulumi.Input[str] cluster_ca_cert: The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
1436
1410
|
:param pulumi.Input[str] cluster_spec: The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values:
|
|
1437
1411
|
- ack.standard: Standard serverless clusters.
|
|
1438
1412
|
- ack.pro.small: Professional serverless clusters.
|
|
1439
|
-
:param pulumi.Input[
|
|
1413
|
+
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
1414
|
+
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
1440
1415
|
|
|
1441
1416
|
*Removed params*
|
|
1417
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerlessKubernetesDeleteOptionArgs', 'ServerlessKubernetesDeleteOptionArgsDict']]]] delete_options: Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
1442
1418
|
:param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not.
|
|
1443
1419
|
- true: Enable deletion protection.
|
|
1444
1420
|
- false: Disable deletion protection.
|
|
1445
1421
|
:param pulumi.Input[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).
|
|
1446
|
-
:param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet
|
|
1447
|
-
:param pulumi.Input[bool] force_update: Default false, when you want to change `vpc_id` and `vswitch_id`, you have to set this field to true, then the cluster will be recreated.
|
|
1422
|
+
:param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false.
|
|
1448
1423
|
:param pulumi.Input[str] kube_config: The path of kube config, like `~/.kube/config`.
|
|
1449
1424
|
:param pulumi.Input[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).
|
|
1450
1425
|
:param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`.
|
|
@@ -1452,16 +1427,15 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1452
1427
|
:param pulumi.Input[bool] new_nat_gateway: Whether to create a new nat gateway while creating kubernetes cluster. SNAT must be configured when a new VPC is automatically created. Default is `true`.
|
|
1453
1428
|
:param pulumi.Input[bool] private_zone: Has been deprecated from provider version 1.123.1. `PrivateZone` is used as the enumeration value of `service_discovery_types`.
|
|
1454
1429
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
|
|
1455
|
-
:param pulumi.Input[Union['ServerlessKubernetesRrsaMetadataArgs', 'ServerlessKubernetesRrsaMetadataArgsDict']] rrsa_metadata: Nested attribute containing RRSA related data for your cluster.
|
|
1430
|
+
:param pulumi.Input[Union['ServerlessKubernetesRrsaMetadataArgs', 'ServerlessKubernetesRrsaMetadataArgsDict']] rrsa_metadata: Nested attribute containing RRSA related data for your cluster.
|
|
1456
1431
|
:param pulumi.Input[str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
|
|
1457
1432
|
:param pulumi.Input[str] service_cidr: CIDR block of the service network. The specified CIDR block cannot overlap with that of the VPC or those of the ACK clusters that are deployed in the VPC. The CIDR block cannot be modified after the cluster is created.
|
|
1458
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] service_discovery_types: Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
1433
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] service_discovery_types: Service discovery type. Only works for **Create** Operation. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
1459
1434
|
:param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`.
|
|
1460
1435
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
|
|
1461
1436
|
:param pulumi.Input[str] time_zone: The time zone of the cluster.
|
|
1462
1437
|
:param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
|
|
1463
|
-
:param pulumi.Input[str] vpc_id: The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC
|
|
1464
|
-
:param pulumi.Input[str] vswitch_id: The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availability_zone` specified.
|
|
1438
|
+
:param pulumi.Input[str] vpc_id: The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
|
|
1465
1439
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vswitches where new kubernetes cluster will be located.
|
|
1466
1440
|
:param pulumi.Input[str] zone_id: When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.
|
|
1467
1441
|
"""
|
|
@@ -1474,11 +1448,11 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1474
1448
|
__props__.__dict__["client_key"] = client_key
|
|
1475
1449
|
__props__.__dict__["cluster_ca_cert"] = cluster_ca_cert
|
|
1476
1450
|
__props__.__dict__["cluster_spec"] = cluster_spec
|
|
1477
|
-
__props__.__dict__["
|
|
1451
|
+
__props__.__dict__["custom_san"] = custom_san
|
|
1452
|
+
__props__.__dict__["delete_options"] = delete_options
|
|
1478
1453
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
1479
1454
|
__props__.__dict__["enable_rrsa"] = enable_rrsa
|
|
1480
1455
|
__props__.__dict__["endpoint_public_access_enabled"] = endpoint_public_access_enabled
|
|
1481
|
-
__props__.__dict__["force_update"] = force_update
|
|
1482
1456
|
__props__.__dict__["kube_config"] = kube_config
|
|
1483
1457
|
__props__.__dict__["load_balancer_spec"] = load_balancer_spec
|
|
1484
1458
|
__props__.__dict__["logging_type"] = logging_type
|
|
@@ -1497,16 +1471,15 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1497
1471
|
__props__.__dict__["time_zone"] = time_zone
|
|
1498
1472
|
__props__.__dict__["version"] = version
|
|
1499
1473
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
1500
|
-
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
1501
1474
|
__props__.__dict__["vswitch_ids"] = vswitch_ids
|
|
1502
1475
|
__props__.__dict__["zone_id"] = zone_id
|
|
1503
1476
|
return ServerlessKubernetes(resource_name, opts=opts, __props__=__props__)
|
|
1504
1477
|
|
|
1505
1478
|
@property
|
|
1506
1479
|
@pulumi.getter
|
|
1507
|
-
def addons(self) -> pulumi.Output[Sequence['outputs.ServerlessKubernetesAddon']]:
|
|
1480
|
+
def addons(self) -> pulumi.Output[Optional[Sequence['outputs.ServerlessKubernetesAddon']]]:
|
|
1508
1481
|
"""
|
|
1509
|
-
You can specific network plugin,log component,ingress component and so on. See `addons`
|
|
1482
|
+
You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
1510
1483
|
"""
|
|
1511
1484
|
return pulumi.get(self, "addons")
|
|
1512
1485
|
|
|
@@ -1545,14 +1518,23 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1545
1518
|
return pulumi.get(self, "cluster_spec")
|
|
1546
1519
|
|
|
1547
1520
|
@property
|
|
1548
|
-
@pulumi.getter(name="
|
|
1549
|
-
def
|
|
1521
|
+
@pulumi.getter(name="customSan")
|
|
1522
|
+
def custom_san(self) -> pulumi.Output[Optional[str]]:
|
|
1550
1523
|
"""
|
|
1551
|
-
|
|
1524
|
+
Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
1525
|
+
> **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
1552
1526
|
|
|
1553
1527
|
*Removed params*
|
|
1554
1528
|
"""
|
|
1555
|
-
return pulumi.get(self, "
|
|
1529
|
+
return pulumi.get(self, "custom_san")
|
|
1530
|
+
|
|
1531
|
+
@property
|
|
1532
|
+
@pulumi.getter(name="deleteOptions")
|
|
1533
|
+
def delete_options(self) -> pulumi.Output[Optional[Sequence['outputs.ServerlessKubernetesDeleteOption']]]:
|
|
1534
|
+
"""
|
|
1535
|
+
Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
1536
|
+
"""
|
|
1537
|
+
return pulumi.get(self, "delete_options")
|
|
1556
1538
|
|
|
1557
1539
|
@property
|
|
1558
1540
|
@pulumi.getter(name="deletionProtection")
|
|
@@ -1576,18 +1558,10 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1576
1558
|
@pulumi.getter(name="endpointPublicAccessEnabled")
|
|
1577
1559
|
def endpoint_public_access_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
1578
1560
|
"""
|
|
1579
|
-
Whether to create internet
|
|
1561
|
+
Whether to create internet eip for API Server. Default to false.
|
|
1580
1562
|
"""
|
|
1581
1563
|
return pulumi.get(self, "endpoint_public_access_enabled")
|
|
1582
1564
|
|
|
1583
|
-
@property
|
|
1584
|
-
@pulumi.getter(name="forceUpdate")
|
|
1585
|
-
def force_update(self) -> pulumi.Output[Optional[bool]]:
|
|
1586
|
-
"""
|
|
1587
|
-
Default false, when you want to change `vpc_id` and `vswitch_id`, you have to set this field to true, then the cluster will be recreated.
|
|
1588
|
-
"""
|
|
1589
|
-
return pulumi.get(self, "force_update")
|
|
1590
|
-
|
|
1591
1565
|
@property
|
|
1592
1566
|
@pulumi.getter(name="kubeConfig")
|
|
1593
1567
|
@_utilities.deprecated("""Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.""")
|
|
@@ -1599,6 +1573,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1599
1573
|
|
|
1600
1574
|
@property
|
|
1601
1575
|
@pulumi.getter(name="loadBalancerSpec")
|
|
1576
|
+
@_utilities.deprecated("""Field 'load_balancer_spec' has been deprecated from provider version 1.229.1. The load balancer has been changed to PayByCLCU so that no spec is need anymore.""")
|
|
1602
1577
|
def load_balancer_spec(self) -> pulumi.Output[str]:
|
|
1603
1578
|
"""
|
|
1604
1579
|
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).
|
|
@@ -1607,6 +1582,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1607
1582
|
|
|
1608
1583
|
@property
|
|
1609
1584
|
@pulumi.getter(name="loggingType")
|
|
1585
|
+
@_utilities.deprecated("""Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.""")
|
|
1610
1586
|
def logging_type(self) -> pulumi.Output[Optional[str]]:
|
|
1611
1587
|
"""
|
|
1612
1588
|
Enable log service, Valid value `SLS`.
|
|
@@ -1660,7 +1636,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1660
1636
|
@pulumi.getter(name="rrsaMetadata")
|
|
1661
1637
|
def rrsa_metadata(self) -> pulumi.Output['outputs.ServerlessKubernetesRrsaMetadata']:
|
|
1662
1638
|
"""
|
|
1663
|
-
Nested attribute containing RRSA related data for your cluster.
|
|
1639
|
+
Nested attribute containing RRSA related data for your cluster.
|
|
1664
1640
|
"""
|
|
1665
1641
|
return pulumi.get(self, "rrsa_metadata")
|
|
1666
1642
|
|
|
@@ -1684,12 +1660,13 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1684
1660
|
@pulumi.getter(name="serviceDiscoveryTypes")
|
|
1685
1661
|
def service_discovery_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1686
1662
|
"""
|
|
1687
|
-
Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
1663
|
+
Service discovery type. Only works for **Create** Operation. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
1688
1664
|
"""
|
|
1689
1665
|
return pulumi.get(self, "service_discovery_types")
|
|
1690
1666
|
|
|
1691
1667
|
@property
|
|
1692
1668
|
@pulumi.getter(name="slsProjectName")
|
|
1669
|
+
@_utilities.deprecated("""Field 'sls_project_name' has been deprecated from provider version 1.229.1. Please use the field `config` of addons `alibaba-log-controller` to specify log project name.""")
|
|
1693
1670
|
def sls_project_name(self) -> pulumi.Output[str]:
|
|
1694
1671
|
"""
|
|
1695
1672
|
If you use an existing SLS project, you must specify `sls_project_name`.
|
|
@@ -1724,19 +1701,10 @@ class ServerlessKubernetes(pulumi.CustomResource):
|
|
|
1724
1701
|
@pulumi.getter(name="vpcId")
|
|
1725
1702
|
def vpc_id(self) -> pulumi.Output[str]:
|
|
1726
1703
|
"""
|
|
1727
|
-
The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC
|
|
1704
|
+
The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
|
|
1728
1705
|
"""
|
|
1729
1706
|
return pulumi.get(self, "vpc_id")
|
|
1730
1707
|
|
|
1731
|
-
@property
|
|
1732
|
-
@pulumi.getter(name="vswitchId")
|
|
1733
|
-
@_utilities.deprecated("""Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.""")
|
|
1734
|
-
def vswitch_id(self) -> pulumi.Output[str]:
|
|
1735
|
-
"""
|
|
1736
|
-
The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availability_zone` specified.
|
|
1737
|
-
"""
|
|
1738
|
-
return pulumi.get(self, "vswitch_id")
|
|
1739
|
-
|
|
1740
1708
|
@property
|
|
1741
1709
|
@pulumi.getter(name="vswitchIds")
|
|
1742
1710
|
def vswitch_ids(self) -> pulumi.Output[Sequence[str]]:
|