@alicloud/rds20140815 16.0.1 → 16.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/client.d.ts +47 -32
  2. package/dist/client.js +83 -32
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDatabaseRequest.d.ts +56 -14
  5. package/dist/models/CreateDatabaseRequest.js.map +1 -1
  6. package/dist/models/CreateDatabaseResponseBody.d.ts +1 -1
  7. package/dist/models/DescribeOperatorPermissionRequest.d.ts +25 -0
  8. package/dist/models/DescribeOperatorPermissionRequest.js +66 -0
  9. package/dist/models/DescribeOperatorPermissionRequest.js.map +1 -0
  10. package/dist/models/DescribeOperatorPermissionResponse.d.ts +19 -0
  11. package/dist/models/DescribeOperatorPermissionResponse.js +69 -0
  12. package/dist/models/DescribeOperatorPermissionResponse.js.map +1 -0
  13. package/dist/models/DescribeOperatorPermissionResponseBody.d.ts +33 -0
  14. package/dist/models/DescribeOperatorPermissionResponseBody.js +64 -0
  15. package/dist/models/DescribeOperatorPermissionResponseBody.js.map +1 -0
  16. package/dist/models/DescribePriceRequest.d.ts +17 -17
  17. package/dist/models/DescribePriceResponseBody.d.ts +5 -5
  18. package/dist/models/DescribePriceShrinkRequest.d.ts +16 -16
  19. package/dist/models/ModifyDbinstanceAutoUpgradeMinorVersionRequest.d.ts +5 -5
  20. package/dist/models/ModifyDbinstanceReplicationSwitchRequest.d.ts +5 -5
  21. package/dist/models/ModifyDbinstanceReplicationSwitchResponseBody.d.ts +1 -1
  22. package/dist/models/RunRcinstancesRequest.d.ts +3 -0
  23. package/dist/models/RunRcinstancesRequest.js.map +1 -1
  24. package/dist/models/RunRcinstancesShrinkRequest.d.ts +3 -0
  25. package/dist/models/RunRcinstancesShrinkRequest.js.map +1 -1
  26. package/dist/models/model.d.ts +3 -0
  27. package/dist/models/model.js +21 -15
  28. package/dist/models/model.js.map +1 -1
  29. package/package.json +1 -1
  30. package/src/client.ts +90 -32
  31. package/src/models/CreateDatabaseRequest.ts +56 -14
  32. package/src/models/CreateDatabaseResponseBody.ts +1 -1
  33. package/src/models/DescribeOperatorPermissionRequest.ts +46 -0
  34. package/src/models/DescribeOperatorPermissionResponse.ts +40 -0
  35. package/src/models/DescribeOperatorPermissionResponseBody.ts +52 -0
  36. package/src/models/DescribePriceRequest.ts +17 -17
  37. package/src/models/DescribePriceResponseBody.ts +5 -5
  38. package/src/models/DescribePriceShrinkRequest.ts +16 -16
  39. package/src/models/ModifyDbinstanceAutoUpgradeMinorVersionRequest.ts +5 -5
  40. package/src/models/ModifyDbinstanceReplicationSwitchRequest.ts +5 -5
  41. package/src/models/ModifyDbinstanceReplicationSwitchResponseBody.ts +1 -1
  42. package/src/models/RunRcinstancesRequest.ts +3 -0
  43. package/src/models/RunRcinstancesShrinkRequest.ts +3 -0
  44. package/src/models/model.ts +3 -0
@@ -1,16 +1,58 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class CreateDatabaseRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The name of the account. You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/610454.html) operation to query the name.
6
+ *
7
+ * @example
8
+ * test1
9
+ */
3
10
  accountName?: string;
