pulumi-alicloud 3.64.0a1729196623__py3-none-any.whl → 3.64.0a1730118787__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.

Files changed (76) hide show
  1. pulumi_alicloud/__init__.py +16 -0
  2. pulumi_alicloud/amqp/instance.py +8 -8
  3. pulumi_alicloud/bss/get_open_api_pricing_modules.py +4 -4
  4. pulumi_alicloud/bss/get_open_api_products.py +4 -4
  5. pulumi_alicloud/cas/get_certificates.py +17 -1
  6. pulumi_alicloud/cas/get_service_certificates.py +153 -17
  7. pulumi_alicloud/cas/outputs.py +40 -36
  8. pulumi_alicloud/cen/instance.py +108 -53
  9. pulumi_alicloud/cloudfirewall/control_policy.py +524 -23
  10. pulumi_alicloud/cloudfirewall/instance.py +64 -36
  11. pulumi_alicloud/cs/_inputs.py +390 -26
  12. pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +2 -0
  13. pulumi_alicloud/cs/kubernetes.py +48 -35
  14. pulumi_alicloud/cs/managed_kubernetes.py +91 -35
  15. pulumi_alicloud/cs/node_pool.py +68 -14
  16. pulumi_alicloud/cs/outputs.py +293 -16
  17. pulumi_alicloud/cs/serverless_kubernetes.py +157 -63
  18. pulumi_alicloud/databasefilesystem/_inputs.py +0 -6
  19. pulumi_alicloud/databasefilesystem/instance.py +31 -0
  20. pulumi_alicloud/databasefilesystem/outputs.py +0 -4
  21. pulumi_alicloud/dns/get_alidns_records.py +26 -4
  22. pulumi_alicloud/dns/outputs.py +2 -2
  23. pulumi_alicloud/eais/instance.py +55 -57
  24. pulumi_alicloud/ecp/instance.py +177 -219
  25. pulumi_alicloud/ecs/disk.py +2 -2
  26. pulumi_alicloud/ecs/ecs_disk.py +142 -58
  27. pulumi_alicloud/ecs/ecs_key_pair.py +1 -1
  28. pulumi_alicloud/ecs/ecs_launch_template.py +169 -0
  29. pulumi_alicloud/ecs/get_ecs_launch_templates.py +172 -6
  30. pulumi_alicloud/ecs/instance.py +131 -98
  31. pulumi_alicloud/ecs/key_pair.py +1 -1
  32. pulumi_alicloud/ecs/launch_template.py +102 -0
  33. pulumi_alicloud/ecs/outputs.py +57 -24
  34. pulumi_alicloud/ens/disk.py +2 -2
  35. pulumi_alicloud/ens/disk_instance_attachment.py +2 -2
  36. pulumi_alicloud/ess/_inputs.py +342 -2
  37. pulumi_alicloud/ess/eci_scaling_configuration.py +202 -0
  38. pulumi_alicloud/ess/outputs.py +226 -2
  39. pulumi_alicloud/ess/scaling_configuration.py +376 -0
  40. pulumi_alicloud/ga/_inputs.py +57 -22
  41. pulumi_alicloud/ga/outputs.py +39 -15
  42. pulumi_alicloud/gpdb/__init__.py +1 -0
  43. pulumi_alicloud/gpdb/database.py +545 -0
  44. pulumi_alicloud/gpdb/instance.py +1 -1
  45. pulumi_alicloud/kvstore/instance.py +24 -5
  46. pulumi_alicloud/mse/cluster.py +149 -51
  47. pulumi_alicloud/mse/engine_namespace.py +176 -74
  48. pulumi_alicloud/mse/get_clusters.py +70 -10
  49. pulumi_alicloud/mse/get_engine_namespaces.py +93 -15
  50. pulumi_alicloud/mse/outputs.py +36 -8
  51. pulumi_alicloud/nas/data_flow.py +6 -6
  52. pulumi_alicloud/nas/fileset.py +6 -6
  53. pulumi_alicloud/nas/lifecycle_policy.py +6 -6
  54. pulumi_alicloud/nas/recycle_bin.py +6 -6
  55. pulumi_alicloud/nas/snapshot.py +6 -6
  56. pulumi_alicloud/polardb/cluster.py +162 -0
  57. pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +51 -7
  58. pulumi_alicloud/privatelink/outputs.py +17 -6
  59. pulumi_alicloud/privatelink/vpc_endpoint_service_user.py +54 -17
  60. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +7 -21
  61. pulumi_alicloud/pulumi-plugin.json +1 -1
  62. pulumi_alicloud/rds/instance.py +50 -3
  63. pulumi_alicloud/resourcemanager/get_folders.py +35 -28
  64. pulumi_alicloud/resourcemanager/outputs.py +8 -8
  65. pulumi_alicloud/servicemesh/_inputs.py +656 -174
  66. pulumi_alicloud/servicemesh/outputs.py +507 -117
  67. pulumi_alicloud/servicemesh/service_mesh.py +120 -78
  68. pulumi_alicloud/sls/__init__.py +1 -0
  69. pulumi_alicloud/sls/_inputs.py +307 -0
  70. pulumi_alicloud/sls/collection_policy.py +561 -0
  71. pulumi_alicloud/sls/outputs.py +263 -0
  72. pulumi_alicloud/threatdetection/instance.py +331 -43
  73. {pulumi_alicloud-3.64.0a1729196623.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/METADATA +1 -1
  74. {pulumi_alicloud-3.64.0a1729196623.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/RECORD +76 -74
  75. {pulumi_alicloud-3.64.0a1729196623.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/WHEEL +0 -0
  76. {pulumi_alicloud-3.64.0a1729196623.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/top_level.txt +0 -0
@@ -34,9 +34,11 @@ class ServerlessKubernetesArgs:
34
34
  kube_config: Optional[pulumi.Input[str]] = None,
35
35
  load_balancer_spec: Optional[pulumi.Input[str]] = None,
36
36
  logging_type: Optional[pulumi.Input[str]] = None,
37
+ maintenance_window: Optional[pulumi.Input['ServerlessKubernetesMaintenanceWindowArgs']] = None,
37
38
  name: Optional[pulumi.Input[str]] = None,
38
39
  name_prefix: Optional[pulumi.Input[str]] = None,
39
40
  new_nat_gateway: Optional[pulumi.Input[bool]] = None,
41
+ operation_policy: Optional[pulumi.Input['ServerlessKubernetesOperationPolicyArgs']] = None,
40
42
  private_zone: Optional[pulumi.Input[bool]] = None,
41
43
  resource_group_id: Optional[pulumi.Input[str]] = None,
42
44
  retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -61,31 +63,33 @@ class ServerlessKubernetesArgs:
61
63
  - ack.pro.small: Professional serverless clusters.
62
64
  :param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
63
65
  > **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
64
-
65
- *Removed params*
66
66
  :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.
67
67
  :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not.
68
68
  - true: Enable deletion protection.
69
69
  - false: Disable deletion protection.
70
70
  :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).
71
- :param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false.
71
+ :param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false. Only works for **Create** Operation.
72
72
  :param pulumi.Input[str] kube_config: The path of kube config, like `~/.kube/config`.
73
- :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).
74
- :param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`.
73
+ :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). Only works for **Create** Operation.
74
+ :param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`. Only works for **Create** Operation.
75
+ :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.
75
76
  :param pulumi.Input[str] name: The kubernetes cluster's name. It is the only in one Alicloud account.
76
77
  :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`.
78
+ :param pulumi.Input['ServerlessKubernetesOperationPolicyArgs'] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
79
+
80
+ *Removed params*
77
81
  :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`.
78
82
  :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.
79
83
  :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.
80
84
  :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.
81
85
  :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`.
82
- :param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`.
86
+ :param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`. Only works for **Create** Operation.
83
87
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
84
88
  :param pulumi.Input[str] time_zone: The time zone of the cluster.
85
- :param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
89
+ :param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used. Do not specify if cluster auto upgrade is enabled, see cluster_auto_upgrade for more information.
86
90
  :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.
87
91
  :param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vswitches where new kubernetes cluster will be located.
88
- :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.
92
+ :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. Only works for **Create** Operation.
89
93
  """
90
94
  if addons is not None:
91
95
  pulumi.set(__self__, "addons", addons)
@@ -113,8 +117,8 @@ class ServerlessKubernetesArgs:
113
117
  if kube_config is not None:
114
118
  pulumi.set(__self__, "kube_config", kube_config)
115
119
  if load_balancer_spec is not None:
116
- 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)
117
- 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.""")
120
+ 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 the spec is no need anymore.""", DeprecationWarning)
121
+ 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 the spec is no need anymore.""")
118
122
  if load_balancer_spec is not None:
119
123
  pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
120
124
  if logging_type is not None:
@@ -122,12 +126,16 @@ class ServerlessKubernetesArgs:
122
126
  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.""")
123
127
  if logging_type is not None:
124
128
  pulumi.set(__self__, "logging_type", logging_type)
129
+ if maintenance_window is not None:
130
+ pulumi.set(__self__, "maintenance_window", maintenance_window)
125
131
  if name is not None:
126
132
  pulumi.set(__self__, "name", name)
127
133
  if name_prefix is not None:
128
134
  pulumi.set(__self__, "name_prefix", name_prefix)
129
135
  if new_nat_gateway is not None:
130
136
  pulumi.set(__self__, "new_nat_gateway", new_nat_gateway)
137
+ if operation_policy is not None:
138
+ pulumi.set(__self__, "operation_policy", operation_policy)
131
139
  if private_zone is not None:
132
140
  warnings.warn("""Field 'private_zone' has been deprecated from provider version 1.123.1. New field 'service_discovery_types' replace it.""", DeprecationWarning)
133
141
  pulumi.log.warn("""private_zone is deprecated: Field 'private_zone' has been deprecated from provider version 1.123.1. New field 'service_discovery_types' replace it.""")
@@ -229,8 +237,6 @@ class ServerlessKubernetesArgs:
229
237
  """
230
238
  Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
231
239
  > **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
232
-
233
- *Removed params*
234
240
  """
235
241
  return pulumi.get(self, "custom_san")
236
242
 
@@ -280,7 +286,7 @@ class ServerlessKubernetesArgs:
280
286
  @pulumi.getter(name="endpointPublicAccessEnabled")
281
287
  def endpoint_public_access_enabled(self) -> Optional[pulumi.Input[bool]]:
282
288
  """
283
- Whether to create internet eip for API Server. Default to false.
289
+ Whether to create internet eip for API Server. Default to false. Only works for **Create** Operation.
284
290
  """
285
291
  return pulumi.get(self, "endpoint_public_access_enabled")
286
292
 
@@ -303,10 +309,10 @@ class ServerlessKubernetesArgs:
303
309
 
304
310
  @property
305
311
  @pulumi.getter(name="loadBalancerSpec")
306
- @_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
+ @_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 the spec is no need anymore.""")
307
313
  def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
308
314
  """
309
- 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).
315
+ 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.
310
316
  """
311
317
  return pulumi.get(self, "load_balancer_spec")
312
318
 
@@ -319,7 +325,7 @@ class ServerlessKubernetesArgs:
319
325
  @_utilities.deprecated("""Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.""")
320
326
  def logging_type(self) -> Optional[pulumi.Input[str]]:
321
327
  """
322
- Enable log service, Valid value `SLS`.
328
+ Enable log service, Valid value `SLS`. Only works for **Create** Operation.
323
329
  """
324
330
  return pulumi.get(self, "logging_type")
325
331
 
@@ -327,6 +333,18 @@ class ServerlessKubernetesArgs:
327
333
  def logging_type(self, value: Optional[pulumi.Input[str]]):
328
334
  pulumi.set(self, "logging_type", value)
329
335
 
336
+ @property
337
+ @pulumi.getter(name="maintenanceWindow")
338
+ def maintenance_window(self) -> Optional[pulumi.Input['ServerlessKubernetesMaintenanceWindowArgs']]:
339
+ """
340
+ The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
341
+ """
342
+ return pulumi.get(self, "maintenance_window")
343
+
344
+ @maintenance_window.setter
345
+ def maintenance_window(self, value: Optional[pulumi.Input['ServerlessKubernetesMaintenanceWindowArgs']]):
346
+ pulumi.set(self, "maintenance_window", value)
347
+
330
348
  @property
331
349
  @pulumi.getter
332
350
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -360,6 +378,20 @@ class ServerlessKubernetesArgs:
360
378
  def new_nat_gateway(self, value: Optional[pulumi.Input[bool]]):
361
379
  pulumi.set(self, "new_nat_gateway", value)
362
380
 
381
+ @property
382
+ @pulumi.getter(name="operationPolicy")
383
+ def operation_policy(self) -> Optional[pulumi.Input['ServerlessKubernetesOperationPolicyArgs']]:
384
+ """
385
+ The cluster automatic operation policy. See `operation_policy` below.
386
+
387
+ *Removed params*
388
+ """
389
+ return pulumi.get(self, "operation_policy")
390
+
391
+ @operation_policy.setter
392
+ def operation_policy(self, value: Optional[pulumi.Input['ServerlessKubernetesOperationPolicyArgs']]):
393
+ pulumi.set(self, "operation_policy", value)
394
+
363
395
  @property
364
396
  @pulumi.getter(name="privateZone")
365
397
  @_utilities.deprecated("""Field 'private_zone' has been deprecated from provider version 1.123.1. New field 'service_discovery_types' replace it.""")
@@ -435,7 +467,7 @@ class ServerlessKubernetesArgs:
435
467
  @_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.""")
436
468
  def sls_project_name(self) -> Optional[pulumi.Input[str]]:
437
469
  """
438
- If you use an existing SLS project, you must specify `sls_project_name`.
470
+ If you use an existing SLS project, you must specify `sls_project_name`. Only works for **Create** Operation.
439
471
  """
440
472
  return pulumi.get(self, "sls_project_name")
441
473
 
@@ -471,7 +503,7 @@ class ServerlessKubernetesArgs:
471
503
  @pulumi.getter
472
504
  def version(self) -> Optional[pulumi.Input[str]]:
473
505
  """
474
- Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
506
+ Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used. Do not specify if cluster auto upgrade is enabled, see cluster_auto_upgrade for more information.
475
507
  """
476
508
  return pulumi.get(self, "version")
477
509
 
@@ -507,7 +539,7 @@ class ServerlessKubernetesArgs:
507
539
  @pulumi.getter(name="zoneId")
508
540
  def zone_id(self) -> Optional[pulumi.Input[str]]:
509
541
  """
510
- When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.
542
+ When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located. Only works for **Create** Operation.
511
543
  """
512
544
  return pulumi.get(self, "zone_id")
513
545
 
@@ -532,9 +564,11 @@ class _ServerlessKubernetesState:
532
564
  kube_config: Optional[pulumi.Input[str]] = None,
533
565
  load_balancer_spec: Optional[pulumi.Input[str]] = None,
534
566
  logging_type: Optional[pulumi.Input[str]] = None,
567
+ maintenance_window: Optional[pulumi.Input['ServerlessKubernetesMaintenanceWindowArgs']] = None,
535
568
  name: Optional[pulumi.Input[str]] = None,
536
569
  name_prefix: Optional[pulumi.Input[str]] = None,
537
570
  new_nat_gateway: Optional[pulumi.Input[bool]] = None,
571
+ operation_policy: Optional[pulumi.Input['ServerlessKubernetesOperationPolicyArgs']] = None,
538
572
  private_zone: Optional[pulumi.Input[bool]] = None,
539
573
  resource_group_id: Optional[pulumi.Input[str]] = None,
540
574
  retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -560,32 +594,34 @@ class _ServerlessKubernetesState:
560
594
  - ack.pro.small: Professional serverless clusters.
561
595
  :param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
562
596
  > **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
563
-
564
- *Removed params*
565
597
  :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.
566
598
  :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not.
567
599
  - true: Enable deletion protection.
568
600
  - false: Disable deletion protection.
569
601
  :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).
570
- :param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false.
602
+ :param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false. Only works for **Create** Operation.
571
603
  :param pulumi.Input[str] kube_config: The path of kube config, like `~/.kube/config`.
572
- :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).
573
- :param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`.
604
+ :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). Only works for **Create** Operation.
605
+ :param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`. Only works for **Create** Operation.
606
+ :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.
574
607
  :param pulumi.Input[str] name: The kubernetes cluster's name. It is the only in one Alicloud account.
575
608
  :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`.
609
+ :param pulumi.Input['ServerlessKubernetesOperationPolicyArgs'] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
610
+
611
+ *Removed params*
576
612
  :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`.
577
613
  :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.
578
614
  :param pulumi.Input['ServerlessKubernetesRrsaMetadataArgs'] rrsa_metadata: Nested attribute containing RRSA related data for your cluster.
579
615
  :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.
580
616
  :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.
581
617
  :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`.
582
- :param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`.
618
+ :param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`. Only works for **Create** Operation.
583
619
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
584
620
  :param pulumi.Input[str] time_zone: The time zone of the cluster.
585
- :param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
621
+ :param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used. Do not specify if cluster auto upgrade is enabled, see cluster_auto_upgrade for more information.
586
622
  :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.
587
623
  :param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vswitches where new kubernetes cluster will be located.
588
- :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.
624
+ :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. Only works for **Create** Operation.
589
625
  """
590
626
  if addons is not None:
591
627
  pulumi.set(__self__, "addons", addons)
@@ -613,8 +649,8 @@ class _ServerlessKubernetesState:
613
649
  if kube_config is not None:
614
650
  pulumi.set(__self__, "kube_config", kube_config)
615
651
  if load_balancer_spec is not None:
616
- 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)
617
- 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.""")
652
+ 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 the spec is no need anymore.""", DeprecationWarning)
653
+ 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 the spec is no need anymore.""")
618
654
  if load_balancer_spec is not None:
