@alicloud/alidns20150109 4.5.0 → 4.6.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/src/client.ts CHANGED
@@ -3046,6 +3046,64 @@ export default class Client extends OpenApi {
3046
3046
  return await this.describeAtiAgentRegisterInfoWithOptions(request, runtime);
3047
3047
  }
3048
3048
 
3049
+ /**
3050
+ * 为sdk查询agent信息功能
3051
+ *
3052
+ * @param request - DescribeAtiAgentRegisterInfoMarketRequest
3053
+ * @param runtime - runtime options for this request RuntimeOptions
3054
+ * @returns DescribeAtiAgentRegisterInfoMarketResponse
3055
+ */
3056
+ async describeAtiAgentRegisterInfoMarketWithOptions(request: $_model.DescribeAtiAgentRegisterInfoMarketRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAtiAgentRegisterInfoMarketResponse> {
3057
+ request.validate();
3058
+ let query = { };
3059
+ if (!$dara.isNull(request.agentHost)) {
3060
+ query["AgentHost"] = request.agentHost;
3061
+ }
3062
+
3063
+ if (!$dara.isNull(request.agentVersion)) {
3064
+ query["AgentVersion"] = request.agentVersion;
3065
+ }
3066
+
3067
+ if (!$dara.isNull(request.clientToken)) {
3068
+ query["ClientToken"] = request.clientToken;
3069
+ }
3070
+
3071
+ if (!$dara.isNull(request.maxResults)) {
3072
+ query["MaxResults"] = request.maxResults;
3073
+ }
3074
+
3075
+ if (!$dara.isNull(request.nextToken)) {
3076
+ query["NextToken"] = request.nextToken;
3077
+ }
3078
+
3079
+ let req = new $OpenApiUtil.OpenApiRequest({
3080
+ query: OpenApiUtil.query(query),
3081
+ });
3082
+ let params = new $OpenApiUtil.Params({
3083
+ action: "DescribeAtiAgentRegisterInfoMarket",
3084
+ version: "2015-01-09",
3085
+ protocol: "HTTPS",
3086
+ pathname: "/",
3087
+ method: "POST",
3088
+ authType: "AK",
3089
+ style: "RPC",
3090
+ reqBodyType: "formData",
3091
+ bodyType: "json",
3092
+ });
3093
+ return $dara.cast<$_model.DescribeAtiAgentRegisterInfoMarketResponse>(await this.callApi(params, req, runtime), new $_model.DescribeAtiAgentRegisterInfoMarketResponse({}));
3094
+ }
3095
+
3096
+ /**
3097
+ * 为sdk查询agent信息功能
3098
+ *
3099
+ * @param request - DescribeAtiAgentRegisterInfoMarketRequest
3100
+ * @returns DescribeAtiAgentRegisterInfoMarketResponse
3101
+ */
3102
+ async describeAtiAgentRegisterInfoMarket(request: $_model.DescribeAtiAgentRegisterInfoMarketRequest): Promise<$_model.DescribeAtiAgentRegisterInfoMarketResponse> {
3103
+ let runtime = new $dara.RuntimeOptions({ });
3104
+ return await this.describeAtiAgentRegisterInfoMarketWithOptions(request, runtime);
3105
+ }
3106
+
3049
3107
  /**
3050
3108
  * Queries alert settings.
3051
3109
  *
@@ -0,0 +1,59 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeAtiAgentRegisterInfoMarketRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * example.com
9
+ */
10
+ agentHost?: string;
11
+ /**
12
+ * @example
13
+ * 5.0.1
14
+ */
15
+ agentVersion?: string;
16
+ /**
17
+ * @example
18
+ * eyJhbGciOiJIUzI1NiIsInR5cC.....
19
+ */
20
+ clientToken?: string;
21
+ /**
22
+ * @example
23
+ * 100
24
+ */
25
+ maxResults?: number;
26
+ /**
27
+ * @example
28
+ * 4698691
29
+ */
30
+ nextToken?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ agentHost: 'AgentHost',
34
+ agentVersion: 'AgentVersion',
35
+ clientToken: 'ClientToken',
36
+ maxResults: 'MaxResults',
37
+ nextToken: 'NextToken',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ agentHost: 'string',
44
+ agentVersion: 'string',
45
+ clientToken: 'string',
46
+ maxResults: 'number',
47
+ nextToken: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeAtiAgentRegisterInfoMarketResponseBody } from "./DescribeAtiAgentRegisterInfoMarketResponseBody";
4
+
5
+
6
+ export class DescribeAtiAgentRegisterInfoMarketResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeAtiAgentRegisterInfoMarketResponseBody;
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: DescribeAtiAgentRegisterInfoMarketResponseBody,
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,308 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeAtiAgentRegisterInfoMarketResponseBodyAccessDeniedDetail extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * AddRspDomainServerHoldStatusForGatewayOte
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
+ * AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==
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 DescribeAtiAgentRegisterInfoMarketResponseBodyCategories extends $dara.Model {
75
+ category?: string[];
76
+ static names(): { [key: string]: string } {
77
+ return {
78
+ category: 'category',
79
+ };
80
+ }
81
+
82
+ static types(): { [key: string]: any } {
83
+ return {
84
+ category: { 'type': 'array', 'itemType': 'string' },
85
+ };
86
+ }
87
+
88
+ validate() {
89
+ if(Array.isArray(this.category)) {
90
+ $dara.Model.validateArray(this.category);
91
+ }
92
+ super.validate();
93
+ }
94
+
95
+ constructor(map?: { [key: string]: any }) {
96
+ super(map);
97
+ }
98
+ }
99
+
100
+ export class DescribeAtiAgentRegisterInfoMarketResponseBodyEndpointsEndpointTransports extends $dara.Model {
101
+ transport?: string[];
102
+ static names(): { [key: string]: string } {
103
+ return {
104
+ transport: 'Transport',
105
+ };
106
+ }
107
+
108
+ static types(): { [key: string]: any } {
109
+ return {
110
+ transport: { 'type': 'array', 'itemType': 'string' },
111
+ };
112
+ }
113
+
114
+ validate() {
115
+ if(Array.isArray(this.transport)) {
116
+ $dara.Model.validateArray(this.transport);
117
+ }
118
+ super.validate();
119
+ }
120
+
121
+ constructor(map?: { [key: string]: any }) {
122
+ super(map);
123
+ }
124
+ }
125
+
126
+ export class DescribeAtiAgentRegisterInfoMarketResponseBodyEndpointsEndpoint extends $dara.Model {
127
+ agentUrl?: string;
128
+ metadataUrl?: string;
129
+ protocol?: string;
130
+ transports?: DescribeAtiAgentRegisterInfoMarketResponseBodyEndpointsEndpointTransports;
131
+ static names(): { [key: string]: string } {
132
+ return {
133
+ agentUrl: 'AgentUrl',
134
+ metadataUrl: 'MetadataUrl',
135
+ protocol: 'Protocol',
136
+ transports: 'Transports',
137
+ };
138
+ }
139
+
140
+ static types(): { [key: string]: any } {
141
+ return {
142
+ agentUrl: 'string',
143
+ metadataUrl: 'string',
144
+ protocol: 'string',
145
+ transports: DescribeAtiAgentRegisterInfoMarketResponseBodyEndpointsEndpointTransports,
146
+ };
147
+ }
148
+
149
+ validate() {
150
+ if(this.transports && typeof (this.transports as any).validate === 'function') {
151
+ (this.transports as any).validate();
152
+ }
153
+ super.validate();
154
+ }
155
+
156
+ constructor(map?: { [key: string]: any }) {
157
+ super(map);
158
+ }
159
+ }
160
+
161
+ export class DescribeAtiAgentRegisterInfoMarketResponseBodyEndpoints extends $dara.Model {
162
+ endpoint?: DescribeAtiAgentRegisterInfoMarketResponseBodyEndpointsEndpoint[];
163
+ static names(): { [key: string]: string } {
164
+ return {
165
+ endpoint: 'Endpoint',
166
+ };
167
+ }
168
+
169
+ static types(): { [key: string]: any } {
170
+ return {
171
+ endpoint: { 'type': 'array', 'itemType': DescribeAtiAgentRegisterInfoMarketResponseBodyEndpointsEndpoint },
172
+ };
173
+ }
174
+
175
+ validate() {
176
+ if(Array.isArray(this.endpoint)) {
177
+ $dara.Model.validateArray(this.endpoint);
178
+ }
179
+ super.validate();
180
+ }
181
+
182
+ constructor(map?: { [key: string]: any }) {
183
+ super(map);
184
+ }
185
+ }
186
+
187
+ export class DescribeAtiAgentRegisterInfoMarketResponseBody extends $dara.Model {
188
+ accessDeniedDetail?: DescribeAtiAgentRegisterInfoMarketResponseBodyAccessDeniedDetail;
189
+ /**
190
+ * @example
191
+ * 支付服务
192
+ */
193
+ agentDescription?: string;
194
+ /**
195
+ * @example
196
+ * 测试Agent
197
+ */
198
+ agentDisplayName?: string;
199
+ /**
200
+ * @example
201
+ * www.example.com
202
+ */
203
+ agentHost?: string;
204
+ /**
205
+ * @example
206
+ * gsc01629925@5e0964fd-951c-4e45-b518-d09d4d2db8ca
207
+ */
208
+ agentId?: string;
209
+ /**
210
+ * @example
211
+ * 2074753647748672512
212
+ */
213
+ agentRegisterInfoId?: string;
214
+ /**
215
+ * @example
216
+ * 3.9.3
217
+ */
218
+ agentVersion?: string;
219
+ categories?: DescribeAtiAgentRegisterInfoMarketResponseBodyCategories;
220
+ endpoints?: DescribeAtiAgentRegisterInfoMarketResponseBodyEndpoints;
221
+ /**
222
+ * @example
223
+ * 500
224
+ */
225
+ maxResults?: number;
226
+ /**
227
+ * @example
228
+ * 4698691
229
+ */
230
+ nextToken?: string;
231
+ /**
232
+ * @example
233
+ * 0629502C-6224-5DC9-A8ED-2ED73A2E3931
234
+ */
235
+ requestId?: string;
236
+ /**
237
+ * @example
238
+ * Disable
239
+ */
240
+ status?: string;
241
+ /**
242
+ * @example
243
+ * 忽略
244
+ */
245
+ trustCardContent?: string;
246
+ /**
247
+ * @example
248
+ * 基础认证
249
+ */
250
+ trustLevel?: string;
251
+ static names(): { [key: string]: string } {
252
+ return {
253
+ accessDeniedDetail: 'AccessDeniedDetail',
254
+ agentDescription: 'AgentDescription',
255
+ agentDisplayName: 'AgentDisplayName',
256
+ agentHost: 'AgentHost',
257
+ agentId: 'AgentId',
258
+ agentRegisterInfoId: 'AgentRegisterInfoId',
259
+ agentVersion: 'AgentVersion',
260
+ categories: 'Categories',
261
+ endpoints: 'Endpoints',
262
+ maxResults: 'MaxResults',
263
+ nextToken: 'NextToken',
264
+ requestId: 'RequestId',
265
+ status: 'Status',
266
+ trustCardContent: 'TrustCardContent',
267
+ trustLevel: 'TrustLevel',
268
+ };
269
+ }
270
+
271
+ static types(): { [key: string]: any } {
272
+ return {
273
+ accessDeniedDetail: DescribeAtiAgentRegisterInfoMarketResponseBodyAccessDeniedDetail,
274
+ agentDescription: 'string',
275
+ agentDisplayName: 'string',
276
+ agentHost: 'string',
277
+ agentId: 'string',
278
+ agentRegisterInfoId: 'string',
279
+ agentVersion: 'string',
280
+ categories: DescribeAtiAgentRegisterInfoMarketResponseBodyCategories,
281
+ endpoints: DescribeAtiAgentRegisterInfoMarketResponseBodyEndpoints,
282
+ maxResults: 'number',
283
+ nextToken: 'string',
284
+ requestId: 'string',
285
+ status: 'string',
286
+ trustCardContent: 'string',
287
+ trustLevel: 'string',
288
+ };
289
+ }
290
+
291
+ validate() {
292
+ if(this.accessDeniedDetail && typeof (this.accessDeniedDetail as any).validate === 'function') {
293
+ (this.accessDeniedDetail as any).validate();
294
+ }
295
+ if(this.categories && typeof (this.categories as any).validate === 'function') {
296
+ (this.categories as any).validate();
297
+ }
298
+ if(this.endpoints && typeof (this.endpoints as any).validate === 'function') {
299
+ (this.endpoints as any).validate();
300
+ }
301
+ super.validate();
302
+ }
303
+
304
+ constructor(map?: { [key: string]: any }) {
305
+ super(map);
306
+ }
307
+ }
308
+
@@ -26,6 +26,11 @@ export { DescribeAtiAgentRegisterInfoResponseBodyEndpointsEndpointTransports } f
26
26
  export { DescribeAtiAgentRegisterInfoResponseBodyEndpointsEndpoint } from './DescribeAtiAgentRegisterInfoResponseBody';
