@alicloud/sae20190506 1.25.0 → 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 +263 -2
- package/dist/client.js +80 -16
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +296 -2
package/package.json
CHANGED
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;
|
|
@@ -7250,17 +7334,34 @@ export class CreateGreyTagRouteResponse extends $tea.Model {
|
|
|
7250
7334
|
|
|
7251
7335
|
export class CreateIngressRequest extends $tea.Model {
|
|
7252
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
|
+
*
|
|
7253
7344
|
* @example
|
|
7254
7345
|
* 188077086902****_176993d****_181437****_108724****
|
|
7255
7346
|
*/
|
|
7256
7347
|
certId?: string;
|
|
7257
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
|
+
*
|
|
7258
7355
|
* @example
|
|
7259
7356
|
* 87***35-cn-hangzhou,812***3-cn-hangzhou
|
|
7260
7357
|
*/
|
|
7261
7358
|
certIds?: string;
|
|
7262
7359
|
/**
|
|
7263
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
|
+
*
|
|
7264
7365
|
* This parameter is required.
|
|
7265
7366
|
*
|
|
7266
7367
|
* @example
|
|
@@ -7268,13 +7369,28 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7268
7369
|
*/
|
|
7269
7370
|
defaultRule?: string;
|
|
7270
7371
|
/**
|
|
7372
|
+
* @remarks
|
|
7373
|
+
* Route rule name.
|
|
7374
|
+
*
|
|
7271
7375
|
* @example
|
|
7272
7376
|
* ingress-for-sae-test
|
|
7273
7377
|
*/
|
|
7274
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
|
+
*/
|
|
7275
7388
|
idleTimeout?: number;
|
|
7276
7389
|
/**
|
|
7277
7390
|
* @remarks
|
|
7391
|
+
* SThe frontend port that is used by the ALB instance.
|
|
7392
|
+
* Valid values: 1 to 65535.
|
|
7393
|
+
*
|
|
7278
7394
|
* This parameter is required.
|
|
7279
7395
|
*
|
|
7280
7396
|
* @example
|
|
@@ -7282,35 +7398,77 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7282
7398
|
*/
|
|
7283
7399
|
listenerPort?: number;
|
|
7284
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
|
+
*
|
|
7285
7405
|
* @example
|
|
7286
7406
|
* HTTP
|
|
7287
7407
|
*/
|
|
7288
7408
|
listenerProtocol?: string;
|
|
7289
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
|
+
*
|
|
7290
7416
|
* @example
|
|
7291
7417
|
* clb
|
|
7292
7418
|
*/
|
|
7293
7419
|
loadBalanceType?: string;
|
|
7294
7420
|
/**
|
|
7295
7421
|
* @remarks
|
|
7422
|
+
* The ID of the namespace where the application is located. Currently, cross-namespace applications are not supported.
|
|
7423
|
+
*
|
|
7296
7424
|
* This parameter is required.
|
|
7297
7425
|
*
|
|
7298
7426
|
* @example
|
|
7299
7427
|
* cn-beijing:sae-test
|
|
7300
7428
|
*/
|
|
7301
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
|
+
*/
|
|
7302
7438
|
requestTimeout?: number;
|
|
7303
7439
|
/**
|
|
7304
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
|
+
*
|
|
7305
7452
|
* This parameter is required.
|
|
7306
7453
|
*
|
|
7307
7454
|
* @example
|
|
7308
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"}]
|
|
7309
7456
|
*/
|
|
7310
7457
|
rules?: string;
|
|
7458
|
+
/**
|
|
7459
|
+
* @remarks
|
|
7460
|
+
* The security policy ID.
|
|
7461
|
+
*
|
|
7462
|
+
* @example
|
|
7463
|
+
* sp-bp1bpn0kn9****
|
|
7464
|
+
*/
|
|
7311
7465
|
securityPolicyId?: string;
|
|
7312
7466
|
/**
|
|
7313
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
|
+
*
|
|
7314
7472
|
* This parameter is required.
|
|
7315
7473
|
*
|
|
7316
7474
|
* @example
|
|
@@ -7360,28 +7518,68 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7360
7518
|
|
|
7361
7519
|
export class CreateIngressResponseBody extends $tea.Model {
|
|
7362
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
|
+
*
|
|
7363
7529
|
* @example
|
|
7364
7530
|
* 200
|
|
7365
7531
|
*/
|
|
7366
7532
|
code?: string;
|
|
7533
|
+
/**
|
|
7534
|
+
* @remarks
|
|
7535
|
+
* The response.
|
|
7536
|
+
*/
|
|
7367
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
|
+
*/
|
|
7368
7548
|
errorCode?: string;
|
|
7369
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
|
+
*
|
|
7370
7556
|
* @example
|
|
7371
7557
|
* success
|
|
7372
7558
|
*/
|
|
7373
7559
|
message?: string;
|
|
7374
7560
|
/**
|
|
7561
|
+
* @remarks
|
|
7562
|
+
* The ID of the request.
|
|
7563
|
+
*
|
|
7375
7564
|
* @example
|
|
7376
7565
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
7377
7566
|
*/
|
|
7378
7567
|
requestId?: string;
|
|
7379
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
|
+
*
|
|
7380
7575
|
* @example
|
|
7381
7576
|
* true
|
|
7382
7577
|
*/
|
|
7383
7578
|
success?: boolean;
|
|
7384
7579
|
/**
|
|
7580
|
+
* @remarks
|
|
7581
|
+
* The ID of the trace. It is used to query the details of a request.
|
|
7582
|
+
*
|
|
7385
7583
|
* @example
|
|
7386
7584
|
* 0a98a02315955564772843261e****
|
|
7387
7585
|
*/
|
|
@@ -23481,21 +23679,45 @@ export class UpdateGreyTagRouteResponse extends $tea.Model {
|
|
|
23481
23679
|
|
|
23482
23680
|
export class UpdateIngressRequest extends $tea.Model {
|
|
23483
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
|
+
*
|
|
23484
23689
|
* @example
|
|
23485
23690
|
* 188077086902****_176993d****_181437****_108724****
|
|
23486
23691
|
*/
|
|
23487
23692
|
certId?: string;
|
|
23488
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
|
+
*
|
|
23489
23700
|
* @example
|
|
23490
23701
|
* 87***35-cn-hangzhou,812***3-cn-hangzhou
|
|
23491
23702
|
*/
|
|
23492
23703
|
certIds?: string;
|
|
23493
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
|
+
*
|
|
23494
23713
|
* @example
|
|
23495
23714
|
* {"appId":"395b60e4-0550-458d-9c54-a265d036****","containerPort":8080}
|
|
23496
23715
|
*/
|
|
23497
23716
|
defaultRule?: string;
|
|
23498
23717
|
/**
|
|
23718
|
+
* @remarks
|
|
23719
|
+
* The name of the routing rule.
|
|
23720
|
+
*
|
|
23499
23721
|
* @example
|
|
23500
23722
|
* ingress-sae-test
|
|
23501
23723
|
*/
|
|
@@ -23503,6 +23725,8 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23503
23725
|
idleTimeout?: number;
|
|
23504
23726
|
/**
|
|
23505
23727
|
* @remarks
|
|
23728
|
+
* The ID of the routing rule.
|
|
23729
|
+
*
|
|
23506
23730
|
* This parameter is required.
|
|
23507
23731
|
*
|
|
23508
23732
|
* @example
|
|
@@ -23510,22 +23734,42 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23510
23734
|
*/
|
|
23511
23735
|
ingressId?: number;
|
|
23512
23736
|
/**
|
|
23737
|
+
* @remarks
|
|
23738
|
+
* The port specified for the Server Load Balancer (SLB) listener. You must specify a vacant port.
|
|
23739
|
+
*
|
|
23513
23740
|
* @example
|
|
23514
23741
|
* 443
|
|
23515
23742
|
*/
|
|
23516
23743
|
listenerPort?: string;
|
|
23517
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
|
+
*
|
|
23518
23751
|
* @example
|
|
23519
23752
|
* HTTP
|
|
23520
23753
|
*/
|
|
23521
23754
|
listenerProtocol?: string;
|
|
23522
23755
|
/**
|
|
23756
|
+
* @remarks
|
|
23757
|
+
* This parameter is discontinued.
|
|
23758
|
+
*
|
|
23523
23759
|
* @example
|
|
23524
23760
|
* clb
|
|
23525
23761
|
*/
|
|
23526
23762
|
loadBalanceType?: string;
|
|
23527
23763
|
requestTimeout?: number;
|
|
23528
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
|
+
*
|
|
23529
23773
|
* @example
|
|
23530
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"}]
|
|
23531
23775
|
*/
|
|
@@ -23572,28 +23816,65 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23572
23816
|
|
|
23573
23817
|
export class UpdateIngressResponseBody extends $tea.Model {
|
|
23574
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
|
+
*
|
|
23575
23827
|
* @example
|
|
23576
23828
|
* 200
|
|
23577
23829
|
*/
|
|
23578
23830
|
code?: string;
|
|
23831
|
+
/**
|
|
23832
|
+
* @remarks
|
|
23833
|
+
* The returned result.
|
|
23834
|
+
*/
|
|
23579
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
|
+
*/
|
|
23580
23843
|
errorCode?: string;
|
|
23581
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
|
+
*
|
|
23582
23851
|
* @example
|
|
23583
23852
|
* success
|
|
23584
23853
|
*/
|
|
23585
23854
|
message?: string;
|
|
23586
23855
|
/**
|
|
23856
|
+
* @remarks
|
|
23857
|
+
* The request ID.
|
|
23858
|
+
*
|
|
23587
23859
|
* @example
|
|
23588
23860
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
23589
23861
|
*/
|
|
23590
23862
|
requestId?: string;
|
|
23591
23863
|
/**
|
|
23864
|
+
* @remarks
|
|
23865
|
+
* Indicates whether the configurations of the routing rule were updated. Valid values:
|
|
23866
|
+
*
|
|
23867
|
+
* * **true**
|
|
23868
|
+
* * **false**
|
|
23869
|
+
*
|
|
23592
23870
|
* @example
|
|
23593
23871
|
* true
|
|
23594
23872
|
*/
|
|
23595
23873
|
success?: boolean;
|
|
23596
23874
|
/**
|
|
23875
|
+
* @remarks
|
|
23876
|
+
* The trace ID.
|
|
23877
|
+
*
|
|
23597
23878
|
* @example
|
|
23598
23879
|
* 0a98a02315955564772843261e****
|
|
23599
23880
|
*/
|
|
@@ -26739,6 +27020,9 @@ export class CreateGreyTagRouteResponseBodyData extends $tea.Model {
|
|
|
26739
27020
|
|
|
26740
27021
|
export class CreateIngressResponseBodyData extends $tea.Model {
|
|
26741
27022
|
/**
|
|
27023
|
+
* @remarks
|
|
27024
|
+
* The ID of the routing rule.
|
|
27025
|
+
*
|
|
26742
27026
|
* @example
|
|
26743
27027
|
* 87
|
|
26744
27028
|
*/
|
|
@@ -31113,6 +31397,7 @@ export class DescribeConfigurationPriceResponseBodyDataBagUsage extends $tea.Mod
|
|
|
31113
31397
|
* 497570.450009
|
|
31114
31398
|
*/
|
|
31115
31399
|
cpu?: number;
|
|
31400
|
+
cu?: number;
|
|
31116
31401
|
/**
|
|
31117
31402
|
* @example
|
|
31118
31403
|
* 989802.563546
|
|
@@ -31121,6 +31406,7 @@ export class DescribeConfigurationPriceResponseBodyDataBagUsage extends $tea.Mod
|
|
|
31121
31406
|
static names(): { [key: string]: string } {
|
|
31122
31407
|
return {
|
|
31123
31408
|
cpu: 'Cpu',
|
|
31409
|
+
cu: 'Cu',
|
|
31124
31410
|
mem: 'Mem',
|
|
31125
31411
|
};
|
|
31126
31412
|
}
|
|
@@ -31128,6 +31414,7 @@ export class DescribeConfigurationPriceResponseBodyDataBagUsage extends $tea.Mod
|
|
|
31128
31414
|
static types(): { [key: string]: any } {
|
|
31129
31415
|
return {
|
|
31130
31416
|
cpu: 'number',
|
|
31417
|
+
cu: 'number',
|
|
31131
31418
|
mem: 'number',
|
|
31132
31419
|
};
|
|
31133
31420
|
}
|
|
@@ -38837,6 +39124,9 @@ export class UpdateGreyTagRouteResponseBodyData extends $tea.Model {
|
|
|
38837
39124
|
|
|
38838
39125
|
export class UpdateIngressResponseBodyData extends $tea.Model {
|
|
38839
39126
|
/**
|
|
39127
|
+
* @remarks
|
|
39128
|
+
* The ID of the routing rule.
|
|
39129
|
+
*
|
|
38840
39130
|
* @example
|
|
38841
39131
|
* 87
|
|
38842
39132
|
*/
|
|
@@ -39874,7 +40164,7 @@ export default class Client extends OpenApi {
|
|
|
39874
40164
|
}
|
|
39875
40165
|
|
|
39876
40166
|
/**
|
|
39877
|
-
*
|
|
40167
|
+
* Creates a routing rule.
|
|
39878
40168
|
*
|
|
39879
40169
|
* @param request - CreateIngressRequest
|
|
39880
40170
|
* @param headers - map
|
|
@@ -39957,7 +40247,7 @@ export default class Client extends OpenApi {
|
|
|
39957
40247
|
}
|
|
39958
40248
|
|
|
39959
40249
|
/**
|
|
39960
|
-
*
|
|
40250
|
+
* Creates a routing rule.
|
|
39961
40251
|
*
|
|
39962
40252
|
* @param request - CreateIngressRequest
|
|
39963
40253
|
* @returns CreateIngressResponse
|
|
@@ -45809,6 +46099,8 @@ export default class Client extends OpenApi {
|
|
|
45809
46099
|
}
|
|
45810
46100
|
|
|
45811
46101
|
/**
|
|
46102
|
+
* Updates the configurations of a routing rule.
|
|
46103
|
+
*
|
|
45812
46104
|
* @param request - UpdateIngressRequest
|
|
45813
46105
|
* @param headers - map
|
|
45814
46106
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -45886,6 +46178,8 @@ export default class Client extends OpenApi {
|
|
|
45886
46178
|
}
|
|
45887
46179
|
|
|
45888
46180
|
/**
|
|
46181
|
+
* Updates the configurations of a routing rule.
|
|
46182
|
+
*
|
|
45889
46183
|
* @param request - UpdateIngressRequest
|
|
45890
46184
|
* @returns UpdateIngressResponse
|
|
45891
46185
|
*/
|