619
655
  pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
620
656
  if logging_type is not None:
@@ -622,12 +658,16 @@ class _ServerlessKubernetesState:
622
658
  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.""")
623
659
  if logging_type is not None:
624
660
  pulumi.set(__self__, "logging_type", logging_type)
661
+ if maintenance_window is not None:
662
+ pulumi.set(__self__, "maintenance_window", maintenance_window)
625
663
  if name is not None:
626
664
  pulumi.set(__self__, "name", name)
627
665
  if name_prefix is not None:
628
666
  pulumi.set(__self__, "name_prefix", name_prefix)
629
667
  if new_nat_gateway is not None:
630
668
  pulumi.set(__self__, "new_nat_gateway", new_nat_gateway)
669
+ if operation_policy is not None:
670
+ pulumi.set(__self__, "operation_policy", operation_policy)
631
671
  if private_zone is not None:
632
672
  warnings.warn("""Field 'private_zone' has been deprecated from provider version 1.123.1. New field 'service_discovery_types' replace it.""", DeprecationWarning)
633
673
  pulumi.log.warn("""private_zone is deprecated: Field 'private_zone' has been deprecated from provider version 1.123.1. New field 'service_discovery_types' replace it.""")
@@ -731,8 +771,6 @@ class _ServerlessKubernetesState:
731
771
  """
