@alicloud/alidns20150109 4.0.0 → 4.1.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 +23 -0
- package/dist/client.js +53 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddRspDomainServerHoldStatusForGatewayRequest.d.ts +34 -0
- package/dist/models/AddRspDomainServerHoldStatusForGatewayRequest.js +62 -0
- package/dist/models/AddRspDomainServerHoldStatusForGatewayRequest.js.map +1 -0
- package/dist/models/AddRspDomainServerHoldStatusForGatewayResponse.d.ts +19 -0
- package/dist/models/AddRspDomainServerHoldStatusForGatewayResponse.js +69 -0
- package/dist/models/AddRspDomainServerHoldStatusForGatewayResponse.js.map +1 -0
- package/dist/models/AddRspDomainServerHoldStatusForGatewayResponseBody.d.ts +94 -0
- package/dist/models/AddRspDomainServerHoldStatusForGatewayResponseBody.js +122 -0
- package/dist/models/AddRspDomainServerHoldStatusForGatewayResponseBody.js.map +1 -0
- package/dist/models/DescribePdnsAppKeysResponseBody.d.ts +16 -0
- package/dist/models/DescribePdnsAppKeysResponseBody.js +29 -1
- package/dist/models/DescribePdnsAppKeysResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +36 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +58 -0
- package/src/models/AddRspDomainServerHoldStatusForGatewayRequest.ts +51 -0
- package/src/models/AddRspDomainServerHoldStatusForGatewayResponse.ts +40 -0
- package/src/models/AddRspDomainServerHoldStatusForGatewayResponseBody.ts +153 -0
- package/src/models/DescribePdnsAppKeysResponseBody.ts +35 -0
- package/src/models/model.ts +6 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AddRspDomainServerHoldStatusForGatewayRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* token123
|
|
12
|
+
*/
|
|
13
|
+
clientToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* dns-example.top
|
|
20
|
+
*/
|
|
21
|
+
domainName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*/
|
|
26
|
+
statusMsg?: string;
|
|
27
|
+
static names(): { [key: string]: string } {
|
|
28
|
+
return {
|
|
29
|
+
clientToken: 'ClientToken',
|
|
30
|
+
domainName: 'DomainName',
|
|
31
|
+
statusMsg: 'StatusMsg',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
clientToken: 'string',
|
|
38
|
+
domainName: 'string',
|
|
39
|
+
statusMsg: 'string',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
validate() {
|
|
44
|
+
super.validate();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
constructor(map?: { [key: string]: any }) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { AddRspDomainServerHoldStatusForGatewayResponseBody } from "./AddRspDomainServerHoldStatusForGatewayResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class AddRspDomainServerHoldStatusForGatewayResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: AddRspDomainServerHoldStatusForGatewayResponseBody;
|
|
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: AddRspDomainServerHoldStatusForGatewayResponseBody,
|
|
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,153 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AddRspDomainServerHoldStatusForGatewayResponseBodyAccessDeniedDetail extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* CreateUser
|
|
9
|
+
*/
|
|
10
|
+
authAction?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 2015555733387XXXX
|
|
14
|
+
*/
|
|
15
|
+
authPrincipalDisplayName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1046973331XXXX
|
|
19
|
+
*/
|
|
20
|
+
authPrincipalOwnerId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* SubUser
|
|
24
|
+
*/
|
|
25
|
+
authPrincipalType?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==
|
|
29
|
+
*/
|
|
30
|
+
encodedDiagnosticMessage?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* ImplicitDeny
|
|
34
|
+
*/
|
|
35
|
+
noPermissionType?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* DlpSend
|
|
39
|
+
*/
|
|
40
|
+
policyType?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
authAction: 'AuthAction',
|
|
44
|
+
authPrincipalDisplayName: 'AuthPrincipalDisplayName',
|
|
45
|
+
authPrincipalOwnerId: 'AuthPrincipalOwnerId',
|
|
46
|
+
authPrincipalType: 'AuthPrincipalType',
|
|
47
|
+
encodedDiagnosticMessage: 'EncodedDiagnosticMessage',
|
|
48
|
+
noPermissionType: 'NoPermissionType',
|
|
49
|
+
policyType: 'PolicyType',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
authAction: 'string',
|
|
56
|
+
authPrincipalDisplayName: 'string',
|
|
57
|
+
authPrincipalOwnerId: 'string',
|
|
58
|
+
authPrincipalType: 'string',
|
|
59
|
+
encodedDiagnosticMessage: 'string',
|
|
60
|
+
noPermissionType: 'string',
|
|
61
|
+
policyType: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export class AddRspDomainServerHoldStatusForGatewayResponseBodyData extends $dara.Model {
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* example.com
|
|
78
|
+
*/
|
|
79
|
+
domainName?: string;
|
|
80
|
+
static names(): { [key: string]: string } {
|
|
81
|
+
return {
|
|
82
|
+
domainName: 'DomainName',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
static types(): { [key: string]: any } {
|
|
87
|
+
return {
|
|
88
|
+
domainName: 'string',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
validate() {
|
|
93
|
+
super.validate();
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
constructor(map?: { [key: string]: any }) {
|
|
97
|
+
super(map);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export class AddRspDomainServerHoldStatusForGatewayResponseBody extends $dara.Model {
|
|
102
|
+
accessDeniedDetail?: AddRspDomainServerHoldStatusForGatewayResponseBodyAccessDeniedDetail;
|
|
103
|
+
data?: AddRspDomainServerHoldStatusForGatewayResponseBodyData;
|
|
104
|
+
/**
|
|
105
|
+
* @example
|
|
106
|
+
* true
|
|
107
|
+
*/
|
|
108
|
+
recoverableError?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* 0629502C-XXXX-5DC9-XXXX-2ED73A2E3931
|
|
112
|
+
*/
|
|
113
|
+
requestId?: string;
|
|
114
|
+
/**
|
|
115
|
+
* @example
|
|
116
|
+
* true
|
|
117
|
+
*/
|
|
118
|
+
success?: boolean;
|
|
119
|
+
static names(): { [key: string]: string } {
|
|
120
|
+
return {
|
|
121
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
122
|
+
data: 'Data',
|
|
123
|
+
recoverableError: 'RecoverableError',
|
|
124
|
+
requestId: 'RequestId',
|
|
125
|
+
success: 'Success',
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
static types(): { [key: string]: any } {
|
|
130
|
+
return {
|
|
131
|
+
accessDeniedDetail: AddRspDomainServerHoldStatusForGatewayResponseBodyAccessDeniedDetail,
|
|
132
|
+
data: AddRspDomainServerHoldStatusForGatewayResponseBodyData,
|
|
133
|
+
recoverableError: 'boolean',
|
|
134
|
+
requestId: 'string',
|
|
135
|
+
success: 'boolean',
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
validate() {
|
|
140
|
+
if(this.accessDeniedDetail && typeof (this.accessDeniedDetail as any).validate === 'function') {
|
|
141
|
+
(this.accessDeniedDetail as any).validate();
|
|
142
|
+
}
|
|
143
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
144
|
+
(this.data as any).validate();
|
|
145
|
+
}
|
|
146
|
+
super.validate();
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
constructor(map?: { [key: string]: any }) {
|
|
150
|
+
super(map);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
@@ -2,8 +2,38 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class DescribePdnsAppKeysResponseBodyAppKeysBindEdgeDnsClusters extends $dara.Model {
|
|
6
|
+
clusterId?: string;
|
|
7
|
+
clusterName?: string;
|
|
8
|
+
clusterUserId?: string;
|
|
9
|
+
static names(): { [key: string]: string } {
|
|
10
|
+
return {
|
|
11
|
+
clusterId: 'ClusterId',
|
|
12
|
+
clusterName: 'ClusterName',
|
|
13
|
+
clusterUserId: 'ClusterUserId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
clusterId: 'string',
|
|
20
|
+
clusterName: 'string',
|
|
21
|
+
clusterUserId: 'string',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
validate() {
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
5
34
|
export class DescribePdnsAppKeysResponseBodyAppKeys extends $dara.Model {
|
|
6
35
|
appKeyId?: string;
|
|
36
|
+
bindEdgeDnsClusters?: DescribePdnsAppKeysResponseBodyAppKeysBindEdgeDnsClusters[];
|
|
7
37
|
createDate?: string;
|
|
8
38
|
createTimestamp?: number;
|
|
9
39
|
remark?: string;
|
|
@@ -11,6 +41,7 @@ export class DescribePdnsAppKeysResponseBodyAppKeys extends $dara.Model {
|
|
|
11
41
|
static names(): { [key: string]: string } {
|
|
12
42
|
return {
|
|
13
43
|
appKeyId: 'AppKeyId',
|
|
44
|
+
bindEdgeDnsClusters: 'BindEdgeDnsClusters',
|
|
14
45
|
createDate: 'CreateDate',
|
|
15
46
|
createTimestamp: 'CreateTimestamp',
|
|
16
47
|
remark: 'Remark',
|
|
@@ -21,6 +52,7 @@ export class DescribePdnsAppKeysResponseBodyAppKeys extends $dara.Model {
|
|
|
21
52
|
static types(): { [key: string]: any } {
|
|
22
53
|
return {
|
|
23
54
|
appKeyId: 'string',
|
|
55
|
+
bindEdgeDnsClusters: { 'type': 'array', 'itemType': DescribePdnsAppKeysResponseBodyAppKeysBindEdgeDnsClusters },
|
|
24
56
|
createDate: 'string',
|
|
25
57
|
createTimestamp: 'number',
|
|
26
58
|
remark: 'string',
|
|
@@ -29,6 +61,9 @@ export class DescribePdnsAppKeysResponseBodyAppKeys extends $dara.Model {
|
|
|
29
61
|
}
|
|
30
62
|
|
|
31
63
|
validate() {
|
|
64
|
+
if(Array.isArray(this.bindEdgeDnsClusters)) {
|
|
65
|
+
$dara.Model.validateArray(this.bindEdgeDnsClusters);
|
|
66
|
+
}
|
|
32
67
|
super.validate();
|
|
33
68
|
}
|
|
34
69
|
|
package/src/models/model.ts
CHANGED
|
@@ -9,6 +9,8 @@ export { AddDomainResponseBodyDnsServers } from './AddDomainResponseBody';
|
|
|
9
9
|
export { AddGtmAddressPoolRequestAddr } from './AddGtmAddressPoolRequest';
|
|
10
10
|
export { AddGtmAddressPoolRequestIspCityNode } from './AddGtmAddressPoolRequest';
|
|
11
11
|
export { AddGtmMonitorRequestIspCityNode } from './AddGtmMonitorRequest';
|
|
12
|
+
export { AddRspDomainServerHoldStatusForGatewayResponseBodyAccessDeniedDetail } from './AddRspDomainServerHoldStatusForGatewayResponseBody';
|
|
13
|
+
export { AddRspDomainServerHoldStatusForGatewayResponseBodyData } from './AddRspDomainServerHoldStatusForGatewayResponseBody';
|
|
12
14
|
export { CreateCloudGtmAddressRequestHealthTasks } from './CreateCloudGtmAddressRequest';
|
|
13
15
|
export { CreateCloudGtmMonitorTemplateRequestIspCityNodes } from './CreateCloudGtmMonitorTemplateRequest';
|
|
14
16
|
export { DescribeBatchResultDetailResponseBodyBatchResultDetailsBatchResultDetail } from './DescribeBatchResultDetailResponseBody';
|
|
@@ -181,6 +183,7 @@ export { DescribeIspFlushCacheTaskResponseBodyFlushCacheResults } from './Descri
|
|
|
181
183
|
export { DescribeIspFlushCacheTasksResponseBodyIspFlushCacheTasks } from './DescribeIspFlushCacheTasksResponseBody';
|
|
182
184
|
export { DescribePdnsAccountSummaryResponseBodyData } from './DescribePdnsAccountSummaryResponseBody';
|
|
183
185
|
export { DescribePdnsAppKeyResponseBodyAppKey } from './DescribePdnsAppKeyResponseBody';
|
|
186
|
+
export { DescribePdnsAppKeysResponseBodyAppKeysBindEdgeDnsClusters } from './DescribePdnsAppKeysResponseBody';
|
|
184
187
|
export { DescribePdnsAppKeysResponseBodyAppKeys } from './DescribePdnsAppKeysResponseBody';
|
|
185
188
|
export { DescribePdnsOperateLogsResponseBodyLogs } from './DescribePdnsOperateLogsResponseBody';
|
|
186
189
|
export { DescribePdnsRequestStatisticResponseBodyData } from './DescribePdnsRequestStatisticResponseBody';
|
|
@@ -354,6 +357,9 @@ export { AddRecursionRecordResponse } from './AddRecursionRecordResponse';
|
|
|
354
357
|
export { AddRecursionZoneRequest } from './AddRecursionZoneRequest';
|
|
355
358
|
export { AddRecursionZoneResponseBody } from './AddRecursionZoneResponseBody';
|
|
356
359
|
export { AddRecursionZoneResponse } from './AddRecursionZoneResponse';
|
|
360
|
+
export { AddRspDomainServerHoldStatusForGatewayRequest } from './AddRspDomainServerHoldStatusForGatewayRequest';
|
|
361
|
+
export { AddRspDomainServerHoldStatusForGatewayResponseBody } from './AddRspDomainServerHoldStatusForGatewayResponseBody';
|
|
362
|
+
export { AddRspDomainServerHoldStatusForGatewayResponse } from './AddRspDomainServerHoldStatusForGatewayResponse';
|
|
357
363
|
export { BindInstanceDomainsRequest } from './BindInstanceDomainsRequest';
|
|
358
364
|
export { BindInstanceDomainsResponseBody } from './BindInstanceDomainsResponseBody';
|
|
359
365
|
export { BindInstanceDomainsResponse } from './BindInstanceDomainsResponse';
|