@alicloud/esa20240910 2.39.0 → 2.41.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.
Files changed (133) hide show
  1. package/dist/client.d.ts +110 -34
  2. package/dist/client.js +275 -34
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateEdgeContainerAppImageSecretRequest.d.ts +8 -0
  5. package/dist/models/CreateEdgeContainerAppImageSecretRequest.js.map +1 -1
  6. package/dist/models/CreateEdgeContainerAppImageSecretResponseBody.d.ts +3 -0
  7. package/dist/models/CreateEdgeContainerAppImageSecretResponseBody.js.map +1 -1
  8. package/dist/models/DeleteEdgeContainerAppImageSecretRequest.d.ts +4 -0
  9. package/dist/models/DeleteEdgeContainerAppImageSecretRequest.js.map +1 -1
  10. package/dist/models/DeleteEdgeContainerAppImageSecretResponseBody.d.ts +3 -0
  11. package/dist/models/DeleteEdgeContainerAppImageSecretResponseBody.js.map +1 -1
  12. package/dist/models/DeleteHttpDdoSintelligentRuleRequest.d.ts +6 -0
  13. package/dist/models/DeleteHttpDdoSintelligentRuleRequest.js.map +1 -1
  14. package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.d.ts +10 -1
  15. package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.js.map +1 -1
  16. package/dist/models/DeleteUserWafRulesetRequest.d.ts +4 -0
  17. package/dist/models/DeleteUserWafRulesetRequest.js.map +1 -1
  18. package/dist/models/DeleteUserWafRulesetResponseBody.d.ts +3 -0
  19. package/dist/models/DeleteUserWafRulesetResponseBody.js.map +1 -1
  20. package/dist/models/DescribeDdosMaxBurstGbpsRequest.d.ts +21 -0
  21. package/dist/models/DescribeDdosMaxBurstGbpsRequest.js +58 -0
  22. package/dist/models/DescribeDdosMaxBurstGbpsRequest.js.map +1 -0
  23. package/dist/models/DescribeDdosMaxBurstGbpsResponse.d.ts +19 -0
  24. package/dist/models/DescribeDdosMaxBurstGbpsResponse.js +69 -0
  25. package/dist/models/DescribeDdosMaxBurstGbpsResponse.js.map +1 -0
  26. package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.d.ts +31 -0
  27. package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.js +62 -0
  28. package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.js.map +1 -0
  29. package/dist/models/DescribeHttpDdoSattackRulesRequest.d.ts +34 -0
  30. package/dist/models/DescribeHttpDdoSattackRulesRequest.js +62 -0
  31. package/dist/models/DescribeHttpDdoSattackRulesRequest.js.map +1 -0
  32. package/dist/models/DescribeHttpDdoSattackRulesResponse.d.ts +19 -0
  33. package/dist/models/DescribeHttpDdoSattackRulesResponse.js +69 -0
  34. package/dist/models/DescribeHttpDdoSattackRulesResponse.js.map +1 -0
  35. package/dist/models/DescribeHttpDdoSattackRulesResponseBody.d.ts +89 -0
  36. package/dist/models/DescribeHttpDdoSattackRulesResponseBody.js +102 -0
  37. package/dist/models/DescribeHttpDdoSattackRulesResponseBody.js.map +1 -0
  38. package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.d.ts +39 -0
  39. package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.js +64 -0
  40. package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.js.map +1 -0
  41. package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.d.ts +19 -0
  42. package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.js +69 -0
  43. package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.js.map +1 -0
  44. package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.d.ts +84 -0
  45. package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.js +100 -0
  46. package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.js.map +1 -0
  47. package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.d.ts +39 -0
  48. package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.js +64 -0
  49. package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.js.map +1 -0
  50. package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.d.ts +19 -0
  51. package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.js +69 -0
  52. package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.js.map +1 -0
  53. package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.d.ts +94 -0
  54. package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.js +104 -0
  55. package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.js.map +1 -0
  56. package/dist/models/GetEdgeContainerAppResourceCapacityRequest.d.ts +2 -0
  57. package/dist/models/GetEdgeContainerAppResourceCapacityRequest.js.map +1 -1
  58. package/dist/models/GetEdgeContainerAppResourceCapacityResponseBody.d.ts +60 -0
  59. package/dist/models/GetEdgeContainerAppResourceCapacityResponseBody.js.map +1 -1
  60. package/dist/models/GetKvDetailRequest.d.ts +4 -0
  61. package/dist/models/GetKvDetailRequest.js.map +1 -1
  62. package/dist/models/GetKvDetailResponseBody.d.ts +9 -0
  63. package/dist/models/GetKvDetailResponseBody.js.map +1 -1
  64. package/dist/models/ListEdgeContainerAppImageSecretsRequest.d.ts +2 -0
  65. package/dist/models/ListEdgeContainerAppImageSecretsRequest.js.map +1 -1
  66. package/dist/models/ListEdgeContainerAppImageSecretsResponseBody.d.ts +16 -0
  67. package/dist/models/ListEdgeContainerAppImageSecretsResponseBody.js.map +1 -1
  68. package/dist/models/ListSiteOriginClientCertificatesRequest.d.ts +39 -0
  69. package/dist/models/ListSiteOriginClientCertificatesRequest.js +62 -0
  70. package/dist/models/ListSiteOriginClientCertificatesRequest.js.map +1 -0
  71. package/dist/models/ListSiteOriginClientCertificatesResponse.d.ts +19 -0
  72. package/dist/models/ListSiteOriginClientCertificatesResponse.js +69 -0
  73. package/dist/models/ListSiteOriginClientCertificatesResponse.js.map +1 -0
  74. package/dist/models/ListSiteOriginClientCertificatesResponseBody.d.ts +198 -0
  75. package/dist/models/ListSiteOriginClientCertificatesResponseBody.js +120 -0
  76. package/dist/models/ListSiteOriginClientCertificatesResponseBody.js.map +1 -0
  77. package/dist/models/SetDdosMaxBurstGbpsRequest.d.ts +29 -0
  78. package/dist/models/SetDdosMaxBurstGbpsRequest.js +60 -0
  79. package/dist/models/SetDdosMaxBurstGbpsRequest.js.map +1 -0
  80. package/dist/models/SetDdosMaxBurstGbpsResponse.d.ts +19 -0
  81. package/dist/models/SetDdosMaxBurstGbpsResponse.js +69 -0
  82. package/dist/models/SetDdosMaxBurstGbpsResponse.js.map +1 -0
  83. package/dist/models/SetDdosMaxBurstGbpsResponseBody.d.ts +18 -0
  84. package/dist/models/SetDdosMaxBurstGbpsResponseBody.js +58 -0
  85. package/dist/models/SetDdosMaxBurstGbpsResponseBody.js.map +1 -0
  86. package/dist/models/SetHttpDdoSattackRuleActionRequest.d.ts +13 -0
  87. package/dist/models/SetHttpDdoSattackRuleActionRequest.js.map +1 -1
  88. package/dist/models/SetHttpDdoSattackRuleActionResponseBody.d.ts +1 -1
  89. package/dist/models/SetHttpDdoSattackRuleStatusRequest.d.ts +10 -0
  90. package/dist/models/SetHttpDdoSattackRuleStatusRequest.js.map +1 -1
  91. package/dist/models/SetHttpDdoSattackRuleStatusResponseBody.d.ts +1 -1
  92. package/dist/models/model.d.ts +22 -0
  93. package/dist/models/model.js +74 -29
  94. package/dist/models/model.js.map +1 -1
  95. package/package.json +1 -1
  96. package/src/client.ts +300 -34
  97. package/src/models/CreateEdgeContainerAppImageSecretRequest.ts +8 -0
  98. package/src/models/CreateEdgeContainerAppImageSecretResponseBody.ts +3 -0
  99. package/src/models/DeleteEdgeContainerAppImageSecretRequest.ts +4 -0
  100. package/src/models/DeleteEdgeContainerAppImageSecretResponseBody.ts +3 -0
  101. package/src/models/DeleteHttpDdoSintelligentRuleRequest.ts +6 -0
  102. package/src/models/DeleteHttpDdoSintelligentRuleResponseBody.ts +10 -1
  103. package/src/models/DeleteUserWafRulesetRequest.ts +4 -0
  104. package/src/models/DeleteUserWafRulesetResponseBody.ts +3 -0
  105. package/src/models/DescribeDdosMaxBurstGbpsRequest.ts +34 -0
  106. package/src/models/DescribeDdosMaxBurstGbpsResponse.ts +40 -0
  107. package/src/models/DescribeDdosMaxBurstGbpsResponseBody.ts +48 -0
  108. package/src/models/DescribeHttpDdoSattackRulesRequest.ts +51 -0
  109. package/src/models/DescribeHttpDdoSattackRulesResponse.ts +40 -0
  110. package/src/models/DescribeHttpDdoSattackRulesResponseBody.ts +137 -0
  111. package/src/models/DescribeHttpDdoSintelligentAclRulesRequest.ts +58 -0
  112. package/src/models/DescribeHttpDdoSintelligentAclRulesResponse.ts +40 -0
  113. package/src/models/DescribeHttpDdoSintelligentAclRulesResponseBody.ts +130 -0
  114. package/src/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.ts +58 -0
  115. package/src/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.ts +40 -0
  116. package/src/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.ts +144 -0
  117. package/src/models/GetEdgeContainerAppResourceCapacityRequest.ts +2 -0
  118. package/src/models/GetEdgeContainerAppResourceCapacityResponseBody.ts +60 -0
  119. package/src/models/GetKvDetailRequest.ts +4 -0
  120. package/src/models/GetKvDetailResponseBody.ts +9 -0
  121. package/src/models/ListEdgeContainerAppImageSecretsRequest.ts +2 -0
  122. package/src/models/ListEdgeContainerAppImageSecretsResponseBody.ts +16 -0
  123. package/src/models/ListSiteOriginClientCertificatesRequest.ts +56 -0
  124. package/src/models/ListSiteOriginClientCertificatesResponse.ts +40 -0
  125. package/src/models/ListSiteOriginClientCertificatesResponseBody.ts +264 -0
  126. package/src/models/SetDdosMaxBurstGbpsRequest.ts +44 -0
  127. package/src/models/SetDdosMaxBurstGbpsResponse.ts +40 -0
  128. package/src/models/SetDdosMaxBurstGbpsResponseBody.ts +31 -0
  129. package/src/models/SetHttpDdoSattackRuleActionRequest.ts +13 -0
  130. package/src/models/SetHttpDdoSattackRuleActionResponseBody.ts +1 -1
  131. package/src/models/SetHttpDdoSattackRuleStatusRequest.ts +10 -0
  132. package/src/models/SetHttpDdoSattackRuleStatusResponseBody.ts +1 -1
  133. package/src/models/model.ts +22 -0