732
772
  Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
733
773
  > **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
734
-
735
- *Removed params*
736
774
  """
737
775
  return pulumi.get(self, "custom_san")
738
776
 
@@ -782,7 +820,7 @@ class _ServerlessKubernetesState:
782
820
  @pulumi.getter(name="endpointPublicAccessEnabled")
783
821
  def endpoint_public_access_enabled(self) -> Optional[pulumi.Input[bool]]:
784
822
  """
785
- Whether to create internet eip for API Server. Default to false.
823
+ Whether to create internet eip for API Server. Default to false. Only works for **Create** Operation.
786
824
  """
787
825
  return pulumi.get(self, "endpoint_public_access_enabled")
788
826
 
@@ -805,10 +843,10 @@ class _ServerlessKubernetesState:
805
843
 
806
844
  @property
807
845
  @pulumi.getter(name="loadBalancerSpec")
808
- @_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.""")
846
+ @_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 the spec is no need anymore.""")
809
847
  def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
810
848
  """
811
- 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).
849
+ 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.
812
850
  """
813
851
  return pulumi.get(self, "load_balancer_spec")
814
852
 
@@ -821,7 +859,7 @@ class _ServerlessKubernetesState:
821
859
  @_utilities.deprecated("""Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.""")
822
860
  def logging_type(self) -> Optional[pulumi.Input[str]]:
823
861
  """
824
- Enable log service, Valid value `SLS`.
862
+ Enable log service, Valid value `SLS`. Only works for **Create** Operation.
825
863
  """
826
864
  return pulumi.get(self, "logging_type")
827
865
 
@@ -829,6 +867,18 @@ class _ServerlessKubernetesState:
829
867
  def logging_type(self, value: Optional[pulumi.Input[str]]):
830
868
  pulumi.set(self, "logging_type", value)
831
869
 
870
+ @property
871
+ @pulumi.getter(name="maintenanceWindow")
872
+ def maintenance_window(self) -> Optional[pulumi.Input['ServerlessKubernetesMaintenanceWindowArgs']]:
873
+ """
874
+ The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
875
+ """
876
+ return pulumi.get(self, "maintenance_window")
877
+
878
+ @maintenance_window.setter
879
+ def maintenance_window(self, value: Optional[pulumi.Input['ServerlessKubernetesMaintenanceWindowArgs']]):
880
+ pulumi.set(self, "maintenance_window", value)
881
+
832
882
  @property
833
883
  @pulumi.getter
834
884
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -862,6 +912,20 @@ class _ServerlessKubernetesState:
862
912
  def new_nat_gateway(self, value: Optional[pulumi.Input[bool]]):
863
913
  pulumi.set(self, "new_nat_gateway", value)
864
914
 
915
+ @property
916
+ @pulumi.getter(name="operationPolicy")
917
+ def operation_policy(self) -> Optional[pulumi.Input['ServerlessKubernetesOperationPolicyArgs']]:
918
+ """
919
+ The cluster automatic operation policy. See `operation_policy` below.
920
+
921
+ *Removed params*
922
+ """
923
+ return pulumi.get(self, "operation_policy")
924
+
925
+ @operation_policy.setter
926
+ def operation_policy(self, value: Optional[pulumi.Input['ServerlessKubernetesOperationPolicyArgs']]):
927
+ pulumi.set(self, "operation_policy", value)
928
+
865
929
  @property
866
930
  @pulumi.getter(name="privateZone")
867
931
  @_utilities.deprecated("""Field 'private_zone' has been deprecated from provider version 1.123.1. New field 'service_discovery_types' replace it.""")
@@ -949,7 +1013,7 @@ class _ServerlessKubernetesState:
949
1013
  @_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.""")
950
1014
  def sls_project_name(self) -> Optional[pulumi.Input[str]]:
951
1015
  """
952
- If you use an existing SLS project, you must specify `sls_project_name`.
1016
+ If you use an existing SLS project, you must specify `sls_project_name`. Only works for **Create** Operation.
953
1017
  """
954
1018
  return pulumi.get(self, "sls_project_name")
955
1019
 
@@ -985,7 +1049,7 @@ class _ServerlessKubernetesState:
985
1049
  @pulumi.getter
986
1050
  def version(self) -> Optional[pulumi.Input[str]]:
987
1051
  """
988
- Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
1052
+ Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used. Do not specify if cluster auto upgrade is enabled, see cluster_auto_upgrade for more information.
989
1053
  """
990
1054
  return pulumi.get(self, "version")
991
1055
 
@@ -1021,7 +1085,7 @@ class _ServerlessKubernetesState:
1021
1085
  @pulumi.getter(name="zoneId")
1022
1086
  def zone_id(self) -> Optional[pulumi.Input[str]]:
1023
1087
  """
1024
- When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.
1088
+ When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located. Only works for **Create** Operation.
1025
1089
  """
1026
1090
  return pulumi.get(self, "zone_id")
1027
1091
 
@@ -1048,9 +1112,11 @@ class ServerlessKubernetes(pulumi.CustomResource):
1048
1112
  kube_config: Optional[pulumi.Input[str]] = None,
1049
1113
  load_balancer_spec: Optional[pulumi.Input[str]] = None,
1050
1114
  logging_type: Optional[pulumi.Input[str]] = None,
1115
+ maintenance_window: Optional[pulumi.Input[Union['ServerlessKubernetesMaintenanceWindowArgs', 'ServerlessKubernetesMaintenanceWindowArgsDict']]] = None,
1051
1116
  name: Optional[pulumi.Input[str]] = None,
1052
1117
  name_prefix: Optional[pulumi.Input[str]] = None,
1053
1118
  new_nat_gateway: Optional[pulumi.Input[bool]] = None,
1119
+ operation_policy: Optional[pulumi.Input[Union['ServerlessKubernetesOperationPolicyArgs', 'ServerlessKubernetesOperationPolicyArgsDict']]] = None,
1054
1120
  private_zone: Optional[pulumi.Input[bool]] = None,
1055
1121
  resource_group_id: Optional[pulumi.Input[str]] = None,
1056
1122
  retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -1161,31 +1227,33 @@ class ServerlessKubernetes(pulumi.CustomResource):
1161
1227
  - ack.pro.small: Professional serverless clusters.
1162
1228
  :param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
1163
1229
  > **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
1164
-
1165
- *Removed params*
1166
1230
  :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.
1167
1231
  :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not.
1168
1232
  - true: Enable deletion protection.
1169
1233
  - false: Disable deletion protection.
1170
1234
  :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).
1171
- :param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false.
1235
+ :param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false. Only works for **Create** Operation.
1172
1236
  :param pulumi.Input[str] kube_config: The path of kube config, like `~/.kube/config`.
1173
- :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).
1174
- :param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`.
1237
+ :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). Only works for **Create** Operation.
1238
+ :param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`. Only works for **Create** Operation.
1239
+ :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.
1175
1240
  :param pulumi.Input[str] name: The kubernetes cluster's name. It is the only in one Alicloud account.
1176
1241
  :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`.
1242
+ :param pulumi.Input[Union['ServerlessKubernetesOperationPolicyArgs', 'ServerlessKubernetesOperationPolicyArgsDict']] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
1243
+
1244
+ *Removed params*
1177
1245
  :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`.
1178
1246
  :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.
1179
1247
  :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.
1180
1248
  :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.
