@alicloud/polardb20170801 6.0.0 → 6.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 (89) hide show
  1. package/dist/client.d.ts +90 -0
  2. package/dist/client.js +270 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddPolarFsQuotaRequest.d.ts +101 -0
  5. package/dist/models/AddPolarFsQuotaRequest.js +104 -0
  6. package/dist/models/AddPolarFsQuotaRequest.js.map +1 -0
  7. package/dist/models/AddPolarFsQuotaResponse.d.ts +19 -0
  8. package/dist/models/AddPolarFsQuotaResponse.js +69 -0
  9. package/dist/models/AddPolarFsQuotaResponse.js.map +1 -0
  10. package/dist/models/AddPolarFsQuotaResponseBody.d.ts +26 -0
  11. package/dist/models/AddPolarFsQuotaResponseBody.js +60 -0
  12. package/dist/models/AddPolarFsQuotaResponseBody.js.map +1 -0
  13. package/dist/models/CancelPolarFsFileQuotaRequest.d.ts +34 -0
  14. package/dist/models/CancelPolarFsFileQuotaRequest.js +62 -0
  15. package/dist/models/CancelPolarFsFileQuotaRequest.js.map +1 -0
  16. package/dist/models/CancelPolarFsFileQuotaResponse.d.ts +19 -0
  17. package/dist/models/CancelPolarFsFileQuotaResponse.js +69 -0
  18. package/dist/models/CancelPolarFsFileQuotaResponse.js.map +1 -0
  19. package/dist/models/CancelPolarFsFileQuotaResponseBody.d.ts +31 -0
  20. package/dist/models/CancelPolarFsFileQuotaResponseBody.js +62 -0
  21. package/dist/models/CancelPolarFsFileQuotaResponseBody.js.map +1 -0
  22. package/dist/models/CreateApplicationRequest.d.ts +0 -2
  23. package/dist/models/CreateApplicationRequest.js +0 -2
  24. package/dist/models/CreateApplicationRequest.js.map +1 -1
  25. package/dist/models/DeletePolarFsQuotaRequest.d.ts +59 -0
  26. package/dist/models/DeletePolarFsQuotaRequest.js +86 -0
  27. package/dist/models/DeletePolarFsQuotaRequest.js.map +1 -0
  28. package/dist/models/DeletePolarFsQuotaResponse.d.ts +19 -0
  29. package/dist/models/DeletePolarFsQuotaResponse.js +69 -0
  30. package/dist/models/DeletePolarFsQuotaResponse.js.map +1 -0
  31. package/dist/models/DeletePolarFsQuotaResponseBody.d.ts +26 -0
  32. package/dist/models/DeletePolarFsQuotaResponseBody.js +60 -0
  33. package/dist/models/DeletePolarFsQuotaResponseBody.js.map +1 -0
  34. package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +1 -0
  35. package/dist/models/DescribeDbclusterAttributeResponseBody.js +2 -0
  36. package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
  37. package/dist/models/DescribePolarFsAttributeRequest.d.ts +23 -0
  38. package/dist/models/DescribePolarFsAttributeRequest.js +62 -0
  39. package/dist/models/DescribePolarFsAttributeRequest.js.map +1 -0
  40. package/dist/models/DescribePolarFsAttributeResponse.d.ts +19 -0
  41. package/dist/models/DescribePolarFsAttributeResponse.js +69 -0
  42. package/dist/models/DescribePolarFsAttributeResponse.js.map +1 -0
  43. package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +177 -0
  44. package/dist/models/DescribePolarFsAttributeResponseBody.js +142 -0
  45. package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -0
  46. package/dist/models/DescribePolarFsQuotaRequest.d.ts +31 -0
  47. package/dist/models/DescribePolarFsQuotaRequest.js +62 -0
  48. package/dist/models/DescribePolarFsQuotaRequest.js.map +1 -0
  49. package/dist/models/DescribePolarFsQuotaResponse.d.ts +19 -0
  50. package/dist/models/DescribePolarFsQuotaResponse.js +69 -0
  51. package/dist/models/DescribePolarFsQuotaResponse.js.map +1 -0
  52. package/dist/models/DescribePolarFsQuotaResponseBody.d.ts +114 -0
  53. package/dist/models/DescribePolarFsQuotaResponseBody.js +112 -0
  54. package/dist/models/DescribePolarFsQuotaResponseBody.js.map +1 -0
  55. package/dist/models/SetPolarFsFileQuotaRequest.d.ts +63 -0
  56. package/dist/models/SetPolarFsFileQuotaRequest.js +90 -0
  57. package/dist/models/SetPolarFsFileQuotaRequest.js.map +1 -0
  58. package/dist/models/SetPolarFsFileQuotaResponse.d.ts +19 -0
  59. package/dist/models/SetPolarFsFileQuotaResponse.js +69 -0
  60. package/dist/models/SetPolarFsFileQuotaResponse.js.map +1 -0
  61. package/dist/models/SetPolarFsFileQuotaResponseBody.d.ts +26 -0
  62. package/dist/models/SetPolarFsFileQuotaResponseBody.js +60 -0
  63. package/dist/models/SetPolarFsFileQuotaResponseBody.js.map +1 -0
  64. package/dist/models/model.d.ts +23 -0
  65. package/dist/models/model.js +68 -21
  66. package/dist/models/model.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/client.ts +300 -0
  69. package/src/models/AddPolarFsQuotaRequest.ts +149 -0
  70. package/src/models/AddPolarFsQuotaResponse.ts +40 -0
  71. package/src/models/AddPolarFsQuotaResponseBody.ts +41 -0
  72. package/src/models/CancelPolarFsFileQuotaRequest.ts +51 -0
  73. package/src/models/CancelPolarFsFileQuotaResponse.ts +40 -0
  74. package/src/models/CancelPolarFsFileQuotaResponseBody.ts +48 -0
  75. package/src/models/CreateApplicationRequest.ts +0 -2
  76. package/src/models/DeletePolarFsQuotaRequest.ts +91 -0
  77. package/src/models/DeletePolarFsQuotaResponse.ts +40 -0
  78. package/src/models/DeletePolarFsQuotaResponseBody.ts +41 -0
  79. package/src/models/DescribeDbclusterAttributeResponseBody.ts +3 -0
  80. package/src/models/DescribePolarFsAttributeRequest.ts +40 -0
  81. package/src/models/DescribePolarFsAttributeResponse.ts +40 -0
  82. package/src/models/DescribePolarFsAttributeResponseBody.ts +265 -0
  83. package/src/models/DescribePolarFsQuotaRequest.ts +48 -0
  84. package/src/models/DescribePolarFsQuotaResponse.ts +40 -0
  85. package/src/models/DescribePolarFsQuotaResponseBody.ts +172 -0
  86. package/src/models/SetPolarFsFileQuotaRequest.ts +99 -0
  87. package/src/models/SetPolarFsFileQuotaResponse.ts +40 -0
  88. package/src/models/SetPolarFsFileQuotaResponseBody.ts +41 -0
  89. package/src/models/model.ts +23 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { AddPolarFsQuotaResponseBody } from "./AddPolarFsQuotaResponseBody";
