@alicloud/ebs20210730 2.3.0 → 2.3.1
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 +7382 -482
- package/dist/client.js +973 -481
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +7394 -481
package/dist/client.js
CHANGED
|
@@ -33,7 +33,6 @@ exports.DescribeDisksResponseBodyDataAccessAuthorizationEcs = exports.DescribeDi
|
|
|
33
33
|
exports.UpdateEnterpriseSnapshotPolicyRequestStorageRule = exports.UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRules = exports.UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules = exports.UpdateEnterpriseSnapshotPolicyRequestSchedule = exports.UpdateEnterpriseSnapshotPolicyRequestRetainRule = exports.UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo = exports.UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions = exports.TagResourcesRequestTag = exports.QueryDedicatedBlockStorageClusterInventoryDataResponseBodyData = exports.QueryDedicatedBlockStorageClusterInventoryDataResponseBodyDataMonitorItems = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesRequestTag = exports.GetDiskResponseBodyDisk = exports.GetDiskResponseBodyDiskTags = exports.GetDiskResponseBodyDiskAttachments = exports.GetDiskResponseBodyDiskAccessAuthorization = exports.GetDiskResponseBodyDiskAccessAuthorizationPod = exports.GetDiskResponseBodyDiskAccessAuthorizationEcs = exports.DescribeSolutionInstanceConfigurationRequestParameters = exports.DescribeReplicaGroupDrillsResponseBodyDrills = exports.DescribeReplicaGroupDrillsResponseBodyDrillsPairsInfo = exports.DescribeRegionsResponseBodyRegions = exports.DescribeRegionsResponseBodyRegionsZones = exports.DescribePairDrillsResponseBodyDrills = exports.DescribeMetricDataResponseBodyDataList = exports.DescribeLensMonitorDisksResponseBodyDiskInfos = exports.DescribeLensMonitorDisksResponseBodyDiskInfosTags = exports.DescribeEventsResponseBodyResourceEvents = exports.DescribeEnterpriseSnapshotPolicyResponseBodyPolicies = exports.DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesTags = exports.DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesStorageRule = exports.DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRules = exports.DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRulesRules = exports.DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSchedule = exports.DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesRetainRule = exports.DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfo = exports.DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfoRegions = exports.DescribeEnterpriseSnapshotPolicyRequestTag = exports.DescribeDisksResponseBodyData = exports.DescribeDisksResponseBodyDataTags = exports.DescribeDisksResponseBodyDataAttachments = exports.DescribeDisksResponseBodyDataAccessAuthorization = exports.DescribeDisksResponseBodyDataAccessAuthorizationPod = void 0;
|
|
34
34
|
// This file is auto-generated, don't edit it
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
36
|
*/
|
|
38
37
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
39
38
|
const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
|
|
@@ -1333,6 +1332,7 @@ class DescribeDiskReplicaGroupsRequest extends $tea.Model {
|
|
|
1333
1332
|
return {
|
|
1334
1333
|
groupIds: 'GroupIds',
|
|
1335
1334
|
maxResults: 'MaxResults',
|
|
1335
|
+
name: 'Name',
|
|
1336
1336
|
nextToken: 'NextToken',
|
|
1337
1337
|
pageNumber: 'PageNumber',
|
|
1338
1338
|
pageSize: 'PageSize',
|
|
@@ -1346,6 +1346,7 @@ class DescribeDiskReplicaGroupsRequest extends $tea.Model {
|
|
|
1346
1346
|
return {
|
|
1347
1347
|
groupIds: 'string',
|
|
1348
1348
|
maxResults: 'number',
|
|
1349
|
+
name: 'string',
|
|
1349
1350
|
nextToken: 'string',
|
|
1350
1351
|
pageNumber: 'number',
|
|
1351
1352
|
pageSize: 'number',
|
|
@@ -1468,6 +1469,7 @@ class DescribeDiskReplicaPairsRequest extends $tea.Model {
|
|
|
1468
1469
|
static names() {
|
|
1469
1470
|
return {
|
|
1470
1471
|
maxResults: 'MaxResults',
|
|
1472
|
+
name: 'Name',
|
|
1471
1473
|
nextToken: 'NextToken',
|
|
1472
1474
|
pageNumber: 'PageNumber',
|
|
1473
1475
|
pageSize: 'PageSize',
|
|
@@ -1482,6 +1484,7 @@ class DescribeDiskReplicaPairsRequest extends $tea.Model {
|
|
|
1482
1484
|
static types() {
|
|
1483
1485
|
return {
|
|
1484
1486
|
maxResults: 'number',
|
|
1487
|
+
name: 'string',
|
|
1485
1488
|
nextToken: 'string',
|
|
1486
1489
|
pageNumber: 'number',
|
|
1487
1490
|
pageSize: 'number',
|
|
@@ -5467,16 +5470,19 @@ class Client extends openapi_client_1.default {
|
|
|
5467
5470
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
5468
5471
|
}
|
|
5469
5472
|
/**
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5473
|
+
* Adds a replication pair to a replication pair-consistent group. You can use a replication pair-consistent group to batch manage replication pairs. When you call this operation, you can specify parameters, such as ReplicaGroupId, ReplicaPairId, and ClientToken, in the request.
|
|
5474
|
+
*
|
|
5475
|
+
* @remarks
|
|
5476
|
+
* ## [](#)Usage notes
|
|
5477
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
5478
|
+
* * A replication pair and a replication pair-consistent group replicate in the same direction if they have the same primary region (production region), primary zone (production zone), secondary region (disaster recovery region), and secondary zone (disaster recovery zone). A replication pair can be added only to a replication pair-consistent group that replicates in the same direction as the replication pair.
|
|
5479
|
+
* * Before you can add a replication pair to a replication pair-consistent group, make sure that the pair and the group are in the **Created** (`created`) or **Stopped** (`stopped`) state.
|
|
5480
|
+
* * Up to 17 replication pairs can be added to a single replication pair-consistent group.
|
|
5481
|
+
* * After replication pairs are added to a replication pair-consistent group, the recovery point objective (RPO) of the group takes effect on the pairs in place of their original RPOs.
|
|
5482
|
+
*
|
|
5483
|
+
* @param request - AddDiskReplicaPairRequest
|
|
5484
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5485
|
+
* @returns AddDiskReplicaPairResponse
|
|
5480
5486
|
*/
|
|
5481
5487
|
async addDiskReplicaPairWithOptions(request, runtime) {
|
|
5482
5488
|
tea_util_1.default.validateModel(request);
|
|
@@ -5510,27 +5516,33 @@ class Client extends openapi_client_1.default {
|
|
|
5510
5516
|
return $tea.cast(await this.callApi(params, req, runtime), new AddDiskReplicaPairResponse({}));
|
|
5511
5517
|
}
|
|
5512
5518
|
/**
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5519
|
+
* Adds a replication pair to a replication pair-consistent group. You can use a replication pair-consistent group to batch manage replication pairs. When you call this operation, you can specify parameters, such as ReplicaGroupId, ReplicaPairId, and ClientToken, in the request.
|
|
5520
|
+
*
|
|
5521
|
+
* @remarks
|
|
5522
|
+
* ## [](#)Usage notes
|
|
5523
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
5524
|
+
* * A replication pair and a replication pair-consistent group replicate in the same direction if they have the same primary region (production region), primary zone (production zone), secondary region (disaster recovery region), and secondary zone (disaster recovery zone). A replication pair can be added only to a replication pair-consistent group that replicates in the same direction as the replication pair.
|
|
5525
|
+
* * Before you can add a replication pair to a replication pair-consistent group, make sure that the pair and the group are in the **Created** (`created`) or **Stopped** (`stopped`) state.
|
|
5526
|
+
* * Up to 17 replication pairs can be added to a single replication pair-consistent group.
|
|
5527
|
+
* * After replication pairs are added to a replication pair-consistent group, the recovery point objective (RPO) of the group takes effect on the pairs in place of their original RPOs.
|
|
5528
|
+
*
|
|
5529
|
+
* @param request - AddDiskReplicaPairRequest
|
|
5530
|
+
* @returns AddDiskReplicaPairResponse
|
|
5522
5531
|
*/
|
|
5523
5532
|
async addDiskReplicaPair(request) {
|
|
5524
5533
|
let runtime = new $Util.RuntimeOptions({});
|
|
5525
5534
|
return await this.addDiskReplicaPairWithOptions(request, runtime);
|
|
5526
5535
|
}
|
|
5527
5536
|
/**
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5537
|
+
* Enables CloudLens for EBS.
|
|
5538
|
+
*
|
|
5539
|
+
* @remarks
|
|
5540
|
+
* ## Usage notes
|
|
5541
|
+
* CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
5542
|
+
*
|
|
5543
|
+
* @param request - ApplyLensServiceRequest
|
|
5544
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5545
|
+
* @returns ApplyLensServiceResponse
|
|
5534
5546
|
*/
|
|
5535
5547
|
async applyLensServiceWithOptions(runtime) {
|
|
5536
5548
|
let req = new $OpenApi.OpenApiRequest({});
|
|
@@ -5548,15 +5560,24 @@ class Client extends openapi_client_1.default {
|
|
|
5548
5560
|
return $tea.cast(await this.callApi(params, req, runtime), new ApplyLensServiceResponse({}));
|
|
5549
5561
|
}
|
|
5550
5562
|
/**
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5563
|
+
* Enables CloudLens for EBS.
|
|
5564
|
+
*
|
|
5565
|
+
* @remarks
|
|
5566
|
+
* ## Usage notes
|
|
5567
|
+
* CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
5568
|
+
* @returns ApplyLensServiceResponse
|
|
5555
5569
|
*/
|
|
5556
5570
|
async applyLensService() {
|
|
5557
5571
|
let runtime = new $Util.RuntimeOptions({});
|
|
5558
5572
|
return await this.applyLensServiceWithOptions(runtime);
|
|
5559
5573
|
}
|
|
5574
|
+
/**
|
|
5575
|
+
* Bind disks into a enterprise-level snapshot policy.
|
|
5576
|
+
*
|
|
5577
|
+
* @param request - BindEnterpriseSnapshotPolicyRequest
|
|
5578
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5579
|
+
* @returns BindEnterpriseSnapshotPolicyResponse
|
|
5580
|
+
*/
|
|
5560
5581
|
async bindEnterpriseSnapshotPolicyWithOptions(request, runtime) {
|
|
5561
5582
|
tea_util_1.default.validateModel(request);
|
|
5562
5583
|
let query = {};
|
|
@@ -5588,17 +5609,26 @@ class Client extends openapi_client_1.default {
|
|
|
5588
5609
|
});
|
|
5589
5610
|
return $tea.cast(await this.callApi(params, req, runtime), new BindEnterpriseSnapshotPolicyResponse({}));
|
|
5590
5611
|
}
|
|
5612
|
+
/**
|
|
5613
|
+
* Bind disks into a enterprise-level snapshot policy.
|
|
5614
|
+
*
|
|
5615
|
+
* @param request - BindEnterpriseSnapshotPolicyRequest
|
|
5616
|
+
* @returns BindEnterpriseSnapshotPolicyResponse
|
|
5617
|
+
*/
|
|
5591
5618
|
async bindEnterpriseSnapshotPolicy(request) {
|
|
5592
5619
|
let runtime = new $Util.RuntimeOptions({});
|
|
5593
5620
|
return await this.bindEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
5594
5621
|
}
|
|
5595
5622
|
/**
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5623
|
+
* Disables CloudLens for EBS.
|
|
5624
|
+
*
|
|
5625
|
+
* @remarks
|
|
5626
|
+
* ## Usage notes
|
|
5627
|
+
* CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
5628
|
+
*
|
|
5629
|
+
* @param request - CancelLensServiceRequest
|
|
5630
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5631
|
+
* @returns CancelLensServiceResponse
|
|
5602
5632
|
*/
|
|
5603
5633
|
async cancelLensServiceWithOptions(runtime) {
|
|
5604
5634
|
let req = new $OpenApi.OpenApiRequest({});
|
|
@@ -5616,15 +5646,24 @@ class Client extends openapi_client_1.default {
|
|
|
5616
5646
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelLensServiceResponse({}));
|
|
5617
5647
|
}
|
|
5618
5648
|
/**
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5649
|
+
* Disables CloudLens for EBS.
|
|
5650
|
+
*
|
|
5651
|
+
* @remarks
|
|
5652
|
+
* ## Usage notes
|
|
5653
|
+
* CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
5654
|
+
* @returns CancelLensServiceResponse
|
|
5623
5655
|
*/
|
|
5624
5656
|
async cancelLensService() {
|
|
5625
5657
|
let runtime = new $Util.RuntimeOptions({});
|
|
5626
5658
|
return await this.cancelLensServiceWithOptions(runtime);
|
|
5627
5659
|
}
|
|
5660
|
+
/**
|
|
5661
|
+
* Changes the resource group to which an Elastic Block Storage (EBS) resource belongs.
|
|
5662
|
+
*
|
|
5663
|
+
* @param request - ChangeResourceGroupRequest
|
|
5664
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5665
|
+
* @returns ChangeResourceGroupResponse
|
|
5666
|
+
*/
|
|
5628
5667
|
async changeResourceGroupWithOptions(request, runtime) {
|
|
5629
5668
|
tea_util_1.default.validateModel(request);
|
|
5630
5669
|
let query = {};
|
|
@@ -5659,10 +5698,23 @@ class Client extends openapi_client_1.default {
|
|
|
5659
5698
|
});
|
|
5660
5699
|
return $tea.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
5661
5700
|
}
|
|
5701
|
+
/**
|
|
5702
|
+
* Changes the resource group to which an Elastic Block Storage (EBS) resource belongs.
|
|
5703
|
+
*
|
|
5704
|
+
* @param request - ChangeResourceGroupRequest
|
|
5705
|
+
* @returns ChangeResourceGroupResponse
|
|
5706
|
+
*/
|
|
5662
5707
|
async changeResourceGroup(request) {
|
|
5663
5708
|
let runtime = new $Util.RuntimeOptions({});
|
|
5664
5709
|
return await this.changeResourceGroupWithOptions(request, runtime);
|
|
5665
5710
|
}
|
|
5711
|
+
/**
|
|
5712
|
+
* Clears the disaster recovery drills that were initiated from the secondary disk of a replication pair and deletes the auto-created drill disks.
|
|
5713
|
+
*
|
|
5714
|
+
* @param request - ClearPairDrillRequest
|
|
5715
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5716
|
+
* @returns ClearPairDrillResponse
|
|
5717
|
+
*/
|
|
5666
5718
|
async clearPairDrillWithOptions(request, runtime) {
|
|
5667
5719
|
tea_util_1.default.validateModel(request);
|
|
5668
5720
|
let query = {};
|
|
@@ -5691,10 +5743,23 @@ class Client extends openapi_client_1.default {
|
|
|
5691
5743
|
});
|
|
5692
5744
|
return $tea.cast(await this.callApi(params, req, runtime), new ClearPairDrillResponse({}));
|
|
5693
5745
|
}
|
|
5746
|
+
/**
|
|
5747
|
+
* Clears the disaster recovery drills that were initiated from the secondary disk of a replication pair and deletes the auto-created drill disks.
|
|
5748
|
+
*
|
|
5749
|
+
* @param request - ClearPairDrillRequest
|
|
5750
|
+
* @returns ClearPairDrillResponse
|
|
5751
|
+
*/
|
|
5694
5752
|
async clearPairDrill(request) {
|
|
5695
5753
|
let runtime = new $Util.RuntimeOptions({});
|
|
5696
5754
|
return await this.clearPairDrillWithOptions(request, runtime);
|
|
5697
5755
|
}
|
|
5756
|
+
/**
|
|
5757
|
+
* Clears the disaster recovery drills that were initiated from the secondary disks of a replication pair-consistent group and deletes the auto-created drill disks.
|
|
5758
|
+
*
|
|
5759
|
+
* @param request - ClearReplicaGroupDrillRequest
|
|
5760
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5761
|
+
* @returns ClearReplicaGroupDrillResponse
|
|
5762
|
+
*/
|
|
5698
5763
|
async clearReplicaGroupDrillWithOptions(request, runtime) {
|
|
5699
5764
|
tea_util_1.default.validateModel(request);
|
|
5700
5765
|
let query = {};
|
|
@@ -5723,19 +5788,29 @@ class Client extends openapi_client_1.default {
|
|
|
5723
5788
|
});
|
|
5724
5789
|
return $tea.cast(await this.callApi(params, req, runtime), new ClearReplicaGroupDrillResponse({}));
|
|
5725
5790
|
}
|
|
5791
|
+
/**
|
|
5792
|
+
* Clears the disaster recovery drills that were initiated from the secondary disks of a replication pair-consistent group and deletes the auto-created drill disks.
|
|
5793
|
+
*
|
|
5794
|
+
* @param request - ClearReplicaGroupDrillRequest
|
|
5795
|
+
* @returns ClearReplicaGroupDrillResponse
|
|
5796
|
+
*/
|
|
5726
5797
|
async clearReplicaGroupDrill(request) {
|
|
5727
5798
|
let runtime = new $Util.RuntimeOptions({});
|
|
5728
5799
|
return await this.clearReplicaGroupDrillWithOptions(request, runtime);
|
|
5729
5800
|
}
|
|
5730
5801
|
/**
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5802
|
+
* Creates a dedicated block storage cluster. When you call this operation, you can specify parameters, such as Azone, Capacity, Type, and PeriodUnit, in the request.
|
|
5803
|
+
*
|
|
5804
|
+
* @remarks
|
|
5805
|
+
* ## [](#)Usage notes
|
|
5806
|
+
* * Dedicated block storage clusters are physically isolated from public block storage clusters. The owner of each dedicated block storage cluster has exclusive access to all resources in the cluster.
|
|
5807
|
+
* * Disks created in a dedicated block storage cluster can be attached only to Elastic Compute Service (ECS) instances that reside in the same zone as the cluster. Before you create a dedicated block storage cluster, decide the regions and zones in which to deploy your cloud resources.
|
|
5808
|
+
* * Dedicated block storage clusters are classified into basic and performance types. When you create a dedicated block storage cluster, select a cluster type based on your business requirements.
|
|
5809
|
+
* * You are charged for creating dedicated block storage clusters.
|
|
5810
|
+
*
|
|
5811
|
+
* @param request - CreateDedicatedBlockStorageClusterRequest
|
|
5812
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5813
|
+
* @returns CreateDedicatedBlockStorageClusterResponse
|
|
5739
5814
|
*/
|
|
5740
5815
|
async createDedicatedBlockStorageClusterWithOptions(request, runtime) {
|
|
5741
5816
|
tea_util_1.default.validateModel(request);
|
|
@@ -5787,30 +5862,37 @@ class Client extends openapi_client_1.default {
|
|
|
5787
5862
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDedicatedBlockStorageClusterResponse({}));
|
|
5788
5863
|
}
|
|
5789
5864
|
/**
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5865
|
+
* Creates a dedicated block storage cluster. When you call this operation, you can specify parameters, such as Azone, Capacity, Type, and PeriodUnit, in the request.
|
|
5866
|
+
*
|
|
5867
|
+
* @remarks
|
|
5868
|
+
* ## [](#)Usage notes
|
|
5869
|
+
* * Dedicated block storage clusters are physically isolated from public block storage clusters. The owner of each dedicated block storage cluster has exclusive access to all resources in the cluster.
|
|
5870
|
+
* * Disks created in a dedicated block storage cluster can be attached only to Elastic Compute Service (ECS) instances that reside in the same zone as the cluster. Before you create a dedicated block storage cluster, decide the regions and zones in which to deploy your cloud resources.
|
|
5871
|
+
* * Dedicated block storage clusters are classified into basic and performance types. When you create a dedicated block storage cluster, select a cluster type based on your business requirements.
|
|
5872
|
+
* * You are charged for creating dedicated block storage clusters.
|
|
5873
|
+
*
|
|
5874
|
+
* @param request - CreateDedicatedBlockStorageClusterRequest
|
|
5875
|
+
* @returns CreateDedicatedBlockStorageClusterResponse
|
|
5797
5876
|
*/
|
|
5798
5877
|
async createDedicatedBlockStorageCluster(request) {
|
|
5799
5878
|
let runtime = new $Util.RuntimeOptions({});
|
|
5800
5879
|
return await this.createDedicatedBlockStorageClusterWithOptions(request, runtime);
|
|
5801
5880
|
}
|
|
5802
5881
|
/**
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5882
|
+
* Creates a replication pair-consistent group.
|
|
5883
|
+
*
|
|
5884
|
+
* @remarks
|
|
5885
|
+
* ## [](#)Usage notes
|
|
5886
|
+
* The replication pair-consistent group feature allows you to batch manage multiple disks in disaster recovery scenarios. You can restore the data of all disks in the same replication pair-consistent group to the same point in time to allow for disaster recovery of instances.
|
|
5887
|
+
* Take note of the following items:
|
|
5888
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
5889
|
+
* * Replication pair-consistent groups can be used to implement disaster recovery across zones within the same region and disaster recovery across regions.
|
|
5890
|
+
* * A replication pair and a replication pair-consistent group can replicate in the same direction if they have the same primary region (production region), primary zone (production zone), secondary region (disaster recovery region), and secondary zone (disaster recovery zone). A replication pair can be added to only a replication pair-consistent group that replicates in the same direction as the replication pair.
|
|
5891
|
+
* * After replication pairs are added to a replication pair-consistent group, the recovery point objective (RPO) of the group takes effect on the pairs instead of their original RPOs.
|
|
5892
|
+
*
|
|
5893
|
+
* @param request - CreateDiskReplicaGroupRequest
|
|
5894
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5895
|
+
* @returns CreateDiskReplicaGroupResponse
|
|
5814
5896
|
*/
|
|
5815
5897
|
async createDiskReplicaGroupWithOptions(request, runtime) {
|
|
5816
5898
|
tea_util_1.default.validateModel(request);
|
|
@@ -5865,32 +5947,38 @@ class Client extends openapi_client_1.default {
|
|
|
5865
5947
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDiskReplicaGroupResponse({}));
|
|
5866
5948
|
}
|
|
5867
5949
|
/**
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5950
|
+
* Creates a replication pair-consistent group.
|
|
5951
|
+
*
|
|
5952
|
+
* @remarks
|
|
5953
|
+
* ## [](#)Usage notes
|
|
5954
|
+
* The replication pair-consistent group feature allows you to batch manage multiple disks in disaster recovery scenarios. You can restore the data of all disks in the same replication pair-consistent group to the same point in time to allow for disaster recovery of instances.
|
|
5955
|
+
* Take note of the following items:
|
|
5956
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
5957
|
+
* * Replication pair-consistent groups can be used to implement disaster recovery across zones within the same region and disaster recovery across regions.
|
|
5958
|
+
* * A replication pair and a replication pair-consistent group can replicate in the same direction if they have the same primary region (production region), primary zone (production zone), secondary region (disaster recovery region), and secondary zone (disaster recovery zone). A replication pair can be added to only a replication pair-consistent group that replicates in the same direction as the replication pair.
|
|
5959
|
+
* * After replication pairs are added to a replication pair-consistent group, the recovery point objective (RPO) of the group takes effect on the pairs instead of their original RPOs.
|
|
5960
|
+
*
|
|
5961
|
+
* @param request - CreateDiskReplicaGroupRequest
|
|
5962
|
+
* @returns CreateDiskReplicaGroupResponse
|
|
5878
5963
|
*/
|
|
5879
5964
|
async createDiskReplicaGroup(request) {
|
|
5880
5965
|
let runtime = new $Util.RuntimeOptions({});
|
|
5881
5966
|
return await this.createDiskReplicaGroupWithOptions(request, runtime);
|
|
5882
5967
|
}
|
|
5883
5968
|
/**
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5969
|
+
* Creates a replication pair to asynchronously replicate data between disks.
|
|
5970
|
+
*
|
|
5971
|
+
* @remarks
|
|
5972
|
+
* Async replication is a feature that protects data across regions by using the data replication capability of Elastic Block Storage (EBS). This feature can be used to asynchronously replicate data from a disk in one region to a disk in another region for disaster recovery purposes. You can use this feature to implement disaster recovery for critical business to protect data in your databases and improve business continuity.
|
|
5973
|
+
* Currently, the async replication feature can asynchronously replicate data only between enhanced SSDs (ESSDs). The functionality of disks in replication pairs is limited. You are charged on a subscription basis for the bandwidth that is used by the async replication feature.
|
|
5974
|
+
* Before you call this operation, take note of the following items:
|
|
5975
|
+
* * Make sure that the source disk (primary disk) from which to replicate data and the destination disk (secondary disk) to which to replicate data are created. You can call the [CreateDisk](https://help.aliyun.com/document_detail/25513.html) operation to create disks.
|
|
5976
|
+
* * The secondary disk cannot reside the same region as the primary disk. The async replication feature is supported in the China (Hangzhou), China (Shanghai), China (Beijing), China (Shenzhen), China (Heyuan), China (Chengdu), China (Hong Kong), Singapore, US (Silicon Valley), and US (Virginia) regions.
|
|
5977
|
+
* * After you call this operation to create a replication pair, you must call the [StartDiskReplicaPair](https://help.aliyun.com/document_detail/354205.html) operation to enable async replication to periodically replicate data from the primary disk to the secondary disk across regions.
|
|
5978
|
+
*
|
|
5979
|
+
* @param request - CreateDiskReplicaPairRequest
|
|
5980
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5981
|
+
* @returns CreateDiskReplicaPairResponse
|
|
5894
5982
|
*/
|
|
5895
5983
|
async createDiskReplicaPairWithOptions(request, runtime) {
|
|
5896
5984
|
tea_util_1.default.validateModel(request);
|
|
@@ -5960,20 +6048,30 @@ class Client extends openapi_client_1.default {
|
|
|
5960
6048
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDiskReplicaPairResponse({}));
|
|
5961
6049
|
}
|
|
5962
6050
|
/**
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
6051
|
+
* Creates a replication pair to asynchronously replicate data between disks.
|
|
6052
|
+
*
|
|
6053
|
+
* @remarks
|
|
6054
|
+
* Async replication is a feature that protects data across regions by using the data replication capability of Elastic Block Storage (EBS). This feature can be used to asynchronously replicate data from a disk in one region to a disk in another region for disaster recovery purposes. You can use this feature to implement disaster recovery for critical business to protect data in your databases and improve business continuity.
|
|
6055
|
+
* Currently, the async replication feature can asynchronously replicate data only between enhanced SSDs (ESSDs). The functionality of disks in replication pairs is limited. You are charged on a subscription basis for the bandwidth that is used by the async replication feature.
|
|
6056
|
+
* Before you call this operation, take note of the following items:
|
|
6057
|
+
* * Make sure that the source disk (primary disk) from which to replicate data and the destination disk (secondary disk) to which to replicate data are created. You can call the [CreateDisk](https://help.aliyun.com/document_detail/25513.html) operation to create disks.
|
|
6058
|
+
* * The secondary disk cannot reside the same region as the primary disk. The async replication feature is supported in the China (Hangzhou), China (Shanghai), China (Beijing), China (Shenzhen), China (Heyuan), China (Chengdu), China (Hong Kong), Singapore, US (Silicon Valley), and US (Virginia) regions.
|
|
6059
|
+
* * After you call this operation to create a replication pair, you must call the [StartDiskReplicaPair](https://help.aliyun.com/document_detail/354205.html) operation to enable async replication to periodically replicate data from the primary disk to the secondary disk across regions.
|
|
6060
|
+
*
|
|
6061
|
+
* @param request - CreateDiskReplicaPairRequest
|
|
6062
|
+
* @returns CreateDiskReplicaPairResponse
|
|
5972
6063
|
*/
|
|
5973
6064
|
async createDiskReplicaPair(request) {
|
|
5974
6065
|
let runtime = new $Util.RuntimeOptions({});
|
|
5975
6066
|
return await this.createDiskReplicaPairWithOptions(request, runtime);
|
|
5976
6067
|
}
|
|
6068
|
+
/**
|
|
6069
|
+
* Create an enterprise-level snapshot policy
|
|
6070
|
+
*
|
|
6071
|
+
* @param tmpReq - CreateEnterpriseSnapshotPolicyRequest
|
|
6072
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6073
|
+
* @returns CreateEnterpriseSnapshotPolicyResponse
|
|
6074
|
+
*/
|
|
5977
6075
|
async createEnterpriseSnapshotPolicyWithOptions(tmpReq, runtime) {
|
|
5978
6076
|
tea_util_1.default.validateModel(tmpReq);
|
|
5979
6077
|
let request = new CreateEnterpriseSnapshotPolicyShrinkRequest({});
|
|
@@ -6049,16 +6147,23 @@ class Client extends openapi_client_1.default {
|
|
|
6049
6147
|
});
|
|
6050
6148
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateEnterpriseSnapshotPolicyResponse({}));
|
|
6051
6149
|
}
|
|
6150
|
+
/**
|
|
6151
|
+
* Create an enterprise-level snapshot policy
|
|
6152
|
+
*
|
|
6153
|
+
* @param request - CreateEnterpriseSnapshotPolicyRequest
|
|
6154
|
+
* @returns CreateEnterpriseSnapshotPolicyResponse
|
|
6155
|
+
*/
|
|
6052
6156
|
async createEnterpriseSnapshotPolicy(request) {
|
|
6053
6157
|
let runtime = new $Util.RuntimeOptions({});
|
|
6054
6158
|
return await this.createEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
6055
6159
|
}
|
|
6056
6160
|
/**
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6161
|
+
* @remarks
|
|
6162
|
+
* Currently, this API is only available for use with ACS resource hosting and is not yet open for direct invocation.
|
|
6163
|
+
*
|
|
6164
|
+
* @param request - DeleteDiskRequest
|
|
6165
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6166
|
+
* @returns DeleteDiskResponse
|
|
6062
6167
|
*/
|
|
6063
6168
|
async deleteDiskWithOptions(request, runtime) {
|
|
6064
6169
|
tea_util_1.default.validateModel(request);
|
|
@@ -6086,24 +6191,28 @@ class Client extends openapi_client_1.default {
|
|
|
6086
6191
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDiskResponse({}));
|
|
6087
6192
|
}
|
|
6088
6193
|
/**
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
6092
|
-
|
|
6194
|
+
* @remarks
|
|
6195
|
+
* Currently, this API is only available for use with ACS resource hosting and is not yet open for direct invocation.
|
|
6196
|
+
*
|
|
6197
|
+
* @param request - DeleteDiskRequest
|
|
6198
|
+
* @returns DeleteDiskResponse
|
|
6093
6199
|
*/
|
|
6094
6200
|
async deleteDisk(request) {
|
|
6095
6201
|
let runtime = new $Util.RuntimeOptions({});
|
|
6096
6202
|
return await this.deleteDiskWithOptions(request, runtime);
|
|
6097
6203
|
}
|
|
6098
6204
|
/**
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6205
|
+
* Deletes a replication pair-consistent group.
|
|
6206
|
+
*
|
|
6207
|
+
* @remarks
|
|
6208
|
+
* ## [](#)Usage notes
|
|
6209
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
6210
|
+
* * Before you can delete a replication pair-consistent group, make sure that no replication pairs exist in the group.
|
|
6211
|
+
* * The replication pair-consistent group that you want to delete must be in the **Created** (`created`), **Creation Failed** (`create_failed`), **Stopped** (`stopped`), **Failovered** (`failovered`), **Deleting** (`deleting`), **Deletion Failed** (`delete_failed`), or **Invalid** (`invalid`) state.
|
|
6212
|
+
*
|
|
6213
|
+
* @param request - DeleteDiskReplicaGroupRequest
|
|
6214
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6215
|
+
* @returns DeleteDiskReplicaGroupResponse
|
|
6107
6216
|
*/
|
|
6108
6217
|
async deleteDiskReplicaGroupWithOptions(request, runtime) {
|
|
6109
6218
|
tea_util_1.default.validateModel(request);
|
|
@@ -6134,27 +6243,33 @@ class Client extends openapi_client_1.default {
|
|
|
6134
6243
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDiskReplicaGroupResponse({}));
|
|
6135
6244
|
}
|
|
6136
6245
|
/**
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6246
|
+
* Deletes a replication pair-consistent group.
|
|
6247
|
+
*
|
|
6248
|
+
* @remarks
|
|
6249
|
+
* ## [](#)Usage notes
|
|
6250
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
6251
|
+
* * Before you can delete a replication pair-consistent group, make sure that no replication pairs exist in the group.
|
|
6252
|
+
* * The replication pair-consistent group that you want to delete must be in the **Created** (`created`), **Creation Failed** (`create_failed`), **Stopped** (`stopped`), **Failovered** (`failovered`), **Deleting** (`deleting`), **Deletion Failed** (`delete_failed`), or **Invalid** (`invalid`) state.
|
|
6253
|
+
*
|
|
6254
|
+
* @param request - DeleteDiskReplicaGroupRequest
|
|
6255
|
+
* @returns DeleteDiskReplicaGroupResponse
|
|
6144
6256
|
*/
|
|
6145
6257
|
async deleteDiskReplicaGroup(request) {
|
|
6146
6258
|
let runtime = new $Util.RuntimeOptions({});
|
|
6147
6259
|
return await this.deleteDiskReplicaGroupWithOptions(request, runtime);
|
|
6148
6260
|
}
|
|
6149
6261
|
/**
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6262
|
+
* Deletes replication pairs.
|
|
6263
|
+
*
|
|
6264
|
+
* @remarks
|
|
6265
|
+
* ## [](#)Usage notes
|
|
6266
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
6267
|
+
* * Only replication pairs that are in the **Stopped** (`stopped`), **Invalid** (`invalid`), or **Failovered** (`failovered`) state can be deleted. This operation deletes only replication pairs. The primary and secondary disks in the deleted replication pairs are retained.
|
|
6268
|
+
* * To delete a replication pair, you must call this operation in the region where the primary disk is located. After the replication pair is deleted, the functionality limits are lifted from the primary and secondary disks. For example, you can attach the secondary disk, resize the disk, or read data from or write data to the disk.
|
|
6269
|
+
*
|
|
6270
|
+
* @param request - DeleteDiskReplicaPairRequest
|
|
6271
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6272
|
+
* @returns DeleteDiskReplicaPairResponse
|
|
6158
6273
|
*/
|
|
6159
6274
|
async deleteDiskReplicaPairWithOptions(request, runtime) {
|
|
6160
6275
|
tea_util_1.default.validateModel(request);
|
|
@@ -6185,18 +6300,28 @@ class Client extends openapi_client_1.default {
|
|
|
6185
6300
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDiskReplicaPairResponse({}));
|
|
6186
6301
|
}
|
|
6187
6302
|
/**
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6303
|
+
* Deletes replication pairs.
|
|
6304
|
+
*
|
|
6305
|
+
* @remarks
|
|
6306
|
+
* ## [](#)Usage notes
|
|
6307
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
6308
|
+
* * Only replication pairs that are in the **Stopped** (`stopped`), **Invalid** (`invalid`), or **Failovered** (`failovered`) state can be deleted. This operation deletes only replication pairs. The primary and secondary disks in the deleted replication pairs are retained.
|
|
6309
|
+
* * To delete a replication pair, you must call this operation in the region where the primary disk is located. After the replication pair is deleted, the functionality limits are lifted from the primary and secondary disks. For example, you can attach the secondary disk, resize the disk, or read data from or write data to the disk.
|
|
6310
|
+
*
|
|
6311
|
+
* @param request - DeleteDiskReplicaPairRequest
|
|
6312
|
+
* @returns DeleteDiskReplicaPairResponse
|
|
6195
6313
|
*/
|
|
6196
6314
|
async deleteDiskReplicaPair(request) {
|
|
6197
6315
|
let runtime = new $Util.RuntimeOptions({});
|
|
6198
6316
|
return await this.deleteDiskReplicaPairWithOptions(request, runtime);
|
|
6199
6317
|
}
|
|
6318
|
+
/**
|
|
6319
|
+
* Delete a enterprise-level snapshot policy.
|
|
6320
|
+
*
|
|
6321
|
+
* @param request - DeleteEnterpriseSnapshotPolicyRequest
|
|
6322
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6323
|
+
* @returns DeleteEnterpriseSnapshotPolicyResponse
|
|
6324
|
+
*/
|
|
6200
6325
|
async deleteEnterpriseSnapshotPolicyWithOptions(request, runtime) {
|
|
6201
6326
|
tea_util_1.default.validateModel(request);
|
|
6202
6327
|
let query = {};
|
|
@@ -6225,21 +6350,30 @@ class Client extends openapi_client_1.default {
|
|
|
6225
6350
|
});
|
|
6226
6351
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteEnterpriseSnapshotPolicyResponse({}));
|
|
6227
6352
|
}
|
|
6353
|
+
/**
|
|
6354
|
+
* Delete a enterprise-level snapshot policy.
|
|
6355
|
+
*
|
|
6356
|
+
* @param request - DeleteEnterpriseSnapshotPolicyRequest
|
|
6357
|
+
* @returns DeleteEnterpriseSnapshotPolicyResponse
|
|
6358
|
+
*/
|
|
6228
6359
|
async deleteEnterpriseSnapshotPolicy(request) {
|
|
6229
6360
|
let runtime = new $Util.RuntimeOptions({});
|
|
6230
6361
|
return await this.deleteEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
6231
6362
|
}
|
|
6232
6363
|
/**
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6364
|
+
* Queries the details of one or more disks in a dedicated block storage cluster.
|
|
6365
|
+
*
|
|
6366
|
+
* @remarks
|
|
6367
|
+
* You can use one of the following methods to check the responses:
|
|
6368
|
+
* * Method 1: Use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the DescribeDisks operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
6369
|
+
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return.
|
|
6370
|
+
* You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use method 1. When `NextToken` is specified, `PageSize` and `PageNumber` do not take effect and `TotalCount` in the response is invalid.
|
|
6371
|
+
* * A disk that has the multi-attach feature enabled can be attached to multiple instances. You can query the attachment information of the disk based on the `Attachment` values in the response.
|
|
6372
|
+
* When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter format overview](https://help.aliyun.com/document_detail/110340.html).
|
|
6373
|
+
*
|
|
6374
|
+
* @param request - DescribeDedicatedBlockStorageClusterDisksRequest
|
|
6375
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6376
|
+
* @returns DescribeDedicatedBlockStorageClusterDisksResponse
|
|
6243
6377
|
*/
|
|
6244
6378
|
async describeDedicatedBlockStorageClusterDisksWithOptions(request, runtime) {
|
|
6245
6379
|
tea_util_1.default.validateModel(request);
|
|
@@ -6273,29 +6407,35 @@ class Client extends openapi_client_1.default {
|
|
|
6273
6407
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDedicatedBlockStorageClusterDisksResponse({}));
|
|
6274
6408
|
}
|
|
6275
6409
|
/**
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6410
|
+
* Queries the details of one or more disks in a dedicated block storage cluster.
|
|
6411
|
+
*
|
|
6412
|
+
* @remarks
|
|
6413
|
+
* You can use one of the following methods to check the responses:
|
|
6414
|
+
* * Method 1: Use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the DescribeDisks operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
6415
|
+
* * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return.
|
|
6416
|
+
* You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use method 1. When `NextToken` is specified, `PageSize` and `PageNumber` do not take effect and `TotalCount` in the response is invalid.
|
|
6417
|
+
* * A disk that has the multi-attach feature enabled can be attached to multiple instances. You can query the attachment information of the disk based on the `Attachment` values in the response.
|
|
6418
|
+
* When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter format overview](https://help.aliyun.com/document_detail/110340.html).
|
|
6419
|
+
*
|
|
6420
|
+
* @param request - DescribeDedicatedBlockStorageClusterDisksRequest
|
|
6421
|
+
* @returns DescribeDedicatedBlockStorageClusterDisksResponse
|
|
6285
6422
|
*/
|
|
6286
6423
|
async describeDedicatedBlockStorageClusterDisks(request) {
|
|
6287
6424
|
let runtime = new $Util.RuntimeOptions({});
|
|
6288
6425
|
return await this.describeDedicatedBlockStorageClusterDisksWithOptions(request, runtime);
|
|
6289
6426
|
}
|
|
6290
6427
|
/**
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6428
|
+
* Queries the dedicated block storage clusters that are created.
|
|
6429
|
+
*
|
|
6430
|
+
* @remarks
|
|
6431
|
+
* ## [](#)Usage notes
|
|
6432
|
+
* > The Dedicated Block Storage Cluster feature is available only in the China (Heyuan), Indonesia (Jakarta), and China (Shenzhen) regions.
|
|
6433
|
+
* * You can specify multiple request parameters to be queried. Specified parameters are evaluated by using the AND operator. Only the specified parameters are included in the filter conditions.
|
|
6434
|
+
* * We recommend that you use NextToken and MaxResults to perform paged queries. We recommend that you use MaxResults to specify the maximum number of entries to return in each request. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeDedicatedBlockStorageClusters operation to retrieve a new page of results, set NextToken to the NextToken value that is returned in the previous call and specify MaxResults to limit the number of entries returned.
|
|
6435
|
+
*
|
|
6436
|
+
* @param request - DescribeDedicatedBlockStorageClustersRequest
|
|
6437
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6438
|
+
* @returns DescribeDedicatedBlockStorageClustersResponse
|
|
6299
6439
|
*/
|
|
6300
6440
|
async describeDedicatedBlockStorageClustersWithOptions(request, runtime) {
|
|
6301
6441
|
tea_util_1.default.validateModel(request);
|
|
@@ -6355,25 +6495,31 @@ class Client extends openapi_client_1.default {
|
|
|
6355
6495
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDedicatedBlockStorageClustersResponse({}));
|
|
6356
6496
|
}
|
|
6357
6497
|
/**
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6498
|
+
* Queries the dedicated block storage clusters that are created.
|
|
6499
|
+
*
|
|
6500
|
+
* @remarks
|
|
6501
|
+
* ## [](#)Usage notes
|
|
6502
|
+
* > The Dedicated Block Storage Cluster feature is available only in the China (Heyuan), Indonesia (Jakarta), and China (Shenzhen) regions.
|
|
6503
|
+
* * You can specify multiple request parameters to be queried. Specified parameters are evaluated by using the AND operator. Only the specified parameters are included in the filter conditions.
|
|
6504
|
+
* * We recommend that you use NextToken and MaxResults to perform paged queries. We recommend that you use MaxResults to specify the maximum number of entries to return in each request. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeDedicatedBlockStorageClusters operation to retrieve a new page of results, set NextToken to the NextToken value that is returned in the previous call and specify MaxResults to limit the number of entries returned.
|
|
6505
|
+
*
|
|
6506
|
+
* @param request - DescribeDedicatedBlockStorageClustersRequest
|
|
6507
|
+
* @returns DescribeDedicatedBlockStorageClustersResponse
|
|
6365
6508
|
*/
|
|
6366
6509
|
async describeDedicatedBlockStorageClusters(request) {
|
|
6367
6510
|
let runtime = new $Util.RuntimeOptions({});
|
|
6368
6511
|
return await this.describeDedicatedBlockStorageClustersWithOptions(request, runtime);
|
|
6369
6512
|
}
|
|
6370
6513
|
/**
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6514
|
+
* Queries the risk events of a disk.
|
|
6515
|
+
*
|
|
6516
|
+
* @remarks
|
|
6517
|
+
* ## Usage notes
|
|
6518
|
+
* CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
6519
|
+
*
|
|
6520
|
+
* @param request - DescribeDiskEventsRequest
|
|
6521
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6522
|
+
* @returns DescribeDiskEventsResponse
|
|
6377
6523
|
*/
|
|
6378
6524
|
async describeDiskEventsWithOptions(request, runtime) {
|
|
6379
6525
|
tea_util_1.default.validateModel(request);
|
|
@@ -6419,25 +6565,31 @@ class Client extends openapi_client_1.default {
|
|
|
6419
6565
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskEventsResponse({}));
|
|
6420
6566
|
}
|
|
6421
6567
|
/**
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6568
|
+
* Queries the risk events of a disk.
|
|
6569
|
+
*
|
|
6570
|
+
* @remarks
|
|
6571
|
+
* ## Usage notes
|
|
6572
|
+
* CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
6573
|
+
*
|
|
6574
|
+
* @param request - DescribeDiskEventsRequest
|
|
6575
|
+
* @returns DescribeDiskEventsResponse
|
|
6427
6576
|
*/
|
|
6428
6577
|
async describeDiskEvents(request) {
|
|
6429
6578
|
let runtime = new $Util.RuntimeOptions({});
|
|
6430
6579
|
return await this.describeDiskEventsWithOptions(request, runtime);
|
|
6431
6580
|
}
|
|
6432
6581
|
/**
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6582
|
+
* Queries the near real-time monitoring data of a disk.
|
|
6583
|
+
*
|
|
6584
|
+
* @remarks
|
|
6585
|
+
* ## Usage notes
|
|
6586
|
+
* * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
6587
|
+
* * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value calculated based on the following formula is greater than 400: `(EndTime - StartTime)/Period`.
|
|
6588
|
+
* * You can query the monitoring data collected in the last three days. An error is returned if the time specified by `StartTime` is more than three days prior to the current time.
|
|
6589
|
+
*
|
|
6590
|
+
* @param request - DescribeDiskMonitorDataRequest
|
|
6591
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6592
|
+
* @returns DescribeDiskMonitorDataResponse
|
|
6441
6593
|
*/
|
|
6442
6594
|
async describeDiskMonitorDataWithOptions(request, runtime) {
|
|
6443
6595
|
tea_util_1.default.validateModel(request);
|
|
@@ -6477,25 +6629,31 @@ class Client extends openapi_client_1.default {
|
|
|
6477
6629
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskMonitorDataResponse({}));
|
|
6478
6630
|
}
|
|
6479
6631
|
/**
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6632
|
+
* Queries the near real-time monitoring data of a disk.
|
|
6633
|
+
*
|
|
6634
|
+
* @remarks
|
|
6635
|
+
* ## Usage notes
|
|
6636
|
+
* * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
6637
|
+
* * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value calculated based on the following formula is greater than 400: `(EndTime - StartTime)/Period`.
|
|
6638
|
+
* * You can query the monitoring data collected in the last three days. An error is returned if the time specified by `StartTime` is more than three days prior to the current time.
|
|
6639
|
+
*
|
|
6640
|
+
* @param request - DescribeDiskMonitorDataRequest
|
|
6641
|
+
* @returns DescribeDiskMonitorDataResponse
|
|
6487
6642
|
*/
|
|
6488
6643
|
async describeDiskMonitorData(request) {
|
|
6489
6644
|
let runtime = new $Util.RuntimeOptions({});
|
|
6490
6645
|
return await this.describeDiskMonitorDataWithOptions(request, runtime);
|
|
6491
6646
|
}
|
|
6492
6647
|
/**
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6648
|
+
* Queries the near real-time monitoring data of disks. You can query only the burst performance data of ESSD AutoPL disks. The data is aggregated by hour.
|
|
6649
|
+
*
|
|
6650
|
+
* @remarks
|
|
6651
|
+
* ## Usage notes
|
|
6652
|
+
* CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
6653
|
+
*
|
|
6654
|
+
* @param request - DescribeDiskMonitorDataListRequest
|
|
6655
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6656
|
+
* @returns DescribeDiskMonitorDataListResponse
|
|
6499
6657
|
*/
|
|
6500
6658
|
async describeDiskMonitorDataListWithOptions(request, runtime) {
|
|
6501
6659
|
tea_util_1.default.validateModel(request);
|
|
@@ -6538,23 +6696,29 @@ class Client extends openapi_client_1.default {
|
|
|
6538
6696
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskMonitorDataListResponse({}));
|
|
6539
6697
|
}
|
|
6540
6698
|
/**
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6699
|
+
* Queries the near real-time monitoring data of disks. You can query only the burst performance data of ESSD AutoPL disks. The data is aggregated by hour.
|
|
6700
|
+
*
|
|
6701
|
+
* @remarks
|
|
6702
|
+
* ## Usage notes
|
|
6703
|
+
* CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
6704
|
+
*
|
|
6705
|
+
* @param request - DescribeDiskMonitorDataListRequest
|
|
6706
|
+
* @returns DescribeDiskMonitorDataListResponse
|
|
6546
6707
|
*/
|
|
6547
6708
|
async describeDiskMonitorDataList(request) {
|
|
6548
6709
|
let runtime = new $Util.RuntimeOptions({});
|
|
6549
6710
|
return await this.describeDiskMonitorDataListWithOptions(request, runtime);
|
|
6550
6711
|
}
|
|
6551
6712
|
/**
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6713
|
+
* Queries the details of one or more replication pair-consistent groups in a specific region.
|
|
6714
|
+
*
|
|
6715
|
+
* @remarks
|
|
6716
|
+
* To perform a paged query, set the MaxResults and NextToken parameters.
|
|
6717
|
+
* During a paged query, when you call the DescribeDiskReplicaGroups operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next call to retrieve a new page of results. When you call the DescribeDiskReplicaGroups operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call.
|
|
6718
|
+
*
|
|
6719
|
+
* @param request - DescribeDiskReplicaGroupsRequest
|
|
6720
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6721
|
+
* @returns DescribeDiskReplicaGroupsResponse
|
|
6558
6722
|
*/
|
|
6559
6723
|
async describeDiskReplicaGroupsWithOptions(request, runtime) {
|
|
6560
6724
|
tea_util_1.default.validateModel(request);
|
|
@@ -6565,6 +6729,9 @@ class Client extends openapi_client_1.default {
|
|
|
6565
6729
|
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
6566
6730
|
query["MaxResults"] = request.maxResults;
|
|
6567
6731
|
}
|
|
6732
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
6733
|
+
query["Name"] = request.name;
|
|
6734
|
+
}
|
|
6568
6735
|
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
6569
6736
|
query["NextToken"] = request.nextToken;
|
|
6570
6737
|
}
|
|
@@ -6603,16 +6770,26 @@ class Client extends openapi_client_1.default {
|
|
|
6603
6770
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskReplicaGroupsResponse({}));
|
|
6604
6771
|
}
|
|
6605
6772
|
/**
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6773
|
+
* Queries the details of one or more replication pair-consistent groups in a specific region.
|
|
6774
|
+
*
|
|
6775
|
+
* @remarks
|
|
6776
|
+
* To perform a paged query, set the MaxResults and NextToken parameters.
|
|
6777
|
+
* During a paged query, when you call the DescribeDiskReplicaGroups operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next call to retrieve a new page of results. When you call the DescribeDiskReplicaGroups operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call.
|
|
6778
|
+
*
|
|
6779
|
+
* @param request - DescribeDiskReplicaGroupsRequest
|
|
6780
|
+
* @returns DescribeDiskReplicaGroupsResponse
|
|
6611
6781
|
*/
|
|
6612
6782
|
async describeDiskReplicaGroups(request) {
|
|
6613
6783
|
let runtime = new $Util.RuntimeOptions({});
|
|
6614
6784
|
return await this.describeDiskReplicaGroupsWithOptions(request, runtime);
|
|
6615
6785
|
}
|
|
6786
|
+
/**
|
|
6787
|
+
* Queries the replication progress of a replication pair.
|
|
6788
|
+
*
|
|
6789
|
+
* @param request - DescribeDiskReplicaPairProgressRequest
|
|
6790
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6791
|
+
* @returns DescribeDiskReplicaPairProgressResponse
|
|
6792
|
+
*/
|
|
6616
6793
|
async describeDiskReplicaPairProgressWithOptions(request, runtime) {
|
|
6617
6794
|
tea_util_1.default.validateModel(request);
|
|
6618
6795
|
let query = {};
|
|
@@ -6638,19 +6815,28 @@ class Client extends openapi_client_1.default {
|
|
|
6638
6815
|
});
|
|
6639
6816
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskReplicaPairProgressResponse({}));
|
|
6640
6817
|
}
|
|
6818
|
+
/**
|
|
6819
|
+
* Queries the replication progress of a replication pair.
|
|
6820
|
+
*
|
|
6821
|
+
* @param request - DescribeDiskReplicaPairProgressRequest
|
|
6822
|
+
* @returns DescribeDiskReplicaPairProgressResponse
|
|
6823
|
+
*/
|
|
6641
6824
|
async describeDiskReplicaPairProgress(request) {
|
|
6642
6825
|
let runtime = new $Util.RuntimeOptions({});
|
|
6643
6826
|
return await this.describeDiskReplicaPairProgressWithOptions(request, runtime);
|
|
6644
6827
|
}
|
|
6645
6828
|
/**
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6829
|
+
* Queries information about replication pairs in a region.
|
|
6830
|
+
*
|
|
6831
|
+
* @remarks
|
|
6832
|
+
* ## [](#)Usage notes
|
|
6833
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
6834
|
+
* * When you call this operation for a specific region, if the primary disk (source disk) or secondary disk (destination disk) of a replication pair resides in the region, information about the replication pair is displayed in the response.
|
|
6835
|
+
* * If you want to perform a paged query, configure the `NextToken` and `MaxResults` parameters. During a paged query, when you call the DescribeDiskReplicaPairs operation to retrieve the first page of results, set `MaxResults` to limit the maximum number of entries to return in the call. The return value of NextToken is a pagination token, which can be used in the next call to retrieve a new page of results. When you call the DescribeDiskReplicaPairs operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call.
|
|
6836
|
+
*
|
|
6837
|
+
* @param request - DescribeDiskReplicaPairsRequest
|
|
6838
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6839
|
+
* @returns DescribeDiskReplicaPairsResponse
|
|
6654
6840
|
*/
|
|
6655
6841
|
async describeDiskReplicaPairsWithOptions(request, runtime) {
|
|
6656
6842
|
tea_util_1.default.validateModel(request);
|
|
@@ -6658,6 +6844,9 @@ class Client extends openapi_client_1.default {
|
|
|
6658
6844
|
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
6659
6845
|
query["MaxResults"] = request.maxResults;
|
|
6660
6846
|
}
|
|
6847
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
6848
|
+
query["Name"] = request.name;
|
|
6849
|
+
}
|
|
6661
6850
|
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
6662
6851
|
query["NextToken"] = request.nextToken;
|
|
6663
6852
|
}
|
|
@@ -6702,18 +6891,26 @@ class Client extends openapi_client_1.default {
|
|
|
6702
6891
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskReplicaPairsResponse({}));
|
|
6703
6892
|
}
|
|
6704
6893
|
/**
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6894
|
+
* Queries information about replication pairs in a region.
|
|
6895
|
+
*
|
|
6896
|
+
* @remarks
|
|
6897
|
+
* ## [](#)Usage notes
|
|
6898
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
6899
|
+
* * When you call this operation for a specific region, if the primary disk (source disk) or secondary disk (destination disk) of a replication pair resides in the region, information about the replication pair is displayed in the response.
|
|
6900
|
+
* * If you want to perform a paged query, configure the `NextToken` and `MaxResults` parameters. During a paged query, when you call the DescribeDiskReplicaPairs operation to retrieve the first page of results, set `MaxResults` to limit the maximum number of entries to return in the call. The return value of NextToken is a pagination token, which can be used in the next call to retrieve a new page of results. When you call the DescribeDiskReplicaPairs operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call.
|
|
6901
|
+
*
|
|
6902
|
+
* @param request - DescribeDiskReplicaPairsRequest
|
|
6903
|
+
* @returns DescribeDiskReplicaPairsResponse
|
|
6712
6904
|
*/
|
|
6713
6905
|
async describeDiskReplicaPairs(request) {
|
|
6714
6906
|
let runtime = new $Util.RuntimeOptions({});
|
|
6715
6907
|
return await this.describeDiskReplicaPairsWithOptions(request, runtime);
|
|
6716
6908
|
}
|
|
6909
|
+
/**
|
|
6910
|
+
* @param request - DescribeDisksRequest
|
|
6911
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6912
|
+
* @returns DescribeDisksResponse
|
|
6913
|
+
*/
|
|
6717
6914
|
async describeDisksWithOptions(request, runtime) {
|
|
6718
6915
|
tea_util_1.default.validateModel(request);
|
|
6719
6916
|
let query = {};
|
|
@@ -6769,10 +6966,21 @@ class Client extends openapi_client_1.default {
|
|
|
6769
6966
|
});
|
|
6770
6967
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDisksResponse({}));
|
|
6771
6968
|
}
|
|
6969
|
+
/**
|
|
6970
|
+
* @param request - DescribeDisksRequest
|
|
6971
|
+
* @returns DescribeDisksResponse
|
|
6972
|
+
*/
|
|
6772
6973
|
async describeDisks(request) {
|
|
6773
6974
|
let runtime = new $Util.RuntimeOptions({});
|
|
6774
6975
|
return await this.describeDisksWithOptions(request, runtime);
|
|
6775
6976
|
}
|
|
6977
|
+
/**
|
|
6978
|
+
* Queries the information about enterprise-level snapshot policies. When you call this operation, you can specify parameters, such as PolicyIds, ResourceGroupId, and Tag, in the request.
|
|
6979
|
+
*
|
|
6980
|
+
* @param request - DescribeEnterpriseSnapshotPolicyRequest
|
|
6981
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6982
|
+
* @returns DescribeEnterpriseSnapshotPolicyResponse
|
|
6983
|
+
*/
|
|
6776
6984
|
async describeEnterpriseSnapshotPolicyWithOptions(request, runtime) {
|
|
6777
6985
|
tea_util_1.default.validateModel(request);
|
|
6778
6986
|
let query = {};
|
|
@@ -6822,10 +7030,23 @@ class Client extends openapi_client_1.default {
|
|
|
6822
7030
|
});
|
|
6823
7031
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEnterpriseSnapshotPolicyResponse({}));
|
|
6824
7032
|
}
|
|
7033
|
+
/**
|
|
7034
|
+
* Queries the information about enterprise-level snapshot policies. When you call this operation, you can specify parameters, such as PolicyIds, ResourceGroupId, and Tag, in the request.
|
|
7035
|
+
*
|
|
7036
|
+
* @param request - DescribeEnterpriseSnapshotPolicyRequest
|
|
7037
|
+
* @returns DescribeEnterpriseSnapshotPolicyResponse
|
|
7038
|
+
*/
|
|
6825
7039
|
async describeEnterpriseSnapshotPolicy(request) {
|
|
6826
7040
|
let runtime = new $Util.RuntimeOptions({});
|
|
6827
7041
|
return await this.describeEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
6828
7042
|
}
|
|
7043
|
+
/**
|
|
7044
|
+
* Queries the risk events of a disk.
|
|
7045
|
+
*
|
|
7046
|
+
* @param request - DescribeEventsRequest
|
|
7047
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7048
|
+
* @returns DescribeEventsResponse
|
|
7049
|
+
*/
|
|
6829
7050
|
async describeEventsWithOptions(request, runtime) {
|
|
6830
7051
|
tea_util_1.default.validateModel(request);
|
|
6831
7052
|
let query = {};
|
|
@@ -6872,10 +7093,23 @@ class Client extends openapi_client_1.default {
|
|
|
6872
7093
|
});
|
|
6873
7094
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
|
|
6874
7095
|
}
|
|
7096
|
+
/**
|
|
7097
|
+
* Queries the risk events of a disk.
|
|
7098
|
+
*
|
|
7099
|
+
* @param request - DescribeEventsRequest
|
|
7100
|
+
* @returns DescribeEventsResponse
|
|
7101
|
+
*/
|
|
6875
7102
|
async describeEvents(request) {
|
|
6876
7103
|
let runtime = new $Util.RuntimeOptions({});
|
|
6877
7104
|
return await this.describeEventsWithOptions(request, runtime);
|
|
6878
7105
|
}
|
|
7106
|
+
/**
|
|
7107
|
+
* Queries one or more Elastic Block Storage (EBS) devices that you created.
|
|
7108
|
+
*
|
|
7109
|
+
* @param request - DescribeLensMonitorDisksRequest
|
|
7110
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7111
|
+
* @returns DescribeLensMonitorDisksResponse
|
|
7112
|
+
*/
|
|
6879
7113
|
async describeLensMonitorDisksWithOptions(request, runtime) {
|
|
6880
7114
|
tea_util_1.default.validateModel(request);
|
|
6881
7115
|
let query = {};
|
|
@@ -6913,17 +7147,26 @@ class Client extends openapi_client_1.default {
|
|
|
6913
7147
|
});
|
|
6914
7148
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLensMonitorDisksResponse({}));
|
|
6915
7149
|
}
|
|
7150
|
+
/**
|
|
7151
|
+
* Queries one or more Elastic Block Storage (EBS) devices that you created.
|
|
7152
|
+
*
|
|
7153
|
+
* @param request - DescribeLensMonitorDisksRequest
|
|
7154
|
+
* @returns DescribeLensMonitorDisksResponse
|
|
7155
|
+
*/
|
|
6916
7156
|
async describeLensMonitorDisks(request) {
|
|
6917
7157
|
let runtime = new $Util.RuntimeOptions({});
|
|
6918
7158
|
return await this.describeLensMonitorDisksWithOptions(request, runtime);
|
|
6919
7159
|
}
|
|
6920
7160
|
/**
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
7161
|
+
* 查询用户开通ebs数据洞察服务状态
|
|
7162
|
+
*
|
|
7163
|
+
* @remarks
|
|
7164
|
+
* ## Usage notes
|
|
7165
|
+
* CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
7166
|
+
*
|
|
7167
|
+
* @param request - DescribeLensServiceStatusRequest
|
|
7168
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7169
|
+
* @returns DescribeLensServiceStatusResponse
|
|
6927
7170
|
*/
|
|
6928
7171
|
async describeLensServiceStatusWithOptions(runtime) {
|
|
6929
7172
|
let req = new $OpenApi.OpenApiRequest({});
|
|
@@ -6941,15 +7184,24 @@ class Client extends openapi_client_1.default {
|
|
|
6941
7184
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLensServiceStatusResponse({}));
|
|
6942
7185
|
}
|
|
6943
7186
|
/**
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
7187
|
+
* 查询用户开通ebs数据洞察服务状态
|
|
7188
|
+
*
|
|
7189
|
+
* @remarks
|
|
7190
|
+
* ## Usage notes
|
|
7191
|
+
* CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
|
|
7192
|
+
* @returns DescribeLensServiceStatusResponse
|
|
6948
7193
|
*/
|
|
6949
7194
|
async describeLensServiceStatus() {
|
|
6950
7195
|
let runtime = new $Util.RuntimeOptions({});
|
|
6951
7196
|
return await this.describeLensServiceStatusWithOptions(runtime);
|
|
6952
7197
|
}
|
|
7198
|
+
/**
|
|
7199
|
+
* Queries the statistics about a metric of Elastic Block Storage (EBS) disks.
|
|
7200
|
+
*
|
|
7201
|
+
* @param request - DescribeMetricDataRequest
|
|
7202
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7203
|
+
* @returns DescribeMetricDataResponse
|
|
7204
|
+
*/
|
|
6953
7205
|
async describeMetricDataWithOptions(request, runtime) {
|
|
6954
7206
|
tea_util_1.default.validateModel(request);
|
|
6955
7207
|
let query = {};
|
|
@@ -6987,10 +7239,23 @@ class Client extends openapi_client_1.default {
|
|
|
6987
7239
|
});
|
|
6988
7240
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricDataResponse({}));
|
|
6989
7241
|
}
|
|
7242
|
+
/**
|
|
7243
|
+
* Queries the statistics about a metric of Elastic Block Storage (EBS) disks.
|
|
7244
|
+
*
|
|
7245
|
+
* @param request - DescribeMetricDataRequest
|
|
7246
|
+
* @returns DescribeMetricDataResponse
|
|
7247
|
+
*/
|
|
6990
7248
|
async describeMetricData(request) {
|
|
6991
7249
|
let runtime = new $Util.RuntimeOptions({});
|
|
6992
7250
|
return await this.describeMetricDataWithOptions(request, runtime);
|
|
6993
7251
|
}
|
|
7252
|
+
/**
|
|
7253
|
+
* Queries the disaster recovery drills that were performed on the replication pair whose secondary disk resides in a specific region.
|
|
7254
|
+
*
|
|
7255
|
+
* @param request - DescribePairDrillsRequest
|
|
7256
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7257
|
+
* @returns DescribePairDrillsResponse
|
|
7258
|
+
*/
|
|
6994
7259
|
async describePairDrillsWithOptions(request, runtime) {
|
|
6995
7260
|
tea_util_1.default.validateModel(request);
|
|
6996
7261
|
let query = {};
|
|
@@ -7031,10 +7296,23 @@ class Client extends openapi_client_1.default {
|
|
|
7031
7296
|
});
|
|
7032
7297
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePairDrillsResponse({}));
|
|
7033
7298
|
}
|
|
7299
|
+
/**
|
|
7300
|
+
* Queries the disaster recovery drills that were performed on the replication pair whose secondary disk resides in a specific region.
|
|
7301
|
+
*
|
|
7302
|
+
* @param request - DescribePairDrillsRequest
|
|
7303
|
+
* @returns DescribePairDrillsResponse
|
|
7304
|
+
*/
|
|
7034
7305
|
async describePairDrills(request) {
|
|
7035
7306
|
let runtime = new $Util.RuntimeOptions({});
|
|
7036
7307
|
return await this.describePairDrillsWithOptions(request, runtime);
|
|
7037
7308
|
}
|
|
7309
|
+
/**
|
|
7310
|
+
* Queries the details of regions in which Elastic Block Storage (EBS) features (such as async replication, CloudLens for EBS, and Dedicated Block Storage Cluster) are supported.
|
|
7311
|
+
*
|
|
7312
|
+
* @param request - DescribeRegionsRequest
|
|
7313
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7314
|
+
* @returns DescribeRegionsResponse
|
|
7315
|
+
*/
|
|
7038
7316
|
async describeRegionsWithOptions(request, runtime) {
|
|
7039
7317
|
tea_util_1.default.validateModel(request);
|
|
7040
7318
|
let query = {};
|
|
@@ -7063,10 +7341,23 @@ class Client extends openapi_client_1.default {
|
|
|
7063
7341
|
});
|
|
7064
7342
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
7065
7343
|
}
|
|
7344
|
+
/**
|
|
7345
|
+
* Queries the details of regions in which Elastic Block Storage (EBS) features (such as async replication, CloudLens for EBS, and Dedicated Block Storage Cluster) are supported.
|
|
7346
|
+
*
|
|
7347
|
+
* @param request - DescribeRegionsRequest
|
|
7348
|
+
* @returns DescribeRegionsResponse
|
|
7349
|
+
*/
|
|
7066
7350
|
async describeRegions(request) {
|
|
7067
7351
|
let runtime = new $Util.RuntimeOptions({});
|
|
7068
7352
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
7069
7353
|
}
|
|
7354
|
+
/**
|
|
7355
|
+
* Queries the disaster recovery drills that were performed on the replication pair-consistent group whose secondary disk resides in a specific region.
|
|
7356
|
+
*
|
|
7357
|
+
* @param request - DescribeReplicaGroupDrillsRequest
|
|
7358
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7359
|
+
* @returns DescribeReplicaGroupDrillsResponse
|
|
7360
|
+
*/
|
|
7070
7361
|
async describeReplicaGroupDrillsWithOptions(request, runtime) {
|
|
7071
7362
|
tea_util_1.default.validateModel(request);
|
|
7072
7363
|
let query = {};
|
|
@@ -7107,10 +7398,23 @@ class Client extends openapi_client_1.default {
|
|
|
7107
7398
|
});
|
|
7108
7399
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeReplicaGroupDrillsResponse({}));
|
|
7109
7400
|
}
|
|
7401
|
+
/**
|
|
7402
|
+
* Queries the disaster recovery drills that were performed on the replication pair-consistent group whose secondary disk resides in a specific region.
|
|
7403
|
+
*
|
|
7404
|
+
* @param request - DescribeReplicaGroupDrillsRequest
|
|
7405
|
+
* @returns DescribeReplicaGroupDrillsResponse
|
|
7406
|
+
*/
|
|
7110
7407
|
async describeReplicaGroupDrills(request) {
|
|
7111
7408
|
let runtime = new $Util.RuntimeOptions({});
|
|
7112
7409
|
return await this.describeReplicaGroupDrillsWithOptions(request, runtime);
|
|
7113
7410
|
}
|
|
7411
|
+
/**
|
|
7412
|
+
* 查询解决方案实例默认配置
|
|
7413
|
+
*
|
|
7414
|
+
* @param request - DescribeSolutionInstanceConfigurationRequest
|
|
7415
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7416
|
+
* @returns DescribeSolutionInstanceConfigurationResponse
|
|
7417
|
+
*/
|
|
7114
7418
|
async describeSolutionInstanceConfigurationWithOptions(request, runtime) {
|
|
7115
7419
|
tea_util_1.default.validateModel(request);
|
|
7116
7420
|
let query = {};
|
|
@@ -7142,20 +7446,29 @@ class Client extends openapi_client_1.default {
|
|
|
7142
7446
|
});
|
|
7143
7447
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSolutionInstanceConfigurationResponse({}));
|
|
7144
7448
|
}
|
|
7449
|
+
/**
|
|
7450
|
+
* 查询解决方案实例默认配置
|
|
7451
|
+
*
|
|
7452
|
+
* @param request - DescribeSolutionInstanceConfigurationRequest
|
|
7453
|
+
* @returns DescribeSolutionInstanceConfigurationResponse
|
|
7454
|
+
*/
|
|
7145
7455
|
async describeSolutionInstanceConfiguration(request) {
|
|
7146
7456
|
let runtime = new $Util.RuntimeOptions({});
|
|
7147
7457
|
return await this.describeSolutionInstanceConfigurationWithOptions(request, runtime);
|
|
7148
7458
|
}
|
|
7149
7459
|
/**
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7460
|
+
* Enables the failover feature for replication pairs in a replication pair-consistent group. When the primary disks of specific replication pairs in a replication pair-consistent group fail, you can call this operation to enable the read and write permissions on the secondary disks.
|
|
7461
|
+
*
|
|
7462
|
+
* @remarks
|
|
7463
|
+
* ## [](#)Usage notes
|
|
7464
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
7465
|
+
* * The replication pair-consistent group must be in the **One-time Syncing** (`manual_syncing`), **Syncing** (`syncing`), **Normal** (`normal`), **Stopping** (`stopping`), **Stop Failed** (`stop_failed`), **Stopped** (`stopped`), **In Failover** (`failovering`), **Failover Failed** (`failover_failed`), or **Failovered** (`failovered`) state.
|
|
7466
|
+
* * After a failover is performed, the replication pair-consistent group enters the **Failovered** (`failovered`) state.
|
|
7467
|
+
* * Before you perform a failover, make sure that the first full data synchronization is completed between the primary site and secondary site.
|
|
7468
|
+
*
|
|
7469
|
+
* @param request - FailoverDiskReplicaGroupRequest
|
|
7470
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7471
|
+
* @returns FailoverDiskReplicaGroupResponse
|
|
7159
7472
|
*/
|
|
7160
7473
|
async failoverDiskReplicaGroupWithOptions(request, runtime) {
|
|
7161
7474
|
tea_util_1.default.validateModel(request);
|
|
@@ -7186,28 +7499,34 @@ class Client extends openapi_client_1.default {
|
|
|
7186
7499
|
return $tea.cast(await this.callApi(params, req, runtime), new FailoverDiskReplicaGroupResponse({}));
|
|
7187
7500
|
}
|
|
7188
7501
|
/**
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7502
|
+
* Enables the failover feature for replication pairs in a replication pair-consistent group. When the primary disks of specific replication pairs in a replication pair-consistent group fail, you can call this operation to enable the read and write permissions on the secondary disks.
|
|
7503
|
+
*
|
|
7504
|
+
* @remarks
|
|
7505
|
+
* ## [](#)Usage notes
|
|
7506
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
7507
|
+
* * The replication pair-consistent group must be in the **One-time Syncing** (`manual_syncing`), **Syncing** (`syncing`), **Normal** (`normal`), **Stopping** (`stopping`), **Stop Failed** (`stop_failed`), **Stopped** (`stopped`), **In Failover** (`failovering`), **Failover Failed** (`failover_failed`), or **Failovered** (`failovered`) state.
|
|
7508
|
+
* * After a failover is performed, the replication pair-consistent group enters the **Failovered** (`failovered`) state.
|
|
7509
|
+
* * Before you perform a failover, make sure that the first full data synchronization is completed between the primary site and secondary site.
|
|
7510
|
+
*
|
|
7511
|
+
* @param request - FailoverDiskReplicaGroupRequest
|
|
7512
|
+
* @returns FailoverDiskReplicaGroupResponse
|
|
7197
7513
|
*/
|
|
7198
7514
|
async failoverDiskReplicaGroup(request) {
|
|
7199
7515
|
let runtime = new $Util.RuntimeOptions({});
|
|
7200
7516
|
return await this.failoverDiskReplicaGroupWithOptions(request, runtime);
|
|
7201
7517
|
}
|
|
7202
7518
|
/**
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7519
|
+
* Enables the failover feature for replication pairs.
|
|
7520
|
+
*
|
|
7521
|
+
* @remarks
|
|
7522
|
+
* ## [](#)Usage notes
|
|
7523
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
7524
|
+
* * The replication pair for which you want to enable failover cannot be in the **Invalid** (`invalid`) or **Deleted** (`deleted`) state.
|
|
7525
|
+
* * After a failover is performed, the replication pair enters the **Failovered** (`failovered`) state.
|
|
7526
|
+
*
|
|
7527
|
+
* @param request - FailoverDiskReplicaPairRequest
|
|
7528
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7529
|
+
* @returns FailoverDiskReplicaPairResponse
|
|
7211
7530
|
*/
|
|
7212
7531
|
async failoverDiskReplicaPairWithOptions(request, runtime) {
|
|
7213
7532
|
tea_util_1.default.validateModel(request);
|
|
@@ -7238,18 +7557,26 @@ class Client extends openapi_client_1.default {
|
|
|
7238
7557
|
return $tea.cast(await this.callApi(params, req, runtime), new FailoverDiskReplicaPairResponse({}));
|
|
7239
7558
|
}
|
|
7240
7559
|
/**
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7560
|
+
* Enables the failover feature for replication pairs.
|
|
7561
|
+
*
|
|
7562
|
+
* @remarks
|
|
7563
|
+
* ## [](#)Usage notes
|
|
7564
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
7565
|
+
* * The replication pair for which you want to enable failover cannot be in the **Invalid** (`invalid`) or **Deleted** (`deleted`) state.
|
|
7566
|
+
* * After a failover is performed, the replication pair enters the **Failovered** (`failovered`) state.
|
|
7567
|
+
*
|
|
7568
|
+
* @param request - FailoverDiskReplicaPairRequest
|
|
7569
|
+
* @returns FailoverDiskReplicaPairResponse
|
|
7248
7570
|
*/
|
|
7249
7571
|
async failoverDiskReplicaPair(request) {
|
|
7250
7572
|
let runtime = new $Util.RuntimeOptions({});
|
|
7251
7573
|
return await this.failoverDiskReplicaPairWithOptions(request, runtime);
|
|
7252
7574
|
}
|
|
7575
|
+
/**
|
|
7576
|
+
* @param request - GetDiskRequest
|
|
7577
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7578
|
+
* @returns GetDiskResponse
|
|
7579
|
+
*/
|
|
7253
7580
|
async getDiskWithOptions(request, runtime) {
|
|
7254
7581
|
tea_util_1.default.validateModel(request);
|
|
7255
7582
|
let query = {};
|
|
@@ -7275,19 +7602,26 @@ class Client extends openapi_client_1.default {
|
|
|
7275
7602
|
});
|
|
7276
7603
|
return $tea.cast(await this.callApi(params, req, runtime), new GetDiskResponse({}));
|
|
7277
7604
|
}
|
|
7605
|
+
/**
|
|
7606
|
+
* @param request - GetDiskRequest
|
|
7607
|
+
* @returns GetDiskResponse
|
|
7608
|
+
*/
|
|
7278
7609
|
async getDisk(request) {
|
|
7279
7610
|
let runtime = new $Util.RuntimeOptions({});
|
|
7280
7611
|
return await this.getDiskWithOptions(request, runtime);
|
|
7281
7612
|
}
|
|
7282
7613
|
/**
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7614
|
+
* Queries the tags that are added to one or more Elastic Block Storage (EBS) resources, or queries the IDs and tags of resources in a specified non-default resource group.
|
|
7615
|
+
*
|
|
7616
|
+
* @remarks
|
|
7617
|
+
* Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
|
|
7618
|
+
* * `ResourceId.N`
|
|
7619
|
+
* * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
|
|
7620
|
+
* If you set `Tag.N` and `ResourceId.N` at the same time, the EBS resources that match both the parameters are returned.
|
|
7621
|
+
*
|
|
7622
|
+
* @param request - ListTagResourcesRequest
|
|
7623
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7624
|
+
* @returns ListTagResourcesResponse
|
|
7291
7625
|
*/
|
|
7292
7626
|
async listTagResourcesWithOptions(request, runtime) {
|
|
7293
7627
|
tea_util_1.default.validateModel(request);
|
|
@@ -7327,24 +7661,30 @@ class Client extends openapi_client_1.default {
|
|
|
7327
7661
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
7328
7662
|
}
|
|
7329
7663
|
/**
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7664
|
+
* Queries the tags that are added to one or more Elastic Block Storage (EBS) resources, or queries the IDs and tags of resources in a specified non-default resource group.
|
|
7665
|
+
*
|
|
7666
|
+
* @remarks
|
|
7667
|
+
* Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
|
|
7668
|
+
* * `ResourceId.N`
|
|
7669
|
+
* * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
|
|
7670
|
+
* If you set `Tag.N` and `ResourceId.N` at the same time, the EBS resources that match both the parameters are returned.
|
|
7671
|
+
*
|
|
7672
|
+
* @param request - ListTagResourcesRequest
|
|
7673
|
+
* @returns ListTagResourcesResponse
|
|
7337
7674
|
*/
|
|
7338
7675
|
async listTagResources(request) {
|
|
7339
7676
|
let runtime = new $Util.RuntimeOptions({});
|
|
7340
7677
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
7341
7678
|
}
|
|
7342
7679
|
/**
|
|
7343
|
-
|
|
7344
|
-
|
|
7345
|
-
|
|
7346
|
-
|
|
7347
|
-
|
|
7680
|
+
* 修改专属集群属性OpenApi
|
|
7681
|
+
*
|
|
7682
|
+
* @remarks
|
|
7683
|
+
* You can call this operation to modify the information of a dedicated block storage cluster. The information includes the name and description of the cluster.
|
|
7684
|
+
*
|
|
7685
|
+
* @param request - ModifyDedicatedBlockStorageClusterAttributeRequest
|
|
7686
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7687
|
+
* @returns ModifyDedicatedBlockStorageClusterAttributeResponse
|
|
7348
7688
|
*/
|
|
7349
7689
|
async modifyDedicatedBlockStorageClusterAttributeWithOptions(request, runtime) {
|
|
7350
7690
|
tea_util_1.default.validateModel(request);
|
|
@@ -7381,23 +7721,29 @@ class Client extends openapi_client_1.default {
|
|
|
7381
7721
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDedicatedBlockStorageClusterAttributeResponse({}));
|
|
7382
7722
|
}
|
|
7383
7723
|
/**
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7724
|
+
* 修改专属集群属性OpenApi
|
|
7725
|
+
*
|
|
7726
|
+
* @remarks
|
|
7727
|
+
* You can call this operation to modify the information of a dedicated block storage cluster. The information includes the name and description of the cluster.
|
|
7728
|
+
*
|
|
7729
|
+
* @param request - ModifyDedicatedBlockStorageClusterAttributeRequest
|
|
7730
|
+
* @returns ModifyDedicatedBlockStorageClusterAttributeResponse
|
|
7388
7731
|
*/
|
|
7389
7732
|
async modifyDedicatedBlockStorageClusterAttribute(request) {
|
|
7390
7733
|
let runtime = new $Util.RuntimeOptions({});
|
|
7391
7734
|
return await this.modifyDedicatedBlockStorageClusterAttributeWithOptions(request, runtime);
|
|
7392
7735
|
}
|
|
7393
7736
|
/**
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7737
|
+
* Modifies the name, description, or recovery point objective (RPO) of a replication pair-consistent group.
|
|
7738
|
+
*
|
|
7739
|
+
* @remarks
|
|
7740
|
+
* ## [](#)Usage notes
|
|
7741
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
7742
|
+
* * The replication pair-consistent group must be in the **Created** (`created`) or **Stopped** (`stopped`) state.
|
|
7743
|
+
*
|
|
7744
|
+
* @param request - ModifyDiskReplicaGroupRequest
|
|
7745
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7746
|
+
* @returns ModifyDiskReplicaGroupResponse
|
|
7401
7747
|
*/
|
|
7402
7748
|
async modifyDiskReplicaGroupWithOptions(request, runtime) {
|
|
7403
7749
|
tea_util_1.default.validateModel(request);
|
|
@@ -7440,25 +7786,31 @@ class Client extends openapi_client_1.default {
|
|
|
7440
7786
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDiskReplicaGroupResponse({}));
|
|
7441
7787
|
}
|
|
7442
7788
|
/**
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7789
|
+
* Modifies the name, description, or recovery point objective (RPO) of a replication pair-consistent group.
|
|
7790
|
+
*
|
|
7791
|
+
* @remarks
|
|
7792
|
+
* ## [](#)Usage notes
|
|
7793
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
7794
|
+
* * The replication pair-consistent group must be in the **Created** (`created`) or **Stopped** (`stopped`) state.
|
|
7795
|
+
*
|
|
7796
|
+
* @param request - ModifyDiskReplicaGroupRequest
|
|
7797
|
+
* @returns ModifyDiskReplicaGroupResponse
|
|
7449
7798
|
*/
|
|
7450
7799
|
async modifyDiskReplicaGroup(request) {
|
|
7451
7800
|
let runtime = new $Util.RuntimeOptions({});
|
|
7452
7801
|
return await this.modifyDiskReplicaGroupWithOptions(request, runtime);
|
|
7453
7802
|
}
|
|
7454
7803
|
/**
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7460
|
-
|
|
7461
|
-
|
|
7804
|
+
* Modifies a replication pair.
|
|
7805
|
+
*
|
|
7806
|
+
* @remarks
|
|
7807
|
+
* ## [](#)Usage notes
|
|
7808
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
7809
|
+
* * Only replication pairs that are in the **Created** (`created`) or **Stopped** (`stopped`) state can have their names or descriptions modified.
|
|
7810
|
+
*
|
|
7811
|
+
* @param request - ModifyDiskReplicaPairRequest
|
|
7812
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7813
|
+
* @returns ModifyDiskReplicaPairResponse
|
|
7462
7814
|
*/
|
|
7463
7815
|
async modifyDiskReplicaPairWithOptions(request, runtime) {
|
|
7464
7816
|
tea_util_1.default.validateModel(request);
|
|
@@ -7501,17 +7853,27 @@ class Client extends openapi_client_1.default {
|
|
|
7501
7853
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDiskReplicaPairResponse({}));
|
|
7502
7854
|
}
|
|
7503
7855
|
/**
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7856
|
+
* Modifies a replication pair.
|
|
7857
|
+
*
|
|
7858
|
+
* @remarks
|
|
7859
|
+
* ## [](#)Usage notes
|
|
7860
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
7861
|
+
* * Only replication pairs that are in the **Created** (`created`) or **Stopped** (`stopped`) state can have their names or descriptions modified.
|
|
7862
|
+
*
|
|
7863
|
+
* @param request - ModifyDiskReplicaPairRequest
|
|
7864
|
+
* @returns ModifyDiskReplicaPairResponse
|
|
7510
7865
|
*/
|
|
7511
7866
|
async modifyDiskReplicaPair(request) {
|
|
7512
7867
|
let runtime = new $Util.RuntimeOptions({});
|
|
7513
7868
|
return await this.modifyDiskReplicaPairWithOptions(request, runtime);
|
|
7514
7869
|
}
|
|
7870
|
+
/**
|
|
7871
|
+
* Query the throughput status of a dedicated block storage cluster disk which has been set through the SetDedicatedBlockStorageClusterDiskThroughput API.
|
|
7872
|
+
*
|
|
7873
|
+
* @param request - QueryDedicatedBlockStorageClusterDiskThroughputStatusRequest
|
|
7874
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7875
|
+
* @returns QueryDedicatedBlockStorageClusterDiskThroughputStatusResponse
|
|
7876
|
+
*/
|
|
7515
7877
|
async queryDedicatedBlockStorageClusterDiskThroughputStatusWithOptions(request, runtime) {
|
|
7516
7878
|
tea_util_1.default.validateModel(request);
|
|
7517
7879
|
let query = {};
|
|
@@ -7542,16 +7904,25 @@ class Client extends openapi_client_1.default {
|
|
|
7542
7904
|
});
|
|
7543
7905
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryDedicatedBlockStorageClusterDiskThroughputStatusResponse({}));
|
|
7544
7906
|
}
|
|
7907
|
+
/**
|
|
7908
|
+
* Query the throughput status of a dedicated block storage cluster disk which has been set through the SetDedicatedBlockStorageClusterDiskThroughput API.
|
|
7909
|
+
*
|
|
7910
|
+
* @param request - QueryDedicatedBlockStorageClusterDiskThroughputStatusRequest
|
|
7911
|
+
* @returns QueryDedicatedBlockStorageClusterDiskThroughputStatusResponse
|
|
7912
|
+
*/
|
|
7545
7913
|
async queryDedicatedBlockStorageClusterDiskThroughputStatus(request) {
|
|
7546
7914
|
let runtime = new $Util.RuntimeOptions({});
|
|
7547
7915
|
return await this.queryDedicatedBlockStorageClusterDiskThroughputStatusWithOptions(request, runtime);
|
|
7548
7916
|
}
|
|
7549
7917
|
/**
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7918
|
+
* Query dedicated block storage cluster capacity trend data, includ available capacity size and total capacity size.
|
|
7919
|
+
*
|
|
7920
|
+
* @remarks
|
|
7921
|
+
* Period is the time interval between data retrieval points. When set to 60 (minute interval), a maximum of 1440 data points can be returned; when set to 3600 (hour interval), a maximum of 744 data points can be returned; and when set to 86400 (day interval), a maximum of 366 data points can be returned.
|
|
7922
|
+
*
|
|
7923
|
+
* @param request - QueryDedicatedBlockStorageClusterInventoryDataRequest
|
|
7924
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7925
|
+
* @returns QueryDedicatedBlockStorageClusterInventoryDataResponse
|
|
7555
7926
|
*/
|
|
7556
7927
|
async queryDedicatedBlockStorageClusterInventoryDataWithOptions(request, runtime) {
|
|
7557
7928
|
tea_util_1.default.validateModel(request);
|
|
@@ -7593,23 +7964,29 @@ class Client extends openapi_client_1.default {
|
|
|
7593
7964
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryDedicatedBlockStorageClusterInventoryDataResponse({}));
|
|
7594
7965
|
}
|
|
7595
7966
|
/**
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7967
|
+
* Query dedicated block storage cluster capacity trend data, includ available capacity size and total capacity size.
|
|
7968
|
+
*
|
|
7969
|
+
* @remarks
|
|
7970
|
+
* Period is the time interval between data retrieval points. When set to 60 (minute interval), a maximum of 1440 data points can be returned; when set to 3600 (hour interval), a maximum of 744 data points can be returned; and when set to 86400 (day interval), a maximum of 366 data points can be returned.
|
|
7971
|
+
*
|
|
7972
|
+
* @param request - QueryDedicatedBlockStorageClusterInventoryDataRequest
|
|
7973
|
+
* @returns QueryDedicatedBlockStorageClusterInventoryDataResponse
|
|
7600
7974
|
*/
|
|
7601
7975
|
async queryDedicatedBlockStorageClusterInventoryData(request) {
|
|
7602
7976
|
let runtime = new $Util.RuntimeOptions({});
|
|
7603
7977
|
return await this.queryDedicatedBlockStorageClusterInventoryDataWithOptions(request, runtime);
|
|
7604
7978
|
}
|
|
7605
7979
|
/**
|
|
7606
|
-
|
|
7607
|
-
|
|
7608
|
-
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7612
|
-
|
|
7980
|
+
* Removes a replication pair from a replication pair-consistent group. After a replication pair is removed from a replication pair-consistent group, the pair is disassociated from the group but is not deleted.
|
|
7981
|
+
*
|
|
7982
|
+
* @remarks
|
|
7983
|
+
* ## [](#)Usage notes
|
|
7984
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
7985
|
+
* * The replication pair-consistent group from which you want to remove a replication pair must be in the **Created** (`created`), **Stopped** (`stopped`), or **Invalid** (`invalid`) state.
|
|
7986
|
+
*
|
|
7987
|
+
* @param request - RemoveDiskReplicaPairRequest
|
|
7988
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7989
|
+
* @returns RemoveDiskReplicaPairResponse
|
|
7613
7990
|
*/
|
|
7614
7991
|
async removeDiskReplicaPairWithOptions(request, runtime) {
|
|
7615
7992
|
tea_util_1.default.validateModel(request);
|
|
@@ -7643,28 +8020,34 @@ class Client extends openapi_client_1.default {
|
|
|
7643
8020
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveDiskReplicaPairResponse({}));
|
|
7644
8021
|
}
|
|
7645
8022
|
/**
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
|
|
7651
|
-
|
|
8023
|
+
* Removes a replication pair from a replication pair-consistent group. After a replication pair is removed from a replication pair-consistent group, the pair is disassociated from the group but is not deleted.
|
|
8024
|
+
*
|
|
8025
|
+
* @remarks
|
|
8026
|
+
* ## [](#)Usage notes
|
|
8027
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8028
|
+
* * The replication pair-consistent group from which you want to remove a replication pair must be in the **Created** (`created`), **Stopped** (`stopped`), or **Invalid** (`invalid`) state.
|
|
8029
|
+
*
|
|
8030
|
+
* @param request - RemoveDiskReplicaPairRequest
|
|
8031
|
+
* @returns RemoveDiskReplicaPairResponse
|
|
7652
8032
|
*/
|
|
7653
8033
|
async removeDiskReplicaPair(request) {
|
|
7654
8034
|
let runtime = new $Util.RuntimeOptions({});
|
|
7655
8035
|
return await this.removeDiskReplicaPairWithOptions(request, runtime);
|
|
7656
8036
|
}
|
|
7657
8037
|
/**
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
8038
|
+
* Enables the reverse replication feature for replication pairs that belong to a replication pair-consistent group. After reverse replication is enabled, data stored on the original secondary disks is replicated to the original primary disks. When a reverse replication is being performed, the primary and secondary sites of the replication pair-consistent group remain unchanged, but data is replicated from the secondary site to the primary site.
|
|
8039
|
+
*
|
|
8040
|
+
* @remarks
|
|
8041
|
+
* ## [](#)Usage notes
|
|
8042
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8043
|
+
* * The replication pair-consistent group for which you want to enable reverse replication must be in the **Failovered** (`failovered`) state. You can call the `FailoverDiskReplicaPair` operation to enable failover.
|
|
8044
|
+
* * Before a reverse replication is performed, the primary disks must be detached from its associated Elastic Compute Service (ECS) instance and must be in the Unattached state. You can call the [DetachDisk](https://help.aliyun.com/document_detail/25516.html) operation to detach the disks.
|
|
8045
|
+
* * After you enable reverse replication, you must call the `StartDiskReplicaPair` operation again to enable the async replication feature before data can be replicated from the original secondary disks to the original primary disks.
|
|
8046
|
+
* * You can set the ReverseReplicate parameter to false to cancel the **Failovered** (`failovered`) state and restore the original replication direction.
|
|
8047
|
+
*
|
|
8048
|
+
* @param request - ReprotectDiskReplicaGroupRequest
|
|
8049
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8050
|
+
* @returns ReprotectDiskReplicaGroupResponse
|
|
7668
8051
|
*/
|
|
7669
8052
|
async reprotectDiskReplicaGroupWithOptions(request, runtime) {
|
|
7670
8053
|
tea_util_1.default.validateModel(request);
|
|
@@ -7698,31 +8081,37 @@ class Client extends openapi_client_1.default {
|
|
|
7698
8081
|
return $tea.cast(await this.callApi(params, req, runtime), new ReprotectDiskReplicaGroupResponse({}));
|
|
7699
8082
|
}
|
|
7700
8083
|
/**
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
8084
|
+
* Enables the reverse replication feature for replication pairs that belong to a replication pair-consistent group. After reverse replication is enabled, data stored on the original secondary disks is replicated to the original primary disks. When a reverse replication is being performed, the primary and secondary sites of the replication pair-consistent group remain unchanged, but data is replicated from the secondary site to the primary site.
|
|
8085
|
+
*
|
|
8086
|
+
* @remarks
|
|
8087
|
+
* ## [](#)Usage notes
|
|
8088
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8089
|
+
* * The replication pair-consistent group for which you want to enable reverse replication must be in the **Failovered** (`failovered`) state. You can call the `FailoverDiskReplicaPair` operation to enable failover.
|
|
8090
|
+
* * Before a reverse replication is performed, the primary disks must be detached from its associated Elastic Compute Service (ECS) instance and must be in the Unattached state. You can call the [DetachDisk](https://help.aliyun.com/document_detail/25516.html) operation to detach the disks.
|
|
8091
|
+
* * After you enable reverse replication, you must call the `StartDiskReplicaPair` operation again to enable the async replication feature before data can be replicated from the original secondary disks to the original primary disks.
|
|
8092
|
+
* * You can set the ReverseReplicate parameter to false to cancel the **Failovered** (`failovered`) state and restore the original replication direction.
|
|
8093
|
+
*
|
|
8094
|
+
* @param request - ReprotectDiskReplicaGroupRequest
|
|
8095
|
+
* @returns ReprotectDiskReplicaGroupResponse
|
|
7710
8096
|
*/
|
|
7711
8097
|
async reprotectDiskReplicaGroup(request) {
|
|
7712
8098
|
let runtime = new $Util.RuntimeOptions({});
|
|
7713
8099
|
return await this.reprotectDiskReplicaGroupWithOptions(request, runtime);
|
|
7714
8100
|
}
|
|
7715
8101
|
/**
|
|
7716
|
-
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
7721
|
-
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
8102
|
+
* Enables the reverse replication feature for a replication pair.
|
|
8103
|
+
*
|
|
8104
|
+
* @remarks
|
|
8105
|
+
* ## [](#)Usage notes
|
|
8106
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8107
|
+
* * The replication pair for which you want to enable reverse replication must be in the **Failovered** (`failovered`) state. You can call the [FailoverDiskReplicaPair](https://help.aliyun.com/document_detail/354358.html) operation to enable failover.
|
|
8108
|
+
* * The primary disk must be detached from its associated Elastic Compute Service (ECS) instance and is in the Unattached state. You can call the [DetachDisk](https://help.aliyun.com/document_detail/25516.html) operation to detach the disk.
|
|
8109
|
+
* * After you enable reverse replication, you must call the [StartDiskReplicaPair](https://help.aliyun.com/document_detail/354205.html) operation again to activate the replication pair before data can be replicated from the original secondary disk to the original primary disk.
|
|
8110
|
+
* * You can set the ReverseReplicate parameter to false to cancel the **Failovered** (`failovered`) state and restore the original replication direction.
|
|
8111
|
+
*
|
|
8112
|
+
* @param request - ReprotectDiskReplicaPairRequest
|
|
8113
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8114
|
+
* @returns ReprotectDiskReplicaPairResponse
|
|
7726
8115
|
*/
|
|
7727
8116
|
async reprotectDiskReplicaPairWithOptions(request, runtime) {
|
|
7728
8117
|
tea_util_1.default.validateModel(request);
|
|
@@ -7756,20 +8145,30 @@ class Client extends openapi_client_1.default {
|
|
|
7756
8145
|
return $tea.cast(await this.callApi(params, req, runtime), new ReprotectDiskReplicaPairResponse({}));
|
|
7757
8146
|
}
|
|
7758
8147
|
/**
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
8148
|
+
* Enables the reverse replication feature for a replication pair.
|
|
8149
|
+
*
|
|
8150
|
+
* @remarks
|
|
8151
|
+
* ## [](#)Usage notes
|
|
8152
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8153
|
+
* * The replication pair for which you want to enable reverse replication must be in the **Failovered** (`failovered`) state. You can call the [FailoverDiskReplicaPair](https://help.aliyun.com/document_detail/354358.html) operation to enable failover.
|
|
8154
|
+
* * The primary disk must be detached from its associated Elastic Compute Service (ECS) instance and is in the Unattached state. You can call the [DetachDisk](https://help.aliyun.com/document_detail/25516.html) operation to detach the disk.
|
|
8155
|
+
* * After you enable reverse replication, you must call the [StartDiskReplicaPair](https://help.aliyun.com/document_detail/354205.html) operation again to activate the replication pair before data can be replicated from the original secondary disk to the original primary disk.
|
|
8156
|
+
* * You can set the ReverseReplicate parameter to false to cancel the **Failovered** (`failovered`) state and restore the original replication direction.
|
|
8157
|
+
*
|
|
8158
|
+
* @param request - ReprotectDiskReplicaPairRequest
|
|
8159
|
+
* @returns ReprotectDiskReplicaPairResponse
|
|
7768
8160
|
*/
|
|
7769
8161
|
async reprotectDiskReplicaPair(request) {
|
|
7770
8162
|
let runtime = new $Util.RuntimeOptions({});
|
|
7771
8163
|
return await this.reprotectDiskReplicaPairWithOptions(request, runtime);
|
|
7772
8164
|
}
|
|
8165
|
+
/**
|
|
8166
|
+
* In the elastic type dedicated block storage cluster, you can easily achieve the specified throughput (Bps) for the target disk. You only need to set the cloud disk ID and the target throughput, simplifying the process of configuring.
|
|
8167
|
+
*
|
|
8168
|
+
* @param request - SetDedicatedBlockStorageClusterDiskThroughputRequest
|
|
8169
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8170
|
+
* @returns SetDedicatedBlockStorageClusterDiskThroughputResponse
|
|
8171
|
+
*/
|
|
7773
8172
|
async setDedicatedBlockStorageClusterDiskThroughputWithOptions(request, runtime) {
|
|
7774
8173
|
tea_util_1.default.validateModel(request);
|
|
7775
8174
|
let query = {};
|
|
@@ -7803,20 +8202,29 @@ class Client extends openapi_client_1.default {
|
|
|
7803
8202
|
});
|
|
7804
8203
|
return $tea.cast(await this.callApi(params, req, runtime), new SetDedicatedBlockStorageClusterDiskThroughputResponse({}));
|
|
7805
8204
|
}
|
|
8205
|
+
/**
|
|
8206
|
+
* In the elastic type dedicated block storage cluster, you can easily achieve the specified throughput (Bps) for the target disk. You only need to set the cloud disk ID and the target throughput, simplifying the process of configuring.
|
|
8207
|
+
*
|
|
8208
|
+
* @param request - SetDedicatedBlockStorageClusterDiskThroughputRequest
|
|
8209
|
+
* @returns SetDedicatedBlockStorageClusterDiskThroughputResponse
|
|
8210
|
+
*/
|
|
7806
8211
|
async setDedicatedBlockStorageClusterDiskThroughput(request) {
|
|
7807
8212
|
let runtime = new $Util.RuntimeOptions({});
|
|
7808
8213
|
return await this.setDedicatedBlockStorageClusterDiskThroughputWithOptions(request, runtime);
|
|
7809
8214
|
}
|
|
7810
8215
|
/**
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
8216
|
+
* Enables the async replication feature for replication pairs that belong to a replication pair-consistent group. When the async replication feature is enabled for the pairs for the first time, the system first performs a full synchronization to synchronize all data from disks at the primary site (primary disks) to disks at the secondary site (secondary disks) and then periodically synchronizes incremental data based on the recovery point objective (RPO) of the replication pair-consistent group.
|
|
8217
|
+
*
|
|
8218
|
+
* @remarks
|
|
8219
|
+
* ## [](#)Usage notes
|
|
8220
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8221
|
+
* * If you set the `OneShot` to `false`, the replication pair-consistent group must be in the **Created** (`created` ), **Synchronizing** (`syncing` ), **Normal** (`normal` ), or **Stopped** (`stopped`) state.
|
|
8222
|
+
* * If you set `OneShot` to `true`, the replication pair-consistent group must be in the **Created** (`created` ), **One-time Syncing** (`manual_syncing` ), or **Stopped** (`stopped`) state. The time interval between two consecutive one-time synchronizations must be longer than one half of the recovery point objective (RPO).
|
|
8223
|
+
* * After a replication pair-consistent group is activated, the group enters the **Initial Syncing** (`initial_syncing`) state and the system performs the first async replication to replicate all data from the primary disks to secondary disks.
|
|
8224
|
+
*
|
|
8225
|
+
* @param request - StartDiskReplicaGroupRequest
|
|
8226
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8227
|
+
* @returns StartDiskReplicaGroupResponse
|
|
7820
8228
|
*/
|
|
7821
8229
|
async startDiskReplicaGroupWithOptions(request, runtime) {
|
|
7822
8230
|
tea_util_1.default.validateModel(request);
|
|
@@ -7850,28 +8258,34 @@ class Client extends openapi_client_1.default {
|
|
|
7850
8258
|
return $tea.cast(await this.callApi(params, req, runtime), new StartDiskReplicaGroupResponse({}));
|
|
7851
8259
|
}
|
|
7852
8260
|
/**
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
8261
|
+
* Enables the async replication feature for replication pairs that belong to a replication pair-consistent group. When the async replication feature is enabled for the pairs for the first time, the system first performs a full synchronization to synchronize all data from disks at the primary site (primary disks) to disks at the secondary site (secondary disks) and then periodically synchronizes incremental data based on the recovery point objective (RPO) of the replication pair-consistent group.
|
|
8262
|
+
*
|
|
8263
|
+
* @remarks
|
|
8264
|
+
* ## [](#)Usage notes
|
|
8265
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8266
|
+
* * If you set the `OneShot` to `false`, the replication pair-consistent group must be in the **Created** (`created` ), **Synchronizing** (`syncing` ), **Normal** (`normal` ), or **Stopped** (`stopped`) state.
|
|
8267
|
+
* * If you set `OneShot` to `true`, the replication pair-consistent group must be in the **Created** (`created` ), **One-time Syncing** (`manual_syncing` ), or **Stopped** (`stopped`) state. The time interval between two consecutive one-time synchronizations must be longer than one half of the recovery point objective (RPO).
|
|
8268
|
+
* * After a replication pair-consistent group is activated, the group enters the **Initial Syncing** (`initial_syncing`) state and the system performs the first async replication to replicate all data from the primary disks to secondary disks.
|
|
8269
|
+
*
|
|
8270
|
+
* @param request - StartDiskReplicaGroupRequest
|
|
8271
|
+
* @returns StartDiskReplicaGroupResponse
|
|
7861
8272
|
*/
|
|
7862
8273
|
async startDiskReplicaGroup(request) {
|
|
7863
8274
|
let runtime = new $Util.RuntimeOptions({});
|
|
7864
8275
|
return await this.startDiskReplicaGroupWithOptions(request, runtime);
|
|
7865
8276
|
}
|
|
7866
8277
|
/**
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
8278
|
+
* Activates a replication pair.
|
|
8279
|
+
*
|
|
8280
|
+
* @remarks
|
|
8281
|
+
* ## [](#)Usage notes
|
|
8282
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8283
|
+
* * Only replication pairs that are in the **Created** (`created`) or **Stopped** (`stopped`) state can be activated.
|
|
8284
|
+
* * After a replication pair is activated, it enters the **Initial Syncing** (`initial_syncing`) state and the system performs the first asynchronous replication to replicate all data from the primary disk to the secondary disk.
|
|
8285
|
+
*
|
|
8286
|
+
* @param request - StartDiskReplicaPairRequest
|
|
8287
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8288
|
+
* @returns StartDiskReplicaPairResponse
|
|
7875
8289
|
*/
|
|
7876
8290
|
async startDiskReplicaPairWithOptions(request, runtime) {
|
|
7877
8291
|
tea_util_1.default.validateModel(request);
|
|
@@ -7905,24 +8319,30 @@ class Client extends openapi_client_1.default {
|
|
|
7905
8319
|
return $tea.cast(await this.callApi(params, req, runtime), new StartDiskReplicaPairResponse({}));
|
|
7906
8320
|
}
|
|
7907
8321
|
/**
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
8322
|
+
* Activates a replication pair.
|
|
8323
|
+
*
|
|
8324
|
+
* @remarks
|
|
8325
|
+
* ## [](#)Usage notes
|
|
8326
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8327
|
+
* * Only replication pairs that are in the **Created** (`created`) or **Stopped** (`stopped`) state can be activated.
|
|
8328
|
+
* * After a replication pair is activated, it enters the **Initial Syncing** (`initial_syncing`) state and the system performs the first asynchronous replication to replicate all data from the primary disk to the secondary disk.
|
|
8329
|
+
*
|
|
8330
|
+
* @param request - StartDiskReplicaPairRequest
|
|
8331
|
+
* @returns StartDiskReplicaPairResponse
|
|
7915
8332
|
*/
|
|
7916
8333
|
async startDiskReplicaPair(request) {
|
|
7917
8334
|
let runtime = new $Util.RuntimeOptions({});
|
|
7918
8335
|
return await this.startDiskReplicaPairWithOptions(request, runtime);
|
|
7919
8336
|
}
|
|
7920
8337
|
/**
|
|
7921
|
-
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
8338
|
+
* Starts a disaster recovery drill to ensure the continued replication and clone the data from the last recovery point of the secondary disk to a new disk. This helps you test the completeness and correctness of applications that are deployed on the disaster recovery site on a regular basis.
|
|
8339
|
+
*
|
|
8340
|
+
* @remarks
|
|
8341
|
+
* After the disaster recovery drill is complete on the secondary disk, a pay-as-you-go drill disk that has the same capacity and category as the secondary disk is created in the zone where the secondary disk resides. The drill disk contains last-recovery-point data that can be used to test the completeness and correctness of applications.
|
|
8342
|
+
*
|
|
8343
|
+
* @param request - StartPairDrillRequest
|
|
8344
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8345
|
+
* @returns StartPairDrillResponse
|
|
7926
8346
|
*/
|
|
7927
8347
|
async startPairDrillWithOptions(request, runtime) {
|
|
7928
8348
|
tea_util_1.default.validateModel(request);
|
|
@@ -7953,21 +8373,27 @@ class Client extends openapi_client_1.default {
|
|
|
7953
8373
|
return $tea.cast(await this.callApi(params, req, runtime), new StartPairDrillResponse({}));
|
|
7954
8374
|
}
|
|
7955
8375
|
/**
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
8376
|
+
* Starts a disaster recovery drill to ensure the continued replication and clone the data from the last recovery point of the secondary disk to a new disk. This helps you test the completeness and correctness of applications that are deployed on the disaster recovery site on a regular basis.
|
|
8377
|
+
*
|
|
8378
|
+
* @remarks
|
|
8379
|
+
* After the disaster recovery drill is complete on the secondary disk, a pay-as-you-go drill disk that has the same capacity and category as the secondary disk is created in the zone where the secondary disk resides. The drill disk contains last-recovery-point data that can be used to test the completeness and correctness of applications.
|
|
8380
|
+
*
|
|
8381
|
+
* @param request - StartPairDrillRequest
|
|
8382
|
+
* @returns StartPairDrillResponse
|
|
7960
8383
|
*/
|
|
7961
8384
|
async startPairDrill(request) {
|
|
7962
8385
|
let runtime = new $Util.RuntimeOptions({});
|
|
7963
8386
|
return await this.startPairDrillWithOptions(request, runtime);
|
|
7964
8387
|
}
|
|
7965
8388
|
/**
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
8389
|
+
* Starts a disaster recovery drill in a replication pair-consistent group to ensure the continued replication and restores data from the latest recovery point of secondary disks to new disks. This helps test the completeness and correctness of applications that are deployed on the disaster recovery site on a regular basis.
|
|
8390
|
+
*
|
|
8391
|
+
* @remarks
|
|
8392
|
+
* After the disaster recovery drill is complete on secondary disks, a pay-as-you-go drill disk is created in the zone where the secondary disk of each replication pair resides. The latest-recovery-point data is restored to the drill disks to test the completeness and correctness of applications.
|
|
8393
|
+
*
|
|
8394
|
+
* @param request - StartReplicaGroupDrillRequest
|
|
8395
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8396
|
+
* @returns StartReplicaGroupDrillResponse
|
|
7971
8397
|
*/
|
|
7972
8398
|
async startReplicaGroupDrillWithOptions(request, runtime) {
|
|
7973
8399
|
tea_util_1.default.validateModel(request);
|
|
@@ -7998,24 +8424,30 @@ class Client extends openapi_client_1.default {
|
|
|
7998
8424
|
return $tea.cast(await this.callApi(params, req, runtime), new StartReplicaGroupDrillResponse({}));
|
|
7999
8425
|
}
|
|
8000
8426
|
/**
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8427
|
+
* Starts a disaster recovery drill in a replication pair-consistent group to ensure the continued replication and restores data from the latest recovery point of secondary disks to new disks. This helps test the completeness and correctness of applications that are deployed on the disaster recovery site on a regular basis.
|
|
8428
|
+
*
|
|
8429
|
+
* @remarks
|
|
8430
|
+
* After the disaster recovery drill is complete on secondary disks, a pay-as-you-go drill disk is created in the zone where the secondary disk of each replication pair resides. The latest-recovery-point data is restored to the drill disks to test the completeness and correctness of applications.
|
|
8431
|
+
*
|
|
8432
|
+
* @param request - StartReplicaGroupDrillRequest
|
|
8433
|
+
* @returns StartReplicaGroupDrillResponse
|
|
8005
8434
|
*/
|
|
8006
8435
|
async startReplicaGroupDrill(request) {
|
|
8007
8436
|
let runtime = new $Util.RuntimeOptions({});
|
|
8008
8437
|
return await this.startReplicaGroupDrillWithOptions(request, runtime);
|
|
8009
8438
|
}
|
|
8010
8439
|
/**
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8440
|
+
* Stops a replication pair-consistent group. This operation stops all replication pairs in the replication pair-consistent group.
|
|
8441
|
+
*
|
|
8442
|
+
* @remarks
|
|
8443
|
+
* ## [](#)Usage notes
|
|
8444
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8445
|
+
* * The replication pair-consistent group that you want to stop must be in the **One-time Syncing** (`manual_syncing`), **Syncing** (`syncing`), **Normal** (`normal`), **Stopping** (`stopping`), **Stop Failed** (`stop_failed`), or **Stopped** (`stopped`) state.
|
|
8446
|
+
* * When a replication pair-consistent group is stopped, it enters the **Stopped** (`stopped`) state. If a replication pair-consistent group cannot be stopped, the state of the group remains unchanged or changes to **Stop Failed** (`stop_failed`). In this case, try again later.
|
|
8447
|
+
*
|
|
8448
|
+
* @param request - StopDiskReplicaGroupRequest
|
|
8449
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8450
|
+
* @returns StopDiskReplicaGroupResponse
|
|
8019
8451
|
*/
|
|
8020
8452
|
async stopDiskReplicaGroupWithOptions(request, runtime) {
|
|
8021
8453
|
tea_util_1.default.validateModel(request);
|
|
@@ -8046,26 +8478,32 @@ class Client extends openapi_client_1.default {
|
|
|
8046
8478
|
return $tea.cast(await this.callApi(params, req, runtime), new StopDiskReplicaGroupResponse({}));
|
|
8047
8479
|
}
|
|
8048
8480
|
/**
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8481
|
+
* Stops a replication pair-consistent group. This operation stops all replication pairs in the replication pair-consistent group.
|
|
8482
|
+
*
|
|
8483
|
+
* @remarks
|
|
8484
|
+
* ## [](#)Usage notes
|
|
8485
|
+
* * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8486
|
+
* * The replication pair-consistent group that you want to stop must be in the **One-time Syncing** (`manual_syncing`), **Syncing** (`syncing`), **Normal** (`normal`), **Stopping** (`stopping`), **Stop Failed** (`stop_failed`), or **Stopped** (`stopped`) state.
|
|
8487
|
+
* * When a replication pair-consistent group is stopped, it enters the **Stopped** (`stopped`) state. If a replication pair-consistent group cannot be stopped, the state of the group remains unchanged or changes to **Stop Failed** (`stop_failed`). In this case, try again later.
|
|
8488
|
+
*
|
|
8489
|
+
* @param request - StopDiskReplicaGroupRequest
|
|
8490
|
+
* @returns StopDiskReplicaGroupResponse
|
|
8056
8491
|
*/
|
|
8057
8492
|
async stopDiskReplicaGroup(request) {
|
|
8058
8493
|
let runtime = new $Util.RuntimeOptions({});
|
|
8059
8494
|
return await this.stopDiskReplicaGroupWithOptions(request, runtime);
|
|
8060
8495
|
}
|
|
8061
8496
|
/**
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8497
|
+
* Stops a replication pair.
|
|
8498
|
+
*
|
|
8499
|
+
* @remarks
|
|
8500
|
+
* ## [](#)Usage notes
|
|
8501
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8502
|
+
* * Only replication pairs that are in the **Initial Syncing** (`initial_syncing`), **Syncing** (`syncing`), **One-time Syncing** (`manual_syncing`), or **Normal** (`normal`) state can be stopped. When a replication pair is stopped, it enters the Stopped (`stopped`) state. The secondary disk rolls back to the point in time when the last async replication was complete and drops all the data that is being replicated from the primary disk.
|
|
8503
|
+
*
|
|
8504
|
+
* @param request - StopDiskReplicaPairRequest
|
|
8505
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8506
|
+
* @returns StopDiskReplicaPairResponse
|
|
8069
8507
|
*/
|
|
8070
8508
|
async stopDiskReplicaPairWithOptions(request, runtime) {
|
|
8071
8509
|
tea_util_1.default.validateModel(request);
|
|
@@ -8096,23 +8534,29 @@ class Client extends openapi_client_1.default {
|
|
|
8096
8534
|
return $tea.cast(await this.callApi(params, req, runtime), new StopDiskReplicaPairResponse({}));
|
|
8097
8535
|
}
|
|
8098
8536
|
/**
|
|
8099
|
-
|
|
8100
|
-
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
|
|
8104
|
-
|
|
8537
|
+
* Stops a replication pair.
|
|
8538
|
+
*
|
|
8539
|
+
* @remarks
|
|
8540
|
+
* ## [](#)Usage notes
|
|
8541
|
+
* * For information about the regions in which async replication is available, see [Overview](https://help.aliyun.com/document_detail/314563.html).
|
|
8542
|
+
* * Only replication pairs that are in the **Initial Syncing** (`initial_syncing`), **Syncing** (`syncing`), **One-time Syncing** (`manual_syncing`), or **Normal** (`normal`) state can be stopped. When a replication pair is stopped, it enters the Stopped (`stopped`) state. The secondary disk rolls back to the point in time when the last async replication was complete and drops all the data that is being replicated from the primary disk.
|
|
8543
|
+
*
|
|
8544
|
+
* @param request - StopDiskReplicaPairRequest
|
|
8545
|
+
* @returns StopDiskReplicaPairResponse
|
|
8105
8546
|
*/
|
|
8106
8547
|
async stopDiskReplicaPair(request) {
|
|
8107
8548
|
let runtime = new $Util.RuntimeOptions({});
|
|
8108
8549
|
return await this.stopDiskReplicaPairWithOptions(request, runtime);
|
|
8109
8550
|
}
|
|
8110
8551
|
/**
|
|
8111
|
-
|
|
8112
|
-
|
|
8113
|
-
|
|
8114
|
-
|
|
8115
|
-
|
|
8552
|
+
* Creates tags and adds the tags to Elastic Block Storage (EBS) resources.
|
|
8553
|
+
*
|
|
8554
|
+
* @remarks
|
|
8555
|
+
* Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number of tags is reached, an error message is returned. For more information, see the "Tag limits" section in [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
8556
|
+
*
|
|
8557
|
+
* @param request - TagResourcesRequest
|
|
8558
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8559
|
+
* @returns TagResourcesResponse
|
|
8116
8560
|
*/
|
|
8117
8561
|
async tagResourcesWithOptions(request, runtime) {
|
|
8118
8562
|
tea_util_1.default.validateModel(request);
|
|
@@ -8149,15 +8593,25 @@ class Client extends openapi_client_1.default {
|
|
|
8149
8593
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
8150
8594
|
}
|
|
8151
8595
|
/**
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8596
|
+
* Creates tags and adds the tags to Elastic Block Storage (EBS) resources.
|
|
8597
|
+
*
|
|
8598
|
+
* @remarks
|
|
8599
|
+
* Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number of tags is reached, an error message is returned. For more information, see the "Tag limits" section in [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
8600
|
+
*
|
|
8601
|
+
* @param request - TagResourcesRequest
|
|
8602
|
+
* @returns TagResourcesResponse
|
|
8156
8603
|
*/
|
|
8157
8604
|
async tagResources(request) {
|
|
8158
8605
|
let runtime = new $Util.RuntimeOptions({});
|
|
8159
8606
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
8160
8607
|
}
|
|
8608
|
+
/**
|
|
8609
|
+
* Unbind disks from a enterprise-level snapshot policy.
|
|
8610
|
+
*
|
|
8611
|
+
* @param request - UnbindEnterpriseSnapshotPolicyRequest
|
|
8612
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8613
|
+
* @returns UnbindEnterpriseSnapshotPolicyResponse
|
|
8614
|
+
*/
|
|
8161
8615
|
async unbindEnterpriseSnapshotPolicyWithOptions(request, runtime) {
|
|
8162
8616
|
tea_util_1.default.validateModel(request);
|
|
8163
8617
|
let query = {};
|
|
@@ -8189,17 +8643,26 @@ class Client extends openapi_client_1.default {
|
|
|
8189
8643
|
});
|
|
8190
8644
|
return $tea.cast(await this.callApi(params, req, runtime), new UnbindEnterpriseSnapshotPolicyResponse({}));
|
|
8191
8645
|
}
|
|
8646
|
+
/**
|
|
8647
|
+
* Unbind disks from a enterprise-level snapshot policy.
|
|
8648
|
+
*
|
|
8649
|
+
* @param request - UnbindEnterpriseSnapshotPolicyRequest
|
|
8650
|
+
* @returns UnbindEnterpriseSnapshotPolicyResponse
|
|
8651
|
+
*/
|
|
8192
8652
|
async unbindEnterpriseSnapshotPolicy(request) {
|
|
8193
8653
|
let runtime = new $Util.RuntimeOptions({});
|
|
8194
8654
|
return await this.unbindEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
8195
8655
|
}
|
|
8196
8656
|
/**
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8657
|
+
* Removes tags from specified Elastic Block Storage (EBS) resources.
|
|
8658
|
+
*
|
|
8659
|
+
* @remarks
|
|
8660
|
+
* You can remove up to 20 tags at a time.
|
|
8661
|
+
* * After a tag is removed from an EBS resource, the tag is automatically deleted if the tag is not added to any instance.
|
|
8662
|
+
*
|
|
8663
|
+
* @param request - UntagResourcesRequest
|
|
8664
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8665
|
+
* @returns UntagResourcesResponse
|
|
8203
8666
|
*/
|
|
8204
8667
|
async untagResourcesWithOptions(request, runtime) {
|
|
8205
8668
|
tea_util_1.default.validateModel(request);
|
|
@@ -8239,16 +8702,26 @@ class Client extends openapi_client_1.default {
|
|
|
8239
8702
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
8240
8703
|
}
|
|
8241
8704
|
/**
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8705
|
+
* Removes tags from specified Elastic Block Storage (EBS) resources.
|
|
8706
|
+
*
|
|
8707
|
+
* @remarks
|
|
8708
|
+
* You can remove up to 20 tags at a time.
|
|
8709
|
+
* * After a tag is removed from an EBS resource, the tag is automatically deleted if the tag is not added to any instance.
|
|
8710
|
+
*
|
|
8711
|
+
* @param request - UntagResourcesRequest
|
|
8712
|
+
* @returns UntagResourcesResponse
|
|
8247
8713
|
*/
|
|
8248
8714
|
async untagResources(request) {
|
|
8249
8715
|
let runtime = new $Util.RuntimeOptions({});
|
|
8250
8716
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
8251
8717
|
}
|
|
8718
|
+
/**
|
|
8719
|
+
* Search for a enterprise-level snapshot policy.
|
|
8720
|
+
*
|
|
8721
|
+
* @param tmpReq - UpdateEnterpriseSnapshotPolicyRequest
|
|
8722
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8723
|
+
* @returns UpdateEnterpriseSnapshotPolicyResponse
|
|
8724
|
+
*/
|
|
8252
8725
|
async updateEnterpriseSnapshotPolicyWithOptions(tmpReq, runtime) {
|
|
8253
8726
|
tea_util_1.default.validateModel(tmpReq);
|
|
8254
8727
|
let request = new UpdateEnterpriseSnapshotPolicyShrinkRequest({});
|
|
@@ -8318,10 +8791,23 @@ class Client extends openapi_client_1.default {
|
|
|
8318
8791
|
});
|
|
8319
8792
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateEnterpriseSnapshotPolicyResponse({}));
|
|
8320
8793
|
}
|
|
8794
|
+
/**
|
|
8795
|
+
* Search for a enterprise-level snapshot policy.
|
|
8796
|
+
*
|
|
8797
|
+
* @param request - UpdateEnterpriseSnapshotPolicyRequest
|
|
8798
|
+
* @returns UpdateEnterpriseSnapshotPolicyResponse
|
|
8799
|
+
*/
|
|
8321
8800
|
async updateEnterpriseSnapshotPolicy(request) {
|
|
8322
8801
|
let runtime = new $Util.RuntimeOptions({});
|
|
8323
8802
|
return await this.updateEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
8324
8803
|
}
|
|
8804
|
+
/**
|
|
8805
|
+
* 更新解决方案实例属性
|
|
8806
|
+
*
|
|
8807
|
+
* @param request - UpdateSolutionInstanceAttributeRequest
|
|
8808
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8809
|
+
* @returns UpdateSolutionInstanceAttributeResponse
|
|
8810
|
+
*/
|
|
8325
8811
|
async updateSolutionInstanceAttributeWithOptions(request, runtime) {
|
|
8326
8812
|
tea_util_1.default.validateModel(request);
|
|
8327
8813
|
let query = {};
|
|
@@ -8356,6 +8842,12 @@ class Client extends openapi_client_1.default {
|
|
|
8356
8842
|
});
|
|
8357
8843
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateSolutionInstanceAttributeResponse({}));
|
|
8358
8844
|
}
|
|
8845
|
+
/**
|
|
8846
|
+
* 更新解决方案实例属性
|
|
8847
|
+
*
|
|
8848
|
+
* @param request - UpdateSolutionInstanceAttributeRequest
|
|
8849
|
+
* @returns UpdateSolutionInstanceAttributeResponse
|
|
8850
|
+
*/
|
|
8359
8851
|
async updateSolutionInstanceAttribute(request) {
|
|
8360
8852
|
let runtime = new $Util.RuntimeOptions({});
|
|
8361
8853
|
return await this.updateSolutionInstanceAttributeWithOptions(request, runtime);
|