@alicloud/polardb20170801 7.0.0 → 7.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.
Files changed (76) hide show
  1. package/dist/client.d.ts +63 -18
  2. package/dist/client.js +168 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateBatchConsumerRequest.d.ts +61 -0
  5. package/dist/models/CreateBatchConsumerRequest.js +66 -0
  6. package/dist/models/CreateBatchConsumerRequest.js.map +1 -0
  7. package/dist/models/CreateBatchConsumerResponse.d.ts +19 -0
  8. package/dist/models/CreateBatchConsumerResponse.js +69 -0
  9. package/dist/models/CreateBatchConsumerResponse.js.map +1 -0
  10. package/dist/models/CreateBatchConsumerResponseBody.d.ts +147 -0
  11. package/dist/models/CreateBatchConsumerResponseBody.js +106 -0
  12. package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -0
  13. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +66 -97
  14. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
  15. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  16. package/dist/models/DescribeApikeyAttributeRequest.d.ts +39 -0
  17. package/dist/models/DescribeApikeyAttributeRequest.js +64 -0
  18. package/dist/models/DescribeApikeyAttributeRequest.js.map +1 -0
  19. package/dist/models/DescribeApikeyAttributeResponse.d.ts +19 -0
  20. package/dist/models/DescribeApikeyAttributeResponse.js +69 -0
  21. package/dist/models/DescribeApikeyAttributeResponse.js.map +1 -0
  22. package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +167 -0
  23. package/dist/models/DescribeApikeyAttributeResponseBody.js +168 -0
  24. package/dist/models/DescribeApikeyAttributeResponseBody.js.map +1 -0
  25. package/dist/models/DescribeGatewayApikeyListRequest.d.ts +43 -0
  26. package/dist/models/DescribeGatewayApikeyListRequest.js +62 -0
  27. package/dist/models/DescribeGatewayApikeyListRequest.js.map +1 -0
  28. package/dist/models/DescribeGatewayApikeyListResponse.d.ts +19 -0
  29. package/dist/models/DescribeGatewayApikeyListResponse.js +69 -0
  30. package/dist/models/DescribeGatewayApikeyListResponse.js.map +1 -0
  31. package/dist/models/DescribeGatewayApikeyListResponseBody.d.ts +147 -0
  32. package/dist/models/DescribeGatewayApikeyListResponseBody.js +106 -0
  33. package/dist/models/DescribeGatewayApikeyListResponseBody.js.map +1 -0
  34. package/dist/models/DescribePolarClawAgentsRequest.d.ts +1 -1
  35. package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +79 -11
  36. package/dist/models/DescribePolarClawAgentsResponseBody.js +71 -1
  37. package/dist/models/DescribePolarClawAgentsResponseBody.js.map +1 -1
  38. package/dist/models/DescribePolarClawAgentsShrinkRequest.d.ts +1 -1
  39. package/dist/models/DescribePolarFsAttributeRequest.d.ts +5 -8
  40. package/dist/models/DescribePolarFsAttributeRequest.js.map +1 -1
  41. package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +49 -57
  42. package/dist/models/DescribePolarFsAttributeResponseBody.js +2 -0
  43. package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
  44. package/dist/models/DescribePolarFsObjectsResponseBody.d.ts +13 -13
  45. package/dist/models/UpdatePolarClawAgentRequest.d.ts +20 -10
  46. package/dist/models/UpdatePolarClawAgentRequest.js +4 -0
  47. package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
  48. package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +15 -15
  49. package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +18 -8
  50. package/dist/models/UpdatePolarClawAgentShrinkRequest.js +4 -0
  51. package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
  52. package/dist/models/model.d.ts +16 -0
  53. package/dist/models/model.js +68 -35
  54. package/dist/models/model.js.map +1 -1
  55. package/package.json +1 -1
  56. package/src/client.ts +188 -18
  57. package/src/models/CreateBatchConsumerRequest.ts +82 -0
  58. package/src/models/CreateBatchConsumerResponse.ts +40 -0
  59. package/src/models/CreateBatchConsumerResponseBody.ts +199 -0
  60. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +68 -97
  61. package/src/models/DescribeApikeyAttributeRequest.ts +58 -0
  62. package/src/models/DescribeApikeyAttributeResponse.ts +40 -0
  63. package/src/models/DescribeApikeyAttributeResponseBody.ts +263 -0
  64. package/src/models/DescribeGatewayApikeyListRequest.ts +60 -0
  65. package/src/models/DescribeGatewayApikeyListResponse.ts +40 -0
  66. package/src/models/DescribeGatewayApikeyListResponseBody.ts +199 -0
  67. package/src/models/DescribePolarClawAgentsRequest.ts +1 -1
  68. package/src/models/DescribePolarClawAgentsResponseBody.ts +131 -11
  69. package/src/models/DescribePolarClawAgentsShrinkRequest.ts +1 -1
  70. package/src/models/DescribePolarFsAttributeRequest.ts +5 -8
  71. package/src/models/DescribePolarFsAttributeResponseBody.ts +52 -58
  72. package/src/models/DescribePolarFsObjectsResponseBody.ts +13 -13
  73. package/src/models/UpdatePolarClawAgentRequest.ts +24 -10
  74. package/src/models/UpdatePolarClawAgentResponseBody.ts +15 -15
  75. package/src/models/UpdatePolarClawAgentShrinkRequest.ts +22 -8
  76. package/src/models/model.ts +16 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The mount path.