11
+ /**
12
+ * @remarks
13
+ * The type of permission granted to the account. If you specify multiple database names, you must specify the same number of permission types in the same order and separate them with commas (,).
14
+ *
15
+ * Different database engines support different permission types. Valid values:
16
+ * > For more information about account permissions, see [Permission list for ApsaraDB RDS for MySQL and ApsaraDB RDS for MariaDB](https://help.aliyun.com/document_detail/146395.html), [Permission list for ApsaraDB RDS for SQL Server](https://help.aliyun.com/document_detail/95692.html), and [Permission list for ApsaraDB RDS for PostgreSQL](https://help.aliyun.com/document_detail/257684.html).
17
+ * <details>
18
+ * <summary>ApsaraDB RDS for MySQL and ApsaraDB RDS for MariaDB</summary>
19
+ *
20
+ * - **ReadWrite**: read and write
21
+ * - **ReadOnly**: read-only
22
+ * - **DDLOnly**: DDL-only
23
+ * - **DMLOnly**: DML-only
24
+ *
25
+ * </details>
26
+ *
27
+ * <details>
28
+ * <summary>ApsaraDB RDS for SQL Server</summary>
29
+ *
30
+ * - **ReadWrite**: read and write. This permission corresponds to the `db_datawriter` and `db_datareader` database roles in SQL Server.
31
+ * - **ReadOnly**: read-only. This permission corresponds to the `db_datareader` database role in SQL Server.
32
+ * - **DBOwner**: database owner. This permission corresponds to the `db_owner` database role in SQL Server.
33
+ * > For more information about database-level roles, see [Microsoft official documentation](https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/database-level-roles?view=sql-server-ver16).
34
+ * </details>
35
+ *
36
+ * <details>
37
+ * <summary>ApsaraDB RDS for PostgreSQL</summary>
38
+ *
39
+ * **DBOwner**: database owner
40
+ * > For more information about fine-grained permission management for accounts, see [Best practices for permission management in ApsaraDB RDS for PostgreSQL](https://help.aliyun.com/document_detail/352149.html).
41
+ * </details>
42
+ *
43
+ * @example
44
+ * ReadWrite
45
+ */
4
46
  accountPrivilege?: string;
