@alicloud/rdsai20250507 1.1.1 → 1.2.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 (105) hide show
  1. package/dist/client.d.ts +105 -0
  2. package/dist/client.js +316 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeInstanceAuthInfoResponseBody.d.ts +16 -0
  5. package/dist/models/DescribeInstanceAuthInfoResponseBody.js +29 -1
  6. package/dist/models/DescribeInstanceAuthInfoResponseBody.js.map +1 -1
  7. package/dist/models/DescribeInstanceStorageConfigRequest.d.ts +26 -0
  8. package/dist/models/DescribeInstanceStorageConfigRequest.js +60 -0
  9. package/dist/models/DescribeInstanceStorageConfigRequest.js.map +1 -0
  10. package/dist/models/DescribeInstanceStorageConfigResponse.d.ts +19 -0
  11. package/dist/models/DescribeInstanceStorageConfigResponse.js +69 -0
  12. package/dist/models/DescribeInstanceStorageConfigResponse.js.map +1 -0
  13. package/dist/models/DescribeInstanceStorageConfigResponseBody.d.ts +46 -0
  14. package/dist/models/DescribeInstanceStorageConfigResponseBody.js +86 -0
  15. package/dist/models/DescribeInstanceStorageConfigResponseBody.js.map +1 -0
  16. package/dist/models/ModifyInstanceAuthConfigRequest.d.ts +46 -0
  17. package/dist/models/ModifyInstanceAuthConfigRequest.js +86 -0
  18. package/dist/models/ModifyInstanceAuthConfigRequest.js.map +1 -0
  19. package/dist/models/ModifyInstanceAuthConfigResponse.d.ts +19 -0
  20. package/dist/models/ModifyInstanceAuthConfigResponse.js +69 -0
  21. package/dist/models/ModifyInstanceAuthConfigResponse.js.map +1 -0
  22. package/dist/models/ModifyInstanceAuthConfigResponseBody.d.ts +23 -0
  23. package/dist/models/ModifyInstanceAuthConfigResponseBody.js +60 -0
  24. package/dist/models/ModifyInstanceAuthConfigResponseBody.js.map +1 -0
  25. package/dist/models/ModifyInstanceAuthConfigShrinkRequest.d.ts +24 -0
  26. package/dist/models/ModifyInstanceAuthConfigShrinkRequest.js +62 -0
  27. package/dist/models/ModifyInstanceAuthConfigShrinkRequest.js.map +1 -0
  28. package/dist/models/ModifyInstanceStorageConfigRequest.d.ts +54 -0
  29. package/dist/models/ModifyInstanceStorageConfigRequest.js +88 -0
  30. package/dist/models/ModifyInstanceStorageConfigRequest.js.map +1 -0
  31. package/dist/models/ModifyInstanceStorageConfigResponse.d.ts +19 -0
  32. package/dist/models/ModifyInstanceStorageConfigResponse.js +69 -0
  33. package/dist/models/ModifyInstanceStorageConfigResponse.js.map +1 -0
  34. package/dist/models/ModifyInstanceStorageConfigResponseBody.d.ts +23 -0
  35. package/dist/models/ModifyInstanceStorageConfigResponseBody.js +60 -0
  36. package/dist/models/ModifyInstanceStorageConfigResponseBody.js.map +1 -0
  37. package/dist/models/ModifyInstanceStorageConfigShrinkRequest.d.ts +32 -0
  38. package/dist/models/ModifyInstanceStorageConfigShrinkRequest.js +64 -0
  39. package/dist/models/ModifyInstanceStorageConfigShrinkRequest.js.map +1 -0
  40. package/dist/models/ResetInstancePasswordRequest.d.ts +34 -0
  41. package/dist/models/ResetInstancePasswordRequest.js +62 -0
  42. package/dist/models/ResetInstancePasswordRequest.js.map +1 -0
  43. package/dist/models/ResetInstancePasswordResponse.d.ts +19 -0
  44. package/dist/models/ResetInstancePasswordResponse.js +69 -0
  45. package/dist/models/ResetInstancePasswordResponse.js.map +1 -0
  46. package/dist/models/ResetInstancePasswordResponseBody.d.ts +23 -0
  47. package/dist/models/ResetInstancePasswordResponseBody.js +60 -0
  48. package/dist/models/ResetInstancePasswordResponseBody.js.map +1 -0
  49. package/dist/models/RestartInstanceRequest.d.ts +26 -0
  50. package/dist/models/RestartInstanceRequest.js +60 -0
  51. package/dist/models/RestartInstanceRequest.js.map +1 -0
  52. package/dist/models/RestartInstanceResponse.d.ts +19 -0
  53. package/dist/models/RestartInstanceResponse.js +69 -0
  54. package/dist/models/RestartInstanceResponse.js.map +1 -0
  55. package/dist/models/RestartInstanceResponseBody.d.ts +23 -0
  56. package/dist/models/RestartInstanceResponseBody.js +60 -0
  57. package/dist/models/RestartInstanceResponseBody.js.map +1 -0
  58. package/dist/models/StartInstanceRequest.d.ts +23 -0
  59. package/dist/models/StartInstanceRequest.js +60 -0
  60. package/dist/models/StartInstanceRequest.js.map +1 -0
  61. package/dist/models/StartInstanceResponse.d.ts +19 -0
  62. package/dist/models/StartInstanceResponse.js +69 -0
  63. package/dist/models/StartInstanceResponse.js.map +1 -0
  64. package/dist/models/StartInstanceResponseBody.d.ts +23 -0
  65. package/dist/models/StartInstanceResponseBody.js +60 -0
  66. package/dist/models/StartInstanceResponseBody.js.map +1 -0
  67. package/dist/models/StopInstanceRequest.d.ts +26 -0
  68. package/dist/models/StopInstanceRequest.js +60 -0
  69. package/dist/models/StopInstanceRequest.js.map +1 -0
  70. package/dist/models/StopInstanceResponse.d.ts +19 -0
  71. package/dist/models/StopInstanceResponse.js +69 -0
  72. package/dist/models/StopInstanceResponse.js.map +1 -0
  73. package/dist/models/StopInstanceResponseBody.d.ts +23 -0
  74. package/dist/models/StopInstanceResponseBody.js +60 -0
  75. package/dist/models/StopInstanceResponseBody.js.map +1 -0
  76. package/dist/models/model.d.ts +27 -0
  77. package/dist/models/model.js +58 -3
  78. package/dist/models/model.js.map +1 -1
  79. package/package.json +1 -1
  80. package/src/client.ts +350 -0
  81. package/src/models/DescribeInstanceAuthInfoResponseBody.ts +35 -0
  82. package/src/models/DescribeInstanceStorageConfigRequest.ts +41 -0
  83. package/src/models/DescribeInstanceStorageConfigResponse.ts +40 -0
  84. package/src/models/DescribeInstanceStorageConfigResponseBody.ts +78 -0
  85. package/src/models/ModifyInstanceAuthConfigRequest.ts +78 -0
  86. package/src/models/ModifyInstanceAuthConfigResponse.ts +40 -0
  87. package/src/models/ModifyInstanceAuthConfigResponseBody.ts +38 -0
  88. package/src/models/ModifyInstanceAuthConfigShrinkRequest.ts +41 -0
  89. package/src/models/ModifyInstanceStorageConfigRequest.ts +88 -0
  90. package/src/models/ModifyInstanceStorageConfigResponse.ts +40 -0
  91. package/src/models/ModifyInstanceStorageConfigResponseBody.ts +38 -0
  92. package/src/models/ModifyInstanceStorageConfigShrinkRequest.ts +51 -0
  93. package/src/models/ResetInstancePasswordRequest.ts +51 -0
  94. package/src/models/ResetInstancePasswordResponse.ts +40 -0
  95. package/src/models/ResetInstancePasswordResponseBody.ts +38 -0
  96. package/src/models/RestartInstanceRequest.ts +41 -0
  97. package/src/models/RestartInstanceResponse.ts +40 -0
  98. package/src/models/RestartInstanceResponseBody.ts +38 -0
  99. package/src/models/StartInstanceRequest.ts +38 -0
  100. package/src/models/StartInstanceResponse.ts +40 -0
  101. package/src/models/StartInstanceResponseBody.ts +38 -0
  102. package/src/models/StopInstanceRequest.ts +41 -0
  103. package/src/models/StopInstanceResponse.ts +40 -0
  104. package/src/models/StopInstanceResponseBody.ts +38 -0
  105. package/src/models/model.ts +27 -0
