@alicloud/ecs20140526 7.2.4 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +133 -166
- package/dist/client.js +162 -162
- package/dist/client.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventRequest.d.ts +0 -7
- package/dist/models/AcceptInquiredSystemEventRequest.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventResponseBody.d.ts +0 -3
- package/dist/models/AcceptInquiredSystemEventResponseBody.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +14 -0
- package/dist/models/CreateAutoProvisioningGroupRequest.js +25 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +14 -0
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js +25 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateImagePipelineRequest.d.ts +9 -9
- package/dist/models/CreateInstanceRequest.d.ts +6 -2
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreatePrefixListRequest.d.ts +2 -2
- package/dist/models/CreateSnapshotGroupRequest.d.ts +7 -7
- package/dist/models/DescribeAutoProvisioningGroupHistoryRequest.d.ts +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.d.ts +42 -0
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js.map +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.d.ts +32 -0
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableResourceRequest.d.ts +0 -118
- package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +9 -75
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeElasticityAssurancesRequest.d.ts +1 -1
- package/dist/models/DescribeEniMonitorDataRequest.d.ts +2 -2
- package/dist/models/DescribeImagePipelineExecutionsRequest.d.ts +22 -24
- package/dist/models/DescribeImagePipelineExecutionsRequest.js.map +1 -1
- package/dist/models/DescribeImagePipelineExecutionsResponseBody.d.ts +26 -24
- package/dist/models/DescribeImagePipelineExecutionsResponseBody.js.map +1 -1
- package/dist/models/DescribeImagePipelinesRequest.d.ts +1 -1
- package/dist/models/DescribeImagePipelinesResponseBody.d.ts +2 -2
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +18 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstancesFullStatusRequest.d.ts +2 -1
- package/dist/models/DescribeInstancesFullStatusRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsRequest.d.ts +79 -64
- package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +160 -136
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +17 -91
- package/dist/models/DescribeInvocationsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +225 -172
- package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
- package/dist/models/DescribeManagedInstancesRequest.d.ts +18 -0
- package/dist/models/DescribeManagedInstancesRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +1 -1
- package/dist/models/DescribeSnapshotPackageRequest.d.ts +3 -3
- package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +2 -1
- package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +2 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
- package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +8 -8
- package/dist/models/ModifyInstanceMetadataOptionsRequest.d.ts +8 -1
- package/dist/models/ModifyInstanceMetadataOptionsRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +1 -1
- package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +14 -2
- package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupRuleRequest.d.ts +14 -2
- package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/OpenSnapshotServiceRequest.d.ts +26 -0
- package/dist/models/OpenSnapshotServiceRequest.js +64 -0
- package/dist/models/OpenSnapshotServiceRequest.js.map +1 -0
- package/dist/models/OpenSnapshotServiceResponse.d.ts +19 -0
- package/dist/models/OpenSnapshotServiceResponse.js +69 -0
- package/dist/models/OpenSnapshotServiceResponse.js.map +1 -0
- package/dist/models/OpenSnapshotServiceResponseBody.d.ts +21 -0
- package/dist/models/OpenSnapshotServiceResponseBody.js +58 -0
- package/dist/models/OpenSnapshotServiceResponseBody.js.map +1 -0
- package/dist/models/ReleaseDedicatedHostRequest.d.ts +12 -0
- package/dist/models/ReleaseDedicatedHostRequest.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +69 -59
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +168 -162
- package/src/models/AcceptInquiredSystemEventRequest.ts +0 -7
- package/src/models/AcceptInquiredSystemEventResponseBody.ts +0 -3
- package/src/models/CreateAutoProvisioningGroupRequest.ts +29 -0
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +29 -0
- package/src/models/CreateImagePipelineRequest.ts +9 -9
- package/src/models/CreateInstanceRequest.ts +6 -2
- package/src/models/CreatePrefixListRequest.ts +2 -2
- package/src/models/CreateSnapshotGroupRequest.ts +7 -7
- package/src/models/DescribeAutoProvisioningGroupHistoryRequest.ts +1 -1
- package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +42 -0
- package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +32 -0
- package/src/models/DescribeAvailableResourceRequest.ts +0 -118
- package/src/models/DescribeAvailableResourceResponseBody.ts +9 -75
- package/src/models/DescribeElasticityAssurancesRequest.ts +1 -1
- package/src/models/DescribeEniMonitorDataRequest.ts +2 -2
- package/src/models/DescribeImagePipelineExecutionsRequest.ts +22 -24
- package/src/models/DescribeImagePipelineExecutionsResponseBody.ts +26 -24
- package/src/models/DescribeImagePipelinesRequest.ts +1 -1
- package/src/models/DescribeImagePipelinesResponseBody.ts +2 -2
- package/src/models/DescribeInstanceAttributeResponseBody.ts +18 -1
- package/src/models/DescribeInstancesFullStatusRequest.ts +2 -1
- package/src/models/DescribeInvocationResultsRequest.ts +79 -64
- package/src/models/DescribeInvocationResultsResponseBody.ts +160 -136
- package/src/models/DescribeInvocationsRequest.ts +17 -91
- package/src/models/DescribeInvocationsResponseBody.ts +225 -172
- package/src/models/DescribeManagedInstancesRequest.ts +18 -0
- package/src/models/DescribeSnapshotGroupsResponseBody.ts +1 -1
- package/src/models/DescribeSnapshotPackageRequest.ts +3 -3
- package/src/models/ModifyCloudAssistantSettingsRequest.ts +2 -1
- package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +2 -1
- package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +8 -8
- package/src/models/ModifyInstanceMetadataOptionsRequest.ts +8 -1
- package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +1 -1
- package/src/models/ModifySecurityGroupEgressRuleRequest.ts +14 -2
- package/src/models/ModifySecurityGroupRuleRequest.ts +14 -2
- package/src/models/OpenSnapshotServiceRequest.ts +45 -0
- package/src/models/OpenSnapshotServiceResponse.ts +40 -0
- package/src/models/OpenSnapshotServiceResponseBody.ts +34 -0
- package/src/models/ReleaseDedicatedHostRequest.ts +12 -0
- package/src/models/model.ts +5 -0
package/src/client.ts
CHANGED
|
@@ -67,7 +67,7 @@ export default class Client extends OpenApi {
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* dubbo
|
|
71
71
|
*
|
|
72
72
|
* @param request - AcceptInquiredSystemEventRequest
|
|
73
73
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -126,7 +126,7 @@ export default class Client extends OpenApi {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
129
|
+
* dubbo
|
|
130
130
|
*
|
|
131
131
|
* @param request - AcceptInquiredSystemEventRequest
|
|
132
132
|
* @returns AcceptInquiredSystemEventResponse
|
|
@@ -692,8 +692,17 @@ export default class Client extends OpenApi {
|
|
|
692
692
|
* Applies an automatic snapshot policy to one or more cloud disks. You can call this operation to replace the automatic snapshot policy of a cloud disk.
|
|
693
693
|
*
|
|
694
694
|
* @remarks
|
|
695
|
-
*
|
|
696
|
-
*
|
|
695
|
+
* ## [](#)Usage notes
|
|
696
|
+
* When you call this operation, note that:
|
|
697
|
+
* * You can apply only one automatic snapshot policy to each disk.
|
|
698
|
+
* * You can apply a single automatic snapshot policy to multiple disks.
|
|
699
|
+
* Feature changes:
|
|
700
|
+
* By default, only one policy can be applied to a single disk. After the feature is upgraded, a maximum of 10 automatic snapshot policies can be applied to a single disk at the same time to meet the backup requirements of multiple scenarios.
|
|
701
|
+
* If you need to apply for a whitelist to upgrade the feature, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket).
|
|
702
|
+
* After you upgrade the feature, take note of the following:
|
|
703
|
+
* * Each cloud disk supports up to 10 automatic snapshot policies.
|
|
704
|
+
* * If the target cloud disk already has an automatic snapshot policy applied, calling this operation will add to the existing policy rather than replace it.
|
|
705
|
+
* > To avoid unexpected fees, cancel the automatic snapshot policies that you no longer need.
|
|
697
706
|
*
|
|
698
707
|
* @param request - ApplyAutoSnapshotPolicyRequest
|
|
699
708
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -747,8 +756,17 @@ export default class Client extends OpenApi {
|
|
|
747
756
|
* Applies an automatic snapshot policy to one or more cloud disks. You can call this operation to replace the automatic snapshot policy of a cloud disk.
|
|
748
757
|
*
|
|
749
758
|
* @remarks
|
|
750
|
-
*
|
|
751
|
-
*
|
|
759
|
+
* ## [](#)Usage notes
|
|
760
|
+
* When you call this operation, note that:
|
|
761
|
+
* * You can apply only one automatic snapshot policy to each disk.
|
|
762
|
+
* * You can apply a single automatic snapshot policy to multiple disks.
|
|
763
|
+
* Feature changes:
|
|
764
|
+
* By default, only one policy can be applied to a single disk. After the feature is upgraded, a maximum of 10 automatic snapshot policies can be applied to a single disk at the same time to meet the backup requirements of multiple scenarios.
|
|
765
|
+
* If you need to apply for a whitelist to upgrade the feature, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket).
|
|
766
|
+
* After you upgrade the feature, take note of the following:
|
|
767
|
+
* * Each cloud disk supports up to 10 automatic snapshot policies.
|
|
768
|
+
* * If the target cloud disk already has an automatic snapshot policy applied, calling this operation will add to the existing policy rather than replace it.
|
|
769
|
+
* > To avoid unexpected fees, cancel the automatic snapshot policies that you no longer need.
|
|
752
770
|
*
|
|
753
771
|
* @param request - ApplyAutoSnapshotPolicyRequest
|
|
754
772
|
* @returns ApplyAutoSnapshotPolicyResponse
|
|
@@ -10369,7 +10387,7 @@ export default class Client extends OpenApi {
|
|
|
10369
10387
|
}
|
|
10370
10388
|
|
|
10371
10389
|
/**
|
|
10372
|
-
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed
|
|
10390
|
+
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed the account verification.
|
|
10373
10391
|
*
|
|
10374
10392
|
* @remarks
|
|
10375
10393
|
* After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
@@ -10424,7 +10442,7 @@ export default class Client extends OpenApi {
|
|
|
10424
10442
|
}
|
|
10425
10443
|
|
|
10426
10444
|
/**
|
|
10427
|
-
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed
|
|
10445
|
+
* Queries the quotas of Elastic Compute Service (ECS) resources that you can create in an Alibaba Cloud region. For a specific region, you can query the maximum numbers of security groups, elastic network interfaces (ENIs), vCPUs for pay-as-you-go instances, vCPUs for spot instances, and dedicated hosts that you can create and the capacity quotas for pay-as-you-go disks that you can create. You can also query information such as network types or whether an account has completed the account verification.
|
|
10428
10446
|
*
|
|
10429
10447
|
* @remarks
|
|
10430
10448
|
* After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
@@ -10779,7 +10797,7 @@ export default class Client extends OpenApi {
|
|
|
10779
10797
|
}
|
|
10780
10798
|
|
|
10781
10799
|
/**
|
|
10782
|
-
*
|
|
10800
|
+
* Queries association relationships of automatic snapshot policies.
|
|
10783
10801
|
*
|
|
10784
10802
|
* @param request - DescribeAutoSnapshotPolicyAssociationsRequest
|
|
10785
10803
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10842,7 +10860,7 @@ export default class Client extends OpenApi {
|
|
|
10842
10860
|
}
|
|
10843
10861
|
|
|
10844
10862
|
/**
|
|
10845
|
-
*
|
|
10863
|
+
* Queries association relationships of automatic snapshot policies.
|
|
10846
10864
|
*
|
|
10847
10865
|
* @param request - DescribeAutoSnapshotPolicyAssociationsRequest
|
|
10848
10866
|
* @returns DescribeAutoSnapshotPolicyAssociationsResponse
|
|
@@ -10935,38 +10953,7 @@ export default class Client extends OpenApi {
|
|
|
10935
10953
|
}
|
|
10936
10954
|
|
|
10937
10955
|
/**
|
|
10938
|
-
*
|
|
10939
|
-
*
|
|
10940
|
-
* @remarks
|
|
10941
|
-
* The value of `DestinationResource` determines whether you need to specify additional parameters. When you select a value in the following chain for DestinationResource, the more to the right the selected value is ordered, the more parameters you must specify.
|
|
10942
|
-
* * Sequence: `Zone > IoOptimized > InstanceType = Network = ddh > SystemDisk > DataDisk`
|
|
10943
|
-
* * Examples:
|
|
10944
|
-
* * If you set `DestinationResource` to `DataDisk`, take note of the following items:
|
|
10945
|
-
* * If you set `ResourceType` to `disk` to query the categories of data disks regardless of whether the disks are attached to ECS instances, you can leave `InstanceType` empty.
|
|
10946
|
-
* * If you set `ResourceType` to `instance` to query the categories of data disks that are attached to ECS instances, you must specify `InstanceType` and `DataDiskCategory` due to instance type-specific limits on data disks.
|
|
10947
|
-
* * If you set `DestinationResource` to `SystemDisk` and `ResourceType` to `instance`, you must specify `InstanceType` due to instance type-specific limits on system disks.
|
|
10948
|
-
* * If you set `DestinationResource` to `InstanceType`, we recommend that you specify `IoOptimized` and `InstanceType`.
|
|
10949
|
-
* * To query the ecs.g5.large instance type in all zones of the China (Hangzhou) region, set `RegionId to cn-hangzhou, DestinationResource to InstanceType, IoOptimized to optimized, and InstanceType to ecs.g5.large`.
|
|
10950
|
-
* * To query the zones in which the ecs.g5.large instance type is available in the China (Hangzhou) region, set `RegionId to cn-hangzhou, DestinationResource to Zone, IoOptimized to optimized, and InstanceType to ecs.g5.large`.
|
|
10951
|
-
* **To query the zones in which the ecs.g5.large instance type is available in the China (Hangzhou) region, specify parameters as follows:**
|
|
10952
|
-
* "RegionId": "cn-hangzhou",
|
|
10953
|
-
* "DestinationResource": "Zone",
|
|
10954
|
-
* "InstanceType": "ecs.g5.large"
|
|
10955
|
-
* **To query the ecs.g5.large instance type in all zones of the China (Hangzhou) region, specify parameters as follows:**
|
|
10956
|
-
* "RegionId": "cn-hangzhou",
|
|
10957
|
-
* "DestinationResource": "InstanceType""InstanceType": "ecs.g5.large"
|
|
10958
|
-
* **To query data disks of the ultra disk category in Hangzhou Zone B regardless of whether the disks are attached to ECS instances, specify parameters as follows:**
|
|
10959
|
-
* "RegionId": "cn-hangzhou",
|
|
10960
|
-
* "ZoneId": "cn-hangzhou-b",
|
|
10961
|
-
* "ResourceType": "disk",
|
|
10962
|
-
* "DestinationResource": "DataDisk"
|
|
10963
|
-
* **To query data disks purchased together with ecs.g7.large instances that reside in Hangzhou Zone B and use Enterprise SSDs (ESSDs) as system disks, specify parameters as follows:**
|
|
10964
|
-
* "RegionId": "cn-hangzhou",
|
|
10965
|
-
* "ZoneId": "cn-hangzhou-b",
|
|
10966
|
-
* "ResourceType": "instance",
|
|
10967
|
-
* "InstanceType": "ecs.g7.large",
|
|
10968
|
-
* "DestinationResource": "SystemDisk",
|
|
10969
|
-
* "SystemDiskCategory": "cloud_essd"
|
|
10956
|
+
* 查询可用资源
|
|
10970
10957
|
*
|
|
10971
10958
|
* @param request - DescribeAvailableResourceRequest
|
|
10972
10959
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11073,38 +11060,7 @@ export default class Client extends OpenApi {
|
|
|
11073
11060
|
}
|
|
11074
11061
|
|
|
11075
11062
|
/**
|
|
11076
|
-
*
|
|
11077
|
-
*
|
|
11078
|
-
* @remarks
|
|
11079
|
-
* The value of `DestinationResource` determines whether you need to specify additional parameters. When you select a value in the following chain for DestinationResource, the more to the right the selected value is ordered, the more parameters you must specify.
|
|
11080
|
-
* * Sequence: `Zone > IoOptimized > InstanceType = Network = ddh > SystemDisk > DataDisk`
|
|
11081
|
-
* * Examples:
|
|
11082
|
-
* * If you set `DestinationResource` to `DataDisk`, take note of the following items:
|
|
11083
|
-
* * If you set `ResourceType` to `disk` to query the categories of data disks regardless of whether the disks are attached to ECS instances, you can leave `InstanceType` empty.
|
|
11084
|
-
* * If you set `ResourceType` to `instance` to query the categories of data disks that are attached to ECS instances, you must specify `InstanceType` and `DataDiskCategory` due to instance type-specific limits on data disks.
|
|
11085
|
-
* * If you set `DestinationResource` to `SystemDisk` and `ResourceType` to `instance`, you must specify `InstanceType` due to instance type-specific limits on system disks.
|
|
11086
|
-
* * If you set `DestinationResource` to `InstanceType`, we recommend that you specify `IoOptimized` and `InstanceType`.
|
|
11087
|
-
* * To query the ecs.g5.large instance type in all zones of the China (Hangzhou) region, set `RegionId to cn-hangzhou, DestinationResource to InstanceType, IoOptimized to optimized, and InstanceType to ecs.g5.large`.
|
|
11088
|
-
* * To query the zones in which the ecs.g5.large instance type is available in the China (Hangzhou) region, set `RegionId to cn-hangzhou, DestinationResource to Zone, IoOptimized to optimized, and InstanceType to ecs.g5.large`.
|
|
11089
|
-
* **To query the zones in which the ecs.g5.large instance type is available in the China (Hangzhou) region, specify parameters as follows:**
|
|
11090
|
-
* "RegionId": "cn-hangzhou",
|
|
11091
|
-
* "DestinationResource": "Zone",
|
|
11092
|
-
* "InstanceType": "ecs.g5.large"
|
|
11093
|
-
* **To query the ecs.g5.large instance type in all zones of the China (Hangzhou) region, specify parameters as follows:**
|
|
11094
|
-
* "RegionId": "cn-hangzhou",
|
|
11095
|
-
* "DestinationResource": "InstanceType""InstanceType": "ecs.g5.large"
|
|
11096
|
-
* **To query data disks of the ultra disk category in Hangzhou Zone B regardless of whether the disks are attached to ECS instances, specify parameters as follows:**
|
|
11097
|
-
* "RegionId": "cn-hangzhou",
|
|
11098
|
-
* "ZoneId": "cn-hangzhou-b",
|
|
11099
|
-
* "ResourceType": "disk",
|
|
11100
|
-
* "DestinationResource": "DataDisk"
|
|
11101
|
-
* **To query data disks purchased together with ecs.g7.large instances that reside in Hangzhou Zone B and use Enterprise SSDs (ESSDs) as system disks, specify parameters as follows:**
|
|
11102
|
-
* "RegionId": "cn-hangzhou",
|
|
11103
|
-
* "ZoneId": "cn-hangzhou-b",
|
|
11104
|
-
* "ResourceType": "instance",
|
|
11105
|
-
* "InstanceType": "ecs.g7.large",
|
|
11106
|
-
* "DestinationResource": "SystemDisk",
|
|
11107
|
-
* "SystemDiskCategory": "cloud_essd"
|
|
11063
|
+
* 查询可用资源
|
|
11108
11064
|
*
|
|
11109
11065
|
* @param request - DescribeAvailableResourceRequest
|
|
11110
11066
|
* @returns DescribeAvailableResourceResponse
|
|
@@ -14047,13 +14003,22 @@ export default class Client extends OpenApi {
|
|
|
14047
14003
|
}
|
|
14048
14004
|
|
|
14049
14005
|
/**
|
|
14050
|
-
*
|
|
14006
|
+
* The key of tag N of the image creation task. Valid values of N: 1 to 20.
|
|
14051
14007
|
*
|
|
14052
14008
|
* @remarks
|
|
14053
|
-
*
|
|
14054
|
-
* *
|
|
14055
|
-
* *
|
|
14056
|
-
* *
|
|
14009
|
+
* The status of the image creation task. Valid values:
|
|
14010
|
+
* * PREPARING: Resources, such as intermediate instances, are being created.
|
|
14011
|
+
* * REPAIRING: The source image is being repaired.
|
|
14012
|
+
* * BUILDING: The user-defined commands are being run and an image is being created.
|
|
14013
|
+
* * TESTING: The user-defined test commands are being run.
|
|
14014
|
+
* * DISTRIBUTING: The created image is being copied and shared.
|
|
14015
|
+
* * RELEASING: The temporary resources generated during the image creation process are being released.
|
|
14016
|
+
* * SUCCESS The image creation task is completed.
|
|
14017
|
+
* * PARTITION_SUCCESS: The image creation task is partially completed. The image is created, but exceptions may occur when the image was copied or shared or when temporary resources were released.
|
|
14018
|
+
* * FAILED: The image creation task fails.
|
|
14019
|
+
* * TEST_FAILED: The image is created, but the test fails.
|
|
14020
|
+
* * CANCELLING: The image creation task is being canceled.
|
|
14021
|
+
* * CANCELLED: The image creation task is canceled.
|
|
14057
14022
|
*
|
|
14058
14023
|
* @param request - DescribeImagePipelineExecutionsRequest
|
|
14059
14024
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14128,13 +14093,22 @@ export default class Client extends OpenApi {
|
|
|
14128
14093
|
}
|
|
14129
14094
|
|
|
14130
14095
|
/**
|
|
14131
|
-
*
|
|
14096
|
+
* The key of tag N of the image creation task. Valid values of N: 1 to 20.
|
|
14132
14097
|
*
|
|
14133
14098
|
* @remarks
|
|
14134
|
-
*
|
|
14135
|
-
* *
|
|
14136
|
-
* *
|
|
14137
|
-
* *
|
|
14099
|
+
* The status of the image creation task. Valid values:
|
|
14100
|
+
* * PREPARING: Resources, such as intermediate instances, are being created.
|
|
14101
|
+
* * REPAIRING: The source image is being repaired.
|
|
14102
|
+
* * BUILDING: The user-defined commands are being run and an image is being created.
|
|
14103
|
+
* * TESTING: The user-defined test commands are being run.
|
|
14104
|
+
* * DISTRIBUTING: The created image is being copied and shared.
|
|
14105
|
+
* * RELEASING: The temporary resources generated during the image creation process are being released.
|
|
14106
|
+
* * SUCCESS The image creation task is completed.
|
|
14107
|
+
* * PARTITION_SUCCESS: The image creation task is partially completed. The image is created, but exceptions may occur when the image was copied or shared or when temporary resources were released.
|
|
14108
|
+
* * FAILED: The image creation task fails.
|
|
14109
|
+
* * TEST_FAILED: The image is created, but the test fails.
|
|
14110
|
+
* * CANCELLING: The image creation task is being canceled.
|
|
14111
|
+
* * CANCELLED: The image creation task is canceled.
|
|
14138
14112
|
*
|
|
14139
14113
|
* @param request - DescribeImagePipelineExecutionsRequest
|
|
14140
14114
|
* @returns DescribeImagePipelineExecutionsResponse
|
|
@@ -16117,22 +16091,24 @@ export default class Client extends OpenApi {
|
|
|
16117
16091
|
}
|
|
16118
16092
|
|
|
16119
16093
|
/**
|
|
16120
|
-
*
|
|
16094
|
+
* The execution status of the command. Valid values:
|
|
16095
|
+
* * Running:
|
|
16096
|
+
* * Scheduled task: Before you stop the scheduled execution of the command, the execution state is always Running.
|
|
16097
|
+
* * One-time task: If the command is being run on instances, the execution state is Running.
|
|
16098
|
+
* * Finished:
|
|
16099
|
+
* * Scheduled task: The execution state can never be Finished.
|
|
16100
|
+
* * One-time task: The execution was complete on all instances, or the execution was stopped on some instances and was complete on the other instances.
|
|
16101
|
+
* * Failed:
|
|
16102
|
+
* * Scheduled task: The execution state can never be Failed.
|
|
16103
|
+
* * One-time task: The execution failed on all instances.
|
|
16104
|
+
* * PartialFailed:
|
|
16105
|
+
* * Scheduled task: The execution state can never be PartialFailed.
|
|
16106
|
+
* * One-time task: The execution failed on some instances.
|
|
16107
|
+
* * Stopped: The task was stopped.
|
|
16108
|
+
* * Stopping: The task is being stopped.
|
|
16121
16109
|
*
|
|
16122
16110
|
* @remarks
|
|
16123
|
-
*
|
|
16124
|
-
* * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the execution results.
|
|
16125
|
-
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
16126
|
-
* * You can [subscribe to Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain command execution results from the events. This helps you reduce the number of times to poll API operations and improve efficiency.
|
|
16127
|
-
* * During a paged query, when you call the DescribeInvocationResults 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeInvocationResults 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.
|
|
16128
|
-
* * Comparison between the `DescribeInvocations` and `DescribeInvocationResults` operations:
|
|
16129
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
|
|
16130
|
-
* * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
|
|
16131
|
-
* * The `DescribeInvocationResults` operation queries only the execution status of the command on each instance.
|
|
16132
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on a single instance:
|
|
16133
|
-
* * The `DescribeInvocations` operation is equivalent to the `DescribeInvocationResults` operation.
|
|
16134
|
-
* * If you want to query the status of each execution for a scheduled (recurring) task or a task that is automatically executed on instance startup (`RepeatMode is set to Period or EveryReboot`), you can call only the `DescribeInvocationResults` operation and must set `IncludeHistory` to true. The `DescribeInvocations` operation queries only the most recent execution status of the command.
|
|
16135
|
-
* * If you want to view the command content and parameters, you can call only the `DescribeInvocations` operation and check the `CommandContent` value in the response.
|
|
16111
|
+
* DescribeInvocationResults
|
|
16136
16112
|
*
|
|
16137
16113
|
* @param request - DescribeInvocationResultsRequest
|
|
16138
16114
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16231,22 +16207,24 @@ export default class Client extends OpenApi {
|
|
|
16231
16207
|
}
|
|
16232
16208
|
|
|
16233
16209
|
/**
|
|
16234
|
-
*
|
|
16210
|
+
* The execution status of the command. Valid values:
|
|
16211
|
+
* * Running:
|
|
16212
|
+
* * Scheduled task: Before you stop the scheduled execution of the command, the execution state is always Running.
|
|
16213
|
+
* * One-time task: If the command is being run on instances, the execution state is Running.
|
|
16214
|
+
* * Finished:
|
|
16215
|
+
* * Scheduled task: The execution state can never be Finished.
|
|
16216
|
+
* * One-time task: The execution was complete on all instances, or the execution was stopped on some instances and was complete on the other instances.
|
|
16217
|
+
* * Failed:
|
|
16218
|
+
* * Scheduled task: The execution state can never be Failed.
|
|
16219
|
+
* * One-time task: The execution failed on all instances.
|
|
16220
|
+
* * PartialFailed:
|
|
16221
|
+
* * Scheduled task: The execution state can never be PartialFailed.
|
|
16222
|
+
* * One-time task: The execution failed on some instances.
|
|
16223
|
+
* * Stopped: The task was stopped.
|
|
16224
|
+
* * Stopping: The task is being stopped.
|
|
16235
16225
|
*
|
|
16236
16226
|
* @remarks
|
|
16237
|
-
*
|
|
16238
|
-
* * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the execution results.
|
|
16239
|
-
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
16240
|
-
* * You can [subscribe to Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain command execution results from the events. This helps you reduce the number of times to poll API operations and improve efficiency.
|
|
16241
|
-
* * During a paged query, when you call the DescribeInvocationResults 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeInvocationResults 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.
|
|
16242
|
-
* * Comparison between the `DescribeInvocations` and `DescribeInvocationResults` operations:
|
|
16243
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
|
|
16244
|
-
* * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
|
|
16245
|
-
* * The `DescribeInvocationResults` operation queries only the execution status of the command on each instance.
|
|
16246
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on a single instance:
|
|
16247
|
-
* * The `DescribeInvocations` operation is equivalent to the `DescribeInvocationResults` operation.
|
|
16248
|
-
* * If you want to query the status of each execution for a scheduled (recurring) task or a task that is automatically executed on instance startup (`RepeatMode is set to Period or EveryReboot`), you can call only the `DescribeInvocationResults` operation and must set `IncludeHistory` to true. The `DescribeInvocations` operation queries only the most recent execution status of the command.
|
|
16249
|
-
* * If you want to view the command content and parameters, you can call only the `DescribeInvocations` operation and check the `CommandContent` value in the response.
|
|
16227
|
+
* DescribeInvocationResults
|
|
16250
16228
|
*
|
|
16251
16229
|
* @param request - DescribeInvocationResultsRequest
|
|
16252
16230
|
* @returns DescribeInvocationResultsResponse
|
|
@@ -16257,21 +16235,10 @@ export default class Client extends OpenApi {
|
|
|
16257
16235
|
}
|
|
16258
16236
|
|
|
16259
16237
|
/**
|
|
16260
|
-
*
|
|
16238
|
+
* The command type.
|
|
16261
16239
|
*
|
|
16262
16240
|
* @remarks
|
|
16263
|
-
*
|
|
16264
|
-
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
16265
|
-
* * You can [subscribe to Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain command execution results from the events. This helps you reduce the number of times to poll API operations and improve efficiency.
|
|
16266
|
-
* * During a paged query, when you call the DescribeInvocations 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeInvocations 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.
|
|
16267
|
-
* * Differences between the `DescribeInvocations` and `DescribeInvocationResults` operations:
|
|
16268
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
|
|
16269
|
-
* * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
|
|
16270
|
-
* * The `DescribeInvocationResults` operation queries only the execution status of the command on each instance.
|
|
16271
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on a single instance:
|
|
16272
|
-
* * The `DescribeInvocations` operation is equivalent to the `DescribeInvocationResults` operation.
|
|
16273
|
-
* * If you want to query the status of each execution for a scheduled (recurring) task or a task that is automatically executed on instance startup (`RepeatMode is set to Period or EveryReboot`), you can call only the `DescribeInvocationResults` operation and must set `IncludeHistory` to true. The `DescribeInvocations` operation queries only the most recent execution status of the command.
|
|
16274
|
-
* * If you want to view the command content and parameters, you can call only the `DescribeInvocations` operation and check the `CommandContent` value in the response.
|
|
16241
|
+
* DescribeInvocations
|
|
16275
16242
|
*
|
|
16276
16243
|
* @param request - DescribeInvocationsRequest
|
|
16277
16244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16386,21 +16353,10 @@ export default class Client extends OpenApi {
|
|
|
16386
16353
|
}
|
|
16387
16354
|
|
|
16388
16355
|
/**
|
|
16389
|
-
*
|
|
16356
|
+
* The command type.
|
|
16390
16357
|
*
|
|
16391
16358
|
* @remarks
|
|
16392
|
-
*
|
|
16393
|
-
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
16394
|
-
* * You can [subscribe to Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain command execution results from the events. This helps you reduce the number of times to poll API operations and improve efficiency.
|
|
16395
|
-
* * During a paged query, when you call the DescribeInvocations 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeInvocations 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.
|
|
16396
|
-
* * Differences between the `DescribeInvocations` and `DescribeInvocationResults` operations:
|
|
16397
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
|
|
16398
|
-
* * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
|
|
16399
|
-
* * The `DescribeInvocationResults` operation queries only the execution status of the command on each instance.
|
|
16400
|
-
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on a single instance:
|
|
16401
|
-
* * The `DescribeInvocations` operation is equivalent to the `DescribeInvocationResults` operation.
|
|
16402
|
-
* * If you want to query the status of each execution for a scheduled (recurring) task or a task that is automatically executed on instance startup (`RepeatMode is set to Period or EveryReboot`), you can call only the `DescribeInvocationResults` operation and must set `IncludeHistory` to true. The `DescribeInvocations` operation queries only the most recent execution status of the command.
|
|
16403
|
-
* * If you want to view the command content and parameters, you can call only the `DescribeInvocations` operation and check the `CommandContent` value in the response.
|
|
16359
|
+
* DescribeInvocations
|
|
16404
16360
|
*
|
|
16405
16361
|
* @param request - DescribeInvocationsRequest
|
|
16406
16362
|
* @returns DescribeInvocationsResponse
|
|
@@ -26870,7 +26826,7 @@ export default class Client extends OpenApi {
|
|
|
26870
26826
|
}
|
|
26871
26827
|
|
|
26872
26828
|
/**
|
|
26873
|
-
* Modifies
|
|
26829
|
+
* Modifies instance network configurations.
|
|
26874
26830
|
*
|
|
26875
26831
|
* @remarks
|
|
26876
26832
|
* When you call this operation, note that:
|
|
@@ -26923,7 +26879,7 @@ export default class Client extends OpenApi {
|
|
|
26923
26879
|
}
|
|
26924
26880
|
|
|
26925
26881
|
/**
|
|
26926
|
-
* Modifies
|
|
26882
|
+
* Modifies instance network configurations.
|
|
26927
26883
|
*
|
|
26928
26884
|
* @remarks
|
|
26929
26885
|
* When you call this operation, note that:
|
|
@@ -29353,7 +29309,7 @@ export default class Client extends OpenApi {
|
|
|
29353
29309
|
}
|
|
29354
29310
|
|
|
29355
29311
|
/**
|
|
29356
|
-
*
|
|
29312
|
+
* Modifies the name or description of a storage capacity unit (SCU).
|
|
29357
29313
|
*
|
|
29358
29314
|
* @param request - ModifyStorageCapacityUnitAttributeRequest
|
|
29359
29315
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29412,7 +29368,7 @@ export default class Client extends OpenApi {
|
|
|
29412
29368
|
}
|
|
29413
29369
|
|
|
29414
29370
|
/**
|
|
29415
|
-
*
|
|
29371
|
+
* Modifies the name or description of a storage capacity unit (SCU).
|
|
29416
29372
|
*
|
|
29417
29373
|
* @param request - ModifyStorageCapacityUnitAttributeRequest
|
|
29418
29374
|
* @returns ModifyStorageCapacityUnitAttributeResponse
|
|
@@ -29903,6 +29859,60 @@ export default class Client extends OpenApi {
|
|
|
29903
29859
|
return await this.modifyVpcAttributeWithOptions(request, runtime);
|
|
29904
29860
|
}
|
|
29905
29861
|
|
|
29862
|
+
/**
|
|
29863
|
+
* Activate the snapshot service.
|
|
29864
|
+
*
|
|
29865
|
+
* @param request - OpenSnapshotServiceRequest
|
|
29866
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
29867
|
+
* @returns OpenSnapshotServiceResponse
|
|
29868
|
+
*/
|
|
29869
|
+
async openSnapshotServiceWithOptions(request: $_model.OpenSnapshotServiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.OpenSnapshotServiceResponse> {
|
|
29870
|
+
request.validate();
|
|
29871
|
+
let query = { };
|
|
29872
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
29873
|
+
query["OwnerId"] = request.ownerId;
|
|
29874
|
+
}
|
|
29875
|
+
|
|
29876
|
+
if (!$dara.isNull(request.regionId)) {
|
|
29877
|
+
query["RegionId"] = request.regionId;
|
|
29878
|
+
}
|
|
29879
|
+
|
|
29880
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
29881
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
29882
|
+
}
|
|
29883
|
+
|
|
29884
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
29885
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
29886
|
+
}
|
|
29887
|
+
|
|
29888
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
29889
|
+
query: OpenApiUtil.query(query),
|
|
29890
|
+
});
|
|
29891
|
+
let params = new $OpenApiUtil.Params({
|
|
29892
|
+
action: "OpenSnapshotService",
|
|
29893
|
+
version: "2014-05-26",
|
|
29894
|
+
protocol: "HTTPS",
|
|
29895
|
+
pathname: "/",
|
|
29896
|
+
method: "POST",
|
|
29897
|
+
authType: "AK",
|
|
29898
|
+
style: "RPC",
|
|
29899
|
+
reqBodyType: "formData",
|
|
29900
|
+
bodyType: "json",
|
|
29901
|
+
});
|
|
29902
|
+
return $dara.cast<$_model.OpenSnapshotServiceResponse>(await this.callApi(params, req, runtime), new $_model.OpenSnapshotServiceResponse({}));
|
|
29903
|
+
}
|
|
29904
|
+
|
|
29905
|
+
/**
|
|
29906
|
+
* Activate the snapshot service.
|
|
29907
|
+
*
|
|
29908
|
+
* @param request - OpenSnapshotServiceRequest
|
|
29909
|
+
* @returns OpenSnapshotServiceResponse
|
|
29910
|
+
*/
|
|
29911
|
+
async openSnapshotService(request: $_model.OpenSnapshotServiceRequest): Promise<$_model.OpenSnapshotServiceResponse> {
|
|
29912
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
29913
|
+
return await this.openSnapshotServiceWithOptions(request, runtime);
|
|
29914
|
+
}
|
|
29915
|
+
|
|
29906
29916
|
/**
|
|
29907
29917
|
* Purchases an elasticity assurance that is not in the Active state and for which resources are prepared.
|
|
29908
29918
|
*
|
|
@@ -30907,7 +30917,7 @@ export default class Client extends OpenApi {
|
|
|
30907
30917
|
}
|
|
30908
30918
|
|
|
30909
30919
|
/**
|
|
30910
|
-
* Releases a pay-as-you-go
|
|
30920
|
+
* Releases a pay-as-you-go Dedicated Host or an expired subscription Dedicated Host.
|
|
30911
30921
|
*
|
|
30912
30922
|
* @remarks
|
|
30913
30923
|
* ## Usage notes
|
|
@@ -30966,7 +30976,7 @@ export default class Client extends OpenApi {
|
|
|
30966
30976
|
}
|
|
30967
30977
|
|
|
30968
30978
|
/**
|
|
30969
|
-
* Releases a pay-as-you-go
|
|
30979
|
+
* Releases a pay-as-you-go Dedicated Host or an expired subscription Dedicated Host.
|
|
30970
30980
|
*
|
|
30971
30981
|
* @remarks
|
|
30972
30982
|
* ## Usage notes
|
|
@@ -31610,13 +31620,11 @@ export default class Client extends OpenApi {
|
|
|
31610
31620
|
* * The category of the system disk cannot be changed.
|
|
31611
31621
|
* * Make sure that no unpaid orders are associated with the instance.
|
|
31612
31622
|
* * The instance must be in the `Stopped` state.
|
|
31613
|
-
*
|
|
31614
|
-
* **Note
|
|
31615
|
-
* *
|
|
31616
|
-
* *
|
|
31617
|
-
* After
|
|
31618
|
-
* * Call the [DescribeDisks](https://help.aliyun.com/document_detail/25514.html) operation to query the status of the new system disk. If the new system disk is in the In Use state, the system disk is replaced.
|
|
31619
|
-
* * Call the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) operation to query the status of the instance whose system disk is replaced. If the `OperationLocks` parameter is empty, the system disk is replaced.
|
|
31623
|
+
* **
|
|
31624
|
+
* **Note:** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and economical mode by default is enabled, you can enable standard mode when stopping the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](https://help.aliyun.com/document_detail/25501.html).
|
|
31625
|
+
* * You can use the parameter `SystemDisk.Size` to re-specify the size of the system disk (cannot be less than the original system disk capacity).
|
|
31626
|
+
* * If the `OperationLocks` parameter value of the instance contains `"LockReason": "security"`, then the ECS instance is locked for security. You cannot replace the system disk. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
31627
|
+
* After the system disk is replaced, you can query the status of the instance to check whether the replacement is successful by using the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) interface. If the `OperationLocks` parameter is empty, the system disk is replaced.
|
|
31620
31628
|
*
|
|
31621
31629
|
* @param request - ReplaceSystemDiskRequest
|
|
31622
31630
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -31732,13 +31740,11 @@ export default class Client extends OpenApi {
|
|
|
31732
31740
|
* * The category of the system disk cannot be changed.
|
|
31733
31741
|
* * Make sure that no unpaid orders are associated with the instance.
|
|
31734
31742
|
* * The instance must be in the `Stopped` state.
|
|
31735
|
-
*
|
|
31736
|
-
* **Note
|
|
31737
|
-
* *
|
|
31738
|
-
* *
|
|
31739
|
-
* After
|
|
31740
|
-
* * Call the [DescribeDisks](https://help.aliyun.com/document_detail/25514.html) operation to query the status of the new system disk. If the new system disk is in the In Use state, the system disk is replaced.
|
|
31741
|
-
* * Call the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) operation to query the status of the instance whose system disk is replaced. If the `OperationLocks` parameter is empty, the system disk is replaced.
|
|
31743
|
+
* **
|
|
31744
|
+
* **Note:** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and economical mode by default is enabled, you can enable standard mode when stopping the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](https://help.aliyun.com/document_detail/25501.html).
|
|
31745
|
+
* * You can use the parameter `SystemDisk.Size` to re-specify the size of the system disk (cannot be less than the original system disk capacity).
|
|
31746
|
+
* * If the `OperationLocks` parameter value of the instance contains `"LockReason": "security"`, then the ECS instance is locked for security. You cannot replace the system disk. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
31747
|
+
* After the system disk is replaced, you can query the status of the instance to check whether the replacement is successful by using the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) interface. If the `OperationLocks` parameter is empty, the system disk is replaced.
|
|
31742
31748
|
*
|
|
31743
31749
|
* @param request - ReplaceSystemDiskRequest
|
|
31744
31750
|
* @returns ReplaceSystemDiskResponse
|
|
@@ -32058,8 +32064,8 @@ export default class Client extends OpenApi {
|
|
|
32058
32064
|
* Resizes a system disk or a data disk.
|
|
32059
32065
|
*
|
|
32060
32066
|
* @remarks
|
|
32061
|
-
* >
|
|
32062
|
-
* *
|
|
32067
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. If the format is MBR, you cannot resize the file to more than 2TiB. Otherwise, data loss may occur. If you want to resize an MBR partition, we recommend creating and mounting a data disk in the GPT partition format, and then copy the existing data to the new data disk. For more information, see [Resize a disk to extend the disk capacity](https://help.aliyun.com/document_detail/44986.html).
|
|
32068
|
+
* * The disk types that can be resized include basic disks (`cloud` ), ultra disks (`cloud_efficiency` ), SSDs (`cloud_ssd` ), Enterprise SSDs (ESSDs)(`cloud_essd` ), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), premium elastic ephemeral disks (elastic_ephemeral_disk_premium), and Regional ESSDs (cloud_regional_disk_auto).
|
|
32063
32069
|
* * You cannot resize a cloud disk when a snapshot is being created for the disk. Wait until the snapshot is created before you resize the cloud disk.
|
|
32064
32070
|
* * You cannot call this operation to extend partitions or file systems. You must manually allocate partitions and file systems after the resize cloud disk capacity. For more information, see [Extend partitions and file systems (Linux)](~~2949817#bb3b1f02e51pj~~) and [Extend partitions and file systems (windows)](~~2932233#a9f9b78f3fujb~~).
|
|
32065
32071
|
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the ECS instances to which the disk is attached meet the following requirements:
|
|
@@ -32130,8 +32136,8 @@ export default class Client extends OpenApi {
|
|
|
32130
32136
|
* Resizes a system disk or a data disk.
|
|
32131
32137
|
*
|
|
32132
32138
|
* @remarks
|
|
32133
|
-
* >
|
|
32134
|
-
* *
|
|
32139
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. If the format is MBR, you cannot resize the file to more than 2TiB. Otherwise, data loss may occur. If you want to resize an MBR partition, we recommend creating and mounting a data disk in the GPT partition format, and then copy the existing data to the new data disk. For more information, see [Resize a disk to extend the disk capacity](https://help.aliyun.com/document_detail/44986.html).
|
|
32140
|
+
* * The disk types that can be resized include basic disks (`cloud` ), ultra disks (`cloud_efficiency` ), SSDs (`cloud_ssd` ), Enterprise SSDs (ESSDs)(`cloud_essd` ), ESSD AutoPL disks (cloud_auto), standard elastic ephemeral disks (elastic_ephemeral_disk_standard), premium elastic ephemeral disks (elastic_ephemeral_disk_premium), and Regional ESSDs (cloud_regional_disk_auto).
|
|
32135
32141
|
* * You cannot resize a cloud disk when a snapshot is being created for the disk. Wait until the snapshot is created before you resize the cloud disk.
|
|
32136
32142
|
* * You cannot call this operation to extend partitions or file systems. You must manually allocate partitions and file systems after the resize cloud disk capacity. For more information, see [Extend partitions and file systems (Linux)](~~2949817#bb3b1f02e51pj~~) and [Extend partitions and file systems (windows)](~~2932233#a9f9b78f3fujb~~).
|
|
32137
32143
|
* * If the multi-attach feature is enabled for a cloud disk, you can resize the disk online or offline. Make sure that the ECS instances to which the disk is attached meet the following requirements:
|
|
@@ -4,17 +4,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class AcceptInquiredSystemEventRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* > This parameter is in invitational preview and is unavailable to general users.
|
|
9
|
-
*
|
|
10
7
|
* @example
|
|
11
8
|
* hide
|
|
12
9
|
*/
|
|
13
10
|
choice?: string;
|
|
14
11
|
/**
|
|
15
12
|
* @remarks
|
|
16
|
-
* The ID of the system event.
|
|
17
|
-
*
|
|
18
13
|
* This parameter is required.
|
|
19
14
|
*
|
|
20
15
|
* @example
|
|
@@ -25,8 +20,6 @@ export class AcceptInquiredSystemEventRequest extends $dara.Model {
|
|
|
25
20
|
ownerId?: number;
|
|
26
21
|
/**
|
|
27
22
|
* @remarks
|
|
28
|
-
* The region ID of the system event. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
29
|
-
*
|
|
30
23
|
* This parameter is required.
|
|
31
24
|
*
|
|
32
25
|
* @example
|