8
+ * The actual mount path.
9
9
  *
10
10
  * @example
11
11
  * /tmp/CrowdStrike
@@ -13,7 +13,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes extends
13
13
  mountPath?: string;
14
14
  /**
15
15
  * @remarks
16
- * The disk name.
16
+ * The cloud disk name.
17
17
  *
18
18
  * @example
19
19
  * jueming
@@ -21,7 +21,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes extends
21
21
  name?: string;
22
22
  /**
23
23
  * @remarks
24
- * The size of the data disk in GB.
24
+ * The storage size.
25
25
  *
26
26
  * @example
27
27
  * 8192
@@ -29,7 +29,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes extends
29
29
  sizeGB?: string;
30
30
  /**
31
31
  * @remarks
32
- * The storage category.
32
+ * The storage type.
33
33
  *
34
34
  * @example
35
35
  * PolarFs
@@ -37,7 +37,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes extends
37
37
  storageCategory?: string;
38
38
  /**
39
39
  * @remarks
40
- * The storage type.
40
+ * The storage class.
41
41
  *
42
42
  * @example
43
43
  * PL1
@@ -75,12 +75,12 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes extends
75
75
  export class DescribeAIDBClusterAttributeResponseBodyDBNodes extends $dara.Model {
76
76
  /**
77
77
  * @remarks
78
- * A list of data disks.
78
+ * The list of data cloud disks.
79
79
  */
80
80
  childVolumes?: DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes[];
