pulumi-alicloud 3.78.0a1747367664__py3-none-any.whl → 3.79.0__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 (48) hide show
  1. pulumi_alicloud/__init__.py +40 -0
  2. pulumi_alicloud/alb/_inputs.py +21 -105
  3. pulumi_alicloud/alb/get_load_balancers.py +169 -18
  4. pulumi_alicloud/alb/listener.py +28 -56
  5. pulumi_alicloud/alb/outputs.py +150 -105
  6. pulumi_alicloud/cs/_inputs.py +54 -0
  7. pulumi_alicloud/cs/get_kubernetes_version.py +4 -4
  8. pulumi_alicloud/cs/managed_kubernetes.py +129 -7
  9. pulumi_alicloud/cs/outputs.py +49 -0
  10. pulumi_alicloud/ecs/__init__.py +1 -0
  11. pulumi_alicloud/ecs/_inputs.py +40 -0
  12. pulumi_alicloud/ecs/get_dedicated_hosts.py +49 -22
  13. pulumi_alicloud/ecs/get_instances.py +4 -3
  14. pulumi_alicloud/ecs/instance.py +94 -0
  15. pulumi_alicloud/ecs/outputs.py +129 -39
  16. pulumi_alicloud/ecs/ram_role_attachment.py +406 -0
  17. pulumi_alicloud/eflo/__init__.py +1 -0
  18. pulumi_alicloud/eflo/vsc.py +433 -0
  19. pulumi_alicloud/elasticsearch/instance.py +7 -7
  20. pulumi_alicloud/ess/outputs.py +226 -4
  21. pulumi_alicloud/expressconnect/router_vpc_association.py +56 -49
  22. pulumi_alicloud/fc/__init__.py +1 -0
  23. pulumi_alicloud/fc/get_v3_triggers.py +277 -0
  24. pulumi_alicloud/fc/outputs.py +192 -0
  25. pulumi_alicloud/lindorm/__init__.py +1 -0
  26. pulumi_alicloud/lindorm/public_network.py +288 -0
  27. pulumi_alicloud/maxcompute/project.py +2 -4
  28. pulumi_alicloud/oos/get_parameters.py +72 -28
  29. pulumi_alicloud/oos/outputs.py +10 -10
  30. pulumi_alicloud/pai/__init__.py +1 -0
  31. pulumi_alicloud/pai/workspace_user_config.py +356 -0
  32. pulumi_alicloud/polardb/cluster.py +155 -0
  33. pulumi_alicloud/pulumi-plugin.json +1 -1
  34. pulumi_alicloud/pvtz/get_zone_records.py +66 -35
  35. pulumi_alicloud/pvtz/get_zones.py +49 -32
  36. pulumi_alicloud/pvtz/outputs.py +60 -56
  37. pulumi_alicloud/ram/policy.py +21 -35
  38. pulumi_alicloud/ram/role_attachment.py +6 -2
  39. pulumi_alicloud/rds/__init__.py +1 -0
  40. pulumi_alicloud/rds/db_proxy_public.py +512 -0
  41. pulumi_alicloud/rds/instance.py +35 -35
  42. pulumi_alicloud/sls/__init__.py +1 -0
  43. pulumi_alicloud/sls/get_alerts.py +463 -0
  44. pulumi_alicloud/sls/outputs.py +975 -0
  45. {pulumi_alicloud-3.78.0a1747367664.dist-info → pulumi_alicloud-3.79.0.dist-info}/METADATA +1 -1
  46. {pulumi_alicloud-3.78.0a1747367664.dist-info → pulumi_alicloud-3.79.0.dist-info}/RECORD +48 -41
  47. {pulumi_alicloud-3.78.0a1747367664.dist-info → pulumi_alicloud-3.79.0.dist-info}/WHEEL +1 -1
  48. {pulumi_alicloud-3.78.0a1747367664.dist-info → pulumi_alicloud-3.79.0.dist-info}/top_level.txt +0 -0
@@ -24,6 +24,7 @@ class ManagedKubernetesArgs:
24
24
  def __init__(__self__, *,
25
25
  addons: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]]] = None,
26
26
  api_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
27
+ audit_log_config: Optional[pulumi.Input['ManagedKubernetesAuditLogConfigArgs']] = None,
27
28
  client_cert: Optional[pulumi.Input[builtins.str]] = None,
28
29
  client_key: Optional[pulumi.Input[builtins.str]] = None,
29
30
  cluster_ca_cert: Optional[pulumi.Input[builtins.str]] = None,
@@ -48,6 +49,7 @@ class ManagedKubernetesArgs:
48
49
  operation_policy: Optional[pulumi.Input['ManagedKubernetesOperationPolicyArgs']] = None,
49
50
  pod_cidr: Optional[pulumi.Input[builtins.str]] = None,
50
51
  pod_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
52
+ profile: Optional[pulumi.Input[builtins.str]] = None,
51
53
  proxy_mode: Optional[pulumi.Input[builtins.str]] = None,
52
54
  resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
53
55
  retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
@@ -67,6 +69,7 @@ class ManagedKubernetesArgs:
67
69
  The set of arguments for constructing a ManagedKubernetes resource.
68
70
  :param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
