@alicloud/sae20190506 1.24.8 → 1.25.1
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/dist/client.d.ts +635 -5
- package/dist/client.js +480 -16
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +921 -5
package/src/client.ts
CHANGED
|
@@ -1845,11 +1845,13 @@ export class ImageConfig extends $tea.Model {
|
|
|
1845
1845
|
accelerationType?: string;
|
|
1846
1846
|
image?: string;
|
|
1847
1847
|
instanceID?: string;
|
|
1848
|
+
registryConfig?: RegistryConfig;
|
|
1848
1849
|
static names(): { [key: string]: string } {
|
|
1849
1850
|
return {
|
|
1850
1851
|
accelerationType: 'accelerationType',
|
|
1851
1852
|
image: 'image',
|
|
1852
1853
|
instanceID: 'instanceID',
|
|
1854
|
+
registryConfig: 'registryConfig',
|
|
1853
1855
|
};
|
|
1854
1856
|
}
|
|
1855
1857
|
|
|
@@ -1858,6 +1860,7 @@ export class ImageConfig extends $tea.Model {
|
|
|
1858
1860
|
accelerationType: 'string',
|
|
1859
1861
|
image: 'string',
|
|
1860
1862
|
instanceID: 'string',
|
|
1863
|
+
registryConfig: RegistryConfig,
|
|
1861
1864
|
};
|
|
1862
1865
|
}
|
|
1863
1866
|
|
|
@@ -3208,6 +3211,87 @@ export class PublishWebApplicationRevisionInput extends $tea.Model {
|
|
|
3208
3211
|
}
|
|
3209
3212
|
}
|
|
3210
3213
|
|
|
3214
|
+
export class RegistryAuthConfig extends $tea.Model {
|
|
3215
|
+
/**
|
|
3216
|
+
* @example
|
|
3217
|
+
* abc***
|
|
3218
|
+
*/
|
|
3219
|
+
password?: string;
|
|
3220
|
+
/**
|
|
3221
|
+
* @example
|
|
3222
|
+
* acs:ram::142xxxx:role/xxxxxx
|
|
3223
|
+
*/
|
|
3224
|
+
role?: string;
|
|
3225
|
+
/**
|
|
3226
|
+
* @example
|
|
3227
|
+
* admin
|
|
3228
|
+
*/
|
|
3229
|
+
userName?: string;
|
|
3230
|
+
static names(): { [key: string]: string } {
|
|
3231
|
+
return {
|
|
3232
|
+
password: 'password',
|
|
3233
|
+
role: 'role',
|
|
3234
|
+
userName: 'userName',
|
|
3235
|
+
};
|
|
3236
|
+
}
|
|
3237
|
+
|
|
3238
|
+
static types(): { [key: string]: any } {
|
|
3239
|
+
return {
|
|
3240
|
+
password: 'string',
|
|
3241
|
+
role: 'string',
|
|
3242
|
+
userName: 'string',
|
|
3243
|
+
};
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3246
|
+
constructor(map?: { [key: string]: any }) {
|
|
3247
|
+
super(map);
|
|
3248
|
+
}
|
|
3249
|
+
}
|
|
3250
|
+
|
|
3251
|
+
export class RegistryCertConfig extends $tea.Model {
|
|
3252
|
+
insecure?: boolean;
|
|
3253
|
+
rootCaCertBase64?: string;
|
|
3254
|
+
static names(): { [key: string]: string } {
|
|
3255
|
+
return {
|
|
3256
|
+
insecure: 'insecure',
|
|
3257
|
+
rootCaCertBase64: 'rootCaCertBase64',
|
|
3258
|
+
};
|
|
3259
|
+
}
|
|
3260
|
+
|
|
3261
|
+
static types(): { [key: string]: any } {
|
|
3262
|
+
return {
|
|
3263
|
+
insecure: 'boolean',
|
|
3264
|
+
rootCaCertBase64: 'string',
|
|
3265
|
+
};
|
|
3266
|
+
}
|
|
3267
|
+
|
|
3268
|
+
constructor(map?: { [key: string]: any }) {
|
|
3269
|
+
super(map);
|
|
3270
|
+
}
|
|
3271
|
+
}
|
|
3272
|
+
|
|
3273
|
+
export class RegistryConfig extends $tea.Model {
|
|
3274
|
+
authConfig?: RegistryAuthConfig;
|
|
3275
|
+
certConfig?: RegistryCertConfig;
|
|
3276
|
+
static names(): { [key: string]: string } {
|
|
3277
|
+
return {
|
|
3278
|
+
authConfig: 'authConfig',
|
|
3279
|
+
certConfig: 'certConfig',
|
|
3280
|
+
};
|
|
3281
|
+
}
|
|
3282
|
+
|
|
3283
|
+
static types(): { [key: string]: any } {
|
|
3284
|
+
return {
|
|
3285
|
+
authConfig: RegistryAuthConfig,
|
|
3286
|
+
certConfig: RegistryCertConfig,
|
|
3287
|
+
};
|
|
3288
|
+
}
|
|
3289
|
+
|
|
3290
|
+
constructor(map?: { [key: string]: any }) {
|
|
3291
|
+
super(map);
|
|
3292
|
+
}
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3211
3295
|
export class Revision extends $tea.Model {
|
|
3212
3296
|
createdTime?: string;
|
|
3213
3297
|
description?: string;
|
|
@@ -5515,7 +5599,7 @@ export class BatchStopApplicationsRequest extends $tea.Model {
|
|
|
5515
5599
|
* The ID of the request.
|
|
5516
5600
|
*
|
|
5517
5601
|
* @example
|
|
5518
|
-
* ebf491f0-c1a5-45e2-b2c4-710dbe2a
|
|
5602
|
+
* ebf491f0-c1a5-45e2-b2c4-710dbe2a****
|
|
5519
5603
|
*/
|
|
5520
5604
|
appIds?: string;
|
|
5521
5605
|
/**
|
|
@@ -6135,6 +6219,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
6135
6219
|
* 3.5.3
|
|
6136
6220
|
*/
|
|
6137
6221
|
edasContainerVersion?: string;
|
|
6222
|
+
enableCpuBurst?: boolean;
|
|
6138
6223
|
enableEbpf?: string;
|
|
6139
6224
|
enableNewArms?: boolean;
|
|
6140
6225
|
/**
|
|
@@ -6471,6 +6556,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
6471
6556
|
deploy: 'Deploy',
|
|
6472
6557
|
dotnet: 'Dotnet',
|
|
6473
6558
|
edasContainerVersion: 'EdasContainerVersion',
|
|
6559
|
+
enableCpuBurst: 'EnableCpuBurst',
|
|
6474
6560
|
enableEbpf: 'EnableEbpf',
|
|
6475
6561
|
enableNewArms: 'EnableNewArms',
|
|
6476
6562
|
envs: 'Envs',
|
|
@@ -6539,6 +6625,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
6539
6625
|
deploy: 'boolean',
|
|
6540
6626
|
dotnet: 'string',
|
|
6541
6627
|
edasContainerVersion: 'string',
|
|
6628
|
+
enableCpuBurst: 'boolean',
|
|
6542
6629
|
enableEbpf: 'string',
|
|
6543
6630
|
enableNewArms: 'boolean',
|
|
6544
6631
|
envs: 'string',
|
|
@@ -7247,17 +7334,34 @@ export class CreateGreyTagRouteResponse extends $tea.Model {
|
|
|
7247
7334
|
|
|
7248
7335
|
export class CreateIngressRequest extends $tea.Model {
|
|
7249
7336
|
/**
|
|
7337
|
+
* @remarks
|
|
7338
|
+
* The ID of the certificate that is associated with the **CLB** instance.
|
|
7339
|
+
*
|
|
7340
|
+
* * If you set **LoadBalanceType** to **clb**, you can use CertId to configure a certificate for the HTTPS listener.
|
|
7341
|
+
*
|
|
7342
|
+
* For more information about how to manage the SSL certificate IDs that are used by CLB instances, see [Overview](https://help.aliyun.com/document_detail/90792.html).
|
|
7343
|
+
*
|
|
7250
7344
|
* @example
|
|
7251
7345
|
* 188077086902****_176993d****_181437****_108724****
|
|
7252
7346
|
*/
|
|
7253
7347
|
certId?: string;
|
|
7254
7348
|
/**
|
|
7349
|
+
* @remarks
|
|
7350
|
+
* The IDs of the certificates that are associated with the **ALB** instance.
|
|
7351
|
+
*
|
|
7352
|
+
* * If you set **LoadBalanceType** to **alb**, you can use CertIds to configure multiple certificates for the HTTPS listener. Separate multiple certificate IDs with commas (,).
|
|
7353
|
+
* * The ID of the SSL certificate that is used by an ALB instance can be obtained from Certificate Management Service. For example, if you specify `756***-cn-hangzhou`, `756***` is the certificate ID that is obtained from the service page, and `-cn-hangzhou` is the fixed suffix. For more information, see [Manage certificates](https://help.aliyun.com/document_detail/209076.html).
|
|
7354
|
+
*
|
|
7255
7355
|
* @example
|
|
7256
7356
|
* 87***35-cn-hangzhou,812***3-cn-hangzhou
|
|
7257
7357
|
*/
|
|
7258
7358
|
certIds?: string;
|
|
7259
7359
|
/**
|
|
7260
7360
|
* @remarks
|
|
7361
|
+
* Default forwarding rule. Traffic is forwarded to the specified application through a designated port based on the IP address. Parameter descriptions are as follows:
|
|
7362
|
+
* - **appId**: Application ID. - **containerPort**: Application instance port.
|
|
7363
|
+
* > All requests that do not match or do not meet the **Rules** for forwarding will be directed to this specified application.
|
|
7364
|
+
*
|
|
7261
7365
|
* This parameter is required.
|
|
7262
7366
|
*
|
|
7263
7367
|
* @example
|
|
@@ -7265,13 +7369,28 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7265
7369
|
*/
|
|
7266
7370
|
defaultRule?: string;
|
|
7267
7371
|
/**
|
|
7372
|
+
* @remarks
|
|
7373
|
+
* Route rule name.
|
|
7374
|
+
*
|
|
7268
7375
|
* @example
|
|
7269
7376
|
* ingress-for-sae-test
|
|
7270
7377
|
*/
|
|
7271
7378
|
description?: string;
|
|
7379
|
+
/**
|
|
7380
|
+
* @remarks
|
|
7381
|
+
* The timeout period of an idle connection. Unit: seconds. Valid values: 1 to 60.
|
|
7382
|
+
*
|
|
7383
|
+
* If no request is received within the specified timeout period, ALB closes the current connection. When another request is received, ALB establishes a new connection.
|
|
7384
|
+
*
|
|
7385
|
+
* @example
|
|
7386
|
+
* 15
|
|
7387
|
+
*/
|
|
7272
7388
|
idleTimeout?: number;
|
|
7273
7389
|
/**
|
|
7274
7390
|
* @remarks
|
|
7391
|
+
* SThe frontend port that is used by the ALB instance.
|
|
7392
|
+
* Valid values: 1 to 65535.
|
|
7393
|
+
*
|
|
7275
7394
|
* This parameter is required.
|
|
7276
7395
|
*
|
|
7277
7396
|
* @example
|
|
@@ -7279,35 +7398,77 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7279
7398
|
*/
|
|
7280
7399
|
listenerPort?: number;
|
|
7281
7400
|
/**
|
|
7401
|
+
* @remarks
|
|
7402
|
+
* Request forwarding protocol. The value description is as follows:
|
|
7403
|
+
* - **HTTP**: Suitable for applications that need to identify data content. - **HTTPS**: Suitable for applications that require encrypted transmission.
|
|
7404
|
+
*
|
|
7282
7405
|
* @example
|
|
7283
7406
|
* HTTP
|
|
7284
7407
|
*/
|
|
7285
7408
|
listenerProtocol?: string;
|
|
7286
7409
|
/**
|
|
7410
|
+
* @remarks
|
|
7411
|
+
* The type of the SLB instance. The instance type can be specified only when you create a routing rule. You cannot change the instance type when you update the routing rule. Valid values:
|
|
7412
|
+
*
|
|
7413
|
+
* * **clb**
|
|
7414
|
+
* * **alb**
|
|
7415
|
+
*
|
|
7287
7416
|
* @example
|
|
7288
7417
|
* clb
|
|
7289
7418
|
*/
|
|
7290
7419
|
loadBalanceType?: string;
|
|
7291
7420
|
/**
|
|
7292
7421
|
* @remarks
|
|
7422
|
+
* The ID of the namespace where the application is located. Currently, cross-namespace applications are not supported.
|
|
7423
|
+
*
|
|
7293
7424
|
* This parameter is required.
|
|
7294
7425
|
*
|
|
7295
7426
|
* @example
|
|
7296
7427
|
* cn-beijing:sae-test
|
|
7297
7428
|
*/
|
|
7298
7429
|
namespaceId?: string;
|
|
7430
|
+
/**
|
|
7431
|
+
* @remarks
|
|
7432
|
+
* The timeout period of a request. Unit: seconds. Valid values: 1 to 180.
|
|
7433
|
+
* If no response is received from the backend server within the specified timeout period, ALB returns an HTTP 504 error code to the client.
|
|
7434
|
+
*
|
|
7435
|
+
* @example
|
|
7436
|
+
* 3
|
|
7437
|
+
*/
|
|
7299
7438
|
requestTimeout?: number;
|
|
7300
7439
|
/**
|
|
7301
7440
|
* @remarks
|
|
7441
|
+
* The forwarding rules. You can specify a port and an application in a forwarding rule to forward traffic based on the specified domain name and request path. The following list describes the involved parameters:
|
|
7442
|
+
*
|
|
7443
|
+
* * **appId**: the ID of the application.
|
|
7444
|
+
* * **containerPort**: the container port of the application.
|
|
7445
|
+
* * **domain**: the domain name.
|
|
7446
|
+
* * **path**: the request path.
|
|
7447
|
+
* * **backendProtocol**: the backend service protocol. Valid values: http, https, and grpc. Default value: http.
|
|
7448
|
+
* * **rewritePath**: the rewrite path.
|
|
7449
|
+
*
|
|
7450
|
+
* > The path rewrite feature is supported only by ALB instances.
|
|
7451
|
+
*
|
|
7302
7452
|
* This parameter is required.
|
|
7303
7453
|
*
|
|
7304
7454
|
* @example
|
|
7305
7455
|
* [{"appId":"395b60e4-0550-458d-9c54-a265d036****","containerPort":8080,"domain":"www.sae.site","path":"/path1"},{"appId":"666403ce-d25b-47cf-87fe-497565d2****","containerPort":8080,"domain":"sae.site","path":"/path2"}]
|
|
7306
7456
|
*/
|
|
7307
7457
|
rules?: string;
|
|
7458
|
+
/**
|
|
7459
|
+
* @remarks
|
|
7460
|
+
* The security policy ID.
|
|
7461
|
+
*
|
|
7462
|
+
* @example
|
|
7463
|
+
* sp-bp1bpn0kn9****
|
|
7464
|
+
*/
|
|
7308
7465
|
securityPolicyId?: string;
|
|
7309
7466
|
/**
|
|
7310
7467
|
* @remarks
|
|
7468
|
+
* The Server Load Balancer (SLB) instance that is used by the routing rule.
|
|
7469
|
+
*
|
|
7470
|
+
* > The SLB instance can be a Classic Load Balancer (CLB) instance or an Application Load Balancer (ALB) instance.
|
|
7471
|
+
*
|
|
7311
7472
|
* This parameter is required.
|
|
7312
7473
|
*
|
|
7313
7474
|
* @example
|
|
@@ -7357,28 +7518,68 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7357
7518
|
|
|
7358
7519
|
export class CreateIngressResponseBody extends $tea.Model {
|
|
7359
7520
|
/**
|
|
7521
|
+
* @remarks
|
|
7522
|
+
* The HTTP status code. Valid values:
|
|
7523
|
+
*
|
|
7524
|
+
* * **2xx**: The call was successful.
|
|
7525
|
+
* * **3xx**: The call was redirected.
|
|
7526
|
+
* * **4xx**: The call failed.
|
|
7527
|
+
* * **5xx**: A server error occurred.
|
|
7528
|
+
*
|
|
7360
7529
|
* @example
|
|
7361
7530
|
* 200
|
|
7362
7531
|
*/
|
|
7363
7532
|
code?: string;
|
|
7533
|
+
/**
|
|
7534
|
+
* @remarks
|
|
7535
|
+
* The response.
|
|
7536
|
+
*/
|
|
7364
7537
|
data?: CreateIngressResponseBodyData;
|
|
7538
|
+
/**
|
|
7539
|
+
* @remarks
|
|
7540
|
+
* The error code returned. Take note of the following rules:
|
|
7541
|
+
*
|
|
7542
|
+
* * The **ErrorCode** parameter is not returned if the request succeeds.
|
|
7543
|
+
* * If the call fails, the **ErrorCode** parameter is returned. For more information, see the "**Error codes**" section of this topic.
|
|
7544
|
+
*
|
|
7545
|
+
* @example
|
|
7546
|
+
* success
|
|
7547
|
+
*/
|
|
7365
7548
|
errorCode?: string;
|
|
7366
7549
|
/**
|
|
7550
|
+
* @remarks
|
|
7551
|
+
* The additional information that is returned. Valid values:
|
|
7552
|
+
*
|
|
7553
|
+
* * success: If the call is successful, **success** is returned.
|
|
7554
|
+
* * An error code: If the call fails, an error code is returned.
|
|
7555
|
+
*
|
|
7367
7556
|
* @example
|
|
7368
7557
|
* success
|
|
7369
7558
|
*/
|
|
7370
7559
|
message?: string;
|
|
7371
7560
|
/**
|
|
7561
|
+
* @remarks
|
|
7562
|
+
* The ID of the request.
|
|
7563
|
+
*
|
|
7372
7564
|
* @example
|
|
7373
7565
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
7374
7566
|
*/
|
|
7375
7567
|
requestId?: string;
|
|
7376
7568
|
/**
|
|
7569
|
+
* @remarks
|
|
7570
|
+
* Indicates whether the Secret is successfully deleted. Valid values:
|
|
7571
|
+
*
|
|
7572
|
+
* * **true**: The instance was deleted.
|
|
7573
|
+
* * **false**: The instance failed to be deleted.
|
|
7574
|
+
*
|
|
7377
7575
|
* @example
|
|
7378
7576
|
* true
|
|
7379
7577
|
*/
|
|
7380
7578
|
success?: boolean;
|
|
7381
7579
|
/**
|
|
7580
|
+
* @remarks
|
|
7581
|
+
* The ID of the trace. It is used to query the details of a request.
|
|
7582
|
+
*
|
|
7382
7583
|
* @example
|
|
7383
7584
|
* 0a98a02315955564772843261e****
|
|
7384
7585
|
*/
|
|
@@ -10301,6 +10502,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
10301
10502
|
* false
|
|
10302
10503
|
*/
|
|
10303
10504
|
enableAhas?: string;
|
|
10505
|
+
enableCpuBurst?: boolean;
|
|
10304
10506
|
/**
|
|
10305
10507
|
* @remarks
|
|
10306
10508
|
* Indicates whether canary release rules are enabled. Canary release rules apply only to applications in Spring Cloud and Dubbo frameworks. Take note of the following rules:
|
|
@@ -10758,6 +10960,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
10758
10960
|
dotnet: 'Dotnet',
|
|
10759
10961
|
edasContainerVersion: 'EdasContainerVersion',
|
|
10760
10962
|
enableAhas: 'EnableAhas',
|
|
10963
|
+
enableCpuBurst: 'EnableCpuBurst',
|
|
10761
10964
|
enableGreyTagRoute: 'EnableGreyTagRoute',
|
|
10762
10965
|
enableNewArms: 'EnableNewArms',
|
|
10763
10966
|
envs: 'Envs',
|
|
@@ -10825,6 +11028,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
10825
11028
|
dotnet: 'string',
|
|
10826
11029
|
edasContainerVersion: 'string',
|
|
10827
11030
|
enableAhas: 'string',
|
|
11031
|
+
enableCpuBurst: 'boolean',
|
|
10828
11032
|
enableGreyTagRoute: 'boolean',
|
|
10829
11033
|
enableNewArms: 'boolean',
|
|
10830
11034
|
envs: 'string',
|
|
@@ -15592,6 +15796,110 @@ export class DisableApplicationScalingRuleResponse extends $tea.Model {
|
|
|
15592
15796
|
}
|
|
15593
15797
|
}
|
|
15594
15798
|
|
|
15799
|
+
export class DowngradeApplicationApmServiceRequest extends $tea.Model {
|
|
15800
|
+
/**
|
|
15801
|
+
* @remarks
|
|
15802
|
+
* This parameter is required.
|
|
15803
|
+
*
|
|
15804
|
+
* @example
|
|
15805
|
+
* 017f39b8-dfa4-4e16-a84b-1dcee4b1****
|
|
15806
|
+
*/
|
|
15807
|
+
appId?: string;
|
|
15808
|
+
static names(): { [key: string]: string } {
|
|
15809
|
+
return {
|
|
15810
|
+
appId: 'AppId',
|
|
15811
|
+
};
|
|
15812
|
+
}
|
|
15813
|
+
|
|
15814
|
+
static types(): { [key: string]: any } {
|
|
15815
|
+
return {
|
|
15816
|
+
appId: 'string',
|
|
15817
|
+
};
|
|
15818
|
+
}
|
|
15819
|
+
|
|
15820
|
+
constructor(map?: { [key: string]: any }) {
|
|
15821
|
+
super(map);
|
|
15822
|
+
}
|
|
15823
|
+
}
|
|
15824
|
+
|
|
15825
|
+
export class DowngradeApplicationApmServiceResponseBody extends $tea.Model {
|
|
15826
|
+
/**
|
|
15827
|
+
* @example
|
|
15828
|
+
* 200
|
|
15829
|
+
*/
|
|
15830
|
+
code?: string;
|
|
15831
|
+
data?: DowngradeApplicationApmServiceResponseBodyData;
|
|
15832
|
+
errorCode?: string;
|
|
15833
|
+
/**
|
|
15834
|
+
* @example
|
|
15835
|
+
* success
|
|
15836
|
+
*/
|
|
15837
|
+
message?: string;
|
|
15838
|
+
/**
|
|
15839
|
+
* @example
|
|
15840
|
+
* 01CF26C7-00A3-4AA6-BA76-7E95F2A3****
|
|
15841
|
+
*/
|
|
15842
|
+
requestId?: string;
|
|
15843
|
+
success?: boolean;
|
|
15844
|
+
/**
|
|
15845
|
+
* @example
|
|
15846
|
+
* 0a98a02315955564772843261e****
|
|
15847
|
+
*/
|
|
15848
|
+
traceId?: string;
|
|
15849
|
+
static names(): { [key: string]: string } {
|
|
15850
|
+
return {
|
|
15851
|
+
code: 'Code',
|
|
15852
|
+
data: 'Data',
|
|
15853
|
+
errorCode: 'ErrorCode',
|
|
15854
|
+
message: 'Message',
|
|
15855
|
+
requestId: 'RequestId',
|
|
15856
|
+
success: 'Success',
|
|
15857
|
+
traceId: 'TraceId',
|
|
15858
|
+
};
|
|
15859
|
+
}
|
|
15860
|
+
|
|
15861
|
+
static types(): { [key: string]: any } {
|
|
15862
|
+
return {
|
|
15863
|
+
code: 'string',
|
|
15864
|
+
data: DowngradeApplicationApmServiceResponseBodyData,
|
|
15865
|
+
errorCode: 'string',
|
|
15866
|
+
message: 'string',
|
|
15867
|
+
requestId: 'string',
|
|
15868
|
+
success: 'boolean',
|
|
15869
|
+
traceId: 'string',
|
|
15870
|
+
};
|
|
15871
|
+
}
|
|
15872
|
+
|
|
15873
|
+
constructor(map?: { [key: string]: any }) {
|
|
15874
|
+
super(map);
|
|
15875
|
+
}
|
|
15876
|
+
}
|
|
15877
|
+
|
|
15878
|
+
export class DowngradeApplicationApmServiceResponse extends $tea.Model {
|
|
15879
|
+
headers?: { [key: string]: string };
|
|
15880
|
+
statusCode?: number;
|
|
15881
|
+
body?: DowngradeApplicationApmServiceResponseBody;
|
|
15882
|
+
static names(): { [key: string]: string } {
|
|
15883
|
+
return {
|
|
15884
|
+
headers: 'headers',
|
|
15885
|
+
statusCode: 'statusCode',
|
|
15886
|
+
body: 'body',
|
|
15887
|
+
};
|
|
15888
|
+
}
|
|
15889
|
+
|
|
15890
|
+
static types(): { [key: string]: any } {
|
|
15891
|
+
return {
|
|
15892
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
15893
|
+
statusCode: 'number',
|
|
15894
|
+
body: DowngradeApplicationApmServiceResponseBody,
|
|
15895
|
+
};
|
|
15896
|
+
}
|
|
15897
|
+
|
|
15898
|
+
constructor(map?: { [key: string]: any }) {
|
|
15899
|
+
super(map);
|
|
15900
|
+
}
|
|
15901
|
+
}
|
|
15902
|
+
|
|
15595
15903
|
export class EnableApplicationScalingRuleRequest extends $tea.Model {
|
|
15596
15904
|
/**
|
|
15597
15905
|
* @remarks
|
|
@@ -15910,6 +16218,108 @@ export class ExecJobResponse extends $tea.Model {
|
|
|
15910
16218
|
}
|
|
15911
16219
|
}
|
|
15912
16220
|
|
|
16221
|
+
export class GetApplicationRequest extends $tea.Model {
|
|
16222
|
+
/**
|
|
16223
|
+
* @example
|
|
16224
|
+
* 017f39b8-dfa4-4e16-a84b-1dcee4b1****
|
|
16225
|
+
*/
|
|
16226
|
+
appId?: string;
|
|
16227
|
+
/**
|
|
16228
|
+
* @example
|
|
16229
|
+
* test
|
|
16230
|
+
*/
|
|
16231
|
+
appName?: string;
|
|
16232
|
+
/**
|
|
16233
|
+
* @example
|
|
16234
|
+
* cn-shenzhen
|
|
16235
|
+
*/
|
|
16236
|
+
namespaceId?: string;
|
|
16237
|
+
static names(): { [key: string]: string } {
|
|
16238
|
+
return {
|
|
16239
|
+
appId: 'AppId',
|
|
16240
|
+
appName: 'AppName',
|
|
16241
|
+
namespaceId: 'NamespaceId',
|
|
16242
|
+
};
|
|
16243
|
+
}
|
|
16244
|
+
|
|
16245
|
+
static types(): { [key: string]: any } {
|
|
16246
|
+
return {
|
|
16247
|
+
appId: 'string',
|
|
16248
|
+
appName: 'string',
|
|
16249
|
+
namespaceId: 'string',
|
|
16250
|
+
};
|
|
16251
|
+
}
|
|
16252
|
+
|
|
16253
|
+
constructor(map?: { [key: string]: any }) {
|
|
16254
|
+
super(map);
|
|
16255
|
+
}
|
|
16256
|
+
}
|
|
16257
|
+
|
|
16258
|
+
export class GetApplicationResponseBody extends $tea.Model {
|
|
16259
|
+
application?: GetApplicationResponseBodyApplication;
|
|
16260
|
+
/**
|
|
16261
|
+
* @example
|
|
16262
|
+
* success
|
|
16263
|
+
*/
|
|
16264
|
+
message?: string;
|
|
16265
|
+
/**
|
|
16266
|
+
* @example
|
|
16267
|
+
* 01CF26C7-00A3-4AA6-BA76-7E95F2A3****
|
|
16268
|
+
*/
|
|
16269
|
+
requestId?: string;
|
|
16270
|
+
/**
|
|
16271
|
+
* @example
|
|
16272
|
+
* ac1a0b2215622920113732501e****
|
|
16273
|
+
*/
|
|
16274
|
+
traceId?: string;
|
|
16275
|
+
static names(): { [key: string]: string } {
|
|
16276
|
+
return {
|
|
16277
|
+
application: 'Application',
|
|
16278
|
+
message: 'Message',
|
|
16279
|
+
requestId: 'RequestId',
|
|
16280
|
+
traceId: 'TraceId',
|
|
16281
|
+
};
|
|
16282
|
+
}
|
|
16283
|
+
|
|
16284
|
+
static types(): { [key: string]: any } {
|
|
16285
|
+
return {
|
|
16286
|
+
application: GetApplicationResponseBodyApplication,
|
|
16287
|
+
message: 'string',
|
|
16288
|
+
requestId: 'string',
|
|
16289
|
+
traceId: 'string',
|
|
16290
|
+
};
|
|
16291
|
+
}
|
|
16292
|
+
|
|
16293
|
+
constructor(map?: { [key: string]: any }) {
|
|
16294
|
+
super(map);
|
|
16295
|
+
}
|
|
16296
|
+
}
|
|
16297
|
+
|
|
16298
|
+
export class GetApplicationResponse extends $tea.Model {
|
|
16299
|
+
headers?: { [key: string]: string };
|
|
16300
|
+
statusCode?: number;
|
|
16301
|
+
body?: GetApplicationResponseBody;
|
|
16302
|
+
static names(): { [key: string]: string } {
|
|
16303
|
+
return {
|
|
16304
|
+
headers: 'headers',
|
|
16305
|
+
statusCode: 'statusCode',
|
|
16306
|
+
body: 'body',
|
|
16307
|
+
};
|
|
16308
|
+
}
|
|
16309
|
+
|
|
16310
|
+
static types(): { [key: string]: any } {
|
|
16311
|
+
return {
|
|
16312
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
16313
|
+
statusCode: 'number',
|
|
16314
|
+
body: GetApplicationResponseBody,
|
|
16315
|
+
};
|
|
16316
|
+
}
|
|
16317
|
+
|
|
16318
|
+
constructor(map?: { [key: string]: any }) {
|
|
16319
|
+
super(map);
|
|
16320
|
+
}
|
|
16321
|
+
}
|
|
16322
|
+
|
|
15913
16323
|
export class GetArmsTopNMetricRequest extends $tea.Model {
|
|
15914
16324
|
/**
|
|
15915
16325
|
* @remarks
|
|
@@ -23269,21 +23679,45 @@ export class UpdateGreyTagRouteResponse extends $tea.Model {
|
|
|
23269
23679
|
|
|
23270
23680
|
export class UpdateIngressRequest extends $tea.Model {
|
|
23271
23681
|
/**
|
|
23682
|
+
* @remarks
|
|
23683
|
+
* The ID of the certificate that is associated with the Classic Load Balancer (**CLB**) instance.
|
|
23684
|
+
*
|
|
23685
|
+
* * If you set **LoadBalanceType** to **clb**, you can use CertId to configure a certificate for the HTTPS listener.
|
|
23686
|
+
*
|
|
23687
|
+
* For more information about how to manage the SSL certificate IDs that are used by CLB instances, see [Overview](https://help.aliyun.com/document_detail/90792.html).
|
|
23688
|
+
*
|
|
23272
23689
|
* @example
|
|
23273
23690
|
* 188077086902****_176993d****_181437****_108724****
|
|
23274
23691
|
*/
|
|
23275
23692
|
certId?: string;
|
|
23276
23693
|
/**
|
|
23694
|
+
* @remarks
|
|
23695
|
+
* The IDs of the certificates that are associated with the Application Load Balancer (**ALB**) instance.
|
|
23696
|
+
*
|
|
23697
|
+
* * If you set **LoadBalanceType** to **alb**, you can use CertIds to configure multiple certificates for the HTTPS listener. Separate multiple certificate IDs with commas (,).
|
|
23698
|
+
* * The ID of the SSL certificate that is used by an ALB instance can be obtained from Certificate Management Service. For example, if you specify `756***-cn-hangzhou`, `756***` is the certificate ID that is obtained from the service page, and `-cn-hangzhou` is the fixed suffix. For more information, see [Manage certificates](https://help.aliyun.com/document_detail/209076.html).
|
|
23699
|
+
*
|
|
23277
23700
|
* @example
|
|
23278
23701
|
* 87***35-cn-hangzhou,812***3-cn-hangzhou
|
|
23279
23702
|
*/
|
|
23280
23703
|
certIds?: string;
|
|
23281
23704
|
/**
|
|
23705
|
+
* @remarks
|
|
23706
|
+
* The default forwarding rule. You can specify a port and an application in the default forwarding rule to forward traffic based on the IP address. The following list describes the involved parameters:
|
|
23707
|
+
*
|
|
23708
|
+
* * **appId**: the ID of the application.
|
|
23709
|
+
* * **containerPort**: the container port of the application.
|
|
23710
|
+
*
|
|
23711
|
+
* > All requests that do not match the forwarding rules specified for Rules are forwarded over the port to the application.
|
|
23712
|
+
*
|
|
23282
23713
|
* @example
|
|
23283
23714
|
* {"appId":"395b60e4-0550-458d-9c54-a265d036****","containerPort":8080}
|
|
23284
23715
|
*/
|
|
23285
23716
|
defaultRule?: string;
|
|
23286
23717
|
/**
|
|
23718
|
+
* @remarks
|
|
23719
|
+
* The name of the routing rule.
|
|
23720
|
+
*
|
|
23287
23721
|
* @example
|
|
23288
23722
|
* ingress-sae-test
|
|
23289
23723
|
*/
|
|
@@ -23291,6 +23725,8 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23291
23725
|
idleTimeout?: number;
|
|
23292
23726
|
/**
|
|
23293
23727
|
* @remarks
|
|
23728
|
+
* The ID of the routing rule.
|
|
23729
|
+
*
|
|
23294
23730
|
* This parameter is required.
|
|
23295
23731
|
*
|
|
23296
23732
|
* @example
|
|
@@ -23298,22 +23734,42 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23298
23734
|
*/
|
|
23299
23735
|
ingressId?: number;
|
|
23300
23736
|
/**
|
|
23737
|
+
* @remarks
|
|
23738
|
+
* The port specified for the Server Load Balancer (SLB) listener. You must specify a vacant port.
|
|
23739
|
+
*
|
|
23301
23740
|
* @example
|
|
23302
23741
|
* 443
|
|
23303
23742
|
*/
|
|
23304
23743
|
listenerPort?: string;
|
|
23305
23744
|
/**
|
|
23745
|
+
* @remarks
|
|
23746
|
+
* The protocol that is used to forward requests. Valid values:
|
|
23747
|
+
*
|
|
23748
|
+
* * **HTTP**: HTTP is suitable for applications that need to identify the transmitted data.
|
|
23749
|
+
* * **HTTPS**: HTTPS is suitable for applications that require encrypted data transmission.
|
|
23750
|
+
*
|
|
23306
23751
|
* @example
|
|
23307
23752
|
* HTTP
|
|
23308
23753
|
*/
|
|
23309
23754
|
listenerProtocol?: string;
|
|
23310
23755
|
/**
|
|
23756
|
+
* @remarks
|
|
23757
|
+
* This parameter is discontinued.
|
|
23758
|
+
*
|
|
23311
23759
|
* @example
|
|
23312
23760
|
* clb
|
|
23313
23761
|
*/
|
|
23314
23762
|
loadBalanceType?: string;
|
|
23315
23763
|
requestTimeout?: number;
|
|
23316
23764
|
/**
|
|
23765
|
+
* @remarks
|
|
23766
|
+
* The forwarding rules. You can specify a port and an application in a forwarding rule to forward traffic based on the specified domain name and request path. The following list describes the involved parameters:
|
|
23767
|
+
*
|
|
23768
|
+
* * **appId**: the ID of the application.
|
|
23769
|
+
* * **containerPort**: the container port of the application.
|
|
23770
|
+
* * **domain**: the domain name.
|
|
23771
|
+
* * **path**: the request path.
|
|
23772
|
+
*
|
|
23317
23773
|
* @example
|
|
23318
23774
|
* [{"appId":"395b60e4-0550-458d-9c54-a265d036****","containerPort":8080,"domain":"www.sae.site","path":"/path1"},{"appId":"666403ce-d25b-47cf-87fe-497565d2****","containerPort":8080,"domain":"sae.site","path":"/path2"}]
|
|
23319
23775
|
*/
|
|
@@ -23360,28 +23816,65 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23360
23816
|
|
|
23361
23817
|
export class UpdateIngressResponseBody extends $tea.Model {
|
|
23362
23818
|
/**
|
|
23819
|
+
* @remarks
|
|
23820
|
+
* The HTTP status code. Valid values:
|
|
23821
|
+
*
|
|
23822
|
+
* * **2xx**: The request was successful.
|
|
23823
|
+
* * **3xx**: The request was redirected.
|
|
23824
|
+
* * **4xx**: The request failed.
|
|
23825
|
+
* * **5xx**: A server error occurred.
|
|
23826
|
+
*
|
|
23363
23827
|
* @example
|
|
23364
23828
|
* 200
|
|
23365
23829
|
*/
|
|
23366
23830
|
code?: string;
|
|
23831
|
+
/**
|
|
23832
|
+
* @remarks
|
|
23833
|
+
* The returned result.
|
|
23834
|
+
*/
|
|
23367
23835
|
data?: UpdateIngressResponseBodyData;
|
|
23836
|
+
/**
|
|
23837
|
+
* @remarks
|
|
23838
|
+
* The error code.
|
|
23839
|
+
*
|
|
23840
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
23841
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see the **Error codes** section of this topic.
|
|
23842
|
+
*/
|
|
23368
23843
|
errorCode?: string;
|
|
23369
23844
|
/**
|
|
23845
|
+
* @remarks
|
|
23846
|
+
* The returned information.
|
|
23847
|
+
*
|
|
23848
|
+
* * If the request was successful, **success** is returned.
|
|
23849
|
+
* * If the request failed, an error code is returned.
|
|
23850
|
+
*
|
|
23370
23851
|
* @example
|
|
23371
23852
|
* success
|
|
23372
23853
|
*/
|
|
23373
23854
|
message?: string;
|
|
23374
23855
|
/**
|
|
23856
|
+
* @remarks
|
|
23857
|
+
* The request ID.
|
|
23858
|
+
*
|
|
23375
23859
|
* @example
|
|
23376
23860
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
23377
23861
|
*/
|
|
23378
23862
|
requestId?: string;
|
|
23379
23863
|
/**
|
|
23864
|
+
* @remarks
|
|
23865
|
+
* Indicates whether the configurations of the routing rule were updated. Valid values:
|
|
23866
|
+
*
|
|
23867
|
+
* * **true**
|
|
23868
|
+
* * **false**
|
|
23869
|
+
*
|
|
23380
23870
|
* @example
|
|
23381
23871
|
* true
|
|
23382
23872
|
*/
|
|
23383
23873
|
success?: boolean;
|
|
23384
23874
|
/**
|
|
23875
|
+
* @remarks
|
|
23876
|
+
* The trace ID.
|
|
23877
|
+
*
|
|
23385
23878
|
* @example
|
|
23386
23879
|
* 0a98a02315955564772843261e****
|
|
23387
23880
|
*/
|
|
@@ -24834,6 +25327,114 @@ export class UpdateWebCustomDomainResponse extends $tea.Model {
|
|
|
24834
25327
|
}
|
|
24835
25328
|
}
|
|
24836
25329
|
|
|
25330
|
+
export class UpgradeApplicationApmServiceRequest extends $tea.Model {
|
|
25331
|
+
/**
|
|
25332
|
+
* @remarks
|
|
25333
|
+
* This parameter is required.
|
|
25334
|
+
*
|
|
25335
|
+
* @example
|
|
25336
|
+
* 017f39b8-dfa4-4e16-a84b-1dcee4b1****
|
|
25337
|
+
*/
|
|
25338
|
+
appId?: string;
|
|
25339
|
+
static names(): { [key: string]: string } {
|
|
25340
|
+
return {
|
|
25341
|
+
appId: 'AppId',
|
|
25342
|
+
};
|
|
25343
|
+
}
|
|
25344
|
+
|
|
25345
|
+
static types(): { [key: string]: any } {
|
|
25346
|
+
return {
|
|
25347
|
+
appId: 'string',
|
|
25348
|
+
};
|
|
25349
|
+
}
|
|
25350
|
+
|
|
25351
|
+
constructor(map?: { [key: string]: any }) {
|
|
25352
|
+
super(map);
|
|
25353
|
+
}
|
|
25354
|
+
}
|
|
25355
|
+
|
|
25356
|
+
export class UpgradeApplicationApmServiceResponseBody extends $tea.Model {
|
|
25357
|
+
/**
|
|
25358
|
+
* @example
|
|
25359
|
+
* 200
|
|
25360
|
+
*/
|
|
25361
|
+
code?: string;
|
|
25362
|
+
data?: UpgradeApplicationApmServiceResponseBodyData;
|
|
25363
|
+
/**
|
|
25364
|
+
* @example
|
|
25365
|
+
* success
|
|
25366
|
+
*/
|
|
25367
|
+
errorCode?: string;
|
|
25368
|
+
/**
|
|
25369
|
+
* @example
|
|
25370
|
+
* success
|
|
25371
|
+
*/
|
|
25372
|
+
message?: string;
|
|
25373
|
+
/**
|
|
25374
|
+
* @example
|
|
25375
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
25376
|
+
*/
|
|
25377
|
+
requestId?: string;
|
|
25378
|
+
success?: boolean;
|
|
25379
|
+
/**
|
|
25380
|
+
* @example
|
|
25381
|
+
* 0a98a02315955564772843261e****
|
|
25382
|
+
*/
|
|
25383
|
+
traceId?: string;
|
|
25384
|
+
static names(): { [key: string]: string } {
|
|
25385
|
+
return {
|
|
25386
|
+
code: 'Code',
|
|
25387
|
+
data: 'Data',
|
|
25388
|
+
errorCode: 'ErrorCode',
|
|
25389
|
+
message: 'Message',
|
|
25390
|
+
requestId: 'RequestId',
|
|
25391
|
+
success: 'Success',
|
|
25392
|
+
traceId: 'TraceId',
|
|
25393
|
+
};
|
|
25394
|
+
}
|
|
25395
|
+
|
|
25396
|
+
static types(): { [key: string]: any } {
|
|
25397
|
+
return {
|
|
25398
|
+
code: 'string',
|
|
25399
|
+
data: UpgradeApplicationApmServiceResponseBodyData,
|
|
25400
|
+
errorCode: 'string',
|
|
25401
|
+
message: 'string',
|
|
25402
|
+
requestId: 'string',
|
|
25403
|
+
success: 'boolean',
|
|
25404
|
+
traceId: 'string',
|
|
25405
|
+
};
|
|
25406
|
+
}
|
|
25407
|
+
|
|
25408
|
+
constructor(map?: { [key: string]: any }) {
|
|
25409
|
+
super(map);
|
|
25410
|
+
}
|
|
25411
|
+
}
|
|
25412
|
+
|
|
25413
|
+
export class UpgradeApplicationApmServiceResponse extends $tea.Model {
|
|
25414
|
+
headers?: { [key: string]: string };
|
|
25415
|
+
statusCode?: number;
|
|
25416
|
+
body?: UpgradeApplicationApmServiceResponseBody;
|
|
25417
|
+
static names(): { [key: string]: string } {
|
|
25418
|
+
return {
|
|
25419
|
+
headers: 'headers',
|
|
25420
|
+
statusCode: 'statusCode',
|
|
25421
|
+
body: 'body',
|
|
25422
|
+
};
|
|
25423
|
+
}
|
|
25424
|
+
|
|
25425
|
+
static types(): { [key: string]: any } {
|
|
25426
|
+
return {
|
|
25427
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
25428
|
+
statusCode: 'number',
|
|
25429
|
+
body: UpgradeApplicationApmServiceResponseBody,
|
|
25430
|
+
};
|
|
25431
|
+
}
|
|
25432
|
+
|
|
25433
|
+
constructor(map?: { [key: string]: any }) {
|
|
25434
|
+
super(map);
|
|
25435
|
+
}
|
|
25436
|
+
}
|
|
25437
|
+
|
|
24837
25438
|
export class AppStackInstanceEndpoints extends $tea.Model {
|
|
24838
25439
|
/**
|
|
24839
25440
|
* @example
|
|
@@ -26419,6 +27020,9 @@ export class CreateGreyTagRouteResponseBodyData extends $tea.Model {
|
|
|
26419
27020
|
|
|
26420
27021
|
export class CreateIngressResponseBodyData extends $tea.Model {
|
|
26421
27022
|
/**
|
|
27023
|
+
* @remarks
|
|
27024
|
+
* The ID of the routing rule.
|
|
27025
|
+
*
|
|
26422
27026
|
* @example
|
|
26423
27027
|
* 87
|
|
26424
27028
|
*/
|
|
@@ -27389,6 +27993,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
27389
27993
|
* true
|
|
27390
27994
|
*/
|
|
27391
27995
|
enableAhas?: string;
|
|
27996
|
+
enableCpuBurst?: string;
|
|
27392
27997
|
/**
|
|
27393
27998
|
* @remarks
|
|
27394
27999
|
* Indicates whether canary release rules are enabled. Canary release rules apply only to applications in Spring Cloud and Dubbo frameworks. Valid values:
|
|
@@ -27913,6 +28518,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
27913
28518
|
dotnet: 'Dotnet',
|
|
27914
28519
|
edasContainerVersion: 'EdasContainerVersion',
|
|
27915
28520
|
enableAhas: 'EnableAhas',
|
|
28521
|
+
enableCpuBurst: 'EnableCpuBurst',
|
|
27916
28522
|
enableGreyTagRoute: 'EnableGreyTagRoute',
|
|
27917
28523
|
enableIdle: 'EnableIdle',
|
|
27918
28524
|
enableNewArms: 'EnableNewArms',
|
|
@@ -27988,6 +28594,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
27988
28594
|
dotnet: 'string',
|
|
27989
28595
|
edasContainerVersion: 'string',
|
|
27990
28596
|
enableAhas: 'string',
|
|
28597
|
+
enableCpuBurst: 'string',
|
|
27991
28598
|
enableGreyTagRoute: 'boolean',
|
|
27992
28599
|
enableIdle: 'boolean',
|
|
27993
28600
|
enableNewArms: 'boolean',
|
|
@@ -30018,7 +30625,7 @@ export class DescribeApplicationSlbsResponseBodyData extends $tea.Model {
|
|
|
30018
30625
|
* The ID of the Internet-facing SLB instance.
|
|
30019
30626
|
*
|
|
30020
30627
|
* @example
|
|
30021
|
-
* 59.74
|
|
30628
|
+
* ``59.74.**.**``
|
|
30022
30629
|
*/
|
|
30023
30630
|
internetIp?: string;
|
|
30024
30631
|
internetSlbChargeType?: string;
|
|
@@ -30790,6 +31397,7 @@ export class DescribeConfigurationPriceResponseBodyDataBagUsage extends $tea.Mod
|
|
|
30790
31397
|
* 497570.450009
|
|
30791
31398
|
*/
|
|
30792
31399
|
cpu?: number;
|
|
31400
|
+
cu?: number;
|
|
30793
31401
|
/**
|
|
30794
31402
|
* @example
|
|
30795
31403
|
* 989802.563546
|
|
@@ -30798,6 +31406,7 @@ export class DescribeConfigurationPriceResponseBodyDataBagUsage extends $tea.Mod
|
|
|
30798
31406
|
static names(): { [key: string]: string } {
|
|
30799
31407
|
return {
|
|
30800
31408
|
cpu: 'Cpu',
|
|
31409
|
+
cu: 'Cu',
|
|
30801
31410
|
mem: 'Mem',
|
|
30802
31411
|
};
|
|
30803
31412
|
}
|
|
@@ -30805,6 +31414,7 @@ export class DescribeConfigurationPriceResponseBodyDataBagUsage extends $tea.Mod
|
|
|
30805
31414
|
static types(): { [key: string]: any } {
|
|
30806
31415
|
return {
|
|
30807
31416
|
cpu: 'number',
|
|
31417
|
+
cu: 'number',
|
|
30808
31418
|
mem: 'number',
|
|
30809
31419
|
};
|
|
30810
31420
|
}
|
|
@@ -33871,7 +34481,7 @@ export class DescribePipelineResponseBodyDataStageListTaskList extends $tea.Mode
|
|
|
33871
34481
|
* The error message returned when the task could not be executed. If the task is successfully executed, this parameter is not returned.
|
|
33872
34482
|
*
|
|
33873
34483
|
* @example
|
|
33874
|
-
* EDAS-10022
|
|
34484
|
+
* EDAS-10022
|
|
33875
34485
|
*/
|
|
33876
34486
|
errorMessage?: string;
|
|
33877
34487
|
/**
|
|
@@ -34384,6 +34994,29 @@ export class DescribeSecretResponseBodyData extends $tea.Model {
|
|
|
34384
34994
|
}
|
|
34385
34995
|
}
|
|
34386
34996
|
|
|
34997
|
+
export class DowngradeApplicationApmServiceResponseBodyData extends $tea.Model {
|
|
34998
|
+
/**
|
|
34999
|
+
* @example
|
|
35000
|
+
* true
|
|
35001
|
+
*/
|
|
35002
|
+
status?: boolean;
|
|
35003
|
+
static names(): { [key: string]: string } {
|
|
35004
|
+
return {
|
|
35005
|
+
status: 'Status',
|
|
35006
|
+
};
|
|
35007
|
+
}
|
|
35008
|
+
|
|
35009
|
+
static types(): { [key: string]: any } {
|
|
35010
|
+
return {
|
|
35011
|
+
status: 'boolean',
|
|
35012
|
+
};
|
|
35013
|
+
}
|
|
35014
|
+
|
|
35015
|
+
constructor(map?: { [key: string]: any }) {
|
|
35016
|
+
super(map);
|
|
35017
|
+
}
|
|
35018
|
+
}
|
|
35019
|
+
|
|
34387
35020
|
export class ExecJobResponseBodyData extends $tea.Model {
|
|
34388
35021
|
/**
|
|
34389
35022
|
* @example
|
|
@@ -34428,6 +35061,116 @@ export class ExecJobResponseBodyData extends $tea.Model {
|
|
|
34428
35061
|
}
|
|
34429
35062
|
}
|
|
34430
35063
|
|
|
35064
|
+
export class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
35065
|
+
appDescription?: string;
|
|
35066
|
+
/**
|
|
35067
|
+
* @example
|
|
35068
|
+
* 443d638a-ef76-47c4-b707-61197d******
|
|
35069
|
+
*/
|
|
35070
|
+
appId?: string;
|
|
35071
|
+
/**
|
|
35072
|
+
* @example
|
|
35073
|
+
* test
|
|
35074
|
+
*/
|
|
35075
|
+
appName?: string;
|
|
35076
|
+
/**
|
|
35077
|
+
* @example
|
|
35078
|
+
* ee99cce6-1c8e-4bfa-96c3-3e2fa9******
|
|
35079
|
+
*/
|
|
35080
|
+
baseAppId?: string;
|
|
35081
|
+
/**
|
|
35082
|
+
* @example
|
|
35083
|
+
* 2000
|
|
35084
|
+
*/
|
|
35085
|
+
cpu?: number;
|
|
35086
|
+
/**
|
|
35087
|
+
* @example
|
|
35088
|
+
* i-8ps2o182102o1jv05bys
|
|
35089
|
+
*/
|
|
35090
|
+
instances?: number;
|
|
35091
|
+
/**
|
|
35092
|
+
* @example
|
|
35093
|
+
* 4096
|
|
35094
|
+
*/
|
|
35095
|
+
mem?: number;
|
|
35096
|
+
/**
|
|
35097
|
+
* @example
|
|
35098
|
+
* true
|
|
35099
|
+
*/
|
|
35100
|
+
mseEnabled?: boolean;
|
|
35101
|
+
/**
|
|
35102
|
+
* @example
|
|
35103
|
+
* test
|
|
35104
|
+
*/
|
|
35105
|
+
mseNamespaceId?: string;
|
|
35106
|
+
/**
|
|
35107
|
+
* @example
|
|
35108
|
+
* cn-shenzhen
|
|
35109
|
+
*/
|
|
35110
|
+
namespaceId?: string;
|
|
35111
|
+
/**
|
|
35112
|
+
* @example
|
|
35113
|
+
* java
|
|
35114
|
+
*/
|
|
35115
|
+
programmingLanguage?: string;
|
|
35116
|
+
/**
|
|
35117
|
+
* @example
|
|
35118
|
+
* 1
|
|
35119
|
+
*/
|
|
35120
|
+
runningInstances?: number;
|
|
35121
|
+
/**
|
|
35122
|
+
* @example
|
|
35123
|
+
* true
|
|
35124
|
+
*/
|
|
35125
|
+
scaleRuleEnabled?: string;
|
|
35126
|
+
/**
|
|
35127
|
+
* @example
|
|
35128
|
+
* timing
|
|
35129
|
+
*/
|
|
35130
|
+
scaleRuleType?: string;
|
|
35131
|
+
static names(): { [key: string]: string } {
|
|
35132
|
+
return {
|
|
35133
|
+
appDescription: 'AppDescription',
|
|
35134
|
+
appId: 'AppId',
|
|
35135
|
+
appName: 'AppName',
|
|
35136
|
+
baseAppId: 'BaseAppId',
|
|
35137
|
+
cpu: 'Cpu',
|
|
35138
|
+
instances: 'Instances',
|
|
35139
|
+
mem: 'Mem',
|
|
35140
|
+
mseEnabled: 'MseEnabled',
|
|
35141
|
+
mseNamespaceId: 'MseNamespaceId',
|
|
35142
|
+
namespaceId: 'NamespaceId',
|
|
35143
|
+
programmingLanguage: 'ProgrammingLanguage',
|
|
35144
|
+
runningInstances: 'RunningInstances',
|
|
35145
|
+
scaleRuleEnabled: 'ScaleRuleEnabled',
|
|
35146
|
+
scaleRuleType: 'ScaleRuleType',
|
|
35147
|
+
};
|
|
35148
|
+
}
|
|
35149
|
+
|
|
35150
|
+
static types(): { [key: string]: any } {
|
|
35151
|
+
return {
|
|
35152
|
+
appDescription: 'string',
|
|
35153
|
+
appId: 'string',
|
|
35154
|
+
appName: 'string',
|
|
35155
|
+
baseAppId: 'string',
|
|
35156
|
+
cpu: 'number',
|
|
35157
|
+
instances: 'number',
|
|
35158
|
+
mem: 'number',
|
|
35159
|
+
mseEnabled: 'boolean',
|
|
35160
|
+
mseNamespaceId: 'string',
|
|
35161
|
+
namespaceId: 'string',
|
|
35162
|
+
programmingLanguage: 'string',
|
|
35163
|
+
runningInstances: 'number',
|
|
35164
|
+
scaleRuleEnabled: 'string',
|
|
35165
|
+
scaleRuleType: 'string',
|
|
35166
|
+
};
|
|
35167
|
+
}
|
|
35168
|
+
|
|
35169
|
+
constructor(map?: { [key: string]: any }) {
|
|
35170
|
+
super(map);
|
|
35171
|
+
}
|
|
35172
|
+
}
|
|
35173
|
+
|
|
34431
35174
|
export class GetArmsTopNMetricResponseBodyData extends $tea.Model {
|
|
34432
35175
|
/**
|
|
34433
35176
|
* @remarks
|
|
@@ -38381,6 +39124,9 @@ export class UpdateGreyTagRouteResponseBodyData extends $tea.Model {
|
|
|
38381
39124
|
|
|
38382
39125
|
export class UpdateIngressResponseBodyData extends $tea.Model {
|
|
38383
39126
|
/**
|
|
39127
|
+
* @remarks
|
|
39128
|
+
* The ID of the routing rule.
|
|
39129
|
+
*
|
|
38384
39130
|
* @example
|
|
38385
39131
|
* 87
|
|
38386
39132
|
*/
|
|
@@ -38553,6 +39299,29 @@ export class UpdateSecretResponseBodyData extends $tea.Model {
|
|
|
38553
39299
|
}
|
|
38554
39300
|
}
|
|
38555
39301
|
|
|
39302
|
+
export class UpgradeApplicationApmServiceResponseBodyData extends $tea.Model {
|
|
39303
|
+
/**
|
|
39304
|
+
* @example
|
|
39305
|
+
* true
|
|
39306
|
+
*/
|
|
39307
|
+
status?: boolean;
|
|
39308
|
+
static names(): { [key: string]: string } {
|
|
39309
|
+
return {
|
|
39310
|
+
status: 'Status',
|
|
39311
|
+
};
|
|
39312
|
+
}
|
|
39313
|
+
|
|
39314
|
+
static types(): { [key: string]: any } {
|
|
39315
|
+
return {
|
|
39316
|
+
status: 'boolean',
|
|
39317
|
+
};
|
|
39318
|
+
}
|
|
39319
|
+
|
|
39320
|
+
constructor(map?: { [key: string]: any }) {
|
|
39321
|
+
super(map);
|
|
39322
|
+
}
|
|
39323
|
+
}
|
|
39324
|
+
|
|
38556
39325
|
|
|
38557
39326
|
export default class Client extends OpenApi {
|
|
38558
39327
|
|
|
@@ -38935,6 +39704,10 @@ export default class Client extends OpenApi {
|
|
|
38935
39704
|
query["EdasContainerVersion"] = request.edasContainerVersion;
|
|
38936
39705
|
}
|
|
38937
39706
|
|
|
39707
|
+
if (!Util.isUnset(request.enableCpuBurst)) {
|
|
39708
|
+
query["EnableCpuBurst"] = request.enableCpuBurst;
|
|
39709
|
+
}
|
|
39710
|
+
|
|
38938
39711
|
if (!Util.isUnset(request.enableEbpf)) {
|
|
38939
39712
|
query["EnableEbpf"] = request.enableEbpf;
|
|
38940
39713
|
}
|
|
@@ -39391,7 +40164,7 @@ export default class Client extends OpenApi {
|
|
|
39391
40164
|
}
|
|
39392
40165
|
|
|
39393
40166
|
/**
|
|
39394
|
-
*
|
|
40167
|
+
* Creates a routing rule.
|
|
39395
40168
|
*
|
|
39396
40169
|
* @param request - CreateIngressRequest
|
|
39397
40170
|
* @param headers - map
|
|
@@ -39474,7 +40247,7 @@ export default class Client extends OpenApi {
|
|
|
39474
40247
|
}
|
|
39475
40248
|
|
|
39476
40249
|
/**
|
|
39477
|
-
*
|
|
40250
|
+
* Creates a routing rule.
|
|
39478
40251
|
*
|
|
39479
40252
|
* @param request - CreateIngressRequest
|
|
39480
40253
|
* @returns CreateIngressResponse
|
|
@@ -40563,6 +41336,10 @@ export default class Client extends OpenApi {
|
|
|
40563
41336
|
query["EnableAhas"] = request.enableAhas;
|
|
40564
41337
|
}
|
|
40565
41338
|
|
|
41339
|
+
if (!Util.isUnset(request.enableCpuBurst)) {
|
|
41340
|
+
query["EnableCpuBurst"] = request.enableCpuBurst;
|
|
41341
|
+
}
|
|
41342
|
+
|
|
40566
41343
|
if (!Util.isUnset(request.enableGreyTagRoute)) {
|
|
40567
41344
|
query["EnableGreyTagRoute"] = request.enableGreyTagRoute;
|
|
40568
41345
|
}
|
|
@@ -42463,6 +43240,47 @@ export default class Client extends OpenApi {
|
|
|
42463
43240
|
return await this.disableApplicationScalingRuleWithOptions(request, headers, runtime);
|
|
42464
43241
|
}
|
|
42465
43242
|
|
|
43243
|
+
/**
|
|
43244
|
+
* @param request - DowngradeApplicationApmServiceRequest
|
|
43245
|
+
* @param headers - map
|
|
43246
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
43247
|
+
* @returns DowngradeApplicationApmServiceResponse
|
|
43248
|
+
*/
|
|
43249
|
+
async downgradeApplicationApmServiceWithOptions(request: DowngradeApplicationApmServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DowngradeApplicationApmServiceResponse> {
|
|
43250
|
+
Util.validateModel(request);
|
|
43251
|
+
let query : {[key: string ]: any} = { };
|
|
43252
|
+
if (!Util.isUnset(request.appId)) {
|
|
43253
|
+
query["AppId"] = request.appId;
|
|
43254
|
+
}
|
|
43255
|
+
|
|
43256
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
43257
|
+
headers: headers,
|
|
43258
|
+
query: OpenApiUtil.query(query),
|
|
43259
|
+
});
|
|
43260
|
+
let params = new $OpenApi.Params({
|
|
43261
|
+
action: "DowngradeApplicationApmService",
|
|
43262
|
+
version: "2019-05-06",
|
|
43263
|
+
protocol: "HTTPS",
|
|
43264
|
+
pathname: `/pop/v1/sam/app/applicationApmService`,
|
|
43265
|
+
method: "DELETE",
|
|
43266
|
+
authType: "AK",
|
|
43267
|
+
style: "ROA",
|
|
43268
|
+
reqBodyType: "json",
|
|
43269
|
+
bodyType: "json",
|
|
43270
|
+
});
|
|
43271
|
+
return $tea.cast<DowngradeApplicationApmServiceResponse>(await this.callApi(params, req, runtime), new DowngradeApplicationApmServiceResponse({}));
|
|
43272
|
+
}
|
|
43273
|
+
|
|
43274
|
+
/**
|
|
43275
|
+
* @param request - DowngradeApplicationApmServiceRequest
|
|
43276
|
+
* @returns DowngradeApplicationApmServiceResponse
|
|
43277
|
+
*/
|
|
43278
|
+
async downgradeApplicationApmService(request: DowngradeApplicationApmServiceRequest): Promise<DowngradeApplicationApmServiceResponse> {
|
|
43279
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
43280
|
+
let headers : {[key: string ]: string} = { };
|
|
43281
|
+
return await this.downgradeApplicationApmServiceWithOptions(request, headers, runtime);
|
|
43282
|
+
}
|
|
43283
|
+
|
|
42466
43284
|
/**
|
|
42467
43285
|
* Enables an auto scaling policy for an application.
|
|
42468
43286
|
*
|
|
@@ -42589,6 +43407,59 @@ export default class Client extends OpenApi {
|
|
|
42589
43407
|
return await this.execJobWithOptions(request, headers, runtime);
|
|
42590
43408
|
}
|
|
42591
43409
|
|
|
43410
|
+
/**
|
|
43411
|
+
* 查询应用基本信息
|
|
43412
|
+
*
|
|
43413
|
+
* @param request - GetApplicationRequest
|
|
43414
|
+
* @param headers - map
|
|
43415
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
43416
|
+
* @returns GetApplicationResponse
|
|
43417
|
+
*/
|
|
43418
|
+
async getApplicationWithOptions(request: GetApplicationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetApplicationResponse> {
|
|
43419
|
+
Util.validateModel(request);
|
|
43420
|
+
let query : {[key: string ]: any} = { };
|
|
43421
|
+
if (!Util.isUnset(request.appId)) {
|
|
43422
|
+
query["AppId"] = request.appId;
|
|
43423
|
+
}
|
|
43424
|
+
|
|
43425
|
+
if (!Util.isUnset(request.appName)) {
|
|
43426
|
+
query["AppName"] = request.appName;
|
|
43427
|
+
}
|
|
43428
|
+
|
|
43429
|
+
if (!Util.isUnset(request.namespaceId)) {
|
|
43430
|
+
query["NamespaceId"] = request.namespaceId;
|
|
43431
|
+
}
|
|
43432
|
+
|
|
43433
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
43434
|
+
headers: headers,
|
|
43435
|
+
query: OpenApiUtil.query(query),
|
|
43436
|
+
});
|
|
43437
|
+
let params = new $OpenApi.Params({
|
|
43438
|
+
action: "GetApplication",
|
|
43439
|
+
version: "2019-05-06",
|
|
43440
|
+
protocol: "HTTPS",
|
|
43441
|
+
pathname: `/pop/v1/sam/app/getApplication`,
|
|
43442
|
+
method: "GET",
|
|
43443
|
+
authType: "AK",
|
|
43444
|
+
style: "ROA",
|
|
43445
|
+
reqBodyType: "json",
|
|
43446
|
+
bodyType: "json",
|
|
43447
|
+
});
|
|
43448
|
+
return $tea.cast<GetApplicationResponse>(await this.callApi(params, req, runtime), new GetApplicationResponse({}));
|
|
43449
|
+
}
|
|
43450
|
+
|
|
43451
|
+
/**
|
|
43452
|
+
* 查询应用基本信息
|
|
43453
|
+
*
|
|
43454
|
+
* @param request - GetApplicationRequest
|
|
43455
|
+
* @returns GetApplicationResponse
|
|
43456
|
+
*/
|
|
43457
|
+
async getApplication(request: GetApplicationRequest): Promise<GetApplicationResponse> {
|
|
43458
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
43459
|
+
let headers : {[key: string ]: string} = { };
|
|
43460
|
+
return await this.getApplicationWithOptions(request, headers, runtime);
|
|
43461
|
+
}
|
|
43462
|
+
|
|
42592
43463
|
/**
|
|
42593
43464
|
* Queries the top N applications in Application Monitoring.
|
|
42594
43465
|
*
|
|
@@ -45228,6 +46099,8 @@ export default class Client extends OpenApi {
|
|
|
45228
46099
|
}
|
|
45229
46100
|
|
|
45230
46101
|
/**
|
|
46102
|
+
* Updates the configurations of a routing rule.
|
|
46103
|
+
*
|
|
45231
46104
|
* @param request - UpdateIngressRequest
|
|
45232
46105
|
* @param headers - map
|
|
45233
46106
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -45305,6 +46178,8 @@ export default class Client extends OpenApi {
|
|
|
45305
46178
|
}
|
|
45306
46179
|
|
|
45307
46180
|
/**
|
|
46181
|
+
* Updates the configurations of a routing rule.
|
|
46182
|
+
*
|
|
45308
46183
|
* @param request - UpdateIngressRequest
|
|
45309
46184
|
* @returns UpdateIngressResponse
|
|
45310
46185
|
*/
|
|
@@ -45902,4 +46777,45 @@ export default class Client extends OpenApi {
|
|
|
45902
46777
|
return await this.updateWebCustomDomainWithOptions(DomainName, request, headers, runtime);
|
|
45903
46778
|
}
|
|
45904
46779
|
|
|
46780
|
+
/**
|
|
46781
|
+
* @param request - UpgradeApplicationApmServiceRequest
|
|
46782
|
+
* @param headers - map
|
|
46783
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
46784
|
+
* @returns UpgradeApplicationApmServiceResponse
|
|
46785
|
+
*/
|
|
46786
|
+
async upgradeApplicationApmServiceWithOptions(request: UpgradeApplicationApmServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpgradeApplicationApmServiceResponse> {
|
|
46787
|
+
Util.validateModel(request);
|
|
46788
|
+
let query : {[key: string ]: any} = { };
|
|
46789
|
+
if (!Util.isUnset(request.appId)) {
|
|
46790
|
+
query["AppId"] = request.appId;
|
|
46791
|
+
}
|
|
46792
|
+
|
|
46793
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
46794
|
+
headers: headers,
|
|
46795
|
+
query: OpenApiUtil.query(query),
|
|
46796
|
+
});
|
|
46797
|
+
let params = new $OpenApi.Params({
|
|
46798
|
+
action: "UpgradeApplicationApmService",
|
|
46799
|
+
version: "2019-05-06",
|
|
46800
|
+
protocol: "HTTPS",
|
|
46801
|
+
pathname: `/pop/v1/sam/app/applicationApmService`,
|
|
46802
|
+
method: "POST",
|
|
46803
|
+
authType: "AK",
|
|
46804
|
+
style: "ROA",
|
|
46805
|
+
reqBodyType: "json",
|
|
46806
|
+
bodyType: "json",
|
|
46807
|
+
});
|
|
46808
|
+
return $tea.cast<UpgradeApplicationApmServiceResponse>(await this.callApi(params, req, runtime), new UpgradeApplicationApmServiceResponse({}));
|
|
46809
|
+
}
|
|
46810
|
+
|
|
46811
|
+
/**
|
|
46812
|
+
* @param request - UpgradeApplicationApmServiceRequest
|
|
46813
|
+
* @returns UpgradeApplicationApmServiceResponse
|
|
46814
|
+
*/
|
|
46815
|
+
async upgradeApplicationApmService(request: UpgradeApplicationApmServiceRequest): Promise<UpgradeApplicationApmServiceResponse> {
|
|
46816
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
46817
|
+
let headers : {[key: string ]: string} = { };
|
|
46818
|
+
return await this.upgradeApplicationApmServiceWithOptions(request, headers, runtime);
|
|
46819
|
+
}
|
|
46820
|
+
|
|
45905
46821
|
}
|