81
81
  /**
82
82
  * @remarks
83
- * The number of CPU cores.
83
+ * The number of CPU cores of the node.
84
84
  *
85
85
  * @example
86
86
  * 2
@@ -88,7 +88,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodes extends $dara.Model
88
88
  cpuCores?: string;
89
89
  /**
90
90
  * @remarks
91
- * The time when the node was created.
91
+ * The creation time.
92
92
  *
93
93
  * @example
94
94
  * 2020-08-14T05:58:42Z
@@ -96,7 +96,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodes extends $dara.Model
96
96
  creationTime?: string;
97
97
  /**
98
98
  * @remarks
99
- * The node specification.
99
+ * The cluster specifications.
100
100
  *
101
101
  * @example
102
102
  * polar.pg.g8.8xlarge.gu30
@@ -120,27 +120,17 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodes extends $dara.Model
120
120
  DBNodeId?: string;
121
121
  /**
122
122
  * @remarks
123
- * The status of the node. Valid values:
124
- *
125
- * - **Creating**: The node is being created.
126
- *
127
- * - **Running**: The node is running.
128
- *
129
- * - **Deleting**: The node is being deleted.
130
- *
131
- * - **Rebooting**: The node is being rebooted.
132
- *
133
- * - **DBNodeCreating**: A node is being added to the cluster.
134
- *
135
- * - **DBNodeDeleting**: A node is being deleted from the cluster.
136
- *
137
- * - **ClassChanging**: The node specifications are being changed.
138
- *
139
- * - **MinorVersionUpgrading**: The minor version is being updated.
140
- *
141
- * - **Maintaining**: The node is being maintained.
142
- *
143
- * - **Switching**: A failover is in progress.
123
+ * The node status. Valid values:
124
+ * * **Creating**: being created
125
+ * * **Running**: running
126
+ * * **Deleting**: being deleted
127
+ * * **Rebooting**: restarting
128
+ * * **DBNodeCreating**: adding a node
129
+ * * **DBNodeDeleting**: deleting a node
130
+ * * **ClassChanging**: changing node specifications
131
+ * * **MinorVersionUpgrading**: upgrading the minor engine version
132
+ * * **Maintaining**: under maintenance
133
+ * * **Switching**: switching.
144
134
  *
145
135
  * @example
146
136
  * Running
@@ -148,7 +138,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodes extends $dara.Model
148
138
  DBNodeStatus?: string;
149
139
  /**
150
140
  * @remarks
151
- * The number of GPUs.
141
+ * The number of GPU cards.
152
142
  *
153
143
  * @example
154
144
  * 2
@@ -164,7 +154,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodes extends $dara.Model
164
154
  linkIP?: string;
165
155
  /**
166
156
  * @remarks
167
- * The memory size in MB.
157
+ * The memory size of the node. Unit: MB.
168
158
  *
169
159
  * @example
170
160
  * 8192
@@ -265,7 +255,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodes extends $dara.Model
265
255
  export class DescribeAIDBClusterAttributeResponseBodyEndpointListNetInfoItems extends $dara.Model {
266
256
  /**
267
257
  * @remarks
268
- * The database endpoint.
258
+ * The database connection address.
269
259
  *
270
260
  * @example
271
261
  * pc-**********.rwlb.rds.aliyuncs.com
@@ -273,13 +263,10 @@ export class DescribeAIDBClusterAttributeResponseBodyEndpointListNetInfoItems ex
273
263
  connectionString?: string;
274
264
  /**
275
265
  * @remarks
276
- * The network type of the endpoint. Valid values:
277
- *
278
- * - **Public**: A public endpoint.
279
- *
280
- * - **Private**: A private endpoint.
281
- *
282
- * - **Inner**: A private endpoint in a classic network.
266
+ * The network type of the connection string. Valid values:
267
+ * * **Public**: public endpoint
268
+ * * **Private**: private endpoint
269
+ * * **Inner**: private endpoint (classic network).
283
270
  *
284
271
  * @example
285
272
  * Public
@@ -321,7 +308,7 @@ export class DescribeAIDBClusterAttributeResponseBodyEndpointListNetInfoItems ex
321
308
  export class DescribeAIDBClusterAttributeResponseBodyEndpointList extends $dara.Model {
322
309
  /**
323
310
  * @remarks
324
- * A list of network information for the instance.
311
+ * The list of network information of the instance.
325
312
  */
326
313
  netInfoItems?: DescribeAIDBClusterAttributeResponseBodyEndpointListNetInfoItems[];
