@alicloud/polardb20170801 7.11.2 → 7.12.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 +122 -2
- package/dist/client.js +443 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateLakebaseS3accountRequest.d.ts +65 -0
- package/dist/models/CreateLakebaseS3accountRequest.js +66 -0
- package/dist/models/CreateLakebaseS3accountRequest.js.map +1 -0
- package/dist/models/CreateLakebaseS3accountResponse.d.ts +19 -0
- package/dist/models/CreateLakebaseS3accountResponse.js +69 -0
- package/dist/models/CreateLakebaseS3accountResponse.js.map +1 -0
- package/dist/models/CreateLakebaseS3accountResponseBody.d.ts +21 -0
- package/dist/models/CreateLakebaseS3accountResponseBody.js +58 -0
- package/dist/models/CreateLakebaseS3accountResponseBody.js.map +1 -0
- package/dist/models/CreatePolarFsRequest.d.ts +277 -0
- package/dist/models/CreatePolarFsRequest.js +128 -0
- package/dist/models/CreatePolarFsRequest.js.map +1 -0
- package/dist/models/CreatePolarFsResponse.d.ts +19 -0
- package/dist/models/CreatePolarFsResponse.js +69 -0
- package/dist/models/CreatePolarFsResponse.js.map +1 -0
- package/dist/models/CreatePolarFsResponseBody.d.ts +53 -0
- package/dist/models/CreatePolarFsResponseBody.js +66 -0
- package/dist/models/CreatePolarFsResponseBody.js.map +1 -0
- package/dist/models/DeleteLakebaseS3accountRequest.d.ts +46 -0
- package/dist/models/DeleteLakebaseS3accountRequest.js +62 -0
- package/dist/models/DeleteLakebaseS3accountRequest.js.map +1 -0
- package/dist/models/DeleteLakebaseS3accountResponse.d.ts +19 -0
- package/dist/models/DeleteLakebaseS3accountResponse.js +69 -0
- package/dist/models/DeleteLakebaseS3accountResponse.js.map +1 -0
- package/dist/models/DeleteLakebaseS3accountResponseBody.d.ts +21 -0
- package/dist/models/DeleteLakebaseS3accountResponseBody.js +58 -0
- package/dist/models/DeleteLakebaseS3accountResponseBody.js.map +1 -0
- package/dist/models/DeletePolarFsPathMappingRequest.d.ts +5 -5
- package/dist/models/DeletePolarFsPathMappingResponseBody.d.ts +1 -1
- package/dist/models/DeletePolarFsRequest.d.ts +32 -0
- package/dist/models/DeletePolarFsRequest.js +60 -0
- package/dist/models/DeletePolarFsRequest.js.map +1 -0
- package/dist/models/DeletePolarFsResponse.d.ts +19 -0
- package/dist/models/DeletePolarFsResponse.js +69 -0
- package/dist/models/DeletePolarFsResponse.js.map +1 -0
- package/dist/models/DeletePolarFsResponseBody.d.ts +21 -0
- package/dist/models/DeletePolarFsResponseBody.js +58 -0
- package/dist/models/DeletePolarFsResponseBody.js.map +1 -0
- package/dist/models/DescribeLakebaseS3accountRequest.d.ts +47 -0
- package/dist/models/DescribeLakebaseS3accountRequest.js +62 -0
- package/dist/models/DescribeLakebaseS3accountRequest.js.map +1 -0
- package/dist/models/DescribeLakebaseS3accountResponse.d.ts +19 -0
- package/dist/models/DescribeLakebaseS3accountResponse.js +69 -0
- package/dist/models/DescribeLakebaseS3accountResponse.js.map +1 -0
- package/dist/models/DescribeLakebaseS3accountResponseBody.d.ts +45 -0
- package/dist/models/DescribeLakebaseS3accountResponseBody.js +64 -0
- package/dist/models/DescribeLakebaseS3accountResponseBody.js.map +1 -0
- package/dist/models/DescribePolarFsMappingRequest.d.ts +53 -0
- package/dist/models/DescribePolarFsMappingRequest.js +64 -0
- package/dist/models/DescribePolarFsMappingRequest.js.map +1 -0
- package/dist/models/DescribePolarFsMappingResponse.d.ts +19 -0
- package/dist/models/DescribePolarFsMappingResponse.js +69 -0
- package/dist/models/DescribePolarFsMappingResponse.js.map +1 -0
- package/dist/models/DescribePolarFsMappingResponseBody.d.ts +108 -0
- package/dist/models/DescribePolarFsMappingResponseBody.js +96 -0
- package/dist/models/DescribePolarFsMappingResponseBody.js.map +1 -0
- package/dist/models/ListLakebaseS3accountsRequest.d.ts +48 -0
- package/dist/models/ListLakebaseS3accountsRequest.js +64 -0
- package/dist/models/ListLakebaseS3accountsRequest.js.map +1 -0
- package/dist/models/ListLakebaseS3accountsResponse.d.ts +19 -0
- package/dist/models/ListLakebaseS3accountsResponse.js +69 -0
- package/dist/models/ListLakebaseS3accountsResponse.js.map +1 -0
- package/dist/models/ListLakebaseS3accountsResponseBody.d.ts +88 -0
- package/dist/models/ListLakebaseS3accountsResponseBody.js +92 -0
- package/dist/models/ListLakebaseS3accountsResponseBody.js.map +1 -0
- package/dist/models/ModifyPolarFsMappingAuthRequest.d.ts +72 -0
- package/dist/models/ModifyPolarFsMappingAuthRequest.js +68 -0
- package/dist/models/ModifyPolarFsMappingAuthRequest.js.map +1 -0
- package/dist/models/ModifyPolarFsMappingAuthResponse.d.ts +19 -0
- package/dist/models/ModifyPolarFsMappingAuthResponse.js +69 -0
- package/dist/models/ModifyPolarFsMappingAuthResponse.js.map +1 -0
- package/dist/models/ModifyPolarFsMappingAuthResponseBody.d.ts +21 -0
- package/dist/models/ModifyPolarFsMappingAuthResponseBody.js +58 -0
- package/dist/models/ModifyPolarFsMappingAuthResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +27 -0
- package/dist/models/model.js +90 -35
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +510 -2
- package/src/models/CreateLakebaseS3accountRequest.ts +86 -0
- package/src/models/CreateLakebaseS3accountResponse.ts +40 -0
- package/src/models/CreateLakebaseS3accountResponseBody.ts +34 -0
- package/src/models/CreatePolarFsRequest.ts +351 -0
- package/src/models/CreatePolarFsResponse.ts +40 -0
- package/src/models/CreatePolarFsResponseBody.ts +74 -0
- package/src/models/DeleteLakebaseS3accountRequest.ts +63 -0
- package/src/models/DeleteLakebaseS3accountResponse.ts +40 -0
- package/src/models/DeleteLakebaseS3accountResponseBody.ts +34 -0
- package/src/models/DeletePolarFsPathMappingRequest.ts +5 -5
- package/src/models/DeletePolarFsPathMappingResponseBody.ts +1 -1
- package/src/models/DeletePolarFsRequest.ts +47 -0
- package/src/models/DeletePolarFsResponse.ts +40 -0
- package/src/models/DeletePolarFsResponseBody.ts +34 -0
- package/src/models/DescribeLakebaseS3accountRequest.ts +64 -0
- package/src/models/DescribeLakebaseS3accountResponse.ts +40 -0
- package/src/models/DescribeLakebaseS3accountResponseBody.ts +64 -0
- package/src/models/DescribePolarFsMappingRequest.ts +72 -0
- package/src/models/DescribePolarFsMappingResponse.ts +40 -0
- package/src/models/DescribePolarFsMappingResponseBody.ts +150 -0
- package/src/models/ListLakebaseS3accountsRequest.ts +67 -0
- package/src/models/ListLakebaseS3accountsResponse.ts +40 -0
- package/src/models/ListLakebaseS3accountsResponseBody.ts +126 -0
- package/src/models/ModifyPolarFsMappingAuthRequest.ts +95 -0
- package/src/models/ModifyPolarFsMappingAuthResponse.ts +40 -0
- package/src/models/ModifyPolarFsMappingAuthResponseBody.ts +34 -0
- package/src/models/model.ts +27 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeletePolarFsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The cluster ID.
|
|
9
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/129857.html) operation to query the cluster IDs of all Data Warehouse Edition clusters in a specific region.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* pc-****************
|
|
13
|
+
*/
|
|
14
|
+
DBClusterId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The PolarFs instance ID.
|
|
18
|
+
*
|
|
19
|
+
* This parameter is required.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* pcs-2ze0i74ka607wck3
|
|
23
|
+
*/
|
|
24
|
+
polarFsInstanceId?: string;
|
|
25
|
+
static names(): { [key: string]: string } {
|
|
26
|
+
return {
|
|
27
|
+
DBClusterId: 'DBClusterId',
|
|
28
|
+
polarFsInstanceId: 'PolarFsInstanceId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
DBClusterId: 'string',
|
|
35
|
+
polarFsInstanceId: 'string',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
validate() {
|
|
40
|
+
super.validate();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
constructor(map?: { [key: string]: any }) {
|
|
44
|
+
super(map);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeletePolarFsResponseBody } from "./DeletePolarFsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeletePolarFsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeletePolarFsResponseBody;
|
|
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: DeletePolarFsResponseBody,
|
|
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,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeletePolarFsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* C890995A-CF06-4F4D-8DB8-DD26C2******
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeLakebaseS3AccountRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The PolarFS instance ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* pfs-xxx
|
|
14
|
+
*/
|
|
15
|
+
pfsInstanceId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The region ID.
|
|
19
|
+
*
|
|
20
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query all available regions for your account, including region IDs.
|
|
21
|
+
*
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* cn-beijing
|
|
26
|
+
*/
|
|
27
|
+
regionId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The Access Key of the S3 account.
|
|
31
|
+
*
|
|
32
|
+
* > The account name supports only uppercase letters, lowercase letters, and digits, with a maximum length of 32 characters.
|
|
33
|
+
*
|
|
34
|
+
* This parameter is required.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* accname
|
|
38
|
+
*/
|
|
39
|
+
userAccAk?: string;
|
|
40
|
+
static names(): { [key: string]: string } {
|
|
41
|
+
return {
|
|
42
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
43
|
+
regionId: 'RegionId',
|
|
44
|
+
userAccAk: 'UserAccAk',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
static types(): { [key: string]: any } {
|
|
49
|
+
return {
|
|
50
|
+
pfsInstanceId: 'string',
|
|
51
|
+
regionId: 'string',
|
|
52
|
+
userAccAk: 'string',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeLakebaseS3AccountResponseBody } from "./DescribeLakebaseS3accountResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeLakebaseS3AccountResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeLakebaseS3AccountResponseBody;
|
|
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: DescribeLakebaseS3AccountResponseBody,
|
|
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,64 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeLakebaseS3AccountResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* CD3FA5F3-FAF3-44CA-AFFF-BAF869******
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The Access Key of the S3 account.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* accname
|
|
20
|
+
*/
|
|
21
|
+
userAccAk?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The policy document of the S3 account.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* {"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["s3:*"],"Resource":["*"]}]}
|
|
28
|
+
*/
|
|
29
|
+
userAccPolicy?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The Secret Key of the S3 account (masked).
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* password***
|
|
36
|
+
*/
|
|
37
|
+
userAccSk?: string;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
requestId: 'RequestId',
|
|
41
|
+
userAccAk: 'UserAccAk',
|
|
42
|
+
userAccPolicy: 'UserAccPolicy',
|
|
43
|
+
userAccSk: 'UserAccSk',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
requestId: 'string',
|
|
50
|
+
userAccAk: 'string',
|
|
51
|
+
userAccPolicy: 'string',
|
|
52
|
+
userAccSk: 'string',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePolarFsMappingRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The cluster ID.
|
|
9
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the details of all clusters under your account, including the cluster ID.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* pc-**************
|
|
13
|
+
*/
|
|
14
|
+
DBClusterId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The page number.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* 1
|
|
21
|
+
*/
|
|
22
|
+
pageNumber?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The number of entries per page. Valid values:
|
|
26
|
+
* * **30**
|
|
27
|
+
* * **50**
|
|
28
|
+
* * **100**
|
|
29
|
+
*
|
|
30
|
+
* Default value: **30**.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* 30
|
|
34
|
+
*/
|
|
35
|
+
pageSize?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The PolarFS instance ID.
|
|
39
|
+
*
|
|
40
|
+
* This parameter is required.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* pfs-2ze0i7*****
|
|
44
|
+
*/
|
|
45
|
+
polarFsInstanceId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
DBClusterId: 'DBClusterId',
|
|
49
|
+
pageNumber: 'PageNumber',
|
|
50
|
+
pageSize: 'PageSize',
|
|
51
|
+
polarFsInstanceId: 'PolarFsInstanceId',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
static types(): { [key: string]: any } {
|
|
56
|
+
return {
|
|
57
|
+
DBClusterId: 'string',
|
|
58
|
+
pageNumber: 'number',
|
|
59
|
+
pageSize: 'number',
|
|
60
|
+
polarFsInstanceId: 'string',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
constructor(map?: { [key: string]: any }) {
|
|
69
|
+
super(map);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribePolarFsMappingResponseBody } from "./DescribePolarFsMappingResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribePolarFsMappingResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribePolarFsMappingResponseBody;
|
|
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: DescribePolarFsMappingResponseBody,
|
|
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,150 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePolarFsMappingResponseBodyPathMappingItems extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The storage bucket.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pfs-xxx.oss-[regionId]-internal.aliyuncs.com
|
|
12
|
+
*/
|
|
13
|
+
bucket?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The AccessKey ID of the storage bucket.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* xxx
|
|
20
|
+
*/
|
|
21
|
+
bucketAccessKeyId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The mapping path.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* /test
|
|
28
|
+
*/
|
|
29
|
+
path?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
bucket: 'Bucket',
|
|
33
|
+
bucketAccessKeyId: 'BucketAccessKeyId',
|
|
34
|
+
path: 'Path',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
bucket: 'string',
|
|
41
|
+
bucketAccessKeyId: 'string',
|
|
42
|
+
path: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class DescribePolarFsMappingResponseBody extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The default AccessKey ID at the instance level.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* xxx
|
|
62
|
+
*/
|
|
63
|
+
defaultAccessKeyId?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The page number.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 1
|
|
70
|
+
*/
|
|
71
|
+
pageNumber?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The number of records on the current page.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* 1
|
|
78
|
+
*/
|
|
79
|
+
pageRecordCount?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The number of entries per page. Valid values:
|
|
83
|
+
*
|
|
84
|
+
* - **30**
|
|
85
|
+
*
|
|
86
|
+
* - **50**
|
|
87
|
+
*
|
|
88
|
+
* - **100**
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* 30
|
|
92
|
+
*/
|
|
93
|
+
pageSize?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The list of path mappings.
|
|
97
|
+
*/
|
|
98
|
+
pathMappingItems?: DescribePolarFsMappingResponseBodyPathMappingItems[];
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* The request ID.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* 925B84D9-CA72-432C-95CF-738C22******
|
|
105
|
+
*/
|
|
106
|
+
requestId?: string;
|
|
107
|
+
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* The total number of records.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* 1
|
|
113
|
+
*/
|
|
114
|
+
totalRecordCount?: string;
|
|
115
|
+
static names(): { [key: string]: string } {
|
|
116
|
+
return {
|
|
117
|
+
defaultAccessKeyId: 'DefaultAccessKeyId',
|
|
118
|
+
pageNumber: 'PageNumber',
|
|
119
|
+
pageRecordCount: 'PageRecordCount',
|
|
120
|
+
pageSize: 'PageSize',
|
|
121
|
+
pathMappingItems: 'PathMappingItems',
|
|
122
|
+
requestId: 'RequestId',
|
|
123
|
+
totalRecordCount: 'TotalRecordCount',
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
static types(): { [key: string]: any } {
|
|
128
|
+
return {
|
|
129
|
+
defaultAccessKeyId: 'string',
|
|
130
|
+
pageNumber: 'string',
|
|
131
|
+
pageRecordCount: 'string',
|
|
132
|
+
pageSize: 'string',
|
|
133
|
+
pathMappingItems: { 'type': 'array', 'itemType': DescribePolarFsMappingResponseBodyPathMappingItems },
|
|
134
|
+
requestId: 'string',
|
|
135
|
+
totalRecordCount: 'string',
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
validate() {
|
|
140
|
+
if(Array.isArray(this.pathMappingItems)) {
|
|
141
|
+
$dara.Model.validateArray(this.pathMappingItems);
|
|
142
|
+
}
|
|
143
|
+
super.validate();
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
constructor(map?: { [key: string]: any }) {
|
|
147
|
+
super(map);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListLakebaseS3AccountsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The page number.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 5
|
|
12
|
+
*/
|
|
13
|
+
pageNumber?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The number of entries per page.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 5
|
|
20
|
+
*/
|
|
21
|
+
pageSize?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The PolarFS instance ID.
|
|
25
|
+
*
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* pfs-xxx
|
|
30
|
+
*/
|
|
31
|
+
pfsInstanceId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The region ID.
|
|
35
|
+
* >You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query region IDs.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* cn-beijing
|
|
39
|
+
*/
|
|
40
|
+
regionId?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
pageNumber: 'PageNumber',
|
|
44
|
+
pageSize: 'PageSize',
|
|
45
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
46
|
+
regionId: 'RegionId',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
pageNumber: 'number',
|
|
53
|
+
pageSize: 'number',
|
|
54
|
+
pfsInstanceId: 'string',
|
|
55
|
+
regionId: 'string',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
validate() {
|
|
60
|
+
super.validate();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
constructor(map?: { [key: string]: any }) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListLakebaseS3AccountsResponseBody } from "./ListLakebaseS3accountsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLakebaseS3AccountsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListLakebaseS3AccountsResponseBody;
|
|
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: ListLakebaseS3AccountsResponseBody,
|
|
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
|
+
|