69
71
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
72
+ :param pulumi.Input['ManagedKubernetesAuditLogConfigArgs'] audit_log_config: Audit log configuration. See `audit_log_config` below.
70
73
  :param pulumi.Input[builtins.str] client_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-cert.pem) for replace it.
71
74
  :param pulumi.Input[builtins.str] client_key: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_key attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-key.pem) for replace it.
72
75
  :param pulumi.Input[builtins.str] cluster_ca_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.cluster_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.
@@ -74,7 +77,7 @@ class ManagedKubernetesArgs:
74
77
  *Removed params*
75
78
  :param pulumi.Input[builtins.str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
76
79
  :param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
77
- * ack.standard : Standard managed clusters.
80
+ * ack.standard : Basic managed clusters.
78
81
  * ack.pro.small : Professional managed clusters.
79
82
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] control_plane_log_components: List of target components for which logs need to be collected. Supports `apiserver`, `kcm`, `scheduler`, `ccm` and `controlplane-events`.
80
83
  :param pulumi.Input[builtins.str] control_plane_log_project: Control plane log project. If this field is not set, a log service project named k8s-log-{ClusterID} will be automatically created.
@@ -95,6 +98,11 @@ class ManagedKubernetesArgs:
95
98
  :param pulumi.Input['ManagedKubernetesOperationPolicyArgs'] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