27
27
  export { DescribeAtiAgentRegisterInfoResponseBodyEndpoints } from './DescribeAtiAgentRegisterInfoResponseBody';
28
28
  export { DescribeAtiAgentRegisterInfoResponseBodyRejectReason } from './DescribeAtiAgentRegisterInfoResponseBody';
29
+ export { DescribeAtiAgentRegisterInfoMarketResponseBodyAccessDeniedDetail } from './DescribeAtiAgentRegisterInfoMarketResponseBody';
30
+ export { DescribeAtiAgentRegisterInfoMarketResponseBodyCategories } from './DescribeAtiAgentRegisterInfoMarketResponseBody';
31
+ export { DescribeAtiAgentRegisterInfoMarketResponseBodyEndpointsEndpointTransports } from './DescribeAtiAgentRegisterInfoMarketResponseBody';
32
+ export { DescribeAtiAgentRegisterInfoMarketResponseBodyEndpointsEndpoint } from './DescribeAtiAgentRegisterInfoMarketResponseBody';
33
+ export { DescribeAtiAgentRegisterInfoMarketResponseBodyEndpoints } from './DescribeAtiAgentRegisterInfoMarketResponseBody';
29
34
  export { DescribeAtiAlertSettingsResponseBodyAccessDeniedDetail } from './DescribeAtiAlertSettingsResponseBody';
