@alicloud/polardb20170801 5.11.0 → 5.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 +165 -0
- package/dist/client.js +555 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AttachApplicationPolarFsrequest.d.ts +39 -0
- package/dist/models/AttachApplicationPolarFsrequest.js +64 -0
- package/dist/models/AttachApplicationPolarFsrequest.js.map +1 -0
- package/dist/models/AttachApplicationPolarFsresponse.d.ts +19 -0
- package/dist/models/AttachApplicationPolarFsresponse.js +69 -0
- package/dist/models/AttachApplicationPolarFsresponse.js.map +1 -0
- package/dist/models/AttachApplicationPolarFsresponseBody.d.ts +31 -0
- package/dist/models/AttachApplicationPolarFsresponseBody.js +62 -0
- package/dist/models/AttachApplicationPolarFsresponseBody.js.map +1 -0
- package/dist/models/CreateApplicationEndpointAddressRequest.d.ts +37 -0
- package/dist/models/CreateApplicationEndpointAddressRequest.js +62 -0
- package/dist/models/CreateApplicationEndpointAddressRequest.js.map +1 -0
- package/dist/models/CreateApplicationEndpointAddressResponse.d.ts +19 -0
- package/dist/models/CreateApplicationEndpointAddressResponse.js +69 -0
- package/dist/models/CreateApplicationEndpointAddressResponse.js.map +1 -0
- package/dist/models/CreateApplicationEndpointAddressResponseBody.d.ts +28 -0
- package/dist/models/CreateApplicationEndpointAddressResponseBody.js +62 -0
- package/dist/models/CreateApplicationEndpointAddressResponseBody.js.map +1 -0
- package/dist/models/CreateApplicationRequest.d.ts +167 -0
- package/dist/models/CreateApplicationRequest.js +150 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -0
- package/dist/models/CreateApplicationResponse.d.ts +19 -0
- package/dist/models/CreateApplicationResponse.js +69 -0
- package/dist/models/CreateApplicationResponse.js.map +1 -0
- package/dist/models/CreateApplicationResponseBody.d.ts +61 -0
- package/dist/models/CreateApplicationResponseBody.js +92 -0
- package/dist/models/CreateApplicationResponseBody.js.map +1 -0
- package/dist/models/CreateApplicationShrinkRequest.d.ts +91 -0
- package/dist/models/CreateApplicationShrinkRequest.js +88 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -0
- package/dist/models/CreateDbclusterRequest.d.ts +0 -2
- package/dist/models/CreateDbclusterRequest.js +0 -2
- package/dist/models/CreateDbclusterRequest.js.map +1 -1
- package/dist/models/DeleteAidbclusterRequest.d.ts +21 -0
- package/dist/models/DeleteAidbclusterRequest.js +58 -0
- package/dist/models/DeleteAidbclusterRequest.js.map +1 -0
- package/dist/models/DeleteAidbclusterResponse.d.ts +19 -0
- package/dist/models/DeleteAidbclusterResponse.js +69 -0
- package/dist/models/DeleteAidbclusterResponse.js.map +1 -0
- package/dist/models/DeleteAidbclusterResponseBody.d.ts +26 -0
- package/dist/models/DeleteAidbclusterResponseBody.js +60 -0
- package/dist/models/DeleteAidbclusterResponseBody.js.map +1 -0
- package/dist/models/DeleteApplicationEndpointAddressRequest.d.ts +37 -0
- package/dist/models/DeleteApplicationEndpointAddressRequest.js +62 -0
- package/dist/models/DeleteApplicationEndpointAddressRequest.js.map +1 -0
- package/dist/models/DeleteApplicationEndpointAddressResponse.d.ts +19 -0
- package/dist/models/DeleteApplicationEndpointAddressResponse.js +69 -0
- package/dist/models/DeleteApplicationEndpointAddressResponse.js.map +1 -0
- package/dist/models/DeleteApplicationEndpointAddressResponseBody.d.ts +28 -0
- package/dist/models/DeleteApplicationEndpointAddressResponseBody.js +62 -0
- package/dist/models/DeleteApplicationEndpointAddressResponseBody.js.map +1 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +1 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationAttributeRequest.d.ts +21 -0
- package/dist/models/DescribeApplicationAttributeRequest.js +58 -0
- package/dist/models/DescribeApplicationAttributeRequest.js.map +1 -0
- package/dist/models/DescribeApplicationAttributeResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationAttributeResponse.js +69 -0
- package/dist/models/DescribeApplicationAttributeResponse.js.map +1 -0
- package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +377 -0
- package/dist/models/DescribeApplicationAttributeResponseBody.js +326 -0
- package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -0
- package/dist/models/DescribeApplicationParametersRequest.d.ts +22 -0
- package/dist/models/DescribeApplicationParametersRequest.js +63 -0
- package/dist/models/DescribeApplicationParametersRequest.js.map +1 -0
- package/dist/models/DescribeApplicationParametersResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationParametersResponse.js +69 -0
- package/dist/models/DescribeApplicationParametersResponse.js.map +1 -0
- package/dist/models/DescribeApplicationParametersResponseBody.d.ts +196 -0
- package/dist/models/DescribeApplicationParametersResponseBody.js +230 -0
- package/dist/models/DescribeApplicationParametersResponseBody.js.map +1 -0
- package/dist/models/DescribeApplicationParametersShrinkRequest.d.ts +22 -0
- package/dist/models/DescribeApplicationParametersShrinkRequest.js +60 -0
- package/dist/models/DescribeApplicationParametersShrinkRequest.js.map +1 -0
- package/dist/models/DescribeApplicationsRequest.d.ts +41 -0
- package/dist/models/DescribeApplicationsRequest.js +66 -0
- package/dist/models/DescribeApplicationsRequest.js.map +1 -0
- package/dist/models/DescribeApplicationsResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationsResponse.js +69 -0
- package/dist/models/DescribeApplicationsResponse.js.map +1 -0
- package/dist/models/DescribeApplicationsResponseBody.d.ts +160 -0
- package/dist/models/DescribeApplicationsResponseBody.js +182 -0
- package/dist/models/DescribeApplicationsResponseBody.js.map +1 -0
- package/dist/models/ModifyApplicationDescriptionRequest.d.ts +29 -0
- package/dist/models/ModifyApplicationDescriptionRequest.js +60 -0
- package/dist/models/ModifyApplicationDescriptionRequest.js.map +1 -0
- package/dist/models/ModifyApplicationDescriptionResponse.d.ts +19 -0
- package/dist/models/ModifyApplicationDescriptionResponse.js +69 -0
- package/dist/models/ModifyApplicationDescriptionResponse.js.map +1 -0
- package/dist/models/ModifyApplicationDescriptionResponseBody.d.ts +23 -0
- package/dist/models/ModifyApplicationDescriptionResponseBody.js +60 -0
- package/dist/models/ModifyApplicationDescriptionResponseBody.js.map +1 -0
- package/dist/models/ModifyApplicationParameterRequest.d.ts +54 -0
- package/dist/models/ModifyApplicationParameterRequest.js +88 -0
- package/dist/models/ModifyApplicationParameterRequest.js.map +1 -0
- package/dist/models/ModifyApplicationParameterResponse.d.ts +19 -0
- package/dist/models/ModifyApplicationParameterResponse.js +69 -0
- package/dist/models/ModifyApplicationParameterResponse.js.map +1 -0
- package/dist/models/ModifyApplicationParameterResponseBody.d.ts +23 -0
- package/dist/models/ModifyApplicationParameterResponseBody.js +60 -0
- package/dist/models/ModifyApplicationParameterResponseBody.js.map +1 -0
- package/dist/models/ModifyApplicationParameterShrinkRequest.d.ts +32 -0
- package/dist/models/ModifyApplicationParameterShrinkRequest.js +64 -0
- package/dist/models/ModifyApplicationParameterShrinkRequest.js.map +1 -0
- package/dist/models/ModifyApplicationWhitelistRequest.d.ts +46 -0
- package/dist/models/ModifyApplicationWhitelistRequest.js +68 -0
- package/dist/models/ModifyApplicationWhitelistRequest.js.map +1 -0
- package/dist/models/ModifyApplicationWhitelistResponse.d.ts +19 -0
- package/dist/models/ModifyApplicationWhitelistResponse.js +69 -0
- package/dist/models/ModifyApplicationWhitelistResponse.js.map +1 -0
- package/dist/models/ModifyApplicationWhitelistResponseBody.d.ts +28 -0
- package/dist/models/ModifyApplicationWhitelistResponseBody.js +62 -0
- package/dist/models/ModifyApplicationWhitelistResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +57 -0
- package/dist/models/model.js +134 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +628 -0
- package/src/models/AttachApplicationPolarFsrequest.ts +58 -0
- package/src/models/AttachApplicationPolarFsresponse.ts +40 -0
- package/src/models/AttachApplicationPolarFsresponseBody.ts +48 -0
- package/src/models/CreateApplicationEndpointAddressRequest.ts +54 -0
- package/src/models/CreateApplicationEndpointAddressResponse.ts +40 -0
- package/src/models/CreateApplicationEndpointAddressResponseBody.ts +45 -0
- package/src/models/CreateApplicationRequest.ts +252 -0
- package/src/models/CreateApplicationResponse.ts +40 -0
- package/src/models/CreateApplicationResponseBody.ts +99 -0
- package/src/models/CreateApplicationShrinkRequest.ts +134 -0
- package/src/models/CreateDbclusterRequest.ts +0 -2
- package/src/models/DeleteAidbclusterRequest.ts +34 -0
- package/src/models/DeleteAidbclusterResponse.ts +40 -0
- package/src/models/DeleteAidbclusterResponseBody.ts +41 -0
- package/src/models/DeleteApplicationEndpointAddressRequest.ts +54 -0
- package/src/models/DeleteApplicationEndpointAddressResponse.ts +40 -0
- package/src/models/DeleteApplicationEndpointAddressResponseBody.ts +45 -0
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +3 -0
- package/src/models/DescribeApplicationAttributeRequest.ts +34 -0
- package/src/models/DescribeApplicationAttributeResponse.ts +40 -0
- package/src/models/DescribeApplicationAttributeResponseBody.ts +595 -0
- package/src/models/DescribeApplicationParametersRequest.ts +40 -0
- package/src/models/DescribeApplicationParametersResponse.ts +40 -0
- package/src/models/DescribeApplicationParametersResponseBody.ts +327 -0
- package/src/models/DescribeApplicationParametersShrinkRequest.ts +37 -0
- package/src/models/DescribeApplicationsRequest.ts +62 -0
- package/src/models/DescribeApplicationsResponse.ts +40 -0
- package/src/models/DescribeApplicationsResponseBody.ts +261 -0
- package/src/models/ModifyApplicationDescriptionRequest.ts +44 -0
- package/src/models/ModifyApplicationDescriptionResponse.ts +40 -0
- package/src/models/ModifyApplicationDescriptionResponseBody.ts +38 -0
- package/src/models/ModifyApplicationParameterRequest.ts +88 -0
- package/src/models/ModifyApplicationParameterResponse.ts +40 -0
- package/src/models/ModifyApplicationParameterResponseBody.ts +38 -0
- package/src/models/ModifyApplicationParameterShrinkRequest.ts +51 -0
- package/src/models/ModifyApplicationWhitelistRequest.ts +69 -0
- package/src/models/ModifyApplicationWhitelistResponse.ts +40 -0
- package/src/models/ModifyApplicationWhitelistResponseBody.ts +45 -0
- package/src/models/model.ts +57 -0
|
@@ -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 AttachApplicationPolarFSRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pa-**************
|
|
12
|
+
*/
|
|
13
|
+
applicationId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* LT**********************
|
|
17
|
+
*/
|
|
18
|
+
polarFSAccessKeyId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* H3****************************
|
|
22
|
+
*/
|
|
23
|
+
polarFSAccessKeySecret?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* pcs-**************
|
|
30
|
+
*/
|
|
31
|
+
polarFSInstanceId?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
applicationId: 'ApplicationId',
|
|
35
|
+
polarFSAccessKeyId: 'PolarFSAccessKeyId',
|
|
36
|
+
polarFSAccessKeySecret: 'PolarFSAccessKeySecret',
|
|
37
|
+
polarFSInstanceId: 'PolarFSInstanceId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
applicationId: 'string',
|
|
44
|
+
polarFSAccessKeyId: 'string',
|
|
45
|
+
polarFSAccessKeySecret: 'string',
|
|
46
|
+
polarFSInstanceId: '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 { AttachApplicationPolarFSResponseBody } from "./AttachApplicationPolarFsresponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class AttachApplicationPolarFSResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: AttachApplicationPolarFSResponseBody;
|
|
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: AttachApplicationPolarFSResponseBody,
|
|
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 AttachApplicationPolarFSResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pa-**************
|
|
9
|
+
*/
|
|
10
|
+
applicationId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* PolarFS ID
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* pcs-**************
|
|
17
|
+
*/
|
|
18
|
+
polarFSInstanceId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
applicationId: 'ApplicationId',
|
|
27
|
+
polarFSInstanceId: 'PolarFSInstanceId',
|
|
28
|
+
requestId: 'RequestId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
applicationId: '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
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateApplicationEndpointAddressRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pa-**************
|
|
12
|
+
*/
|
|
13
|
+
applicationId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* pa-**************
|
|
20
|
+
*/
|
|
21
|
+
endpointId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Public
|
|
28
|
+
*/
|
|
29
|
+
netType?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
applicationId: 'ApplicationId',
|
|
33
|
+
endpointId: 'EndpointId',
|
|
34
|
+
netType: 'NetType',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
applicationId: 'string',
|
|
41
|
+
endpointId: 'string',
|
|
42
|
+
netType: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateApplicationEndpointAddressResponseBody } from "./CreateApplicationEndpointAddressResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateApplicationEndpointAddressResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateApplicationEndpointAddressResponseBody;
|
|
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: CreateApplicationEndpointAddressResponseBody,
|
|
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,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateApplicationEndpointAddressResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pa-**************
|
|
9
|
+
*/
|
|
10
|
+
applicationId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* pa-**************
|
|
14
|
+
*/
|
|
15
|
+
endpointId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF
|
|
19
|
+
*/
|
|
20
|
+
requestId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
applicationId: 'ApplicationId',
|
|
24
|
+
endpointId: 'EndpointId',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
applicationId: 'string',
|
|
32
|
+
endpointId: 'string',
|
|
33
|
+
requestId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
*/
|
|
7
|
+
export class CreateApplicationRequestComponents extends $dara.Model {
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* polar.app.g2.medium
|
|
11
|
+
*/
|
|
12
|
+
componentClass?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 1
|
|
16
|
+
*/
|
|
17
|
+
componentMaxReplica?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* 1
|
|
21
|
+
*/
|
|
22
|
+
componentReplica?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* gateway
|
|
26
|
+
*/
|
|
27
|
+
componentType?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* sg-********************
|
|
31
|
+
*/
|
|
32
|
+
securityGroups?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* default
|
|
36
|
+
*/
|
|
37
|
+
securityIPArrayName?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* 127.0.0.1
|
|
41
|
+
*/
|
|
42
|
+
securityIPList?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @example
|
|
45
|
+
* ipv4
|
|
46
|
+
*/
|
|
47
|
+
securityIPType?: string;
|
|
48
|
+
static names(): { [key: string]: string } {
|
|
49
|
+
return {
|
|
50
|
+
componentClass: 'ComponentClass',
|
|
51
|
+
componentMaxReplica: 'ComponentMaxReplica',
|
|
52
|
+
componentReplica: 'ComponentReplica',
|
|
53
|
+
componentType: 'ComponentType',
|
|
54
|
+
securityGroups: 'SecurityGroups',
|
|
55
|
+
securityIPArrayName: 'SecurityIPArrayName',
|
|
56
|
+
securityIPList: 'SecurityIPList',
|
|
57
|
+
securityIPType: 'SecurityIPType',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
static types(): { [key: string]: any } {
|
|
62
|
+
return {
|
|
63
|
+
componentClass: 'string',
|
|
64
|
+
componentMaxReplica: 'number',
|
|
65
|
+
componentReplica: 'number',
|
|
66
|
+
componentType: 'string',
|
|
67
|
+
securityGroups: 'string',
|
|
68
|
+
securityIPArrayName: 'string',
|
|
69
|
+
securityIPList: 'string',
|
|
70
|
+
securityIPType: 'string',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
super.validate();
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
constructor(map?: { [key: string]: any }) {
|
|
79
|
+
super(map);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* my_endpoint
|
|
87
|
+
*/
|
|
88
|
+
description?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @example
|
|
91
|
+
* Primary
|
|
92
|
+
*/
|
|
93
|
+
endpointType?: string;
|
|
94
|
+
static names(): { [key: string]: string } {
|
|
95
|
+
return {
|
|
96
|
+
description: 'Description',
|
|
97
|
+
endpointType: 'EndpointType',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
static types(): { [key: string]: any } {
|
|
102
|
+
return {
|
|
103
|
+
description: 'string',
|
|
104
|
+
endpointType: 'string',
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
validate() {
|
|
109
|
+
super.validate();
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
constructor(map?: { [key: string]: any }) {
|
|
113
|
+
super(map);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export class CreateApplicationRequest extends $dara.Model {
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* This parameter is required.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* supabase
|
|
124
|
+
*/
|
|
125
|
+
applicationType?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* This parameter is required.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* x86
|
|
132
|
+
*/
|
|
133
|
+
architecture?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @example
|
|
136
|
+
* true
|
|
137
|
+
*/
|
|
138
|
+
autoRenew?: boolean;
|
|
139
|
+
components?: CreateApplicationRequestComponents[];
|
|
140
|
+
/**
|
|
141
|
+
* @example
|
|
142
|
+
* pc-**************
|
|
143
|
+
*/
|
|
144
|
+
DBClusterId?: string;
|
|
145
|
+
/**
|
|
146
|
+
* @example
|
|
147
|
+
* myapp
|
|
148
|
+
*/
|
|
149
|
+
description?: string;
|
|
150
|
+
/**
|
|
151
|
+
* @example
|
|
152
|
+
* false
|
|
153
|
+
*/
|
|
154
|
+
dryRun?: boolean;
|
|
155
|
+
endpoints?: CreateApplicationRequestEndpoints[];
|
|
156
|
+
/**
|
|
157
|
+
* @example
|
|
158
|
+
* Postpaid
|
|
159
|
+
*/
|
|
160
|
+
payType?: string;
|
|
161
|
+
/**
|
|
162
|
+
* @example
|
|
163
|
+
* Year
|
|
164
|
+
*/
|
|
165
|
+
period?: string;
|
|
166
|
+
/**
|
|
167
|
+
* @example
|
|
168
|
+
* pcs-********************
|
|
169
|
+
*/
|
|
170
|
+
polarFSInstanceId?: string;
|
|
171
|
+
/**
|
|
172
|
+
* @example
|
|
173
|
+
* cn-beijing
|
|
174
|
+
*/
|
|
175
|
+
regionId?: string;
|
|
176
|
+
/**
|
|
177
|
+
* @example
|
|
178
|
+
* rg-********************
|
|
179
|
+
*/
|
|
180
|
+
resourceGroupId?: string;
|
|
181
|
+
/**
|
|
182
|
+
* @example
|
|
183
|
+
* 1
|
|
184
|
+
*/
|
|
185
|
+
usedTime?: string;
|
|
186
|
+
/**
|
|
187
|
+
* @example
|
|
188
|
+
* vsw-*********************
|
|
189
|
+
*/
|
|
190
|
+
vSwitchId?: string;
|
|
191
|
+
/**
|
|
192
|
+
* @example
|
|
193
|
+
* cn-beijing-k
|
|
194
|
+
*/
|
|
195
|
+
zoneId?: string;
|
|
196
|
+
static names(): { [key: string]: string } {
|
|
197
|
+
return {
|
|
198
|
+
applicationType: 'ApplicationType',
|
|
199
|
+
architecture: 'Architecture',
|
|
200
|
+
autoRenew: 'AutoRenew',
|
|
201
|
+
components: 'Components',
|
|
202
|
+
DBClusterId: 'DBClusterId',
|
|
203
|
+
description: 'Description',
|
|
204
|
+
dryRun: 'DryRun',
|
|
205
|
+
endpoints: 'Endpoints',
|
|
206
|
+
payType: 'PayType',
|
|
207
|
+
period: 'Period',
|
|
208
|
+
polarFSInstanceId: 'PolarFSInstanceId',
|
|
209
|
+
regionId: 'RegionId',
|
|
210
|
+
resourceGroupId: 'ResourceGroupId',
|
|
211
|
+
usedTime: 'UsedTime',
|
|
212
|
+
vSwitchId: 'VSwitchId',
|
|
213
|
+
zoneId: 'ZoneId',
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
static types(): { [key: string]: any } {
|
|
218
|
+
return {
|
|
219
|
+
applicationType: 'string',
|
|
220
|
+
architecture: 'string',
|
|
221
|
+
autoRenew: 'boolean',
|
|
222
|
+
components: { 'type': 'array', 'itemType': CreateApplicationRequestComponents },
|
|
223
|
+
DBClusterId: 'string',
|
|
224
|
+
description: 'string',
|
|
225
|
+
dryRun: 'boolean',
|
|
226
|
+
endpoints: { 'type': 'array', 'itemType': CreateApplicationRequestEndpoints },
|
|
227
|
+
payType: 'string',
|
|
228
|
+
period: 'string',
|
|
229
|
+
polarFSInstanceId: 'string',
|
|
230
|
+
regionId: 'string',
|
|
231
|
+
resourceGroupId: 'string',
|
|
232
|
+
usedTime: 'string',
|
|
233
|
+
vSwitchId: 'string',
|
|
234
|
+
zoneId: 'string',
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
validate() {
|
|
239
|
+
if(Array.isArray(this.components)) {
|
|
240
|
+
$dara.Model.validateArray(this.components);
|
|
241
|
+
}
|
|
242
|
+
if(Array.isArray(this.endpoints)) {
|
|
243
|
+
$dara.Model.validateArray(this.endpoints);
|
|
244
|
+
}
|
|
245
|
+
super.validate();
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
constructor(map?: { [key: string]: any }) {
|
|
249
|
+
super(map);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateApplicationResponseBody } from "./CreateApplicationResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateApplicationResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateApplicationResponseBody;
|
|
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: CreateApplicationResponseBody,
|
|
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,99 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateApplicationResponseBodyComponents extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pac-********************
|
|
9
|
+
*/
|
|
10
|
+
componentId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
componentId: 'ComponentId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
componentId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class CreateApplicationResponseBody extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* pa-********************
|
|
36
|
+
*/
|
|
37
|
+
applicationId?: string;
|
|
38
|
+
components?: CreateApplicationResponseBodyComponents[];
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* myapp
|
|
42
|
+
*/
|
|
43
|
+
description?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* 2148126708*****
|
|
47
|
+
*/
|
|
48
|
+
orderId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* 3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF
|
|
52
|
+
*/
|
|
53
|
+
requestId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* true
|
|
57
|
+
*/
|
|
58
|
+
resourceAvailable?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* rg-********************
|
|
62
|
+
*/
|
|
63
|
+
resourceGroupId?: string;
|
|
64
|
+
static names(): { [key: string]: string } {
|
|
65
|
+
return {
|
|
66
|
+
applicationId: 'ApplicationId',
|
|
67
|
+
components: 'Components',
|
|
68
|
+
description: 'Description',
|
|
69
|
+
orderId: 'OrderId',
|
|
70
|
+
requestId: 'RequestId',
|
|
71
|
+
resourceAvailable: 'ResourceAvailable',
|
|
72
|
+
resourceGroupId: 'ResourceGroupId',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
static types(): { [key: string]: any } {
|
|
77
|
+
return {
|
|
78
|
+
applicationId: 'string',
|
|
79
|
+
components: { 'type': 'array', 'itemType': CreateApplicationResponseBodyComponents },
|
|
80
|
+
description: 'string',
|
|
81
|
+
orderId: 'string',
|
|
82
|
+
requestId: 'string',
|
|
83
|
+
resourceAvailable: 'boolean',
|
|
84
|
+
resourceGroupId: 'string',
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
validate() {
|
|
89
|
+
if(Array.isArray(this.components)) {
|
|
90
|
+
$dara.Model.validateArray(this.components);
|
|
91
|
+
}
|
|
92
|
+
super.validate();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
constructor(map?: { [key: string]: any }) {
|
|
96
|
+
super(map);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|