@alicloud/polardb20170801 7.3.0 → 7.5.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 +70 -44
- package/dist/client.js +237 -44
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAccountRequest.d.ts +39 -53
- package/dist/models/CreateAccountRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskRequest.d.ts +13 -17
- package/dist/models/CreateAidbclusterTaskRequest.js +2 -0
- package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskResponseBody.d.ts +2 -2
- package/dist/models/CreateBackupRequest.d.ts +2 -1
- package/dist/models/CreateBackupRequest.js +2 -0
- package/dist/models/CreateBackupRequest.js.map +1 -1
- package/dist/models/CreateBackupResponseBody.d.ts +1 -1
- package/dist/models/CreateDbclusterEndpointRequest.d.ts +67 -92
- package/dist/models/CreateDbclusterEndpointRequest.js.map +1 -1
- package/dist/models/DescribeAgenticDbcomputeClustersRequest.d.ts +13 -0
- package/dist/models/DescribeAgenticDbcomputeClustersRequest.js.map +1 -1
- package/dist/models/DescribeAgenticDbcomputeClustersResponseBody.d.ts +64 -0
- package/dist/models/DescribeAgenticDbcomputeClustersResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +91 -18
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +127 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTaskAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +37 -45
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTasksRequest.d.ts +2 -2
- package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +18 -17
- package/dist/models/DescribeAidbclusterTasksResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationLogsRequest.d.ts +10 -10
- package/dist/models/DescribeApplicationLogsResponseBody.d.ts +2 -6
- package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableModelsRequest.d.ts +1 -1
- package/dist/models/DescribeAvailableModelsResponseBody.d.ts +7 -6
- package/dist/models/DescribeAvailableModelsResponseBody.js +2 -0
- package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupsRequest.d.ts +12 -19
- package/dist/models/DescribeBackupsRequest.js.map +1 -1
- package/dist/models/DescribeBackupsResponseBody.d.ts +5 -7
- package/dist/models/DescribeBackupsResponseBody.js +2 -0
- package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesRequest.d.ts +10 -14
- package/dist/models/DescribeBudgetPoliciesRequest.js +2 -0
- package/dist/models/DescribeBudgetPoliciesRequest.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesResponseBody.d.ts +18 -22
- package/dist/models/DescribeBudgetPoliciesResponseBody.js.map +1 -1
- package/dist/models/DescribeConsumersRequest.d.ts +10 -10
- package/dist/models/DescribeConsumersRequest.js +4 -0
- package/dist/models/DescribeConsumersRequest.js.map +1 -1
- package/dist/models/DescribeConsumersResponseBody.d.ts +17 -17
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +5 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterPriceRequest.d.ts +244 -0
- package/dist/models/DescribeDbclusterPriceRequest.js +125 -0
- package/dist/models/DescribeDbclusterPriceRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponse.d.ts +19 -0
- package/dist/models/DescribeDbclusterPriceResponse.js +69 -0
- package/dist/models/DescribeDbclusterPriceResponse.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.d.ts +161 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js +217 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.d.ts +216 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js +101 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterSslrequest.d.ts +6 -2
- package/dist/models/DescribeDbclusterSslrequest.js +2 -0
- package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslresponseBody.d.ts +13 -14
- package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +75 -19
- package/dist/models/DescribePolarFsAttributeResponseBody.js +73 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsRequest.d.ts +118 -0
- package/dist/models/DescribePolarFsRequest.js +98 -0
- package/dist/models/DescribePolarFsRequest.js.map +1 -0
- package/dist/models/DescribePolarFsResponse.d.ts +19 -0
- package/dist/models/DescribePolarFsResponse.js +69 -0
- package/dist/models/DescribePolarFsResponse.js.map +1 -0
- package/dist/models/DescribePolarFsResponseBody.d.ts +175 -0
- package/dist/models/DescribePolarFsResponseBody.js +280 -0
- package/dist/models/DescribePolarFsResponseBody.js.map +1 -0
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +27 -32
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +28 -27
- package/dist/models/ModifyDbclusterSslrequest.js +4 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/VerifyAgenticDbtenantApiKeyRequest.d.ts +4 -0
- package/dist/models/VerifyAgenticDbtenantApiKeyRequest.js.map +1 -1
- package/dist/models/VerifyAgenticDbtenantApiKeyResponseBody.d.ts +25 -0
- package/dist/models/VerifyAgenticDbtenantApiKeyResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +29 -0
- package/dist/models/model.js +98 -40
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +282 -44
- package/src/models/CreateAccountRequest.ts +39 -53
- package/src/models/CreateAidbclusterTaskRequest.ts +15 -17
- package/src/models/CreateAidbclusterTaskResponseBody.ts +2 -2
- package/src/models/CreateBackupRequest.ts +4 -1
- package/src/models/CreateBackupResponseBody.ts +1 -1
- package/src/models/CreateDbclusterEndpointRequest.ts +68 -93
- package/src/models/DescribeAgenticDbcomputeClustersRequest.ts +13 -0
- package/src/models/DescribeAgenticDbcomputeClustersResponseBody.ts +64 -0
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +172 -18
- package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +3 -3
- package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +39 -45
- package/src/models/DescribeAidbclusterTasksRequest.ts +2 -2
- package/src/models/DescribeAidbclusterTasksResponseBody.ts +20 -17
- package/src/models/DescribeApplicationLogsRequest.ts +10 -10
- package/src/models/DescribeApplicationLogsResponseBody.ts +2 -6
- package/src/models/DescribeAvailableModelsRequest.ts +1 -1
- package/src/models/DescribeAvailableModelsResponseBody.ts +9 -6
- package/src/models/DescribeBackupsRequest.ts +14 -21
- package/src/models/DescribeBackupsResponseBody.ts +7 -7
- package/src/models/DescribeBudgetPoliciesRequest.ts +13 -15
- package/src/models/DescribeBudgetPoliciesResponseBody.ts +19 -23
- package/src/models/DescribeConsumersRequest.ts +14 -10
- package/src/models/DescribeConsumersResponseBody.ts +17 -17
- package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +7 -0
- package/src/models/DescribeDbclusterPriceRequest.ts +315 -0
- package/src/models/DescribeDbclusterPriceResponse.ts +40 -0
- package/src/models/DescribeDbclusterPriceResponseBody.ts +279 -0
- package/src/models/DescribeDbclusterPriceShrinkRequest.ts +272 -0
- package/src/models/DescribeDbclusterSslrequest.ts +8 -2
- package/src/models/DescribeDbclusterSslresponseBody.ts +13 -14
- package/src/models/DescribePolarFsAttributeResponseBody.ts +129 -19
- package/src/models/DescribePolarFsRequest.ts +162 -0
- package/src/models/DescribePolarFsResponse.ts +40 -0
- package/src/models/DescribePolarFsResponseBody.ts +347 -0
- package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +29 -32
- package/src/models/ModifyDbclusterSslrequest.ts +32 -27
- package/src/models/VerifyAgenticDbtenantApiKeyRequest.ts +4 -0
- package/src/models/VerifyAgenticDbtenantApiKeyResponseBody.ts +25 -0
- package/src/models/model.ts +29 -0
|
@@ -4,9 +4,8 @@ export declare class CreateAccountRequest extends $dara.Model {
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The description of the account. The description must meet the following requirements:
|
|
6
6
|
*
|
|
7
|
-
* -
|
|
8
|
-
*
|
|
9
|
-
* - It must be 2 to 256 characters in length.
|
|
7
|
+
* - Cannot start with `http://` or `https://`.
|
|
8
|
+
* - Is 2 to 256 characters in length.
|
|
10
9
|
*
|
|
11
10
|
* @example
|
|
12
11
|
* testdes
|
|
@@ -14,15 +13,12 @@ export declare class CreateAccountRequest extends $dara.Model {
|
|
|
14
13
|
accountDescription?: string;
|
|
15
14
|
/**
|
|
16
15
|
* @remarks
|
|
17
|
-
* The name
|
|
18
|
-
*
|
|
19
|
-
* - It must start with a lowercase letter and end with a letter or a digit.
|
|
20
|
-
*
|
|
21
|
-
* - It can contain lowercase letters, digits, and underscores (_).
|
|
22
|
-
*
|
|
23
|
-
* - It must be 2 to 16 characters in length.
|
|
16
|
+
* The account name. The name must meet the following requirements:
|
|
24
17
|
*
|
|
25
|
-
*
|
|
18
|
+
* * Starts with a lowercase letter and ends with a letter or digit.
|
|
19
|
+
* * Contains only lowercase letters, digits, or underscores (_).
|
|
20
|
+
* * Is 2 to 16 characters in length.
|
|
21
|
+
* * Cannot use certain reserved usernames such as root or admin.
|
|
26
22
|
*
|
|
27
23
|
* This parameter is required.
|
|
28
24
|
*
|
|
@@ -32,13 +28,10 @@ export declare class CreateAccountRequest extends $dara.Model {
|
|
|
32
28
|
accountName?: string;
|
|
33
29
|
/**
|
|
34
30
|
* @remarks
|
|
35
|
-
* The password
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* - It must be 8 to 32 characters in length.
|
|
40
|
-
*
|
|
41
|
-
* - The special characters are `!@#$%^&*()_+-=`.
|
|
31
|
+
* The account password. The password must meet the following requirements:
|
|
32
|
+
* * Contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
33
|
+
* * Is 8 to 32 characters in length.
|
|
34
|
+
* * Special characters include `!@#$%^&*()_+-=`.
|
|
42
35
|
*
|
|
43
36
|
* This parameter is required.
|
|
44
37
|
*
|
|
@@ -48,23 +41,17 @@ export declare class CreateAccountRequest extends $dara.Model {
|
|
|
48
41
|
accountPassword?: string;
|
|
49
42
|
/**
|
|
50
43
|
* @remarks
|
|
51
|
-
* The
|
|
44
|
+
* The permissions of the account. Valid values:
|
|
52
45
|
*
|
|
53
|
-
*
|
|
46
|
+
* * **ReadWrite**: read and write
|
|
47
|
+
* * **ReadOnly**: read-only
|
|
48
|
+
* * **DMLOnly**: DML only
|
|
49
|
+
* * **DDLOnly**: DDL only
|
|
50
|
+
* * **ReadIndex**: read-only and index
|
|
54
51
|
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* - **DDLOnly**: DDL permissions only
|
|
60
|
-
*
|
|
61
|
-
* - **ReadIndex**: read-only and index permissions
|
|
62
|
-
*
|
|
63
|
-
* > * This parameter takes effect only when you specify the `DBName` parameter.
|
|
64
|
-
* >
|
|
65
|
-
* > * If you specify multiple databases in `DBName`, you must specify a corresponding permission for each in `AccountPrivilege`, separated by commas. The `AccountPrivilege` string cannot exceed 900 characters. For example, to grant read and write permissions to database DB1 and read-only permissions to database DB2, set `DBName` to `DB1,DB2` and set `AccountPrivilege` to `ReadWrite,ReadOnly`.
|
|
66
|
-
* >
|
|
67
|
-
* > * This parameter applies only to standard accounts on PolarDB for MySQL clusters.
|
|
52
|
+
* >* The DBName parameter must be specified for AccountPrivilege to take effect.
|
|
53
|
+
* >* If you specify multiple database names for the DBName parameter, you must grant the corresponding permissions to each database. Separate multiple permissions with commas (,) and make sure that the total length of the AccountPrivilege string does not exceed 900 characters. For example, to grant read and write permissions on database DB1 and read-only permissions on database DB2, set DBName to `DB1,DB2` and set AccountPrivilege to `ReadWrite,ReadOnly`.
|
|
54
|
+
* > * This parameter is supported only for standard accounts of PolarDB for MySQL clusters.
|
|
68
55
|
*
|
|
69
56
|
* @example
|
|
70
57
|
* ReadWrite
|
|
@@ -72,17 +59,18 @@ export declare class CreateAccountRequest extends $dara.Model {
|
|
|
72
59
|
accountPrivilege?: string;
|
|
73
60
|
/**
|
|
74
61
|
* @remarks
|
|
75
|
-
* The type
|
|
62
|
+
* The account type. Valid values:
|
|
63
|
+
*
|
|
64
|
+
* - **Normal**: standard account.
|
|
65
|
+
* - **Super**: privileged account.
|
|
66
|
+
* - **DynamoDB**: DynamoDB account.
|
|
76
67
|
*
|
|
77
|
-
* - **Normal**: a standard account.
|
|
78
68
|
*
|
|
79
|
-
* - **Super**: a privileged account.
|
|
80
69
|
*
|
|
81
|
-
* > * If
|
|
82
|
-
* >
|
|
83
|
-
* > *
|
|
84
|
-
* >
|
|
85
|
-
* > * For a PolarDB for MySQL cluster, you can create only one privileged account. For more information, see [Create database accounts](https://help.aliyun.com/document_detail/68508.html).
|
|
70
|
+
* > * If this parameter is left empty, a **Super** account is created by default.
|
|
71
|
+
* > * If the cluster is a PolarDB for PostgreSQL (Compatible with Oracle) or PolarDB for PostgreSQL cluster, you can create multiple privileged accounts for each cluster. Privileged accounts have more permissions than standard accounts. For more information, see [Create a database account](https://help.aliyun.com/document_detail/68508.html).
|
|
72
|
+
* > * If the cluster is a PolarDB for MySQL cluster, you can create at most one privileged account for each cluster. Privileged accounts have more permissions than standard accounts. For more information, see [Create a database account](https://help.aliyun.com/document_detail/68508.html).
|
|
73
|
+
* > * DynamoDB accounts are dedicated accounts created for the DynamoDB compatibility feature of PolarDB for PostgreSQL. For more information, see [DynamoDB usage instructions](https://help.aliyun.com/document_detail/2979941.html).
|
|
86
74
|
*
|
|
87
75
|
* @example
|
|
88
76
|
* Normal
|
|
@@ -90,7 +78,7 @@ export declare class CreateAccountRequest extends $dara.Model {
|
|
|
90
78
|
accountType?: string;
|
|
91
79
|
/**
|
|
92
80
|
* @remarks
|
|
93
|
-
*
|
|
81
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the value. Make sure that the value is unique among different requests. The token is case-sensitive and cannot exceed 64 ASCII characters in length.
|
|
94
82
|
*
|
|
95
83
|
* @example
|
|
96
84
|
* 6000170000591aed949d0f54a343f1a4233c1e7d1c5c******
|
|
@@ -108,9 +96,9 @@ export declare class CreateAccountRequest extends $dara.Model {
|
|
|
108
96
|
DBClusterId?: string;
|
|
109
97
|
/**
|
|
110
98
|
* @remarks
|
|
111
|
-
* The name of the database that the account
|
|
99
|
+
* The name of the database that the account is authorized to access. You can specify multiple database names separated by commas (,).
|
|
112
100
|
*
|
|
113
|
-
* > This parameter
|
|
101
|
+
* > This parameter is supported only for standard accounts of PolarDB for MySQL clusters.
|
|
114
102
|
*
|
|
115
103
|
* @example
|
|
116
104
|
* testdb
|
|
@@ -118,9 +106,9 @@ export declare class CreateAccountRequest extends $dara.Model {
|
|
|
118
106
|
DBName?: string;
|
|
119
107
|
/**
|
|
120
108
|
* @remarks
|
|
121
|
-
* The type
|
|
109
|
+
* The node type. Valid values:
|
|
122
110
|
*
|
|
123
|
-
* -
|
|
111
|
+
* - Search: required when creating an account for a PolarDB Search node
|
|
124
112
|
*
|
|
125
113
|
* @example
|
|
126
114
|
* Search
|
|
@@ -130,15 +118,13 @@ export declare class CreateAccountRequest extends $dara.Model {
|
|
|
130
118
|
ownerId?: number;
|
|
131
119
|
/**
|
|
132
120
|
* @remarks
|
|
133
|
-
* Specifies whether to grant
|
|
134
|
-
*
|
|
135
|
-
* - **0 or do not specify**: The specified permissions are not granted to all databases.
|
|
121
|
+
* Specifies whether to grant permissions on all existing databases and all new databases in the current cluster. Valid values:
|
|
136
122
|
*
|
|
137
|
-
* - **
|
|
123
|
+
* - **0 or empty**: does not grant permissions.
|
|
138
124
|
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
125
|
+
* - **1**: grants permissions.
|
|
126
|
+
* >* The AccountPrivilege parameter must be specified for this parameter to take effect.
|
|
127
|
+
* >* If this parameter is set to `1`, the permissions specified by AccountPrivilege are granted on all databases.
|
|
142
128
|
*
|
|
143
129
|
* @example
|
|
144
130
|
* 0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateAccountRequest.js","sourceRoot":"","sources":["../../src/models/CreateAccountRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateAccountRequest.js","sourceRoot":"","sources":["../../src/models/CreateAccountRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAqInD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,WAAW,EAAE,aAAa;YAC1B,eAAe,EAAE,iBAAiB;YAClC,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,QAAQ;YAC5B,WAAW,EAAE,QAAQ;YACrB,eAAe,EAAE,QAAQ;YACzB,gBAAgB,EAAE,QAAQ;YAC1B,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,YAAY,EAAE,QAAQ;YACtB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;SAC1B,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;AAlLD,oDAkLC"}
|
|
@@ -20,7 +20,7 @@ export declare class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
20
20
|
DBInstanceClass?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The
|
|
23
|
+
* The training dataset ID. This parameter is required for fine-tuning.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* pds-2zetrain***
|
|
@@ -28,7 +28,7 @@ export declare class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
28
28
|
datasetPath?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The
|
|
31
|
+
* The validation dataset ID. This parameter is required for evaluation.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* pds-2zetrain***
|
|
@@ -36,9 +36,8 @@ export declare class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
36
36
|
evalDatasetPath?: string;
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The
|
|
40
|
-
*
|
|
41
|
-
* - **aitrain**: For model operator tuning.
|
|
39
|
+
* The model service type. Valid values:
|
|
40
|
+
* * **aitrain**: model operator tuning
|
|
42
41
|
*
|
|
43
42
|
* This parameter is required.
|
|
44
43
|
*
|
|
@@ -49,10 +48,8 @@ export declare class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
49
48
|
/**
|
|
50
49
|
* @remarks
|
|
51
50
|
* The model name.
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* - For a **custom model**, specify the path to the model. This option is for models trained in a cold storage edition instance.
|
|
51
|
+
* * **For a preset model, specify the name of the selected model.**
|
|
52
|
+
* * **For a custom model, specify the path where the model is stored (the model trained in a cold storage instance).**
|
|
56
53
|
*
|
|
57
54
|
* This parameter is required.
|
|
58
55
|
*
|
|
@@ -63,10 +60,8 @@ export declare class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
63
60
|
/**
|
|
64
61
|
* @remarks
|
|
65
62
|
* The model source. Valid values:
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* - **custom**: A custom model.
|
|
63
|
+
* * **public**: preset model
|
|
64
|
+
* * **custom**: custom model
|
|
70
65
|
*
|
|
71
66
|
* This parameter is required.
|
|
72
67
|
*
|
|
@@ -76,7 +71,7 @@ export declare class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
76
71
|
modelSource?: string;
|
|
77
72
|
/**
|
|
78
73
|
* @remarks
|
|
79
|
-
* The
|
|
74
|
+
* The custom model type.
|
|
80
75
|
*
|
|
81
76
|
* @example
|
|
82
77
|
* qwen3
|
|
@@ -96,7 +91,7 @@ export declare class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
96
91
|
resourceOwnerId?: number;
|
|
97
92
|
/**
|
|
98
93
|
* @remarks
|
|
99
|
-
* The
|
|
94
|
+
* The running parameters in JSON string format.
|
|
100
95
|
*
|
|
101
96
|
* This parameter is required.
|
|
102
97
|
*
|
|
@@ -114,15 +109,16 @@ export declare class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
114
109
|
securityGroupId?: string;
|
|
115
110
|
/**
|
|
116
111
|
* @remarks
|
|
117
|
-
* The
|
|
112
|
+
* The description of the model service.
|
|
118
113
|
*
|
|
119
114
|
* @example
|
|
120
115
|
* xxxx
|
|
121
116
|
*/
|
|
122
117
|
taskName?: string;
|
|
118
|
+
tuneArch?: string;
|
|
123
119
|
/**
|
|
124
120
|
* @remarks
|
|
125
|
-
* The VPC ID.
|
|
121
|
+
* The virtual private cloud (VPC) ID.
|
|
126
122
|
*
|
|
127
123
|
* @example
|
|
128
124
|
* vpc-*******************
|
|
@@ -55,6 +55,7 @@ class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
55
55
|
runningParameter: 'RunningParameter',
|
|
56
56
|
securityGroupId: 'SecurityGroupId',
|
|
57
57
|
taskName: 'TaskName',
|
|
58
|
+
tuneArch: 'TuneArch',
|
|
58
59
|
VPCId: 'VPCId',
|
|
59
60
|
vSwitchId: 'VSwitchId',
|
|
60
61
|
zoneId: 'ZoneId',
|
|
@@ -78,6 +79,7 @@ class CreateAIDBClusterTaskRequest extends $dara.Model {
|
|
|
78
79
|
runningParameter: 'string',
|
|
79
80
|
securityGroupId: 'string',
|
|
80
81
|
taskName: 'string',
|
|
82
|
+
tuneArch: 'string',
|
|
81
83
|
VPCId: 'string',
|
|
82
84
|
vSwitchId: 'string',
|
|
83
85
|
zoneId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateAidbclusterTaskRequest.js","sourceRoot":"","sources":["../../src/models/CreateAidbclusterTaskRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateAidbclusterTaskRequest.js","sourceRoot":"","sources":["../../src/models/CreateAidbclusterTaskRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IA6I3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;YAC1B,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,gBAAgB,EAAE,kBAAkB;YACpC,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;YACd,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,QAAQ;YACrB,eAAe,EAAE,QAAQ;YACzB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,gBAAgB,EAAE,QAAQ;YAC1B,eAAe,EAAE,QAAQ;YACzB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;YACf,SAAS,EAAE,QAAQ;YACnB,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;AAtMD,oEAsMC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateAIDBClusterTaskResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID of the model
|
|
5
|
+
* The instance ID of the generated model service.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* pm-2zo88***
|
|
@@ -18,7 +18,7 @@ export declare class CreateAIDBClusterTaskResponseBody extends $dara.Model {
|
|
|
18
18
|
orderId?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
*
|
|
21
|
+
* Id of the request
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* CED079B7-A408-41A1-BFF1-EC608E******
|
|
@@ -2,12 +2,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateBackupRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The token is case-sensitive and can contain only ASCII characters. The token can be up to 64 characters in length.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 6000170000591aed949d0f54a343f1a4233c1e7d1c5c******
|
|
9
9
|
*/
|
|
10
10
|
clientToken?: string;
|
|
11
|
+
comment?: string;
|
|
11
12
|
/**
|
|
12
13
|
* @remarks
|
|
13
14
|
* The cluster ID.
|
|
@@ -40,6 +40,7 @@ class CreateBackupRequest extends $dara.Model {
|
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
42
|
clientToken: 'ClientToken',
|
|
43
|
+
comment: 'Comment',
|
|
43
44
|
DBClusterId: 'DBClusterId',
|
|
44
45
|
ownerAccount: 'OwnerAccount',
|
|
45
46
|
ownerId: 'OwnerId',
|
|
@@ -50,6 +51,7 @@ class CreateBackupRequest extends $dara.Model {
|
|
|
50
51
|
static types() {
|
|
51
52
|
return {
|
|
52
53
|
clientToken: 'string',
|
|
54
|
+
comment: 'string',
|
|
53
55
|
DBClusterId: 'string',
|
|
54
56
|
ownerAccount: 'string',
|
|
55
57
|
ownerId: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateBackupRequest.js","sourceRoot":"","sources":["../../src/models/CreateBackupRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateBackupRequest.js","sourceRoot":"","sources":["../../src/models/CreateBackupRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAwBlD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;SAC1B,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;AAvDD,kDAuDC"}
|
|
@@ -2,11 +2,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateDBClusterEndpointRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specifies whether
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* - **Disable** (default): Does not automatically add new nodes to the endpoint.
|
|
5
|
+
* Specifies whether new nodes are automatically added to this endpoint. Valid values:
|
|
6
|
+
* * **Enable**: New nodes are automatically added to this endpoint.
|
|
7
|
+
* * **Disable** (default): New nodes are not automatically added to this endpoint.
|
|
10
8
|
*
|
|
11
9
|
* @example
|
|
12
10
|
* Disable
|
|
@@ -14,7 +12,7 @@ export declare class CreateDBClusterEndpointRequest extends $dara.Model {
|
|
|
14
12
|
autoAddNewNodes?: string;
|
|
15
13
|
/**
|
|
16
14
|
* @remarks
|
|
17
|
-
*
|
|
15
|
+
* The client token that is used to ensure the idempotence of the request and prevent repeated submissions. The token is generated by the client, must be unique across requests, is case-sensitive, and cannot exceed 64 ASCII characters in length.
|
|
18
16
|
*
|
|
19
17
|
* @example
|
|
20
18
|
* 6000170000591aed949d0f******************
|
|
@@ -40,73 +38,41 @@ export declare class CreateDBClusterEndpointRequest extends $dara.Model {
|
|
|
40
38
|
DBEndpointDescription?: string;
|
|
41
39
|
/**
|
|
42
40
|
* @remarks
|
|
43
|
-
* The advanced configurations
|
|
44
|
-
*
|
|
45
|
-
* -
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* - Specifies the degree of parallelism for a parallel query. The format is {"MaxParallelDegree":"degree"}. Valid values:
|
|
80
|
-
*
|
|
81
|
-
* - A specific integer that specifies the degree of parallelism. For example: "MaxParallelDegree":"2".
|
|
82
|
-
*
|
|
83
|
-
* - **off**: disables parallel query (default).
|
|
84
|
-
*
|
|
85
|
-
* - Specifies whether to enable automatic routing between row store and column store. The format is {"EnableHtapImci":"status"}. Valid values:
|
|
86
|
-
*
|
|
87
|
-
* - **on**: enables automatic routing.
|
|
88
|
-
*
|
|
89
|
-
* - **off**: disables automatic routing (default).
|
|
90
|
-
*
|
|
91
|
-
* - Specifies whether to enable overload protection. The format is {"EnableOverloadThrottle":"status"}. Valid values:
|
|
92
|
-
*
|
|
93
|
-
* - **on**: enables overload protection.
|
|
94
|
-
*
|
|
95
|
-
* - **off**: disables overload protection (default).
|
|
96
|
-
*
|
|
97
|
-
* > * You can configure transaction splitting, whether the primary node accepts read requests, the connection pool, and overload protection only for a PolarDB for MySQL endpoint in **ReadWrite** (automatic read/write splitting) mode.
|
|
98
|
-
* >
|
|
99
|
-
* > * A PolarDB for MySQL cluster endpoint in **ReadOnly** mode supports both **connections-based load balancing** and **active requests-based load balancing**. An endpoint in **ReadWrite** (automatic read/write splitting) mode supports only **active requests-based load balancing**.
|
|
100
|
-
* >
|
|
101
|
-
* > * You can enable automatic routing between row store and column store if the read/write mode of the cluster endpoint for PolarDB for MySQL is **ReadWrite** (automatic read/write splitting), or if the read/write mode is **ReadOnly** and the load balancing policy is **active requests-based load balancing**.
|
|
102
|
-
* >
|
|
103
|
-
* > * Only PolarDB for MySQL clusters support global consistency.
|
|
104
|
-
* >
|
|
105
|
-
* > * If you set **ReadWriteMode** to **ReadOnly**, the consistency level must be **0** (eventual consistency).
|
|
106
|
-
* >
|
|
107
|
-
* > * You can configure the consistency level, transaction splitting, whether the primary node accepts read requests, and the connection pool at the same time. Example: `{"ConsistLevel":"1","DistributedTransaction":"on","ConnectionPersist":"Session","MasterAcceptReads":"on"}`.
|
|
108
|
-
* >
|
|
109
|
-
* > * The setting for transaction splitting depends on the consistency level. For example, if you set the consistency level to **0** (eventual consistency), you cannot enable transaction splitting. If you set the consistency level to **1** (session consistency) or **2** (global consistency), you can enable transaction splitting.
|
|
41
|
+
* The advanced configurations of the cluster endpoint in JSON format. You can configure the consistency level, transaction splitting, offload reads from primary node, and connection pool settings.
|
|
42
|
+
* * Load balancing policy. Format: {\\"LoadBalancePolicy\\":\\"Load balancing policy\\"}. Valid values:
|
|
43
|
+
* * **0**: connection-based load balancing (default).
|
|
44
|
+
* * **1**: active-request-based load balancing.
|
|
45
|
+
* * Consistency level. Format: `{"ConsistLevel":"Consistency level"}`. Valid values:
|
|
46
|
+
* * **0**: eventual consistency.
|
|
47
|
+
* * **1**: session consistency (default).
|
|
48
|
+
* * **2**: global consistency.
|
|
49
|
+
* * Transaction splitting. Format: `{"DistributedTransaction":"Transaction splitting"}`. Valid values:
|
|
50
|
+
* * **on**: enables transaction splitting (default).
|
|
51
|
+
* * **off**: disables transaction splitting.
|
|
52
|
+
* * Offload reads from primary node. Format: `{"MasterAcceptReads":"Offload reads from primary node"}`. Valid values:
|
|
53
|
+
* * **on**: the primary node accepts read requests.
|
|
54
|
+
* * **off**: the primary node does not accept read requests (default).
|
|
55
|
+
* * Connection pool. Format: `{"ConnectionPersist":"Connection pool"}`. Valid values:
|
|
56
|
+
* * **off**: disables the connection pool (default).
|
|
57
|
+
* * **Session**: enables session-level connection pooling.
|
|
58
|
+
* * **Transaction**: enables transaction-level connection pooling.
|
|
59
|
+
* * Parallel query. Format: {\\"MaxParallelDegree\\":\\"Parallel query\\"}. Valid values:
|
|
60
|
+
* * A specific degree of parallelism. Example: "MaxParallelDegree":"2".
|
|
61
|
+
* * **off**: disables parallel query (default).
|
|
62
|
+
* * Automatic request distribution among row store and column store nodes. Format: {\\"EnableHtapImci\\":\\"Automatic request distribution among row store and column store nodes\\"}. Valid values:
|
|
63
|
+
* * **on**: enables automatic request distribution among row store and column store nodes.
|
|
64
|
+
* * **off**: disables automatic request distribution among row store and column store nodes (default).
|
|
65
|
+
* * Overload protection. Format: {\\"EnableOverloadThrottle\\":\\"Overload protection\\"}. Valid values:
|
|
66
|
+
* * **on**: enables overload protection.
|
|
67
|
+
* * **off**: disables overload protection (default).
|
|
68
|
+
*
|
|
69
|
+
* > * Transaction splitting, offload reads from primary node, connection pool, and overload protection can be configured only when the read/write mode of the PolarDB for MySQL cluster endpoint is **ReadWrite (automatic read/write splitting)**.
|
|
70
|
+
* >* When the read/write mode of the PolarDB for MySQL cluster endpoint is **ReadOnly**, both **connection-based load balancing** and **active-request-based load balancing** are supported. The **ReadWrite (automatic read/write splitting)** mode supports only **active-request-based load balancing**.
|
|
71
|
+
* >* Automatic request distribution among row store and column store nodes can be configured when the read/write mode of the PolarDB for MySQL cluster endpoint is **ReadWrite (automatic read/write splitting)**, or when the read/write mode is **ReadOnly** and the load balancing policy is **active-request-based load balancing**.
|
|
72
|
+
* >* Only PolarDB for MySQL supports setting the consistency level to global consistency.
|
|
73
|
+
* >* If **ReadWriteMode** is set to **ReadOnly**, the consistency level can only be set to **0**.
|
|
74
|
+
* >* You can configure the consistency level, transaction splitting, offload reads from primary node, and connection pool at the same time. Example: `{"ConsistLevel":"1","DistributedTransaction":"on","ConnectionPersist":"Session","MasterAcceptReads":"on"}`.
|
|
75
|
+
* >* Transaction splitting is constrained by the consistency level. For example, transaction splitting cannot be enabled when the consistency level is **0**. Transaction splitting can be enabled when the consistency level is **1** or **2**.
|
|
110
76
|
*
|
|
111
77
|
* @example
|
|
112
78
|
* {"ConsistLevel": "1","DistributedTransaction": "on"}
|
|
@@ -114,7 +80,11 @@ export declare class CreateDBClusterEndpointRequest extends $dara.Model {
|
|
|
114
80
|
endpointConfig?: string;
|
|
115
81
|
/**
|
|
116
82
|
* @remarks
|
|
117
|
-
* The type of the custom cluster endpoint.
|
|
83
|
+
* The type of the custom cluster endpoint. Valid values:
|
|
84
|
+
*
|
|
85
|
+
* - **Custom**: custom cluster endpoint.
|
|
86
|
+
*
|
|
87
|
+
* - **DynamoDB**: DynamoDB endpoint.
|
|
118
88
|
*
|
|
119
89
|
* This parameter is required.
|
|
120
90
|
*
|
|
@@ -124,17 +94,14 @@ export declare class CreateDBClusterEndpointRequest extends $dara.Model {
|
|
|
124
94
|
endpointType?: string;
|
|
125
95
|
/**
|
|
126
96
|
* @remarks
|
|
127
|
-
* The nodes to
|
|
128
|
-
*
|
|
129
|
-
* >
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
* > - If you set **ReadWriteMode** to **ReadWrite**, you must associate at least two nodes with the endpoint.
|
|
136
|
-
* > \\* For a PolarDB for MySQL cluster, you can select any two nodes. If both nodes are read-only nodes, write requests are routed to the primary node.
|
|
137
|
-
* > \\* For a PolarDB for PostgreSQL cluster or a PolarDB for PostgreSQL (compatible with Oracle) cluster, the primary node must be included.
|
|
97
|
+
* The read load nodes to add to the endpoint. Separate multiple nodes with commas (,). By default, all nodes are added.
|
|
98
|
+
*
|
|
99
|
+
* > * For PolarDB for MySQL, specify node IDs.
|
|
100
|
+
* >* For PolarDB for PostgreSQL and PolarDB for PostgreSQL (Compatible with Oracle), specify node role names, such as `Writer,Reader1,Reader2`.
|
|
101
|
+
* >* If **ReadWriteMode** is set to **ReadOnly**, you can mount only one node. However, if this node fails, the endpoint may be unavailable for up to 1 hour. Do not use this configuration in production environments. Select at least 2 nodes to improve availability.
|
|
102
|
+
* >* If **ReadWriteMode** is set to **ReadWrite**, select at least 2 nodes.
|
|
103
|
+
* * For PolarDB for MySQL, you can select any two nodes. If both nodes are read-only nodes, write requests are forwarded to the primary node.
|
|
104
|
+
* * For PolarDB for PostgreSQL and PolarDB for PostgreSQL (Compatible with Oracle), the primary node must be included.
|
|
138
105
|
*
|
|
139
106
|
* @example
|
|
140
107
|
* pi-**********,pi-*********
|
|
@@ -143,17 +110,20 @@ export declare class CreateDBClusterEndpointRequest extends $dara.Model {
|
|
|
143
110
|
ownerAccount?: string;
|
|
144
111
|
ownerId?: number;
|
|
145
112
|
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The PolarFs instance ID.
|
|
115
|
+
*
|
|
146
116
|
* @example
|
|
147
117
|
* pfs-test****
|
|
148
118
|
*/
|
|
149
119
|
polarFsInstanceId?: string;
|
|
150
120
|
/**
|
|
151
121
|
* @remarks
|
|
152
|
-
* The policy for
|
|
122
|
+
* The timeout policy for global consistency. Valid values:
|
|
153
123
|
*
|
|
154
|
-
* - **0**:
|
|
124
|
+
* - **0**: sends the request to the primary node.
|
|
155
125
|
*
|
|
156
|
-
* - **2**:
|
|
126
|
+
* - **2**: timeout degradation. After a global consistency read times out, the query is automatically degraded to regular requests, and the client does not receive an error message.
|
|
157
127
|
*
|
|
158
128
|
* @example
|
|
159
129
|
* 0
|
|
@@ -172,7 +142,6 @@ export declare class CreateDBClusterEndpointRequest extends $dara.Model {
|
|
|
172
142
|
* The read/write mode. Valid values:
|
|
173
143
|
*
|
|
174
144
|
* - **ReadWrite**: read/write (automatic read/write splitting).
|
|
175
|
-
*
|
|
176
145
|
* - **ReadOnly** (default): read-only.
|
|
177
146
|
*
|
|
178
147
|
* @example
|
|
@@ -183,22 +152,28 @@ export declare class CreateDBClusterEndpointRequest extends $dara.Model {
|
|
|
183
152
|
resourceOwnerId?: number;
|
|
184
153
|
/**
|
|
185
154
|
* @remarks
|
|
186
|
-
* Specifies whether to enable global consistency (high-performance mode). Valid values:
|
|
155
|
+
* Specifies whether to enable the global consistency (high-performance mode) feature for the node. Valid values:
|
|
187
156
|
*
|
|
188
|
-
* - **ON**:
|
|
157
|
+
* - **ON**: enabled.
|
|
189
158
|
*
|
|
190
|
-
* - **OFF**:
|
|
159
|
+
* - **OFF**: disabled.
|
|
191
160
|
*
|
|
192
161
|
* @example
|
|
193
162
|
* on
|
|
194
163
|
*/
|
|
195
164
|
sccMode?: string;
|
|
196
165
|
/**
|
|
166
|
+
* @remarks
|
|
167
|
+
* The VPC ID.
|
|
168
|
+
*
|
|
197
169
|
* @example
|
|
198
170
|
* vpc-2zehr7ghqovftils0****
|
|
199
171
|
*/
|
|
200
172
|
VPCId?: string;
|
|
201
173
|
/**
|
|
174
|
+
* @remarks
|
|
175
|
+
* The vSwitch ID.
|
|
176
|
+
*
|
|
202
177
|
* @example
|
|
203
178
|
* vsw-2ze775gnf7jn33ua****
|
|
204
179
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDbclusterEndpointRequest.js","sourceRoot":"","sources":["../../src/models/CreateDbclusterEndpointRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateDbclusterEndpointRequest.js","sourceRoot":"","sources":["../../src/models/CreateDbclusterEndpointRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAmL7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,qBAAqB,EAAE,uBAAuB;YAC9C,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;YAC5B,KAAK,EAAE,OAAO;YACd,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,iBAAiB,EAAE,mBAAmB;YACtC,qBAAqB,EAAE,uBAAuB;YAC9C,mBAAmB,EAAE,qBAAqB;YAC1C,aAAa,EAAE,eAAe;YAC9B,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,OAAO;YACd,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,qBAAqB,EAAE,QAAQ;YAC/B,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;YACtB,KAAK,EAAE,QAAQ;YACf,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,iBAAiB,EAAE,QAAQ;YAC3B,qBAAqB,EAAE,QAAQ;YAC/B,mBAAmB,EAAE,QAAQ;YAC7B,aAAa,EAAE,QAAQ;YACvB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,OAAO,EAAE,QAAQ;YACjB,KAAK,EAAE,QAAQ;YACf,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;AAxOD,wEAwOC"}
|