5
47
  /**
6
48
  * @remarks
7
49
  * The character set. Valid values:
8
- * * MySQL/MariaDB: **utf8, gbk, latin1, utf8mb4**
9
- * * SQL Server: **Chinese_PRC_CI_AS, Chinese_PRC_CS_AS, SQL_Latin1_General_CP1_CI_AS, SQL_Latin1_General_CP1_CS_AS, Chinese_PRC_BIN**
10
- * * PostgreSQL: You must specify the character set, Collate, and Ctype in the format of `Character set,<Collate>,<Ctype>`. Example: `UTF8,C,en_US.utf8`.
11
- * - Valid values for the character set: **KOI8U, UTF8, WIN866, WIN874, WIN1250, WIN1251, WIN1252, WIN1253, WIN1254, WIN1255, WIN1256, WIN1257, WIN1258, EUC_CN, EUC_KR, EUC_TW, EUC_JP, EUC_JIS_2004, KOI8R, MULE_INTERNAL, LATIN1, LATIN2, LATIN3, LATIN4, LATIN5, LATIN6, LATIN7, LATIN8, LATIN9, LATIN10, ISO_8859_5, ISO_8859_6, ISO_8859_7, ISO_8859_8, SQL_ASCII**.
12
- * - Valid values for **Collate**: You can run the `SELECT DISTINCT collname FROM pg_collation;` command to query the valid values. If this parameter is not specified, the default value **C** is used.
13
- * - Valid values for **Ctype**: You can run the `SELECT DISTINCT collctype FROM pg_collation;` command to query the valid values. If this parameter is not specified, the default value **en_US.utf8** is used.
50
+ * * ApsaraDB RDS for MySQL and ApsaraDB RDS for MariaDB: **utf8**, **gbk**, **latin1**, and **utf8mb4**.
51
+ * * ApsaraDB RDS for SQL Server: **Chinese_PRC_CI_AS**, **Chinese_PRC_CS_AS**, **SQL_Latin1_General_CP1_CI_AS**, **SQL_Latin1_General_CP1_CS_AS**, and **Chinese_PRC_BIN**.
52
+ * * ApsaraDB RDS for PostgreSQL: You must configure the character set, collation, and ctype in the `character set,<collation>,<ctype>` format. Example: `UTF8,C,en_US.utf8`.
53
+ * - Valid values for the character set: **KOI8U, UTF8, WIN866, WIN874, WIN1250, WIN1251, WIN1252, WIN1253, WIN1254, WIN1255, WIN1256, WIN1257, WIN1258, EUC_CN, EUC_KR, EUC_TW, EUC_JP, EUC_JIS_2004, KOI8R, MULE_INTERNAL, LATIN1, LATIN2, LATIN3, LATIN4, LATIN5, LATIN6, LATIN7, LATIN8, LATIN9, LATIN10, ISO_8859_5, ISO_8859_6, ISO_8859_7, ISO_8859_8, and SQL_ASCII**.
54
+ * - Valid values for **collation**: You can execute the `SELECT DISTINCT collname FROM pg_collation;` statement to query the values. If you do not configure this parameter, the default value is **C**.
55
+ * - Valid values for **ctype**: You can execute the `SELECT DISTINCT collctype FROM pg_collation;` statement to query the values. If you do not configure this parameter, the default value is **en_US.utf8**.
14
56
  *
15
57
  * This parameter is required.
16
58
  *
@@ -20,7 +62,7 @@ export declare class CreateDatabaseRequest extends $dara.Model {
20
62
  characterSetName?: string;
21
63
  /**
22
64
  * @remarks
23
- * The collation. This parameter is supported only for ApsaraDB RDS for MySQL instances. Specify a collation that matches the character set. For example, if the character set is utf8mb4, the collation must be utf8mb4_bin or utf8mb4_general_ci.
65
+ * The collation. This parameter is only supported for ApsaraDB RDS for MySQL instances. Specify a collation that matches the character set. For example, if the character set is utf8mb4, the collation must be utf8mb4_bin or utf8mb4_general_ci.
24
66
  *
25
67
  * @example
26
68
  * gbk_chinese_ci
@@ -28,8 +70,8 @@ export declare class CreateDatabaseRequest extends $dara.Model {
28
70
  collationName?: string;
29
71
  /**
30
72
  * @remarks
31
- * The database description. The description must be 2 to 256 characters in length and can contain letters, digits, Chinese characters, underscores (_), and hyphens (-). The description must start with a Chinese character or a letter.
32
- * >The description cannot start with `http://` or `https://`.
73
+ * The description of the database. The description must be 2 to 256 characters in length. It must start with a Chinese or English letter and can contain digits, Chinese characters, English letters, underscores (_), and hyphens (-).
74
+ * > It cannot start with http:// or https://.
33
75
  *
34
76
  * @example
35
77
  * testdb
@@ -37,7 +79,7 @@ export declare class CreateDatabaseRequest extends $dara.Model {
37
79
  DBDescription?: string;
38
80
  /**
39
81
  * @remarks
40
- * The instance ID. You can call DescribeDBInstances to query the instance ID.
82
+ * Instance ID of the instance. You can call the DescribeDBInstances operation to query instance ID.
41
83
  *
42
84
  * This parameter is required.
43
85
  *
@@ -47,13 +89,13 @@ export declare class CreateDatabaseRequest extends $dara.Model {
47
89
  DBInstanceId?: string;
48
90
  /**
49
91
  * @remarks
50
- * The database name.
92
+ * The name of the database.
51
93
  *
52
94
  * > * The name must be 2 to 64 characters in length.
53
- * > * The name must start with a letter and end with a letter or digit.
54
- * > * The name can contain lowercase letters, digits, underscores (_), and hyphens (-).
95
+ * > * It must start with a letter and end with a letter or digit.
96
+ * > * It can contain lowercase letters, digits, underscores (_), and hyphens (-).
55
97
  * > * The database name must be unique within the instance.
56
- * > * For more information about invalid characters, see [Reserved words](https://help.aliyun.com/document_detail/26317.html).
98
+ * > * For other invalid characters, see [Reserved keywords](https://help.aliyun.com/document_detail/26317.html).
57
99
  *
58
100
  * This parameter is required.
59
101
  *
@@ -1 +1 @@
1
- {"version":3,"file":"CreateDatabaseRequest.js","sourceRoot":"","sources":["../../src/models/CreateDatabaseRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;IAkEpD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,gBAAgB,EAAE,kBAAkB;YACpC,gBAAgB,EAAE,kBAAkB;YACpC,aAAa,EAAE,eAAe;YAC9B,aAAa,EAAE,eAAe;YAC9B,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;YAChB,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,gBAAgB,EAAE,QAAQ;YAC1B,gBAAgB,EAAE,QAAQ;YAC1B,aAAa,EAAE,QAAQ;YACvB,aAAa,EAAE,QAAQ;YACvB,YAAY,EAAE,QAAQ;YACtB,MAAM,EAAE,QAAQ;YAChB,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;AAzGD,sDAyGC"}
1
+ {"version":3,"file":"CreateDatabaseRequest.js","sourceRoot":"","sources":["../../src/models/CreateDatabaseRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;IA4GpD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,gBAAgB,EAAE,kBAAkB;YACpC,gBAAgB,EAAE,kBAAkB;YACpC,aAAa,EAAE,eAAe;YAC9B,aAAa,EAAE,eAAe;YAC9B,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;YAChB,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,gBAAgB,EAAE,QAAQ;YAC1B,gBAAgB,EAAE,QAAQ;YAC1B,aAAa,EAAE,QAAQ;YACvB,aAAa,EAAE,QAAQ;YACvB,YAAY,EAAE,QAAQ;YACtB,MAAM,EAAE,QAAQ;YAChB,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;AAnJD,sDAmJC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class CreateDatabaseResponseBody extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The request ID.
5
+ * The ID of the request.
6
6
  *
7
7
  * @example
8
8
  * 5A77D650-27A1-4E08-AD9E-59008EDB6927
@@ -0,0 +1,25 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeOperatorPermissionRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * rm-bp1*******
9
+ */
10
+ DBInstanceId?: string;
11
+ ownerAccount?: string;
12
+ ownerId?: number;
13
+ resourceOwnerAccount?: string;
14
+ resourceOwnerId?: number;
15
+ static names(): {
16
+ [key: string]: string;
17
+ };
18
+ static types(): {
19
+ [key: string]: any;
20
+ };
21
+ validate(): void;
22
+ constructor(map?: {
23
+ [key: string]: any;
24
+ });
25
+ }
@@ -0,0 +1,66 @@
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.DescribeOperatorPermissionRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeOperatorPermissionRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ DBInstanceId: 'DBInstanceId',
43
+ ownerAccount: 'OwnerAccount',
44
+ ownerId: 'OwnerId',
45
+ resourceOwnerAccount: 'ResourceOwnerAccount',
46
+ resourceOwnerId: 'ResourceOwnerId',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ DBInstanceId: 'string',
52
+ ownerAccount: 'string',
53
+ ownerId: 'number',
54
+ resourceOwnerAccount: 'string',
55
+ resourceOwnerId: 'number',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.DescribeOperatorPermissionRequest = DescribeOperatorPermissionRequest;
66
+ //# sourceMappingURL=DescribeOperatorPermissionRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeOperatorPermissionRequest.js","sourceRoot":"","sources":["../../src/models/DescribeOperatorPermissionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAahE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,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,YAAY,EAAE,QAAQ;YACtB,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;AAxCD,8EAwCC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeOperatorPermissionResponseBody } from "./DescribeOperatorPermissionResponseBody";
3
+ export declare class DescribeOperatorPermissionResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeOperatorPermissionResponseBody;
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.DescribeOperatorPermissionResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeOperatorPermissionResponseBody_1 = require("./DescribeOperatorPermissionResponseBody");
40
+ class DescribeOperatorPermissionResponse 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: DescribeOperatorPermissionResponseBody_1.DescribeOperatorPermissionResponseBody,
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.DescribeOperatorPermissionResponse = DescribeOperatorPermissionResponse;
69
+ //# sourceMappingURL=DescribeOperatorPermissionResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeOperatorPermissionResponse.js","sourceRoot":"","sources":["../../src/models/DescribeOperatorPermissionResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qGAAkG;AAGlG,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAIjE,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,+EAAsC;SAC7C,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,gFAiCC"}
@@ -0,0 +1,33 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeOperatorPermissionResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 2026-10-12T02:27:04Z
6
+ */
7
+ createdTime?: string;
8
+ /**
9
+ * @example
10
+ * 2030-01-01T11:58:17Z
11
+ */
12
+ expiredTime?: string;
13
+ /**
14
+ * @example
15
+ * Control,Data
16
+ */
17
+ privileges?: string;
18
+ /**
19
+ * @example
20
+ * 4C3535DC-743E-505A-B4F6-ABC***75C3
21
+ */
22
+ requestId?: 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,64 @@
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.DescribeOperatorPermissionResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeOperatorPermissionResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ createdTime: 'CreatedTime',
43
+ expiredTime: 'ExpiredTime',
44
+ privileges: 'Privileges',
45
+ requestId: 'RequestId',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ createdTime: 'string',
51
+ expiredTime: 'string',
52
+ privileges: 'string',
53
+ requestId: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.DescribeOperatorPermissionResponseBody = DescribeOperatorPermissionResponseBody;
64
+ //# sourceMappingURL=DescribeOperatorPermissionResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeOperatorPermissionResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeOperatorPermissionResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAqBrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,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;AA9CD,wFA8CC"}
@@ -38,7 +38,7 @@ export declare class DescribePriceRequestServerlessConfig extends $dara.Model {
38
38
  maxCapacity?: number;
39
39
  /**
40
40
  * @remarks
41
- * The minimum number of RCUs allowed for automatic scaling of the instance.
41
+ * The minimum number of RDS capacity units (RCUs) allowed for automatic scaling of the instance.
42
42
  *
43
43
  * @example
44
44
  * 0.5
@@ -68,14 +68,14 @@ export declare class DescribePriceRequest extends $dara.Model {
68
68
  * @remarks
69
69
  * The commodity code of the instance. Valid values:
70
70
  *
71
- * * **bards**: pay-as-you-go primary instance (Chinese site)
72
- * * **rds** (default): subscription primary instance (Chinese site)
73
- * * **rords**: pay-as-you-go read-only instance (Chinese site)
74
- * * **rds_rordspre_public_cn**: subscription read-only instance (Chinese site)
75
- * * **bards_intl**: pay-as-you-go primary instance (International site)
76
- * * **rds_intl**: subscription primary instance (International site)
77
- * * **rords_intl**: pay-as-you-go read-only instance (International site)
78
- * * **rds_rordspre_public_intl**: subscription read-only instance (International site)
71
+ * * **bards**: pay-as-you-go primary instance (Alibaba Cloud China site)
72
+ * * **rds** (default): subscription primary instance (Alibaba Cloud China site)
73
+ * * **rords**: pay-as-you-go read-only instance (Alibaba Cloud China site)
74
+ * * **rds_rordspre_public_cn**: subscription read-only instance (Alibaba Cloud China site)
75
+ * * **bards_intl**: pay-as-you-go primary instance (Alibaba Cloud International site)
76
+ * * **rds_intl**: subscription primary instance (Alibaba Cloud International site)
77
+ * * **rords_intl**: pay-as-you-go read-only instance (Alibaba Cloud International site)
78
+ * * **rds_rordspre_public_intl**: subscription read-only instance (Alibaba Cloud International site)
79
79
  *
80
80
  * > This parameter is required when you query the pricing of a read-only instance.
81
81
  *
@@ -95,8 +95,8 @@ export declare class DescribePriceRequest extends $dara.Model {
95
95
  DBInstanceClass?: string;
96
96
  /**
97
97
  * @remarks
98
- * Instance ID of the instance for which you want to change the specifications or renew the subscription.
99
- * > - This parameter is required when you query the price for changing the specifications or renewing the subscription of an instance.
98
+ * Instance ID of the instance whose specifications you want to change or that you want to renew.
99
+ * > - This parameter is required when you query the price for changing the specifications or renewing an instance.
100
100
  * > - If the instance is a read-only instance, you must specify instance ID of its primary instance.
101
101
  *
102
102
  * @example
@@ -154,7 +154,7 @@ export declare class DescribePriceRequest extends $dara.Model {
154
154
  * @remarks
155
155
  * <props="china">The database engine version. Valid values:
156
156
  * - **MySQL**: **5.5**, **5.6**, **5.7**, and **8.0**
157
- * - **SQL Server**: **08r2_ent_ha** (cloud disk edition, discontinued), **2008r2** (high-performance local disk, discontinued), **2012** (Enterprise Edition Basic), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2014_ent_ha**, **2014_std_ha**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**
157
+ * - **SQL Server**: **08r2_ent_ha** (cloud disk edition, discontinued), **2008r2** (Premium Local SSD, discontinued), **2012** (Enterprise Edition Standalone), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2014_ent_ha**, **2014_std_ha**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**
158
158
  * - **PostgreSQL**: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**
159
159
  * - **MariaDB**: **10.3**
160
160
  *
@@ -162,11 +162,11 @@ export declare class DescribePriceRequest extends $dara.Model {
162
162
  *
163
163
  * <props="intl">The database engine version. Valid values:
164
164
  * - **MySQL**: **5.5**, **5.6**, **5.7**, and **8.0**
165
- * - **SQL Server**: **08r2_ent_ha** (cloud disk edition, discontinued), **2008r2** (high-performance local disk, discontinued), **2012** (Enterprise Edition Basic), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**
165
+ * - **SQL Server**: **08r2_ent_ha** (cloud disk edition, discontinued), **2008r2** (Premium Local SSD, discontinued), **2012** (Enterprise Edition Standalone), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**
166
166
  * - **PostgreSQL**: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**
167
167
  * - **MariaDB**: **10.3**
168
168
  *
169
- * > For an ApsaraDB RDS for SQL Server instance, `_ent` indicates the Enterprise Cluster Edition, `_ent_ha` indicates the Enterprise Edition, `_std_ha` indicates the Standard Edition, and `_web` indicates the Web Edition.
169
+ * > For SQL Server instances, `_ent` indicates the Enterprise Cluster Edition, `_ent_ha` indicates the Enterprise Edition, `_std_ha` indicates the Standard Edition, and `_web` indicates the Web Edition.
170
170
  *
171
171
  * This parameter is required.
172
172
  *
@@ -220,7 +220,7 @@ export declare class DescribePriceRequest extends $dara.Model {
220
220
  quantity?: number;
221
221
  /**
222
222
  * @remarks
223
- * The region ID. You can call the DescribeRegions operation to obtain the region ID.
223
+ * The region ID. You can call the DescribeRegions operation to query the region ID.
224
224
  *
225
225
  * @example
226
226
  * cn-hangzhou
@@ -247,8 +247,8 @@ export declare class DescribePriceRequest extends $dara.Model {
247
247
  /**
248
248
  * @remarks
249
249
  * The subscription duration. Valid values:
250
- * * If the **TimeType** parameter is set to **Year**, the value of the UsedTime parameter ranges from **1** to **100**.
251
- * * If the **TimeType** parameter is set to **Month**, the value of the UsedTime parameter ranges from **1** to **999**.
250
+ * * If the **TimeType** parameter is set to **Year**, the value ranges from **1** to **100**.
251
+ * * If the **TimeType** parameter is set to **Month**, the value ranges from **1** to **999**.
252
252
  *
253
253
  * Default value: **1**.
254
254
  *
@@ -119,7 +119,7 @@ export declare class DescribePriceResponseBodyPriceInfo extends $dara.Model {
119
119
  ruleIds?: DescribePriceResponseBodyPriceInfoRuleIds;
120
120
  /**
121
121
  * @remarks
122
- * The estimated hourly fee calculated based on the maximum number of RCUs selected by the user.
122
+ * The estimated hourly fee calculated based on the maximum number of RCUs selected.
123
123
  *
124
124
  * @example
125
125
  * 1**
@@ -127,7 +127,7 @@ export declare class DescribePriceResponseBodyPriceInfo extends $dara.Model {
127
127
  tradeMaxRCUAmount?: number;
128
128
  /**
129
129
  * @remarks
130
- * The estimated hourly fee calculated based on the minimum number of RCUs selected by the user.
130
+ * The estimated hourly fee calculated based on the minimum number of RCUs selected.
131
131
  *
132
132
  * @example
133
133
  * 2**
@@ -135,7 +135,7 @@ export declare class DescribePriceResponseBodyPriceInfo extends $dara.Model {
135
135
  tradeMinRCUAmount?: number;
136
136
  /**
137
137
  * @remarks
138
- * The final price, which is the original price minus the discount amount.
138
+ * The final price, which is the original price minus the discount.
139
139
  *
140
140
  * @example
141
141
  * 10508
@@ -311,7 +311,7 @@ export declare class DescribePriceResponseBody extends $dara.Model {
311
311
  showDiscount?: boolean;
312
312
  /**
313
313
  * @remarks
314
- * The estimated hourly fee calculated based on the maximum number of RCUs selected by the user.
314
+ * The estimated hourly fee calculated based on the maximum number of RCUs selected.
315
315
  *
316
316
  * @example
317
317
  * 2**
@@ -319,7 +319,7 @@ export declare class DescribePriceResponseBody extends $dara.Model {
319
319
  tradeMaxRCUAmount?: number;
320
320
  /**
321
321
  * @remarks
322
- * The estimated hourly fee calculated based on the minimum number of RCUs selected by the user.
322
+ * The estimated hourly fee calculated based on the minimum number of RCUs selected.
323
323
  *
324
324
  * @example
325
325
  * 1**
@@ -12,14 +12,14 @@ export declare class DescribePriceShrinkRequest extends $dara.Model {
12
12
  * @remarks
13
13
  * The commodity code of the instance. Valid values:
14
14
  *
15
- * * **bards**: pay-as-you-go primary instance (Chinese site)
16
- * * **rds** (default): subscription primary instance (Chinese site)
17
- * * **rords**: pay-as-you-go read-only instance (Chinese site)
18
- * * **rds_rordspre_public_cn**: subscription read-only instance (Chinese site)
19
- * * **bards_intl**: pay-as-you-go primary instance (International site)
20
- * * **rds_intl**: subscription primary instance (International site)
21
- * * **rords_intl**: pay-as-you-go read-only instance (International site)
22
- * * **rds_rordspre_public_intl**: subscription read-only instance (International site)
15
+ * * **bards**: pay-as-you-go primary instance (Alibaba Cloud China site)
16
+ * * **rds** (default): subscription primary instance (Alibaba Cloud China site)
17
+ * * **rords**: pay-as-you-go read-only instance (Alibaba Cloud China site)
18
+ * * **rds_rordspre_public_cn**: subscription read-only instance (Alibaba Cloud China site)
19
+ * * **bards_intl**: pay-as-you-go primary instance (Alibaba Cloud International site)
20
+ * * **rds_intl**: subscription primary instance (Alibaba Cloud International site)
21
+ * * **rords_intl**: pay-as-you-go read-only instance (Alibaba Cloud International site)
22
+ * * **rds_rordspre_public_intl**: subscription read-only instance (Alibaba Cloud International site)
23
23
  *
24
24
  * > This parameter is required when you query the pricing of a read-only instance.
25
25
  *
@@ -39,8 +39,8 @@ export declare class DescribePriceShrinkRequest extends $dara.Model {
39
39
  DBInstanceClass?: string;
40
40
  /**
41
41
  * @remarks
42
- * Instance ID of the instance for which you want to change the specifications or renew the subscription.
43
- * > - This parameter is required when you query the price for changing the specifications or renewing the subscription of an instance.
42
+ * Instance ID of the instance whose specifications you want to change or that you want to renew.
43
+ * > - This parameter is required when you query the price for changing the specifications or renewing an instance.
44
44
  * > - If the instance is a read-only instance, you must specify instance ID of its primary instance.
45
45
  *
46
46
  * @example
@@ -98,7 +98,7 @@ export declare class DescribePriceShrinkRequest extends $dara.Model {
98
98
  * @remarks
99
99
  * <props="china">The database engine version. Valid values:
100
100
  * - **MySQL**: **5.5**, **5.6**, **5.7**, and **8.0**
101
- * - **SQL Server**: **08r2_ent_ha** (cloud disk edition, discontinued), **2008r2** (high-performance local disk, discontinued), **2012** (Enterprise Edition Basic), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2014_ent_ha**, **2014_std_ha**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**
101
+ * - **SQL Server**: **08r2_ent_ha** (cloud disk edition, discontinued), **2008r2** (Premium Local SSD, discontinued), **2012** (Enterprise Edition Standalone), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2014_ent_ha**, **2014_std_ha**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**
102
102
  * - **PostgreSQL**: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**
103
103
  * - **MariaDB**: **10.3**
104
104
  *
@@ -106,11 +106,11 @@ export declare class DescribePriceShrinkRequest extends $dara.Model {
106
106
  *
107
107
  * <props="intl">The database engine version. Valid values:
108
108
  * - **MySQL**: **5.5**, **5.6**, **5.7**, and **8.0**
109
- * - **SQL Server**: **08r2_ent_ha** (cloud disk edition, discontinued), **2008r2** (high-performance local disk, discontinued), **2012** (Enterprise Edition Basic), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**
109
+ * - **SQL Server**: **08r2_ent_ha** (cloud disk edition, discontinued), **2008r2** (Premium Local SSD, discontinued), **2012** (Enterprise Edition Standalone), **2012_ent_ha**, **2012_std_ha**, **2012_web**, **2016_ent_ha**, **2016_std_ha**, **2016_web**, **2017_ent**, **2017_std_ha**, **2017_web**, **2019_ent**, **2019_std_ha**, **2019_web**, **2022_ent**, **2022_std_ha**, and **2022_web**
110
110
  * - **PostgreSQL**: **10.0**, **11.0**, **12.0**, **13.0**, **14.0**, and **15.0**
111
111
  * - **MariaDB**: **10.3**
112
112
  *
113
- * > For an ApsaraDB RDS for SQL Server instance, `_ent` indicates the Enterprise Cluster Edition, `_ent_ha` indicates the Enterprise Edition, `_std_ha` indicates the Standard Edition, and `_web` indicates the Web Edition.
113
+ * > For SQL Server instances, `_ent` indicates the Enterprise Cluster Edition, `_ent_ha` indicates the Enterprise Edition, `_std_ha` indicates the Standard Edition, and `_web` indicates the Web Edition.
114
114
  *
115
115
  * This parameter is required.
116
116
  *
@@ -164,7 +164,7 @@ export declare class DescribePriceShrinkRequest extends $dara.Model {
164
164
  quantity?: number;
165
165
  /**
166
166
  * @remarks
167
- * The region ID. You can call the DescribeRegions operation to obtain the region ID.
167
+ * The region ID. You can call the DescribeRegions operation to query the region ID.
168
168
  *
169
169
  * @example
170
170
  * cn-hangzhou
@@ -191,8 +191,8 @@ export declare class DescribePriceShrinkRequest extends $dara.Model {
191
191
  /**
192
192
  * @remarks
193
193
  * The subscription duration. Valid values:
194
- * * If the **TimeType** parameter is set to **Year**, the value of the UsedTime parameter ranges from **1** to **100**.
195
- * * If the **TimeType** parameter is set to **Month**, the value of the UsedTime parameter ranges from **1** to **999**.
194
+ * * If the **TimeType** parameter is set to **Year**, the value ranges from **1** to **100**.
195
+ * * If the **TimeType** parameter is set to **Month**, the value ranges from **1** to **999**.
196
196
  *
197
197
  * Default value: **1**.
198
198
  *