pulumi-alicloud 3.56.0a1715923185__py3-none-any.whl → 3.56.0a1716440817__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.
- pulumi_alicloud/cs/_inputs.py +128 -16
- pulumi_alicloud/cs/edge_kubernetes.py +29 -15
- pulumi_alicloud/cs/kubernetes.py +54 -7
- pulumi_alicloud/cs/managed_kubernetes.py +34 -0
- pulumi_alicloud/cs/outputs.py +150 -16
- pulumi_alicloud/ecs/_inputs.py +49 -1
- pulumi_alicloud/ecs/ecs_deployment_set.py +9 -9
- pulumi_alicloud/ecs/eip.py +68 -0
- pulumi_alicloud/ecs/eip_address.py +115 -0
- pulumi_alicloud/ecs/instance.py +166 -126
- pulumi_alicloud/ecs/outputs.py +43 -1
- pulumi_alicloud/ess/_inputs.py +2 -2
- pulumi_alicloud/ess/outputs.py +2 -2
- pulumi_alicloud/ess/scaling_group.py +7 -7
- pulumi_alicloud/kms/instance.py +218 -128
- pulumi_alicloud/message/service_queue.py +100 -82
- pulumi_alicloud/nas/access_rule.py +38 -18
- pulumi_alicloud/nas/auto_snapshot_policy.py +111 -26
- pulumi_alicloud/privatelink/vpc_endpoint.py +124 -41
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/simpleapplicationserver/snapshot.py +4 -4
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/RECORD +25 -25
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/top_level.txt +0 -0
pulumi_alicloud/cs/kubernetes.py
CHANGED
|
@@ -25,6 +25,7 @@ class KubernetesArgs:
|
|
|
25
25
|
cluster_ca_cert: Optional[pulumi.Input[str]] = None,
|
|
26
26
|
cluster_domain: Optional[pulumi.Input[str]] = None,
|
|
27
27
|
custom_san: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesDeleteOptionArgs']]]] = None,
|
|
28
29
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
29
30
|
enable_ssh: Optional[pulumi.Input[bool]] = None,
|
|
30
31
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -81,6 +82,7 @@ class KubernetesArgs:
|
|
|
81
82
|
*Removed params*
|
|
82
83
|
:param pulumi.Input[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.
|
|
83
84
|
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
85
|
+
:param pulumi.Input[Sequence[pulumi.Input['KubernetesDeleteOptionArgs']]] 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.
|
|
84
86
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
85
87
|
:param pulumi.Input[bool] enable_ssh: Enable login to the node through SSH. Default to `false`.
|
|
86
88
|
:param pulumi.Input[str] image_id: Custom Image support. Must based on CentOS7 or AliyunLinux2.
|
|
@@ -113,7 +115,7 @@ class KubernetesArgs:
|
|
|
113
115
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.
|
|
114
116
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: RDS instance list, You can choose which RDS instances whitelist to add instances to.
|
|
115
117
|
: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.
|
|
116
|
-
:param pulumi.Input['KubernetesRuntimeArgs'] runtime: The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI).
|
|
118
|
+
:param pulumi.Input['KubernetesRuntimeArgs'] runtime: The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI). See `runtime` below.
|
|
117
119
|
: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.
|
|
118
120
|
:param pulumi.Input[str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
|
|
119
121
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
@@ -144,6 +146,8 @@ class KubernetesArgs:
|
|
|
144
146
|
pulumi.set(__self__, "cluster_domain", cluster_domain)
|
|
145
147
|
if custom_san is not None:
|
|
146
148
|
pulumi.set(__self__, "custom_san", custom_san)
|
|
149
|
+
if delete_options is not None:
|
|
150
|
+
pulumi.set(__self__, "delete_options", delete_options)
|
|
147
151
|
if deletion_protection is not None:
|
|
148
152
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
|
149
153
|
if enable_ssh is not None:
|
|
@@ -342,6 +346,18 @@ class KubernetesArgs:
|
|
|
342
346
|
def custom_san(self, value: Optional[pulumi.Input[str]]):
|
|
343
347
|
pulumi.set(self, "custom_san", value)
|
|
344
348
|
|
|
349
|
+
@property
|
|
350
|
+
@pulumi.getter(name="deleteOptions")
|
|
351
|
+
def delete_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesDeleteOptionArgs']]]]:
|
|
352
|
+
"""
|
|
353
|
+
Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
354
|
+
"""
|
|
355
|
+
return pulumi.get(self, "delete_options")
|
|
356
|
+
|
|
357
|
+
@delete_options.setter
|
|
358
|
+
def delete_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesDeleteOptionArgs']]]]):
|
|
359
|
+
pulumi.set(self, "delete_options", value)
|
|
360
|
+
|
|
345
361
|
@property
|
|
346
362
|
@pulumi.getter(name="deletionProtection")
|
|
347
363
|
def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -729,7 +745,7 @@ class KubernetesArgs:
|
|
|
729
745
|
@pulumi.getter
|
|
730
746
|
def runtime(self) -> Optional[pulumi.Input['KubernetesRuntimeArgs']]:
|
|
731
747
|
"""
|
|
732
|
-
The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI).
|
|
748
|
+
The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI). See `runtime` below.
|
|
733
749
|
"""
|
|
734
750
|
return pulumi.get(self, "runtime")
|
|
735
751
|
|
|
@@ -851,6 +867,7 @@ class _KubernetesState:
|
|
|
851
867
|
cluster_domain: Optional[pulumi.Input[str]] = None,
|
|
852
868
|
connections: Optional[pulumi.Input['KubernetesConnectionsArgs']] = None,
|
|
853
869
|
custom_san: Optional[pulumi.Input[str]] = None,
|
|
870
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesDeleteOptionArgs']]]] = None,
|
|
854
871
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
855
872
|
enable_ssh: Optional[pulumi.Input[bool]] = None,
|
|
856
873
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -916,6 +933,7 @@ class _KubernetesState:
|
|
|
916
933
|
:param pulumi.Input[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.
|
|
917
934
|
:param pulumi.Input['KubernetesConnectionsArgs'] connections: (Map) Map of kubernetes cluster connection information.
|
|
918
935
|
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
936
|
+
:param pulumi.Input[Sequence[pulumi.Input['KubernetesDeleteOptionArgs']]] 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.
|
|
919
937
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
920
938
|
:param pulumi.Input[bool] enable_ssh: Enable login to the node through SSH. Default to `false`.
|
|
921
939
|
:param pulumi.Input[str] image_id: Custom Image support. Must based on CentOS7 or AliyunLinux2.
|
|
@@ -952,7 +970,7 @@ class _KubernetesState:
|
|
|
952
970
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.
|
|
953
971
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: RDS instance list, You can choose which RDS instances whitelist to add instances to.
|
|
954
972
|
: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.
|
|
955
|
-
:param pulumi.Input['KubernetesRuntimeArgs'] runtime: The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI).
|
|
973
|
+
:param pulumi.Input['KubernetesRuntimeArgs'] runtime: The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI). See `runtime` below.
|
|
956
974
|
: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.
|
|
957
975
|
:param pulumi.Input[str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
|
|
958
976
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
@@ -990,6 +1008,8 @@ class _KubernetesState:
|
|
|
990
1008
|
pulumi.set(__self__, "connections", connections)
|
|
991
1009
|
if custom_san is not None:
|
|
992
1010
|
pulumi.set(__self__, "custom_san", custom_san)
|
|
1011
|
+
if delete_options is not None:
|
|
1012
|
+
pulumi.set(__self__, "delete_options", delete_options)
|
|
993
1013
|
if deletion_protection is not None:
|
|
994
1014
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
|
995
1015
|
if enable_ssh is not None:
|
|
@@ -1206,6 +1226,18 @@ class _KubernetesState:
|
|
|
1206
1226
|
def custom_san(self, value: Optional[pulumi.Input[str]]):
|
|
1207
1227
|
pulumi.set(self, "custom_san", value)
|
|
1208
1228
|
|
|
1229
|
+
@property
|
|
1230
|
+
@pulumi.getter(name="deleteOptions")
|
|
1231
|
+
def delete_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesDeleteOptionArgs']]]]:
|
|
1232
|
+
"""
|
|
1233
|
+
Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
1234
|
+
"""
|
|
1235
|
+
return pulumi.get(self, "delete_options")
|
|
1236
|
+
|
|
1237
|
+
@delete_options.setter
|
|
1238
|
+
def delete_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesDeleteOptionArgs']]]]):
|
|
1239
|
+
pulumi.set(self, "delete_options", value)
|
|
1240
|
+
|
|
1209
1241
|
@property
|
|
1210
1242
|
@pulumi.getter(name="deletionProtection")
|
|
1211
1243
|
def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -1641,7 +1673,7 @@ class _KubernetesState:
|
|
|
1641
1673
|
@pulumi.getter
|
|
1642
1674
|
def runtime(self) -> Optional[pulumi.Input['KubernetesRuntimeArgs']]:
|
|
1643
1675
|
"""
|
|
1644
|
-
The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI).
|
|
1676
|
+
The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI). See `runtime` below.
|
|
1645
1677
|
"""
|
|
1646
1678
|
return pulumi.get(self, "runtime")
|
|
1647
1679
|
|
|
@@ -1823,6 +1855,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
1823
1855
|
cluster_ca_cert: Optional[pulumi.Input[str]] = None,
|
|
1824
1856
|
cluster_domain: Optional[pulumi.Input[str]] = None,
|
|
1825
1857
|
custom_san: Optional[pulumi.Input[str]] = None,
|
|
1858
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KubernetesDeleteOptionArgs']]]]] = None,
|
|
1826
1859
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1827
1860
|
enable_ssh: Optional[pulumi.Input[bool]] = None,
|
|
1828
1861
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1923,6 +1956,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
1923
1956
|
*Removed params*
|
|
1924
1957
|
:param pulumi.Input[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.
|
|
1925
1958
|
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
1959
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KubernetesDeleteOptionArgs']]]] 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.
|
|
1926
1960
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
1927
1961
|
:param pulumi.Input[bool] enable_ssh: Enable login to the node through SSH. Default to `false`.
|
|
1928
1962
|
:param pulumi.Input[str] image_id: Custom Image support. Must based on CentOS7 or AliyunLinux2.
|
|
@@ -1957,7 +1991,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
1957
1991
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.
|
|
1958
1992
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: RDS instance list, You can choose which RDS instances whitelist to add instances to.
|
|
1959
1993
|
: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.
|
|
1960
|
-
:param pulumi.Input[pulumi.InputType['KubernetesRuntimeArgs']] runtime: The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI).
|
|
1994
|
+
:param pulumi.Input[pulumi.InputType['KubernetesRuntimeArgs']] runtime: The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI). See `runtime` below.
|
|
1961
1995
|
: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.
|
|
1962
1996
|
:param pulumi.Input[str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
|
|
1963
1997
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
@@ -2043,6 +2077,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2043
2077
|
cluster_ca_cert: Optional[pulumi.Input[str]] = None,
|
|
2044
2078
|
cluster_domain: Optional[pulumi.Input[str]] = None,
|
|
2045
2079
|
custom_san: Optional[pulumi.Input[str]] = None,
|
|
2080
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KubernetesDeleteOptionArgs']]]]] = None,
|
|
2046
2081
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
2047
2082
|
enable_ssh: Optional[pulumi.Input[bool]] = None,
|
|
2048
2083
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -2102,6 +2137,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2102
2137
|
__props__.__dict__["cluster_ca_cert"] = cluster_ca_cert
|
|
2103
2138
|
__props__.__dict__["cluster_domain"] = cluster_domain
|
|
2104
2139
|
__props__.__dict__["custom_san"] = custom_san
|
|
2140
|
+
__props__.__dict__["delete_options"] = delete_options
|
|
2105
2141
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
2106
2142
|
__props__.__dict__["enable_ssh"] = enable_ssh
|
|
2107
2143
|
__props__.__dict__["image_id"] = image_id
|
|
@@ -2179,6 +2215,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2179
2215
|
cluster_domain: Optional[pulumi.Input[str]] = None,
|
|
2180
2216
|
connections: Optional[pulumi.Input[pulumi.InputType['KubernetesConnectionsArgs']]] = None,
|
|
2181
2217
|
custom_san: Optional[pulumi.Input[str]] = None,
|
|
2218
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KubernetesDeleteOptionArgs']]]]] = None,
|
|
2182
2219
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
2183
2220
|
enable_ssh: Optional[pulumi.Input[bool]] = None,
|
|
2184
2221
|
image_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -2249,6 +2286,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2249
2286
|
:param pulumi.Input[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.
|
|
2250
2287
|
:param pulumi.Input[pulumi.InputType['KubernetesConnectionsArgs']] connections: (Map) Map of kubernetes cluster connection information.
|
|
2251
2288
|
:param pulumi.Input[str] custom_san: Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
2289
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KubernetesDeleteOptionArgs']]]] 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.
|
|
2252
2290
|
:param pulumi.Input[bool] deletion_protection: Whether to enable cluster deletion protection.
|
|
2253
2291
|
:param pulumi.Input[bool] enable_ssh: Enable login to the node through SSH. Default to `false`.
|
|
2254
2292
|
:param pulumi.Input[str] image_id: Custom Image support. Must based on CentOS7 or AliyunLinux2.
|
|
@@ -2285,7 +2323,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2285
2323
|
:param pulumi.Input[str] proxy_mode: Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.
|
|
2286
2324
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] rds_instances: RDS instance list, You can choose which RDS instances whitelist to add instances to.
|
|
2287
2325
|
: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.
|
|
2288
|
-
:param pulumi.Input[pulumi.InputType['KubernetesRuntimeArgs']] runtime: The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI).
|
|
2326
|
+
:param pulumi.Input[pulumi.InputType['KubernetesRuntimeArgs']] runtime: The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI). See `runtime` below.
|
|
2289
2327
|
: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.
|
|
2290
2328
|
:param pulumi.Input[str] service_account_issuer: The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `api_audiences` as well). From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
|
|
2291
2329
|
:param pulumi.Input[str] service_cidr: The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
|
|
@@ -2318,6 +2356,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2318
2356
|
__props__.__dict__["cluster_domain"] = cluster_domain
|
|
2319
2357
|
__props__.__dict__["connections"] = connections
|
|
2320
2358
|
__props__.__dict__["custom_san"] = custom_san
|
|
2359
|
+
__props__.__dict__["delete_options"] = delete_options
|
|
2321
2360
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
2322
2361
|
__props__.__dict__["enable_ssh"] = enable_ssh
|
|
2323
2362
|
__props__.__dict__["image_id"] = image_id
|
|
@@ -2446,6 +2485,14 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2446
2485
|
"""
|
|
2447
2486
|
return pulumi.get(self, "custom_san")
|
|
2448
2487
|
|
|
2488
|
+
@property
|
|
2489
|
+
@pulumi.getter(name="deleteOptions")
|
|
2490
|
+
def delete_options(self) -> pulumi.Output[Optional[Sequence['outputs.KubernetesDeleteOption']]]:
|
|
2491
|
+
"""
|
|
2492
|
+
Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `delete_options` below.
|
|
2493
|
+
"""
|
|
2494
|
+
return pulumi.get(self, "delete_options")
|
|
2495
|
+
|
|
2449
2496
|
@property
|
|
2450
2497
|
@pulumi.getter(name="deletionProtection")
|
|
2451
2498
|
def deletion_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -2737,7 +2784,7 @@ class Kubernetes(pulumi.CustomResource):
|
|
|
2737
2784
|
@pulumi.getter
|
|
2738
2785
|
def runtime(self) -> pulumi.Output[Optional['outputs.KubernetesRuntime']]:
|
|
2739
2786
|
"""
|
|
2740
|
-
The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI).
|
|
2787
|
+
The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI). See `runtime` below.
|
|
2741
2788
|
"""
|
|
2742
2789
|
return pulumi.get(self, "runtime")
|
|
2743
2790
|
|
|
@@ -28,6 +28,7 @@ class ManagedKubernetesArgs:
|
|
|
28
28
|
control_plane_log_project: Optional[pulumi.Input[str]] = None,
|
|
29
29
|
control_plane_log_ttl: Optional[pulumi.Input[str]] = None,
|
|
30
30
|
custom_san: Optional[pulumi.Input[str]] = None,
|
|
31
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]]] = None,
|
|
31
32
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
32
33
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
33
34
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
@@ -82,6 +83,8 @@ class ManagedKubernetesArgs:
|
|
|
82
83
|
pulumi.set(__self__, "control_plane_log_ttl", control_plane_log_ttl)
|
|
83
84
|
if custom_san is not None:
|
|
84
85
|
pulumi.set(__self__, "custom_san", custom_san)
|
|
86
|
+
if delete_options is not None:
|
|
87
|
+
pulumi.set(__self__, "delete_options", delete_options)
|
|
85
88
|
if deletion_protection is not None:
|
|
86
89
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
|
87
90
|
if enable_rrsa is not None:
|
|
@@ -246,6 +249,15 @@ class ManagedKubernetesArgs:
|
|
|
246
249
|
def custom_san(self, value: Optional[pulumi.Input[str]]):
|
|
247
250
|
pulumi.set(self, "custom_san", value)
|
|
248
251
|
|
|
252
|
+
@property
|
|
253
|
+
@pulumi.getter(name="deleteOptions")
|
|
254
|
+
def delete_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]]]:
|
|
255
|
+
return pulumi.get(self, "delete_options")
|
|
256
|
+
|
|
257
|
+
@delete_options.setter
|
|
258
|
+
def delete_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]]]):
|
|
259
|
+
pulumi.set(self, "delete_options", value)
|
|
260
|
+
|
|
249
261
|
@property
|
|
250
262
|
@pulumi.getter(name="deletionProtection")
|
|
251
263
|
def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -476,6 +488,7 @@ class _ManagedKubernetesState:
|
|
|
476
488
|
control_plane_log_project: Optional[pulumi.Input[str]] = None,
|
|
477
489
|
control_plane_log_ttl: Optional[pulumi.Input[str]] = None,
|
|
478
490
|
custom_san: Optional[pulumi.Input[str]] = None,
|
|
491
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]]] = None,
|
|
479
492
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
480
493
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
481
494
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
@@ -550,6 +563,8 @@ class _ManagedKubernetesState:
|
|
|
550
563
|
pulumi.set(__self__, "control_plane_log_ttl", control_plane_log_ttl)
|
|
551
564
|
if custom_san is not None:
|
|
552
565
|
pulumi.set(__self__, "custom_san", custom_san)
|
|
566
|
+
if delete_options is not None:
|
|
567
|
+
pulumi.set(__self__, "delete_options", delete_options)
|
|
553
568
|
if deletion_protection is not None:
|
|
554
569
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
|
555
570
|
if enable_rrsa is not None:
|
|
@@ -745,6 +760,15 @@ class _ManagedKubernetesState:
|
|
|
745
760
|
def custom_san(self, value: Optional[pulumi.Input[str]]):
|
|
746
761
|
pulumi.set(self, "custom_san", value)
|
|
747
762
|
|
|
763
|
+
@property
|
|
764
|
+
@pulumi.getter(name="deleteOptions")
|
|
765
|
+
def delete_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]]]:
|
|
766
|
+
return pulumi.get(self, "delete_options")
|
|
767
|
+
|
|
768
|
+
@delete_options.setter
|
|
769
|
+
def delete_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedKubernetesDeleteOptionArgs']]]]):
|
|
770
|
+
pulumi.set(self, "delete_options", value)
|
|
771
|
+
|
|
748
772
|
@property
|
|
749
773
|
@pulumi.getter(name="deletionProtection")
|
|
750
774
|
def deletion_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -1068,6 +1092,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1068
1092
|
control_plane_log_project: Optional[pulumi.Input[str]] = None,
|
|
1069
1093
|
control_plane_log_ttl: Optional[pulumi.Input[str]] = None,
|
|
1070
1094
|
custom_san: Optional[pulumi.Input[str]] = None,
|
|
1095
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ManagedKubernetesDeleteOptionArgs']]]]] = None,
|
|
1071
1096
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1072
1097
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1073
1098
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
@@ -1215,6 +1240,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1215
1240
|
control_plane_log_project: Optional[pulumi.Input[str]] = None,
|
|
1216
1241
|
control_plane_log_ttl: Optional[pulumi.Input[str]] = None,
|
|
1217
1242
|
custom_san: Optional[pulumi.Input[str]] = None,
|
|
1243
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ManagedKubernetesDeleteOptionArgs']]]]] = None,
|
|
1218
1244
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1219
1245
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1220
1246
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
@@ -1259,6 +1285,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1259
1285
|
__props__.__dict__["control_plane_log_project"] = control_plane_log_project
|
|
1260
1286
|
__props__.__dict__["control_plane_log_ttl"] = control_plane_log_ttl
|
|
1261
1287
|
__props__.__dict__["custom_san"] = custom_san
|
|
1288
|
+
__props__.__dict__["delete_options"] = delete_options
|
|
1262
1289
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
1263
1290
|
__props__.__dict__["enable_rrsa"] = enable_rrsa
|
|
1264
1291
|
__props__.__dict__["encryption_provider_key"] = encryption_provider_key
|
|
@@ -1317,6 +1344,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1317
1344
|
control_plane_log_project: Optional[pulumi.Input[str]] = None,
|
|
1318
1345
|
control_plane_log_ttl: Optional[pulumi.Input[str]] = None,
|
|
1319
1346
|
custom_san: Optional[pulumi.Input[str]] = None,
|
|
1347
|
+
delete_options: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ManagedKubernetesDeleteOptionArgs']]]]] = None,
|
|
1320
1348
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
|
1321
1349
|
enable_rrsa: Optional[pulumi.Input[bool]] = None,
|
|
1322
1350
|
encryption_provider_key: Optional[pulumi.Input[str]] = None,
|
|
@@ -1387,6 +1415,7 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1387
1415
|
__props__.__dict__["control_plane_log_project"] = control_plane_log_project
|
|
1388
1416
|
__props__.__dict__["control_plane_log_ttl"] = control_plane_log_ttl
|
|
1389
1417
|
__props__.__dict__["custom_san"] = custom_san
|
|
1418
|
+
__props__.__dict__["delete_options"] = delete_options
|
|
1390
1419
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
|
1391
1420
|
__props__.__dict__["enable_rrsa"] = enable_rrsa
|
|
1392
1421
|
__props__.__dict__["encryption_provider_key"] = encryption_provider_key
|
|
@@ -1500,6 +1529,11 @@ class ManagedKubernetes(pulumi.CustomResource):
|
|
|
1500
1529
|
def custom_san(self) -> pulumi.Output[Optional[str]]:
|
|
1501
1530
|
return pulumi.get(self, "custom_san")
|
|
1502
1531
|
|
|
1532
|
+
@property
|
|
1533
|
+
@pulumi.getter(name="deleteOptions")
|
|
1534
|
+
def delete_options(self) -> pulumi.Output[Optional[Sequence['outputs.ManagedKubernetesDeleteOption']]]:
|
|
1535
|
+
return pulumi.get(self, "delete_options")
|
|
1536
|
+
|
|
1503
1537
|
@property
|
|
1504
1538
|
@pulumi.getter(name="deletionProtection")
|
|
1505
1539
|
def deletion_protection(self) -> pulumi.Output[Optional[bool]]:
|
pulumi_alicloud/cs/outputs.py
CHANGED
|
@@ -24,12 +24,14 @@ __all__ = [
|
|
|
24
24
|
'KubernetesAutoscalerNodepool',
|
|
25
25
|
'KubernetesCertificateAuthority',
|
|
26
26
|
'KubernetesConnections',
|
|
27
|
+
'KubernetesDeleteOption',
|
|
27
28
|
'KubernetesMasterNode',
|
|
28
29
|
'KubernetesPermissionPermission',
|
|
29
30
|
'KubernetesRuntime',
|
|
30
31
|
'ManagedKubernetesAddon',
|
|
31
32
|
'ManagedKubernetesCertificateAuthority',
|
|
32
33
|
'ManagedKubernetesConnections',
|
|
34
|
+
'ManagedKubernetesDeleteOption',
|
|
33
35
|
'ManagedKubernetesMaintenanceWindow',
|
|
34
36
|
'ManagedKubernetesRrsaMetadata',
|
|
35
37
|
'NodePoolDataDisk',
|
|
@@ -282,10 +284,8 @@ class EdgeKubernetesCertificateAuthority(dict):
|
|
|
282
284
|
client_key: Optional[str] = None,
|
|
283
285
|
cluster_cert: Optional[str] = None):
|
|
284
286
|
"""
|
|
285
|
-
:param str client_cert: The
|
|
286
|
-
:param str client_key: The
|
|
287
|
-
|
|
288
|
-
*Network params*
|
|
287
|
+
:param str client_cert: The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
288
|
+
:param str client_key: The path of client key, like `~/.kube/client-key.pem`.
|
|
289
289
|
:param str cluster_cert: The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
|
|
290
290
|
"""
|
|
291
291
|
if client_cert is not None:
|
|
@@ -299,7 +299,7 @@ class EdgeKubernetesCertificateAuthority(dict):
|
|
|
299
299
|
@pulumi.getter(name="clientCert")
|
|
300
300
|
def client_cert(self) -> Optional[str]:
|
|
301
301
|
"""
|
|
302
|
-
The
|
|
302
|
+
The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
303
303
|
"""
|
|
304
304
|
return pulumi.get(self, "client_cert")
|
|
305
305
|
|
|
@@ -307,9 +307,7 @@ class EdgeKubernetesCertificateAuthority(dict):
|
|
|
307
307
|
@pulumi.getter(name="clientKey")
|
|
308
308
|
def client_key(self) -> Optional[str]:
|
|
309
309
|
"""
|
|
310
|
-
The
|
|
311
|
-
|
|
312
|
-
*Network params*
|
|
310
|
+
The path of client key, like `~/.kube/client-key.pem`.
|
|
313
311
|
"""
|
|
314
312
|
return pulumi.get(self, "client_key")
|
|
315
313
|
|
|
@@ -436,8 +434,17 @@ class EdgeKubernetesRuntime(dict):
|
|
|
436
434
|
name: Optional[str] = None,
|
|
437
435
|
version: Optional[str] = None):
|
|
438
436
|
"""
|
|
439
|
-
:param str name: The
|
|
440
|
-
:param str version:
|
|
437
|
+
:param str name: The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.
|
|
438
|
+
:param str version: The version of the runtime.
|
|
439
|
+
|
|
440
|
+
The following example is the definition of runtime block:
|
|
441
|
+
|
|
442
|
+
```
|
|
443
|
+
runtime = {
|
|
444
|
+
name = "containerd"
|
|
445
|
+
version = "1.6.28"
|
|
446
|
+
}
|
|
447
|
+
```
|
|
441
448
|
"""
|
|
442
449
|
if name is not None:
|
|
443
450
|
pulumi.set(__self__, "name", name)
|
|
@@ -448,7 +455,7 @@ class EdgeKubernetesRuntime(dict):
|
|
|
448
455
|
@pulumi.getter
|
|
449
456
|
def name(self) -> Optional[str]:
|
|
450
457
|
"""
|
|
451
|
-
The
|
|
458
|
+
The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.
|
|
452
459
|
"""
|
|
453
460
|
return pulumi.get(self, "name")
|
|
454
461
|
|
|
@@ -456,7 +463,16 @@ class EdgeKubernetesRuntime(dict):
|
|
|
456
463
|
@pulumi.getter
|
|
457
464
|
def version(self) -> Optional[str]:
|
|
458
465
|
"""
|
|
459
|
-
|
|
466
|
+
The version of the runtime.
|
|
467
|
+
|
|
468
|
+
The following example is the definition of runtime block:
|
|
469
|
+
|
|
470
|
+
```
|
|
471
|
+
runtime = {
|
|
472
|
+
name = "containerd"
|
|
473
|
+
version = "1.6.28"
|
|
474
|
+
}
|
|
475
|
+
```
|
|
460
476
|
"""
|
|
461
477
|
return pulumi.get(self, "version")
|
|
462
478
|
|
|
@@ -925,6 +941,56 @@ class KubernetesConnections(dict):
|
|
|
925
941
|
return pulumi.get(self, "service_domain")
|
|
926
942
|
|
|
927
943
|
|
|
944
|
+
@pulumi.output_type
|
|
945
|
+
class KubernetesDeleteOption(dict):
|
|
946
|
+
@staticmethod
|
|
947
|
+
def __key_warning(key: str):
|
|
948
|
+
suggest = None
|
|
949
|
+
if key == "deleteMode":
|
|
950
|
+
suggest = "delete_mode"
|
|
951
|
+
elif key == "resourceType":
|
|
952
|
+
suggest = "resource_type"
|
|
953
|
+
|
|
954
|
+
if suggest:
|
|
955
|
+
pulumi.log.warn(f"Key '{key}' not found in KubernetesDeleteOption. Access the value via the '{suggest}' property getter instead.")
|
|
956
|
+
|
|
957
|
+
def __getitem__(self, key: str) -> Any:
|
|
958
|
+
KubernetesDeleteOption.__key_warning(key)
|
|
959
|
+
return super().__getitem__(key)
|
|
960
|
+
|
|
961
|
+
def get(self, key: str, default = None) -> Any:
|
|
962
|
+
KubernetesDeleteOption.__key_warning(key)
|
|
963
|
+
return super().get(key, default)
|
|
964
|
+
|
|
965
|
+
def __init__(__self__, *,
|
|
966
|
+
delete_mode: Optional[str] = None,
|
|
967
|
+
resource_type: Optional[str] = None):
|
|
968
|
+
"""
|
|
969
|
+
:param str delete_mode: The deletion mode of the cluster. Different resources may have different default behavior, see `resource_type` for details. Valid values:
|
|
970
|
+
:param str resource_type: The type of resources that are created by cluster. Valid values:
|
|
971
|
+
"""
|
|
972
|
+
if delete_mode is not None:
|
|
973
|
+
pulumi.set(__self__, "delete_mode", delete_mode)
|
|
974
|
+
if resource_type is not None:
|
|
975
|
+
pulumi.set(__self__, "resource_type", resource_type)
|
|
976
|
+
|
|
977
|
+
@property
|
|
978
|
+
@pulumi.getter(name="deleteMode")
|
|
979
|
+
def delete_mode(self) -> Optional[str]:
|
|
980
|
+
"""
|
|
981
|
+
The deletion mode of the cluster. Different resources may have different default behavior, see `resource_type` for details. Valid values:
|
|
982
|
+
"""
|
|
983
|
+
return pulumi.get(self, "delete_mode")
|
|
984
|
+
|
|
985
|
+
@property
|
|
986
|
+
@pulumi.getter(name="resourceType")
|
|
987
|
+
def resource_type(self) -> Optional[str]:
|
|
988
|
+
"""
|
|
989
|
+
The type of resources that are created by cluster. Valid values:
|
|
990
|
+
"""
|
|
991
|
+
return pulumi.get(self, "resource_type")
|
|
992
|
+
|
|
993
|
+
|
|
928
994
|
@pulumi.output_type
|
|
929
995
|
class KubernetesMasterNode(dict):
|
|
930
996
|
@staticmethod
|
|
@@ -1090,8 +1156,17 @@ class KubernetesRuntime(dict):
|
|
|
1090
1156
|
name: Optional[str] = None,
|
|
1091
1157
|
version: Optional[str] = None):
|
|
1092
1158
|
"""
|
|
1093
|
-
:param str name: The
|
|
1094
|
-
:param str version:
|
|
1159
|
+
:param str name: The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.
|
|
1160
|
+
:param str version: The version of the runtime.
|
|
1161
|
+
|
|
1162
|
+
The following example is the definition of runtime block:
|
|
1163
|
+
|
|
1164
|
+
```
|
|
1165
|
+
runtime = {
|
|
1166
|
+
name = "containerd"
|
|
1167
|
+
version = "1.6.28"
|
|
1168
|
+
}
|
|
1169
|
+
```
|
|
1095
1170
|
"""
|
|
1096
1171
|
if name is not None:
|
|
1097
1172
|
pulumi.set(__self__, "name", name)
|
|
@@ -1102,7 +1177,7 @@ class KubernetesRuntime(dict):
|
|
|
1102
1177
|
@pulumi.getter
|
|
1103
1178
|
def name(self) -> Optional[str]:
|
|
1104
1179
|
"""
|
|
1105
|
-
The
|
|
1180
|
+
The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.
|
|
1106
1181
|
"""
|
|
1107
1182
|
return pulumi.get(self, "name")
|
|
1108
1183
|
|
|
@@ -1110,7 +1185,16 @@ class KubernetesRuntime(dict):
|
|
|
1110
1185
|
@pulumi.getter
|
|
1111
1186
|
def version(self) -> Optional[str]:
|
|
1112
1187
|
"""
|
|
1113
|
-
|
|
1188
|
+
The version of the runtime.
|
|
1189
|
+
|
|
1190
|
+
The following example is the definition of runtime block:
|
|
1191
|
+
|
|
1192
|
+
```
|
|
1193
|
+
runtime = {
|
|
1194
|
+
name = "containerd"
|
|
1195
|
+
version = "1.6.28"
|
|
1196
|
+
}
|
|
1197
|
+
```
|
|
1114
1198
|
"""
|
|
1115
1199
|
return pulumi.get(self, "version")
|
|
1116
1200
|
|
|
@@ -1332,6 +1416,56 @@ class ManagedKubernetesConnections(dict):
|
|
|
1332
1416
|
return pulumi.get(self, "service_domain")
|
|
1333
1417
|
|
|
1334
1418
|
|
|
1419
|
+
@pulumi.output_type
|
|
1420
|
+
class ManagedKubernetesDeleteOption(dict):
|
|
1421
|
+
@staticmethod
|
|
1422
|
+
def __key_warning(key: str):
|
|
1423
|
+
suggest = None
|
|
1424
|
+
if key == "deleteMode":
|
|
1425
|
+
suggest = "delete_mode"
|
|
1426
|
+
elif key == "resourceType":
|
|
1427
|
+
suggest = "resource_type"
|
|
1428
|
+
|
|
1429
|
+
if suggest:
|
|
1430
|
+
pulumi.log.warn(f"Key '{key}' not found in ManagedKubernetesDeleteOption. Access the value via the '{suggest}' property getter instead.")
|
|
1431
|
+
|
|
1432
|
+
def __getitem__(self, key: str) -> Any:
|
|
1433
|
+
ManagedKubernetesDeleteOption.__key_warning(key)
|
|
1434
|
+
return super().__getitem__(key)
|
|
1435
|
+
|
|
1436
|
+
def get(self, key: str, default = None) -> Any:
|
|
1437
|
+
ManagedKubernetesDeleteOption.__key_warning(key)
|
|
1438
|
+
return super().get(key, default)
|
|
1439
|
+
|
|
1440
|
+
def __init__(__self__, *,
|
|
1441
|
+
delete_mode: Optional[str] = None,
|
|
1442
|
+
resource_type: Optional[str] = None):
|
|
1443
|
+
"""
|
|
1444
|
+
:param str delete_mode: The deletion mode of the cluster. Different resources may have different default behavior, see `resource_type` for details. Valid values:
|
|
1445
|
+
:param str resource_type: The type of resources that are created by cluster. Valid values:
|
|
1446
|
+
"""
|
|
1447
|
+
if delete_mode is not None:
|
|
1448
|
+
pulumi.set(__self__, "delete_mode", delete_mode)
|
|
1449
|
+
if resource_type is not None:
|
|
1450
|
+
pulumi.set(__self__, "resource_type", resource_type)
|
|
1451
|
+
|
|
1452
|
+
@property
|
|
1453
|
+
@pulumi.getter(name="deleteMode")
|
|
1454
|
+
def delete_mode(self) -> Optional[str]:
|
|
1455
|
+
"""
|
|
1456
|
+
The deletion mode of the cluster. Different resources may have different default behavior, see `resource_type` for details. Valid values:
|
|
1457
|
+
"""
|
|
1458
|
+
return pulumi.get(self, "delete_mode")
|
|
1459
|
+
|
|
1460
|
+
@property
|
|
1461
|
+
@pulumi.getter(name="resourceType")
|
|
1462
|
+
def resource_type(self) -> Optional[str]:
|
|
1463
|
+
"""
|
|
1464
|
+
The type of resources that are created by cluster. Valid values:
|
|
1465
|
+
"""
|
|
1466
|
+
return pulumi.get(self, "resource_type")
|
|
1467
|
+
|
|
1468
|
+
|
|
1335
1469
|
@pulumi.output_type
|
|
1336
1470
|
class ManagedKubernetesMaintenanceWindow(dict):
|
|
1337
1471
|
@staticmethod
|