96
99
  :param pulumi.Input[builtins.str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
97
100
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
101
+ :param pulumi.Input[builtins.str] profile: The profile of cluster. Valid values:
102
+ * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
103
+ * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
104
+ * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
105
+ * `Acs`: ACS cluster.
98
106
  :param pulumi.Input[builtins.str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
99
107
  :param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
100
108
  :param pulumi.Input[builtins.str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
@@ -129,6 +137,8 @@ class ManagedKubernetesArgs:
129
137
  pulumi.set(__self__, "addons", addons)
130
138
  if api_audiences is not None:
131
139
  pulumi.set(__self__, "api_audiences", api_audiences)
140
+ if audit_log_config is not None:
141
+ pulumi.set(__self__, "audit_log_config", audit_log_config)
132
142
  if client_cert is not None:
133
143
  warnings.warn("""Field 'client_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.""", DeprecationWarning)
134
144
  pulumi.log.warn("""client_cert is deprecated: Field 'client_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.""")
@@ -189,6 +199,8 @@ class ManagedKubernetesArgs:
189
199
  pulumi.set(__self__, "pod_cidr", pod_cidr)
190
200
  if pod_vswitch_ids is not None:
191
201
  pulumi.set(__self__, "pod_vswitch_ids", pod_vswitch_ids)
202
+ if profile is not None:
203
+ pulumi.set(__self__, "profile", profile)
192
204
  if proxy_mode is not None:
193
205
  pulumi.set(__self__, "proxy_mode", proxy_mode)
194
206
  if resource_group_id is not None:
@@ -247,6 +259,18 @@ class ManagedKubernetesArgs:
247
259
  def api_audiences(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
248
260
  pulumi.set(self, "api_audiences", value)
249
261
 
262
+ @property
263
+ @pulumi.getter(name="auditLogConfig")
264
+ def audit_log_config(self) -> Optional[pulumi.Input['ManagedKubernetesAuditLogConfigArgs']]:
265
+ """
266
+ Audit log configuration. See `audit_log_config` below.
267
+ """
268
+ return pulumi.get(self, "audit_log_config")
269
+
270
+ @audit_log_config.setter
271
+ def audit_log_config(self, value: Optional[pulumi.Input['ManagedKubernetesAuditLogConfigArgs']]):
272
+ pulumi.set(self, "audit_log_config", value)
273
+
250
274
  @property
251
275
  @pulumi.getter(name="clientCert")
252
276
  @_utilities.deprecated("""Field 'client_cert' has been deprecated from provider version 1.248.0. From version 1.248.0, new DataSource 'alicloud_cs_cluster_credential' is recommended to manage cluster's kubeconfig, you can also save the 'certificate_authority.client_cert' attribute content of new DataSource 'alicloud_cs_cluster_credential' to an appropriate path(like ~/.kube/client-cert.pem) for replace it.""")
@@ -305,7 +329,7 @@ class ManagedKubernetesArgs:
305
329
  def cluster_spec(self) -> Optional[pulumi.Input[builtins.str]]:
306
330
  """
307
331
  The cluster specifications of kubernetes cluster,which can be empty. Valid values:
308
- * ack.standard : Standard managed clusters.
332
+ * ack.standard : Basic managed clusters.
309
333
  * ack.pro.small : Professional managed clusters.
310
334
  """
311
335
  return pulumi.get(self, "cluster_spec")
@@ -541,6 +565,22 @@ class ManagedKubernetesArgs:
541
565
  def pod_vswitch_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
542
566
  pulumi.set(self, "pod_vswitch_ids", value)
543
567
 
568
+ @property
569
+ @pulumi.getter
570
+ def profile(self) -> Optional[pulumi.Input[builtins.str]]:
571
+ """
572
+ The profile of cluster. Valid values:
573
+ * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
574
+ * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
575
+ * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
576
+ * `Acs`: ACS cluster.
577
+ """
578
+ return pulumi.get(self, "profile")
579
+
580
+ @profile.setter
581
+ def profile(self, value: Optional[pulumi.Input[builtins.str]]):
582
+ pulumi.set(self, "profile", value)
583
+
544
584
  @property
545
585
  @pulumi.getter(name="proxyMode")
546
586
  def proxy_mode(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -740,6 +780,7 @@ class _ManagedKubernetesState:
740
780
  def __init__(__self__, *,
741
781
  addons: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]]] = None,
742
782
  api_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
783
+ audit_log_config: Optional[pulumi.Input['ManagedKubernetesAuditLogConfigArgs']] = None,
743
784
  certificate_authority: Optional[pulumi.Input['ManagedKubernetesCertificateAuthorityArgs']] = None,
744
785
  client_cert: Optional[pulumi.Input[builtins.str]] = None,
745
786
  client_key: Optional[pulumi.Input[builtins.str]] = None,
@@ -767,6 +808,7 @@ class _ManagedKubernetesState:
767
808
  operation_policy: Optional[pulumi.Input['ManagedKubernetesOperationPolicyArgs']] = None,
768
809
  pod_cidr: Optional[pulumi.Input[builtins.str]] = None,
769
810
  pod_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
811
+ profile: Optional[pulumi.Input[builtins.str]] = None,
770
812
  proxy_mode: Optional[pulumi.Input[builtins.str]] = None,
771
813
  resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
772
814
  retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
@@ -792,6 +834,7 @@ class _ManagedKubernetesState:
792
834
  Input properties used for looking up and filtering ManagedKubernetes resources.
793
835
  :param pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesAddonArgs']]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
794
836
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
837
+ :param pulumi.Input['ManagedKubernetesAuditLogConfigArgs'] audit_log_config: Audit log configuration. See `audit_log_config` below.
795
838
  :param pulumi.Input['ManagedKubernetesCertificateAuthorityArgs'] certificate_authority: (Map, Deprecated from v1.248.0) Nested attribute containing certificate authority data for your cluster. Please use the attribute certificate_authority of new DataSource `cs_get_cluster_credential` to replace it.
796
839
  :param pulumi.Input[builtins.str] client_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-cert.pem) for replace it.
797
840
  :param pulumi.Input[builtins.str] client_key: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_key attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-key.pem) for replace it.
@@ -800,7 +843,7 @@ class _ManagedKubernetesState:
800
843
  *Removed params*
801
844
  :param pulumi.Input[builtins.str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
802
845
  :param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
803
- * ack.standard : Standard managed clusters.
846
+ * ack.standard : Basic managed clusters.
804
847
  * ack.pro.small : Professional managed clusters.
805
848
  :param pulumi.Input['ManagedKubernetesConnectionsArgs'] connections: Map of kubernetes cluster connection information.
806
849
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] control_plane_log_components: List of target components for which logs need to be collected. Supports `apiserver`, `kcm`, `scheduler`, `ccm` and `controlplane-events`.
@@ -823,6 +866,11 @@ class _ManagedKubernetesState:
823
866
  :param pulumi.Input['ManagedKubernetesOperationPolicyArgs'] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
824
867
  :param pulumi.Input[builtins.str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
825
868
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
869
+ :param pulumi.Input[builtins.str] profile: The profile of cluster. Valid values:
870
+ * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
871
+ * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
872
+ * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
873
+ * `Acs`: ACS cluster.
826
874
  :param pulumi.Input[builtins.str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
827
875
  :param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
828
876
  :param pulumi.Input['ManagedKubernetesRrsaMetadataArgs'] rrsa_metadata: (Optional, Available since v1.185.0) Nested attribute containing RRSA related data for your cluster.
@@ -863,6 +911,8 @@ class _ManagedKubernetesState:
863
911
  pulumi.set(__self__, "addons", addons)
864
912
  if api_audiences is not None:
865
913
  pulumi.set(__self__, "api_audiences", api_audiences)
914
+ if audit_log_config is not None:
915
+ pulumi.set(__self__, "audit_log_config", audit_log_config)
866
916
  if certificate_authority is not None:
867
917
  warnings.warn("""Field 'certificate_authority' has been deprecated from provider version 1.248.0. Please use the attribute 'certificate_authority' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""", DeprecationWarning)
868
918
  pulumi.log.warn("""certificate_authority is deprecated: Field 'certificate_authority' has been deprecated from provider version 1.248.0. Please use the attribute 'certificate_authority' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
@@ -932,6 +982,8 @@ class _ManagedKubernetesState:
932
982
  pulumi.set(__self__, "pod_cidr", pod_cidr)
933
983
  if pod_vswitch_ids is not None:
934
984
  pulumi.set(__self__, "pod_vswitch_ids", pod_vswitch_ids)
985
+ if profile is not None:
986
+ pulumi.set(__self__, "profile", profile)
935
987
  if proxy_mode is not None:
936
988
  pulumi.set(__self__, "proxy_mode", proxy_mode)
937
989
  if resource_group_id is not None:
@@ -1002,6 +1054,18 @@ class _ManagedKubernetesState:
1002
1054
  def api_audiences(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
1003
1055
  pulumi.set(self, "api_audiences", value)
1004
1056
 
1057
+ @property
1058
+ @pulumi.getter(name="auditLogConfig")
1059
+ def audit_log_config(self) -> Optional[pulumi.Input['ManagedKubernetesAuditLogConfigArgs']]:
1060
+ """
1061
+ Audit log configuration. See `audit_log_config` below.
1062
+ """
1063
+ return pulumi.get(self, "audit_log_config")
1064
+
1065
+ @audit_log_config.setter
1066
+ def audit_log_config(self, value: Optional[pulumi.Input['ManagedKubernetesAuditLogConfigArgs']]):
1067
+ pulumi.set(self, "audit_log_config", value)
1068
+
1005
1069
  @property
1006
1070
  @pulumi.getter(name="certificateAuthority")
1007
1071
  @_utilities.deprecated("""Field 'certificate_authority' has been deprecated from provider version 1.248.0. Please use the attribute 'certificate_authority' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
@@ -1073,7 +1137,7 @@ class _ManagedKubernetesState:
1073
1137
  def cluster_spec(self) -> Optional[pulumi.Input[builtins.str]]:
1074
1138
  """
1075
1139
  The cluster specifications of kubernetes cluster,which can be empty. Valid values:
1076
- * ack.standard : Standard managed clusters.
1140
+ * ack.standard : Basic managed clusters.
1077
1141
  * ack.pro.small : Professional managed clusters.
1078
1142
  """
1079
1143
  return pulumi.get(self, "cluster_spec")
@@ -1333,6 +1397,22 @@ class _ManagedKubernetesState:
1333
1397
  def pod_vswitch_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
1334
1398
  pulumi.set(self, "pod_vswitch_ids", value)
1335
1399
 
1400
+ @property
1401
+ @pulumi.getter
1402
+ def profile(self) -> Optional[pulumi.Input[builtins.str]]:
1403
+ """
1404
+ The profile of cluster. Valid values:
1405
+ * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
1406
+ * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
1407
+ * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
1408
+ * `Acs`: ACS cluster.
1409
+ """
1410
+ return pulumi.get(self, "profile")
1411
+
1412
+ @profile.setter
1413
+ def profile(self, value: Optional[pulumi.Input[builtins.str]]):
1414
+ pulumi.set(self, "profile", value)
1415
+
1336
1416
  @property
1337
1417
  @pulumi.getter(name="proxyMode")
1338
1418
  def proxy_mode(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -1607,6 +1687,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1607
1687
  opts: Optional[pulumi.ResourceOptions] = None,
1608
1688
  addons: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesAddonArgs', 'ManagedKubernetesAddonArgsDict']]]]] = None,
1609
1689
  api_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1690
+ audit_log_config: Optional[pulumi.Input[Union['ManagedKubernetesAuditLogConfigArgs', 'ManagedKubernetesAuditLogConfigArgsDict']]] = None,
1610
1691
  client_cert: Optional[pulumi.Input[builtins.str]] = None,
1611
1692
  client_key: Optional[pulumi.Input[builtins.str]] = None,
1612
1693
  cluster_ca_cert: Optional[pulumi.Input[builtins.str]] = None,
@@ -1631,6 +1712,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1631
1712
  operation_policy: Optional[pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']]] = None,
1632
1713
  pod_cidr: Optional[pulumi.Input[builtins.str]] = None,
1633
1714
  pod_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1715
+ profile: Optional[pulumi.Input[builtins.str]] = None,
1634
1716
  proxy_mode: Optional[pulumi.Input[builtins.str]] = None,
1635
1717
  resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
1636
1718
  retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
@@ -1692,6 +1774,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1692
1774
  :param pulumi.ResourceOptions opts: Options for the resource.
1693
1775
  :param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesAddonArgs', 'ManagedKubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
1694
1776
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
1777
+ :param pulumi.Input[Union['ManagedKubernetesAuditLogConfigArgs', 'ManagedKubernetesAuditLogConfigArgsDict']] audit_log_config: Audit log configuration. See `audit_log_config` below.
1695
1778
  :param pulumi.Input[builtins.str] client_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-cert.pem) for replace it.
1696
1779
  :param pulumi.Input[builtins.str] client_key: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_key attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-key.pem) for replace it.
1697
1780
  :param pulumi.Input[builtins.str] cluster_ca_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.cluster_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/cluster-ca-cert.pem) for replace it.
@@ -1699,7 +1782,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1699
1782
  *Removed params*
1700
1783
  :param pulumi.Input[builtins.str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
1701
1784
  :param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
1702
- * ack.standard : Standard managed clusters.
1785
+ * ack.standard : Basic managed clusters.
1703
1786
  * ack.pro.small : Professional managed clusters.
1704
1787
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] control_plane_log_components: List of target components for which logs need to be collected. Supports `apiserver`, `kcm`, `scheduler`, `ccm` and `controlplane-events`.
1705
1788
  :param pulumi.Input[builtins.str] control_plane_log_project: Control plane log project. If this field is not set, a log service project named k8s-log-{ClusterID} will be automatically created.
@@ -1720,6 +1803,11 @@ class ManagedKubernetes(pulumi.CustomResource):
1720
1803
  :param pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
1721
1804
  :param pulumi.Input[builtins.str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
1722
1805
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
1806
+ :param pulumi.Input[builtins.str] profile: The profile of cluster. Valid values:
1807
+ * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
1808
+ * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
1809
+ * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
1810
+ * `Acs`: ACS cluster.
1723
1811
  :param pulumi.Input[builtins.str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
1724
1812
  :param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
1725
1813
  :param pulumi.Input[builtins.str] security_group_id: The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
@@ -1814,6 +1902,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1814
1902
  opts: Optional[pulumi.ResourceOptions] = None,
1815
1903
  addons: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesAddonArgs', 'ManagedKubernetesAddonArgsDict']]]]] = None,
1816
1904
  api_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1905
+ audit_log_config: Optional[pulumi.Input[Union['ManagedKubernetesAuditLogConfigArgs', 'ManagedKubernetesAuditLogConfigArgsDict']]] = None,
1817
1906
  client_cert: Optional[pulumi.Input[builtins.str]] = None,
1818
1907
  client_key: Optional[pulumi.Input[builtins.str]] = None,
1819
1908
  cluster_ca_cert: Optional[pulumi.Input[builtins.str]] = None,
@@ -1838,6 +1927,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1838
1927
  operation_policy: Optional[pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']]] = None,
1839
1928
  pod_cidr: Optional[pulumi.Input[builtins.str]] = None,
1840
1929
  pod_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1930
+ profile: Optional[pulumi.Input[builtins.str]] = None,
1841
1931
  proxy_mode: Optional[pulumi.Input[builtins.str]] = None,
1842
1932
  resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
1843
1933
  retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
@@ -1864,6 +1954,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1864
1954
 
1865
1955
  __props__.__dict__["addons"] = addons
1866
1956
  __props__.__dict__["api_audiences"] = api_audiences
1957
+ __props__.__dict__["audit_log_config"] = audit_log_config
1867
1958
  __props__.__dict__["client_cert"] = client_cert
1868
1959
  __props__.__dict__["client_key"] = client_key
1869
1960
  __props__.__dict__["cluster_ca_cert"] = cluster_ca_cert
@@ -1888,6 +1979,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1888
1979
  __props__.__dict__["operation_policy"] = operation_policy
1889
1980
  __props__.__dict__["pod_cidr"] = pod_cidr
1890
1981
  __props__.__dict__["pod_vswitch_ids"] = pod_vswitch_ids
1982
+ __props__.__dict__["profile"] = profile
1891
1983
  __props__.__dict__["proxy_mode"] = proxy_mode
1892
1984
  __props__.__dict__["resource_group_id"] = resource_group_id
1893
1985
  __props__.__dict__["retain_resources"] = retain_resources
@@ -1924,6 +2016,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1924
2016
  opts: Optional[pulumi.ResourceOptions] = None,
1925
2017
  addons: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesAddonArgs', 'ManagedKubernetesAddonArgsDict']]]]] = None,
1926
2018
  api_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
2019
+ audit_log_config: Optional[pulumi.Input[Union['ManagedKubernetesAuditLogConfigArgs', 'ManagedKubernetesAuditLogConfigArgsDict']]] = None,
1927
2020
  certificate_authority: Optional[pulumi.Input[Union['ManagedKubernetesCertificateAuthorityArgs', 'ManagedKubernetesCertificateAuthorityArgsDict']]] = None,
1928
2021
  client_cert: Optional[pulumi.Input[builtins.str]] = None,
1929
2022
  client_key: Optional[pulumi.Input[builtins.str]] = None,
@@ -1951,6 +2044,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1951
2044
  operation_policy: Optional[pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']]] = None,
1952
2045
  pod_cidr: Optional[pulumi.Input[builtins.str]] = None,
1953
2046
  pod_vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
2047
+ profile: Optional[pulumi.Input[builtins.str]] = None,
1954
2048
  proxy_mode: Optional[pulumi.Input[builtins.str]] = None,
1955
2049
  resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
1956
2050
  retain_resources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
@@ -1981,6 +2075,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1981
2075
  :param pulumi.ResourceOptions opts: Options for the resource.
1982
2076
  :param pulumi.Input[Sequence[pulumi.Input[Union['ManagedKubernetesAddonArgs', 'ManagedKubernetesAddonArgsDict']]]] addons: The addon you want to install in cluster. See `addons` below. Only works for **Create** Operation, use resource cs_kubernetes_addon to manage addons if cluster is created.
1983
2077
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] api_audiences: A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `service_account_issuer` as well. From cluster version 1.22, Service Account Token Volume Projection will be enabled by default.
2078
+ :param pulumi.Input[Union['ManagedKubernetesAuditLogConfigArgs', 'ManagedKubernetesAuditLogConfigArgsDict']] audit_log_config: Audit log configuration. See `audit_log_config` below.
1984
2079
  :param pulumi.Input[Union['ManagedKubernetesCertificateAuthorityArgs', 'ManagedKubernetesCertificateAuthorityArgsDict']] certificate_authority: (Map, Deprecated from v1.248.0) Nested attribute containing certificate authority data for your cluster. Please use the attribute certificate_authority of new DataSource `cs_get_cluster_credential` to replace it.
1985
2080
  :param pulumi.Input[builtins.str] client_cert: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_cert attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-cert.pem) for replace it.
1986
2081
  :param pulumi.Input[builtins.str] client_key: From version 1.248.0, new DataSource `cs_get_cluster_credential` is recommended to manage cluster's kubeconfig, you can also save the certificate_authority.client_key attribute content of new DataSource `cs_get_cluster_credential` to an appropriate path(like ~/.kube/client-key.pem) for replace it.
@@ -1989,7 +2084,7 @@ class ManagedKubernetes(pulumi.CustomResource):
1989
2084
  *Removed params*
1990
2085
  :param pulumi.Input[builtins.str] cluster_domain: Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
1991
2086
  :param pulumi.Input[builtins.str] cluster_spec: The cluster specifications of kubernetes cluster,which can be empty. Valid values:
1992
- * ack.standard : Standard managed clusters.
2087
+ * ack.standard : Basic managed clusters.
1993
2088
  * ack.pro.small : Professional managed clusters.
1994
2089
  :param pulumi.Input[Union['ManagedKubernetesConnectionsArgs', 'ManagedKubernetesConnectionsArgsDict']] connections: Map of kubernetes cluster connection information.
1995
2090
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] control_plane_log_components: List of target components for which logs need to be collected. Supports `apiserver`, `kcm`, `scheduler`, `ccm` and `controlplane-events`.
@@ -2012,6 +2107,11 @@ class ManagedKubernetes(pulumi.CustomResource):
2012
2107
  :param pulumi.Input[Union['ManagedKubernetesOperationPolicyArgs', 'ManagedKubernetesOperationPolicyArgsDict']] operation_policy: The cluster automatic operation policy. See `operation_policy` below.
2013
2108
  :param pulumi.Input[builtins.str] pod_cidr: [Flannel Specific] The CIDR block for the pod network when using Flannel.
2014
2109
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] pod_vswitch_ids: [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `pod_vswitch_ids` is not belong to `vswitch_ids` but must be in same availability zones. Only works for **Create** Operation.
2110
+ :param pulumi.Input[builtins.str] profile: The profile of cluster. Valid values:
2111
+ * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
2112
+ * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
2113
+ * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
2114
+ * `Acs`: ACS cluster.
2015
2115
  :param pulumi.Input[builtins.str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
2016
2116
  :param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
2017
2117
  :param pulumi.Input[Union['ManagedKubernetesRrsaMetadataArgs', 'ManagedKubernetesRrsaMetadataArgsDict']] rrsa_metadata: (Optional, Available since v1.185.0) Nested attribute containing RRSA related data for your cluster.
@@ -2054,6 +2154,7 @@ class ManagedKubernetes(pulumi.CustomResource):
2054
2154
 
2055
2155
  __props__.__dict__["addons"] = addons
2056
2156
  __props__.__dict__["api_audiences"] = api_audiences
2157
+ __props__.__dict__["audit_log_config"] = audit_log_config
2057
2158
  __props__.__dict__["certificate_authority"] = certificate_authority
2058
2159
  __props__.__dict__["client_cert"] = client_cert
2059
2160
  __props__.__dict__["client_key"] = client_key
@@ -2081,6 +2182,7 @@ class ManagedKubernetes(pulumi.CustomResource):
2081
2182
  __props__.__dict__["operation_policy"] = operation_policy
2082
2183
  __props__.__dict__["pod_cidr"] = pod_cidr
2083
2184
  __props__.__dict__["pod_vswitch_ids"] = pod_vswitch_ids
2185
+ __props__.__dict__["profile"] = profile
2084
2186
  __props__.__dict__["proxy_mode"] = proxy_mode
2085
2187
  __props__.__dict__["resource_group_id"] = resource_group_id
2086
2188
  __props__.__dict__["retain_resources"] = retain_resources
@@ -2120,6 +2222,14 @@ class ManagedKubernetes(pulumi.CustomResource):
2120
2222
  """
2121
2223
  return pulumi.get(self, "api_audiences")
2122
2224
 
2225
+ @property
2226
+ @pulumi.getter(name="auditLogConfig")
2227
+ def audit_log_config(self) -> pulumi.Output['outputs.ManagedKubernetesAuditLogConfig']:
2228
+ """
2229
+ Audit log configuration. See `audit_log_config` below.
2230
+ """
2231
+ return pulumi.get(self, "audit_log_config")
2232
+
2123
2233
  @property
2124
2234
  @pulumi.getter(name="certificateAuthority")
2125
2235
  @_utilities.deprecated("""Field 'certificate_authority' has been deprecated from provider version 1.248.0. Please use the attribute 'certificate_authority' of new DataSource 'alicloud_cs_cluster_credential' to replace it.""")
@@ -2171,7 +2281,7 @@ class ManagedKubernetes(pulumi.CustomResource):
2171
2281
  def cluster_spec(self) -> pulumi.Output[builtins.str]:
2172
2282
  """
2173
2283
  The cluster specifications of kubernetes cluster,which can be empty. Valid values:
2174
- * ack.standard : Standard managed clusters.
2284
+ * ack.standard : Basic managed clusters.
2175
2285
  * ack.pro.small : Professional managed clusters.
2176
2286
  """
2177
2287
  return pulumi.get(self, "cluster_spec")
@@ -2343,6 +2453,18 @@ class ManagedKubernetes(pulumi.CustomResource):
2343
2453
  """
2344
2454
  return pulumi.get(self, "pod_vswitch_ids")
2345
2455
 
2456
+ @property
2457
+ @pulumi.getter
2458
+ def profile(self) -> pulumi.Output[builtins.str]:
2459
+ """
2460
+ The profile of cluster. Valid values:
2461
+ * `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
2462
+ * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
2463
+ * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
2464
+ * `Acs`: ACS cluster.
2465
+ """
2466
+ return pulumi.get(self, "profile")
2467
+
2346
2468
  @property
2347
2469
  @pulumi.getter(name="proxyMode")
2348
2470
  def proxy_mode(self) -> pulumi.Output[Optional[builtins.str]]:
@@ -35,6 +35,7 @@ __all__ = [
35
35
  'KubernetesPermissionPermission',
36
36
  'KubernetesRuntime',
37
37
  'ManagedKubernetesAddon',
38
+ 'ManagedKubernetesAuditLogConfig',
38
39
  'ManagedKubernetesCertificateAuthority',
39
40
  'ManagedKubernetesConnections',
40
41
  'ManagedKubernetesDeleteOption',
@@ -1362,6 +1363,54 @@ class ManagedKubernetesAddon(dict):
1362
1363
  return pulumi.get(self, "version")
1363
1364
 
1364
1365
 
1366
+ @pulumi.output_type
1367
+ class ManagedKubernetesAuditLogConfig(dict):
1368
+ @staticmethod
1369
+ def __key_warning(key: str):
1370
+ suggest = None
1371
+ if key == "slsProjectName":
1372
+ suggest = "sls_project_name"
1373
+
1374
+ if suggest:
1375
+ pulumi.log.warn(f"Key '{key}' not found in ManagedKubernetesAuditLogConfig. Access the value via the '{suggest}' property getter instead.")
1376
+
1377
+ def __getitem__(self, key: str) -> Any:
1378
+ ManagedKubernetesAuditLogConfig.__key_warning(key)
1379
+ return super().__getitem__(key)
1380
+
1381
+ def get(self, key: str, default = None) -> Any:
1382
+ ManagedKubernetesAuditLogConfig.__key_warning(key)
1383
+ return super().get(key, default)
1384
+
1385
+ def __init__(__self__, *,
1386
+ enabled: Optional[builtins.bool] = None,
1387
+ sls_project_name: Optional[builtins.str] = None):
1388
+ """
1389
+ :param builtins.bool enabled: Whether to enable audit logging. Valid values: `true`, `false`.
1390
+ :param builtins.str sls_project_name: The SLS project to which the Logstore storing the cluster audit logs belongs.
1391
+ """
1392
+ if enabled is not None:
1393
+ pulumi.set(__self__, "enabled", enabled)
1394
+ if sls_project_name is not None:
1395
+ pulumi.set(__self__, "sls_project_name", sls_project_name)
1396
+
1397
+ @property
1398
+ @pulumi.getter
1399
+ def enabled(self) -> Optional[builtins.bool]:
1400
+ """
1401
+ Whether to enable audit logging. Valid values: `true`, `false`.
1402
+ """
1403
+ return pulumi.get(self, "enabled")
1404
+
1405
+ @property
1406
+ @pulumi.getter(name="slsProjectName")
1407
+ def sls_project_name(self) -> Optional[builtins.str]:
1408
+ """
1409
+ The SLS project to which the Logstore storing the cluster audit logs belongs.
1410
+ """
1411
+ return pulumi.get(self, "sls_project_name")
1412
+
1413
+
1365
1414
  @pulumi.output_type
1366
1415
  class ManagedKubernetesCertificateAuthority(dict):
1367
1416
  @staticmethod
@@ -84,6 +84,7 @@ from .instance import *
84
84
  from .key_pair import *
85
85
  from .key_pair_attachment import *
86
86
  from .launch_template import *
87
+ from .ram_role_attachment import *
87
88
  from .reserved_instance import *
88
89
  from .security_group import *
89
90
  from .security_group_rule import *
@@ -1594,6 +1594,10 @@ if not MYPY:
1594
1594
  """
1595
1595
  The ID of the automatic snapshot policy applied to the system disk.
1596
1596
  """
1597
+ bursting_enabled: NotRequired[pulumi.Input[builtins.bool]]
1598
+ """
1599
+ Specifies whether to enable the performance burst feature for the system disk. Valid values:
1600
+ """
1597
1601
  category: NotRequired[pulumi.Input[builtins.str]]
1598
1602
  """
1599
1603
  The category of the disk:
@@ -1631,6 +1635,10 @@ if not MYPY:
1631
1635
  - `PL3`: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
1632
1636
  Default to `PL1`.
1633
1637
  """
1638
+ provisioned_iops: NotRequired[pulumi.Input[builtins.int]]
1639
+ """
1640
+ The provisioned read/write IOPS of the ESSD AutoPL disk to use as the data disk.
1641
+ """
1634
1642
  snapshot_id: NotRequired[pulumi.Input[builtins.str]]
1635
1643
  """
1636
1644
  The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
@@ -1643,6 +1651,7 @@ class InstanceDataDiskArgs:
1643
1651
  def __init__(__self__, *,
1644
1652
  size: pulumi.Input[builtins.int],
1645
1653
  auto_snapshot_policy_id: Optional[pulumi.Input[builtins.str]] = None,
1654
+ bursting_enabled: Optional[pulumi.Input[builtins.bool]] = None,
1646
1655
  category: Optional[pulumi.Input[builtins.str]] = None,
1647
1656
  delete_with_instance: Optional[pulumi.Input[builtins.bool]] = None,
1648
1657
  description: Optional[pulumi.Input[builtins.str]] = None,
@@ -1651,6 +1660,7 @@ class InstanceDataDiskArgs:
1651
1660
  kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
1652
1661
  name: Optional[pulumi.Input[builtins.str]] = None,
1653
1662
  performance_level: Optional[pulumi.Input[builtins.str]] = None,
1663
+ provisioned_iops: Optional[pulumi.Input[builtins.int]] = None,
1654
1664
  snapshot_id: Optional[pulumi.Input[builtins.str]] = None):
1655
1665
  """
1656
1666
  :param pulumi.Input[builtins.int] size: The size of the data disk.
@@ -1660,6 +1670,7 @@ class InstanceDataDiskArgs:
1660
1670
  - cloud_essd:[20, 32768]
1661
1671
  - ephemeral_ssd: [5, 800]
1662
1672
  :param pulumi.Input[builtins.str] auto_snapshot_policy_id: The ID of the automatic snapshot policy applied to the system disk.
1673
+ :param pulumi.Input[builtins.bool] bursting_enabled: Specifies whether to enable the performance burst feature for the system disk. Valid values:
1663
1674
  :param pulumi.Input[builtins.str] category: The category of the disk:
1664
1675
  :param pulumi.Input[builtins.bool] delete_with_instance: Delete this data disk when the instance is destroyed. It only works on cloud, cloud_efficiency, cloud_essd, cloud_ssd disk. If the category of this data disk was ephemeral_ssd, please don't set this param. Default value: `true`.
1665
1676
  :param pulumi.Input[builtins.str] description: The description of the data disk.
@@ -1673,11 +1684,14 @@ class InstanceDataDiskArgs:
1673
1684
  - `PL2`: A single ESSD can deliver up to 100,000 random read/write IOPS.
1674
1685
  - `PL3`: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
1675
1686
  Default to `PL1`.
1687
+ :param pulumi.Input[builtins.int] provisioned_iops: The provisioned read/write IOPS of the ESSD AutoPL disk to use as the data disk.
1676
1688
  :param pulumi.Input[builtins.str] snapshot_id: The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
1677
1689
  """
1678
1690
  pulumi.set(__self__, "size", size)
1679
1691
  if auto_snapshot_policy_id is not None:
1680
1692
  pulumi.set(__self__, "auto_snapshot_policy_id", auto_snapshot_policy_id)
1693
+ if bursting_enabled is not None:
1694
+ pulumi.set(__self__, "bursting_enabled", bursting_enabled)
1681
1695
  if category is not None:
1682
1696
  pulumi.set(__self__, "category", category)
1683
1697
  if delete_with_instance is not None:
@@ -1694,6 +1708,8 @@ class InstanceDataDiskArgs:
1694
1708
  pulumi.set(__self__, "name", name)
1695
1709
  if performance_level is not None:
1696
1710
  pulumi.set(__self__, "performance_level", performance_level)
1711
+ if provisioned_iops is not None:
1712
+ pulumi.set(__self__, "provisioned_iops", provisioned_iops)
1697
1713
  if snapshot_id is not None:
1698
1714
  pulumi.set(__self__, "snapshot_id", snapshot_id)
1699
1715
 
@@ -1726,6 +1742,18 @@ class InstanceDataDiskArgs:
1726
1742
  def auto_snapshot_policy_id(self, value: Optional[pulumi.Input[builtins.str]]):
1727
1743
  pulumi.set(self, "auto_snapshot_policy_id", value)
1728
1744
 
1745
+ @property
1746
+ @pulumi.getter(name="burstingEnabled")
1747
+ def bursting_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
1748
+ """
1749
+ Specifies whether to enable the performance burst feature for the system disk. Valid values:
1750
+ """
1751
+ return pulumi.get(self, "bursting_enabled")
1752
+
1753
+ @bursting_enabled.setter
1754
+ def bursting_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
1755
+ pulumi.set(self, "bursting_enabled", value)
1756
+
1729
1757
  @property
1730
1758
  @pulumi.getter
1731
1759
  def category(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -1827,6 +1855,18 @@ class InstanceDataDiskArgs:
1827
1855
  def performance_level(self, value: Optional[pulumi.Input[builtins.str]]):
1828
1856
  pulumi.set(self, "performance_level", value)
1829
1857
 
1858
+ @property
1859
+ @pulumi.getter(name="provisionedIops")
1860
+ def provisioned_iops(self) -> Optional[pulumi.Input[builtins.int]]:
1861
+ """
1862
+ The provisioned read/write IOPS of the ESSD AutoPL disk to use as the data disk.
1863
+ """
1864
+ return pulumi.get(self, "provisioned_iops")
1865
+
1866
+ @provisioned_iops.setter
1867
+ def provisioned_iops(self, value: Optional[pulumi.Input[builtins.int]]):
1868
+ pulumi.set(self, "provisioned_iops", value)
1869
+
1830
1870
  @property
1831
1871
  @pulumi.getter(name="snapshotId")
1832
1872
  def snapshot_id(self) -> Optional[pulumi.Input[builtins.str]]: