@alicloud/waf-openapi20211001 4.4.0 → 4.5.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 +30 -0
- package/dist/client.js +96 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCertsRequest.d.ts +66 -0
- package/dist/models/CreateCertsRequest.js +68 -0
- package/dist/models/CreateCertsRequest.js.map +1 -0
- package/dist/models/CreateCertsResponse.d.ts +19 -0
- package/dist/models/CreateCertsResponse.js +69 -0
- package/dist/models/CreateCertsResponse.js.map +1 -0
- package/dist/models/CreateCertsResponseBody.d.ts +29 -0
- package/dist/models/CreateCertsResponseBody.js +60 -0
- package/dist/models/CreateCertsResponseBody.js.map +1 -0
- package/dist/models/DescribeDomainUsedPortsRequest.d.ts +26 -0
- package/dist/models/DescribeDomainUsedPortsRequest.js +60 -0
- package/dist/models/DescribeDomainUsedPortsRequest.js.map +1 -0
- package/dist/models/DescribeDomainUsedPortsResponse.d.ts +19 -0
- package/dist/models/DescribeDomainUsedPortsResponse.js +69 -0
- package/dist/models/DescribeDomainUsedPortsResponse.js.map +1 -0
- package/dist/models/DescribeDomainUsedPortsResponseBody.d.ts +19 -0
- package/dist/models/DescribeDomainUsedPortsResponseBody.js +63 -0
- package/dist/models/DescribeDomainUsedPortsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +23 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +108 -0
- package/src/models/CreateCertsRequest.ts +89 -0
- package/src/models/CreateCertsResponse.ts +40 -0
- package/src/models/CreateCertsResponseBody.ts +44 -0
- package/src/models/DescribeDomainUsedPortsRequest.ts +41 -0
- package/src/models/DescribeDomainUsedPortsResponse.ts +40 -0
- package/src/models/DescribeDomainUsedPortsResponseBody.ts +37 -0
- package/src/models/model.ts +6 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDomainUsedPortsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf_elasticity-cn-0xldbqt****
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* cn-hangzhou
|
|
17
|
+
*/
|
|
18
|
+
regionId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
instanceId: 'InstanceId',
|
|
22
|
+
regionId: 'RegionId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
instanceId: 'string',
|
|
29
|
+
regionId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDomainUsedPortsResponseBody } from "./DescribeDomainUsedPortsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDomainUsedPortsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeDomainUsedPortsResponseBody;
|
|
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: DescribeDomainUsedPortsResponseBody,
|
|
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,37 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDomainUsedPortsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* D7861F61-5B61-*-A47C-*
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
usedPorts?: number[];
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
requestId: 'RequestId',
|
|
15
|
+
usedPorts: 'UsedPorts',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
requestId: 'string',
|
|
22
|
+
usedPorts: { 'type': 'array', 'itemType': 'number' },
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(Array.isArray(this.usedPorts)) {
|
|
28
|
+
$dara.Model.validateArray(this.usedPorts);
|
|
29
|
+
}
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -179,6 +179,9 @@ export { CopyDefenseTemplateResponse } from './CopyDefenseTemplateResponse';
|
|
|
179
179
|
export { CreateApiExportRequest } from './CreateApiExportRequest';
|
|
180
180
|
export { CreateApiExportResponseBody } from './CreateApiExportResponseBody';
|
|
181
181
|
export { CreateApiExportResponse } from './CreateApiExportResponse';
|
|
182
|
+
export { CreateCertsRequest } from './CreateCertsRequest';
|
|
183
|
+
export { CreateCertsResponseBody } from './CreateCertsResponseBody';
|
|
184
|
+
export { CreateCertsResponse } from './CreateCertsResponse';
|
|
182
185
|
export { CreateCloudResourceRequest } from './CreateCloudResourceRequest';
|
|
183
186
|
export { CreateCloudResourceShrinkRequest } from './CreateCloudResourceShrinkRequest';
|
|
184
187
|
export { CreateCloudResourceResponseBody } from './CreateCloudResourceResponseBody';
|
|
@@ -371,6 +374,9 @@ export { DescribeDomainDNSRecordResponse } from './DescribeDomainDnsrecordRespon
|
|
|
371
374
|
export { DescribeDomainDetailRequest } from './DescribeDomainDetailRequest';
|
|
372
375
|
export { DescribeDomainDetailResponseBody } from './DescribeDomainDetailResponseBody';
|
|
373
376
|
export { DescribeDomainDetailResponse } from './DescribeDomainDetailResponse';
|
|
377
|
+
export { DescribeDomainUsedPortsRequest } from './DescribeDomainUsedPortsRequest';
|
|
378
|
+
export { DescribeDomainUsedPortsResponseBody } from './DescribeDomainUsedPortsResponseBody';
|
|
379
|
+
export { DescribeDomainUsedPortsResponse } from './DescribeDomainUsedPortsResponse';
|
|
374
380
|
export { DescribeDomainsRequest } from './DescribeDomainsRequest';
|
|
375
381
|
export { DescribeDomainsResponseBody } from './DescribeDomainsResponseBody';
|
|
376
382
|
export { DescribeDomainsResponse } from './DescribeDomainsResponse';
|