@alicloud/esa20240910 2.23.0 → 2.24.0
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 +447 -119
- package/dist/client.js +619 -112
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +873 -182
package/src/client.ts
CHANGED
|
@@ -2626,6 +2626,7 @@ export class CreateHttpRequestHeaderModificationRuleRequestRequestHeaderModifica
|
|
|
2626
2626
|
* add
|
|
2627
2627
|
*/
|
|
2628
2628
|
operation?: string;
|
|
2629
|
+
type?: string;
|
|
2629
2630
|
/**
|
|
2630
2631
|
* @remarks
|
|
2631
2632
|
* Request header value.
|
|
@@ -2638,6 +2639,7 @@ export class CreateHttpRequestHeaderModificationRuleRequestRequestHeaderModifica
|
|
|
2638
2639
|
return {
|
|
2639
2640
|
name: 'Name',
|
|
2640
2641
|
operation: 'Operation',
|
|
2642
|
+
type: 'Type',
|
|
2641
2643
|
value: 'Value',
|
|
2642
2644
|
};
|
|
2643
2645
|
}
|
|
@@ -2646,6 +2648,7 @@ export class CreateHttpRequestHeaderModificationRuleRequestRequestHeaderModifica
|
|
|
2646
2648
|
return {
|
|
2647
2649
|
name: 'string',
|
|
2648
2650
|
operation: 'string',
|
|
2651
|
+
type: 'string',
|
|
2649
2652
|
value: 'string',
|
|
2650
2653
|
};
|
|
2651
2654
|
}
|
|
@@ -2684,6 +2687,7 @@ export class CreateHttpResponseHeaderModificationRuleRequestResponseHeaderModifi
|
|
|
2684
2687
|
* add
|
|
2685
2688
|
*/
|
|
2686
2689
|
operation?: string;
|
|
2690
|
+
type?: string;
|
|
2687
2691
|
/**
|
|
2688
2692
|
* @remarks
|
|
2689
2693
|
* Response header value.
|
|
@@ -2696,6 +2700,7 @@ export class CreateHttpResponseHeaderModificationRuleRequestResponseHeaderModifi
|
|
|
2696
2700
|
return {
|
|
2697
2701
|
name: 'Name',
|
|
2698
2702
|
operation: 'Operation',
|
|
2703
|
+
type: 'Type',
|
|
2699
2704
|
value: 'Value',
|
|
2700
2705
|
};
|
|
2701
2706
|
}
|
|
@@ -2704,6 +2709,7 @@ export class CreateHttpResponseHeaderModificationRuleRequestResponseHeaderModifi
|
|
|
2704
2709
|
return {
|
|
2705
2710
|
name: 'string',
|
|
2706
2711
|
operation: 'string',
|
|
2712
|
+
type: 'string',
|
|
2707
2713
|
value: 'string',
|
|
2708
2714
|
};
|
|
2709
2715
|
}
|
|
@@ -7715,6 +7721,7 @@ export class GetHttpRequestHeaderModificationRuleResponseBodyRequestHeaderModifi
|
|
|
7715
7721
|
* add
|
|
7716
7722
|
*/
|
|
7717
7723
|
operation?: string;
|
|
7724
|
+
type?: string;
|
|
7718
7725
|
/**
|
|
7719
7726
|
* @remarks
|
|
7720
7727
|
* Request header value.
|
|
@@ -7727,6 +7734,7 @@ export class GetHttpRequestHeaderModificationRuleResponseBodyRequestHeaderModifi
|
|
|
7727
7734
|
return {
|
|
7728
7735
|
name: 'Name',
|
|
7729
7736
|
operation: 'Operation',
|
|
7737
|
+
type: 'Type',
|
|
7730
7738
|
value: 'Value',
|
|
7731
7739
|
};
|
|
7732
7740
|
}
|
|
@@ -7735,6 +7743,7 @@ export class GetHttpRequestHeaderModificationRuleResponseBodyRequestHeaderModifi
|
|
|
7735
7743
|
return {
|
|
7736
7744
|
name: 'string',
|
|
7737
7745
|
operation: 'string',
|
|
7746
|
+
type: 'string',
|
|
7738
7747
|
value: 'string',
|
|
7739
7748
|
};
|
|
7740
7749
|
}
|
|
@@ -7769,6 +7778,7 @@ export class GetHttpResponseHeaderModificationRuleResponseBodyResponseHeaderModi
|
|
|
7769
7778
|
* add
|
|
7770
7779
|
*/
|
|
7771
7780
|
operation?: string;
|
|
7781
|
+
type?: string;
|
|
7772
7782
|
/**
|
|
7773
7783
|
* @remarks
|
|
7774
7784
|
* Response header value.
|
|
@@ -7781,6 +7791,7 @@ export class GetHttpResponseHeaderModificationRuleResponseBodyResponseHeaderModi
|
|
|
7781
7791
|
return {
|
|
7782
7792
|
name: 'Name',
|
|
7783
7793
|
operation: 'Operation',
|
|
7794
|
+
type: 'Type',
|
|
7784
7795
|
value: 'Value',
|
|
7785
7796
|
};
|
|
7786
7797
|
}
|
|
@@ -7789,6 +7800,7 @@ export class GetHttpResponseHeaderModificationRuleResponseBodyResponseHeaderModi
|
|
|
7789
7800
|
return {
|
|
7790
7801
|
name: 'string',
|
|
7791
7802
|
operation: 'string',
|
|
7803
|
+
type: 'string',
|
|
7792
7804
|
value: 'string',
|
|
7793
7805
|
};
|
|
7794
7806
|
}
|
|
@@ -9760,21 +9772,12 @@ export class GetRoutineResponseBodyEnvs extends $dara.Model {
|
|
|
9760
9772
|
* production
|
|
9761
9773
|
*/
|
|
9762
9774
|
env?: string;
|
|
9763
|
-
/**
|
|
9764
|
-
* @remarks
|
|
9765
|
-
* The specification.
|
|
9766
|
-
*
|
|
9767
|
-
* @example
|
|
9768
|
-
* 5ms
|
|
9769
|
-
*/
|
|
9770
|
-
specName?: string;
|
|
9771
9775
|
static names(): { [key: string]: string } {
|
|
9772
9776
|
return {
|
|
9773
9777
|
canaryAreaList: 'CanaryAreaList',
|
|
9774
9778
|
canaryCodeVersion: 'CanaryCodeVersion',
|
|
9775
9779
|
codeVersion: 'CodeVersion',
|
|
9776
9780
|
env: 'Env',
|
|
9777
|
-
specName: 'SpecName',
|
|
9778
9781
|
};
|
|
9779
9782
|
}
|
|
9780
9783
|
|
|
@@ -9784,7 +9787,6 @@ export class GetRoutineResponseBodyEnvs extends $dara.Model {
|
|
|
9784
9787
|
canaryCodeVersion: 'string',
|
|
9785
9788
|
codeVersion: 'string',
|
|
9786
9789
|
env: 'string',
|
|
9787
|
-
specName: 'string',
|
|
9788
9790
|
};
|
|
9789
9791
|
}
|
|
9790
9792
|
|
|
@@ -11658,6 +11660,174 @@ export class ListCertificatesResponseBodyResult extends $dara.Model {
|
|
|
11658
11660
|
}
|
|
11659
11661
|
}
|
|
11660
11662
|
|
|
11663
|
+
export class ListCertificatesByRecordResponseBodyResultCertificates extends $dara.Model {
|
|
11664
|
+
/**
|
|
11665
|
+
* @example
|
|
11666
|
+
* 30000137
|
|
11667
|
+
*/
|
|
11668
|
+
casId?: string;
|
|
11669
|
+
/**
|
|
11670
|
+
* @example
|
|
11671
|
+
* www.example.com
|
|
11672
|
+
*/
|
|
11673
|
+
commonName?: string;
|
|
11674
|
+
/**
|
|
11675
|
+
* @example
|
|
11676
|
+
* 2023-02-28 06:17:11
|
|
11677
|
+
*/
|
|
11678
|
+
createTime?: string;
|
|
11679
|
+
/**
|
|
11680
|
+
* @example
|
|
11681
|
+
* 1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456aca66
|
|
11682
|
+
*/
|
|
11683
|
+
fingerprintSha256?: string;
|
|
11684
|
+
id?: string;
|
|
11685
|
+
/**
|
|
11686
|
+
* @example
|
|
11687
|
+
* GlobalSign nv-sa
|
|
11688
|
+
*/
|
|
11689
|
+
issuer?: string;
|
|
11690
|
+
/**
|
|
11691
|
+
* @example
|
|
11692
|
+
* GlobalSign Organization Validation CA - SHA256 - G3
|
|
11693
|
+
*/
|
|
11694
|
+
issuerCN?: string;
|
|
11695
|
+
name?: string;
|
|
11696
|
+
/**
|
|
11697
|
+
* @example
|
|
11698
|
+
* 2024-02-28 06:17:11
|
|
11699
|
+
*/
|
|
11700
|
+
notAfter?: string;
|
|
11701
|
+
/**
|
|
11702
|
+
* @example
|
|
11703
|
+
* 2023-02-28 06:17:11
|
|
11704
|
+
*/
|
|
11705
|
+
notBefore?: string;
|
|
11706
|
+
/**
|
|
11707
|
+
* @example
|
|
11708
|
+
* RSA
|
|
11709
|
+
*/
|
|
11710
|
+
pubAlg?: string;
|
|
11711
|
+
region?: string;
|
|
11712
|
+
/**
|
|
11713
|
+
* @example
|
|
11714
|
+
* www.example.com,*.example.com
|
|
11715
|
+
*/
|
|
11716
|
+
SAN?: string;
|
|
11717
|
+
/**
|
|
11718
|
+
* @example
|
|
11719
|
+
* baba39055622c008b90285a8838ed09a
|
|
11720
|
+
*/
|
|
11721
|
+
serialNumber?: string;
|
|
11722
|
+
/**
|
|
11723
|
+
* @example
|
|
11724
|
+
* SHA256-RSA
|
|
11725
|
+
*/
|
|
11726
|
+
sigAlg?: string;
|
|
11727
|
+
status?: string;
|
|
11728
|
+
/**
|
|
11729
|
+
* @example
|
|
11730
|
+
* free
|
|
11731
|
+
*/
|
|
11732
|
+
type?: string;
|
|
11733
|
+
/**
|
|
11734
|
+
* @example
|
|
11735
|
+
* 2023-02-28 06:17:11
|
|
11736
|
+
*/
|
|
11737
|
+
updateTime?: string;
|
|
11738
|
+
static names(): { [key: string]: string } {
|
|
11739
|
+
return {
|
|
11740
|
+
casId: 'CasId',
|
|
11741
|
+
commonName: 'CommonName',
|
|
11742
|
+
createTime: 'CreateTime',
|
|
11743
|
+
fingerprintSha256: 'FingerprintSha256',
|
|
11744
|
+
id: 'Id',
|
|
11745
|
+
issuer: 'Issuer',
|
|
11746
|
+
issuerCN: 'IssuerCN',
|
|
11747
|
+
name: 'Name',
|
|
11748
|
+
notAfter: 'NotAfter',
|
|
11749
|
+
notBefore: 'NotBefore',
|
|
11750
|
+
pubAlg: 'PubAlg',
|
|
11751
|
+
region: 'Region',
|
|
11752
|
+
SAN: 'SAN',
|
|
11753
|
+
serialNumber: 'SerialNumber',
|
|
11754
|
+
sigAlg: 'SigAlg',
|
|
11755
|
+
status: 'Status',
|
|
11756
|
+
type: 'Type',
|
|
11757
|
+
updateTime: 'UpdateTime',
|
|
11758
|
+
};
|
|
11759
|
+
}
|
|
11760
|
+
|
|
11761
|
+
static types(): { [key: string]: any } {
|
|
11762
|
+
return {
|
|
11763
|
+
casId: 'string',
|
|
11764
|
+
commonName: 'string',
|
|
11765
|
+
createTime: 'string',
|
|
11766
|
+
fingerprintSha256: 'string',
|
|
11767
|
+
id: 'string',
|
|
11768
|
+
issuer: 'string',
|
|
11769
|
+
issuerCN: 'string',
|
|
11770
|
+
name: 'string',
|
|
11771
|
+
notAfter: 'string',
|
|
11772
|
+
notBefore: 'string',
|
|
11773
|
+
pubAlg: 'string',
|
|
11774
|
+
region: 'string',
|
|
11775
|
+
SAN: 'string',
|
|
11776
|
+
serialNumber: 'string',
|
|
11777
|
+
sigAlg: 'string',
|
|
11778
|
+
status: 'string',
|
|
11779
|
+
type: 'string',
|
|
11780
|
+
updateTime: 'string',
|
|
11781
|
+
};
|
|
11782
|
+
}
|
|
11783
|
+
|
|
11784
|
+
validate() {
|
|
11785
|
+
super.validate();
|
|
11786
|
+
}
|
|
11787
|
+
|
|
11788
|
+
constructor(map?: { [key: string]: any }) {
|
|
11789
|
+
super(map);
|
|
11790
|
+
}
|
|
11791
|
+
}
|
|
11792
|
+
|
|
11793
|
+
export class ListCertificatesByRecordResponseBodyResult extends $dara.Model {
|
|
11794
|
+
applylingCount?: number;
|
|
11795
|
+
certificates?: ListCertificatesByRecordResponseBodyResultCertificates[];
|
|
11796
|
+
count?: number;
|
|
11797
|
+
recordName?: string;
|
|
11798
|
+
status?: string;
|
|
11799
|
+
static names(): { [key: string]: string } {
|
|
11800
|
+
return {
|
|
11801
|
+
applylingCount: 'ApplylingCount',
|
|
11802
|
+
certificates: 'Certificates',
|
|
11803
|
+
count: 'Count',
|
|
11804
|
+
recordName: 'RecordName',
|
|
11805
|
+
status: 'Status',
|
|
11806
|
+
};
|
|
11807
|
+
}
|
|
11808
|
+
|
|
11809
|
+
static types(): { [key: string]: any } {
|
|
11810
|
+
return {
|
|
11811
|
+
applylingCount: 'number',
|
|
11812
|
+
certificates: { 'type': 'array', 'itemType': ListCertificatesByRecordResponseBodyResultCertificates },
|
|
11813
|
+
count: 'number',
|
|
11814
|
+
recordName: 'string',
|
|
11815
|
+
status: 'string',
|
|
11816
|
+
};
|
|
11817
|
+
}
|
|
11818
|
+
|
|
11819
|
+
validate() {
|
|
11820
|
+
if(Array.isArray(this.certificates)) {
|
|
11821
|
+
$dara.Model.validateArray(this.certificates);
|
|
11822
|
+
}
|
|
11823
|
+
super.validate();
|
|
11824
|
+
}
|
|
11825
|
+
|
|
11826
|
+
constructor(map?: { [key: string]: any }) {
|
|
11827
|
+
super(map);
|
|
11828
|
+
}
|
|
11829
|
+
}
|
|
11830
|
+
|
|
11661
11831
|
export class ListClientCaCertificatesResponseBodyResult extends $dara.Model {
|
|
11662
11832
|
/**
|
|
11663
11833
|
* @remarks
|
|
@@ -13153,6 +13323,7 @@ export class ListHttpRequestHeaderModificationRulesResponseBodyConfigsRequestHea
|
|
|
13153
13323
|
* add
|
|
13154
13324
|
*/
|
|
13155
13325
|
operation?: string;
|
|
13326
|
+
type?: string;
|
|
13156
13327
|
/**
|
|
13157
13328
|
* @remarks
|
|
13158
13329
|
* The value of the request header.
|
|
@@ -13165,6 +13336,7 @@ export class ListHttpRequestHeaderModificationRulesResponseBodyConfigsRequestHea
|
|
|
13165
13336
|
return {
|
|
13166
13337
|
name: 'Name',
|
|
13167
13338
|
operation: 'Operation',
|
|
13339
|
+
type: 'Type',
|
|
13168
13340
|
value: 'Value',
|
|
13169
13341
|
};
|
|
13170
13342
|
}
|
|
@@ -13173,6 +13345,7 @@ export class ListHttpRequestHeaderModificationRulesResponseBodyConfigsRequestHea
|
|
|
13173
13345
|
return {
|
|
13174
13346
|
name: 'string',
|
|
13175
13347
|
operation: 'string',
|
|
13348
|
+
type: 'string',
|
|
13176
13349
|
value: 'string',
|
|
13177
13350
|
};
|
|
13178
13351
|
}
|
|
@@ -13312,6 +13485,7 @@ export class ListHttpResponseHeaderModificationRulesResponseBodyConfigsResponseH
|
|
|
13312
13485
|
* add
|
|
13313
13486
|
*/
|
|
13314
13487
|
operation?: string;
|
|
13488
|
+
type?: string;
|
|
13315
13489
|
/**
|
|
13316
13490
|
* @remarks
|
|
13317
13491
|
* Response header value.
|
|
@@ -13324,6 +13498,7 @@ export class ListHttpResponseHeaderModificationRulesResponseBodyConfigsResponseH
|
|
|
13324
13498
|
return {
|
|
13325
13499
|
name: 'Name',
|
|
13326
13500
|
operation: 'Operation',
|
|
13501
|
+
type: 'Type',
|
|
13327
13502
|
value: 'Value',
|
|
13328
13503
|
};
|
|
13329
13504
|
}
|
|
@@ -13332,6 +13507,7 @@ export class ListHttpResponseHeaderModificationRulesResponseBodyConfigsResponseH
|
|
|
13332
13507
|
return {
|
|
13333
13508
|
name: 'string',
|
|
13334
13509
|
operation: 'string',
|
|
13510
|
+
type: 'string',
|
|
13335
13511
|
value: 'string',
|
|
13336
13512
|
};
|
|
13337
13513
|
}
|
|
@@ -17240,37 +17416,42 @@ export class ListRewriteUrlRulesResponseBodyConfigs extends $dara.Model {
|
|
|
17240
17416
|
}
|
|
17241
17417
|
}
|
|
17242
17418
|
|
|
17243
|
-
export class
|
|
17419
|
+
export class ListRoutineRelatedRecordsResponseBodyRelatedRecords extends $dara.Model {
|
|
17244
17420
|
/**
|
|
17245
|
-
* @remarks
|
|
17246
|
-
* Indicates whether the specification is available. Valid values:
|
|
17247
|
-
*
|
|
17248
|
-
* * true
|
|
17249
|
-
* * false
|
|
17250
|
-
*
|
|
17251
17421
|
* @example
|
|
17252
|
-
*
|
|
17422
|
+
* 509348423011904
|
|
17253
17423
|
*/
|
|
17254
|
-
|
|
17424
|
+
recordId?: number;
|
|
17425
|
+
/**
|
|
17426
|
+
* @example
|
|
17427
|
+
* test-record-1.example.com
|
|
17428
|
+
*/
|
|
17429
|
+
recordName?: string;
|
|
17255
17430
|
/**
|
|
17256
|
-
* @remarks
|
|
17257
|
-
* The specification name.
|
|
17258
|
-
*
|
|
17259
17431
|
* @example
|
|
17260
|
-
*
|
|
17432
|
+
* 54362329990032
|
|
17433
|
+
*/
|
|
17434
|
+
siteId?: number;
|
|
17435
|
+
/**
|
|
17436
|
+
* @example
|
|
17437
|
+
* example.com
|
|
17261
17438
|
*/
|
|
17262
|
-
|
|
17439
|
+
siteName?: string;
|
|
17263
17440
|
static names(): { [key: string]: string } {
|
|
17264
17441
|
return {
|
|
17265
|
-
|
|
17266
|
-
|
|
17442
|
+
recordId: 'RecordId',
|
|
17443
|
+
recordName: 'RecordName',
|
|
17444
|
+
siteId: 'SiteId',
|
|
17445
|
+
siteName: 'SiteName',
|
|
17267
17446
|
};
|
|
17268
17447
|
}
|
|
17269
17448
|
|
|
17270
17449
|
static types(): { [key: string]: any } {
|
|
17271
17450
|
return {
|
|
17272
|
-
|
|
17273
|
-
|
|
17451
|
+
recordId: 'number',
|
|
17452
|
+
recordName: 'string',
|
|
17453
|
+
siteId: 'number',
|
|
17454
|
+
siteName: 'string',
|
|
17274
17455
|
};
|
|
17275
17456
|
}
|
|
17276
17457
|
|
|
@@ -17333,7 +17514,7 @@ export class ListRoutineRoutesResponseBodyConfigs extends $dara.Model {
|
|
|
17333
17514
|
* @example
|
|
17334
17515
|
* 554889455535696
|
|
17335
17516
|
*/
|
|
17336
|
-
siteId?:
|
|
17517
|
+
siteId?: number;
|
|
17337
17518
|
/**
|
|
17338
17519
|
* @example
|
|
17339
17520
|
* test.com
|
|
@@ -17372,7 +17553,7 @@ export class ListRoutineRoutesResponseBodyConfigs extends $dara.Model {
|
|
|
17372
17553
|
routineName: 'string',
|
|
17373
17554
|
rule: 'string',
|
|
17374
17555
|
sequence: 'number',
|
|
17375
|
-
siteId: '
|
|
17556
|
+
siteId: 'number',
|
|
17376
17557
|
siteName: 'string',
|
|
17377
17558
|
siteVersion: 'number',
|
|
17378
17559
|
};
|
|
@@ -18590,6 +18771,35 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $dara.Mod
|
|
|
18590
18771
|
}
|
|
18591
18772
|
}
|
|
18592
18773
|
|
|
18774
|
+
export class ListUserRoutinesResponseBodyRoutines extends $dara.Model {
|
|
18775
|
+
createTime?: string;
|
|
18776
|
+
description?: string;
|
|
18777
|
+
routineName?: string;
|
|
18778
|
+
static names(): { [key: string]: string } {
|
|
18779
|
+
return {
|
|
18780
|
+
createTime: 'CreateTime',
|
|
18781
|
+
description: 'Description',
|
|
18782
|
+
routineName: 'RoutineName',
|
|
18783
|
+
};
|
|
18784
|
+
}
|
|
18785
|
+
|
|
18786
|
+
static types(): { [key: string]: any } {
|
|
18787
|
+
return {
|
|
18788
|
+
createTime: 'string',
|
|
18789
|
+
description: 'string',
|
|
18790
|
+
routineName: 'string',
|
|
18791
|
+
};
|
|
18792
|
+
}
|
|
18793
|
+
|
|
18794
|
+
validate() {
|
|
18795
|
+
super.validate();
|
|
18796
|
+
}
|
|
18797
|
+
|
|
18798
|
+
constructor(map?: { [key: string]: any }) {
|
|
18799
|
+
super(map);
|
|
18800
|
+
}
|
|
18801
|
+
}
|
|
18802
|
+
|
|
18593
18803
|
export class ListWafManagedRulesRequestQueryArgs extends $dara.Model {
|
|
18594
18804
|
/**
|
|
18595
18805
|
* @remarks
|
|
@@ -19238,6 +19448,7 @@ export class ListWafRulesetsResponseBodyRulesets extends $dara.Model {
|
|
|
19238
19448
|
}
|
|
19239
19449
|
|
|
19240
19450
|
export class ListWafTemplateRulesRequestQueryArgs extends $dara.Model {
|
|
19451
|
+
kinds?: string[];
|
|
19241
19452
|
/**
|
|
19242
19453
|
* @remarks
|
|
19243
19454
|
* Rule type.
|
|
@@ -19248,17 +19459,22 @@ export class ListWafTemplateRulesRequestQueryArgs extends $dara.Model {
|
|
|
19248
19459
|
type?: string;
|
|
19249
19460
|
static names(): { [key: string]: string } {
|
|
19250
19461
|
return {
|
|
19462
|
+
kinds: 'Kinds',
|
|
19251
19463
|
type: 'Type',
|
|
19252
19464
|
};
|
|
19253
19465
|
}
|
|
19254
19466
|
|
|
19255
19467
|
static types(): { [key: string]: any } {
|
|
19256
19468
|
return {
|
|
19469
|
+
kinds: { 'type': 'array', 'itemType': 'string' },
|
|
19257
19470
|
type: 'string',
|
|
19258
19471
|
};
|
|
19259
19472
|
}
|
|
19260
19473
|
|
|
19261
19474
|
validate() {
|
|
19475
|
+
if(Array.isArray(this.kinds)) {
|
|
19476
|
+
$dara.Model.validateArray(this.kinds);
|
|
19477
|
+
}
|
|
19262
19478
|
super.validate();
|
|
19263
19479
|
}
|
|
19264
19480
|
|
|
@@ -20206,6 +20422,7 @@ export class UpdateHttpRequestHeaderModificationRuleRequestRequestHeaderModifica
|
|
|
20206
20422
|
* add
|
|
20207
20423
|
*/
|
|
20208
20424
|
operation?: string;
|
|
20425
|
+
type?: string;
|
|
20209
20426
|
/**
|
|
20210
20427
|
* @remarks
|
|
20211
20428
|
* Request header value.
|
|
@@ -20218,6 +20435,7 @@ export class UpdateHttpRequestHeaderModificationRuleRequestRequestHeaderModifica
|
|
|
20218
20435
|
return {
|
|
20219
20436
|
name: 'Name',
|
|
20220
20437
|
operation: 'Operation',
|
|
20438
|
+
type: 'Type',
|
|
20221
20439
|
value: 'Value',
|
|
20222
20440
|
};
|
|
20223
20441
|
}
|
|
@@ -20226,6 +20444,7 @@ export class UpdateHttpRequestHeaderModificationRuleRequestRequestHeaderModifica
|
|
|
20226
20444
|
return {
|
|
20227
20445
|
name: 'string',
|
|
20228
20446
|
operation: 'string',
|
|
20447
|
+
type: 'string',
|
|
20229
20448
|
value: 'string',
|
|
20230
20449
|
};
|
|
20231
20450
|
}
|
|
@@ -20263,6 +20482,7 @@ export class UpdateHttpResponseHeaderModificationRuleRequestResponseHeaderModifi
|
|
|
20263
20482
|
* add
|
|
20264
20483
|
*/
|
|
20265
20484
|
operation?: string;
|
|
20485
|
+
type?: string;
|
|
20266
20486
|
/**
|
|
20267
20487
|
* @remarks
|
|
20268
20488
|
* Response header value.
|
|
@@ -20275,6 +20495,7 @@ export class UpdateHttpResponseHeaderModificationRuleRequestResponseHeaderModifi
|
|
|
20275
20495
|
return {
|
|
20276
20496
|
name: 'Name',
|
|
20277
20497
|
operation: 'Operation',
|
|
20498
|
+
type: 'Type',
|
|
20278
20499
|
value: 'Value',
|
|
20279
20500
|
};
|
|
20280
20501
|
}
|
|
@@ -20283,6 +20504,7 @@ export class UpdateHttpResponseHeaderModificationRuleRequestResponseHeaderModifi
|
|
|
20283
20504
|
return {
|
|
20284
20505
|
name: 'string',
|
|
20285
20506
|
operation: 'string',
|
|
20507
|
+
type: 'string',
|
|
20286
20508
|
value: 'string',
|
|
20287
20509
|
};
|
|
20288
20510
|
}
|
|
@@ -29936,19 +30158,10 @@ export class CreateRoutineRequest extends $dara.Model {
|
|
|
29936
30158
|
* test-routine1
|
|
29937
30159
|
*/
|
|
29938
30160
|
name?: string;
|
|
29939
|
-
/**
|
|
29940
|
-
* @remarks
|
|
29941
|
-
* The specification of the routine.
|
|
29942
|
-
*
|
|
29943
|
-
* @example
|
|
29944
|
-
* 5ms
|
|
29945
|
-
*/
|
|
29946
|
-
specName?: string;
|
|
29947
30161
|
static names(): { [key: string]: string } {
|
|
29948
30162
|
return {
|
|
29949
30163
|
description: 'Description',
|
|
29950
30164
|
name: 'Name',
|
|
29951
|
-
specName: 'SpecName',
|
|
29952
30165
|
};
|
|
29953
30166
|
}
|
|
29954
30167
|
|
|
@@ -29956,7 +30169,6 @@ export class CreateRoutineRequest extends $dara.Model {
|
|
|
29956
30169
|
return {
|
|
29957
30170
|
description: 'string',
|
|
29958
30171
|
name: 'string',
|
|
29959
|
-
specName: 'string',
|
|
29960
30172
|
};
|
|
29961
30173
|
}
|
|
29962
30174
|
|
|
@@ -44582,6 +44794,126 @@ export class GetEdgeContainerTerminalResponse extends $dara.Model {
|
|
|
44582
44794
|
}
|
|
44583
44795
|
}
|
|
44584
44796
|
|
|
44797
|
+
export class GetErServiceRequest extends $dara.Model {
|
|
44798
|
+
ownerId?: number;
|
|
44799
|
+
securityToken?: string;
|
|
44800
|
+
static names(): { [key: string]: string } {
|
|
44801
|
+
return {
|
|
44802
|
+
ownerId: 'OwnerId',
|
|
44803
|
+
securityToken: 'SecurityToken',
|
|
44804
|
+
};
|
|
44805
|
+
}
|
|
44806
|
+
|
|
44807
|
+
static types(): { [key: string]: any } {
|
|
44808
|
+
return {
|
|
44809
|
+
ownerId: 'number',
|
|
44810
|
+
securityToken: 'string',
|
|
44811
|
+
};
|
|
44812
|
+
}
|
|
44813
|
+
|
|
44814
|
+
validate() {
|
|
44815
|
+
super.validate();
|
|
44816
|
+
}
|
|
44817
|
+
|
|
44818
|
+
constructor(map?: { [key: string]: any }) {
|
|
44819
|
+
super(map);
|
|
44820
|
+
}
|
|
44821
|
+
}
|
|
44822
|
+
|
|
44823
|
+
export class GetErServiceResponseBody extends $dara.Model {
|
|
44824
|
+
/**
|
|
44825
|
+
* @remarks
|
|
44826
|
+
* The billing mode. Valid values:
|
|
44827
|
+
*
|
|
44828
|
+
* * er_paymode: billed for customers on the China site.
|
|
44829
|
+
* * er_freemode: free for customers on the China site.
|
|
44830
|
+
* * er_paymodeintl: billed for customers on the International site.
|
|
44831
|
+
* * err_freemodeintl: free for customers on the International site
|
|
44832
|
+
*
|
|
44833
|
+
* @example
|
|
44834
|
+
* er_paymode
|
|
44835
|
+
*/
|
|
44836
|
+
planName?: string;
|
|
44837
|
+
/**
|
|
44838
|
+
* @remarks
|
|
44839
|
+
* The request ID.
|
|
44840
|
+
*
|
|
44841
|
+
* @example
|
|
44842
|
+
* CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
|
|
44843
|
+
*/
|
|
44844
|
+
requestId?: string;
|
|
44845
|
+
/**
|
|
44846
|
+
* @remarks
|
|
44847
|
+
* The service status. Valid values:
|
|
44848
|
+
*
|
|
44849
|
+
* * Creating
|
|
44850
|
+
* * Running
|
|
44851
|
+
* * NotOpened
|
|
44852
|
+
*
|
|
44853
|
+
* @example
|
|
44854
|
+
* Running
|
|
44855
|
+
*/
|
|
44856
|
+
status?: string;
|
|
44857
|
+
static names(): { [key: string]: string } {
|
|
44858
|
+
return {
|
|
44859
|
+
planName: 'PlanName',
|
|
44860
|
+
requestId: 'RequestId',
|
|
44861
|
+
status: 'Status',
|
|
44862
|
+
};
|
|
44863
|
+
}
|
|
44864
|
+
|
|
44865
|
+
static types(): { [key: string]: any } {
|
|
44866
|
+
return {
|
|
44867
|
+
planName: 'string',
|
|
44868
|
+
requestId: 'string',
|
|
44869
|
+
status: 'string',
|
|
44870
|
+
};
|
|
44871
|
+
}
|
|
44872
|
+
|
|
44873
|
+
validate() {
|
|
44874
|
+
super.validate();
|
|
44875
|
+
}
|
|
44876
|
+
|
|
44877
|
+
constructor(map?: { [key: string]: any }) {
|
|
44878
|
+
super(map);
|
|
44879
|
+
}
|
|
44880
|
+
}
|
|
44881
|
+
|
|
44882
|
+
export class GetErServiceResponse extends $dara.Model {
|
|
44883
|
+
headers?: { [key: string]: string };
|
|
44884
|
+
statusCode?: number;
|
|
44885
|
+
body?: GetErServiceResponseBody;
|
|
44886
|
+
static names(): { [key: string]: string } {
|
|
44887
|
+
return {
|
|
44888
|
+
headers: 'headers',
|
|
44889
|
+
statusCode: 'statusCode',
|
|
44890
|
+
body: 'body',
|
|
44891
|
+
};
|
|
44892
|
+
}
|
|
44893
|
+
|
|
44894
|
+
static types(): { [key: string]: any } {
|
|
44895
|
+
return {
|
|
44896
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
44897
|
+
statusCode: 'number',
|
|
44898
|
+
body: GetErServiceResponseBody,
|
|
44899
|
+
};
|
|
44900
|
+
}
|
|
44901
|
+
|
|
44902
|
+
validate() {
|
|
44903
|
+
if(this.headers) {
|
|
44904
|
+
$dara.Model.validateMap(this.headers);
|
|
44905
|
+
}
|
|
44906
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
44907
|
+
(this.body as any).validate();
|
|
44908
|
+
}
|
|
44909
|
+
super.validate();
|
|
44910
|
+
}
|
|
44911
|
+
|
|
44912
|
+
constructor(map?: { [key: string]: any }) {
|
|
44913
|
+
super(map);
|
|
44914
|
+
}
|
|
44915
|
+
}
|
|
44916
|
+
|
|
44585
44917
|
export class GetHttpRequestHeaderModificationRuleRequest extends $dara.Model {
|
|
44586
44918
|
/**
|
|
44587
44919
|
* @remarks
|
|
@@ -53377,6 +53709,122 @@ export class ListCertificatesResponse extends $dara.Model {
|
|
|
53377
53709
|
}
|
|
53378
53710
|
}
|
|
53379
53711
|
|
|
53712
|
+
export class ListCertificatesByRecordRequest extends $dara.Model {
|
|
53713
|
+
detail?: boolean;
|
|
53714
|
+
/**
|
|
53715
|
+
* @remarks
|
|
53716
|
+
* This parameter is required.
|
|
53717
|
+
*/
|
|
53718
|
+
recordName?: string;
|
|
53719
|
+
/**
|
|
53720
|
+
* @remarks
|
|
53721
|
+
* This parameter is required.
|
|
53722
|
+
*
|
|
53723
|
+
* @example
|
|
53724
|
+
* 1234567890123
|
|
53725
|
+
*/
|
|
53726
|
+
siteId?: number;
|
|
53727
|
+
validOnly?: boolean;
|
|
53728
|
+
static names(): { [key: string]: string } {
|
|
53729
|
+
return {
|
|
53730
|
+
detail: 'Detail',
|
|
53731
|
+
recordName: 'RecordName',
|
|
53732
|
+
siteId: 'SiteId',
|
|
53733
|
+
validOnly: 'ValidOnly',
|
|
53734
|
+
};
|
|
53735
|
+
}
|
|
53736
|
+
|
|
53737
|
+
static types(): { [key: string]: any } {
|
|
53738
|
+
return {
|
|
53739
|
+
detail: 'boolean',
|
|
53740
|
+
recordName: 'string',
|
|
53741
|
+
siteId: 'number',
|
|
53742
|
+
validOnly: 'boolean',
|
|
53743
|
+
};
|
|
53744
|
+
}
|
|
53745
|
+
|
|
53746
|
+
validate() {
|
|
53747
|
+
super.validate();
|
|
53748
|
+
}
|
|
53749
|
+
|
|
53750
|
+
constructor(map?: { [key: string]: any }) {
|
|
53751
|
+
super(map);
|
|
53752
|
+
}
|
|
53753
|
+
}
|
|
53754
|
+
|
|
53755
|
+
export class ListCertificatesByRecordResponseBody extends $dara.Model {
|
|
53756
|
+
requestId?: string;
|
|
53757
|
+
result?: ListCertificatesByRecordResponseBodyResult[];
|
|
53758
|
+
siteId?: number;
|
|
53759
|
+
siteName?: string;
|
|
53760
|
+
totalCount?: number;
|
|
53761
|
+
static names(): { [key: string]: string } {
|
|
53762
|
+
return {
|
|
53763
|
+
requestId: 'RequestId',
|
|
53764
|
+
result: 'Result',
|
|
53765
|
+
siteId: 'SiteId',
|
|
53766
|
+
siteName: 'SiteName',
|
|
53767
|
+
totalCount: 'TotalCount',
|
|
53768
|
+
};
|
|
53769
|
+
}
|
|
53770
|
+
|
|
53771
|
+
static types(): { [key: string]: any } {
|
|
53772
|
+
return {
|
|
53773
|
+
requestId: 'string',
|
|
53774
|
+
result: { 'type': 'array', 'itemType': ListCertificatesByRecordResponseBodyResult },
|
|
53775
|
+
siteId: 'number',
|
|
53776
|
+
siteName: 'string',
|
|
53777
|
+
totalCount: 'number',
|
|
53778
|
+
};
|
|
53779
|
+
}
|
|
53780
|
+
|
|
53781
|
+
validate() {
|
|
53782
|
+
if(Array.isArray(this.result)) {
|
|
53783
|
+
$dara.Model.validateArray(this.result);
|
|
53784
|
+
}
|
|
53785
|
+
super.validate();
|
|
53786
|
+
}
|
|
53787
|
+
|
|
53788
|
+
constructor(map?: { [key: string]: any }) {
|
|
53789
|
+
super(map);
|
|
53790
|
+
}
|
|
53791
|
+
}
|
|
53792
|
+
|
|
53793
|
+
export class ListCertificatesByRecordResponse extends $dara.Model {
|
|
53794
|
+
headers?: { [key: string]: string };
|
|
53795
|
+
statusCode?: number;
|
|
53796
|
+
body?: ListCertificatesByRecordResponseBody;
|
|
53797
|
+
static names(): { [key: string]: string } {
|
|
53798
|
+
return {
|
|
53799
|
+
headers: 'headers',
|
|
53800
|
+
statusCode: 'statusCode',
|
|
53801
|
+
body: 'body',
|
|
53802
|
+
};
|
|
53803
|
+
}
|
|
53804
|
+
|
|
53805
|
+
static types(): { [key: string]: any } {
|
|
53806
|
+
return {
|
|
53807
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
53808
|
+
statusCode: 'number',
|
|
53809
|
+
body: ListCertificatesByRecordResponseBody,
|
|
53810
|
+
};
|
|
53811
|
+
}
|
|
53812
|
+
|
|
53813
|
+
validate() {
|
|
53814
|
+
if(this.headers) {
|
|
53815
|
+
$dara.Model.validateMap(this.headers);
|
|
53816
|
+
}
|
|
53817
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
53818
|
+
(this.body as any).validate();
|
|
53819
|
+
}
|
|
53820
|
+
super.validate();
|
|
53821
|
+
}
|
|
53822
|
+
|
|
53823
|
+
constructor(map?: { [key: string]: any }) {
|
|
53824
|
+
super(map);
|
|
53825
|
+
}
|
|
53826
|
+
}
|
|
53827
|
+
|
|
53380
53828
|
export class ListCiphersRequest extends $dara.Model {
|
|
53381
53829
|
/**
|
|
53382
53830
|
* @remarks
|
|
@@ -59516,37 +59964,102 @@ export class ListRoutineCanaryAreasResponse extends $dara.Model {
|
|
|
59516
59964
|
}
|
|
59517
59965
|
}
|
|
59518
59966
|
|
|
59519
|
-
export class
|
|
59967
|
+
export class ListRoutineRelatedRecordsRequest extends $dara.Model {
|
|
59520
59968
|
/**
|
|
59521
59969
|
* @remarks
|
|
59522
|
-
*
|
|
59970
|
+
* This parameter is required.
|
|
59523
59971
|
*
|
|
59524
59972
|
* @example
|
|
59525
|
-
*
|
|
59973
|
+
* test
|
|
59974
|
+
*/
|
|
59975
|
+
name?: string;
|
|
59976
|
+
/**
|
|
59977
|
+
* @example
|
|
59978
|
+
* 1
|
|
59979
|
+
*/
|
|
59980
|
+
pageNumber?: number;
|
|
59981
|
+
/**
|
|
59982
|
+
* @example
|
|
59983
|
+
* 20
|
|
59984
|
+
*/
|
|
59985
|
+
pageSize?: number;
|
|
59986
|
+
/**
|
|
59987
|
+
* @example
|
|
59988
|
+
* hello
|
|
59989
|
+
*/
|
|
59990
|
+
searchKeyWord?: string;
|
|
59991
|
+
static names(): { [key: string]: string } {
|
|
59992
|
+
return {
|
|
59993
|
+
name: 'Name',
|
|
59994
|
+
pageNumber: 'PageNumber',
|
|
59995
|
+
pageSize: 'PageSize',
|
|
59996
|
+
searchKeyWord: 'SearchKeyWord',
|
|
59997
|
+
};
|
|
59998
|
+
}
|
|
59999
|
+
|
|
60000
|
+
static types(): { [key: string]: any } {
|
|
60001
|
+
return {
|
|
60002
|
+
name: 'string',
|
|
60003
|
+
pageNumber: 'number',
|
|
60004
|
+
pageSize: 'number',
|
|
60005
|
+
searchKeyWord: 'string',
|
|
60006
|
+
};
|
|
60007
|
+
}
|
|
60008
|
+
|
|
60009
|
+
validate() {
|
|
60010
|
+
super.validate();
|
|
60011
|
+
}
|
|
60012
|
+
|
|
60013
|
+
constructor(map?: { [key: string]: any }) {
|
|
60014
|
+
super(map);
|
|
60015
|
+
}
|
|
60016
|
+
}
|
|
60017
|
+
|
|
60018
|
+
export class ListRoutineRelatedRecordsResponseBody extends $dara.Model {
|
|
60019
|
+
/**
|
|
60020
|
+
* @example
|
|
60021
|
+
* 1
|
|
60022
|
+
*/
|
|
60023
|
+
pageNumber?: number;
|
|
60024
|
+
/**
|
|
60025
|
+
* @example
|
|
60026
|
+
* 20
|
|
60027
|
+
*/
|
|
60028
|
+
pageSize?: number;
|
|
60029
|
+
relatedRecords?: ListRoutineRelatedRecordsResponseBodyRelatedRecords[];
|
|
60030
|
+
/**
|
|
60031
|
+
* @example
|
|
60032
|
+
* 15C66C7B-671A-4297-9187-2C4477247A74
|
|
59526
60033
|
*/
|
|
59527
60034
|
requestId?: string;
|
|
59528
60035
|
/**
|
|
59529
|
-
* @
|
|
59530
|
-
*
|
|
60036
|
+
* @example
|
|
60037
|
+
* 16
|
|
59531
60038
|
*/
|
|
59532
|
-
|
|
60039
|
+
totalCount?: number;
|
|
59533
60040
|
static names(): { [key: string]: string } {
|
|
59534
60041
|
return {
|
|
60042
|
+
pageNumber: 'PageNumber',
|
|
60043
|
+
pageSize: 'PageSize',
|
|
60044
|
+
relatedRecords: 'RelatedRecords',
|
|
59535
60045
|
requestId: 'RequestId',
|
|
59536
|
-
|
|
60046
|
+
totalCount: 'TotalCount',
|
|
59537
60047
|
};
|
|
59538
60048
|
}
|
|
59539
60049
|
|
|
59540
60050
|
static types(): { [key: string]: any } {
|
|
59541
60051
|
return {
|
|
60052
|
+
pageNumber: 'number',
|
|
60053
|
+
pageSize: 'number',
|
|
60054
|
+
relatedRecords: { 'type': 'array', 'itemType': ListRoutineRelatedRecordsResponseBodyRelatedRecords },
|
|
59542
60055
|
requestId: 'string',
|
|
59543
|
-
|
|
60056
|
+
totalCount: 'number',
|
|
59544
60057
|
};
|
|
59545
60058
|
}
|
|
59546
60059
|
|
|
59547
60060
|
validate() {
|
|
59548
|
-
if(Array.isArray(this.
|
|
59549
|
-
$dara.Model.validateArray(this.
|
|
60061
|
+
if(Array.isArray(this.relatedRecords)) {
|
|
60062
|
+
$dara.Model.validateArray(this.relatedRecords);
|
|
59550
60063
|
}
|
|
59551
60064
|
super.validate();
|
|
59552
60065
|
}
|
|
@@ -59556,10 +60069,10 @@ export class ListRoutineOptionalSpecsResponseBody extends $dara.Model {
|
|
|
59556
60069
|
}
|
|
59557
60070
|
}
|
|
59558
60071
|
|
|
59559
|
-
export class
|
|
60072
|
+
export class ListRoutineRelatedRecordsResponse extends $dara.Model {
|
|
59560
60073
|
headers?: { [key: string]: string };
|
|
59561
60074
|
statusCode?: number;
|
|
59562
|
-
body?:
|
|
60075
|
+
body?: ListRoutineRelatedRecordsResponseBody;
|
|
59563
60076
|
static names(): { [key: string]: string } {
|
|
59564
60077
|
return {
|
|
59565
60078
|
headers: 'headers',
|
|
@@ -59572,7 +60085,7 @@ export class ListRoutineOptionalSpecsResponse extends $dara.Model {
|
|
|
59572
60085
|
return {
|
|
59573
60086
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
59574
60087
|
statusCode: 'number',
|
|
59575
|
-
body:
|
|
60088
|
+
body: ListRoutineRelatedRecordsResponseBody,
|
|
59576
60089
|
};
|
|
59577
60090
|
}
|
|
59578
60091
|
|
|
@@ -61473,6 +61986,122 @@ export class ListUserRatePlanInstancesResponse extends $dara.Model {
|
|
|
61473
61986
|
}
|
|
61474
61987
|
}
|
|
61475
61988
|
|
|
61989
|
+
export class ListUserRoutinesRequest extends $dara.Model {
|
|
61990
|
+
/**
|
|
61991
|
+
* @example
|
|
61992
|
+
* ListUserRoutines
|
|
61993
|
+
*/
|
|
61994
|
+
pageNumber?: number;
|
|
61995
|
+
pageSize?: number;
|
|
61996
|
+
searchKeyWord?: string;
|
|
61997
|
+
static names(): { [key: string]: string } {
|
|
61998
|
+
return {
|
|
61999
|
+
pageNumber: 'PageNumber',
|
|
62000
|
+
pageSize: 'PageSize',
|
|
62001
|
+
searchKeyWord: 'SearchKeyWord',
|
|
62002
|
+
};
|
|
62003
|
+
}
|
|
62004
|
+
|
|
62005
|
+
static types(): { [key: string]: any } {
|
|
62006
|
+
return {
|
|
62007
|
+
pageNumber: 'number',
|
|
62008
|
+
pageSize: 'number',
|
|
62009
|
+
searchKeyWord: 'string',
|
|
62010
|
+
};
|
|
62011
|
+
}
|
|
62012
|
+
|
|
62013
|
+
validate() {
|
|
62014
|
+
super.validate();
|
|
62015
|
+
}
|
|
62016
|
+
|
|
62017
|
+
constructor(map?: { [key: string]: any }) {
|
|
62018
|
+
super(map);
|
|
62019
|
+
}
|
|
62020
|
+
}
|
|
62021
|
+
|
|
62022
|
+
export class ListUserRoutinesResponseBody extends $dara.Model {
|
|
62023
|
+
pageNumber?: number;
|
|
62024
|
+
pageSize?: number;
|
|
62025
|
+
quotaRoutineNumber?: number;
|
|
62026
|
+
/**
|
|
62027
|
+
* @remarks
|
|
62028
|
+
* Id of the request
|
|
62029
|
+
*/
|
|
62030
|
+
requestId?: string;
|
|
62031
|
+
routines?: ListUserRoutinesResponseBodyRoutines[];
|
|
62032
|
+
totalCount?: number;
|
|
62033
|
+
usedRoutineNumber?: number;
|
|
62034
|
+
static names(): { [key: string]: string } {
|
|
62035
|
+
return {
|
|
62036
|
+
pageNumber: 'PageNumber',
|
|
62037
|
+
pageSize: 'PageSize',
|
|
62038
|
+
quotaRoutineNumber: 'QuotaRoutineNumber',
|
|
62039
|
+
requestId: 'RequestId',
|
|
62040
|
+
routines: 'Routines',
|
|
62041
|
+
totalCount: 'TotalCount',
|
|
62042
|
+
usedRoutineNumber: 'UsedRoutineNumber',
|
|
62043
|
+
};
|
|
62044
|
+
}
|
|
62045
|
+
|
|
62046
|
+
static types(): { [key: string]: any } {
|
|
62047
|
+
return {
|
|
62048
|
+
pageNumber: 'number',
|
|
62049
|
+
pageSize: 'number',
|
|
62050
|
+
quotaRoutineNumber: 'number',
|
|
62051
|
+
requestId: 'string',
|
|
62052
|
+
routines: { 'type': 'array', 'itemType': ListUserRoutinesResponseBodyRoutines },
|
|
62053
|
+
totalCount: 'number',
|
|
62054
|
+
usedRoutineNumber: 'number',
|
|
62055
|
+
};
|
|
62056
|
+
}
|
|
62057
|
+
|
|
62058
|
+
validate() {
|
|
62059
|
+
if(Array.isArray(this.routines)) {
|
|
62060
|
+
$dara.Model.validateArray(this.routines);
|
|
62061
|
+
}
|
|
62062
|
+
super.validate();
|
|
62063
|
+
}
|
|
62064
|
+
|
|
62065
|
+
constructor(map?: { [key: string]: any }) {
|
|
62066
|
+
super(map);
|
|
62067
|
+
}
|
|
62068
|
+
}
|
|
62069
|
+
|
|
62070
|
+
export class ListUserRoutinesResponse extends $dara.Model {
|
|
62071
|
+
headers?: { [key: string]: string };
|
|
62072
|
+
statusCode?: number;
|
|
62073
|
+
body?: ListUserRoutinesResponseBody;
|
|
62074
|
+
static names(): { [key: string]: string } {
|
|
62075
|
+
return {
|
|
62076
|
+
headers: 'headers',
|
|
62077
|
+
statusCode: 'statusCode',
|
|
62078
|
+
body: 'body',
|
|
62079
|
+
};
|
|
62080
|
+
}
|
|
62081
|
+
|
|
62082
|
+
static types(): { [key: string]: any } {
|
|
62083
|
+
return {
|
|
62084
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
62085
|
+
statusCode: 'number',
|
|
62086
|
+
body: ListUserRoutinesResponseBody,
|
|
62087
|
+
};
|
|
62088
|
+
}
|
|
62089
|
+
|
|
62090
|
+
validate() {
|
|
62091
|
+
if(this.headers) {
|
|
62092
|
+
$dara.Model.validateMap(this.headers);
|
|
62093
|
+
}
|
|
62094
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
62095
|
+
(this.body as any).validate();
|
|
62096
|
+
}
|
|
62097
|
+
super.validate();
|
|
62098
|
+
}
|
|
62099
|
+
|
|
62100
|
+
constructor(map?: { [key: string]: any }) {
|
|
62101
|
+
super(map);
|
|
62102
|
+
}
|
|
62103
|
+
}
|
|
62104
|
+
|
|
61476
62105
|
export class ListWafManagedRulesRequest extends $dara.Model {
|
|
61477
62106
|
/**
|
|
61478
62107
|
* @remarks
|
|
@@ -63670,93 +64299,6 @@ export class PublishEdgeContainerAppVersionResponse extends $dara.Model {
|
|
|
63670
64299
|
}
|
|
63671
64300
|
|
|
63672
64301
|
export class PublishRoutineCodeVersionRequest extends $dara.Model {
|
|
63673
|
-
/**
|
|
63674
|
-
* @remarks
|
|
63675
|
-
* The regions for canary release.
|
|
63676
|
-
*/
|
|
63677
|
-
canaryAreaList?: string[];
|
|
63678
|
-
/**
|
|
63679
|
-
* @remarks
|
|
63680
|
-
* The version number for canary release.
|
|
63681
|
-
*
|
|
63682
|
-
* @example
|
|
63683
|
-
* 1710120201067203242
|
|
63684
|
-
*/
|
|
63685
|
-
canaryCodeVersion?: string;
|
|
63686
|
-
/**
|
|
63687
|
-
* @remarks
|
|
63688
|
-
* The code version to be released.
|
|
63689
|
-
*
|
|
63690
|
-
* @example
|
|
63691
|
-
* 1710120201067203242
|
|
63692
|
-
*/
|
|
63693
|
-
codeVersion?: string;
|
|
63694
|
-
/**
|
|
63695
|
-
* @remarks
|
|
63696
|
-
* The environment name.
|
|
63697
|
-
*
|
|
63698
|
-
* This parameter is required.
|
|
63699
|
-
*
|
|
63700
|
-
* @example
|
|
63701
|
-
* production
|
|
63702
|
-
*/
|
|
63703
|
-
env?: string;
|
|
63704
|
-
/**
|
|
63705
|
-
* @remarks
|
|
63706
|
-
* The routine name.
|
|
63707
|
-
*
|
|
63708
|
-
* This parameter is required.
|
|
63709
|
-
*
|
|
63710
|
-
* @example
|
|
63711
|
-
* PublishRoutineCodeVersion
|
|
63712
|
-
*/
|
|
63713
|
-
name?: string;
|
|
63714
|
-
static names(): { [key: string]: string } {
|
|
63715
|
-
return {
|
|
63716
|
-
canaryAreaList: 'CanaryAreaList',
|
|
63717
|
-
canaryCodeVersion: 'CanaryCodeVersion',
|
|
63718
|
-
codeVersion: 'CodeVersion',
|
|
63719
|
-
env: 'Env',
|
|
63720
|
-
name: 'Name',
|
|
63721
|
-
};
|
|
63722
|
-
}
|
|
63723
|
-
|
|
63724
|
-
static types(): { [key: string]: any } {
|
|
63725
|
-
return {
|
|
63726
|
-
canaryAreaList: { 'type': 'array', 'itemType': 'string' },
|
|
63727
|
-
canaryCodeVersion: 'string',
|
|
63728
|
-
codeVersion: 'string',
|
|
63729
|
-
env: 'string',
|
|
63730
|
-
name: 'string',
|
|
63731
|
-
};
|
|
63732
|
-
}
|
|
63733
|
-
|
|
63734
|
-
validate() {
|
|
63735
|
-
if(Array.isArray(this.canaryAreaList)) {
|
|
63736
|
-
$dara.Model.validateArray(this.canaryAreaList);
|
|
63737
|
-
}
|
|
63738
|
-
super.validate();
|
|
63739
|
-
}
|
|
63740
|
-
|
|
63741
|
-
constructor(map?: { [key: string]: any }) {
|
|
63742
|
-
super(map);
|
|
63743
|
-
}
|
|
63744
|
-
}
|
|
63745
|
-
|
|
63746
|
-
export class PublishRoutineCodeVersionShrinkRequest extends $dara.Model {
|
|
63747
|
-
/**
|
|
63748
|
-
* @remarks
|
|
63749
|
-
* The regions for canary release.
|
|
63750
|
-
*/
|
|
63751
|
-
canaryAreaListShrink?: string;
|
|
63752
|
-
/**
|
|
63753
|
-
* @remarks
|
|
63754
|
-
* The version number for canary release.
|
|
63755
|
-
*
|
|
63756
|
-
* @example
|
|
63757
|
-
* 1710120201067203242
|
|
63758
|
-
*/
|
|
63759
|
-
canaryCodeVersion?: string;
|
|
63760
64302
|
/**
|
|
63761
64303
|
* @remarks
|
|
63762
64304
|
* The code version to be released.
|
|
@@ -63787,8 +64329,6 @@ export class PublishRoutineCodeVersionShrinkRequest extends $dara.Model {
|
|
|
63787
64329
|
name?: string;
|
|
63788
64330
|
static names(): { [key: string]: string } {
|
|
63789
64331
|
return {
|
|
63790
|
-
canaryAreaListShrink: 'CanaryAreaList',
|
|
63791
|
-
canaryCodeVersion: 'CanaryCodeVersion',
|
|
63792
64332
|
codeVersion: 'CodeVersion',
|
|
63793
64333
|
env: 'Env',
|
|
63794
64334
|
name: 'Name',
|
|
@@ -63797,8 +64337,6 @@ export class PublishRoutineCodeVersionShrinkRequest extends $dara.Model {
|
|
|
63797
64337
|
|
|
63798
64338
|
static types(): { [key: string]: any } {
|
|
63799
64339
|
return {
|
|
63800
|
-
canaryAreaListShrink: 'string',
|
|
63801
|
-
canaryCodeVersion: 'string',
|
|
63802
64340
|
codeVersion: 'string',
|
|
63803
64341
|
env: 'string',
|
|
63804
64342
|
name: 'string',
|
|
@@ -65364,6 +65902,7 @@ export class RollbackEdgeContainerAppVersionRequest extends $dara.Model {
|
|
|
65364
65902
|
* app-88068867578379****
|
|
65365
65903
|
*/
|
|
65366
65904
|
appId?: string;
|
|
65905
|
+
percentage?: number;
|
|
65367
65906
|
/**
|
|
65368
65907
|
* @remarks
|
|
65369
65908
|
* The remarks.
|
|
@@ -65372,6 +65911,7 @@ export class RollbackEdgeContainerAppVersionRequest extends $dara.Model {
|
|
|
65372
65911
|
* test rollback app
|
|
65373
65912
|
*/
|
|
65374
65913
|
remarks?: string;
|
|
65914
|
+
usedPercent?: boolean;
|
|
65375
65915
|
/**
|
|
65376
65916
|
* @remarks
|
|
65377
65917
|
* The ID of version that you want to roll back.
|
|
@@ -65385,7 +65925,9 @@ export class RollbackEdgeContainerAppVersionRequest extends $dara.Model {
|
|
|
65385
65925
|
static names(): { [key: string]: string } {
|
|
65386
65926
|
return {
|
|
65387
65927
|
appId: 'AppId',
|
|
65928
|
+
percentage: 'Percentage',
|
|
65388
65929
|
remarks: 'Remarks',
|
|
65930
|
+
usedPercent: 'UsedPercent',
|
|
65389
65931
|
versionId: 'VersionId',
|
|
65390
65932
|
};
|
|
65391
65933
|
}
|
|
@@ -65393,7 +65935,9 @@ export class RollbackEdgeContainerAppVersionRequest extends $dara.Model {
|
|
|
65393
65935
|
static types(): { [key: string]: any } {
|
|
65394
65936
|
return {
|
|
65395
65937
|
appId: 'string',
|
|
65938
|
+
percentage: 'number',
|
|
65396
65939
|
remarks: 'string',
|
|
65940
|
+
usedPercent: 'boolean',
|
|
65397
65941
|
versionId: 'string',
|
|
65398
65942
|
};
|
|
65399
65943
|
}
|
|
@@ -80167,10 +80711,6 @@ export default class Client extends OpenApi {
|
|
|
80167
80711
|
body["Name"] = request.name;
|
|
80168
80712
|
}
|
|
80169
80713
|
|
|
80170
|
-
if (!$dara.isNull(request.specName)) {
|
|
80171
|
-
body["SpecName"] = request.specName;
|
|
80172
|
-
}
|
|
80173
|
-
|
|
80174
80714
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
80175
80715
|
body: OpenApiUtil.parseToMap(body),
|
|
80176
80716
|
});
|
|
@@ -85485,6 +86025,49 @@ export default class Client extends OpenApi {
|
|
|
85485
86025
|
return await this.getEdgeContainerTerminalWithOptions(request, runtime);
|
|
85486
86026
|
}
|
|
85487
86027
|
|
|
86028
|
+
/**
|
|
86029
|
+
* Checks the status of Edge Routine.
|
|
86030
|
+
*
|
|
86031
|
+
* @param request - GetErServiceRequest
|
|
86032
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
86033
|
+
* @returns GetErServiceResponse
|
|
86034
|
+
*/
|
|
86035
|
+
async getErServiceWithOptions(request: GetErServiceRequest, runtime: $dara.RuntimeOptions): Promise<GetErServiceResponse> {
|
|
86036
|
+
request.validate();
|
|
86037
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
86038
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
86039
|
+
query: OpenApiUtil.query(query),
|
|
86040
|
+
});
|
|
86041
|
+
let params = new $OpenApiUtil.Params({
|
|
86042
|
+
action: "GetErService",
|
|
86043
|
+
version: "2024-09-10",
|
|
86044
|
+
protocol: "HTTPS",
|
|
86045
|
+
pathname: "/",
|
|
86046
|
+
method: "GET",
|
|
86047
|
+
authType: "AK",
|
|
86048
|
+
style: "RPC",
|
|
86049
|
+
reqBodyType: "formData",
|
|
86050
|
+
bodyType: "json",
|
|
86051
|
+
});
|
|
86052
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
86053
|
+
return $dara.cast<GetErServiceResponse>(await this.callApi(params, req, runtime), new GetErServiceResponse({}));
|
|
86054
|
+
} else {
|
|
86055
|
+
return $dara.cast<GetErServiceResponse>(await this.execute(params, req, runtime), new GetErServiceResponse({}));
|
|
86056
|
+
}
|
|
86057
|
+
|
|
86058
|
+
}
|
|
86059
|
+
|
|
86060
|
+
/**
|
|
86061
|
+
* Checks the status of Edge Routine.
|
|
86062
|
+
*
|
|
86063
|
+
* @param request - GetErServiceRequest
|
|
86064
|
+
* @returns GetErServiceResponse
|
|
86065
|
+
*/
|
|
86066
|
+
async getErService(request: GetErServiceRequest): Promise<GetErServiceResponse> {
|
|
86067
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
86068
|
+
return await this.getErServiceWithOptions(request, runtime);
|
|
86069
|
+
}
|
|
86070
|
+
|
|
85488
86071
|
/**
|
|
85489
86072
|
* Query HTTP Request Header Rule Details
|
|
85490
86073
|
*
|
|
@@ -87878,6 +88461,49 @@ export default class Client extends OpenApi {
|
|
|
87878
88461
|
return await this.listCertificatesWithOptions(request, runtime);
|
|
87879
88462
|
}
|
|
87880
88463
|
|
|
88464
|
+
/**
|
|
88465
|
+
* 查询匹配记录名的站点证书列表
|
|
88466
|
+
*
|
|
88467
|
+
* @param request - ListCertificatesByRecordRequest
|
|
88468
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
88469
|
+
* @returns ListCertificatesByRecordResponse
|
|
88470
|
+
*/
|
|
88471
|
+
async listCertificatesByRecordWithOptions(request: ListCertificatesByRecordRequest, runtime: $dara.RuntimeOptions): Promise<ListCertificatesByRecordResponse> {
|
|
88472
|
+
request.validate();
|
|
88473
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
88474
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
88475
|
+
query: OpenApiUtil.query(query),
|
|
88476
|
+
});
|
|
88477
|
+
let params = new $OpenApiUtil.Params({
|
|
88478
|
+
action: "ListCertificatesByRecord",
|
|
88479
|
+
version: "2024-09-10",
|
|
88480
|
+
protocol: "HTTPS",
|
|
88481
|
+
pathname: "/",
|
|
88482
|
+
method: "GET",
|
|
88483
|
+
authType: "AK",
|
|
88484
|
+
style: "RPC",
|
|
88485
|
+
reqBodyType: "formData",
|
|
88486
|
+
bodyType: "json",
|
|
88487
|
+
});
|
|
88488
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
88489
|
+
return $dara.cast<ListCertificatesByRecordResponse>(await this.callApi(params, req, runtime), new ListCertificatesByRecordResponse({}));
|
|
88490
|
+
} else {
|
|
88491
|
+
return $dara.cast<ListCertificatesByRecordResponse>(await this.execute(params, req, runtime), new ListCertificatesByRecordResponse({}));
|
|
88492
|
+
}
|
|
88493
|
+
|
|
88494
|
+
}
|
|
88495
|
+
|
|
88496
|
+
/**
|
|
88497
|
+
* 查询匹配记录名的站点证书列表
|
|
88498
|
+
*
|
|
88499
|
+
* @param request - ListCertificatesByRecordRequest
|
|
88500
|
+
* @returns ListCertificatesByRecordResponse
|
|
88501
|
+
*/
|
|
88502
|
+
async listCertificatesByRecord(request: ListCertificatesByRecordRequest): Promise<ListCertificatesByRecordResponse> {
|
|
88503
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
88504
|
+
return await this.listCertificatesByRecordWithOptions(request, runtime);
|
|
88505
|
+
}
|
|
88506
|
+
|
|
87881
88507
|
/**
|
|
87882
88508
|
* Query TLS Cipher Suite List
|
|
87883
88509
|
*
|
|
@@ -89386,19 +90012,36 @@ export default class Client extends OpenApi {
|
|
|
89386
90012
|
}
|
|
89387
90013
|
|
|
89388
90014
|
/**
|
|
89389
|
-
*
|
|
90015
|
+
* 查询函数关联域名列表
|
|
89390
90016
|
*
|
|
89391
|
-
* @
|
|
89392
|
-
* You can call this operation to query the specifications that you can select for a routine.
|
|
89393
|
-
*
|
|
89394
|
-
* @param request - ListRoutineOptionalSpecsRequest
|
|
90017
|
+
* @param request - ListRoutineRelatedRecordsRequest
|
|
89395
90018
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
89396
|
-
* @returns
|
|
90019
|
+
* @returns ListRoutineRelatedRecordsResponse
|
|
89397
90020
|
*/
|
|
89398
|
-
async
|
|
89399
|
-
|
|
90021
|
+
async listRoutineRelatedRecordsWithOptions(request: ListRoutineRelatedRecordsRequest, runtime: $dara.RuntimeOptions): Promise<ListRoutineRelatedRecordsResponse> {
|
|
90022
|
+
request.validate();
|
|
90023
|
+
let body : {[key: string ]: any} = { };
|
|
90024
|
+
if (!$dara.isNull(request.name)) {
|
|
90025
|
+
body["Name"] = request.name;
|
|
90026
|
+
}
|
|
90027
|
+
|
|
90028
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
90029
|
+
body["PageNumber"] = request.pageNumber;
|
|
90030
|
+
}
|
|
90031
|
+
|
|
90032
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
90033
|
+
body["PageSize"] = request.pageSize;
|
|
90034
|
+
}
|
|
90035
|
+
|
|
90036
|
+
if (!$dara.isNull(request.searchKeyWord)) {
|
|
90037
|
+
body["SearchKeyWord"] = request.searchKeyWord;
|
|
90038
|
+
}
|
|
90039
|
+
|
|
90040
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
90041
|
+
body: OpenApiUtil.parseToMap(body),
|
|
90042
|
+
});
|
|
89400
90043
|
let params = new $OpenApiUtil.Params({
|
|
89401
|
-
action: "
|
|
90044
|
+
action: "ListRoutineRelatedRecords",
|
|
89402
90045
|
version: "2024-09-10",
|
|
89403
90046
|
protocol: "HTTPS",
|
|
89404
90047
|
pathname: "/",
|
|
@@ -89409,23 +90052,22 @@ export default class Client extends OpenApi {
|
|
|
89409
90052
|
bodyType: "json",
|
|
89410
90053
|
});
|
|
89411
90054
|
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
89412
|
-
return $dara.cast<
|
|
90055
|
+
return $dara.cast<ListRoutineRelatedRecordsResponse>(await this.callApi(params, req, runtime), new ListRoutineRelatedRecordsResponse({}));
|
|
89413
90056
|
} else {
|
|
89414
|
-
return $dara.cast<
|
|
90057
|
+
return $dara.cast<ListRoutineRelatedRecordsResponse>(await this.execute(params, req, runtime), new ListRoutineRelatedRecordsResponse({}));
|
|
89415
90058
|
}
|
|
89416
90059
|
|
|
89417
90060
|
}
|
|
89418
90061
|
|
|
89419
90062
|
/**
|
|
89420
|
-
*
|
|
90063
|
+
* 查询函数关联域名列表
|
|
89421
90064
|
*
|
|
89422
|
-
* @
|
|
89423
|
-
*
|
|
89424
|
-
* @returns ListRoutineOptionalSpecsResponse
|
|
90065
|
+
* @param request - ListRoutineRelatedRecordsRequest
|
|
90066
|
+
* @returns ListRoutineRelatedRecordsResponse
|
|
89425
90067
|
*/
|
|
89426
|
-
async
|
|
90068
|
+
async listRoutineRelatedRecords(request: ListRoutineRelatedRecordsRequest): Promise<ListRoutineRelatedRecordsResponse> {
|
|
89427
90069
|
let runtime = new $dara.RuntimeOptions({ });
|
|
89428
|
-
return await this.
|
|
90070
|
+
return await this.listRoutineRelatedRecordsWithOptions(request, runtime);
|
|
89429
90071
|
}
|
|
89430
90072
|
|
|
89431
90073
|
/**
|
|
@@ -89932,6 +90574,61 @@ export default class Client extends OpenApi {
|
|
|
89932
90574
|
return await this.listUserRatePlanInstancesWithOptions(request, runtime);
|
|
89933
90575
|
}
|
|
89934
90576
|
|
|
90577
|
+
/**
|
|
90578
|
+
* 查询用户的Routine列表
|
|
90579
|
+
*
|
|
90580
|
+
* @param request - ListUserRoutinesRequest
|
|
90581
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
90582
|
+
* @returns ListUserRoutinesResponse
|
|
90583
|
+
*/
|
|
90584
|
+
async listUserRoutinesWithOptions(request: ListUserRoutinesRequest, runtime: $dara.RuntimeOptions): Promise<ListUserRoutinesResponse> {
|
|
90585
|
+
request.validate();
|
|
90586
|
+
let query = { };
|
|
90587
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
90588
|
+
query["PageNumber"] = request.pageNumber;
|
|
90589
|
+
}
|
|
90590
|
+
|
|
90591
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
90592
|
+
query["PageSize"] = request.pageSize;
|
|
90593
|
+
}
|
|
90594
|
+
|
|
90595
|
+
if (!$dara.isNull(request.searchKeyWord)) {
|
|
90596
|
+
query["SearchKeyWord"] = request.searchKeyWord;
|
|
90597
|
+
}
|
|
90598
|
+
|
|
90599
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
90600
|
+
query: OpenApiUtil.query(query),
|
|
90601
|
+
});
|
|
90602
|
+
let params = new $OpenApiUtil.Params({
|
|
90603
|
+
action: "ListUserRoutines",
|
|
90604
|
+
version: "2024-09-10",
|
|
90605
|
+
protocol: "HTTPS",
|
|
90606
|
+
pathname: "/",
|
|
90607
|
+
method: "POST",
|
|
90608
|
+
authType: "AK",
|
|
90609
|
+
style: "RPC",
|
|
90610
|
+
reqBodyType: "formData",
|
|
90611
|
+
bodyType: "json",
|
|
90612
|
+
});
|
|
90613
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
90614
|
+
return $dara.cast<ListUserRoutinesResponse>(await this.callApi(params, req, runtime), new ListUserRoutinesResponse({}));
|
|
90615
|
+
} else {
|
|
90616
|
+
return $dara.cast<ListUserRoutinesResponse>(await this.execute(params, req, runtime), new ListUserRoutinesResponse({}));
|
|
90617
|
+
}
|
|
90618
|
+
|
|
90619
|
+
}
|
|
90620
|
+
|
|
90621
|
+
/**
|
|
90622
|
+
* 查询用户的Routine列表
|
|
90623
|
+
*
|
|
90624
|
+
* @param request - ListUserRoutinesRequest
|
|
90625
|
+
* @returns ListUserRoutinesResponse
|
|
90626
|
+
*/
|
|
90627
|
+
async listUserRoutines(request: ListUserRoutinesRequest): Promise<ListUserRoutinesResponse> {
|
|
90628
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
90629
|
+
return await this.listUserRoutinesWithOptions(request, runtime);
|
|
90630
|
+
}
|
|
90631
|
+
|
|
89935
90632
|
/**
|
|
89936
90633
|
* List WAF Managed Rules
|
|
89937
90634
|
*
|
|
@@ -90628,27 +91325,13 @@ export default class Client extends OpenApi {
|
|
|
90628
91325
|
/**
|
|
90629
91326
|
* Releases a code version of a routine to the staging, canary, or production environment. You can specify the regions where the canary environment is deployed to release your code.
|
|
90630
91327
|
*
|
|
90631
|
-
* @param
|
|
91328
|
+
* @param request - PublishRoutineCodeVersionRequest
|
|
90632
91329
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
90633
91330
|
* @returns PublishRoutineCodeVersionResponse
|
|
90634
91331
|
*/
|
|
90635
|
-
async publishRoutineCodeVersionWithOptions(
|
|
90636
|
-
|
|
90637
|
-
let request = new PublishRoutineCodeVersionShrinkRequest({ });
|
|
90638
|
-
OpenApiUtil.convert(tmpReq, request);
|
|
90639
|
-
if (!$dara.isNull(tmpReq.canaryAreaList)) {
|
|
90640
|
-
request.canaryAreaListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.canaryAreaList, "CanaryAreaList", "json");
|
|
90641
|
-
}
|
|
90642
|
-
|
|
91332
|
+
async publishRoutineCodeVersionWithOptions(request: PublishRoutineCodeVersionRequest, runtime: $dara.RuntimeOptions): Promise<PublishRoutineCodeVersionResponse> {
|
|
91333
|
+
request.validate();
|
|
90643
91334
|
let body : {[key: string ]: any} = { };
|
|
90644
|
-
if (!$dara.isNull(request.canaryAreaListShrink)) {
|
|
90645
|
-
body["CanaryAreaList"] = request.canaryAreaListShrink;
|
|
90646
|
-
}
|
|
90647
|
-
|
|
90648
|
-
if (!$dara.isNull(request.canaryCodeVersion)) {
|
|
90649
|
-
body["CanaryCodeVersion"] = request.canaryCodeVersion;
|
|
90650
|
-
}
|
|
90651
|
-
|
|
90652
91335
|
if (!$dara.isNull(request.codeVersion)) {
|
|
90653
91336
|
body["CodeVersion"] = request.codeVersion;
|
|
90654
91337
|
}
|
|
@@ -91343,6 +92026,14 @@ export default class Client extends OpenApi {
|
|
|
91343
92026
|
async rollbackEdgeContainerAppVersionWithOptions(request: RollbackEdgeContainerAppVersionRequest, runtime: $dara.RuntimeOptions): Promise<RollbackEdgeContainerAppVersionResponse> {
|
|
91344
92027
|
request.validate();
|
|
91345
92028
|
let query = { };
|
|
92029
|
+
if (!$dara.isNull(request.percentage)) {
|
|
92030
|
+
query["Percentage"] = request.percentage;
|
|
92031
|
+
}
|
|
92032
|
+
|
|
92033
|
+
if (!$dara.isNull(request.usedPercent)) {
|
|
92034
|
+
query["UsedPercent"] = request.usedPercent;
|
|
92035
|
+
}
|
|
92036
|
+
|
|
91346
92037
|
if (!$dara.isNull(request.versionId)) {
|
|
91347
92038
|
query["VersionId"] = request.versionId;
|
|
91348
92039
|
}
|