@pulumi/alicloud 3.61.1 → 3.61.2
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.
- package/brain/getIndustrialPidLoops.d.ts +18 -2
- package/brain/getIndustrialPidLoops.js +6 -2
- package/brain/getIndustrialPidLoops.js.map +1 -1
- package/brain/getIndustrialPidOrganizations.d.ts +12 -2
- package/brain/getIndustrialPidOrganizations.js +6 -2
- package/brain/getIndustrialPidOrganizations.js.map +1 -1
- package/brain/getIndustrialPidProjects.d.ts +18 -2
- package/brain/getIndustrialPidProjects.js +6 -2
- package/brain/getIndustrialPidProjects.js.map +1 -1
- package/brain/getIndustrialSerice.d.ts +6 -2
- package/brain/getIndustrialSerice.js +6 -2
- package/brain/getIndustrialSerice.js.map +1 -1
- package/brain/industrialPidLoop.d.ts +3 -1
- package/brain/industrialPidLoop.js +3 -1
- package/brain/industrialPidLoop.js.map +1 -1
- package/brain/industrialPidOrganization.d.ts +2 -2
- package/brain/industrialPidOrganization.js +2 -2
- package/brain/industrialPidProject.d.ts +2 -2
- package/brain/industrialPidProject.js +2 -2
- package/cas/certificate.d.ts +79 -6
- package/cas/certificate.js +76 -3
- package/cas/certificate.js.map +1 -1
- package/cas/serviceCertificate.d.ts +4 -13
- package/cas/serviceCertificate.js +1 -1
- package/cas/serviceCertificate.js.map +1 -1
- package/cdn/realTimeLogDelivery.d.ts +1 -1
- package/cdn/realTimeLogDelivery.js +1 -1
- package/cen/getTransitRouterRouteTables.d.ts +86 -11
- package/cen/getTransitRouterRouteTables.js +59 -4
- package/cen/getTransitRouterRouteTables.js.map +1 -1
- package/cfg/remediation.d.ts +4 -1
- package/cfg/remediation.js +4 -1
- package/cfg/remediation.js.map +1 -1
- package/clickhouse/account.d.ts +1 -1
- package/clickhouse/account.js +1 -1
- package/clickhouse/backupPolicy.d.ts +1 -1
- package/clickhouse/backupPolicy.js +1 -1
- package/cloudfirewall/instance.d.ts +1 -0
- package/cloudfirewall/instance.js +1 -0
- package/cloudfirewall/instance.js.map +1 -1
- package/cs/kubernetes.d.ts +3 -3
- package/cs/managedKubernetes.d.ts +317 -20
- package/cs/managedKubernetes.js +1 -1
- package/cs/managedKubernetes.js.map +1 -1
- package/cs/registryEnterpriseNamespace.d.ts +36 -25
- package/cs/registryEnterpriseNamespace.js +15 -16
- package/cs/registryEnterpriseNamespace.js.map +1 -1
- package/cs/registryEnterpriseRepo.d.ts +45 -34
- package/cs/registryEnterpriseRepo.js +19 -14
- package/cs/registryEnterpriseRepo.js.map +1 -1
- package/cs/registryEnterpriseSyncRule.d.ts +49 -46
- package/cs/registryEnterpriseSyncRule.js +16 -13
- package/cs/registryEnterpriseSyncRule.js.map +1 -1
- package/cs/serverlessKubernetes.d.ts +64 -60
- package/cs/serverlessKubernetes.js +13 -13
- package/cs/serverlessKubernetes.js.map +1 -1
- package/databasefilesystem/instance.d.ts +1 -1
- package/databasefilesystem/instance.js +1 -1
- package/dts/consumerChannel.d.ts +1 -1
- package/dts/consumerChannel.js +1 -1
- package/dts/subscriptionJob.d.ts +1 -1
- package/dts/subscriptionJob.js +1 -1
- package/ecs/autoProvisioningGroup.d.ts +1 -1
- package/ecs/autoProvisioningGroup.js +1 -1
- package/ehpc/getClusters.d.ts +11 -2
- package/ehpc/getClusters.js +2 -2
- package/ehpc/getClusters.js.map +1 -1
- package/ehpc/getJobTemplates.d.ts +5 -2
- package/ehpc/getJobTemplates.js +2 -2
- package/ehpc/getJobTemplates.js.map +1 -1
- package/ehpc/jobTemplate.d.ts +1 -1
- package/ehpc/jobTemplate.js +1 -1
- package/fc/function.d.ts +3 -3
- package/fc/function.js +3 -3
- package/fc/functionAsyncInvokeConfig.d.ts +1 -1
- package/fc/functionAsyncInvokeConfig.js +1 -1
- package/fc/trigger.d.ts +1 -1
- package/fc/trigger.js +1 -1
- package/gpdb/account.d.ts +0 -2
- package/gpdb/account.js +0 -2
- package/gpdb/account.js.map +1 -1
- package/gpdb/connection.d.ts +0 -2
- package/gpdb/connection.js +0 -2
- package/gpdb/connection.js.map +1 -1
- package/log/alert.d.ts +15 -14
- package/log/alert.js +15 -14
- package/log/alert.js.map +1 -1
- package/log/audit.d.ts +1 -0
- package/log/audit.js +1 -0
- package/log/audit.js.map +1 -1
- package/log/dashboard.d.ts +4 -4
- package/log/dashboard.js +4 -4
- package/log/etl.d.ts +13 -13
- package/log/etl.js +13 -13
- package/log/ingestion.d.ts +5 -5
- package/log/ingestion.js +5 -5
- package/log/logTailAttachment.d.ts +7 -7
- package/log/logTailAttachment.js +7 -7
- package/log/logTailConfig.d.ts +5 -5
- package/log/logTailConfig.js +5 -5
- package/log/machineGroup.d.ts +2 -2
- package/log/machineGroup.js +2 -2
- package/log/ossExport.d.ts +5 -5
- package/log/ossExport.js +5 -5
- package/log/project.d.ts +2 -2
- package/log/project.js +2 -2
- package/log/storeIndex.d.ts +5 -5
- package/log/storeIndex.js +5 -5
- package/nlb/serverGroup.d.ts +1 -1
- package/nlb/serverGroup.js +1 -1
- package/oos/serviceSetting.d.ts +5 -4
- package/oos/serviceSetting.js +5 -4
- package/oos/serviceSetting.js.map +1 -1
- package/oss/bucket.d.ts +10 -5
- package/oss/bucket.js +10 -5
- package/oss/bucket.js.map +1 -1
- package/oss/bucketObject.d.ts +6 -4
- package/oss/bucketObject.js +6 -4
- package/oss/bucketObject.js.map +1 -1
- package/oss/bucketReplication.d.ts +1 -1
- package/oss/bucketReplication.js +1 -1
- package/package.json +2 -2
- package/polardb/cluster.d.ts +24 -9
- package/polardb/cluster.js +2 -0
- package/polardb/cluster.js.map +1 -1
- package/pvtz/zoneRecord.d.ts +1 -1
- package/pvtz/zoneRecord.js +1 -1
- package/ram/accessKey.d.ts +2 -0
- package/ram/accessKey.js +2 -0
- package/ram/accessKey.js.map +1 -1
- package/rds/accountPrivilege.d.ts +1 -1
- package/rds/accountPrivilege.js +1 -1
- package/rds/backupPolicy.d.ts +81 -3
- package/rds/backupPolicy.js +8 -0
- package/rds/backupPolicy.js.map +1 -1
- package/rds/database.d.ts +21 -3
- package/rds/database.js.map +1 -1
- package/rds/instance.js +4 -2
- package/rds/instance.js.map +1 -1
- package/rocketmq/group.d.ts +1 -1
- package/rocketmq/group.js +1 -1
- package/rocketmq/topic.d.ts +1 -1
- package/rocketmq/topic.js +1 -1
- package/sls/alert.d.ts +3 -3
- package/sls/alert.js +3 -3
- package/sls/scheduledSql.d.ts +5 -5
- package/sls/scheduledSql.js +5 -5
- package/types/input.d.ts +56 -10
- package/types/output.d.ts +82 -12
- package/vpc/havipAttachment.d.ts +1 -1
- package/vpc/havipAttachment.js +1 -1
- package/vpc/ipv6InternetBandwidth.d.ts +2 -2
- package/vpc/ipv6InternetBandwidth.js +2 -2
- package/vpc/routeTableAttachment.d.ts +2 -2
- package/vpc/routeTableAttachment.js +2 -2
- package/vpc/trafficMirrorFilterIngressRule.d.ts +1 -1
- package/vpc/trafficMirrorFilterIngressRule.js +1 -1
|
@@ -22,6 +22,8 @@ import * as outputs from "../types/output";
|
|
|
22
22
|
*
|
|
23
23
|
* > **NOTE:** From version 1.162.0, support for creating professional serverless cluster.
|
|
24
24
|
*
|
|
25
|
+
* > **NOTE:** From version 1.229.1, support to migrate basic serverless cluster to professional serverless cluster.
|
|
26
|
+
*
|
|
25
27
|
* ## Example Usage
|
|
26
28
|
*
|
|
27
29
|
* Basic Usage
|
|
@@ -31,18 +33,18 @@ import * as outputs from "../types/output";
|
|
|
31
33
|
* import * as alicloud from "@pulumi/alicloud";
|
|
32
34
|
*
|
|
33
35
|
* const config = new pulumi.Config();
|
|
34
|
-
* const name = config.get("name") || "ask-example";
|
|
36
|
+
* const name = config.get("name") || "ask-example-pro";
|
|
35
37
|
* const default = alicloud.getZones({
|
|
36
38
|
* availableResourceCreation: "VSwitch",
|
|
37
39
|
* });
|
|
38
40
|
* const defaultNetwork = new alicloud.vpc.Network("default", {
|
|
39
41
|
* vpcName: name,
|
|
40
|
-
* cidrBlock: "10.
|
|
42
|
+
* cidrBlock: "10.2.0.0/21",
|
|
41
43
|
* });
|
|
42
44
|
* const defaultSwitch = new alicloud.vpc.Switch("default", {
|
|
43
45
|
* vswitchName: name,
|
|
44
46
|
* vpcId: defaultNetwork.id,
|
|
45
|
-
* cidrBlock: "10.
|
|
47
|
+
* cidrBlock: "10.2.1.0/24",
|
|
46
48
|
* zoneId: _default.then(_default => _default.zones?.[0]?.id),
|
|
47
49
|
* });
|
|
48
50
|
* const serverless = new alicloud.cs.ServerlessKubernetes("serverless", {
|
|
@@ -72,6 +74,9 @@ import * as outputs from "../types/output";
|
|
|
72
74
|
* {
|
|
73
75
|
* name: "knative",
|
|
74
76
|
* },
|
|
77
|
+
* {
|
|
78
|
+
* name: "arms-prometheus",
|
|
79
|
+
* },
|
|
75
80
|
* ],
|
|
76
81
|
* });
|
|
77
82
|
* ```
|
|
@@ -101,9 +106,9 @@ export declare class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
101
106
|
*/
|
|
102
107
|
static isInstance(obj: any): obj is ServerlessKubernetes;
|
|
103
108
|
/**
|
|
104
|
-
* You can specific network plugin,log component,ingress component and so on. See `addons`
|
|
109
|
+
* You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
105
110
|
*/
|
|
106
|
-
readonly addons: pulumi.Output<outputs.cs.ServerlessKubernetesAddon[]>;
|
|
111
|
+
readonly addons: pulumi.Output<outputs.cs.ServerlessKubernetesAddon[] | undefined>;
|
|
107
112
|
/**
|
|
108
113
|
* The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
109
114
|
*/
|
|
@@ -123,11 +128,16 @@ export declare class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
123
128
|
*/
|
|
124
129
|
readonly clusterSpec: pulumi.Output<string>;
|
|
125
130
|
/**
|
|
126
|
-
*
|
|
131
|
+
* Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
132
|
+
* > **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
127
133
|
*
|
|
128
134
|
* *Removed params*
|
|
129
135
|
*/
|
|
130
|
-
readonly
|
|
136
|
+
readonly customSan: pulumi.Output<string | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `deleteOptions` below.
|
|
139
|
+
*/
|
|
140
|
+
readonly deleteOptions: pulumi.Output<outputs.cs.ServerlessKubernetesDeleteOption[] | undefined>;
|
|
131
141
|
/**
|
|
132
142
|
* Whether enable the deletion protection or not.
|
|
133
143
|
* - true: Enable deletion protection.
|
|
@@ -139,13 +149,9 @@ export declare class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
139
149
|
*/
|
|
140
150
|
readonly enableRrsa: pulumi.Output<boolean | undefined>;
|
|
141
151
|
/**
|
|
142
|
-
* Whether to create internet
|
|
152
|
+
* Whether to create internet eip for API Server. Default to false.
|
|
143
153
|
*/
|
|
144
154
|
readonly endpointPublicAccessEnabled: pulumi.Output<boolean | undefined>;
|
|
145
|
-
/**
|
|
146
|
-
* Default false, when you want to change `vpcId` and `vswitchId`, you have to set this field to true, then the cluster will be recreated.
|
|
147
|
-
*/
|
|
148
|
-
readonly forceUpdate: pulumi.Output<boolean | undefined>;
|
|
149
155
|
/**
|
|
150
156
|
* The path of kube config, like `~/.kube/config`.
|
|
151
157
|
*
|
|
@@ -154,10 +160,14 @@ export declare class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
154
160
|
readonly kubeConfig: pulumi.Output<string | undefined>;
|
|
155
161
|
/**
|
|
156
162
|
* The cluster api server load balance instance specification, default `slb.s2.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
163
|
+
*
|
|
164
|
+
* @deprecated Field 'load_balancer_spec' has been deprecated from provider version 1.229.1. The load balancer has been changed to PayByCLCU so that no spec is need anymore.
|
|
157
165
|
*/
|
|
158
166
|
readonly loadBalancerSpec: pulumi.Output<string>;
|
|
159
167
|
/**
|
|
160
168
|
* Enable log service, Valid value `SLS`.
|
|
169
|
+
*
|
|
170
|
+
* @deprecated Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.
|
|
161
171
|
*/
|
|
162
172
|
readonly loggingType: pulumi.Output<string | undefined>;
|
|
163
173
|
/**
|
|
@@ -181,7 +191,7 @@ export declare class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
181
191
|
readonly resourceGroupId: pulumi.Output<string>;
|
|
182
192
|
readonly retainResources: pulumi.Output<string[] | undefined>;
|
|
183
193
|
/**
|
|
184
|
-
* Nested attribute containing RRSA related data for your cluster.
|
|
194
|
+
* Nested attribute containing RRSA related data for your cluster.
|
|
185
195
|
*/
|
|
186
196
|
readonly rrsaMetadata: pulumi.Output<outputs.cs.ServerlessKubernetesRrsaMetadata>;
|
|
187
197
|
/**
|
|
@@ -193,11 +203,13 @@ export declare class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
193
203
|
*/
|
|
194
204
|
readonly serviceCidr: pulumi.Output<string | undefined>;
|
|
195
205
|
/**
|
|
196
|
-
* Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
206
|
+
* Service discovery type. Only works for **Create** Operation. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
197
207
|
*/
|
|
198
208
|
readonly serviceDiscoveryTypes: pulumi.Output<string[] | undefined>;
|
|
199
209
|
/**
|
|
200
210
|
* If you use an existing SLS project, you must specify `slsProjectName`.
|
|
211
|
+
*
|
|
212
|
+
* @deprecated Field 'sls_project_name' has been deprecated from provider version 1.229.1. Please use the field `config` of addons `alibaba-log-controller` to specify log project name.
|
|
201
213
|
*/
|
|
202
214
|
readonly slsProjectName: pulumi.Output<string>;
|
|
203
215
|
/**
|
|
@@ -215,15 +227,9 @@ export declare class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
215
227
|
*/
|
|
216
228
|
readonly version: pulumi.Output<string>;
|
|
217
229
|
/**
|
|
218
|
-
* The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC
|
|
230
|
+
* The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
|
|
219
231
|
*/
|
|
220
232
|
readonly vpcId: pulumi.Output<string>;
|
|
221
|
-
/**
|
|
222
|
-
* The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availabilityZone` specified.
|
|
223
|
-
*
|
|
224
|
-
* @deprecated Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.
|
|
225
|
-
*/
|
|
226
|
-
readonly vswitchId: pulumi.Output<string>;
|
|
227
233
|
/**
|
|
228
234
|
* The vswitches where new kubernetes cluster will be located.
|
|
229
235
|
*/
|
|
@@ -239,14 +245,14 @@ export declare class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
239
245
|
* @param args The arguments to use to populate this resource's properties.
|
|
240
246
|
* @param opts A bag of options that control this resource's behavior.
|
|
241
247
|
*/
|
|
242
|
-
constructor(name: string, args
|
|
248
|
+
constructor(name: string, args?: ServerlessKubernetesArgs, opts?: pulumi.CustomResourceOptions);
|
|
243
249
|
}
|
|
244
250
|
/**
|
|
245
251
|
* Input properties used for looking up and filtering ServerlessKubernetes resources.
|
|
246
252
|
*/
|
|
247
253
|
export interface ServerlessKubernetesState {
|
|
248
254
|
/**
|
|
249
|
-
* You can specific network plugin,log component,ingress component and so on. See `addons`
|
|
255
|
+
* You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
250
256
|
*/
|
|
251
257
|
addons?: pulumi.Input<pulumi.Input<inputs.cs.ServerlessKubernetesAddon>[]>;
|
|
252
258
|
/**
|
|
@@ -268,11 +274,16 @@ export interface ServerlessKubernetesState {
|
|
|
268
274
|
*/
|
|
269
275
|
clusterSpec?: pulumi.Input<string>;
|
|
270
276
|
/**
|
|
271
|
-
*
|
|
277
|
+
* Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
278
|
+
* > **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
272
279
|
*
|
|
273
280
|
* *Removed params*
|
|
274
281
|
*/
|
|
275
|
-
|
|
282
|
+
customSan?: pulumi.Input<string>;
|
|
283
|
+
/**
|
|
284
|
+
* Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `deleteOptions` below.
|
|
285
|
+
*/
|
|
286
|
+
deleteOptions?: pulumi.Input<pulumi.Input<inputs.cs.ServerlessKubernetesDeleteOption>[]>;
|
|
276
287
|
/**
|
|
277
288
|
* Whether enable the deletion protection or not.
|
|
278
289
|
* - true: Enable deletion protection.
|
|
@@ -284,13 +295,9 @@ export interface ServerlessKubernetesState {
|
|
|
284
295
|
*/
|
|
285
296
|
enableRrsa?: pulumi.Input<boolean>;
|
|
286
297
|
/**
|
|
287
|
-
* Whether to create internet
|
|
298
|
+
* Whether to create internet eip for API Server. Default to false.
|
|
288
299
|
*/
|
|
289
300
|
endpointPublicAccessEnabled?: pulumi.Input<boolean>;
|
|
290
|
-
/**
|
|
291
|
-
* Default false, when you want to change `vpcId` and `vswitchId`, you have to set this field to true, then the cluster will be recreated.
|
|
292
|
-
*/
|
|
293
|
-
forceUpdate?: pulumi.Input<boolean>;
|
|
294
301
|
/**
|
|
295
302
|
* The path of kube config, like `~/.kube/config`.
|
|
296
303
|
*
|
|
@@ -299,10 +306,14 @@ export interface ServerlessKubernetesState {
|
|
|
299
306
|
kubeConfig?: pulumi.Input<string>;
|
|
300
307
|
/**
|
|
301
308
|
* The cluster api server load balance instance specification, default `slb.s2.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
309
|
+
*
|
|
310
|
+
* @deprecated Field 'load_balancer_spec' has been deprecated from provider version 1.229.1. The load balancer has been changed to PayByCLCU so that no spec is need anymore.
|
|
302
311
|
*/
|
|
303
312
|
loadBalancerSpec?: pulumi.Input<string>;
|
|
304
313
|
/**
|
|
305
314
|
* Enable log service, Valid value `SLS`.
|
|
315
|
+
*
|
|
316
|
+
* @deprecated Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.
|
|
306
317
|
*/
|
|
307
318
|
loggingType?: pulumi.Input<string>;
|
|
308
319
|
/**
|
|
@@ -326,7 +337,7 @@ export interface ServerlessKubernetesState {
|
|
|
326
337
|
resourceGroupId?: pulumi.Input<string>;
|
|
327
338
|
retainResources?: pulumi.Input<pulumi.Input<string>[]>;
|
|
328
339
|
/**
|
|
329
|
-
* Nested attribute containing RRSA related data for your cluster.
|
|
340
|
+
* Nested attribute containing RRSA related data for your cluster.
|
|
330
341
|
*/
|
|
331
342
|
rrsaMetadata?: pulumi.Input<inputs.cs.ServerlessKubernetesRrsaMetadata>;
|
|
332
343
|
/**
|
|
@@ -338,11 +349,13 @@ export interface ServerlessKubernetesState {
|
|
|
338
349
|
*/
|
|
339
350
|
serviceCidr?: pulumi.Input<string>;
|
|
340
351
|
/**
|
|
341
|
-
* Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
352
|
+
* Service discovery type. Only works for **Create** Operation. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
342
353
|
*/
|
|
343
354
|
serviceDiscoveryTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
344
355
|
/**
|
|
345
356
|
* If you use an existing SLS project, you must specify `slsProjectName`.
|
|
357
|
+
*
|
|
358
|
+
* @deprecated Field 'sls_project_name' has been deprecated from provider version 1.229.1. Please use the field `config` of addons `alibaba-log-controller` to specify log project name.
|
|
346
359
|
*/
|
|
347
360
|
slsProjectName?: pulumi.Input<string>;
|
|
348
361
|
/**
|
|
@@ -360,15 +373,9 @@ export interface ServerlessKubernetesState {
|
|
|
360
373
|
*/
|
|
361
374
|
version?: pulumi.Input<string>;
|
|
362
375
|
/**
|
|
363
|
-
* The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC
|
|
376
|
+
* The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
|
|
364
377
|
*/
|
|
365
378
|
vpcId?: pulumi.Input<string>;
|
|
366
|
-
/**
|
|
367
|
-
* The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availabilityZone` specified.
|
|
368
|
-
*
|
|
369
|
-
* @deprecated Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.
|
|
370
|
-
*/
|
|
371
|
-
vswitchId?: pulumi.Input<string>;
|
|
372
379
|
/**
|
|
373
380
|
* The vswitches where new kubernetes cluster will be located.
|
|
374
381
|
*/
|
|
@@ -383,7 +390,7 @@ export interface ServerlessKubernetesState {
|
|
|
383
390
|
*/
|
|
384
391
|
export interface ServerlessKubernetesArgs {
|
|
385
392
|
/**
|
|
386
|
-
* You can specific network plugin,log component,ingress component and so on. See `addons`
|
|
393
|
+
* You can specific network plugin, log component, ingress component and so on. See `addons` to manage addons if cluster is created.
|
|
387
394
|
*/
|
|
388
395
|
addons?: pulumi.Input<pulumi.Input<inputs.cs.ServerlessKubernetesAddon>[]>;
|
|
389
396
|
/**
|
|
@@ -405,11 +412,16 @@ export interface ServerlessKubernetesArgs {
|
|
|
405
412
|
*/
|
|
406
413
|
clusterSpec?: pulumi.Input<string>;
|
|
407
414
|
/**
|
|
408
|
-
*
|
|
415
|
+
* Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
|
|
416
|
+
* > **NOTE:** Make sure you have specified all certificate SANs before updating. Updating this field will lead APIServer to restart.
|
|
409
417
|
*
|
|
410
418
|
* *Removed params*
|
|
411
419
|
*/
|
|
412
|
-
|
|
420
|
+
customSan?: pulumi.Input<string>;
|
|
421
|
+
/**
|
|
422
|
+
* Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `deleteOptions` below.
|
|
423
|
+
*/
|
|
424
|
+
deleteOptions?: pulumi.Input<pulumi.Input<inputs.cs.ServerlessKubernetesDeleteOption>[]>;
|
|
413
425
|
/**
|
|
414
426
|
* Whether enable the deletion protection or not.
|
|
415
427
|
* - true: Enable deletion protection.
|
|
@@ -421,13 +433,9 @@ export interface ServerlessKubernetesArgs {
|
|
|
421
433
|
*/
|
|
422
434
|
enableRrsa?: pulumi.Input<boolean>;
|
|
423
435
|
/**
|
|
424
|
-
* Whether to create internet
|
|
436
|
+
* Whether to create internet eip for API Server. Default to false.
|
|
425
437
|
*/
|
|
426
438
|
endpointPublicAccessEnabled?: pulumi.Input<boolean>;
|
|
427
|
-
/**
|
|
428
|
-
* Default false, when you want to change `vpcId` and `vswitchId`, you have to set this field to true, then the cluster will be recreated.
|
|
429
|
-
*/
|
|
430
|
-
forceUpdate?: pulumi.Input<boolean>;
|
|
431
439
|
/**
|
|
432
440
|
* The path of kube config, like `~/.kube/config`.
|
|
433
441
|
*
|
|
@@ -436,10 +444,14 @@ export interface ServerlessKubernetesArgs {
|
|
|
436
444
|
kubeConfig?: pulumi.Input<string>;
|
|
437
445
|
/**
|
|
438
446
|
* The cluster api server load balance instance specification, default `slb.s2.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
447
|
+
*
|
|
448
|
+
* @deprecated Field 'load_balancer_spec' has been deprecated from provider version 1.229.1. The load balancer has been changed to PayByCLCU so that no spec is need anymore.
|
|
439
449
|
*/
|
|
440
450
|
loadBalancerSpec?: pulumi.Input<string>;
|
|
441
451
|
/**
|
|
442
452
|
* Enable log service, Valid value `SLS`.
|
|
453
|
+
*
|
|
454
|
+
* @deprecated Field 'logging_type' has been deprecated from provider version 1.229.1. Please use addons `alibaba-log-controller` to enable logging.
|
|
443
455
|
*/
|
|
444
456
|
loggingType?: pulumi.Input<string>;
|
|
445
457
|
/**
|
|
@@ -462,10 +474,6 @@ export interface ServerlessKubernetesArgs {
|
|
|
462
474
|
*/
|
|
463
475
|
resourceGroupId?: pulumi.Input<string>;
|
|
464
476
|
retainResources?: pulumi.Input<pulumi.Input<string>[]>;
|
|
465
|
-
/**
|
|
466
|
-
* Nested attribute containing RRSA related data for your cluster. See `rrsaMetadata` below.
|
|
467
|
-
*/
|
|
468
|
-
rrsaMetadata?: pulumi.Input<inputs.cs.ServerlessKubernetesRrsaMetadata>;
|
|
469
477
|
/**
|
|
470
478
|
* 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.
|
|
471
479
|
*/
|
|
@@ -475,11 +483,13 @@ export interface ServerlessKubernetesArgs {
|
|
|
475
483
|
*/
|
|
476
484
|
serviceCidr?: pulumi.Input<string>;
|
|
477
485
|
/**
|
|
478
|
-
* Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
486
|
+
* Service discovery type. Only works for **Create** Operation. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
|
|
479
487
|
*/
|
|
480
488
|
serviceDiscoveryTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
481
489
|
/**
|
|
482
490
|
* If you use an existing SLS project, you must specify `slsProjectName`.
|
|
491
|
+
*
|
|
492
|
+
* @deprecated Field 'sls_project_name' has been deprecated from provider version 1.229.1. Please use the field `config` of addons `alibaba-log-controller` to specify log project name.
|
|
483
493
|
*/
|
|
484
494
|
slsProjectName?: pulumi.Input<string>;
|
|
485
495
|
/**
|
|
@@ -497,15 +507,9 @@ export interface ServerlessKubernetesArgs {
|
|
|
497
507
|
*/
|
|
498
508
|
version?: pulumi.Input<string>;
|
|
499
509
|
/**
|
|
500
|
-
* The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC
|
|
510
|
+
* The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
|
|
501
511
|
*/
|
|
502
|
-
vpcId
|
|
503
|
-
/**
|
|
504
|
-
* The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availabilityZone` specified.
|
|
505
|
-
*
|
|
506
|
-
* @deprecated Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.
|
|
507
|
-
*/
|
|
508
|
-
vswitchId?: pulumi.Input<string>;
|
|
512
|
+
vpcId?: pulumi.Input<string>;
|
|
509
513
|
/**
|
|
510
514
|
* The vswitches where new kubernetes cluster will be located.
|
|
511
515
|
*/
|
|
@@ -26,6 +26,8 @@ const utilities = require("../utilities");
|
|
|
26
26
|
*
|
|
27
27
|
* > **NOTE:** From version 1.162.0, support for creating professional serverless cluster.
|
|
28
28
|
*
|
|
29
|
+
* > **NOTE:** From version 1.229.1, support to migrate basic serverless cluster to professional serverless cluster.
|
|
30
|
+
*
|
|
29
31
|
* ## Example Usage
|
|
30
32
|
*
|
|
31
33
|
* Basic Usage
|
|
@@ -35,18 +37,18 @@ const utilities = require("../utilities");
|
|
|
35
37
|
* import * as alicloud from "@pulumi/alicloud";
|
|
36
38
|
*
|
|
37
39
|
* const config = new pulumi.Config();
|
|
38
|
-
* const name = config.get("name") || "ask-example";
|
|
40
|
+
* const name = config.get("name") || "ask-example-pro";
|
|
39
41
|
* const default = alicloud.getZones({
|
|
40
42
|
* availableResourceCreation: "VSwitch",
|
|
41
43
|
* });
|
|
42
44
|
* const defaultNetwork = new alicloud.vpc.Network("default", {
|
|
43
45
|
* vpcName: name,
|
|
44
|
-
* cidrBlock: "10.
|
|
46
|
+
* cidrBlock: "10.2.0.0/21",
|
|
45
47
|
* });
|
|
46
48
|
* const defaultSwitch = new alicloud.vpc.Switch("default", {
|
|
47
49
|
* vswitchName: name,
|
|
48
50
|
* vpcId: defaultNetwork.id,
|
|
49
|
-
* cidrBlock: "10.
|
|
51
|
+
* cidrBlock: "10.2.1.0/24",
|
|
50
52
|
* zoneId: _default.then(_default => _default.zones?.[0]?.id),
|
|
51
53
|
* });
|
|
52
54
|
* const serverless = new alicloud.cs.ServerlessKubernetes("serverless", {
|
|
@@ -76,6 +78,9 @@ const utilities = require("../utilities");
|
|
|
76
78
|
* {
|
|
77
79
|
* name: "knative",
|
|
78
80
|
* },
|
|
81
|
+
* {
|
|
82
|
+
* name: "arms-prometheus",
|
|
83
|
+
* },
|
|
79
84
|
* ],
|
|
80
85
|
* });
|
|
81
86
|
* ```
|
|
@@ -121,11 +126,11 @@ class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
121
126
|
resourceInputs["clientKey"] = state ? state.clientKey : undefined;
|
|
122
127
|
resourceInputs["clusterCaCert"] = state ? state.clusterCaCert : undefined;
|
|
123
128
|
resourceInputs["clusterSpec"] = state ? state.clusterSpec : undefined;
|
|
124
|
-
resourceInputs["
|
|
129
|
+
resourceInputs["customSan"] = state ? state.customSan : undefined;
|
|
130
|
+
resourceInputs["deleteOptions"] = state ? state.deleteOptions : undefined;
|
|
125
131
|
resourceInputs["deletionProtection"] = state ? state.deletionProtection : undefined;
|
|
126
132
|
resourceInputs["enableRrsa"] = state ? state.enableRrsa : undefined;
|
|
127
133
|
resourceInputs["endpointPublicAccessEnabled"] = state ? state.endpointPublicAccessEnabled : undefined;
|
|
128
|
-
resourceInputs["forceUpdate"] = state ? state.forceUpdate : undefined;
|
|
129
134
|
resourceInputs["kubeConfig"] = state ? state.kubeConfig : undefined;
|
|
130
135
|
resourceInputs["loadBalancerSpec"] = state ? state.loadBalancerSpec : undefined;
|
|
131
136
|
resourceInputs["loggingType"] = state ? state.loggingType : undefined;
|
|
@@ -144,25 +149,21 @@ class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
144
149
|
resourceInputs["timeZone"] = state ? state.timeZone : undefined;
|
|
145
150
|
resourceInputs["version"] = state ? state.version : undefined;
|
|
146
151
|
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
147
|
-
resourceInputs["vswitchId"] = state ? state.vswitchId : undefined;
|
|
148
152
|
resourceInputs["vswitchIds"] = state ? state.vswitchIds : undefined;
|
|
149
153
|
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
150
154
|
}
|
|
151
155
|
else {
|
|
152
156
|
const args = argsOrState;
|
|
153
|
-
if ((!args || args.vpcId === undefined) && !opts.urn) {
|
|
154
|
-
throw new Error("Missing required property 'vpcId'");
|
|
155
|
-
}
|
|
156
157
|
resourceInputs["addons"] = args ? args.addons : undefined;
|
|
157
158
|
resourceInputs["clientCert"] = args ? args.clientCert : undefined;
|
|
158
159
|
resourceInputs["clientKey"] = args ? args.clientKey : undefined;
|
|
159
160
|
resourceInputs["clusterCaCert"] = args ? args.clusterCaCert : undefined;
|
|
160
161
|
resourceInputs["clusterSpec"] = args ? args.clusterSpec : undefined;
|
|
161
|
-
resourceInputs["
|
|
162
|
+
resourceInputs["customSan"] = args ? args.customSan : undefined;
|
|
163
|
+
resourceInputs["deleteOptions"] = args ? args.deleteOptions : undefined;
|
|
162
164
|
resourceInputs["deletionProtection"] = args ? args.deletionProtection : undefined;
|
|
163
165
|
resourceInputs["enableRrsa"] = args ? args.enableRrsa : undefined;
|
|
164
166
|
resourceInputs["endpointPublicAccessEnabled"] = args ? args.endpointPublicAccessEnabled : undefined;
|
|
165
|
-
resourceInputs["forceUpdate"] = args ? args.forceUpdate : undefined;
|
|
166
167
|
resourceInputs["kubeConfig"] = args ? args.kubeConfig : undefined;
|
|
167
168
|
resourceInputs["loadBalancerSpec"] = args ? args.loadBalancerSpec : undefined;
|
|
168
169
|
resourceInputs["loggingType"] = args ? args.loggingType : undefined;
|
|
@@ -172,7 +173,6 @@ class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
172
173
|
resourceInputs["privateZone"] = args ? args.privateZone : undefined;
|
|
173
174
|
resourceInputs["resourceGroupId"] = args ? args.resourceGroupId : undefined;
|
|
174
175
|
resourceInputs["retainResources"] = args ? args.retainResources : undefined;
|
|
175
|
-
resourceInputs["rrsaMetadata"] = args ? args.rrsaMetadata : undefined;
|
|
176
176
|
resourceInputs["securityGroupId"] = args ? args.securityGroupId : undefined;
|
|
177
177
|
resourceInputs["serviceCidr"] = args ? args.serviceCidr : undefined;
|
|
178
178
|
resourceInputs["serviceDiscoveryTypes"] = args ? args.serviceDiscoveryTypes : undefined;
|
|
@@ -181,9 +181,9 @@ class ServerlessKubernetes extends pulumi.CustomResource {
|
|
|
181
181
|
resourceInputs["timeZone"] = args ? args.timeZone : undefined;
|
|
182
182
|
resourceInputs["version"] = args ? args.version : undefined;
|
|
183
183
|
resourceInputs["vpcId"] = args ? args.vpcId : undefined;
|
|
184
|
-
resourceInputs["vswitchId"] = args ? args.vswitchId : undefined;
|
|
185
184
|
resourceInputs["vswitchIds"] = args ? args.vswitchIds : undefined;
|
|
186
185
|
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
186
|
+
resourceInputs["rrsaMetadata"] = undefined /*out*/;
|
|
187
187
|
}
|
|
188
188
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
189
189
|
super(ServerlessKubernetes.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverlessKubernetes.js","sourceRoot":"","sources":["../../cs/serverlessKubernetes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"serverlessKubernetes.js","sourceRoot":"","sources":["../../cs/serverlessKubernetes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuFG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAA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CAAY,GAAG,uDAAuD,CAAC"}
|
package/dts/consumerChannel.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
71
71
|
* });
|
|
72
72
|
* const exampleAccountPrivilege = new alicloud.rds.AccountPrivilege("example", {
|
|
73
73
|
* instanceId: exampleInstance.id,
|
|
74
|
-
* accountName: exampleRdsAccount.
|
|
74
|
+
* accountName: exampleRdsAccount.accountName,
|
|
75
75
|
* privilege: "ReadWrite",
|
|
76
76
|
* dbNames: [exampleDatabase.name],
|
|
77
77
|
* });
|
package/dts/consumerChannel.js
CHANGED
|
@@ -77,7 +77,7 @@ const utilities = require("../utilities");
|
|
|
77
77
|
* });
|
|
78
78
|
* const exampleAccountPrivilege = new alicloud.rds.AccountPrivilege("example", {
|
|
79
79
|
* instanceId: exampleInstance.id,
|
|
80
|
-
* accountName: exampleRdsAccount.
|
|
80
|
+
* accountName: exampleRdsAccount.accountName,
|
|
81
81
|
* privilege: "ReadWrite",
|
|
82
82
|
* dbNames: [exampleDatabase.name],
|
|
83
83
|
* });
|
package/dts/subscriptionJob.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
71
71
|
* });
|
|
72
72
|
* const exampleAccountPrivilege = new alicloud.rds.AccountPrivilege("example", {
|
|
73
73
|
* instanceId: exampleInstance.id,
|
|
74
|
-
* accountName: exampleRdsAccount.
|
|
74
|
+
* accountName: exampleRdsAccount.accountName,
|
|
75
75
|
* privilege: "ReadWrite",
|
|
76
76
|
* dbNames: [exampleDatabase.name],
|
|
77
77
|
* });
|
package/dts/subscriptionJob.js
CHANGED
|
@@ -77,7 +77,7 @@ const utilities = require("../utilities");
|
|
|
77
77
|
* });
|
|
78
78
|
* const exampleAccountPrivilege = new alicloud.rds.AccountPrivilege("example", {
|
|
79
79
|
* instanceId: exampleInstance.id,
|
|
80
|
-
* accountName: exampleRdsAccount.
|
|
80
|
+
* accountName: exampleRdsAccount.accountName,
|
|
81
81
|
* privilege: "ReadWrite",
|
|
82
82
|
* dbNames: [exampleDatabase.name],
|
|
83
83
|
* });
|
|
@@ -38,7 +38,7 @@ import * as outputs from "../types/output";
|
|
|
38
38
|
* owners: "system",
|
|
39
39
|
* });
|
|
40
40
|
* const template = new alicloud.ecs.EcsLaunchTemplate("template", {
|
|
41
|
-
*
|
|
41
|
+
* launchTemplateName: name,
|
|
42
42
|
* imageId: defaultGetImages.then(defaultGetImages => defaultGetImages.images?.[0]?.id),
|
|
43
43
|
* instanceType: "ecs.n1.tiny",
|
|
44
44
|
* securityGroupId: defaultSecurityGroup.id,
|
|
@@ -42,7 +42,7 @@ const utilities = require("../utilities");
|
|
|
42
42
|
* owners: "system",
|
|
43
43
|
* });
|
|
44
44
|
* const template = new alicloud.ecs.EcsLaunchTemplate("template", {
|
|
45
|
-
*
|
|
45
|
+
* launchTemplateName: name,
|
|
46
46
|
* imageId: defaultGetImages.then(defaultGetImages => defaultGetImages.images?.[0]?.id),
|
|
47
47
|
* instanceType: "ecs.n1.tiny",
|
|
48
48
|
* securityGroupId: defaultSecurityGroup.id,
|
package/ehpc/getClusters.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as outputs from "../types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* This data source provides the Ehpc Clusters of the current Alibaba Cloud user.
|
|
5
5
|
*
|
|
6
|
-
* > **NOTE:** Available
|
|
6
|
+
* > **NOTE:** Available since v1.173.0.
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
@@ -53,6 +53,9 @@ export interface GetClustersArgs {
|
|
|
53
53
|
* A collection of values returned by getClusters.
|
|
54
54
|
*/
|
|
55
55
|
export interface GetClustersResult {
|
|
56
|
+
/**
|
|
57
|
+
* A list of Ehpc Clusters. Each element contains the following attributes:
|
|
58
|
+
*/
|
|
56
59
|
readonly clusters: outputs.ehpc.GetClustersCluster[];
|
|
57
60
|
readonly enableDetails?: boolean;
|
|
58
61
|
/**
|
|
@@ -61,14 +64,20 @@ export interface GetClustersResult {
|
|
|
61
64
|
readonly id: string;
|
|
62
65
|
readonly ids: string[];
|
|
63
66
|
readonly nameRegex?: string;
|
|
67
|
+
/**
|
|
68
|
+
* A list of Cluster names.
|
|
69
|
+
*/
|
|
64
70
|
readonly names: string[];
|
|
65
71
|
readonly outputFile?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The status of the resource.
|
|
74
|
+
*/
|
|
66
75
|
readonly status?: string;
|
|
67
76
|
}
|
|
68
77
|
/**
|
|
69
78
|
* This data source provides the Ehpc Clusters of the current Alibaba Cloud user.
|
|
70
79
|
*
|
|
71
|
-
* > **NOTE:** Available
|
|
80
|
+
* > **NOTE:** Available since v1.173.0.
|
|
72
81
|
*
|
|
73
82
|
* ## Example Usage
|
|
74
83
|
*
|
package/ehpc/getClusters.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This data source provides the Ehpc Clusters of the current Alibaba Cloud user.
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE:** Available
|
|
11
|
+
* > **NOTE:** Available since v1.173.0.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
@@ -43,7 +43,7 @@ exports.getClusters = getClusters;
|
|
|
43
43
|
/**
|
|
44
44
|
* This data source provides the Ehpc Clusters of the current Alibaba Cloud user.
|
|
45
45
|
*
|
|
46
|
-
* > **NOTE:** Available
|
|
46
|
+
* > **NOTE:** Available since v1.173.0.
|
|
47
47
|
*
|
|
48
48
|
* ## Example Usage
|
|
49
49
|
*
|
package/ehpc/getClusters.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../../ehpc/getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GA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