@@ -0,0 +1,144 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeHttpDDoSIntelligentRateLimitRulesResponseBodyRuleInfos extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * js
9
+ */
10
+ action?: string;
11
+ /**
12
+ * @example
13
+ * {"$and":[{"key":"URI","opValue":"prefix-match","values":"/"}]}
14
+ */
15
+ condition?: string;
16
+ /**
17
+ * @example
18
+ * 100030
19
+ */
20
+ logRuleId?: number;
21
+ /**
22
+ * @example
23
+ * 86400
24
+ */
25
+ punishTime?: number;
26
+ /**
27
+ * @example
28
+ * {"threshold":2000,"interval":5,"target":"ip","ttl":600}
29
+ */
30
+ rateLimit?: string;
31
+ /**
32
+ * @example
33
+ * test.example.com
34
+ */
35
+ recordName?: string;
36
+ /**
37
+ * @example
38
+ * 20110849
39
+ */
40
+ ruleId?: number;
41
+ /**
42
+ * @example
43
+ * inner_cc_client_ip_ratelimit
44
+ */
45
+ ruleName?: string;
46
+ /**
47
+ * @example
48
+ * {"field":"ip","mode":"count"}
49
+ */
50
+ statistics?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ action: 'Action',
54
+ condition: 'Condition',
55
+ logRuleId: 'LogRuleId',
56
+ punishTime: 'PunishTime',
57
+ rateLimit: 'RateLimit',
58
+ recordName: 'RecordName',
59
+ ruleId: 'RuleId',
60
+ ruleName: 'RuleName',
61
+ statistics: 'Statistics',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ action: 'string',
68
+ condition: 'string',
69
+ logRuleId: 'number',
70
+ punishTime: 'number',
71
+ rateLimit: 'string',
72
+ recordName: 'string',
73
+ ruleId: 'number',
74
+ ruleName: 'string',
75
+ statistics: 'string',
76
+ };
77
+ }
78
+
79
+ validate() {
80
+ super.validate();
81
+ }
82
+
83
+ constructor(map?: { [key: string]: any }) {
84
+ super(map);
85
+ }
86
+ }
87
+
88
+ export class DescribeHttpDDoSIntelligentRateLimitRulesResponseBody extends $dara.Model {
89
+ /**
90
+ * @example
91
+ * 1
92
+ */
93
+ pageNumber?: number;
94
+ /**
95
+ * @example
96
+ * 10
97
+ */
98
+ pageSize?: number;
99
+ /**
100
+ * @remarks
101
+ * Id of the request
102
+ *
103
+ * @example
104
+ * 36af3fcc-43d0-441c-86b1-428951dc8225
105
+ */
106
+ requestId?: string;
107
+ ruleInfos?: DescribeHttpDDoSIntelligentRateLimitRulesResponseBodyRuleInfos[];
108
+ /**
109
+ * @example
110
+ * 100
111
+ */
112
+ totalCount?: number;
113
+ static names(): { [key: string]: string } {
114
+ return {
115
+ pageNumber: 'PageNumber',
116
+ pageSize: 'PageSize',
117
+ requestId: 'RequestId',
118
+ ruleInfos: 'RuleInfos',
119
+ totalCount: 'TotalCount',
120
+ };
121
+ }
122
+
123
+ static types(): { [key: string]: any } {
124
+ return {
125
+ pageNumber: 'number',
126
+ pageSize: 'number',
127
+ requestId: 'string',
128
+ ruleInfos: { 'type': 'array', 'itemType': DescribeHttpDDoSIntelligentRateLimitRulesResponseBodyRuleInfos },
129
+ totalCount: 'number',
130
+ };
131
+ }
132
+
133
+ validate() {
134
+ if(Array.isArray(this.ruleInfos)) {
135
+ $dara.Model.validateArray(this.ruleInfos);
136
+ }
137
+ super.validate();
138
+ }
139
+
140
+ constructor(map?: { [key: string]: any }) {
141
+ super(map);
142
+ }
143
+ }
144
+
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetEdgeContainerAppResourceCapacityRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The application ID, which can be obtained by calling the [ListEdgeContainerApps](~~ListEdgeContainerApps~~) operation.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -4,16 +4,69 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class GetEdgeContainerAppResourceCapacityResponseBodyRegions extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Supported ISPs are as follows. The parameter is left empty for regions outside the Chinese mainland. ISP:
9
+ *
10
+ * * China Mobile: cmcc
11
+ * * China Telecom: chinanet
12
+ * * China Unicom: unicom
13
+ *
7
14
  * @example
8
15
  * unicom
9
16
  */
10
17
  isp?: string;
11
18
  /**
19
+ * @remarks
20
+ * Chinese mainland:
21
+ *
22
+ * * East China: huadong
23
+ * * South China: huanan
24
+ * * Central China: huazhong
25
+ * * North China: huabei
26
+ * * Northwest China: xibei
27
+ * * Southwest China: xinan
28
+ * * Northeast China: dongbei
29
+ *
30
+ * Special Administrative Regions and Overseas:
31
+ *
32
+ * * Taiwan, China: tw
33
+ * * Macau, China: mo
34
+ * * Hong Kong, China: hk
35
+ * * Japan: jp
36
+ * * United States: us
37
+ * * Thailand: th
38
+ * * Korea: kr
39
+ * * Russia: ru
40
+ * * Singapore: sg
41
+ * * France: fr
42
+ * * Spain: es
43
+ * * Italy: it
44
+ * * Sweden: se
45
+ * * UAE: ae
46
+ * * Indonesia: id
47
+ * * Chile: cl
48
+ * * Philippines: ph
49
+ * * Malaysia: my
50
+ * * Vietnam: vn
51
+ * * Argentina: AR
52
+ * * Australia: au
53
+ * * Brazil: br
54
+ * * Colombia: co
55
+ * * Germany: de
56
+ * * UK: GB
57
+ * * Peru: pe
58
+ * * Saudi Arabia: sa
59
+ * * Netherlands: nl
60
+ * * South Africa: za
61
+ *
12
62
  * @example
13
63
  * huadong
14
64
  */
15
65
  region?: string;
16
66
  /**
67
+ * @remarks
68
+ * The number of container replicas that can be deployed.
69
+ *
17
70
  * @example
18
71
  * 16
19
72
  */
@@ -44,8 +97,15 @@ export class GetEdgeContainerAppResourceCapacityResponseBodyRegions extends $dar
44
97
  }
45
98
 
46
99
  export class GetEdgeContainerAppResourceCapacityResponseBody extends $dara.Model {
100
+ /**
101
+ * @remarks
102
+ * The queried region.
103
+ */
47
104
  regions?: GetEdgeContainerAppResourceCapacityResponseBodyRegions[];
48
105
  /**
106
+ * @remarks
107
+ * The request ID.
108
+ *
49
109
  * @example
50
110
  * 50423A7F-A83D-1E24-B80E-86DD25790759
51
111
  */
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetKvDetailRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The key name for the query.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class GetKvDetailRequest extends $dara.Model {
13
15
  key?: string;
14
16
  /**
15
17
  * @remarks
18
+ * The name of the namespace that you specify when you call the [CreateKvNamespace](https://help.aliyun.com/document_detail/2850317.html) operation.
19
+ *
16
20
  * This parameter is required.
17
21
  *
18
22
  * @example
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class GetKvDetailResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The expiration time of the key. Unit: seconds.
9
+ *
7
10
  * @example
8
11
  * 3600
9
12
  */
10
13
  expirationTtl?: string;
11
14
  /**
15
+ * @remarks
16
+ * The expiration time of the key. Unit: seconds.
17
+ *
12
18
  * @example
13
19
  * CB1A380B-09F0-41BB-280B-72F8FD6DA2FE
14
20
  */
15
21
  requestId?: string;
16
22
  /**
23
+ * @remarks
24
+ * The value of the key. The value of the root node.
25
+ *
17
26
  * @example
18
27
  * test_value
19
28
  */
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListEdgeContainerAppImageSecretsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * Application ID, which can be obtained using the [ListEdgeContainerApps](~~ListEdgeContainerApps~~) interface.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListEdgeContainerAppImageSecretsResponseBodyImageSecretList extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Name of the image secret.
9
+ *
7
10
  * @example
8
11
  * reg-123****
9
12
  */
10
13
  name?: string;
11
14
  /**
15
+ * @remarks
16
+ * Registry address.
17
+ *
12
18
  * @example
13
19
  * registry-vpc.cn-hangzhou.aliyuncs.com
14
20
  */
15
21
  registry?: string;
16
22
  /**
23
+ * @remarks
24
+ * Username for the image repository
25
+ *
17
26
  * @example
18
27
  * admin
19
28
  */
@@ -44,8 +53,15 @@ export class ListEdgeContainerAppImageSecretsResponseBodyImageSecretList extends
44
53
  }
45
54
 
46
55
  export class ListEdgeContainerAppImageSecretsResponseBody extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * List of image secrets.
59
+ */
47
60
  imageSecretList?: ListEdgeContainerAppImageSecretsResponseBodyImageSecretList[];
48
61
  /**
62
+ * @remarks
63
+ * Request ID.
64
+ *
49
65
  * @example
50
66
  * 3558df77-8a7a-4060-a900-2d7949403836
51
67
  */
@@ -0,0 +1,56 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListSiteOriginClientCertificatesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The page number.
9
+ *
10
+ * @example
11
+ * 1
12
+ */
13
+ pageNumber?: number;
14
+ /**
15
+ * @remarks
16
+ * The number of entries per page.
17
+ *
18
+ * @example
19
+ * 20
20
+ */
21
+ pageSize?: number;
22
+ /**
23
+ * @remarks
24
+ * The website ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
25
+ *
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * 123456789****
30
+ */
31
+ siteId?: number;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ pageNumber: 'PageNumber',
35
+ pageSize: 'PageSize',
36
+ siteId: 'SiteId',
37
+ };
38
+ }
39
+
40
+ static types(): { [key: string]: any } {
41
+ return {
42
+ pageNumber: 'number',
43
+ pageSize: 'number',
44
+ siteId: 'number',
45
+ };
46
+ }
47
+
48
+ validate() {
49
+ super.validate();
50
+ }
51
+
52
+ constructor(map?: { [key: string]: any }) {
53
+ super(map);
54
+ }
55
+ }
56
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListSiteOriginClientCertificatesResponseBody } from "./ListSiteOriginClientCertificatesResponseBody";
4
+
5
+
6
+ export class ListSiteOriginClientCertificatesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListSiteOriginClientCertificatesResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ListSiteOriginClientCertificatesResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,264 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListSiteOriginClientCertificatesResponseBodyResult extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The Common Name of the certificate.
9
+ *
10
+ * @example
11
+ * www.example.com
12
+ */
13
+ commonName?: string;
14
+ /**
15
+ * @remarks
16
+ * The time when the certificate was created.
17
+ *
18
+ * @example
19
+ * 2024-06-24 07:48:51
20
+ */
21
+ createTime?: string;
22
+ /**
23
+ * @remarks
24
+ * The SHA-256 fingerprint of the certificate.
25
+ *
26
+ * @example
27
+ * 1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456a****
28
+ */
29
+ fingerprintSha256?: string;
30
+ /**
31
+ * @remarks
32
+ * The certificate ID on ESA.
33
+ *
34
+ * @example
35
+ * babaabcd****
36
+ */
37
+ id?: string;
38
+ /**
39
+ * @remarks
40
+ * The certificate authority (CA) that issued the certificate.
41
+ *
42
+ * @example
43
+ * DigiCert
44
+ */
45
+ issuer?: string;
46
+ /**
47
+ * @remarks
48
+ * The certificate name.
49
+ *
50
+ * @example
51
+ * yourCertName
52
+ */
53
+ name?: string;
54
+ /**
55
+ * @remarks
56
+ * The time when the certificate expires.
57
+ *
58
+ * @example
59
+ * 2024-03-31 02:08:00
60
+ */
61
+ notAfter?: string;
62
+ /**
63
+ * @remarks
64
+ * The time when the certificate takes effect.
65
+ *
66
+ * @example
67
+ * 2023-03-31 02:08:00
68
+ */
69
+ notBefore?: string;
70
+ /**
71
+ * @remarks
72
+ * The public key algorithm of the certificate.
73
+ *
74
+ * @example
75
+ * RSA
76
+ */
77
+ pubkeyAlgorithm?: string;
78
+ /**
79
+ * @remarks
80
+ * The Subject Alternative Name (SAN) of the certificate.
81
+ *
82
+ * @example
83
+ * www.example.com,*.example.com
84
+ */
85
+ SAN?: string;
86
+ /**
87
+ * @remarks
88
+ * The serial number of the certificate.
89
+ *
90
+ * @example
91
+ * babaded901474b9693acf530e0fb1d**
92
+ */
93
+ serialNumber?: string;
94
+ /**
95
+ * @remarks
96
+ * The signature algorithm of the certificate.
97
+ *
98
+ * @example
99
+ * SHA256-RSA
100
+ */
101
+ signatureAlgorithm?: string;
102
+ /**
103
+ * @remarks
104
+ * The certificate status.
105
+ *
106
+ * @example
107
+ * OK
108
+ */
109
+ status?: string;
110
+ /**
111
+ * @remarks
112
+ * The certificate type.
113
+ *
114
+ * @example
115
+ * upload
116
+ */
117
+ type?: string;
118
+ /**
119
+ * @remarks
120
+ * The time when the certificate was updated.
121
+ *
122
+ * @example
123
+ * 2022-09-22 05:33:13
124
+ */
125
+ updateTime?: string;
126
+ static names(): { [key: string]: string } {
127
+ return {
128
+ commonName: 'CommonName',
129
+ createTime: 'CreateTime',
130
+ fingerprintSha256: 'FingerprintSha256',
131
+ id: 'Id',
132
+ issuer: 'Issuer',
133
+ name: 'Name',
134
+ notAfter: 'NotAfter',
135
+ notBefore: 'NotBefore',
136
+ pubkeyAlgorithm: 'PubkeyAlgorithm',
137
+ SAN: 'SAN',
138
+ serialNumber: 'SerialNumber',
139
+ signatureAlgorithm: 'SignatureAlgorithm',
140
+ status: 'Status',
141
+ type: 'Type',
142
+ updateTime: 'UpdateTime',
143
+ };
144
+ }
145
+
146
+ static types(): { [key: string]: any } {
147
+ return {
148
+ commonName: 'string',
149
+ createTime: 'string',
150
+ fingerprintSha256: 'string',
151
+ id: 'string',
152
+ issuer: 'string',
153
+ name: 'string',
154
+ notAfter: 'string',
155
+ notBefore: 'string',
156
+ pubkeyAlgorithm: 'string',
157
+ SAN: 'string',
158
+ serialNumber: 'string',
159
+ signatureAlgorithm: 'string',
160
+ status: 'string',
161
+ type: 'string',
162
+ updateTime: 'string',
163
+ };
164
+ }
165
+
166
+ validate() {
167
+ super.validate();
168
+ }
169
+
170
+ constructor(map?: { [key: string]: any }) {
171
+ super(map);
172
+ }
173
+ }
174
+
175
+ export class ListSiteOriginClientCertificatesResponseBody extends $dara.Model {
176
+ /**
177
+ * @remarks
178
+ * The page number.
179
+ *
180
+ * @example
181
+ * 1
182
+ */
183
+ pageNumber?: number;
184
+ /**
185
+ * @remarks
186
+ * The number of entries per page.
187
+ *
188
+ * @example
189
+ * 1024
190
+ */
191
+ pageSize?: number;
192
+ /**
193
+ * @remarks
194
+ * The request ID.
195
+ *
196
+ * @example
197
+ * 15C66C7B-671A-4297-9187-2C4477247A74
198
+ */
199
+ requestId?: string;
200
+ /**
201
+ * @remarks
202
+ * Details of the certificates.
203
+ */
204
+ result?: ListSiteOriginClientCertificatesResponseBodyResult[];
205
+ /**
206
+ * @remarks
207
+ * Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
208
+ *
209
+ * @example
210
+ * 123456789****
211
+ */
212
+ siteId?: number;
213
+ /**
214
+ * @remarks
215
+ * The website name.
216
+ *
217
+ * @example
218
+ * example.com
219
+ */
220
+ siteName?: string;
221
+ /**
222
+ * @remarks
223
+ * The total number of certificate.
224
+ *
225
+ * @example
226
+ * 90
227
+ */
228
+ totalCount?: number;
229
+ static names(): { [key: string]: string } {
230
+ return {
231
+ pageNumber: 'PageNumber',
232
+ pageSize: 'PageSize',
233
+ requestId: 'RequestId',
234
+ result: 'Result',
235
+ siteId: 'SiteId',
236
+ siteName: 'SiteName',
237
+ totalCount: 'TotalCount',
238
+ };
239
+ }
240
+
241
+ static types(): { [key: string]: any } {
242
+ return {
243
+ pageNumber: 'number',
244
+ pageSize: 'number',
245
+ requestId: 'string',
246
+ result: { 'type': 'array', 'itemType': ListSiteOriginClientCertificatesResponseBodyResult },
247
+ siteId: 'number',
248
+ siteName: 'string',
249
+ totalCount: 'number',
250
+ };
251
+ }
252
+
253
+ validate() {
254
+ if(Array.isArray(this.result)) {
255
+ $dara.Model.validateArray(this.result);
256
+ }
257
+ super.validate();
258
+ }
259
+
260
+ constructor(map?: { [key: string]: any }) {
261
+ super(map);
262
+ }
263
+ }
264
+