@alicloud/ebs20210730 2.2.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 +7481 -492
- package/dist/client.js +1148 -485
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +7619 -487
package/dist/client.js
CHANGED
|
@@ -27,13 +27,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.DescribeDedicatedBlockStorageClustersResponse = exports.DescribeDedicatedBlockStorageClustersResponseBody = exports.DescribeDedicatedBlockStorageClustersRequest = exports.DescribeDedicatedBlockStorageClusterDisksResponse = exports.DescribeDedicatedBlockStorageClusterDisksResponseBody = exports.DescribeDedicatedBlockStorageClusterDisksRequest = exports.DeleteEnterpriseSnapshotPolicyResponse = exports.DeleteEnterpriseSnapshotPolicyResponseBody = exports.DeleteEnterpriseSnapshotPolicyRequest = exports.DeleteDiskReplicaPairResponse = exports.DeleteDiskReplicaPairResponseBody = exports.DeleteDiskReplicaPairRequest = exports.DeleteDiskReplicaGroupResponse = exports.DeleteDiskReplicaGroupResponseBody = exports.DeleteDiskReplicaGroupRequest = exports.DeleteDiskResponse = exports.DeleteDiskResponseBody = exports.DeleteDiskRequest = exports.CreateEnterpriseSnapshotPolicyResponse = exports.CreateEnterpriseSnapshotPolicyResponseBody = exports.CreateEnterpriseSnapshotPolicyShrinkRequest = exports.CreateEnterpriseSnapshotPolicyRequest = exports.CreateDiskReplicaPairResponse = exports.CreateDiskReplicaPairResponseBody = exports.CreateDiskReplicaPairRequest = exports.CreateDiskReplicaGroupResponse = exports.CreateDiskReplicaGroupResponseBody = exports.CreateDiskReplicaGroupRequest = exports.CreateDedicatedBlockStorageClusterResponse = exports.CreateDedicatedBlockStorageClusterResponseBody = exports.CreateDedicatedBlockStorageClusterRequest = exports.ClearReplicaGroupDrillResponse = exports.ClearReplicaGroupDrillResponseBody = exports.ClearReplicaGroupDrillRequest = exports.ClearPairDrillResponse = exports.ClearPairDrillResponseBody = exports.ClearPairDrillRequest = exports.ChangeResourceGroupResponse = exports.ChangeResourceGroupResponseBody = exports.ChangeResourceGroupRequest = exports.CancelLensServiceResponse = exports.CancelLensServiceResponseBody = exports.BindEnterpriseSnapshotPolicyResponse = exports.BindEnterpriseSnapshotPolicyResponseBody = exports.BindEnterpriseSnapshotPolicyRequest = exports.ApplyLensServiceResponse = exports.ApplyLensServiceResponseBody = exports.AddDiskReplicaPairResponse = exports.AddDiskReplicaPairResponseBody = exports.AddDiskReplicaPairRequest = void 0;
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
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.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 = void 0;
|
|
30
|
+
exports.FailoverDiskReplicaGroupResponse = exports.FailoverDiskReplicaGroupResponseBody = exports.FailoverDiskReplicaGroupRequest = exports.DescribeSolutionInstanceConfigurationResponse = exports.DescribeSolutionInstanceConfigurationResponseBody = exports.DescribeSolutionInstanceConfigurationRequest = exports.DescribeReplicaGroupDrillsResponse = exports.DescribeReplicaGroupDrillsResponseBody = exports.DescribeReplicaGroupDrillsRequest = exports.DescribeRegionsResponse = exports.DescribeRegionsResponseBody = exports.DescribeRegionsRequest = exports.DescribePairDrillsResponse = exports.DescribePairDrillsResponseBody = exports.DescribePairDrillsRequest = exports.DescribeMetricDataResponse = exports.DescribeMetricDataResponseBody = exports.DescribeMetricDataRequest = exports.DescribeLensServiceStatusResponse = exports.DescribeLensServiceStatusResponseBody = exports.DescribeLensMonitorDisksResponse = exports.DescribeLensMonitorDisksResponseBody = exports.DescribeLensMonitorDisksRequest = exports.DescribeEventsResponse = exports.DescribeEventsResponseBody = exports.DescribeEventsRequest = exports.DescribeEnterpriseSnapshotPolicyResponse = exports.DescribeEnterpriseSnapshotPolicyResponseBody = exports.DescribeEnterpriseSnapshotPolicyRequest = exports.DescribeDisksResponse = exports.DescribeDisksResponseBody = exports.DescribeDisksRequest = exports.DescribeDiskReplicaPairsResponse = exports.DescribeDiskReplicaPairsResponseBody = exports.DescribeDiskReplicaPairsRequest = exports.DescribeDiskReplicaPairProgressResponse = exports.DescribeDiskReplicaPairProgressResponseBody = exports.DescribeDiskReplicaPairProgressRequest = exports.DescribeDiskReplicaGroupsResponse = exports.DescribeDiskReplicaGroupsResponseBody = exports.DescribeDiskReplicaGroupsRequest = exports.DescribeDiskMonitorDataListResponse = exports.DescribeDiskMonitorDataListResponseBody = exports.DescribeDiskMonitorDataListRequest = exports.DescribeDiskMonitorDataResponse = exports.DescribeDiskMonitorDataResponseBody = exports.DescribeDiskMonitorDataRequest = exports.DescribeDiskEventsResponse = exports.DescribeDiskEventsResponseBody = exports.DescribeDiskEventsRequest = void 0;
|
|
31
|
+
exports.StopDiskReplicaGroupResponseBody = exports.StopDiskReplicaGroupRequest = exports.StartReplicaGroupDrillResponse = exports.StartReplicaGroupDrillResponseBody = exports.StartReplicaGroupDrillRequest = exports.StartPairDrillResponse = exports.StartPairDrillResponseBody = exports.StartPairDrillRequest = exports.StartDiskReplicaPairResponse = exports.StartDiskReplicaPairResponseBody = exports.StartDiskReplicaPairRequest = exports.StartDiskReplicaGroupResponse = exports.StartDiskReplicaGroupResponseBody = exports.StartDiskReplicaGroupRequest = exports.SetDedicatedBlockStorageClusterDiskThroughputResponse = exports.SetDedicatedBlockStorageClusterDiskThroughputResponseBody = exports.SetDedicatedBlockStorageClusterDiskThroughputRequest = exports.ReprotectDiskReplicaPairResponse = exports.ReprotectDiskReplicaPairResponseBody = exports.ReprotectDiskReplicaPairRequest = exports.ReprotectDiskReplicaGroupResponse = exports.ReprotectDiskReplicaGroupResponseBody = exports.ReprotectDiskReplicaGroupRequest = exports.RemoveDiskReplicaPairResponse = exports.RemoveDiskReplicaPairResponseBody = exports.RemoveDiskReplicaPairRequest = exports.QueryDedicatedBlockStorageClusterInventoryDataResponse = exports.QueryDedicatedBlockStorageClusterInventoryDataResponseBody = exports.QueryDedicatedBlockStorageClusterInventoryDataRequest = exports.QueryDedicatedBlockStorageClusterDiskThroughputStatusResponse = exports.QueryDedicatedBlockStorageClusterDiskThroughputStatusResponseBody = exports.QueryDedicatedBlockStorageClusterDiskThroughputStatusRequest = exports.ModifyDiskReplicaPairResponse = exports.ModifyDiskReplicaPairResponseBody = exports.ModifyDiskReplicaPairRequest = exports.ModifyDiskReplicaGroupResponse = exports.ModifyDiskReplicaGroupResponseBody = exports.ModifyDiskReplicaGroupRequest = exports.ModifyDedicatedBlockStorageClusterAttributeResponse = exports.ModifyDedicatedBlockStorageClusterAttributeResponseBody = exports.ModifyDedicatedBlockStorageClusterAttributeRequest = exports.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesRequest = exports.GetDiskResponse = exports.GetDiskResponseBody = exports.GetDiskRequest = exports.FailoverDiskReplicaPairResponse = exports.FailoverDiskReplicaPairResponseBody = exports.FailoverDiskReplicaPairRequest = void 0;
|
|
32
|
+
exports.DescribeDisksResponseBodyDataAccessAuthorizationEcs = exports.DescribeDisksRequestTag = exports.DescribeDiskReplicaPairsResponseBodyReplicaPairs = exports.DescribeDiskReplicaPairsResponseBodyReplicaPairsTags = exports.DescribeDiskReplicaPairsRequestTag = exports.DescribeDiskReplicaGroupsResponseBodyReplicaGroups = exports.DescribeDiskReplicaGroupsResponseBodyReplicaGroupsTags = exports.DescribeDiskReplicaGroupsRequestTag = exports.DescribeDiskMonitorDataListResponseBodyMonitorData = exports.DescribeDiskMonitorDataResponseBodyMonitorData = exports.DescribeDiskEventsResponseBodyDiskEvents = exports.DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters = exports.DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersTags = exports.DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity = exports.DescribeDedicatedBlockStorageClustersRequestTag = exports.DescribeDedicatedBlockStorageClusterDisksResponseBodyDisks = exports.DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk = exports.DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDiskTags = exports.CreateEnterpriseSnapshotPolicyShrinkRequestTag = exports.CreateEnterpriseSnapshotPolicyRequestTag = exports.CreateEnterpriseSnapshotPolicyRequestStorageRule = exports.CreateEnterpriseSnapshotPolicyRequestSpecialRetainRules = exports.CreateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules = exports.CreateEnterpriseSnapshotPolicyRequestSchedule = exports.CreateEnterpriseSnapshotPolicyRequestRetainRule = exports.CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo = exports.CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions = exports.CreateDiskReplicaPairRequestTag = exports.CreateDiskReplicaGroupRequestTag = exports.CreateDedicatedBlockStorageClusterRequestTag = exports.UpdateSolutionInstanceAttributeResponse = exports.UpdateSolutionInstanceAttributeResponseBody = exports.UpdateSolutionInstanceAttributeRequest = exports.UpdateEnterpriseSnapshotPolicyResponse = exports.UpdateEnterpriseSnapshotPolicyResponseBody = exports.UpdateEnterpriseSnapshotPolicyShrinkRequest = exports.UpdateEnterpriseSnapshotPolicyRequest = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesRequest = exports.UnbindEnterpriseSnapshotPolicyResponse = exports.UnbindEnterpriseSnapshotPolicyResponseBody = exports.UnbindEnterpriseSnapshotPolicyRequest = exports.TagResourcesResponse = exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.StopDiskReplicaPairResponse = exports.StopDiskReplicaPairResponseBody = exports.StopDiskReplicaPairRequest = exports.StopDiskReplicaGroupResponse = void 0;
|
|
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',
|
|
@@ -1782,6 +1785,74 @@ class DescribeEventsResponse extends $tea.Model {
|
|
|
1782
1785
|
}
|
|
1783
1786
|
}
|
|
1784
1787
|
exports.DescribeEventsResponse = DescribeEventsResponse;
|
|
1788
|
+
class DescribeLensMonitorDisksRequest extends $tea.Model {
|
|
1789
|
+
static names() {
|
|
1790
|
+
return {
|
|
1791
|
+
diskCategory: 'DiskCategory',
|
|
1792
|
+
diskIds: 'DiskIds',
|
|
1793
|
+
lensTags: 'LensTags',
|
|
1794
|
+
maxResults: 'MaxResults',
|
|
1795
|
+
nextToken: 'NextToken',
|
|
1796
|
+
regionId: 'RegionId',
|
|
1797
|
+
};
|
|
1798
|
+
}
|
|
1799
|
+
static types() {
|
|
1800
|
+
return {
|
|
1801
|
+
diskCategory: 'string',
|
|
1802
|
+
diskIds: { 'type': 'array', 'itemType': 'string' },
|
|
1803
|
+
lensTags: { 'type': 'array', 'itemType': 'string' },
|
|
1804
|
+
maxResults: 'number',
|
|
1805
|
+
nextToken: 'string',
|
|
1806
|
+
regionId: 'string',
|
|
1807
|
+
};
|
|
1808
|
+
}
|
|
1809
|
+
constructor(map) {
|
|
1810
|
+
super(map);
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
exports.DescribeLensMonitorDisksRequest = DescribeLensMonitorDisksRequest;
|
|
1814
|
+
class DescribeLensMonitorDisksResponseBody extends $tea.Model {
|
|
1815
|
+
static names() {
|
|
1816
|
+
return {
|
|
1817
|
+
diskInfos: 'DiskInfos',
|
|
1818
|
+
nextToken: 'NextToken',
|
|
1819
|
+
requestId: 'RequestId',
|
|
1820
|
+
totalCount: 'TotalCount',
|
|
1821
|
+
};
|
|
1822
|
+
}
|
|
1823
|
+
static types() {
|
|
1824
|
+
return {
|
|
1825
|
+
diskInfos: { 'type': 'array', 'itemType': DescribeLensMonitorDisksResponseBodyDiskInfos },
|
|
1826
|
+
nextToken: 'string',
|
|
1827
|
+
requestId: 'string',
|
|
1828
|
+
totalCount: 'number',
|
|
1829
|
+
};
|
|
1830
|
+
}
|
|
1831
|
+
constructor(map) {
|
|
1832
|
+
super(map);
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
exports.DescribeLensMonitorDisksResponseBody = DescribeLensMonitorDisksResponseBody;
|
|
1836
|
+
class DescribeLensMonitorDisksResponse extends $tea.Model {
|
|
1837
|
+
static names() {
|
|
1838
|
+
return {
|
|
1839
|
+
headers: 'headers',
|
|
1840
|
+
statusCode: 'statusCode',
|
|
1841
|
+
body: 'body',
|
|
1842
|
+
};
|
|
1843
|
+
}
|
|
1844
|
+
static types() {
|
|
1845
|
+
return {
|
|
1846
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1847
|
+
statusCode: 'number',
|
|
1848
|
+
body: DescribeLensMonitorDisksResponseBody,
|
|
1849
|
+
};
|
|
1850
|
+
}
|
|
1851
|
+
constructor(map) {
|
|
1852
|
+
super(map);
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
exports.DescribeLensMonitorDisksResponse = DescribeLensMonitorDisksResponse;
|
|
1785
1856
|
class DescribeLensServiceStatusResponseBody extends $tea.Model {
|
|
1786
1857
|
static names() {
|
|
1787
1858
|
return {
|
|
@@ -4786,6 +4857,68 @@ class DescribeEventsResponseBodyResourceEvents extends $tea.Model {
|
|
|
4786
4857
|
}
|
|
4787
4858
|
}
|
|
4788
4859
|
exports.DescribeEventsResponseBodyResourceEvents = DescribeEventsResponseBodyResourceEvents;
|
|
4860
|
+
class DescribeLensMonitorDisksResponseBodyDiskInfosTags extends $tea.Model {
|
|
4861
|
+
static names() {
|
|
4862
|
+
return {
|
|
4863
|
+
tagKey: 'TagKey',
|
|
4864
|
+
tagValue: 'TagValue',
|
|
4865
|
+
};
|
|
4866
|
+
}
|
|
4867
|
+
static types() {
|
|
4868
|
+
return {
|
|
4869
|
+
tagKey: 'string',
|
|
4870
|
+
tagValue: 'string',
|
|
4871
|
+
};
|
|
4872
|
+
}
|
|
4873
|
+
constructor(map) {
|
|
4874
|
+
super(map);
|
|
4875
|
+
}
|
|
4876
|
+
}
|
|
4877
|
+
exports.DescribeLensMonitorDisksResponseBodyDiskInfosTags = DescribeLensMonitorDisksResponseBodyDiskInfosTags;
|
|
4878
|
+
class DescribeLensMonitorDisksResponseBodyDiskInfos extends $tea.Model {
|
|
4879
|
+
static names() {
|
|
4880
|
+
return {
|
|
4881
|
+
bps: 'Bps',
|
|
4882
|
+
burstingEnabled: 'BurstingEnabled',
|
|
4883
|
+
diskCategory: 'DiskCategory',
|
|
4884
|
+
diskId: 'DiskId',
|
|
4885
|
+
diskName: 'DiskName',
|
|
4886
|
+
diskStatus: 'DiskStatus',
|
|
4887
|
+
diskType: 'DiskType',
|
|
4888
|
+
iops: 'Iops',
|
|
4889
|
+
lensTags: 'LensTags',
|
|
4890
|
+
performanceLevel: 'PerformanceLevel',
|
|
4891
|
+
provisionedIops: 'ProvisionedIops',
|
|
4892
|
+
regionId: 'RegionId',
|
|
4893
|
+
size: 'Size',
|
|
4894
|
+
tags: 'Tags',
|
|
4895
|
+
zoneId: 'ZoneId',
|
|
4896
|
+
};
|
|
4897
|
+
}
|
|
4898
|
+
static types() {
|
|
4899
|
+
return {
|
|
4900
|
+
bps: 'number',
|
|
4901
|
+
burstingEnabled: 'boolean',
|
|
4902
|
+
diskCategory: 'string',
|
|
4903
|
+
diskId: 'string',
|
|
4904
|
+
diskName: 'string',
|
|
4905
|
+
diskStatus: 'string',
|
|
4906
|
+
diskType: 'string',
|
|
4907
|
+
iops: 'number',
|
|
4908
|
+
lensTags: { 'type': 'array', 'itemType': 'string' },
|
|
4909
|
+
performanceLevel: 'string',
|
|
4910
|
+
provisionedIops: 'number',
|
|
4911
|
+
regionId: 'string',
|
|
4912
|
+
size: 'number',
|
|
4913
|
+
tags: { 'type': 'array', 'itemType': DescribeLensMonitorDisksResponseBodyDiskInfosTags },
|
|
4914
|
+
zoneId: 'string',
|
|
4915
|
+
};
|
|
4916
|
+
}
|
|
4917
|
+
constructor(map) {
|
|
4918
|
+
super(map);
|
|
4919
|
+
}
|
|
4920
|
+
}
|
|
4921
|
+
exports.DescribeLensMonitorDisksResponseBodyDiskInfos = DescribeLensMonitorDisksResponseBodyDiskInfos;
|
|
4789
4922
|
class DescribeMetricDataResponseBodyDataList extends $tea.Model {
|
|
4790
4923
|
static names() {
|
|
4791
4924
|
return {
|
|
@@ -5337,16 +5470,19 @@ class Client extends openapi_client_1.default {
|
|
|
5337
5470
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
5338
5471
|
}
|
|
5339
5472
|
/**
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
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
|
|
5350
5486
|
*/
|
|
5351
5487
|
async addDiskReplicaPairWithOptions(request, runtime) {
|
|
5352
5488
|
tea_util_1.default.validateModel(request);
|
|
@@ -5380,27 +5516,33 @@ class Client extends openapi_client_1.default {
|
|
|
5380
5516
|
return $tea.cast(await this.callApi(params, req, runtime), new AddDiskReplicaPairResponse({}));
|
|
5381
5517
|
}
|
|
5382
5518
|
/**
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
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
|
|
5392
5531
|
*/
|
|
5393
5532
|
async addDiskReplicaPair(request) {
|
|
5394
5533
|
let runtime = new $Util.RuntimeOptions({});
|
|
5395
5534
|
return await this.addDiskReplicaPairWithOptions(request, runtime);
|
|
5396
5535
|
}
|
|
5397
5536
|
/**
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
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
|
|
5404
5546
|
*/
|
|
5405
5547
|
async applyLensServiceWithOptions(runtime) {
|
|
5406
5548
|
let req = new $OpenApi.OpenApiRequest({});
|
|
@@ -5418,15 +5560,24 @@ class Client extends openapi_client_1.default {
|
|
|
5418
5560
|
return $tea.cast(await this.callApi(params, req, runtime), new ApplyLensServiceResponse({}));
|
|
5419
5561
|
}
|
|
5420
5562
|
/**
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
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
|
|
5425
5569
|
*/
|
|
5426
5570
|
async applyLensService() {
|
|
5427
5571
|
let runtime = new $Util.RuntimeOptions({});
|
|
5428
5572
|
return await this.applyLensServiceWithOptions(runtime);
|
|
5429
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
|
+
*/
|
|
5430
5581
|
async bindEnterpriseSnapshotPolicyWithOptions(request, runtime) {
|
|
5431
5582
|
tea_util_1.default.validateModel(request);
|
|
5432
5583
|
let query = {};
|
|
@@ -5458,17 +5609,26 @@ class Client extends openapi_client_1.default {
|
|
|
5458
5609
|
});
|
|
5459
5610
|
return $tea.cast(await this.callApi(params, req, runtime), new BindEnterpriseSnapshotPolicyResponse({}));
|
|
5460
5611
|
}
|
|
5612
|
+
/**
|
|
5613
|
+
* Bind disks into a enterprise-level snapshot policy.
|
|
5614
|
+
*
|
|
5615
|
+
* @param request - BindEnterpriseSnapshotPolicyRequest
|
|
5616
|
+
* @returns BindEnterpriseSnapshotPolicyResponse
|
|
5617
|
+
*/
|
|
5461
5618
|
async bindEnterpriseSnapshotPolicy(request) {
|
|
5462
5619
|
let runtime = new $Util.RuntimeOptions({});
|
|
5463
5620
|
return await this.bindEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
5464
5621
|
}
|
|
5465
5622
|
/**
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
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
|
|
5472
5632
|
*/
|
|
5473
5633
|
async cancelLensServiceWithOptions(runtime) {
|
|
5474
5634
|
let req = new $OpenApi.OpenApiRequest({});
|
|
@@ -5486,15 +5646,24 @@ class Client extends openapi_client_1.default {
|
|
|
5486
5646
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelLensServiceResponse({}));
|
|
5487
5647
|
}
|
|
5488
5648
|
/**
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
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
|
|
5493
5655
|
*/
|
|
5494
5656
|
async cancelLensService() {
|
|
5495
5657
|
let runtime = new $Util.RuntimeOptions({});
|
|
5496
5658
|
return await this.cancelLensServiceWithOptions(runtime);
|
|
5497
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
|
+
*/
|
|
5498
5667
|
async changeResourceGroupWithOptions(request, runtime) {
|
|
5499
5668
|
tea_util_1.default.validateModel(request);
|
|
5500
5669
|
let query = {};
|
|
@@ -5529,10 +5698,23 @@ class Client extends openapi_client_1.default {
|
|
|
5529
5698
|
});
|
|
5530
5699
|
return $tea.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
|
|
5531
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
|
+
*/
|
|
5532
5707
|
async changeResourceGroup(request) {
|
|
5533
5708
|
let runtime = new $Util.RuntimeOptions({});
|
|
5534
5709
|
return await this.changeResourceGroupWithOptions(request, runtime);
|
|
5535
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
|
+
*/
|
|
5536
5718
|
async clearPairDrillWithOptions(request, runtime) {
|
|
5537
5719
|
tea_util_1.default.validateModel(request);
|
|
5538
5720
|
let query = {};
|
|
@@ -5561,10 +5743,23 @@ class Client extends openapi_client_1.default {
|
|
|
5561
5743
|
});
|
|
5562
5744
|
return $tea.cast(await this.callApi(params, req, runtime), new ClearPairDrillResponse({}));
|
|
5563
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
|
+
*/
|
|
5564
5752
|
async clearPairDrill(request) {
|
|
5565
5753
|
let runtime = new $Util.RuntimeOptions({});
|
|
5566
5754
|
return await this.clearPairDrillWithOptions(request, runtime);
|
|
5567
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
|
+
*/
|
|
5568
5763
|
async clearReplicaGroupDrillWithOptions(request, runtime) {
|
|
5569
5764
|
tea_util_1.default.validateModel(request);
|
|
5570
5765
|
let query = {};
|
|
@@ -5593,19 +5788,29 @@ class Client extends openapi_client_1.default {
|
|
|
5593
5788
|
});
|
|
5594
5789
|
return $tea.cast(await this.callApi(params, req, runtime), new ClearReplicaGroupDrillResponse({}));
|
|
5595
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
|
+
*/
|
|
5596
5797
|
async clearReplicaGroupDrill(request) {
|
|
5597
5798
|
let runtime = new $Util.RuntimeOptions({});
|
|
5598
5799
|
return await this.clearReplicaGroupDrillWithOptions(request, runtime);
|
|
5599
5800
|
}
|
|
5600
5801
|
/**
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
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
|
|
5609
5814
|
*/
|
|
5610
5815
|
async createDedicatedBlockStorageClusterWithOptions(request, runtime) {
|
|
5611
5816
|
tea_util_1.default.validateModel(request);
|
|
@@ -5657,30 +5862,37 @@ class Client extends openapi_client_1.default {
|
|
|
5657
5862
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDedicatedBlockStorageClusterResponse({}));
|
|
5658
5863
|
}
|
|
5659
5864
|
/**
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
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
|
|
5667
5876
|
*/
|
|
5668
5877
|
async createDedicatedBlockStorageCluster(request) {
|
|
5669
5878
|
let runtime = new $Util.RuntimeOptions({});
|
|
5670
5879
|
return await this.createDedicatedBlockStorageClusterWithOptions(request, runtime);
|
|
5671
5880
|
}
|
|
5672
5881
|
/**
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
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
|
|
5684
5896
|
*/
|
|
5685
5897
|
async createDiskReplicaGroupWithOptions(request, runtime) {
|
|
5686
5898
|
tea_util_1.default.validateModel(request);
|
|
@@ -5735,32 +5947,38 @@ class Client extends openapi_client_1.default {
|
|
|
5735
5947
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDiskReplicaGroupResponse({}));
|
|
5736
5948
|
}
|
|
5737
5949
|
/**
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
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
|
|
5748
5963
|
*/
|
|
5749
5964
|
async createDiskReplicaGroup(request) {
|
|
5750
5965
|
let runtime = new $Util.RuntimeOptions({});
|
|
5751
5966
|
return await this.createDiskReplicaGroupWithOptions(request, runtime);
|
|
5752
5967
|
}
|
|
5753
5968
|
/**
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
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
|
|
5764
5982
|
*/
|
|
5765
5983
|
async createDiskReplicaPairWithOptions(request, runtime) {
|
|
5766
5984
|
tea_util_1.default.validateModel(request);
|
|
@@ -5830,20 +6048,30 @@ class Client extends openapi_client_1.default {
|
|
|
5830
6048
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDiskReplicaPairResponse({}));
|
|
5831
6049
|
}
|
|
5832
6050
|
/**
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
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
|
|
5842
6063
|
*/
|
|
5843
6064
|
async createDiskReplicaPair(request) {
|
|
5844
6065
|
let runtime = new $Util.RuntimeOptions({});
|
|
5845
6066
|
return await this.createDiskReplicaPairWithOptions(request, runtime);
|
|
5846
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
|
+
*/
|
|
5847
6075
|
async createEnterpriseSnapshotPolicyWithOptions(tmpReq, runtime) {
|
|
5848
6076
|
tea_util_1.default.validateModel(tmpReq);
|
|
5849
6077
|
let request = new CreateEnterpriseSnapshotPolicyShrinkRequest({});
|
|
@@ -5919,16 +6147,23 @@ class Client extends openapi_client_1.default {
|
|
|
5919
6147
|
});
|
|
5920
6148
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateEnterpriseSnapshotPolicyResponse({}));
|
|
5921
6149
|
}
|
|
6150
|
+
/**
|
|
6151
|
+
* Create an enterprise-level snapshot policy
|
|
6152
|
+
*
|
|
6153
|
+
* @param request - CreateEnterpriseSnapshotPolicyRequest
|
|
6154
|
+
* @returns CreateEnterpriseSnapshotPolicyResponse
|
|
6155
|
+
*/
|
|
5922
6156
|
async createEnterpriseSnapshotPolicy(request) {
|
|
5923
6157
|
let runtime = new $Util.RuntimeOptions({});
|
|
5924
6158
|
return await this.createEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
5925
6159
|
}
|
|
5926
6160
|
/**
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
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
|
|
5932
6167
|
*/
|
|
5933
6168
|
async deleteDiskWithOptions(request, runtime) {
|
|
5934
6169
|
tea_util_1.default.validateModel(request);
|
|
@@ -5956,24 +6191,28 @@ class Client extends openapi_client_1.default {
|
|
|
5956
6191
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDiskResponse({}));
|
|
5957
6192
|
}
|
|
5958
6193
|
/**
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
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
|
|
5963
6199
|
*/
|
|
5964
6200
|
async deleteDisk(request) {
|
|
5965
6201
|
let runtime = new $Util.RuntimeOptions({});
|
|
5966
6202
|
return await this.deleteDiskWithOptions(request, runtime);
|
|
5967
6203
|
}
|
|
5968
6204
|
/**
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
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
|
|
5977
6216
|
*/
|
|
5978
6217
|
async deleteDiskReplicaGroupWithOptions(request, runtime) {
|
|
5979
6218
|
tea_util_1.default.validateModel(request);
|
|
@@ -6004,27 +6243,33 @@ class Client extends openapi_client_1.default {
|
|
|
6004
6243
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDiskReplicaGroupResponse({}));
|
|
6005
6244
|
}
|
|
6006
6245
|
/**
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
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
|
|
6014
6256
|
*/
|
|
6015
6257
|
async deleteDiskReplicaGroup(request) {
|
|
6016
6258
|
let runtime = new $Util.RuntimeOptions({});
|
|
6017
6259
|
return await this.deleteDiskReplicaGroupWithOptions(request, runtime);
|
|
6018
6260
|
}
|
|
6019
6261
|
/**
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
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
|
|
6028
6273
|
*/
|
|
6029
6274
|
async deleteDiskReplicaPairWithOptions(request, runtime) {
|
|
6030
6275
|
tea_util_1.default.validateModel(request);
|
|
@@ -6055,18 +6300,28 @@ class Client extends openapi_client_1.default {
|
|
|
6055
6300
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDiskReplicaPairResponse({}));
|
|
6056
6301
|
}
|
|
6057
6302
|
/**
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
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
|
|
6065
6313
|
*/
|
|
6066
6314
|
async deleteDiskReplicaPair(request) {
|
|
6067
6315
|
let runtime = new $Util.RuntimeOptions({});
|
|
6068
6316
|
return await this.deleteDiskReplicaPairWithOptions(request, runtime);
|
|
6069
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
|
+
*/
|
|
6070
6325
|
async deleteEnterpriseSnapshotPolicyWithOptions(request, runtime) {
|
|
6071
6326
|
tea_util_1.default.validateModel(request);
|
|
6072
6327
|
let query = {};
|
|
@@ -6095,21 +6350,30 @@ class Client extends openapi_client_1.default {
|
|
|
6095
6350
|
});
|
|
6096
6351
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteEnterpriseSnapshotPolicyResponse({}));
|
|
6097
6352
|
}
|
|
6353
|
+
/**
|
|
6354
|
+
* Delete a enterprise-level snapshot policy.
|
|
6355
|
+
*
|
|
6356
|
+
* @param request - DeleteEnterpriseSnapshotPolicyRequest
|
|
6357
|
+
* @returns DeleteEnterpriseSnapshotPolicyResponse
|
|
6358
|
+
*/
|
|
6098
6359
|
async deleteEnterpriseSnapshotPolicy(request) {
|
|
6099
6360
|
let runtime = new $Util.RuntimeOptions({});
|
|
6100
6361
|
return await this.deleteEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
6101
6362
|
}
|
|
6102
6363
|
/**
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
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
|
|
6113
6377
|
*/
|
|
6114
6378
|
async describeDedicatedBlockStorageClusterDisksWithOptions(request, runtime) {
|
|
6115
6379
|
tea_util_1.default.validateModel(request);
|
|
@@ -6143,29 +6407,35 @@ class Client extends openapi_client_1.default {
|
|
|
6143
6407
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDedicatedBlockStorageClusterDisksResponse({}));
|
|
6144
6408
|
}
|
|
6145
6409
|
/**
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
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
|
|
6155
6422
|
*/
|
|
6156
6423
|
async describeDedicatedBlockStorageClusterDisks(request) {
|
|
6157
6424
|
let runtime = new $Util.RuntimeOptions({});
|
|
6158
6425
|
return await this.describeDedicatedBlockStorageClusterDisksWithOptions(request, runtime);
|
|
6159
6426
|
}
|
|
6160
6427
|
/**
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
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
|
|
6169
6439
|
*/
|
|
6170
6440
|
async describeDedicatedBlockStorageClustersWithOptions(request, runtime) {
|
|
6171
6441
|
tea_util_1.default.validateModel(request);
|
|
@@ -6225,25 +6495,31 @@ class Client extends openapi_client_1.default {
|
|
|
6225
6495
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDedicatedBlockStorageClustersResponse({}));
|
|
6226
6496
|
}
|
|
6227
6497
|
/**
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
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
|
|
6235
6508
|
*/
|
|
6236
6509
|
async describeDedicatedBlockStorageClusters(request) {
|
|
6237
6510
|
let runtime = new $Util.RuntimeOptions({});
|
|
6238
6511
|
return await this.describeDedicatedBlockStorageClustersWithOptions(request, runtime);
|
|
6239
6512
|
}
|
|
6240
6513
|
/**
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
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
|
|
6247
6523
|
*/
|
|
6248
6524
|
async describeDiskEventsWithOptions(request, runtime) {
|
|
6249
6525
|
tea_util_1.default.validateModel(request);
|
|
@@ -6289,25 +6565,31 @@ class Client extends openapi_client_1.default {
|
|
|
6289
6565
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskEventsResponse({}));
|
|
6290
6566
|
}
|
|
6291
6567
|
/**
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
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
|
|
6297
6576
|
*/
|
|
6298
6577
|
async describeDiskEvents(request) {
|
|
6299
6578
|
let runtime = new $Util.RuntimeOptions({});
|
|
6300
6579
|
return await this.describeDiskEventsWithOptions(request, runtime);
|
|
6301
6580
|
}
|
|
6302
6581
|
/**
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
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
|
|
6311
6593
|
*/
|
|
6312
6594
|
async describeDiskMonitorDataWithOptions(request, runtime) {
|
|
6313
6595
|
tea_util_1.default.validateModel(request);
|
|
@@ -6347,25 +6629,31 @@ class Client extends openapi_client_1.default {
|
|
|
6347
6629
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskMonitorDataResponse({}));
|
|
6348
6630
|
}
|
|
6349
6631
|
/**
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
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
|
|
6357
6642
|
*/
|
|
6358
6643
|
async describeDiskMonitorData(request) {
|
|
6359
6644
|
let runtime = new $Util.RuntimeOptions({});
|
|
6360
6645
|
return await this.describeDiskMonitorDataWithOptions(request, runtime);
|
|
6361
6646
|
}
|
|
6362
6647
|
/**
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
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
|
|
6369
6657
|
*/
|
|
6370
6658
|
async describeDiskMonitorDataListWithOptions(request, runtime) {
|
|
6371
6659
|
tea_util_1.default.validateModel(request);
|
|
@@ -6408,23 +6696,29 @@ class Client extends openapi_client_1.default {
|
|
|
6408
6696
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskMonitorDataListResponse({}));
|
|
6409
6697
|
}
|
|
6410
6698
|
/**
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
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
|
|
6416
6707
|
*/
|
|
6417
6708
|
async describeDiskMonitorDataList(request) {
|
|
6418
6709
|
let runtime = new $Util.RuntimeOptions({});
|
|
6419
6710
|
return await this.describeDiskMonitorDataListWithOptions(request, runtime);
|
|
6420
6711
|
}
|
|
6421
6712
|
/**
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
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
|
|
6428
6722
|
*/
|
|
6429
6723
|
async describeDiskReplicaGroupsWithOptions(request, runtime) {
|
|
6430
6724
|
tea_util_1.default.validateModel(request);
|
|
@@ -6435,6 +6729,9 @@ class Client extends openapi_client_1.default {
|
|
|
6435
6729
|
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
6436
6730
|
query["MaxResults"] = request.maxResults;
|
|
6437
6731
|
}
|
|
6732
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
6733
|
+
query["Name"] = request.name;
|
|
6734
|
+
}
|
|
6438
6735
|
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
6439
6736
|
query["NextToken"] = request.nextToken;
|
|
6440
6737
|
}
|
|
@@ -6473,16 +6770,26 @@ class Client extends openapi_client_1.default {
|
|
|
6473
6770
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskReplicaGroupsResponse({}));
|
|
6474
6771
|
}
|
|
6475
6772
|
/**
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
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
|
|
6481
6781
|
*/
|
|
6482
6782
|
async describeDiskReplicaGroups(request) {
|
|
6483
6783
|
let runtime = new $Util.RuntimeOptions({});
|
|
6484
6784
|
return await this.describeDiskReplicaGroupsWithOptions(request, runtime);
|
|
6485
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
|
+
*/
|
|
6486
6793
|
async describeDiskReplicaPairProgressWithOptions(request, runtime) {
|
|
6487
6794
|
tea_util_1.default.validateModel(request);
|
|
6488
6795
|
let query = {};
|
|
@@ -6508,19 +6815,28 @@ class Client extends openapi_client_1.default {
|
|
|
6508
6815
|
});
|
|
6509
6816
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskReplicaPairProgressResponse({}));
|
|
6510
6817
|
}
|
|
6818
|
+
/**
|
|
6819
|
+
* Queries the replication progress of a replication pair.
|
|
6820
|
+
*
|
|
6821
|
+
* @param request - DescribeDiskReplicaPairProgressRequest
|
|
6822
|
+
* @returns DescribeDiskReplicaPairProgressResponse
|
|
6823
|
+
*/
|
|
6511
6824
|
async describeDiskReplicaPairProgress(request) {
|
|
6512
6825
|
let runtime = new $Util.RuntimeOptions({});
|
|
6513
6826
|
return await this.describeDiskReplicaPairProgressWithOptions(request, runtime);
|
|
6514
6827
|
}
|
|
6515
6828
|
/**
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
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
|
|
6524
6840
|
*/
|
|
6525
6841
|
async describeDiskReplicaPairsWithOptions(request, runtime) {
|
|
6526
6842
|
tea_util_1.default.validateModel(request);
|
|
@@ -6528,6 +6844,9 @@ class Client extends openapi_client_1.default {
|
|
|
6528
6844
|
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
6529
6845
|
query["MaxResults"] = request.maxResults;
|
|
6530
6846
|
}
|
|
6847
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
6848
|
+
query["Name"] = request.name;
|
|
6849
|
+
}
|
|
6531
6850
|
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
6532
6851
|
query["NextToken"] = request.nextToken;
|
|
6533
6852
|
}
|
|
@@ -6572,18 +6891,26 @@ class Client extends openapi_client_1.default {
|
|
|
6572
6891
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiskReplicaPairsResponse({}));
|
|
6573
6892
|
}
|
|
6574
6893
|
/**
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
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
|
|
6582
6904
|
*/
|
|
6583
6905
|
async describeDiskReplicaPairs(request) {
|
|
6584
6906
|
let runtime = new $Util.RuntimeOptions({});
|
|
6585
6907
|
return await this.describeDiskReplicaPairsWithOptions(request, runtime);
|
|
6586
6908
|
}
|
|
6909
|
+
/**
|
|
6910
|
+
* @param request - DescribeDisksRequest
|
|
6911
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6912
|
+
* @returns DescribeDisksResponse
|
|
6913
|
+
*/
|
|
6587
6914
|
async describeDisksWithOptions(request, runtime) {
|
|
6588
6915
|
tea_util_1.default.validateModel(request);
|
|
6589
6916
|
let query = {};
|
|
@@ -6639,10 +6966,21 @@ class Client extends openapi_client_1.default {
|
|
|
6639
6966
|
});
|
|
6640
6967
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDisksResponse({}));
|
|
6641
6968
|
}
|
|
6969
|
+
/**
|
|
6970
|
+
* @param request - DescribeDisksRequest
|
|
6971
|
+
* @returns DescribeDisksResponse
|
|
6972
|
+
*/
|
|
6642
6973
|
async describeDisks(request) {
|
|
6643
6974
|
let runtime = new $Util.RuntimeOptions({});
|
|
6644
6975
|
return await this.describeDisksWithOptions(request, runtime);
|
|
6645
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
|
+
*/
|
|
6646
6984
|
async describeEnterpriseSnapshotPolicyWithOptions(request, runtime) {
|
|
6647
6985
|
tea_util_1.default.validateModel(request);
|
|
6648
6986
|
let query = {};
|
|
@@ -6692,10 +7030,23 @@ class Client extends openapi_client_1.default {
|
|
|
6692
7030
|
});
|
|
6693
7031
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEnterpriseSnapshotPolicyResponse({}));
|
|
6694
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
|
+
*/
|
|
6695
7039
|
async describeEnterpriseSnapshotPolicy(request) {
|
|
6696
7040
|
let runtime = new $Util.RuntimeOptions({});
|
|
6697
7041
|
return await this.describeEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
6698
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
|
+
*/
|
|
6699
7050
|
async describeEventsWithOptions(request, runtime) {
|
|
6700
7051
|
tea_util_1.default.validateModel(request);
|
|
6701
7052
|
let query = {};
|
|
@@ -6742,17 +7093,80 @@ class Client extends openapi_client_1.default {
|
|
|
6742
7093
|
});
|
|
6743
7094
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
|
|
6744
7095
|
}
|
|
7096
|
+
/**
|
|
7097
|
+
* Queries the risk events of a disk.
|
|
7098
|
+
*
|
|
7099
|
+
* @param request - DescribeEventsRequest
|
|
7100
|
+
* @returns DescribeEventsResponse
|
|
7101
|
+
*/
|
|
6745
7102
|
async describeEvents(request) {
|
|
6746
7103
|
let runtime = new $Util.RuntimeOptions({});
|
|
6747
7104
|
return await this.describeEventsWithOptions(request, runtime);
|
|
6748
7105
|
}
|
|
6749
7106
|
/**
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
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
|
+
*/
|
|
7113
|
+
async describeLensMonitorDisksWithOptions(request, runtime) {
|
|
7114
|
+
tea_util_1.default.validateModel(request);
|
|
7115
|
+
let query = {};
|
|
7116
|
+
if (!tea_util_1.default.isUnset(request.diskCategory)) {
|
|
7117
|
+
query["DiskCategory"] = request.diskCategory;
|
|
7118
|
+
}
|
|
7119
|
+
if (!tea_util_1.default.isUnset(request.diskIds)) {
|
|
7120
|
+
query["DiskIds"] = request.diskIds;
|
|
7121
|
+
}
|
|
7122
|
+
if (!tea_util_1.default.isUnset(request.lensTags)) {
|
|
7123
|
+
query["LensTags"] = request.lensTags;
|
|
7124
|
+
}
|
|
7125
|
+
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
7126
|
+
query["MaxResults"] = request.maxResults;
|
|
7127
|
+
}
|
|
7128
|
+
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
7129
|
+
query["NextToken"] = request.nextToken;
|
|
7130
|
+
}
|
|
7131
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
7132
|
+
query["RegionId"] = request.regionId;
|
|
7133
|
+
}
|
|
7134
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7135
|
+
query: openapi_util_1.default.query(query),
|
|
7136
|
+
});
|
|
7137
|
+
let params = new $OpenApi.Params({
|
|
7138
|
+
action: "DescribeLensMonitorDisks",
|
|
7139
|
+
version: "2021-07-30",
|
|
7140
|
+
protocol: "HTTPS",
|
|
7141
|
+
pathname: "/",
|
|
7142
|
+
method: "POST",
|
|
7143
|
+
authType: "AK",
|
|
7144
|
+
style: "RPC",
|
|
7145
|
+
reqBodyType: "formData",
|
|
7146
|
+
bodyType: "json",
|
|
7147
|
+
});
|
|
7148
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLensMonitorDisksResponse({}));
|
|
7149
|
+
}
|
|
7150
|
+
/**
|
|
7151
|
+
* Queries one or more Elastic Block Storage (EBS) devices that you created.
|
|
7152
|
+
*
|
|
7153
|
+
* @param request - DescribeLensMonitorDisksRequest
|
|
7154
|
+
* @returns DescribeLensMonitorDisksResponse
|
|
7155
|
+
*/
|
|
7156
|
+
async describeLensMonitorDisks(request) {
|
|
7157
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7158
|
+
return await this.describeLensMonitorDisksWithOptions(request, runtime);
|
|
7159
|
+
}
|
|
7160
|
+
/**
|
|
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
|
|
6756
7170
|
*/
|
|
6757
7171
|
async describeLensServiceStatusWithOptions(runtime) {
|
|
6758
7172
|
let req = new $OpenApi.OpenApiRequest({});
|
|
@@ -6770,15 +7184,24 @@ class Client extends openapi_client_1.default {
|
|
|
6770
7184
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLensServiceStatusResponse({}));
|
|
6771
7185
|
}
|
|
6772
7186
|
/**
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
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
|
|
6777
7193
|
*/
|
|
6778
7194
|
async describeLensServiceStatus() {
|
|
6779
7195
|
let runtime = new $Util.RuntimeOptions({});
|
|
6780
7196
|
return await this.describeLensServiceStatusWithOptions(runtime);
|
|
6781
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
|
+
*/
|
|
6782
7205
|
async describeMetricDataWithOptions(request, runtime) {
|
|
6783
7206
|
tea_util_1.default.validateModel(request);
|
|
6784
7207
|
let query = {};
|
|
@@ -6816,10 +7239,23 @@ class Client extends openapi_client_1.default {
|
|
|
6816
7239
|
});
|
|
6817
7240
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricDataResponse({}));
|
|
6818
7241
|
}
|
|
7242
|
+
/**
|
|
7243
|
+
* Queries the statistics about a metric of Elastic Block Storage (EBS) disks.
|
|
7244
|
+
*
|
|
7245
|
+
* @param request - DescribeMetricDataRequest
|
|
7246
|
+
* @returns DescribeMetricDataResponse
|
|
7247
|
+
*/
|
|
6819
7248
|
async describeMetricData(request) {
|
|
6820
7249
|
let runtime = new $Util.RuntimeOptions({});
|
|
6821
7250
|
return await this.describeMetricDataWithOptions(request, runtime);
|
|
6822
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
|
+
*/
|
|
6823
7259
|
async describePairDrillsWithOptions(request, runtime) {
|
|
6824
7260
|
tea_util_1.default.validateModel(request);
|
|
6825
7261
|
let query = {};
|
|
@@ -6860,10 +7296,23 @@ class Client extends openapi_client_1.default {
|
|
|
6860
7296
|
});
|
|
6861
7297
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePairDrillsResponse({}));
|
|
6862
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
|
+
*/
|
|
6863
7305
|
async describePairDrills(request) {
|
|
6864
7306
|
let runtime = new $Util.RuntimeOptions({});
|
|
6865
7307
|
return await this.describePairDrillsWithOptions(request, runtime);
|
|
6866
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
|
+
*/
|
|
6867
7316
|
async describeRegionsWithOptions(request, runtime) {
|
|
6868
7317
|
tea_util_1.default.validateModel(request);
|
|
6869
7318
|
let query = {};
|
|
@@ -6892,10 +7341,23 @@ class Client extends openapi_client_1.default {
|
|
|
6892
7341
|
});
|
|
6893
7342
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
6894
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
|
+
*/
|
|
6895
7350
|
async describeRegions(request) {
|
|
6896
7351
|
let runtime = new $Util.RuntimeOptions({});
|
|
6897
7352
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
6898
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
|
+
*/
|
|
6899
7361
|
async describeReplicaGroupDrillsWithOptions(request, runtime) {
|
|
6900
7362
|
tea_util_1.default.validateModel(request);
|
|
6901
7363
|
let query = {};
|
|
@@ -6936,10 +7398,23 @@ class Client extends openapi_client_1.default {
|
|
|
6936
7398
|
});
|
|
6937
7399
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeReplicaGroupDrillsResponse({}));
|
|
6938
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
|
+
*/
|
|
6939
7407
|
async describeReplicaGroupDrills(request) {
|
|
6940
7408
|
let runtime = new $Util.RuntimeOptions({});
|
|
6941
7409
|
return await this.describeReplicaGroupDrillsWithOptions(request, runtime);
|
|
6942
7410
|
}
|
|
7411
|
+
/**
|
|
7412
|
+
* 查询解决方案实例默认配置
|
|
7413
|
+
*
|
|
7414
|
+
* @param request - DescribeSolutionInstanceConfigurationRequest
|
|
7415
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7416
|
+
* @returns DescribeSolutionInstanceConfigurationResponse
|
|
7417
|
+
*/
|
|
6943
7418
|
async describeSolutionInstanceConfigurationWithOptions(request, runtime) {
|
|
6944
7419
|
tea_util_1.default.validateModel(request);
|
|
6945
7420
|
let query = {};
|
|
@@ -6971,20 +7446,29 @@ class Client extends openapi_client_1.default {
|
|
|
6971
7446
|
});
|
|
6972
7447
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSolutionInstanceConfigurationResponse({}));
|
|
6973
7448
|
}
|
|
7449
|
+
/**
|
|
7450
|
+
* 查询解决方案实例默认配置
|
|
7451
|
+
*
|
|
7452
|
+
* @param request - DescribeSolutionInstanceConfigurationRequest
|
|
7453
|
+
* @returns DescribeSolutionInstanceConfigurationResponse
|
|
7454
|
+
*/
|
|
6974
7455
|
async describeSolutionInstanceConfiguration(request) {
|
|
6975
7456
|
let runtime = new $Util.RuntimeOptions({});
|
|
6976
7457
|
return await this.describeSolutionInstanceConfigurationWithOptions(request, runtime);
|
|
6977
7458
|
}
|
|
6978
7459
|
/**
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
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
|
|
6988
7472
|
*/
|
|
6989
7473
|
async failoverDiskReplicaGroupWithOptions(request, runtime) {
|
|
6990
7474
|
tea_util_1.default.validateModel(request);
|
|
@@ -7015,28 +7499,34 @@ class Client extends openapi_client_1.default {
|
|
|
7015
7499
|
return $tea.cast(await this.callApi(params, req, runtime), new FailoverDiskReplicaGroupResponse({}));
|
|
7016
7500
|
}
|
|
7017
7501
|
/**
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
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
|
|
7026
7513
|
*/
|
|
7027
7514
|
async failoverDiskReplicaGroup(request) {
|
|
7028
7515
|
let runtime = new $Util.RuntimeOptions({});
|
|
7029
7516
|
return await this.failoverDiskReplicaGroupWithOptions(request, runtime);
|
|
7030
7517
|
}
|
|
7031
7518
|
/**
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
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
|
|
7040
7530
|
*/
|
|
7041
7531
|
async failoverDiskReplicaPairWithOptions(request, runtime) {
|
|
7042
7532
|
tea_util_1.default.validateModel(request);
|
|
@@ -7067,18 +7557,26 @@ class Client extends openapi_client_1.default {
|
|
|
7067
7557
|
return $tea.cast(await this.callApi(params, req, runtime), new FailoverDiskReplicaPairResponse({}));
|
|
7068
7558
|
}
|
|
7069
7559
|
/**
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
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
|
|
7077
7570
|
*/
|
|
7078
7571
|
async failoverDiskReplicaPair(request) {
|
|
7079
7572
|
let runtime = new $Util.RuntimeOptions({});
|
|
7080
7573
|
return await this.failoverDiskReplicaPairWithOptions(request, runtime);
|
|
7081
7574
|
}
|
|
7575
|
+
/**
|
|
7576
|
+
* @param request - GetDiskRequest
|
|
7577
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7578
|
+
* @returns GetDiskResponse
|
|
7579
|
+
*/
|
|
7082
7580
|
async getDiskWithOptions(request, runtime) {
|
|
7083
7581
|
tea_util_1.default.validateModel(request);
|
|
7084
7582
|
let query = {};
|
|
@@ -7104,19 +7602,26 @@ class Client extends openapi_client_1.default {
|
|
|
7104
7602
|
});
|
|
7105
7603
|
return $tea.cast(await this.callApi(params, req, runtime), new GetDiskResponse({}));
|
|
7106
7604
|
}
|
|
7605
|
+
/**
|
|
7606
|
+
* @param request - GetDiskRequest
|
|
7607
|
+
* @returns GetDiskResponse
|
|
7608
|
+
*/
|
|
7107
7609
|
async getDisk(request) {
|
|
7108
7610
|
let runtime = new $Util.RuntimeOptions({});
|
|
7109
7611
|
return await this.getDiskWithOptions(request, runtime);
|
|
7110
7612
|
}
|
|
7111
7613
|
/**
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
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
|
|
7120
7625
|
*/
|
|
7121
7626
|
async listTagResourcesWithOptions(request, runtime) {
|
|
7122
7627
|
tea_util_1.default.validateModel(request);
|
|
@@ -7156,24 +7661,30 @@ class Client extends openapi_client_1.default {
|
|
|
7156
7661
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
7157
7662
|
}
|
|
7158
7663
|
/**
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
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
|
|
7166
7674
|
*/
|
|
7167
7675
|
async listTagResources(request) {
|
|
7168
7676
|
let runtime = new $Util.RuntimeOptions({});
|
|
7169
7677
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
7170
7678
|
}
|
|
7171
7679
|
/**
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
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
|
|
7177
7688
|
*/
|
|
7178
7689
|
async modifyDedicatedBlockStorageClusterAttributeWithOptions(request, runtime) {
|
|
7179
7690
|
tea_util_1.default.validateModel(request);
|
|
@@ -7210,23 +7721,29 @@ class Client extends openapi_client_1.default {
|
|
|
7210
7721
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDedicatedBlockStorageClusterAttributeResponse({}));
|
|
7211
7722
|
}
|
|
7212
7723
|
/**
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
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
|
|
7217
7731
|
*/
|
|
7218
7732
|
async modifyDedicatedBlockStorageClusterAttribute(request) {
|
|
7219
7733
|
let runtime = new $Util.RuntimeOptions({});
|
|
7220
7734
|
return await this.modifyDedicatedBlockStorageClusterAttributeWithOptions(request, runtime);
|
|
7221
7735
|
}
|
|
7222
7736
|
/**
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
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
|
|
7230
7747
|
*/
|
|
7231
7748
|
async modifyDiskReplicaGroupWithOptions(request, runtime) {
|
|
7232
7749
|
tea_util_1.default.validateModel(request);
|
|
@@ -7269,25 +7786,31 @@ class Client extends openapi_client_1.default {
|
|
|
7269
7786
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDiskReplicaGroupResponse({}));
|
|
7270
7787
|
}
|
|
7271
7788
|
/**
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
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
|
|
7278
7798
|
*/
|
|
7279
7799
|
async modifyDiskReplicaGroup(request) {
|
|
7280
7800
|
let runtime = new $Util.RuntimeOptions({});
|
|
7281
7801
|
return await this.modifyDiskReplicaGroupWithOptions(request, runtime);
|
|
7282
7802
|
}
|
|
7283
7803
|
/**
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
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
|
|
7291
7814
|
*/
|
|
7292
7815
|
async modifyDiskReplicaPairWithOptions(request, runtime) {
|
|
7293
7816
|
tea_util_1.default.validateModel(request);
|
|
@@ -7330,17 +7853,27 @@ class Client extends openapi_client_1.default {
|
|
|
7330
7853
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDiskReplicaPairResponse({}));
|
|
7331
7854
|
}
|
|
7332
7855
|
/**
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
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
|
|
7339
7865
|
*/
|
|
7340
7866
|
async modifyDiskReplicaPair(request) {
|
|
7341
7867
|
let runtime = new $Util.RuntimeOptions({});
|
|
7342
7868
|
return await this.modifyDiskReplicaPairWithOptions(request, runtime);
|
|
7343
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
|
+
*/
|
|
7344
7877
|
async queryDedicatedBlockStorageClusterDiskThroughputStatusWithOptions(request, runtime) {
|
|
7345
7878
|
tea_util_1.default.validateModel(request);
|
|
7346
7879
|
let query = {};
|
|
@@ -7371,16 +7904,25 @@ class Client extends openapi_client_1.default {
|
|
|
7371
7904
|
});
|
|
7372
7905
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryDedicatedBlockStorageClusterDiskThroughputStatusResponse({}));
|
|
7373
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
|
+
*/
|
|
7374
7913
|
async queryDedicatedBlockStorageClusterDiskThroughputStatus(request) {
|
|
7375
7914
|
let runtime = new $Util.RuntimeOptions({});
|
|
7376
7915
|
return await this.queryDedicatedBlockStorageClusterDiskThroughputStatusWithOptions(request, runtime);
|
|
7377
7916
|
}
|
|
7378
7917
|
/**
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
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
|
|
7384
7926
|
*/
|
|
7385
7927
|
async queryDedicatedBlockStorageClusterInventoryDataWithOptions(request, runtime) {
|
|
7386
7928
|
tea_util_1.default.validateModel(request);
|
|
@@ -7422,23 +7964,29 @@ class Client extends openapi_client_1.default {
|
|
|
7422
7964
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryDedicatedBlockStorageClusterInventoryDataResponse({}));
|
|
7423
7965
|
}
|
|
7424
7966
|
/**
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7428
|
-
|
|
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
|
|
7429
7974
|
*/
|
|
7430
7975
|
async queryDedicatedBlockStorageClusterInventoryData(request) {
|
|
7431
7976
|
let runtime = new $Util.RuntimeOptions({});
|
|
7432
7977
|
return await this.queryDedicatedBlockStorageClusterInventoryDataWithOptions(request, runtime);
|
|
7433
7978
|
}
|
|
7434
7979
|
/**
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
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
|
|
7442
7990
|
*/
|
|
7443
7991
|
async removeDiskReplicaPairWithOptions(request, runtime) {
|
|
7444
7992
|
tea_util_1.default.validateModel(request);
|
|
@@ -7472,28 +8020,34 @@ class Client extends openapi_client_1.default {
|
|
|
7472
8020
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveDiskReplicaPairResponse({}));
|
|
7473
8021
|
}
|
|
7474
8022
|
/**
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
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
|
|
7481
8032
|
*/
|
|
7482
8033
|
async removeDiskReplicaPair(request) {
|
|
7483
8034
|
let runtime = new $Util.RuntimeOptions({});
|
|
7484
8035
|
return await this.removeDiskReplicaPairWithOptions(request, runtime);
|
|
7485
8036
|
}
|
|
7486
8037
|
/**
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
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
|
|
7497
8051
|
*/
|
|
7498
8052
|
async reprotectDiskReplicaGroupWithOptions(request, runtime) {
|
|
7499
8053
|
tea_util_1.default.validateModel(request);
|
|
@@ -7527,31 +8081,37 @@ class Client extends openapi_client_1.default {
|
|
|
7527
8081
|
return $tea.cast(await this.callApi(params, req, runtime), new ReprotectDiskReplicaGroupResponse({}));
|
|
7528
8082
|
}
|
|
7529
8083
|
/**
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
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
|
|
7539
8096
|
*/
|
|
7540
8097
|
async reprotectDiskReplicaGroup(request) {
|
|
7541
8098
|
let runtime = new $Util.RuntimeOptions({});
|
|
7542
8099
|
return await this.reprotectDiskReplicaGroupWithOptions(request, runtime);
|
|
7543
8100
|
}
|
|
7544
8101
|
/**
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
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
|
|
7555
8115
|
*/
|
|
7556
8116
|
async reprotectDiskReplicaPairWithOptions(request, runtime) {
|
|
7557
8117
|
tea_util_1.default.validateModel(request);
|
|
@@ -7585,20 +8145,30 @@ class Client extends openapi_client_1.default {
|
|
|
7585
8145
|
return $tea.cast(await this.callApi(params, req, runtime), new ReprotectDiskReplicaPairResponse({}));
|
|
7586
8146
|
}
|
|
7587
8147
|
/**
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
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
|
|
7597
8160
|
*/
|
|
7598
8161
|
async reprotectDiskReplicaPair(request) {
|
|
7599
8162
|
let runtime = new $Util.RuntimeOptions({});
|
|
7600
8163
|
return await this.reprotectDiskReplicaPairWithOptions(request, runtime);
|
|
7601
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
|
+
*/
|
|
7602
8172
|
async setDedicatedBlockStorageClusterDiskThroughputWithOptions(request, runtime) {
|
|
7603
8173
|
tea_util_1.default.validateModel(request);
|
|
7604
8174
|
let query = {};
|
|
@@ -7632,20 +8202,29 @@ class Client extends openapi_client_1.default {
|
|
|
7632
8202
|
});
|
|
7633
8203
|
return $tea.cast(await this.callApi(params, req, runtime), new SetDedicatedBlockStorageClusterDiskThroughputResponse({}));
|
|
7634
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
|
+
*/
|
|
7635
8211
|
async setDedicatedBlockStorageClusterDiskThroughput(request) {
|
|
7636
8212
|
let runtime = new $Util.RuntimeOptions({});
|
|
7637
8213
|
return await this.setDedicatedBlockStorageClusterDiskThroughputWithOptions(request, runtime);
|
|
7638
8214
|
}
|
|
7639
8215
|
/**
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
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
|
|
7649
8228
|
*/
|
|
7650
8229
|
async startDiskReplicaGroupWithOptions(request, runtime) {
|
|
7651
8230
|
tea_util_1.default.validateModel(request);
|
|
@@ -7679,28 +8258,34 @@ class Client extends openapi_client_1.default {
|
|
|
7679
8258
|
return $tea.cast(await this.callApi(params, req, runtime), new StartDiskReplicaGroupResponse({}));
|
|
7680
8259
|
}
|
|
7681
8260
|
/**
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
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
|
|
7690
8272
|
*/
|
|
7691
8273
|
async startDiskReplicaGroup(request) {
|
|
7692
8274
|
let runtime = new $Util.RuntimeOptions({});
|
|
7693
8275
|
return await this.startDiskReplicaGroupWithOptions(request, runtime);
|
|
7694
8276
|
}
|
|
7695
8277
|
/**
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
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
|
|
7704
8289
|
*/
|
|
7705
8290
|
async startDiskReplicaPairWithOptions(request, runtime) {
|
|
7706
8291
|
tea_util_1.default.validateModel(request);
|
|
@@ -7734,24 +8319,30 @@ class Client extends openapi_client_1.default {
|
|
|
7734
8319
|
return $tea.cast(await this.callApi(params, req, runtime), new StartDiskReplicaPairResponse({}));
|
|
7735
8320
|
}
|
|
7736
8321
|
/**
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
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
|
|
7744
8332
|
*/
|
|
7745
8333
|
async startDiskReplicaPair(request) {
|
|
7746
8334
|
let runtime = new $Util.RuntimeOptions({});
|
|
7747
8335
|
return await this.startDiskReplicaPairWithOptions(request, runtime);
|
|
7748
8336
|
}
|
|
7749
8337
|
/**
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
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
|
|
7755
8346
|
*/
|
|
7756
8347
|
async startPairDrillWithOptions(request, runtime) {
|
|
7757
8348
|
tea_util_1.default.validateModel(request);
|
|
@@ -7782,21 +8373,27 @@ class Client extends openapi_client_1.default {
|
|
|
7782
8373
|
return $tea.cast(await this.callApi(params, req, runtime), new StartPairDrillResponse({}));
|
|
7783
8374
|
}
|
|
7784
8375
|
/**
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
|
|
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
|
|
7789
8383
|
*/
|
|
7790
8384
|
async startPairDrill(request) {
|
|
7791
8385
|
let runtime = new $Util.RuntimeOptions({});
|
|
7792
8386
|
return await this.startPairDrillWithOptions(request, runtime);
|
|
7793
8387
|
}
|
|
7794
8388
|
/**
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
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
|
|
7800
8397
|
*/
|
|
7801
8398
|
async startReplicaGroupDrillWithOptions(request, runtime) {
|
|
7802
8399
|
tea_util_1.default.validateModel(request);
|
|
@@ -7827,24 +8424,30 @@ class Client extends openapi_client_1.default {
|
|
|
7827
8424
|
return $tea.cast(await this.callApi(params, req, runtime), new StartReplicaGroupDrillResponse({}));
|
|
7828
8425
|
}
|
|
7829
8426
|
/**
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
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
|
|
7834
8434
|
*/
|
|
7835
8435
|
async startReplicaGroupDrill(request) {
|
|
7836
8436
|
let runtime = new $Util.RuntimeOptions({});
|
|
7837
8437
|
return await this.startReplicaGroupDrillWithOptions(request, runtime);
|
|
7838
8438
|
}
|
|
7839
8439
|
/**
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
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
|
|
7848
8451
|
*/
|
|
7849
8452
|
async stopDiskReplicaGroupWithOptions(request, runtime) {
|
|
7850
8453
|
tea_util_1.default.validateModel(request);
|
|
@@ -7875,26 +8478,32 @@ class Client extends openapi_client_1.default {
|
|
|
7875
8478
|
return $tea.cast(await this.callApi(params, req, runtime), new StopDiskReplicaGroupResponse({}));
|
|
7876
8479
|
}
|
|
7877
8480
|
/**
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
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
|
|
7885
8491
|
*/
|
|
7886
8492
|
async stopDiskReplicaGroup(request) {
|
|
7887
8493
|
let runtime = new $Util.RuntimeOptions({});
|
|
7888
8494
|
return await this.stopDiskReplicaGroupWithOptions(request, runtime);
|
|
7889
8495
|
}
|
|
7890
8496
|
/**
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
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
|
|
7898
8507
|
*/
|
|
7899
8508
|
async stopDiskReplicaPairWithOptions(request, runtime) {
|
|
7900
8509
|
tea_util_1.default.validateModel(request);
|
|
@@ -7925,23 +8534,29 @@ class Client extends openapi_client_1.default {
|
|
|
7925
8534
|
return $tea.cast(await this.callApi(params, req, runtime), new StopDiskReplicaPairResponse({}));
|
|
7926
8535
|
}
|
|
7927
8536
|
/**
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
|
|
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
|
|
7934
8546
|
*/
|
|
7935
8547
|
async stopDiskReplicaPair(request) {
|
|
7936
8548
|
let runtime = new $Util.RuntimeOptions({});
|
|
7937
8549
|
return await this.stopDiskReplicaPairWithOptions(request, runtime);
|
|
7938
8550
|
}
|
|
7939
8551
|
/**
|
|
7940
|
-
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
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
|
|
7945
8560
|
*/
|
|
7946
8561
|
async tagResourcesWithOptions(request, runtime) {
|
|
7947
8562
|
tea_util_1.default.validateModel(request);
|
|
@@ -7978,15 +8593,25 @@ class Client extends openapi_client_1.default {
|
|
|
7978
8593
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
7979
8594
|
}
|
|
7980
8595
|
/**
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
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
|
|
7985
8603
|
*/
|
|
7986
8604
|
async tagResources(request) {
|
|
7987
8605
|
let runtime = new $Util.RuntimeOptions({});
|
|
7988
8606
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
7989
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
|
+
*/
|
|
7990
8615
|
async unbindEnterpriseSnapshotPolicyWithOptions(request, runtime) {
|
|
7991
8616
|
tea_util_1.default.validateModel(request);
|
|
7992
8617
|
let query = {};
|
|
@@ -8018,17 +8643,26 @@ class Client extends openapi_client_1.default {
|
|
|
8018
8643
|
});
|
|
8019
8644
|
return $tea.cast(await this.callApi(params, req, runtime), new UnbindEnterpriseSnapshotPolicyResponse({}));
|
|
8020
8645
|
}
|
|
8646
|
+
/**
|
|
8647
|
+
* Unbind disks from a enterprise-level snapshot policy.
|
|
8648
|
+
*
|
|
8649
|
+
* @param request - UnbindEnterpriseSnapshotPolicyRequest
|
|
8650
|
+
* @returns UnbindEnterpriseSnapshotPolicyResponse
|
|
8651
|
+
*/
|
|
8021
8652
|
async unbindEnterpriseSnapshotPolicy(request) {
|
|
8022
8653
|
let runtime = new $Util.RuntimeOptions({});
|
|
8023
8654
|
return await this.unbindEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
8024
8655
|
}
|
|
8025
8656
|
/**
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
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
|
|
8032
8666
|
*/
|
|
8033
8667
|
async untagResourcesWithOptions(request, runtime) {
|
|
8034
8668
|
tea_util_1.default.validateModel(request);
|
|
@@ -8068,16 +8702,26 @@ class Client extends openapi_client_1.default {
|
|
|
8068
8702
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
8069
8703
|
}
|
|
8070
8704
|
/**
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
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
|
|
8076
8713
|
*/
|
|
8077
8714
|
async untagResources(request) {
|
|
8078
8715
|
let runtime = new $Util.RuntimeOptions({});
|
|
8079
8716
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
8080
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
|
+
*/
|
|
8081
8725
|
async updateEnterpriseSnapshotPolicyWithOptions(tmpReq, runtime) {
|
|
8082
8726
|
tea_util_1.default.validateModel(tmpReq);
|
|
8083
8727
|
let request = new UpdateEnterpriseSnapshotPolicyShrinkRequest({});
|
|
@@ -8147,10 +8791,23 @@ class Client extends openapi_client_1.default {
|
|
|
8147
8791
|
});
|
|
8148
8792
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateEnterpriseSnapshotPolicyResponse({}));
|
|
8149
8793
|
}
|
|
8794
|
+
/**
|
|
8795
|
+
* Search for a enterprise-level snapshot policy.
|
|
8796
|
+
*
|
|
8797
|
+
* @param request - UpdateEnterpriseSnapshotPolicyRequest
|
|
8798
|
+
* @returns UpdateEnterpriseSnapshotPolicyResponse
|
|
8799
|
+
*/
|
|
8150
8800
|
async updateEnterpriseSnapshotPolicy(request) {
|
|
8151
8801
|
let runtime = new $Util.RuntimeOptions({});
|
|
8152
8802
|
return await this.updateEnterpriseSnapshotPolicyWithOptions(request, runtime);
|
|
8153
8803
|
}
|
|
8804
|
+
/**
|
|
8805
|
+
* 更新解决方案实例属性
|
|
8806
|
+
*
|
|
8807
|
+
* @param request - UpdateSolutionInstanceAttributeRequest
|
|
8808
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8809
|
+
* @returns UpdateSolutionInstanceAttributeResponse
|
|
8810
|
+
*/
|
|
8154
8811
|
async updateSolutionInstanceAttributeWithOptions(request, runtime) {
|
|
8155
8812
|
tea_util_1.default.validateModel(request);
|
|
8156
8813
|
let query = {};
|
|
@@ -8185,6 +8842,12 @@ class Client extends openapi_client_1.default {
|
|
|
8185
8842
|
});
|
|
8186
8843
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateSolutionInstanceAttributeResponse({}));
|
|
8187
8844
|
}
|
|
8845
|
+
/**
|
|
8846
|
+
* 更新解决方案实例属性
|
|
8847
|
+
*
|
|
8848
|
+
* @param request - UpdateSolutionInstanceAttributeRequest
|
|
8849
|
+
* @returns UpdateSolutionInstanceAttributeResponse
|
|
8850
|
+
*/
|
|
8188
8851
|
async updateSolutionInstanceAttribute(request) {
|
|
8189
8852
|
let runtime = new $Util.RuntimeOptions({});
|
|
8190
8853
|
return await this.updateSolutionInstanceAttributeWithOptions(request, runtime);
|