1181
1249
  :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`.
1182
- :param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`.
1250
+ :param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`. Only works for **Create** Operation.
1183
1251
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
1184
1252
  :param pulumi.Input[str] time_zone: The time zone of the cluster.
1185
- :param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
1253
+ :param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used. Do not specify if cluster auto upgrade is enabled, see cluster_auto_upgrade for more information.
1186
1254
  :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.
1187
1255
  :param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vswitches where new kubernetes cluster will be located.
1188
- :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.
1256
+ :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. Only works for **Create** Operation.
1189
1257
  """
1190
1258
  ...
1191
1259
  @overload
@@ -1306,9 +1374,11 @@ class ServerlessKubernetes(pulumi.CustomResource):
1306
1374
  kube_config: Optional[pulumi.Input[str]] = None,
1307
1375
  load_balancer_spec: Optional[pulumi.Input[str]] = None,
1308
1376
  logging_type: Optional[pulumi.Input[str]] = None,
1377
+ maintenance_window: Optional[pulumi.Input[Union['ServerlessKubernetesMaintenanceWindowArgs', 'ServerlessKubernetesMaintenanceWindowArgsDict']]] = None,
1309
1378
  name: Optional[pulumi.Input[str]] = None,
1310
1379
  name_prefix: Optional[pulumi.Input[str]] = None,
1311
1380
  new_nat_gateway: Optional[pulumi.Input[bool]] = None,
1381
+ operation_policy: Optional[pulumi.Input[Union['ServerlessKubernetesOperationPolicyArgs', 'ServerlessKubernetesOperationPolicyArgsDict']]] = None,
1312
1382
  private_zone: Optional[pulumi.Input[bool]] = None,
1313
1383
  resource_group_id: Optional[pulumi.Input[str]] = None,
1314
1384
  retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -1344,9 +1414,11 @@ class ServerlessKubernetes(pulumi.CustomResource):
1344
1414
  __props__.__dict__["kube_config"] = kube_config
1345
1415
  __props__.__dict__["load_balancer_spec"] = load_balancer_spec
1346
1416
  __props__.__dict__["logging_type"] = logging_type
1417
+ __props__.__dict__["maintenance_window"] = maintenance_window
1347
1418
  __props__.__dict__["name"] = name
1348
1419
  __props__.__dict__["name_prefix"] = name_prefix
1349
1420
  __props__.__dict__["new_nat_gateway"] = new_nat_gateway
1421
+ __props__.__dict__["operation_policy"] = operation_policy
1350
1422
  __props__.__dict__["private_zone"] = private_zone
1351
1423
  __props__.__dict__["resource_group_id"] = resource_group_id
1352
1424
  __props__.__dict__["retain_resources"] = retain_resources
@@ -1384,9 +1456,11 @@ class ServerlessKubernetes(pulumi.CustomResource):
1384
1456
  kube_config: Optional[pulumi.Input[str]] = None,
1385
1457
  load_balancer_spec: Optional[pulumi.Input[str]] = None,
1386
1458
  logging_type: Optional[pulumi.Input[str]] = None,
1459
+ maintenance_window: Optional[pulumi.Input[Union['ServerlessKubernetesMaintenanceWindowArgs', 'ServerlessKubernetesMaintenanceWindowArgsDict']]] = None,
1387
1460
  name: Optional[pulumi.Input[str]] = None,
1388
1461
  name_prefix: Optional[pulumi.Input[str]] = None,
1389
1462
  new_nat_gateway: Optional[pulumi.Input[bool]] = None,
1463
+ operation_policy: Optional[pulumi.Input[Union['ServerlessKubernetesOperationPolicyArgs', 'ServerlessKubernetesOperationPolicyArgsDict']]] = None,
1390
1464
  private_zone: Optional[pulumi.Input[bool]] = None,
1391
1465
  resource_group_id: Optional[pulumi.Input[str]] = None,
1392
1466
  retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -1417,32 +1491,34 @@ class ServerlessKubernetes(pulumi.CustomResource):
1417
1491
  - ack.pro.small: Professional serverless clusters.
1418
1492
  :param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
1419
1493
  > **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
1420
-
1421
- *Removed params*
1422
1494
  :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.
1423
1495
  :param pulumi.Input[bool] deletion_protection: Whether enable the deletion protection or not.
1424
1496
  - true: Enable deletion protection.
1425
1497
  - false: Disable deletion protection.
1426
1498
  :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).
1427
- :param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false.
1499
+ :param pulumi.Input[bool] endpoint_public_access_enabled: Whether to create internet eip for API Server. Default to false. Only works for **Create** Operation.
1428
1500
  :param pulumi.Input[str] kube_config: The path of kube config, like `~/.kube/config`.
1429
- :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).
1430
- :param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`.
1501
+ :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). Only works for **Create** Operation.
1502
+ :param pulumi.Input[str] logging_type: Enable log service, Valid value `SLS`. Only works for **Create** Operation.
1503
+ :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.
1431
1504
  :param pulumi.Input[str] name: The kubernetes cluster's name. It is the only in one Alicloud account.
1432
1505
  :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`.
1506
+ :param pulumi.Input[Union['ServerlessKubernetesOperationPolicyArgs', 'ServerlessKubernetesOperationPolicyArgsDict']] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
1507
+
1508
+ *Removed params*
1433
1509
  :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`.
1434
1510
  :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.
1435
1511
  :param pulumi.Input[Union['ServerlessKubernetesRrsaMetadataArgs', 'ServerlessKubernetesRrsaMetadataArgsDict']] rrsa_metadata: Nested attribute containing RRSA related data for your cluster.
1436
1512
  :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.
1437
1513
  :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.
1438
1514
  :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`.
1439
- :param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`.
1515
+ :param pulumi.Input[str] sls_project_name: If you use an existing SLS project, you must specify `sls_project_name`. Only works for **Create** Operation.
1440
1516
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
1441
1517
  :param pulumi.Input[str] time_zone: The time zone of the cluster.
1442
- :param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
1518
+ :param pulumi.Input[str] version: Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used. Do not specify if cluster auto upgrade is enabled, see cluster_auto_upgrade for more information.
1443
1519
  :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.
1444
1520
  :param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The vswitches where new kubernetes cluster will be located.
1445
- :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.
1521
+ :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. Only works for **Create** Operation.
1446
1522
  """
1447
1523
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1448
1524
 
@@ -1461,9 +1537,11 @@ class ServerlessKubernetes(pulumi.CustomResource):
1461
1537
  __props__.__dict__["kube_config"] = kube_config
1462
1538
  __props__.__dict__["load_balancer_spec"] = load_balancer_spec
1463
1539
  __props__.__dict__["logging_type"] = logging_type
1540
+ __props__.__dict__["maintenance_window"] = maintenance_window
1464
1541
  __props__.__dict__["name"] = name
1465
1542
  __props__.__dict__["name_prefix"] = name_prefix
1466
1543
  __props__.__dict__["new_nat_gateway"] = new_nat_gateway
1544
+ __props__.__dict__["operation_policy"] = operation_policy
1467
1545
  __props__.__dict__["private_zone"] = private_zone
1468
1546
  __props__.__dict__["resource_group_id"] = resource_group_id
1469
1547
  __props__.__dict__["retain_resources"] = retain_resources
@@ -1528,8 +1606,6 @@ class ServerlessKubernetes(pulumi.CustomResource):
1528
1606
  """
