@alicloud/polardb20170801 7.6.0 → 7.8.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 +56 -10
- package/dist/client.js +131 -12
- package/dist/client.js.map +1 -1
- package/dist/models/AddPolarFsPathMappingRequest.d.ts +6 -4
- package/dist/models/AddPolarFsPathMappingRequest.js +4 -0
- package/dist/models/AddPolarFsPathMappingRequest.js.map +1 -1
- package/dist/models/AddPolarFsPathMappingResponseBody.d.ts +1 -1
- package/dist/models/CreateBatchConsumerRequest.d.ts +19 -7
- package/dist/models/CreateBatchConsumerRequest.js +4 -0
- package/dist/models/CreateBatchConsumerRequest.js.map +1 -1
- package/dist/models/CreateBatchConsumerResponseBody.d.ts +90 -2
- package/dist/models/CreateBatchConsumerResponseBody.js +22 -0
- package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -1
- package/dist/models/CreateDbclusterRequest.d.ts +47 -261
- package/dist/models/CreateDbclusterRequest.js.map +1 -1
- package/dist/models/CreateDbclusterResponseBody.d.ts +14 -0
- package/dist/models/CreateDbclusterResponseBody.js.map +1 -1
- package/dist/models/CreateGwConsumerOrderRequest.d.ts +76 -0
- package/dist/models/CreateGwConsumerOrderRequest.js +68 -0
- package/dist/models/CreateGwConsumerOrderRequest.js.map +1 -0
- package/dist/models/CreateGwConsumerOrderResponse.d.ts +19 -0
- package/dist/models/CreateGwConsumerOrderResponse.js +69 -0
- package/dist/models/CreateGwConsumerOrderResponse.js.map +1 -0
- package/dist/models/CreateGwConsumerOrderResponseBody.d.ts +53 -0
- package/dist/models/CreateGwConsumerOrderResponseBody.js +66 -0
- package/dist/models/CreateGwConsumerOrderResponseBody.js.map +1 -0
- package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +75 -110
- package/dist/models/DescribeApplicationAttributeResponseBody.js +2 -0
- package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationLogsRequest.d.ts +4 -4
- package/dist/models/DescribeApplicationPerformanceRequest.d.ts +38 -15
- package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
- package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +7 -4
- package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +14 -9
- package/dist/models/ModifyDbclusterSslrequest.js +2 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/RestartPolarClawGatewayRequest.d.ts +33 -0
- package/dist/models/RestartPolarClawGatewayRequest.js +60 -0
- package/dist/models/RestartPolarClawGatewayRequest.js.map +1 -0
- package/dist/models/RestartPolarClawGatewayResponse.d.ts +19 -0
- package/dist/models/RestartPolarClawGatewayResponse.js +69 -0
- package/dist/models/RestartPolarClawGatewayResponse.js.map +1 -0
- package/dist/models/RestartPolarClawGatewayResponseBody.d.ts +109 -0
- package/dist/models/RestartPolarClawGatewayResponseBody.js +80 -0
- package/dist/models/RestartPolarClawGatewayResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +35 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +146 -12
- package/src/models/AddPolarFsPathMappingRequest.ts +10 -4
- package/src/models/AddPolarFsPathMappingResponseBody.ts +1 -1
- package/src/models/CreateBatchConsumerRequest.ts +23 -7
- package/src/models/CreateBatchConsumerResponseBody.ts +112 -2
- package/src/models/CreateDbclusterRequest.ts +51 -265
- package/src/models/CreateDbclusterResponseBody.ts +14 -0
- package/src/models/CreateGwConsumerOrderRequest.ts +99 -0
- package/src/models/CreateGwConsumerOrderResponse.ts +40 -0
- package/src/models/CreateGwConsumerOrderResponseBody.ts +74 -0
- package/src/models/DescribeApplicationAttributeResponseBody.ts +77 -110
- package/src/models/DescribeApplicationLogsRequest.ts +4 -4
- package/src/models/DescribeApplicationPerformanceRequest.ts +38 -15
- package/src/models/DescribeApplicationPerformanceResponseBody.ts +7 -4
- package/src/models/ModifyDbclusterSslrequest.ts +16 -9
- package/src/models/RestartPolarClawGatewayRequest.ts +48 -0
- package/src/models/RestartPolarClawGatewayResponse.ts +40 -0
- package/src/models/RestartPolarClawGatewayResponseBody.ts +144 -0
- package/src/models/model.ts +6 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The application cluster ID.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ export declare class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
|
12
12
|
applicationId?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The
|
|
15
|
+
* The user.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* c-xxxxxxx
|
|
@@ -20,17 +20,31 @@ export declare class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
|
20
20
|
consumer?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The
|
|
23
|
+
* The user group.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* cg-xxxxxx
|
|
27
27
|
*/
|
|
28
28
|
consumerGroup?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The downsampling policy.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* raw_sample
|
|
35
|
+
*/
|
|
29
36
|
downsample?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The end step number.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* 100
|
|
43
|
+
*/
|
|
30
44
|
endStep?: number;
|
|
31
45
|
/**
|
|
32
46
|
* @remarks
|
|
33
|
-
* The end time
|
|
47
|
+
* The end of the time range to query. Specify the time in the yyyy-MM-ddTHH:mmZ format (UTC).
|
|
34
48
|
*
|
|
35
49
|
* This parameter is required.
|
|
36
50
|
*
|
|
@@ -40,20 +54,13 @@ export declare class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
|
40
54
|
endTime?: string;
|
|
41
55
|
/**
|
|
42
56
|
* @remarks
|
|
43
|
-
* The granularity of
|
|
44
|
-
*
|
|
57
|
+
* The data granularity of performance data. Valid values:
|
|
45
58
|
* - 5
|
|
46
|
-
*
|
|
47
59
|
* - 30
|
|
48
|
-
*
|
|
49
60
|
* - 60
|
|
50
|
-
*
|
|
51
61
|
* - 600
|
|
52
|
-
*
|
|
53
62
|
* - 1800
|
|
54
|
-
*
|
|
55
63
|
* - 3600
|
|
56
|
-
*
|
|
57
64
|
* - 86400
|
|
58
65
|
*
|
|
59
66
|
* @example
|
|
@@ -62,7 +69,9 @@ export declare class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
|
62
69
|
interval?: string;
|
|
63
70
|
/**
|
|
64
71
|
* @remarks
|
|
65
|
-
* The performance metrics to query. Separate multiple
|
|
72
|
+
* The performance metrics to query. Separate multiple values with commas (,).
|
|
73
|
+
*
|
|
74
|
+
* > **Note** You can specify up to 5 performance metrics.
|
|
66
75
|
*
|
|
67
76
|
* This parameter is required.
|
|
68
77
|
*
|
|
@@ -70,19 +79,33 @@ export declare class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
|
70
79
|
* PolarDBSupabaseMemUsage
|
|
71
80
|
*/
|
|
72
81
|
key?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The maximum number of data points to return.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* 1000
|
|
88
|
+
*/
|
|
73
89
|
maxPoints?: number;
|
|
74
90
|
/**
|
|
75
91
|
* @remarks
|
|
76
|
-
* The
|
|
92
|
+
* The model service.
|
|
77
93
|
*
|
|
78
94
|
* @example
|
|
79
95
|
* ms-xxxxxx
|
|
80
96
|
*/
|
|
81
97
|
modelService?: string;
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The start step number.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* 1
|
|
104
|
+
*/
|
|
82
105
|
startStep?: number;
|
|
83
106
|
/**
|
|
84
107
|
* @remarks
|
|
85
|
-
* The
|
|
108
|
+
* The beginning of the time range to query. Specify the time in the yyyy-MM-ddTHH:mmZ format (UTC).
|
|
86
109
|
*
|
|
87
110
|
* This parameter is required.
|
|
88
111
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeApplicationPerformanceRequest.js","sourceRoot":"","sources":["../../src/models/DescribeApplicationPerformanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeApplicationPerformanceRequest.js","sourceRoot":"","sources":["../../src/models/DescribeApplicationPerformanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAkHpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,eAAe;YAC9B,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,GAAG,EAAE,KAAK;YACV,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,GAAG,EAAE,QAAQ;YACb,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3JD,sFA2JC"}
|
|
@@ -76,17 +76,20 @@ export declare class DescribeApplicationPerformanceResponseBody extends $dara.Mo
|
|
|
76
76
|
applicationType?: string;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The end
|
|
79
|
+
* The end of the time range to query. The time is in the `yyyy-MM-ddTHH:mm:ssZ` format (UTC).
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
82
|
* 2025-05-23T02:21:00Z
|
|
83
83
|
*/
|
|
84
84
|
endTime?: string;
|
|
85
|
-
interval?: string;
|
|
86
85
|
/**
|
|
87
86
|
* @remarks
|
|
88
|
-
* The
|
|
87
|
+
* The data granularity.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* 60
|
|
89
91
|
*/
|
|
92
|
+
interval?: string;
|
|
90
93
|
performanceKeys?: DescribeApplicationPerformanceResponseBodyPerformanceKeys;
|
|
91
94
|
/**
|
|
92
95
|
* @remarks
|
|
@@ -98,7 +101,7 @@ export declare class DescribeApplicationPerformanceResponseBody extends $dara.Mo
|
|
|
98
101
|
requestId?: string;
|
|
99
102
|
/**
|
|
100
103
|
* @remarks
|
|
101
|
-
* The
|
|
104
|
+
* The beginning of the time range to query. The time is in the `yyyy-MM-ddTHH:mm:ssZ` format (UTC).
|
|
102
105
|
*
|
|
103
106
|
* @example
|
|
104
107
|
* 2022-11-15T16:00Z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeApplicationPerformanceResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeApplicationPerformanceResponseBody.ts"],"names":[],"mappings":"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
|
|
1
|
+
{"version":3,"file":"DescribeApplicationPerformanceResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeApplicationPerformanceResponseBody.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 1095
|
|
6
|
+
*/
|
|
7
|
+
certValidDays?: string;
|
|
3
8
|
/**
|
|
4
9
|
* @example
|
|
5
10
|
* xxx
|
|
@@ -20,7 +25,7 @@ export declare class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
20
25
|
* The endpoint ID.
|
|
21
26
|
*
|
|
22
27
|
* >* If the cluster is a PolarDB for MySQL cluster, this parameter is required.
|
|
23
|
-
* >* If the cluster is a PolarDB for PostgreSQL cluster or a PolarDB for PostgreSQL (Compatible with Oracle) cluster, you do not need to specify this parameter. SSL encryption is enabled for all endpoints by default.
|
|
28
|
+
* >* If the cluster is a PolarDB for PostgreSQL cluster or a PolarDB for PostgreSQL (Compatible with Oracle) cluster, you do not need to specify this parameter. Secure Sockets Layer (SSL) encryption is enabled for all endpoints by default.
|
|
24
29
|
* >* You can call the [DescribeDBClusterSSL](https://help.aliyun.com/document_detail/2319159.html) operation to query endpoint details.
|
|
25
30
|
*
|
|
26
31
|
* @example
|
|
@@ -29,13 +34,13 @@ export declare class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
29
34
|
DBEndpointId?: string;
|
|
30
35
|
/**
|
|
31
36
|
* @remarks
|
|
32
|
-
* The network type of the endpoint. The value must be
|
|
37
|
+
* The network type of the endpoint. The value must be consistent with the network type of the endpoint specified by the **DBEndpointId** parameter. Valid values:
|
|
33
38
|
* * **Public**: public network
|
|
34
39
|
* * **Private**: private network
|
|
35
40
|
* * **Inner**: private network (classic network)
|
|
36
41
|
*
|
|
37
42
|
* >* If the cluster is a PolarDB for MySQL cluster, this parameter is required.
|
|
38
|
-
* >* If the cluster is a PolarDB for PostgreSQL cluster or a PolarDB for PostgreSQL (Compatible with Oracle) cluster, you do not need to specify this parameter. SSL encryption is enabled for all endpoints by default.
|
|
43
|
+
* >* If the cluster is a PolarDB for PostgreSQL cluster or a PolarDB for PostgreSQL (Compatible with Oracle) cluster, you do not need to specify this parameter. Secure Sockets Layer (SSL) encryption is enabled for all endpoints by default.
|
|
39
44
|
*
|
|
40
45
|
* @example
|
|
41
46
|
* Public
|
|
@@ -54,9 +59,9 @@ export declare class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
54
59
|
* @remarks
|
|
55
60
|
* Specifies whether to enable automatic SSL certificate rotation. Valid values:
|
|
56
61
|
*
|
|
57
|
-
* - **Enable**:
|
|
62
|
+
* - **Enable**: Enables automatic rotation.
|
|
58
63
|
*
|
|
59
|
-
* - **Disable**:
|
|
64
|
+
* - **Disable**: Disables automatic rotation.
|
|
60
65
|
*
|
|
61
66
|
* @example
|
|
62
67
|
* Enable
|
|
@@ -65,11 +70,11 @@ export declare class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
65
70
|
/**
|
|
66
71
|
* @remarks
|
|
67
72
|
* The SSL status. Valid values:
|
|
68
|
-
* * **Disable**:
|
|
69
|
-
* * **Enable**:
|
|
70
|
-
* * **Update**:
|
|
73
|
+
* * **Disable**: Shutdown of Secure Sockets Layer (SSL) encryption.
|
|
74
|
+
* * **Enable**: Enables Secure Sockets Layer (SSL) encryption.
|
|
75
|
+
* * **Update**: Updates the CA certificate.
|
|
71
76
|
*
|
|
72
|
-
* > After you enable SSL encryption or update the CA certificate, you must download and configure the certificate. For details, see [Settings for SSL encryption](https://help.aliyun.com/document_detail/153182.html).
|
|
77
|
+
* > After you enable Secure Sockets Layer (SSL) encryption or update the CA certificate, you must download and configure the certificate. For details, see [Settings for SSL encryption](https://help.aliyun.com/document_detail/153182.html).
|
|
73
78
|
*
|
|
74
79
|
* @example
|
|
75
80
|
* Enable
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
certValidDays: 'CertValidDays',
|
|
42
43
|
connectionString: 'ConnectionString',
|
|
43
44
|
DBClusterId: 'DBClusterId',
|
|
44
45
|
DBEndpointId: 'DBEndpointId',
|
|
@@ -54,6 +55,7 @@ class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
54
55
|
}
|
|
55
56
|
static types() {
|
|
56
57
|
return {
|
|
58
|
+
certValidDays: 'string',
|
|
57
59
|
connectionString: 'string',
|
|
58
60
|
DBClusterId: 'string',
|
|
59
61
|
DBEndpointId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyDbclusterSslrequest.js","sourceRoot":"","sources":["../../src/models/ModifyDbclusterSslrequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyDbclusterSslrequest.js","sourceRoot":"","sources":["../../src/models/ModifyDbclusterSslrequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAiFxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,aAAa,EAAE,eAAe;YAC9B,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,aAAa,EAAE,eAAe;YAC9B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,gBAAgB,EAAE,QAAQ;YAC1B,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,aAAa,EAAE,QAAQ;YACvB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1HD,8DA0HC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class RestartPolarClawGatewayRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The application ID.
|
|
6
|
+
*
|
|
7
|
+
* This parameter is required.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* pa-xxx
|
|
11
|
+
*/
|
|
12
|
+
applicationId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The restart mode. Valid values:
|
|
16
|
+
* - in-process: lightweight restart without applying environment variable changes. This is the default value.
|
|
17
|
+
* - pkill: cold start that applies environment variable changes.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* in-process
|
|
21
|
+
*/
|
|
22
|
+
mode?: string;
|
|
23
|
+
static names(): {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
static types(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
validate(): void;
|
|
30
|
+
constructor(map?: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RestartPolarClawGatewayRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class RestartPolarClawGatewayRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
applicationId: 'ApplicationId',
|
|
43
|
+
mode: 'Mode',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
applicationId: 'string',
|
|
49
|
+
mode: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.RestartPolarClawGatewayRequest = RestartPolarClawGatewayRequest;
|
|
60
|
+
//# sourceMappingURL=RestartPolarClawGatewayRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestartPolarClawGatewayRequest.js","sourceRoot":"","sources":["../../src/models/RestartPolarClawGatewayRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAqB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1CD,wEA0CC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { RestartPolarClawGatewayResponseBody } from "./RestartPolarClawGatewayResponseBody";
|
|
3
|
+
export declare class RestartPolarClawGatewayResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: RestartPolarClawGatewayResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RestartPolarClawGatewayResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const RestartPolarClawGatewayResponseBody_1 = require("./RestartPolarClawGatewayResponseBody");
|
|
40
|
+
class RestartPolarClawGatewayResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: RestartPolarClawGatewayResponseBody_1.RestartPolarClawGatewayResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.RestartPolarClawGatewayResponse = RestartPolarClawGatewayResponse;
|
|
69
|
+
//# sourceMappingURL=RestartPolarClawGatewayResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestartPolarClawGatewayResponse.js","sourceRoot":"","sources":["../../src/models/RestartPolarClawGatewayResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+FAA4F;AAG5F,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAI9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,yEAAmC;SAC1C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,0EAiCC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class RestartPolarClawGatewayResponseBody extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The application ID.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* pa-xxx
|
|
9
|
+
*/
|
|
10
|
+
applicationId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The response status code.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 200
|
|
17
|
+
*/
|
|
18
|
+
code?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The approximate downtime of this restart, in milliseconds. This value is returned synchronously.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 3235
|
|
25
|
+
*/
|
|
26
|
+
downtimeMs?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The gateway version after the restart. This value is returned synchronously.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 2026.5.7
|
|
33
|
+
*/
|
|
34
|
+
gatewayVersion?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The response message.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* successful
|
|
41
|
+
*/
|
|
42
|
+
message?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The actual restart mode used.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* in-process
|
|
49
|
+
*/
|
|
50
|
+
mode?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* Indicates whether the operation was successful.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* true
|
|
57
|
+
*/
|
|
58
|
+
ok?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The operation name. This value is returned when Async is set to true.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* RestartPolarClawGateway
|
|
65
|
+
*/
|
|
66
|
+
operation?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* Id of the request
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* F45FFACC-xxx
|
|
73
|
+
*/
|
|
74
|
+
requestId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* Indicates whether the gateway has been confirmed available after the restart. This value is returned synchronously.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* true
|
|
81
|
+
*/
|
|
82
|
+
restarted?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* The initial state of the asynchronous task. This value is returned when Async is set to true.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* pending
|
|
89
|
+
*/
|
|
90
|
+
state?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The asynchronous task ID. This value is returned when Async is set to true. You can poll the task status by calling DescribePolarClawTask.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* 0ee00f56-f467-4d41-858c-ca4ede2c770e
|
|
97
|
+
*/
|
|
98
|
+
taskId?: string;
|
|
99
|
+
static names(): {
|
|
100
|
+
[key: string]: string;
|
|
101
|
+
};
|
|
102
|
+
static types(): {
|
|
103
|
+
[key: string]: any;
|
|
104
|
+
};
|
|
105
|
+
validate(): void;
|
|
106
|
+
constructor(map?: {
|
|
107
|
+
[key: string]: any;
|
|
108
|
+
});
|
|
109
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.RestartPolarClawGatewayResponseBody = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class RestartPolarClawGatewayResponseBody extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
applicationId: 'ApplicationId',
|
|
43
|
+
code: 'Code',
|
|
44
|
+
downtimeMs: 'DowntimeMs',
|
|
45
|
+
gatewayVersion: 'GatewayVersion',
|
|
46
|
+
message: 'Message',
|
|
47
|
+
mode: 'Mode',
|
|
48
|
+
ok: 'Ok',
|
|
49
|
+
operation: 'Operation',
|
|
50
|
+
requestId: 'RequestId',
|
|
51
|
+
restarted: 'Restarted',
|
|
52
|
+
state: 'State',
|
|
53
|
+
taskId: 'TaskId',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
static types() {
|
|
57
|
+
return {
|
|
58
|
+
applicationId: 'string',
|
|
59
|
+
code: 'number',
|
|
60
|
+
downtimeMs: 'number',
|
|
61
|
+
gatewayVersion: 'string',
|
|
62
|
+
message: 'string',
|
|
63
|
+
mode: 'string',
|
|
64
|
+
ok: 'boolean',
|
|
65
|
+
operation: 'string',
|
|
66
|
+
requestId: 'string',
|
|
67
|
+
restarted: 'boolean',
|
|
68
|
+
state: 'string',
|
|
69
|
+
taskId: 'string',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
validate() {
|
|
73
|
+
super.validate();
|
|
74
|
+
}
|
|
75
|
+
constructor(map) {
|
|
76
|
+
super(map);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.RestartPolarClawGatewayResponseBody = RestartPolarClawGatewayResponseBody;
|
|
80
|
+
//# sourceMappingURL=RestartPolarClawGatewayResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestartPolarClawGatewayResponseBody.js","sourceRoot":"","sources":["../../src/models/RestartPolarClawGatewayResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAiGlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;YACZ,EAAE,EAAE,IAAI;YACR,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;YACd,EAAE,EAAE,SAAS;YACb,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1ID,kFA0IC"}
|