package/src/client.ts CHANGED
@@ -417,6 +417,108 @@ export default class Client extends OpenApi {
417
417
  return await this.describeInstanceIpWhitelistWithOptions(request, runtime);
418
418
  }
419
419
 
420
+ /**
421
+ * 查看实例存储配置
422
+ *
423
+ * @param request - DescribeInstanceStorageConfigRequest
424
+ * @param runtime - runtime options for this request RuntimeOptions
425
+ * @returns DescribeInstanceStorageConfigResponse
426
+ */
427
+ async describeInstanceStorageConfigWithOptions(request: $_model.DescribeInstanceStorageConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInstanceStorageConfigResponse> {
428
+ request.validate();
429
+ let query = { };
430
+ if (!$dara.isNull(request.instanceName)) {
431
+ query["InstanceName"] = request.instanceName;
432
+ }
433
+
434
+ if (!$dara.isNull(request.regionId)) {
435
+ query["RegionId"] = request.regionId;
436
+ }
437
+
438
+ let req = new $OpenApiUtil.OpenApiRequest({
439
+ query: OpenApiUtil.query(query),
440
+ });
441
+ let params = new $OpenApiUtil.Params({
442
+ action: "DescribeInstanceStorageConfig",
443
+ version: "2025-05-07",
444
+ protocol: "HTTPS",
445
+ pathname: "/",
446
+ method: "POST",
447
+ authType: "AK",
448
+ style: "RPC",
449
+ reqBodyType: "formData",
450
+ bodyType: "json",
451
+ });
452
+ return $dara.cast<$_model.DescribeInstanceStorageConfigResponse>(await this.callApi(params, req, runtime), new $_model.DescribeInstanceStorageConfigResponse({}));
453
+ }
454
+
455
+ /**
456
+ * 查看实例存储配置
457
+ *
458
+ * @param request - DescribeInstanceStorageConfigRequest
459
+ * @returns DescribeInstanceStorageConfigResponse
460
+ */
461
+ async describeInstanceStorageConfig(request: $_model.DescribeInstanceStorageConfigRequest): Promise<$_model.DescribeInstanceStorageConfigResponse> {
462
+ let runtime = new $dara.RuntimeOptions({ });
463
+ return await this.describeInstanceStorageConfigWithOptions(request, runtime);
464
+ }
465
+
466
+ /**
467
+ * 修改Supabase Auth相关配置
468
+ *
469
+ * @param tmpReq - ModifyInstanceAuthConfigRequest
470
+ * @param runtime - runtime options for this request RuntimeOptions
471
+ * @returns ModifyInstanceAuthConfigResponse
472
+ */
473
+ async modifyInstanceAuthConfigWithOptions(tmpReq: $_model.ModifyInstanceAuthConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyInstanceAuthConfigResponse> {
474
+ tmpReq.validate();
475
+ let request = new $_model.ModifyInstanceAuthConfigShrinkRequest({ });
476
+ OpenApiUtil.convert(tmpReq, request);
477
+ if (!$dara.isNull(tmpReq.configList)) {
478
+ request.configListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configList, "ConfigList", "json");
479
+ }
480
+
481
+ let query = { };
482
+ if (!$dara.isNull(request.configListShrink)) {
483
+ query["ConfigList"] = request.configListShrink;
484
+ }
485
+
486
+ if (!$dara.isNull(request.instanceName)) {
487
+ query["InstanceName"] = request.instanceName;
488
+ }
489
+
490
+ if (!$dara.isNull(request.regionId)) {
491
+ query["RegionId"] = request.regionId;
492
+ }
493
+
494
+ let req = new $OpenApiUtil.OpenApiRequest({
495
+ query: OpenApiUtil.query(query),
496
+ });
497
+ let params = new $OpenApiUtil.Params({
498
+ action: "ModifyInstanceAuthConfig",
499
+ version: "2025-05-07",
500
+ protocol: "HTTPS",
501
+ pathname: "/",
502
+ method: "POST",
503
+ authType: "AK",
504
+ style: "RPC",
505
+ reqBodyType: "formData",
506
+ bodyType: "json",
507
+ });
508
+ return $dara.cast<$_model.ModifyInstanceAuthConfigResponse>(await this.callApi(params, req, runtime), new $_model.ModifyInstanceAuthConfigResponse({}));
509
+ }
510
+
511
+ /**
512
+ * 修改Supabase Auth相关配置
513
+ *
514
+ * @param request - ModifyInstanceAuthConfigRequest
515
+ * @returns ModifyInstanceAuthConfigResponse
516
+ */
517
+ async modifyInstanceAuthConfig(request: $_model.ModifyInstanceAuthConfigRequest): Promise<$_model.ModifyInstanceAuthConfigResponse> {
518
+ let runtime = new $dara.RuntimeOptions({ });
519
+ return await this.modifyInstanceAuthConfigWithOptions(request, runtime);
520
+ }
521
+
420
522
  /**
421
523
  * 修改服务白名单
422
524
  *
@@ -479,4 +581,252 @@ export default class Client extends OpenApi {
479
581
  return await this.modifyInstanceIpWhitelistWithOptions(request, runtime);
480
582
  }
481
583
 
584
+ /**
585
+ * 修改实例存储配置
586
+ *
587
+ * @param tmpReq - ModifyInstanceStorageConfigRequest
588
+ * @param runtime - runtime options for this request RuntimeOptions
589
+ * @returns ModifyInstanceStorageConfigResponse
590
+ */
591
+ async modifyInstanceStorageConfigWithOptions(tmpReq: $_model.ModifyInstanceStorageConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyInstanceStorageConfigResponse> {
592
+ tmpReq.validate();
593
+ let request = new $_model.ModifyInstanceStorageConfigShrinkRequest({ });
594
+ OpenApiUtil.convert(tmpReq, request);
595
+ if (!$dara.isNull(tmpReq.configList)) {
596
+ request.configListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.configList, "ConfigList", "json");
597
+ }
598
+
599
+ let query = { };
600
+ if (!$dara.isNull(request.clientToken)) {
601
+ query["ClientToken"] = request.clientToken;
602
+ }
603
+
604
+ if (!$dara.isNull(request.configListShrink)) {
605
+ query["ConfigList"] = request.configListShrink;
606
+ }
607
+
608
+ if (!$dara.isNull(request.instanceName)) {
609
+ query["InstanceName"] = request.instanceName;
610
+ }
611
+
612
+ if (!$dara.isNull(request.regionId)) {
613
+ query["RegionId"] = request.regionId;
614
+ }
615
+
616
+ let req = new $OpenApiUtil.OpenApiRequest({
617
+ query: OpenApiUtil.query(query),
618
+ });
619
+ let params = new $OpenApiUtil.Params({
620
+ action: "ModifyInstanceStorageConfig",
621
+ version: "2025-05-07",
622
+ protocol: "HTTPS",
623
+ pathname: "/",
624
+ method: "POST",
625
+ authType: "AK",
626
+ style: "RPC",
627
+ reqBodyType: "formData",
628
+ bodyType: "json",
629
+ });
630
+ return $dara.cast<$_model.ModifyInstanceStorageConfigResponse>(await this.callApi(params, req, runtime), new $_model.ModifyInstanceStorageConfigResponse({}));
631
+ }
632
+
633
+ /**
634
+ * 修改实例存储配置
635
+ *
636
+ * @param request - ModifyInstanceStorageConfigRequest
637
+ * @returns ModifyInstanceStorageConfigResponse
638
+ */
639
+ async modifyInstanceStorageConfig(request: $_model.ModifyInstanceStorageConfigRequest): Promise<$_model.ModifyInstanceStorageConfigResponse> {
640
+ let runtime = new $dara.RuntimeOptions({ });
641
+ return await this.modifyInstanceStorageConfigWithOptions(request, runtime);
642
+ }
643
+
644
+ /**
645
+ * 重置实例密码
646
+ *
647
+ * @param request - ResetInstancePasswordRequest
648
+ * @param runtime - runtime options for this request RuntimeOptions
649
+ * @returns ResetInstancePasswordResponse
650
+ */
651
+ async resetInstancePasswordWithOptions(request: $_model.ResetInstancePasswordRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ResetInstancePasswordResponse> {
652
+ request.validate();
653
+ let query = { };
654
+ if (!$dara.isNull(request.dashboardPassword)) {
655
+ query["DashboardPassword"] = request.dashboardPassword;
656
+ }
657
+
658
+ if (!$dara.isNull(request.instanceName)) {
659
+ query["InstanceName"] = request.instanceName;
660
+ }
661
+
662
+ if (!$dara.isNull(request.regionId)) {
663
+ query["RegionId"] = request.regionId;
664
+ }
665
+
666
+ let req = new $OpenApiUtil.OpenApiRequest({
667
+ query: OpenApiUtil.query(query),
668
+ });
669
+ let params = new $OpenApiUtil.Params({
670
+ action: "ResetInstancePassword",
671
+ version: "2025-05-07",
672
+ protocol: "HTTPS",
673
+ pathname: "/",
674
+ method: "POST",
675
+ authType: "AK",
676
+ style: "RPC",
677
+ reqBodyType: "formData",
678
+ bodyType: "json",
679
+ });
680
+ return $dara.cast<$_model.ResetInstancePasswordResponse>(await this.callApi(params, req, runtime), new $_model.ResetInstancePasswordResponse({}));
681
+ }
682
+
683
+ /**
684
+ * 重置实例密码
685
+ *
686
+ * @param request - ResetInstancePasswordRequest
687
+ * @returns ResetInstancePasswordResponse
688
+ */
689
+ async resetInstancePassword(request: $_model.ResetInstancePasswordRequest): Promise<$_model.ResetInstancePasswordResponse> {
690
+ let runtime = new $dara.RuntimeOptions({ });
691
+ return await this.resetInstancePasswordWithOptions(request, runtime);
692
+ }
693
+
694
+ /**
695
+ * 重启实例
696
+ *
697
+ * @param request - RestartInstanceRequest
698
+ * @param runtime - runtime options for this request RuntimeOptions
699
+ * @returns RestartInstanceResponse
700
+ */
701
+ async restartInstanceWithOptions(request: $_model.RestartInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestartInstanceResponse> {
702
+ request.validate();
703
+ let query = { };
704
+ if (!$dara.isNull(request.instanceName)) {
705
+ query["InstanceName"] = request.instanceName;
706
+ }
707
+
708
+ if (!$dara.isNull(request.regionId)) {
709
+ query["RegionId"] = request.regionId;
710
+ }
711
+
712
+ let req = new $OpenApiUtil.OpenApiRequest({
713
+ query: OpenApiUtil.query(query),
714
+ });
715
+ let params = new $OpenApiUtil.Params({
716
+ action: "RestartInstance",
717
+ version: "2025-05-07",
718
+ protocol: "HTTPS",
719
+ pathname: "/",
720
+ method: "POST",
721
+ authType: "AK",
722
+ style: "RPC",
723
+ reqBodyType: "formData",
724
+ bodyType: "json",
725
+ });
726
+ return $dara.cast<$_model.RestartInstanceResponse>(await this.callApi(params, req, runtime), new $_model.RestartInstanceResponse({}));
727
+ }
728
+
729
+ /**
730
+ * 重启实例
731
+ *
732
+ * @param request - RestartInstanceRequest
733
+ * @returns RestartInstanceResponse
734
+ */
735
+ async restartInstance(request: $_model.RestartInstanceRequest): Promise<$_model.RestartInstanceResponse> {
736
+ let runtime = new $dara.RuntimeOptions({ });
737
+ return await this.restartInstanceWithOptions(request, runtime);
738
+ }
739
+
740
+ /**
741
+ * 启动实例
742
+ *
743
+ * @param request - StartInstanceRequest
744
+ * @param runtime - runtime options for this request RuntimeOptions
745
+ * @returns StartInstanceResponse
746
+ */
747
+ async startInstanceWithOptions(request: $_model.StartInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartInstanceResponse> {
748
+ request.validate();
749
+ let query = { };
750
+ if (!$dara.isNull(request.instanceName)) {
751
+ query["InstanceName"] = request.instanceName;
752
+ }
753
+
754
+ if (!$dara.isNull(request.regionId)) {
755
+ query["RegionId"] = request.regionId;
756
+ }
757
+
758
+ let req = new $OpenApiUtil.OpenApiRequest({
759
+ query: OpenApiUtil.query(query),
760
+ });
761
+ let params = new $OpenApiUtil.Params({
762
+ action: "StartInstance",
763
+ version: "2025-05-07",
764
+ protocol: "HTTPS",
765
+ pathname: "/",
766
+ method: "POST",
767
+ authType: "AK",
768
+ style: "RPC",
769
+ reqBodyType: "formData",
770
+ bodyType: "json",
771
+ });
772
+ return $dara.cast<$_model.StartInstanceResponse>(await this.callApi(params, req, runtime), new $_model.StartInstanceResponse({}));
773
+ }
774
+
775
+ /**
776
+ * 启动实例
777
+ *
778
+ * @param request - StartInstanceRequest
779
+ * @returns StartInstanceResponse
780
+ */
781
+ async startInstance(request: $_model.StartInstanceRequest): Promise<$_model.StartInstanceResponse> {
782
+ let runtime = new $dara.RuntimeOptions({ });
783
+ return await this.startInstanceWithOptions(request, runtime);
784
+ }
785
+
786
+ /**
787
+ * 暂停实例
788
+ *
789
+ * @param request - StopInstanceRequest
790
+ * @param runtime - runtime options for this request RuntimeOptions
791
+ * @returns StopInstanceResponse
792
+ */
793
+ async stopInstanceWithOptions(request: $_model.StopInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StopInstanceResponse> {
794
+ request.validate();
795
+ let query = { };
796
+ if (!$dara.isNull(request.instanceName)) {
797
+ query["InstanceName"] = request.instanceName;
798
+ }
799
+
800
+ if (!$dara.isNull(request.regionId)) {
801
+ query["RegionId"] = request.regionId;
802
+ }
803
+
804
+ let req = new $OpenApiUtil.OpenApiRequest({
805
+ query: OpenApiUtil.query(query),
806
+ });
807
+ let params = new $OpenApiUtil.Params({
808
+ action: "StopInstance",
809
+ version: "2025-05-07",
810
+ protocol: "HTTPS",
811
+ pathname: "/",
812
+ method: "POST",
813
+ authType: "AK",
814
+ style: "RPC",
815
+ reqBodyType: "formData",
816
+ bodyType: "json",
817
+ });
818
+ return $dara.cast<$_model.StopInstanceResponse>(await this.callApi(params, req, runtime), new $_model.StopInstanceResponse({}));
819
+ }
820
+
821
+ /**
822
+ * 暂停实例
823
+ *
824
+ * @param request - StopInstanceRequest
825
+ * @returns StopInstanceResponse
826
+ */
827
+ async stopInstance(request: $_model.StopInstanceRequest): Promise<$_model.StopInstanceResponse> {
828
+ let runtime = new $dara.RuntimeOptions({ });
829
+ return await this.stopInstanceWithOptions(request, runtime);
830
+ }
831
+
482
832
  }
@@ -42,12 +42,40 @@ export class DescribeInstanceAuthInfoResponseBodyApiKeys extends $dara.Model {
42
42
  }
43
43
  }
44
44
 
45
+ export class DescribeInstanceAuthInfoResponseBodyConfigList extends $dara.Model {
46
+ name?: string;
47
+ value?: string;
48
+ static names(): { [key: string]: string } {
49
+ return {
50
+ name: 'Name',
51
+ value: 'Value',
52
+ };
53
+ }
54
+
55
+ static types(): { [key: string]: any } {
56
+ return {
57
+ name: 'string',
58
+ value: 'string',
59
+ };
60
+ }
61
+
62
+ validate() {
63
+ super.validate();
64
+ }
65
+
66
+ constructor(map?: { [key: string]: any }) {
67
+ super(map);
68
+ }
69
+ }
70
+
45
71
  export class DescribeInstanceAuthInfoResponseBody extends $dara.Model {
46
72
  /**
47
73
  * @remarks
48
74
  * API Keys
49
75
  */
50
76
  apiKeys?: DescribeInstanceAuthInfoResponseBodyApiKeys;
77
+ configList?: DescribeInstanceAuthInfoResponseBodyConfigList[];
78
+ instanceName?: string;
51
79
  /**
52
80
  * @example
53
81
  * i5o1XAp4sR*****oyOb3O
@@ -61,6 +89,8 @@ export class DescribeInstanceAuthInfoResponseBody extends $dara.Model {
61
89
  static names(): { [key: string]: string } {
62
90
  return {
63
91
  apiKeys: 'ApiKeys',
92
+ configList: 'ConfigList',
93
+ instanceName: 'InstanceName',
64
94
  jwtSecret: 'JwtSecret',
65
95
  requestId: 'RequestId',
66
96
  };
@@ -69,6 +99,8 @@ export class DescribeInstanceAuthInfoResponseBody extends $dara.Model {
69
99
  static types(): { [key: string]: any } {
70
100
  return {
71
101
  apiKeys: DescribeInstanceAuthInfoResponseBodyApiKeys,
102
+ configList: { 'type': 'array', 'itemType': DescribeInstanceAuthInfoResponseBodyConfigList },
103
+ instanceName: 'string',
72
104
  jwtSecret: 'string',
73
105
  requestId: 'string',
74
106
  };
@@ -78,6 +110,9 @@ export class DescribeInstanceAuthInfoResponseBody extends $dara.Model {
78
110
  if(this.apiKeys && typeof (this.apiKeys as any).validate === 'function') {
79
111
  (this.apiKeys as any).validate();
80
112
  }
113
+ if(Array.isArray(this.configList)) {
114
+ $dara.Model.validateArray(this.configList);
115
+ }
81
116
  super.validate();
82
117
  }
83
118
 
@@ -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 DescribeInstanceStorageConfigRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * ra-supabase-8moov5lxba****
12
+ */
13
+ instanceName?: string;
14
+ /**
15
+ * @example
16
+ * cn-beijing
17
+ */
18
+ regionId?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ instanceName: 'InstanceName',
22
+ regionId: 'RegionId',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ instanceName: '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 { DescribeInstanceStorageConfigResponseBody } from "./DescribeInstanceStorageConfigResponseBody";
4
+
5
+
6
+ export class DescribeInstanceStorageConfigResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeInstanceStorageConfigResponseBody;
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: DescribeInstanceStorageConfigResponseBody,
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,78 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeInstanceStorageConfigResponseBodyConfigList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * REGION
9
+ */
10
+ name?: string;
11
+ /**
12
+ * @example
13
+ * cn-beijing
14
+ */
15
+ value?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ name: 'Name',
19
+ value: 'Value',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ name: 'string',
26
+ value: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class DescribeInstanceStorageConfigResponseBody extends $dara.Model {
40
+ configList?: DescribeInstanceStorageConfigResponseBodyConfigList[];
41
+ /**
42
+ * @example
43
+ * ra-supabase-8moov5lxba****
44
+ */
45
+ instanceName?: string;
46
+ /**
47
+ * @example
48
+ * FE9C65D7-930F-57A5-A207-8C396329241C
49
+ */
50
+ requestId?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ configList: 'ConfigList',
54
+ instanceName: 'InstanceName',
55
+ requestId: 'RequestId',
56
+ };
57
+ }
58
+
59
+ static types(): { [key: string]: any } {
60
+ return {
61
+ configList: { 'type': 'array', 'itemType': DescribeInstanceStorageConfigResponseBodyConfigList },
62
+ instanceName: 'string',
63
+ requestId: 'string',
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ if(Array.isArray(this.configList)) {
69
+ $dara.Model.validateArray(this.configList);
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
@@ -0,0 +1,78 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyInstanceAuthConfigRequestConfigList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * GOTRUE_SITE_URL
9
+ */
10
+ name?: string;
11
+ /**
12
+ * @example
13
+ * http://8.152. XXX.XXX
14
+ */
15
+ value?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ name: 'Name',
19
+ value: 'Value',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ name: 'string',
26
+ value: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class ModifyInstanceAuthConfigRequest extends $dara.Model {
40
+ configList?: ModifyInstanceAuthConfigRequestConfigList[];
41
+ /**
42
+ * @example
43
+ * ra-supabase-8moov5lxba****
44
+ */
45
+ instanceName?: string;
46
+ /**
47
+ * @example
48
+ * cn-beijing
49
+ */
50
+ regionId?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ configList: 'ConfigList',
54
+ instanceName: 'InstanceName',
55
+ regionId: 'RegionId',
56
+ };
57
+ }
58
+
59
+ static types(): { [key: string]: any } {
60
+ return {
61
+ configList: { 'type': 'array', 'itemType': ModifyInstanceAuthConfigRequestConfigList },
62
+ instanceName: 'string',
63
+ regionId: 'string',
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ if(Array.isArray(this.configList)) {
69
+ $dara.Model.validateArray(this.configList);
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ModifyInstanceAuthConfigResponseBody } from "./ModifyInstanceAuthConfigResponseBody";
4
+
5
+
6
+ export class ModifyInstanceAuthConfigResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ModifyInstanceAuthConfigResponseBody;
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: ModifyInstanceAuthConfigResponseBody,
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
+