327
314
  static names(): { [key: string]: string } {
@@ -359,7 +346,7 @@ export class DescribeAIDBClusterAttributeResponseBodyVolumes extends $dara.Model
359
346
  mountPath?: string;
360
347
  /**
361
348
  * @remarks
362
- * The disk name.
349
+ * The cloud disk name.
363
350
  *
364
351
  * @example
365
352
  * jueming
@@ -367,7 +354,7 @@ export class DescribeAIDBClusterAttributeResponseBodyVolumes extends $dara.Model
367
354
  name?: string;
368
355
  /**
369
356
  * @remarks
370
- * The storage size in GB.
357
+ * The storage size.
371
358
  *
372
359
  * @example
373
360
  * 8192
@@ -375,7 +362,7 @@ export class DescribeAIDBClusterAttributeResponseBodyVolumes extends $dara.Model
375
362
  sizeGB?: string;
376
363
  /**
377
364
  * @remarks
378
- * The storage category.
365
+ * The storage type.
379
366
  *
380
367
  * @example
381
368
  * PL1
@@ -383,7 +370,7 @@ export class DescribeAIDBClusterAttributeResponseBodyVolumes extends $dara.Model
383
370
  storageCategory?: string;
384
371
  /**
385
372
  * @remarks
386
- * The storage type.
373
+ * The storage class.
387
374
  *
388
375
  * @example
389
376
  * PolarFs
@@ -422,12 +409,9 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
422
409
  /**
423
410
  * @remarks
424
411
  * The node type. Valid values:
425
- *
426
- * - **vnode**: The node is managed by ACK.
427
- *
428
- * - **container**: A container that you can log on to.
429
- *
430
- * - **maas**: Model-as-a-Service (MaaS).
412
+ * - vnode: managed by ACK
413
+ * - container: logon-enabled container
414
+ * - maas: model service.
431
415
  *
432
416
  * @example
433
417
  * vnode
@@ -443,7 +427,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
443
427
  apiKey?: string;
444
428
  /**
445
429
  * @remarks
446
- * The time when the cluster was created.
430
+ * The cluster creation time.
447
431
  *
448
432
  * @example
449
433
  * 2020-08-14T05:58:42Z
@@ -451,7 +435,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
451
435
  creationTime?: string;
452
436
  /**
453
437
  * @remarks
454
- * The description of the cluster. Fuzzy search is supported.
438
+ * The cluster description. Fuzzy match is supported.
455
439
  *
456
440
  * @example
457
441
  * test
@@ -467,21 +451,15 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
467
451
  DBClusterId?: string;
468
452
  /**
469
453
  * @remarks
470
- * The status of the cluster. Valid values:
454
+ * The cluster status. Valid values:
471
455
  *
472
- * - **Creating**: The cluster is being created.
473
- *
474
- * - **Running**: The cluster is running.
475
- *
476
- * - **Deleting**: The cluster is being deleted.
477
- *
478
- * - **DBNodeCreating**: Nodes are being added.
479
- *
480
- * - **DBNodeDeleting**: Nodes are being deleted.
481
- *
482
- * - **ClassChanging**: The node specifications are being changed.
483
- *
484
- * - **Deleted**: The cluster is deleted.
456
+ * - **Creating**: being created
457
+ * - **Running**: running
458
+ * - **Deleting**: being released
459
+ * - **DBNodeCreating**: adding a node
460
+ * - **DBNodeDeleting**: deleting a node
461
+ * - **ClassChanging**: changing node specifications
462
+ * - **Deleted**: released.
485
463
  *
486
464
  * @example
487
465
  * Running
@@ -489,7 +467,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
489
467
  DBClusterStatus?: string;
490
468
  /**
491
469
  * @remarks
492
- * The details of the nodes.
470
+ * The node details.
493
471
  */
494
472
  DBNodes?: DescribeAIDBClusterAttributeResponseBodyDBNodes[];
495
473
  /**
@@ -500,7 +478,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
500
478
  *
501
479
  * **2.0**
502
480
  *
503
- * **3.0**
481
+ * **3.0**.
504
482
  *
505
483
  * @example
506
484
  * 1.0
@@ -516,14 +494,14 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
516
494
  ecsSecurityGroupId?: string;
517
495
  /**
518
496
  * @remarks
519
- * A list of endpoints for the instance.
497
+ * The list of network connection addresses of the instance.
520
498
  */
521
499
  endpointList?: DescribeAIDBClusterAttributeResponseBodyEndpointList[];
522
500
  /**
523
501
  * @remarks
524
- * The expiration time of the cluster.
502
+ * The cluster expiration time.
525
503
  *
526
- * > This parameter is returned only for **subscription** clusters. For **pay-as-you-go** clusters, an empty string is returned.
504
+ * > This parameter is returned only for **Prepaid** (subscription) clusters. An empty value is returned for **Postpaid** (pay-as-you-go) clusters.
527
505
  *
528
506
  * @example
529
507
  * 2020-11-14T16:00:00Z
@@ -535,15 +513,16 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
535
513
  *
536
514
  * - **true**
537
515
  *
538
- * - **false**
516
+ * - **false**.
539
517
  *
540
518
  * @example
541
519
  * false
542
520
  */
543
521
  expired?: boolean;
522
+ gatewayId?: string;
544
523
  /**
545
524
  * @remarks
546
- * The private IP address.
525
+ * The internal IP address.
547
526
  *
548
527
  * @example
549
528
  * 10.*.*.72
@@ -567,7 +546,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
567
546
  kubeClusterId?: string;
568
547
  /**
569
548
  * @remarks
570
- * The lock mode of the instance. A value of **lock** indicates that the instance is locked due to expiration or an overdue payment.
549
+ * The instance lock mode. The value **lock** indicates that the instance is automatically locked due to expiration or overdue payment.
571
550
  *
572
551
  * @example
573
552
  * Unlock
@@ -575,7 +554,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
575
554
  lockMode?: string;
576
555
  /**
577
556
  * @remarks
578
- * The maximum number of queries per minute.
557
+ * The maximum number of requests per minute.
579
558
  *
580
559
  * @example
581
560
  * 20
@@ -602,7 +581,6 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
602
581
  * The billing method. Valid values:
603
582
  *
604
583
  * - **Postpaid**: pay-as-you-go.
605
- *
606
584
  * - **Prepaid**: subscription.
607
585
  *
608
586
  * @example
@@ -627,7 +605,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
627
605
  regionId?: string;
628
606
  /**
629
607
  * @remarks
630
- * The request ID.
608
+ * Id of the request
631
609
  *
632
610
  * @example
633
611
  * EBEAA83D-1734-42E3-85E3-E25F6E******
@@ -636,10 +614,8 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
636
614
  /**
637
615
  * @remarks
638
616
  * The architecture type. Valid values:
639
- *
640
- * - **container**: AI container.
641
- *
642
- * - **ainode**: AI node.
617
+ * - container: AI container
618
+ * - ainode: AI node.
643
619
  *
644
620
  * @example
645
621
  * container
@@ -647,23 +623,16 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
647
623
  runType?: string;
648
624
  /**
649
625
  * @remarks
650
- * The storage type for Enterprise Edition. Valid values:
651
- *
626
+ * Valid values for PolarDB Enterprise Edition:
652
627
  * - **PSL5**
653
- *
654
628
  * - **PSL4**
655
629
  *
656
- * The storage type for Standard Edition. Valid values:
657
- *
630
+ * Valid values for PolarDB for MySQL Standard Edition:
658
631
  * - **ESSDPL0**
659
- *
660
632
  * - **ESSDPL1**
661
- *
662
633
  * - **ESSDPL2**
663
- *
664
634
  * - **ESSDPL3**
665
- *
666
- * - **ESSDAUTOPL**
635
+ * - **ESSDAUTOPL**.
667
636
  *
668
637
  * @example
669
638
  * essdpl1
@@ -671,7 +640,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
671
640
  storageType?: string;
672
641
  /**
673
642
  * @remarks
674
- * The VPC ID.
643
+ * The VPC ID specified for the zone switchover.
675
644
  *
676
645
  * @example
677
646
  * vpc-*******************
@@ -681,7 +650,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
681
650
  * @remarks
682
651
  * The vSwitch ID.
683
652
  *
684
- * >
653
+ * > If VPCId is specified, VSwitchId is required.
685
654
  *
686
655
  * @example
687
656
  * vsw-*********************
@@ -689,12 +658,12 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
689
658
  vSwitchId?: string;
690
659
  /**
691
660
  * @remarks
692
- * A list of data disks.
661
+ * The list of data cloud disks.
693
662
  */
694
663
  volumes?: DescribeAIDBClusterAttributeResponseBodyVolumes[];
695
664
  /**
696
665
  * @remarks
697
- * The ID of the zone in which the PolarDB cluster nodes are deployed.
666
+ * The zone ID of the PolarDB cluster node.
698
667
  *
699
668
  * @example
700
669
  * cn-hangzhou-d
@@ -702,7 +671,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
702
671
  zoneId?: string;
703
672
  /**
704
673
  * @remarks
705
- * The zone IDs.
674
+ * The zone ID.
706
675
  *
707
676
  * @example
708
677
  * cn-hangzhou-i,cn-hangzhou-g
@@ -722,6 +691,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
722
691
  endpointList: 'EndpointList',
723
692
  expireTime: 'ExpireTime',
724
693
  expired: 'Expired',
694
+ gatewayId: 'GatewayId',
725
695
  internalIp: 'InternalIp',
726
696
  KVCacheInstanceId: 'KVCacheInstanceId',
727
697
  kubeClusterId: 'KubeClusterId',
@@ -757,6 +727,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
757
727
  endpointList: { 'type': 'array', 'itemType': DescribeAIDBClusterAttributeResponseBodyEndpointList },
758
728
  expireTime: 'string',
759
729
  expired: 'boolean',
730
+ gatewayId: 'string',
760
731
  internalIp: 'string',
761
732
  KVCacheInstanceId: 'string',
762
733
  kubeClusterId: 'string',
@@ -0,0 +1,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeApikeyAttributeRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 6c4b1f0317cd4fd7a5b446d3503d**
12
+ */
13
+ apiKey?: string;
14
+ /**
15
+ * @example
16
+ * 1
17
+ */
18
+ pageNumber?: number;
19
+ /**
20
+ * @example
21
+ * 30
22
+ */
23
+ pageSize?: number;
24
+ /**
25
+ * @remarks
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * cn-hangzhou
30
+ */
31
+ regionId?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ apiKey: 'ApiKey',
35
+ pageNumber: 'PageNumber',
36
+ pageSize: 'PageSize',
37
+ regionId: 'RegionId',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ apiKey: 'string',
44
+ pageNumber: 'number',
45
+ pageSize: 'number',
46
+ regionId: 'string',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeApikeyAttributeResponseBody } from "./DescribeApikeyAttributeResponseBody";
4
+
5
+
6
+ export class DescribeApikeyAttributeResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeApikeyAttributeResponseBody;
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: DescribeApikeyAttributeResponseBody,
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
+