1529
1607
  Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
1530
1608
  > **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
1531
-
1532
- *Removed params*
1533
1609
  """
1534
1610
  return pulumi.get(self, "custom_san")
1535
1611
 
@@ -1563,7 +1639,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
1563
1639
  @pulumi.getter(name="endpointPublicAccessEnabled")
1564
1640
  def endpoint_public_access_enabled(self) -> pulumi.Output[Optional[bool]]:
1565
1641
  """
1566
- Whether to create internet eip for API Server. Default to false.
1642
+ Whether to create internet eip for API Server. Default to false. Only works for **Create** Operation.
1567
1643
  """
1568
1644
  return pulumi.get(self, "endpoint_public_access_enabled")
1569
1645
 
@@ -1578,10 +1654,10 @@ class ServerlessKubernetes(pulumi.CustomResource):
1578
1654
 
1579
1655
  @property
1580
1656
  @pulumi.getter(name="loadBalancerSpec")
1581
- @_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.""")
1657
+ @_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 the spec is no need anymore.""")
1582
1658
  def load_balancer_spec(self) -> pulumi.Output[str]:
1583
1659
  """
1584
- 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).
1660
+ 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.
1585
1661
  """
1586
1662
  return pulumi.get(self, "load_balancer_spec")
1587
1663
 
@@ -1590,10 +1666,18 @@ class ServerlessKubernetes(pulumi.CustomResource):
1590
1666
  @_utilities.deprecated("""Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.""")
1591
1667
  def logging_type(self) -> pulumi.Output[Optional[str]]:
1592
1668
  """
1593
- Enable log service, Valid value `SLS`.
1669
+ Enable log service, Valid value `SLS`. Only works for **Create** Operation.
1594
1670
  """
1595
1671
  return pulumi.get(self, "logging_type")
1596
1672
 
1673
+ @property
1674
+ @pulumi.getter(name="maintenanceWindow")
1675
+ def maintenance_window(self) -> pulumi.Output['outputs.ServerlessKubernetesMaintenanceWindow']:
1676
+ """
1677
+ The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. See `maintenance_window` below.
1678
+ """
1679
+ return pulumi.get(self, "maintenance_window")
1680
+
1597
1681
  @property
1598
1682
  @pulumi.getter
1599
1683
  def name(self) -> pulumi.Output[str]:
@@ -1615,6 +1699,16 @@ class ServerlessKubernetes(pulumi.CustomResource):
1615
1699
  """
1616
1700
  return pulumi.get(self, "new_nat_gateway")
1617
1701
 
1702
+ @property
1703
+ @pulumi.getter(name="operationPolicy")
1704
+ def operation_policy(self) -> pulumi.Output['outputs.ServerlessKubernetesOperationPolicy']:
1705
+ """
1706
+ The cluster automatic operation policy. See `operation_policy` below.
1707
+
1708
+ *Removed params*
1709
+ """
1710
+ return pulumi.get(self, "operation_policy")
1711
+
1618
1712
  @property
1619
1713
  @pulumi.getter(name="privateZone")
1620
1714
  @_utilities.deprecated("""Field 'private_zone' has been deprecated from provider version 1.123.1. New field 'service_discovery_types' replace it.""")
@@ -1674,7 +1768,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
1674
1768
  @_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.""")
1675
1769
  def sls_project_name(self) -> pulumi.Output[str]:
1676
1770
  """
1677
- If you use an existing SLS project, you must specify `sls_project_name`.
1771
+ If you use an existing SLS project, you must specify `sls_project_name`. Only works for **Create** Operation.
1678
1772
  """
1679
1773
  return pulumi.get(self, "sls_project_name")
1680
1774
 
@@ -1698,7 +1792,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
1698
1792
  @pulumi.getter
1699
1793
  def version(self) -> pulumi.Output[str]:
1700
1794
  """
1701
- Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
1795
+ Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used. Do not specify if cluster auto upgrade is enabled, see cluster_auto_upgrade for more information.
1702
1796
  """
1703
1797
  return pulumi.get(self, "version")
1704
1798
 
@@ -1722,7 +1816,7 @@ class ServerlessKubernetes(pulumi.CustomResource):
1722
1816
  @pulumi.getter(name="zoneId")
1723
1817
  def zone_id(self) -> pulumi.Output[Optional[str]]:
1724
1818
  """
1725
- When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.
1819
+ When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located. Only works for **Create** Operation.
1726
1820
  """
1727
1821
  return pulumi.get(self, "zone_id")
1728
1822