30
35
  export { DescribeAtiAlertSettingsResponseBodyAlertConfigAlertConfig } from './DescribeAtiAlertSettingsResponseBody';
31
36
  export { DescribeAtiAlertSettingsResponseBodyAlertConfig } from './DescribeAtiAlertSettingsResponseBody';
@@ -521,6 +526,9 @@ export { DeleteSubDomainRecordsResponse } from './DeleteSubDomainRecordsResponse
521
526
  export { DescribeAtiAgentRegisterInfoRequest } from './DescribeAtiAgentRegisterInfoRequest';
522
527
  export { DescribeAtiAgentRegisterInfoResponseBody } from './DescribeAtiAgentRegisterInfoResponseBody';
523
528
  export { DescribeAtiAgentRegisterInfoResponse } from './DescribeAtiAgentRegisterInfoResponse';
529
+ export { DescribeAtiAgentRegisterInfoMarketRequest } from './DescribeAtiAgentRegisterInfoMarketRequest';
530
+ export { DescribeAtiAgentRegisterInfoMarketResponseBody } from './DescribeAtiAgentRegisterInfoMarketResponseBody';
531
+ export { DescribeAtiAgentRegisterInfoMarketResponse } from './DescribeAtiAgentRegisterInfoMarketResponse';
524
532
  export { DescribeAtiAlertSettingsRequest } from './DescribeAtiAlertSettingsRequest';
525
533
  export { DescribeAtiAlertSettingsResponseBody } from './DescribeAtiAlertSettingsResponseBody';
526
534
  export { DescribeAtiAlertSettingsResponse } from './DescribeAtiAlertSettingsResponse';