@alicloud/ecs20140526 7.2.4 → 7.4.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 +163 -166
- package/dist/client.js +279 -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/DescribeNetworkInterfaceAttributeResponseBody.d.ts +52 -0
- package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.js +57 -1
- package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +1 -1
- package/dist/models/DescribeSnapshotPackageRequest.d.ts +3 -3
- package/dist/models/DisableNetworkInterfaceQoSrequest.d.ts +33 -0
- package/dist/models/DisableNetworkInterfaceQoSrequest.js +68 -0
- package/dist/models/DisableNetworkInterfaceQoSrequest.js.map +1 -0
- package/dist/models/DisableNetworkInterfaceQoSresponse.d.ts +19 -0
- package/dist/models/DisableNetworkInterfaceQoSresponse.js +69 -0
- package/dist/models/DisableNetworkInterfaceQoSresponse.js.map +1 -0
- package/dist/models/DisableNetworkInterfaceQoSresponseBody.d.ts +18 -0
- package/dist/models/DisableNetworkInterfaceQoSresponseBody.js +58 -0
- package/dist/models/DisableNetworkInterfaceQoSresponseBody.js.map +1 -0
- package/dist/models/EnableNetworkInterfaceQoSrequest.d.ts +71 -0
- package/dist/models/EnableNetworkInterfaceQoSrequest.js +100 -0
- package/dist/models/EnableNetworkInterfaceQoSrequest.js.map +1 -0
- package/dist/models/EnableNetworkInterfaceQoSresponse.d.ts +19 -0
- package/dist/models/EnableNetworkInterfaceQoSresponse.js +69 -0
- package/dist/models/EnableNetworkInterfaceQoSresponse.js.map +1 -0
- package/dist/models/EnableNetworkInterfaceQoSresponseBody.d.ts +18 -0
- package/dist/models/EnableNetworkInterfaceQoSresponseBody.js +58 -0
- package/dist/models/EnableNetworkInterfaceQoSresponseBody.js.map +1 -0
- 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 +14 -0
- package/dist/models/model.js +93 -65
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +304 -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/DescribeNetworkInterfaceAttributeResponseBody.ts +90 -0
- package/src/models/DescribeSnapshotGroupsResponseBody.ts +1 -1
- package/src/models/DescribeSnapshotPackageRequest.ts +3 -3
- package/src/models/DisableNetworkInterfaceQoSrequest.ts +56 -0
- package/src/models/DisableNetworkInterfaceQoSresponse.ts +40 -0
- package/src/models/DisableNetworkInterfaceQoSresponseBody.ts +31 -0
- package/src/models/EnableNetworkInterfaceQoSrequest.ts +117 -0
- package/src/models/EnableNetworkInterfaceQoSresponse.ts +40 -0
- package/src/models/EnableNetworkInterfaceQoSresponseBody.ts +31 -0
- 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 +14 -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
|
|
@@ -21958,6 +21914,72 @@ export default class Client extends OpenApi {
|
|
|
21958
21914
|
return await this.disableDiskEncryptionByDefaultWithOptions(request, runtime);
|
|
21959
21915
|
}
|
|
21960
21916
|
|
|
21917
|
+
/**
|
|
21918
|
+
* 禁用弹性网卡QoS限速设置
|
|
21919
|
+
*
|
|
21920
|
+
* @param request - DisableNetworkInterfaceQoSRequest
|
|
21921
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
21922
|
+
* @returns DisableNetworkInterfaceQoSResponse
|
|
21923
|
+
*/
|
|
21924
|
+
async disableNetworkInterfaceQoSWithOptions(request: $_model.DisableNetworkInterfaceQoSRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableNetworkInterfaceQoSResponse> {
|
|
21925
|
+
request.validate();
|
|
21926
|
+
let query = { };
|
|
21927
|
+
if (!$dara.isNull(request.networkInterfaceId)) {
|
|
21928
|
+
query["NetworkInterfaceId"] = request.networkInterfaceId;
|
|
21929
|
+
}
|
|
21930
|
+
|
|
21931
|
+
if (!$dara.isNull(request.ownerAccount)) {
|
|
21932
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
21933
|
+
}
|
|
21934
|
+
|
|
21935
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
21936
|
+
query["OwnerId"] = request.ownerId;
|
|
21937
|
+
}
|
|
21938
|
+
|
|
21939
|
+
if (!$dara.isNull(request.regionId)) {
|
|
21940
|
+
query["RegionId"] = request.regionId;
|
|
21941
|
+
}
|
|
21942
|
+
|
|
21943
|
+
if (!$dara.isNull(request.regionId)) {
|
|
21944
|
+
query["RegionId"] = request.regionId;
|
|
21945
|
+
}
|
|
21946
|
+
|
|
21947
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
21948
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
21949
|
+
}
|
|
21950
|
+
|
|
21951
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
21952
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
21953
|
+
}
|
|
21954
|
+
|
|
21955
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
21956
|
+
query: OpenApiUtil.query(query),
|
|
21957
|
+
});
|
|
21958
|
+
let params = new $OpenApiUtil.Params({
|
|
21959
|
+
action: "DisableNetworkInterfaceQoS",
|
|
21960
|
+
version: "2014-05-26",
|
|
21961
|
+
protocol: "HTTPS",
|
|
21962
|
+
pathname: "/",
|
|
21963
|
+
method: "POST",
|
|
21964
|
+
authType: "AK",
|
|
21965
|
+
style: "RPC",
|
|
21966
|
+
reqBodyType: "formData",
|
|
21967
|
+
bodyType: "json",
|
|
21968
|
+
});
|
|
21969
|
+
return $dara.cast<$_model.DisableNetworkInterfaceQoSResponse>(await this.callApi(params, req, runtime), new $_model.DisableNetworkInterfaceQoSResponse({}));
|
|
21970
|
+
}
|
|
21971
|
+
|
|
21972
|
+
/**
|
|
21973
|
+
* 禁用弹性网卡QoS限速设置
|
|
21974
|
+
*
|
|
21975
|
+
* @param request - DisableNetworkInterfaceQoSRequest
|
|
21976
|
+
* @returns DisableNetworkInterfaceQoSResponse
|
|
21977
|
+
*/
|
|
21978
|
+
async disableNetworkInterfaceQoS(request: $_model.DisableNetworkInterfaceQoSRequest): Promise<$_model.DisableNetworkInterfaceQoSResponse> {
|
|
21979
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
21980
|
+
return await this.disableNetworkInterfaceQoSWithOptions(request, runtime);
|
|
21981
|
+
}
|
|
21982
|
+
|
|
21961
21983
|
/**
|
|
21962
21984
|
* Enables the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
21963
21985
|
*
|
|
@@ -22044,6 +22066,76 @@ export default class Client extends OpenApi {
|
|
|
22044
22066
|
return await this.enableDiskEncryptionByDefaultWithOptions(request, runtime);
|
|
22045
22067
|
}
|
|
22046
22068
|
|
|
22069
|
+
/**
|
|
22070
|
+
* 启用或修改弹性网卡QoS限速设置
|
|
22071
|
+
*
|
|
22072
|
+
* @param request - EnableNetworkInterfaceQoSRequest
|
|
22073
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
22074
|
+
* @returns EnableNetworkInterfaceQoSResponse
|
|
22075
|
+
*/
|
|
22076
|
+
async enableNetworkInterfaceQoSWithOptions(request: $_model.EnableNetworkInterfaceQoSRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableNetworkInterfaceQoSResponse> {
|
|
22077
|
+
request.validate();
|
|
22078
|
+
let query = { };
|
|
22079
|
+
if (!$dara.isNull(request.networkInterfaceId)) {
|
|
22080
|
+
query["NetworkInterfaceId"] = request.networkInterfaceId;
|
|
22081
|
+
}
|
|
22082
|
+
|
|
22083
|
+
if (!$dara.isNull(request.ownerAccount)) {
|
|
22084
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
22085
|
+
}
|
|
22086
|
+
|
|
22087
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
22088
|
+
query["OwnerId"] = request.ownerId;
|
|
22089
|
+
}
|
|
22090
|
+
|
|
22091
|
+
if (!$dara.isNull(request.qoS)) {
|
|
22092
|
+
query["QoS"] = request.qoS;
|
|
22093
|
+
}
|
|
22094
|
+
|
|
22095
|
+
if (!$dara.isNull(request.regionId)) {
|
|
22096
|
+
query["RegionId"] = request.regionId;
|
|
22097
|
+
}
|
|
22098
|
+
|
|
22099
|
+
if (!$dara.isNull(request.regionId)) {
|
|
22100
|
+
query["RegionId"] = request.regionId;
|
|
22101
|
+
}
|
|
22102
|
+
|
|
22103
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
22104
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
22105
|
+
}
|
|
22106
|
+
|
|
22107
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
22108
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
22109
|
+
}
|
|
22110
|
+
|
|
22111
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
22112
|
+
query: OpenApiUtil.query(query),
|
|
22113
|
+
});
|
|
22114
|
+
let params = new $OpenApiUtil.Params({
|
|
22115
|
+
action: "EnableNetworkInterfaceQoS",
|
|
22116
|
+
version: "2014-05-26",
|
|
22117
|
+
protocol: "HTTPS",
|
|
22118
|
+
pathname: "/",
|
|
22119
|
+
method: "POST",
|
|
22120
|
+
authType: "AK",
|
|
22121
|
+
style: "RPC",
|
|
22122
|
+
reqBodyType: "formData",
|
|
22123
|
+
bodyType: "json",
|
|
22124
|
+
});
|
|
22125
|
+
return $dara.cast<$_model.EnableNetworkInterfaceQoSResponse>(await this.callApi(params, req, runtime), new $_model.EnableNetworkInterfaceQoSResponse({}));
|
|
22126
|
+
}
|
|
22127
|
+
|
|
22128
|
+
/**
|
|
22129
|
+
* 启用或修改弹性网卡QoS限速设置
|
|
22130
|
+
*
|
|
22131
|
+
* @param request - EnableNetworkInterfaceQoSRequest
|
|
22132
|
+
* @returns EnableNetworkInterfaceQoSResponse
|
|
22133
|
+
*/
|
|
22134
|
+
async enableNetworkInterfaceQoS(request: $_model.EnableNetworkInterfaceQoSRequest): Promise<$_model.EnableNetworkInterfaceQoSResponse> {
|
|
22135
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
22136
|
+
return await this.enableNetworkInterfaceQoSWithOptions(request, runtime);
|
|
22137
|
+
}
|
|
22138
|
+
|
|
22047
22139
|
/**
|
|
22048
22140
|
* EnablePhysicalConnection
|
|
22049
22141
|
*
|
|
@@ -26870,7 +26962,7 @@ export default class Client extends OpenApi {
|
|
|
26870
26962
|
}
|
|
26871
26963
|
|
|
26872
26964
|
/**
|
|
26873
|
-
* Modifies
|
|
26965
|
+
* Modifies instance network configurations.
|
|
26874
26966
|
*
|
|
26875
26967
|
* @remarks
|
|
26876
26968
|
* When you call this operation, note that:
|
|
@@ -26923,7 +27015,7 @@ export default class Client extends OpenApi {
|
|
|
26923
27015
|
}
|
|
26924
27016
|
|
|
26925
27017
|
/**
|
|
26926
|
-
* Modifies
|
|
27018
|
+
* Modifies instance network configurations.
|
|
26927
27019
|
*
|
|
26928
27020
|
* @remarks
|
|
26929
27021
|
* When you call this operation, note that:
|
|
@@ -29353,7 +29445,7 @@ export default class Client extends OpenApi {
|
|
|
29353
29445
|
}
|
|
29354
29446
|
|
|
29355
29447
|
/**
|
|
29356
|
-
*
|
|
29448
|
+
* Modifies the name or description of a storage capacity unit (SCU).
|
|
29357
29449
|
*
|
|
29358
29450
|
* @param request - ModifyStorageCapacityUnitAttributeRequest
|
|
29359
29451
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29412,7 +29504,7 @@ export default class Client extends OpenApi {
|
|
|
29412
29504
|
}
|
|
29413
29505
|
|
|
29414
29506
|
/**
|
|
29415
|
-
*
|
|
29507
|
+
* Modifies the name or description of a storage capacity unit (SCU).
|
|
29416
29508
|
*
|
|
29417
29509
|
* @param request - ModifyStorageCapacityUnitAttributeRequest
|
|
29418
29510
|
* @returns ModifyStorageCapacityUnitAttributeResponse
|
|
@@ -29903,6 +29995,60 @@ export default class Client extends OpenApi {
|
|
|
29903
29995
|
return await this.modifyVpcAttributeWithOptions(request, runtime);
|
|
29904
29996
|
}
|
|
29905
29997
|
|
|
29998
|
+
/**
|
|
29999
|
+
* Activate the snapshot service.
|
|
30000
|
+
*
|
|
30001
|
+
* @param request - OpenSnapshotServiceRequest
|
|
30002
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
30003
|
+
* @returns OpenSnapshotServiceResponse
|
|
30004
|
+
*/
|
|
30005
|
+
async openSnapshotServiceWithOptions(request: $_model.OpenSnapshotServiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.OpenSnapshotServiceResponse> {
|
|
30006
|
+
request.validate();
|
|
30007
|
+
let query = { };
|
|
30008
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
30009
|
+
query["OwnerId"] = request.ownerId;
|
|
30010
|
+
}
|
|
30011
|
+
|
|
30012
|
+
if (!$dara.isNull(request.regionId)) {
|
|
30013
|
+
query["RegionId"] = request.regionId;
|
|
30014
|
+
}
|
|
30015
|
+
|
|
30016
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
30017
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
30018
|
+
}
|
|
30019
|
+
|
|
30020
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
30021
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
30022
|
+
}
|
|
30023
|
+
|
|
30024
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
30025
|
+
query: OpenApiUtil.query(query),
|
|
30026
|
+
});
|
|
30027
|
+
let params = new $OpenApiUtil.Params({
|
|
30028
|
+
action: "OpenSnapshotService",
|
|
30029
|
+
version: "2014-05-26",
|
|
30030
|
+
protocol: "HTTPS",
|
|
30031
|
+
pathname: "/",
|
|
30032
|
+
method: "POST",
|
|
30033
|
+
authType: "AK",
|
|
30034
|
+
style: "RPC",
|
|
30035
|
+
reqBodyType: "formData",
|
|
30036
|
+
bodyType: "json",
|
|
30037
|
+
});
|
|
30038
|
+
return $dara.cast<$_model.OpenSnapshotServiceResponse>(await this.callApi(params, req, runtime), new $_model.OpenSnapshotServiceResponse({}));
|
|
30039
|
+
}
|
|
30040
|
+
|
|
30041
|
+
/**
|
|
30042
|
+
* Activate the snapshot service.
|
|
30043
|
+
*
|
|
30044
|
+
* @param request - OpenSnapshotServiceRequest
|
|
30045
|
+
* @returns OpenSnapshotServiceResponse
|
|
30046
|
+
*/
|
|
30047
|
+
async openSnapshotService(request: $_model.OpenSnapshotServiceRequest): Promise<$_model.OpenSnapshotServiceResponse> {
|
|
30048
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
30049
|
+
return await this.openSnapshotServiceWithOptions(request, runtime);
|
|
30050
|
+
}
|
|
30051
|
+
|
|
29906
30052
|
/**
|
|
29907
30053
|
* Purchases an elasticity assurance that is not in the Active state and for which resources are prepared.
|
|
29908
30054
|
*
|
|
@@ -30907,7 +31053,7 @@ export default class Client extends OpenApi {
|
|
|
30907
31053
|
}
|
|
30908
31054
|
|
|
30909
31055
|
/**
|
|
30910
|
-
* Releases a pay-as-you-go
|
|
31056
|
+
* Releases a pay-as-you-go Dedicated Host or an expired subscription Dedicated Host.
|
|
30911
31057
|
*
|
|
30912
31058
|
* @remarks
|
|
30913
31059
|
* ## Usage notes
|
|
@@ -30966,7 +31112,7 @@ export default class Client extends OpenApi {
|
|
|
30966
31112
|
}
|
|
30967
31113
|
|
|
30968
31114
|
/**
|
|
30969
|
-
* Releases a pay-as-you-go
|
|
31115
|
+
* Releases a pay-as-you-go Dedicated Host or an expired subscription Dedicated Host.
|
|
30970
31116
|
*
|
|
30971
31117
|
* @remarks
|
|
30972
31118
|
* ## Usage notes
|
|
@@ -31610,13 +31756,11 @@ export default class Client extends OpenApi {
|
|
|
31610
31756
|
* * The category of the system disk cannot be changed.
|
|
31611
31757
|
* * Make sure that no unpaid orders are associated with the instance.
|
|
31612
31758
|
* * 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.
|
|
31759
|
+
* **
|
|
31760
|
+
* **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).
|
|
31761
|
+
* * 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).
|
|
31762
|
+
* * 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).
|
|
31763
|
+
* 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
31764
|
*
|
|
31621
31765
|
* @param request - ReplaceSystemDiskRequest
|
|
31622
31766
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -31732,13 +31876,11 @@ export default class Client extends OpenApi {
|
|
|
31732
31876
|
* * The category of the system disk cannot be changed.
|
|
31733
31877
|
* * Make sure that no unpaid orders are associated with the instance.
|
|
31734
31878
|
* * 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.
|
|
31879
|
+
* **
|
|
31880
|
+
* **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).
|
|
31881
|
+
* * 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).
|
|
31882
|
+
* * 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).
|
|
31883
|
+
* 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
31884
|
*
|
|
31743
31885
|
* @param request - ReplaceSystemDiskRequest
|
|
31744
31886
|
* @returns ReplaceSystemDiskResponse
|
|
@@ -32058,8 +32200,8 @@ export default class Client extends OpenApi {
|
|
|
32058
32200
|
* Resizes a system disk or a data disk.
|
|
32059
32201
|
*
|
|
32060
32202
|
* @remarks
|
|
32061
|
-
* >
|
|
32062
|
-
* *
|
|
32203
|
+
* > 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).
|
|
32204
|
+
* * 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
32205
|
* * 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
32206
|
* * 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
32207
|
* * 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 +32272,8 @@ export default class Client extends OpenApi {
|
|
|
32130
32272
|
* Resizes a system disk or a data disk.
|
|
32131
32273
|
*
|
|
32132
32274
|
* @remarks
|
|
32133
|
-
* >
|
|
32134
|
-
* *
|
|
32275
|
+
* > 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).
|
|
32276
|
+
* * 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
32277
|
* * 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
32278
|
* * 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
32279
|
* * 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:
|