@alicloud/rds20140815 14.2.0 → 15.0.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 +0 -67
- package/dist/client.js +0 -184
- package/dist/client.js.map +1 -1
- package/dist/models/CreateRcsnapshotRequest.d.ts +2 -0
- package/dist/models/CreateRcsnapshotRequest.js.map +1 -1
- package/dist/models/DeleteRcdiskRequest.d.ts +2 -0
- package/dist/models/DeleteRcdiskRequest.js.map +1 -1
- package/dist/models/DescribeDbinstanceReplicationResponseBody.d.ts +0 -5
- package/dist/models/DescribeDbinstanceReplicationResponseBody.js +0 -2
- package/dist/models/DescribeDbinstanceReplicationResponseBody.js.map +1 -1
- package/dist/models/DescribeRcdisksResponseBody.d.ts +0 -2
- package/dist/models/DescribeRcdisksResponseBody.js +0 -4
- package/dist/models/DescribeRcdisksResponseBody.js.map +1 -1
- package/dist/models/DescribeRcinstancesResponseBody.d.ts +0 -21
- package/dist/models/DescribeRcinstancesResponseBody.js +0 -10
- package/dist/models/DescribeRcinstancesResponseBody.js.map +1 -1
- package/dist/models/DescribeRcsnapshotsRequest.d.ts +2 -1
- package/dist/models/DescribeRcsnapshotsRequest.js +0 -2
- package/dist/models/DescribeRcsnapshotsRequest.js.map +1 -1
- package/dist/models/DescribeRcsnapshotsResponseBody.d.ts +0 -1
- package/dist/models/DescribeRcsnapshotsResponseBody.js +0 -2
- package/dist/models/DescribeRcsnapshotsResponseBody.js.map +1 -1
- package/dist/models/DetachRcdiskRequest.d.ts +2 -0
- package/dist/models/DetachRcdiskRequest.js.map +1 -1
- package/dist/models/ModifyRcdiskChargeTypeRequest.d.ts +3 -11
- package/dist/models/ModifyRcdiskChargeTypeRequest.js +0 -6
- package/dist/models/ModifyRcdiskChargeTypeRequest.js.map +1 -1
- package/dist/models/ModifyRcdiskChargeTypeResponseBody.d.ts +1 -1
- package/dist/models/ModifyRcinstanceChargeTypeRequest.d.ts +2 -0
- package/dist/models/ModifyRcinstanceChargeTypeRequest.js.map +1 -1
- package/dist/models/StopRcinstanceRequest.d.ts +0 -1
- package/dist/models/StopRcinstanceRequest.js +0 -2
- package/dist/models/StopRcinstanceRequest.js.map +1 -1
- package/dist/models/StopRcinstancesRequest.d.ts +0 -1
- package/dist/models/StopRcinstancesRequest.js +0 -2
- package/dist/models/StopRcinstancesRequest.js.map +1 -1
- package/dist/models/StopRcinstancesShrinkRequest.d.ts +0 -1
- package/dist/models/StopRcinstancesShrinkRequest.js +0 -2
- package/dist/models/StopRcinstancesShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +0 -9
- package/dist/models/model.js +21 -39
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +0 -208
- package/src/models/CreateRcsnapshotRequest.ts +2 -0
- package/src/models/DeleteRcdiskRequest.ts +2 -0
- package/src/models/DescribeDbinstanceReplicationResponseBody.ts +0 -7
- package/src/models/DescribeRcdisksResponseBody.ts +0 -6
- package/src/models/DescribeRcinstancesResponseBody.ts +0 -31
- package/src/models/DescribeRcsnapshotsRequest.ts +2 -3
- package/src/models/DescribeRcsnapshotsResponseBody.ts +0 -3
- package/src/models/DetachRcdiskRequest.ts +2 -0
- package/src/models/ModifyRcdiskChargeTypeRequest.ts +3 -17
- package/src/models/ModifyRcdiskChargeTypeResponseBody.ts +1 -1
- package/src/models/ModifyRcinstanceChargeTypeRequest.ts +2 -0
- package/src/models/StopRcinstanceRequest.ts +0 -3
- package/src/models/StopRcinstancesRequest.ts +0 -3
- package/src/models/StopRcinstancesShrinkRequest.ts +0 -3
- package/src/models/model.ts +0 -9
- package/dist/models/CreateRcimageRequest.d.ts +0 -45
- package/dist/models/CreateRcimageRequest.js +0 -64
- package/dist/models/CreateRcimageRequest.js.map +0 -1
- package/dist/models/CreateRcimageResponse.d.ts +0 -19
- package/dist/models/CreateRcimageResponse.js +0 -69
- package/dist/models/CreateRcimageResponse.js.map +0 -1
- package/dist/models/CreateRcimageResponseBody.d.ts +0 -21
- package/dist/models/CreateRcimageResponseBody.js +0 -58
- package/dist/models/CreateRcimageResponseBody.js.map +0 -1
- package/dist/models/ModifyDbinstanceVectorSupportStatusRequest.d.ts +0 -29
- package/dist/models/ModifyDbinstanceVectorSupportStatusRequest.js +0 -60
- package/dist/models/ModifyDbinstanceVectorSupportStatusRequest.js.map +0 -1
- package/dist/models/ModifyDbinstanceVectorSupportStatusResponse.d.ts +0 -19
- package/dist/models/ModifyDbinstanceVectorSupportStatusResponse.js +0 -69
- package/dist/models/ModifyDbinstanceVectorSupportStatusResponse.js.map +0 -1
- package/dist/models/ModifyDbinstanceVectorSupportStatusResponseBody.d.ts +0 -18
- package/dist/models/ModifyDbinstanceVectorSupportStatusResponseBody.js +0 -58
- package/dist/models/ModifyDbinstanceVectorSupportStatusResponseBody.js.map +0 -1
- package/dist/models/ModifyRcdiskAttributeRequest.d.ts +0 -49
- package/dist/models/ModifyRcdiskAttributeRequest.js +0 -68
- package/dist/models/ModifyRcdiskAttributeRequest.js.map +0 -1
- package/dist/models/ModifyRcdiskAttributeResponse.d.ts +0 -19
- package/dist/models/ModifyRcdiskAttributeResponse.js +0 -69
- package/dist/models/ModifyRcdiskAttributeResponse.js.map +0 -1
- package/dist/models/ModifyRcdiskAttributeResponseBody.d.ts +0 -21
- package/dist/models/ModifyRcdiskAttributeResponseBody.js +0 -58
- package/dist/models/ModifyRcdiskAttributeResponseBody.js.map +0 -1
- package/src/models/CreateRcimageRequest.ts +0 -64
- package/src/models/CreateRcimageResponse.ts +0 -40
- package/src/models/CreateRcimageResponseBody.ts +0 -34
- package/src/models/ModifyDbinstanceVectorSupportStatusRequest.ts +0 -44
- package/src/models/ModifyDbinstanceVectorSupportStatusResponse.ts +0 -40
- package/src/models/ModifyDbinstanceVectorSupportStatusResponseBody.ts +0 -31
- package/src/models/ModifyRcdiskAttributeRequest.ts +0 -72
- package/src/models/ModifyRcdiskAttributeResponse.ts +0 -40
- package/src/models/ModifyRcdiskAttributeResponseBody.ts +0 -34
package/dist/client.d.ts
CHANGED
|
@@ -1463,43 +1463,6 @@ export default class Client extends OpenApi {
|
|
|
1463
1463
|
* @returns CreateRCDiskResponse
|
|
1464
1464
|
*/
|
|
1465
1465
|
createRCDisk(request: $_model.CreateRCDiskRequest): Promise<$_model.CreateRCDiskResponse>;
|
|
1466
|
-
/**
|
|
1467
|
-
* Creates a custom image for an RDS Custom instance.
|
|
1468
|
-
*
|
|
1469
|
-
* @remarks
|
|
1470
|
-
* ### [](#)Supported database engines
|
|
1471
|
-
* * RDS MySQL
|
|
1472
|
-
* * RDS SQL Server
|
|
1473
|
-
* ### [](#)References
|
|
1474
|
-
* * [Introduction to RDS Custom for MySQL](https://help.aliyun.com/document_detail/2844223.html)
|
|
1475
|
-
* * [Introduction to RDS Custom for SQL Server](https://help.aliyun.com/document_detail/2864363.html)
|
|
1476
|
-
* ### [](#)Usage
|
|
1477
|
-
* * Method 1: Create a custom image by using a snapshot generated from the **system disk**. In this case, specify the SnapshotId and ImageName parameters at the same time in the request.
|
|
1478
|
-
* * Method 2: Create a custom image by using an RDS Custom instance. In this case, specify the InstanceId and ImageName parameters at the same time in the request.
|
|
1479
|
-
*
|
|
1480
|
-
* @param request - CreateRCImageRequest
|
|
1481
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
1482
|
-
* @returns CreateRCImageResponse
|
|
1483
|
-
*/
|
|
1484
|
-
createRCImageWithOptions(request: $_model.CreateRCImageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateRCImageResponse>;
|
|
1485
|
-
/**
|
|
1486
|
-
* Creates a custom image for an RDS Custom instance.
|
|
1487
|
-
*
|
|
1488
|
-
* @remarks
|
|
1489
|
-
* ### [](#)Supported database engines
|
|
1490
|
-
* * RDS MySQL
|
|
1491
|
-
* * RDS SQL Server
|
|
1492
|
-
* ### [](#)References
|
|
1493
|
-
* * [Introduction to RDS Custom for MySQL](https://help.aliyun.com/document_detail/2844223.html)
|
|
1494
|
-
* * [Introduction to RDS Custom for SQL Server](https://help.aliyun.com/document_detail/2864363.html)
|
|
1495
|
-
* ### [](#)Usage
|
|
1496
|
-
* * Method 1: Create a custom image by using a snapshot generated from the **system disk**. In this case, specify the SnapshotId and ImageName parameters at the same time in the request.
|
|
1497
|
-
* * Method 2: Create a custom image by using an RDS Custom instance. In this case, specify the InstanceId and ImageName parameters at the same time in the request.
|
|
1498
|
-
*
|
|
1499
|
-
* @param request - CreateRCImageRequest
|
|
1500
|
-
* @returns CreateRCImageResponse
|
|
1501
|
-
*/
|
|
1502
|
-
createRCImage(request: $_model.CreateRCImageRequest): Promise<$_model.CreateRCImageResponse>;
|
|
1503
1466
|
/**
|
|
1504
1467
|
* Creates an edge node pool in the Container Service for Kubernetes (ACK) Edge cluster to which the RDS Custom instance belongs.
|
|
1505
1468
|
*
|
|
@@ -7843,21 +7806,6 @@ export default class Client extends OpenApi {
|
|
|
7843
7806
|
* @returns ModifyDBInstanceTDEResponse
|
|
7844
7807
|
*/
|
|
7845
7808
|
modifyDBInstanceTDE(request: $_model.ModifyDBInstanceTDERequest): Promise<$_model.ModifyDBInstanceTDEResponse>;
|
|
7846
|
-
/**
|
|
7847
|
-
* 修改实例向量支持状态
|
|
7848
|
-
*
|
|
7849
|
-
* @param request - ModifyDBInstanceVectorSupportStatusRequest
|
|
7850
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
7851
|
-
* @returns ModifyDBInstanceVectorSupportStatusResponse
|
|
7852
|
-
*/
|
|
7853
|
-
modifyDBInstanceVectorSupportStatusWithOptions(request: $_model.ModifyDBInstanceVectorSupportStatusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyDBInstanceVectorSupportStatusResponse>;
|
|
7854
|
-
/**
|
|
7855
|
-
* 修改实例向量支持状态
|
|
7856
|
-
*
|
|
7857
|
-
* @param request - ModifyDBInstanceVectorSupportStatusRequest
|
|
7858
|
-
* @returns ModifyDBInstanceVectorSupportStatusResponse
|
|
7859
|
-
*/
|
|
7860
|
-
modifyDBInstanceVectorSupportStatus(request: $_model.ModifyDBInstanceVectorSupportStatusRequest): Promise<$_model.ModifyDBInstanceVectorSupportStatusResponse>;
|
|
7861
7809
|
/**
|
|
7862
7810
|
* Changes the specifications, storage type, and storage capacity of an ApsaraDB RDS for MySQL instance that runs RDS Cluster Edition.
|
|
7863
7811
|
*
|
|
@@ -8424,21 +8372,6 @@ export default class Client extends OpenApi {
|
|
|
8424
8372
|
* @returns ModifyParameterGroupResponse
|
|
8425
8373
|
*/
|
|
8426
8374
|
modifyParameterGroup(request: $_model.ModifyParameterGroupRequest): Promise<$_model.ModifyParameterGroupResponse>;
|
|
8427
|
-
/**
|
|
8428
|
-
* 修改块存储属性
|
|
8429
|
-
*
|
|
8430
|
-
* @param request - ModifyRCDiskAttributeRequest
|
|
8431
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
8432
|
-
* @returns ModifyRCDiskAttributeResponse
|
|
8433
|
-
*/
|
|
8434
|
-
modifyRCDiskAttributeWithOptions(request: $_model.ModifyRCDiskAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyRCDiskAttributeResponse>;
|
|
8435
|
-
/**
|
|
8436
|
-
* 修改块存储属性
|
|
8437
|
-
*
|
|
8438
|
-
* @param request - ModifyRCDiskAttributeRequest
|
|
8439
|
-
* @returns ModifyRCDiskAttributeResponse
|
|
8440
|
-
*/
|
|
8441
|
-
modifyRCDiskAttribute(request: $_model.ModifyRCDiskAttributeRequest): Promise<$_model.ModifyRCDiskAttributeResponse>;
|
|
8442
8375
|
/**
|
|
8443
8376
|
* 修改RDS用户磁盘付费类型
|
|
8444
8377
|
*
|
package/dist/client.js
CHANGED
|
@@ -4065,76 +4065,6 @@ class Client extends openapi_core_1.default {
|
|
|
4065
4065
|
let runtime = new $dara.RuntimeOptions({});
|
|
4066
4066
|
return await this.createRCDiskWithOptions(request, runtime);
|
|
4067
4067
|
}
|
|
4068
|
-
/**
|
|
4069
|
-
* Creates a custom image for an RDS Custom instance.
|
|
4070
|
-
*
|
|
4071
|
-
* @remarks
|
|
4072
|
-
* ### [](#)Supported database engines
|
|
4073
|
-
* * RDS MySQL
|
|
4074
|
-
* * RDS SQL Server
|
|
4075
|
-
* ### [](#)References
|
|
4076
|
-
* * [Introduction to RDS Custom for MySQL](https://help.aliyun.com/document_detail/2844223.html)
|
|
4077
|
-
* * [Introduction to RDS Custom for SQL Server](https://help.aliyun.com/document_detail/2864363.html)
|
|
4078
|
-
* ### [](#)Usage
|
|
4079
|
-
* * Method 1: Create a custom image by using a snapshot generated from the **system disk**. In this case, specify the SnapshotId and ImageName parameters at the same time in the request.
|
|
4080
|
-
* * Method 2: Create a custom image by using an RDS Custom instance. In this case, specify the InstanceId and ImageName parameters at the same time in the request.
|
|
4081
|
-
*
|
|
4082
|
-
* @param request - CreateRCImageRequest
|
|
4083
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
4084
|
-
* @returns CreateRCImageResponse
|
|
4085
|
-
*/
|
|
4086
|
-
async createRCImageWithOptions(request, runtime) {
|
|
4087
|
-
request.validate();
|
|
4088
|
-
let query = {};
|
|
4089
|
-
if (!$dara.isNull(request.imageName)) {
|
|
4090
|
-
query["ImageName"] = request.imageName;
|
|
4091
|
-
}
|
|
4092
|
-
if (!$dara.isNull(request.instanceId)) {
|
|
4093
|
-
query["InstanceId"] = request.instanceId;
|
|
4094
|
-
}
|
|
4095
|
-
if (!$dara.isNull(request.regionId)) {
|
|
4096
|
-
query["RegionId"] = request.regionId;
|
|
4097
|
-
}
|
|
4098
|
-
if (!$dara.isNull(request.snapshotId)) {
|
|
4099
|
-
query["SnapshotId"] = request.snapshotId;
|
|
4100
|
-
}
|
|
4101
|
-
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4102
|
-
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4103
|
-
});
|
|
4104
|
-
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4105
|
-
action: "CreateRCImage",
|
|
4106
|
-
version: "2014-08-15",
|
|
4107
|
-
protocol: "HTTPS",
|
|
4108
|
-
pathname: "/",
|
|
4109
|
-
method: "POST",
|
|
4110
|
-
authType: "AK",
|
|
4111
|
-
style: "RPC",
|
|
4112
|
-
reqBodyType: "formData",
|
|
4113
|
-
bodyType: "json",
|
|
4114
|
-
});
|
|
4115
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateRCImageResponse({}));
|
|
4116
|
-
}
|
|
4117
|
-
/**
|
|
4118
|
-
* Creates a custom image for an RDS Custom instance.
|
|
4119
|
-
*
|
|
4120
|
-
* @remarks
|
|
4121
|
-
* ### [](#)Supported database engines
|
|
4122
|
-
* * RDS MySQL
|
|
4123
|
-
* * RDS SQL Server
|
|
4124
|
-
* ### [](#)References
|
|
4125
|
-
* * [Introduction to RDS Custom for MySQL](https://help.aliyun.com/document_detail/2844223.html)
|
|
4126
|
-
* * [Introduction to RDS Custom for SQL Server](https://help.aliyun.com/document_detail/2864363.html)
|
|
4127
|
-
* ### [](#)Usage
|
|
4128
|
-
* * Method 1: Create a custom image by using a snapshot generated from the **system disk**. In this case, specify the SnapshotId and ImageName parameters at the same time in the request.
|
|
4129
|
-
* * Method 2: Create a custom image by using an RDS Custom instance. In this case, specify the InstanceId and ImageName parameters at the same time in the request.
|
|
4130
|
-
*
|
|
4131
|
-
* @param request - CreateRCImageRequest
|
|
4132
|
-
* @returns CreateRCImageResponse
|
|
4133
|
-
*/
|
|
4134
|
-
async createRCImage(request) {
|
|
4135
|
-
let runtime = new $dara.RuntimeOptions({});
|
|
4136
|
-
return await this.createRCImageWithOptions(request, runtime);
|
|
4137
|
-
}
|
|
4138
4068
|
/**
|
|
4139
4069
|
* Creates an edge node pool in the Container Service for Kubernetes (ACK) Edge cluster to which the RDS Custom instance belongs.
|
|
4140
4070
|
*
|
|
@@ -15050,9 +14980,6 @@ class Client extends openapi_core_1.default {
|
|
|
15050
14980
|
if (!$dara.isNull(request.diskId)) {
|
|
15051
14981
|
query["DiskId"] = request.diskId;
|
|
15052
14982
|
}
|
|
15053
|
-
if (!$dara.isNull(request.instanceId)) {
|
|
15054
|
-
query["InstanceId"] = request.instanceId;
|
|
15055
|
-
}
|
|
15056
14983
|
if (!$dara.isNull(request.pageNumber)) {
|
|
15057
14984
|
query["PageNumber"] = request.pageNumber;
|
|
15058
14985
|
}
|
|
@@ -21216,48 +21143,6 @@ class Client extends openapi_core_1.default {
|
|
|
21216
21143
|
let runtime = new $dara.RuntimeOptions({});
|
|
21217
21144
|
return await this.modifyDBInstanceTDEWithOptions(request, runtime);
|
|
21218
21145
|
}
|
|
21219
|
-
/**
|
|
21220
|
-
* 修改实例向量支持状态
|
|
21221
|
-
*
|
|
21222
|
-
* @param request - ModifyDBInstanceVectorSupportStatusRequest
|
|
21223
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
21224
|
-
* @returns ModifyDBInstanceVectorSupportStatusResponse
|
|
21225
|
-
*/
|
|
21226
|
-
async modifyDBInstanceVectorSupportStatusWithOptions(request, runtime) {
|
|
21227
|
-
request.validate();
|
|
21228
|
-
let query = {};
|
|
21229
|
-
if (!$dara.isNull(request.DBInstanceId)) {
|
|
21230
|
-
query["DBInstanceId"] = request.DBInstanceId;
|
|
21231
|
-
}
|
|
21232
|
-
if (!$dara.isNull(request.status)) {
|
|
21233
|
-
query["Status"] = request.status;
|
|
21234
|
-
}
|
|
21235
|
-
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
21236
|
-
query: openapi_core_2.OpenApiUtil.query(query),
|
|
21237
|
-
});
|
|
21238
|
-
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
21239
|
-
action: "ModifyDBInstanceVectorSupportStatus",
|
|
21240
|
-
version: "2014-08-15",
|
|
21241
|
-
protocol: "HTTPS",
|
|
21242
|
-
pathname: "/",
|
|
21243
|
-
method: "POST",
|
|
21244
|
-
authType: "AK",
|
|
21245
|
-
style: "RPC",
|
|
21246
|
-
reqBodyType: "formData",
|
|
21247
|
-
bodyType: "json",
|
|
21248
|
-
});
|
|
21249
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBInstanceVectorSupportStatusResponse({}));
|
|
21250
|
-
}
|
|
21251
|
-
/**
|
|
21252
|
-
* 修改实例向量支持状态
|
|
21253
|
-
*
|
|
21254
|
-
* @param request - ModifyDBInstanceVectorSupportStatusRequest
|
|
21255
|
-
* @returns ModifyDBInstanceVectorSupportStatusResponse
|
|
21256
|
-
*/
|
|
21257
|
-
async modifyDBInstanceVectorSupportStatus(request) {
|
|
21258
|
-
let runtime = new $dara.RuntimeOptions({});
|
|
21259
|
-
return await this.modifyDBInstanceVectorSupportStatusWithOptions(request, runtime);
|
|
21260
|
-
}
|
|
21261
21146
|
/**
|
|
21262
21147
|
* Changes the specifications, storage type, and storage capacity of an ApsaraDB RDS for MySQL instance that runs RDS Cluster Edition.
|
|
21263
21148
|
*
|
|
@@ -22780,60 +22665,6 @@ class Client extends openapi_core_1.default {
|
|
|
22780
22665
|
let runtime = new $dara.RuntimeOptions({});
|
|
22781
22666
|
return await this.modifyParameterGroupWithOptions(request, runtime);
|
|
22782
22667
|
}
|
|
22783
|
-
/**
|
|
22784
|
-
* 修改块存储属性
|
|
22785
|
-
*
|
|
22786
|
-
* @param request - ModifyRCDiskAttributeRequest
|
|
22787
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
22788
|
-
* @returns ModifyRCDiskAttributeResponse
|
|
22789
|
-
*/
|
|
22790
|
-
async modifyRCDiskAttributeWithOptions(request, runtime) {
|
|
22791
|
-
request.validate();
|
|
22792
|
-
let query = {};
|
|
22793
|
-
if (!$dara.isNull(request.burstingEnabled)) {
|
|
22794
|
-
query["BurstingEnabled"] = request.burstingEnabled;
|
|
22795
|
-
}
|
|
22796
|
-
if (!$dara.isNull(request.deleteWithInstance)) {
|
|
22797
|
-
query["DeleteWithInstance"] = request.deleteWithInstance;
|
|
22798
|
-
}
|
|
22799
|
-
if (!$dara.isNull(request.description)) {
|
|
22800
|
-
query["Description"] = request.description;
|
|
22801
|
-
}
|
|
22802
|
-
if (!$dara.isNull(request.diskId)) {
|
|
22803
|
-
query["DiskId"] = request.diskId;
|
|
22804
|
-
}
|
|
22805
|
-
if (!$dara.isNull(request.diskName)) {
|
|
22806
|
-
query["DiskName"] = request.diskName;
|
|
22807
|
-
}
|
|
22808
|
-
if (!$dara.isNull(request.regionId)) {
|
|
22809
|
-
query["RegionId"] = request.regionId;
|
|
22810
|
-
}
|
|
22811
|
-
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
22812
|
-
query: openapi_core_2.OpenApiUtil.query(query),
|
|
22813
|
-
});
|
|
22814
|
-
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
22815
|
-
action: "ModifyRCDiskAttribute",
|
|
22816
|
-
version: "2014-08-15",
|
|
22817
|
-
protocol: "HTTPS",
|
|
22818
|
-
pathname: "/",
|
|
22819
|
-
method: "POST",
|
|
22820
|
-
authType: "AK",
|
|
22821
|
-
style: "RPC",
|
|
22822
|
-
reqBodyType: "formData",
|
|
22823
|
-
bodyType: "json",
|
|
22824
|
-
});
|
|
22825
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyRCDiskAttributeResponse({}));
|
|
22826
|
-
}
|
|
22827
|
-
/**
|
|
22828
|
-
* 修改块存储属性
|
|
22829
|
-
*
|
|
22830
|
-
* @param request - ModifyRCDiskAttributeRequest
|
|
22831
|
-
* @returns ModifyRCDiskAttributeResponse
|
|
22832
|
-
*/
|
|
22833
|
-
async modifyRCDiskAttribute(request) {
|
|
22834
|
-
let runtime = new $dara.RuntimeOptions({});
|
|
22835
|
-
return await this.modifyRCDiskAttributeWithOptions(request, runtime);
|
|
22836
|
-
}
|
|
22837
22668
|
/**
|
|
22838
22669
|
* 修改RDS用户磁盘付费类型
|
|
22839
22670
|
*
|
|
@@ -22844,9 +22675,6 @@ class Client extends openapi_core_1.default {
|
|
|
22844
22675
|
async modifyRCDiskChargeTypeWithOptions(request, runtime) {
|
|
22845
22676
|
request.validate();
|
|
22846
22677
|
let query = {};
|
|
22847
|
-
if (!$dara.isNull(request.autoPay)) {
|
|
22848
|
-
query["AutoPay"] = request.autoPay;
|
|
22849
|
-
}
|
|
22850
22678
|
if (!$dara.isNull(request.autoRenew)) {
|
|
22851
22679
|
query["AutoRenew"] = request.autoRenew;
|
|
22852
22680
|
}
|
|
@@ -22865,18 +22693,12 @@ class Client extends openapi_core_1.default {
|
|
|
22865
22693
|
if (!$dara.isNull(request.payType)) {
|
|
22866
22694
|
query["PayType"] = request.payType;
|
|
22867
22695
|
}
|
|
22868
|
-
if (!$dara.isNull(request.period)) {
|
|
22869
|
-
query["Period"] = request.period;
|
|
22870
|
-
}
|
|
22871
22696
|
if (!$dara.isNull(request.promotionCode)) {
|
|
22872
22697
|
query["PromotionCode"] = request.promotionCode;
|
|
22873
22698
|
}
|
|
22874
22699
|
if (!$dara.isNull(request.regionId)) {
|
|
22875
22700
|
query["RegionId"] = request.regionId;
|
|
22876
22701
|
}
|
|
22877
|
-
if (!$dara.isNull(request.usedTime)) {
|
|
22878
|
-
query["UsedTime"] = request.usedTime;
|
|
22879
|
-
}
|
|
22880
22702
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
22881
22703
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
22882
22704
|
});
|
|
@@ -26952,9 +26774,6 @@ class Client extends openapi_core_1.default {
|
|
|
26952
26774
|
if (!$dara.isNull(request.regionId)) {
|
|
26953
26775
|
query["RegionId"] = request.regionId;
|
|
26954
26776
|
}
|
|
26955
|
-
if (!$dara.isNull(request.stoppedMode)) {
|
|
26956
|
-
query["StoppedMode"] = request.stoppedMode;
|
|
26957
|
-
}
|
|
26958
26777
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
26959
26778
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
26960
26779
|
});
|
|
@@ -27016,9 +26835,6 @@ class Client extends openapi_core_1.default {
|
|
|
27016
26835
|
if (!$dara.isNull(request.regionId)) {
|
|
27017
26836
|
query["RegionId"] = request.regionId;
|
|
27018
26837
|
}
|
|
27019
|
-
if (!$dara.isNull(request.stoppedMode)) {
|
|
27020
|
-
query["StoppedMode"] = request.stoppedMode;
|
|
27021
|
-
}
|
|
27022
26838
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
27023
26839
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
27024
26840
|
});
|