4
+
5
+
6
+ export class AddPolarFsQuotaResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: AddPolarFsQuotaResponseBody;
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: AddPolarFsQuotaResponseBody,
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,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class AddPolarFsQuotaResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * pfs-2ze0i74ka607*****
9
+ */
10
+ polarFsInstanceId?: string;
11
+ /**
12
+ * @remarks
13
+ * Id of the request
14
+ *
15
+ * @example
16
+ * 7F2007D3-7E74-4ECB-89A8-BF130D******
17
+ */
18
+ requestId?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ polarFsInstanceId: 'PolarFsInstanceId',
22
+ requestId: 'RequestId',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ polarFsInstanceId: 'string',
29
+ requestId: '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,51 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CancelPolarFsFileQuotaRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * pc-**************
9
+ */
10
+ DBClusterId?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * /path1,/path2
17
+ */
18
+ filePathIds?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * pfs-2ze0i74ka607*****
25
+ */
26
+ polarFsInstanceId?: string;
27
+ static names(): { [key: string]: string } {
28
+ return {
29
+ DBClusterId: 'DBClusterId',
30
+ filePathIds: 'FilePathIds',
31
+ polarFsInstanceId: 'PolarFsInstanceId',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ DBClusterId: 'string',
38
+ filePathIds: 'string',
39
+ polarFsInstanceId: '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 { CancelPolarFsFileQuotaResponseBody } from "./CancelPolarFsFileQuotaResponseBody";
4
+
5
+
6
+ export class CancelPolarFsFileQuotaResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CancelPolarFsFileQuotaResponseBody;
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: CancelPolarFsFileQuotaResponseBody,
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,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CancelPolarFsFileQuotaResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * /path1,/path2
9
+ */
10
+ filePathIds?: string;
11
+ /**
12
+ * @example
13
+ * pfs-2ze0i74ka607*****
14
+ */
15
+ polarFsInstanceId?: string;
16
+ /**
17
+ * @remarks
18
+ * Id of the request
19
+ *
20
+ * @example
21
+ * 2FED790E-FB61-4721-8C1C-07C627******
22
+ */
23
+ requestId?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ filePathIds: 'FilePathIds',
27
+ polarFsInstanceId: 'PolarFsInstanceId',
28
+ requestId: 'RequestId',
29
+ };
30
+ }
31
+
32
+ static types(): { [key: string]: any } {
33
+ return {
34
+ filePathIds: 'string',
35
+ polarFsInstanceId: 'string',
36
+ requestId: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -2,8 +2,6 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
- /**
6
- */
7
5
  export class CreateApplicationRequestComponents extends $dara.Model {
8
6
  /**
9
7
  * @example
@@ -0,0 +1,91 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeletePolarFsQuotaRequestQuotas extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 73
12
+ */
13
+ id?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * sftest
20
+ */
21
+ name?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ id: 'Id',
25
+ name: 'Name',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ id: 'string',
32
+ name: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class DeletePolarFsQuotaRequest extends $dara.Model {
46
+ /**
47
+ * @example
48
+ * pc-************
49
+ */
50
+ DBClusterId?: string;
51
+ /**
52
+ * @remarks
53
+ * This parameter is required.
54
+ *
55
+ * @example
56
+ * pfs-2ze0i74ka607*****
57
+ */
58
+ polarFsInstanceId?: string;
59
+ /**
60
+ * @remarks
61
+ * This parameter is required.
62
+ */
63
+ quotas?: DeletePolarFsQuotaRequestQuotas[];
64
+ static names(): { [key: string]: string } {
65
+ return {
66
+ DBClusterId: 'DBClusterId',
67
+ polarFsInstanceId: 'PolarFsInstanceId',
68
+ quotas: 'Quotas',
69
+ };
70
+ }
71
+
72
+ static types(): { [key: string]: any } {
73
+ return {
74
+ DBClusterId: 'string',
75
+ polarFsInstanceId: 'string',
76
+ quotas: { 'type': 'array', 'itemType': DeletePolarFsQuotaRequestQuotas },
77
+ };
78
+ }
79
+
80
+ validate() {
81
+ if(Array.isArray(this.quotas)) {
82
+ $dara.Model.validateArray(this.quotas);
83
+ }
84
+ super.validate();
85
+ }
86
+
87
+ constructor(map?: { [key: string]: any }) {
88
+ super(map);
89
+ }
90
+ }
91
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeletePolarFsQuotaResponseBody } from "./DeletePolarFsQuotaResponseBody";
4
+
5
+
6
+ export class DeletePolarFsQuotaResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeletePolarFsQuotaResponseBody;
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: DeletePolarFsQuotaResponseBody,
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,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeletePolarFsQuotaResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * pfs-2ze0i74ka607*****
9
+ */
10
+ polarFsInstanceId?: string;
11
+ /**
12
+ * @remarks
13
+ * Id of the request
14
+ *
15
+ * @example
16
+ * 69A85BAF-1089-4CDF-A82F-0A140F******
17
+ */
18
+ requestId?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ polarFsInstanceId: 'PolarFsInstanceId',
22
+ requestId: 'RequestId',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ polarFsInstanceId: 'string',
29
+ requestId: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
@@ -806,6 +806,7 @@ export class DescribeDBClusterAttributeResponseBody extends $dara.Model {
806
806
  * 0
807
807
  */
808
808
  SQLSize?: number;
809
+ searchClusterStatus?: string;
809
810
  searchCompressStorageUsed?: number;
810
811
  searchStorageUsed?: number;
811
812
  /**
@@ -999,6 +1000,7 @@ export class DescribeDBClusterAttributeResponseBody extends $dara.Model {
999
1000
  restoreType: 'RestoreType',
1000
1001
  rowCompression: 'RowCompression',
1001
1002
  SQLSize: 'SQLSize',
1003
+ searchClusterStatus: 'SearchClusterStatus',
1002
1004
  searchCompressStorageUsed: 'SearchCompressStorageUsed',
1003
1005
  searchStorageUsed: 'SearchStorageUsed',
1004
1006
  serverlessType: 'ServerlessType',
@@ -1072,6 +1074,7 @@ export class DescribeDBClusterAttributeResponseBody extends $dara.Model {
1072
1074
  restoreType: 'string',
1073
1075
  rowCompression: 'string',
1074
1076
  SQLSize: 'number',
1077
+ searchClusterStatus: 'string',
1075
1078
  searchCompressStorageUsed: 'number',
1076
1079
  searchStorageUsed: 'number',
1077
1080
  serverlessType: 'string',
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribePolarFsAttributeRequest extends $dara.Model {
6
+ DBClusterId?: string;
7
+ /**
8
+ * @remarks
9
+ * This parameter is required.
10
+ *
11
+ * @example
12
+ * pfs-2ze0i74ka607*****
13
+ */
14
+ polarFsInstanceId?: string;
15
+ queryFuseMountInfo?: boolean;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ DBClusterId: 'DBClusterId',
19
+ polarFsInstanceId: 'PolarFsInstanceId',
20
+ queryFuseMountInfo: 'QueryFuseMountInfo',
21
+ };
22
+ }
23
+
24
+ static types(): { [key: string]: any } {
25
+ return {
26
+ DBClusterId: 'string',
27
+ polarFsInstanceId: 'string',
28
+ queryFuseMountInfo: 'boolean',
29
+ };
30
+ }
31
+
32
+ validate() {
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribePolarFsAttributeResponseBody } from "./DescribePolarFsAttributeResponseBody";
4
+
5
+
6
+ export class DescribePolarFsAttributeResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribePolarFsAttributeResponseBody;
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: DescribePolarFsAttributeResponseBody,
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
+