@alicloud/ecs20140526 7.8.5 → 7.8.6
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 +874 -864
- package/dist/client.js +908 -860
- package/dist/client.js.map +1 -1
- package/dist/models/ActivateRouterInterfaceRequest.d.ts +0 -6
- package/dist/models/ActivateRouterInterfaceRequest.js.map +1 -1
- package/dist/models/ActivateRouterInterfaceResponseBody.d.ts +0 -4
- package/dist/models/ActivateRouterInterfaceResponseBody.js.map +1 -1
- package/dist/models/AddBandwidthPackageIpsRequest.d.ts +0 -10
- package/dist/models/AddBandwidthPackageIpsRequest.js.map +1 -1
- package/dist/models/AddBandwidthPackageIpsResponseBody.d.ts +0 -4
- package/dist/models/AddBandwidthPackageIpsResponseBody.js.map +1 -1
- package/dist/models/AddTagsRequest.d.ts +19 -32
- package/dist/models/AddTagsRequest.js.map +1 -1
- package/dist/models/AllocateEipAddressRequest.d.ts +0 -28
- package/dist/models/AllocateEipAddressRequest.js.map +1 -1
- package/dist/models/AllocateEipAddressResponseBody.d.ts +0 -12
- package/dist/models/AllocateEipAddressResponseBody.js.map +1 -1
- package/dist/models/AssignIpv6addressesRequest.d.ts +9 -11
- package/dist/models/AssignIpv6addressesRequest.js.map +1 -1
- package/dist/models/AssignIpv6addressesResponseBody.d.ts +1 -1
- package/dist/models/AssociateHaVipRequest.d.ts +0 -10
- package/dist/models/AssociateHaVipRequest.js.map +1 -1
- package/dist/models/AssociateHaVipResponseBody.d.ts +0 -4
- package/dist/models/AssociateHaVipResponseBody.js.map +1 -1
- package/dist/models/AttachKeyPairRequest.d.ts +2 -2
- package/dist/models/AttachKeyPairResponseBody.d.ts +3 -3
- package/dist/models/CancelCopyImageRequest.d.ts +1 -1
- package/dist/models/CancelPhysicalConnectionRequest.d.ts +0 -12
- package/dist/models/CancelPhysicalConnectionRequest.js.map +1 -1
- package/dist/models/CancelPhysicalConnectionResponseBody.d.ts +0 -4
- package/dist/models/CancelPhysicalConnectionResponseBody.js.map +1 -1
- package/dist/models/CancelSimulatedSystemEventsRequest.d.ts +2 -2
- package/dist/models/CreateDiskRequest.d.ts +93 -125
- package/dist/models/CreateDiskRequest.js.map +1 -1
- package/dist/models/CreateDiskResponseBody.d.ts +4 -4
- package/dist/models/CreateHaVipRequest.d.ts +0 -16
- package/dist/models/CreateHaVipRequest.js.map +1 -1
- package/dist/models/CreateHaVipResponseBody.d.ts +0 -8
- package/dist/models/CreateHaVipResponseBody.js.map +1 -1
- package/dist/models/CreateImageComponentRequest.d.ts +14 -19
- package/dist/models/CreateImageComponentRequest.js.map +1 -1
- package/dist/models/CreateKeyPairRequest.d.ts +6 -6
- package/dist/models/CreateKeyPairResponseBody.d.ts +3 -3
- package/dist/models/CreateNetworkInterfacePermissionRequest.d.ts +5 -5
- package/dist/models/CreateNetworkInterfacePermissionResponseBody.d.ts +9 -12
- package/dist/models/CreateNetworkInterfacePermissionResponseBody.js.map +1 -1
- package/dist/models/CreatePlanMaintenanceWindowRequest.d.ts +23 -29
- package/dist/models/CreatePlanMaintenanceWindowRequest.js.map +1 -1
- package/dist/models/CreatePlanMaintenanceWindowResponseBody.d.ts +1 -1
- package/dist/models/CreatePlanMaintenanceWindowShrinkRequest.d.ts +8 -9
- package/dist/models/CreatePlanMaintenanceWindowShrinkRequest.js.map +1 -1
- package/dist/models/CreateRouterInterfaceRequest.d.ts +0 -103
- package/dist/models/CreateRouterInterfaceRequest.js.map +1 -1
- package/dist/models/CreateRouterInterfaceResponseBody.d.ts +0 -12
- package/dist/models/CreateRouterInterfaceResponseBody.js.map +1 -1
- package/dist/models/CreateSimulatedSystemEventsRequest.d.ts +4 -10
- package/dist/models/CreateSimulatedSystemEventsRequest.js.map +1 -1
- package/dist/models/DeleteDeploymentSetRequest.d.ts +2 -2
- package/dist/models/DeleteDeploymentSetResponseBody.d.ts +1 -1
- package/dist/models/DeleteDiskResponseBody.d.ts +1 -1
- package/dist/models/DeleteForwardEntryRequest.d.ts +0 -9
- package/dist/models/DeleteForwardEntryRequest.js.map +1 -1
- package/dist/models/DeleteForwardEntryResponseBody.d.ts +0 -4
- package/dist/models/DeleteForwardEntryResponseBody.js.map +1 -1
- package/dist/models/DeleteHaVipRequest.d.ts +0 -8
- package/dist/models/DeleteHaVipRequest.js.map +1 -1
- package/dist/models/DeleteHaVipResponseBody.d.ts +0 -4
- package/dist/models/DeleteHaVipResponseBody.js.map +1 -1
- package/dist/models/DeleteHpcClusterRequest.d.ts +2 -2
- package/dist/models/DeleteImageComponentRequest.d.ts +2 -2
- package/dist/models/DeleteImageComponentResponseBody.d.ts +1 -1
- package/dist/models/DeleteImagePipelineRequest.d.ts +1 -1
- package/dist/models/DeleteImageRequest.d.ts +5 -6
- package/dist/models/DeleteImageRequest.js.map +1 -1
- package/dist/models/DeleteInstanceRequest.d.ts +15 -25
- package/dist/models/DeleteInstanceRequest.js.map +1 -1
- package/dist/models/DeleteInstanceResponseBody.d.ts +1 -1
- package/dist/models/DeleteInstancesRequest.d.ts +16 -26
- package/dist/models/DeleteInstancesRequest.js.map +1 -1
- package/dist/models/DeleteKeyPairsRequest.d.ts +3 -3
- package/dist/models/DeleteKeyPairsResponseBody.d.ts +1 -1
- package/dist/models/DeleteLaunchTemplateRequest.d.ts +3 -3
- package/dist/models/DeleteLaunchTemplateResponseBody.d.ts +1 -1
- package/dist/models/DeleteLaunchTemplateVersionRequest.d.ts +3 -3
- package/dist/models/DeleteNetworkInterfacePermissionRequest.d.ts +0 -8
- package/dist/models/DeleteNetworkInterfacePermissionRequest.js.map +1 -1
- package/dist/models/DeleteNetworkInterfacePermissionResponseBody.d.ts +0 -4
- package/dist/models/DeleteNetworkInterfacePermissionResponseBody.js.map +1 -1
- package/dist/models/DeletePrefixListRequest.d.ts +1 -1
- package/dist/models/DeleteRouterInterfaceRequest.d.ts +0 -14
- package/dist/models/DeleteRouterInterfaceRequest.js.map +1 -1
- package/dist/models/DeleteRouterInterfaceResponseBody.d.ts +0 -4
- package/dist/models/DeleteRouterInterfaceResponseBody.js.map +1 -1
- package/dist/models/DeleteVirtualBorderRouterRequest.d.ts +0 -12
- package/dist/models/DeleteVirtualBorderRouterRequest.js.map +1 -1
- package/dist/models/DeleteVirtualBorderRouterResponseBody.d.ts +0 -4
- package/dist/models/DeleteVirtualBorderRouterResponseBody.js.map +1 -1
- package/dist/models/DeleteVswitchRequest.d.ts +0 -6
- package/dist/models/DeleteVswitchRequest.js.map +1 -1
- package/dist/models/DeleteVswitchResponseBody.d.ts +0 -4
- package/dist/models/DeleteVswitchResponseBody.js.map +1 -1
- package/dist/models/DescribeAccessPointsRequest.d.ts +0 -35
- package/dist/models/DescribeAccessPointsRequest.js.map +1 -1
- package/dist/models/DescribeAccessPointsResponseBody.d.ts +0 -20
- package/dist/models/DescribeAccessPointsResponseBody.js.map +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.d.ts +6 -10
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js.map +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.d.ts +1 -1
- package/dist/models/DescribeBandwidthLimitationRequest.d.ts +10 -15
- package/dist/models/DescribeBandwidthLimitationRequest.js.map +1 -1
- package/dist/models/DescribeDiskMonitorDataRequest.d.ts +9 -11
- package/dist/models/DescribeDiskMonitorDataRequest.js.map +1 -1
- package/dist/models/DescribeDiskMonitorDataResponseBody.d.ts +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +73 -107
- package/dist/models/DescribeDisksRequest.js.map +1 -1
- package/dist/models/DescribeDisksResponseBody.d.ts +23 -5
- package/dist/models/DescribeDisksResponseBody.js +27 -1
- package/dist/models/DescribeDisksResponseBody.js.map +1 -1
- package/dist/models/DescribeEipMonitorDataRequest.d.ts +0 -14
- package/dist/models/DescribeEipMonitorDataRequest.js.map +1 -1
- package/dist/models/DescribeEipMonitorDataResponseBody.d.ts +0 -8
- package/dist/models/DescribeEipMonitorDataResponseBody.js.map +1 -1
- package/dist/models/DescribeHpcClustersRequest.d.ts +8 -9
- package/dist/models/DescribeHpcClustersRequest.js.map +1 -1
- package/dist/models/DescribeHpcClustersResponseBody.d.ts +1 -1
- package/dist/models/DescribeImageComponentsRequest.d.ts +19 -25
- package/dist/models/DescribeImageComponentsRequest.js.map +1 -1
- package/dist/models/DescribeImageComponentsResponseBody.d.ts +2 -2
- package/dist/models/DescribeImageSharePermissionRequest.d.ts +5 -5
- package/dist/models/DescribeImageSharePermissionResponseBody.d.ts +3 -3
- package/dist/models/DescribeImageSupportInstanceTypesRequest.d.ts +12 -8
- package/dist/models/DescribeImageSupportInstanceTypesRequest.js.map +1 -1
- package/dist/models/DescribeImageSupportInstanceTypesResponseBody.d.ts +3 -25
- package/dist/models/DescribeImageSupportInstanceTypesResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceTypesRequest.d.ts +93 -115
- package/dist/models/DescribeInstanceTypesRequest.js.map +1 -1
- package/dist/models/DescribeInstanceTypesResponseBody.d.ts +1 -5
- package/dist/models/DescribeInstanceTypesResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceVncUrlRequest.d.ts +2 -2
- package/dist/models/DescribeInstanceVncUrlResponseBody.d.ts +3 -3
- package/dist/models/DescribeKeyPairsRequest.d.ts +16 -18
- package/dist/models/DescribeKeyPairsRequest.js.map +1 -1
- package/dist/models/DescribeKeyPairsResponseBody.d.ts +3 -3
- package/dist/models/DescribeLaunchTemplatesRequest.d.ts +16 -17
- package/dist/models/DescribeLaunchTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeLaunchTemplatesResponseBody.d.ts +1 -1
- package/dist/models/DescribeNetworkInterfacePermissionsRequest.d.ts +8 -8
- package/dist/models/DescribeNetworkInterfacePermissionsResponseBody.d.ts +3 -7
- package/dist/models/DescribeNetworkInterfacePermissionsResponseBody.js.map +1 -1
- package/dist/models/DescribeNewProjectEipMonitorDataRequest.d.ts +0 -14
- package/dist/models/DescribeNewProjectEipMonitorDataRequest.js.map +1 -1
- package/dist/models/DescribeNewProjectEipMonitorDataResponseBody.d.ts +0 -8
- package/dist/models/DescribeNewProjectEipMonitorDataResponseBody.js.map +1 -1
- package/dist/models/DescribePhysicalConnectionsRequest.d.ts +0 -48
- package/dist/models/DescribePhysicalConnectionsRequest.js.map +1 -1
- package/dist/models/DescribePhysicalConnectionsResponseBody.d.ts +0 -20
- package/dist/models/DescribePhysicalConnectionsResponseBody.js.map +1 -1
- package/dist/models/DescribePlanMaintenanceWindowsRequest.d.ts +10 -10
- package/dist/models/DescribePlanMaintenanceWindowsResponseBody.d.ts +23 -21
- package/dist/models/DescribePlanMaintenanceWindowsResponseBody.js.map +1 -1
- package/dist/models/DescribePlanMaintenanceWindowsShrinkRequest.d.ts +8 -8
- package/dist/models/DescribeRenewalPriceRequest.d.ts +16 -18
- package/dist/models/DescribeRenewalPriceRequest.js.map +1 -1
- package/dist/models/DescribeRenewalPriceResponseBody.d.ts +9 -9
- package/dist/models/DescribeRouteTablesRequest.d.ts +0 -35
- package/dist/models/DescribeRouteTablesRequest.js.map +1 -1
- package/dist/models/DescribeRouteTablesResponseBody.d.ts +0 -20
- package/dist/models/DescribeRouteTablesResponseBody.js.map +1 -1
- package/dist/models/DescribeSecurityGroupReferencesRequest.d.ts +2 -2
- package/dist/models/DescribeSecurityGroupReferencesResponseBody.d.ts +1 -1
- package/dist/models/DescribeSecurityGroupsRequest.d.ts +25 -31
- package/dist/models/DescribeSecurityGroupsRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupsResponseBody.d.ts +5 -5
- package/dist/models/DescribeSnapshotLinksRequest.d.ts +10 -11
- package/dist/models/DescribeSnapshotLinksRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +4 -5
- package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
- package/dist/models/DescribeTagsRequest.d.ts +22 -35
- package/dist/models/DescribeTagsRequest.js.map +1 -1
- package/dist/models/DescribeTagsResponseBody.d.ts +2 -2
- package/dist/models/DescribeTaskAttributeRequest.d.ts +2 -2
- package/dist/models/DescribeTaskAttributeResponseBody.d.ts +9 -10
- package/dist/models/DescribeTaskAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeVirtualBorderRoutersForPhysicalConnectionRequest.d.ts +0 -24
- package/dist/models/DescribeVirtualBorderRoutersForPhysicalConnectionRequest.js.map +1 -1
- package/dist/models/DescribeVirtualBorderRoutersForPhysicalConnectionResponseBody.d.ts +0 -20
- package/dist/models/DescribeVirtualBorderRoutersForPhysicalConnectionResponseBody.js.map +1 -1
- package/dist/models/DescribeVirtualBorderRoutersRequest.d.ts +0 -22
- package/dist/models/DescribeVirtualBorderRoutersRequest.js.map +1 -1
- package/dist/models/DescribeVirtualBorderRoutersResponseBody.d.ts +0 -20
- package/dist/models/DescribeVirtualBorderRoutersResponseBody.js.map +1 -1
- package/dist/models/DetachKeyPairRequest.d.ts +2 -2
- package/dist/models/DetachKeyPairResponseBody.d.ts +3 -3
- package/dist/models/EnablePhysicalConnectionRequest.d.ts +0 -14
- package/dist/models/EnablePhysicalConnectionRequest.js.map +1 -1
- package/dist/models/EnablePhysicalConnectionResponseBody.d.ts +0 -4
- package/dist/models/EnablePhysicalConnectionResponseBody.js.map +1 -1
- package/dist/models/EndTerminalSessionRequest.d.ts +1 -1
- package/dist/models/EndTerminalSessionResponseBody.d.ts +1 -1
- package/dist/models/GetInstanceConsoleOutputRequest.d.ts +4 -5
- package/dist/models/GetInstanceConsoleOutputRequest.js.map +1 -1
- package/dist/models/GetInstanceConsoleOutputResponseBody.d.ts +2 -2
- package/dist/models/GetInstanceScreenshotRequest.d.ts +2 -2
- package/dist/models/GetInstanceScreenshotResponseBody.d.ts +1 -1
- package/dist/models/ImportImageRequest.d.ts +58 -98
- package/dist/models/ImportImageRequest.js.map +1 -1
- package/dist/models/ImportImageResponseBody.d.ts +1 -1
- package/dist/models/ImportKeyPairRequest.d.ts +5 -5
- package/dist/models/ImportKeyPairResponseBody.d.ts +1 -1
- package/dist/models/JoinResourceGroupRequest.d.ts +18 -30
- package/dist/models/JoinResourceGroupRequest.js.map +1 -1
- package/dist/models/ModifyAutoSnapshotPolicyExRequest.d.ts +24 -30
- package/dist/models/ModifyAutoSnapshotPolicyExRequest.js.map +1 -1
- package/dist/models/ModifyAutoSnapshotPolicyExResponseBody.d.ts +1 -1
- package/dist/models/ModifyDiskAttributeRequest.d.ts +24 -29
- package/dist/models/ModifyDiskAttributeRequest.js.map +1 -1
- package/dist/models/ModifyDiskAttributeResponseBody.d.ts +1 -1
- package/dist/models/ModifyForwardEntryRequest.d.ts +0 -26
- package/dist/models/ModifyForwardEntryRequest.js.map +1 -1
- package/dist/models/ModifyForwardEntryResponseBody.d.ts +0 -4
- package/dist/models/ModifyForwardEntryResponseBody.js.map +1 -1
- package/dist/models/ModifyHaVipAttributeRequest.d.ts +0 -12
- package/dist/models/ModifyHaVipAttributeRequest.js.map +1 -1
- package/dist/models/ModifyHaVipAttributeResponseBody.d.ts +0 -4
- package/dist/models/ModifyHaVipAttributeResponseBody.js.map +1 -1
- package/dist/models/ModifyHpcClusterAttributeRequest.d.ts +6 -6
- package/dist/models/ModifyImageShareGroupPermissionRequest.d.ts +0 -4
- package/dist/models/ModifyImageShareGroupPermissionRequest.js.map +1 -1
- package/dist/models/ModifyImageShareGroupPermissionResponseBody.d.ts +0 -4
- package/dist/models/ModifyImageShareGroupPermissionResponseBody.js.map +1 -1
- package/dist/models/ModifyInstanceAutoRenewAttributeRequest.d.ts +39 -14
- package/dist/models/ModifyInstanceAutoRenewAttributeRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkSpecRequest.d.ts +33 -29
- package/dist/models/ModifyInstanceNetworkSpecRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkSpecResponseBody.d.ts +1 -1
- package/dist/models/ModifyInstanceSpecRequest.d.ts +31 -37
- package/dist/models/ModifyInstanceSpecRequest.js.map +1 -1
- package/dist/models/ModifyLaunchTemplateDefaultVersionRequest.d.ts +3 -3
- package/dist/models/ModifyLaunchTemplateDefaultVersionResponseBody.d.ts +1 -1
- package/dist/models/ModifyPlanMaintenanceWindowRequest.d.ts +22 -26
- package/dist/models/ModifyPlanMaintenanceWindowRequest.js.map +1 -1
- package/dist/models/ModifyPlanMaintenanceWindowResponseBody.d.ts +1 -1
- package/dist/models/ModifyPlanMaintenanceWindowShrinkRequest.d.ts +7 -7
- package/dist/models/ModifySecurityGroupAttributeRequest.d.ts +5 -5
- package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +50 -73
- package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupPolicyRequest.d.ts +6 -7
- package/dist/models/ModifySecurityGroupPolicyRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupRuleRequest.d.ts +51 -76
- package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/ReActivateInstancesRequest.d.ts +2 -2
- package/dist/models/ReInitDiskRequest.d.ts +12 -13
- package/dist/models/ReInitDiskRequest.js.map +1 -1
- package/dist/models/ReInitDiskResponseBody.d.ts +1 -1
- package/dist/models/RedeployInstanceRequest.d.ts +2 -2
- package/dist/models/RedeployInstanceResponseBody.d.ts +1 -1
- package/dist/models/ReleaseEipAddressRequest.d.ts +0 -6
- package/dist/models/ReleaseEipAddressRequest.js.map +1 -1
- package/dist/models/ReleaseEipAddressResponseBody.d.ts +0 -4
- package/dist/models/ReleaseEipAddressResponseBody.js.map +1 -1
- package/dist/models/RemoveTagsRequest.d.ts +21 -34
- package/dist/models/RemoveTagsRequest.js.map +1 -1
- package/dist/models/RevokeSecurityGroupEgressRequest.d.ts +64 -84
- package/dist/models/RevokeSecurityGroupEgressRequest.js.map +1 -1
- package/dist/models/RevokeSecurityGroupEgressResponseBody.d.ts +1 -1
- package/dist/models/TerminatePhysicalConnectionRequest.d.ts +0 -13
- package/dist/models/TerminatePhysicalConnectionRequest.js.map +1 -1
- package/dist/models/TerminatePhysicalConnectionResponseBody.d.ts +0 -4
- package/dist/models/TerminatePhysicalConnectionResponseBody.js.map +1 -1
- package/dist/models/UnassignIpv6addressesRequest.d.ts +3 -3
- package/dist/models/UnassignIpv6addressesResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +50 -48
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +910 -862
- package/src/models/ActivateRouterInterfaceRequest.ts +0 -6
- package/src/models/ActivateRouterInterfaceResponseBody.ts +0 -4
- package/src/models/AddBandwidthPackageIpsRequest.ts +0 -10
- package/src/models/AddBandwidthPackageIpsResponseBody.ts +0 -4
- package/src/models/AddTagsRequest.ts +19 -32
- package/src/models/AllocateEipAddressRequest.ts +0 -28
- package/src/models/AllocateEipAddressResponseBody.ts +0 -12
- package/src/models/AssignIpv6addressesRequest.ts +9 -11
- package/src/models/AssignIpv6addressesResponseBody.ts +1 -1
- package/src/models/AssociateHaVipRequest.ts +0 -10
- package/src/models/AssociateHaVipResponseBody.ts +0 -4
- package/src/models/AttachKeyPairRequest.ts +2 -2
- package/src/models/AttachKeyPairResponseBody.ts +3 -3
- package/src/models/CancelCopyImageRequest.ts +1 -1
- package/src/models/CancelPhysicalConnectionRequest.ts +0 -12
- package/src/models/CancelPhysicalConnectionResponseBody.ts +0 -4
- package/src/models/CancelSimulatedSystemEventsRequest.ts +2 -2
- package/src/models/CreateDiskRequest.ts +93 -125
- package/src/models/CreateDiskResponseBody.ts +4 -4
- package/src/models/CreateHaVipRequest.ts +0 -16
- package/src/models/CreateHaVipResponseBody.ts +0 -8
- package/src/models/CreateImageComponentRequest.ts +14 -19
- package/src/models/CreateKeyPairRequest.ts +6 -6
- package/src/models/CreateKeyPairResponseBody.ts +3 -3
- package/src/models/CreateNetworkInterfacePermissionRequest.ts +5 -5
- package/src/models/CreateNetworkInterfacePermissionResponseBody.ts +9 -12
- package/src/models/CreatePlanMaintenanceWindowRequest.ts +23 -29
- package/src/models/CreatePlanMaintenanceWindowResponseBody.ts +1 -1
- package/src/models/CreatePlanMaintenanceWindowShrinkRequest.ts +8 -9
- package/src/models/CreateRouterInterfaceRequest.ts +0 -103
- package/src/models/CreateRouterInterfaceResponseBody.ts +0 -12
- package/src/models/CreateSimulatedSystemEventsRequest.ts +4 -10
- package/src/models/DeleteDeploymentSetRequest.ts +2 -2
- package/src/models/DeleteDeploymentSetResponseBody.ts +1 -1
- package/src/models/DeleteDiskResponseBody.ts +1 -1
- package/src/models/DeleteForwardEntryRequest.ts +0 -9
- package/src/models/DeleteForwardEntryResponseBody.ts +0 -4
- package/src/models/DeleteHaVipRequest.ts +0 -8
- package/src/models/DeleteHaVipResponseBody.ts +0 -4
- package/src/models/DeleteHpcClusterRequest.ts +2 -2
- package/src/models/DeleteImageComponentRequest.ts +2 -2
- package/src/models/DeleteImageComponentResponseBody.ts +1 -1
- package/src/models/DeleteImagePipelineRequest.ts +1 -1
- package/src/models/DeleteImageRequest.ts +5 -6
- package/src/models/DeleteInstanceRequest.ts +15 -25
- package/src/models/DeleteInstanceResponseBody.ts +1 -1
- package/src/models/DeleteInstancesRequest.ts +16 -26
- package/src/models/DeleteKeyPairsRequest.ts +3 -3
- package/src/models/DeleteKeyPairsResponseBody.ts +1 -1
- package/src/models/DeleteLaunchTemplateRequest.ts +3 -3
- package/src/models/DeleteLaunchTemplateResponseBody.ts +1 -1
- package/src/models/DeleteLaunchTemplateVersionRequest.ts +3 -3
- package/src/models/DeleteNetworkInterfacePermissionRequest.ts +0 -8
- package/src/models/DeleteNetworkInterfacePermissionResponseBody.ts +0 -4
- package/src/models/DeletePrefixListRequest.ts +1 -1
- package/src/models/DeleteRouterInterfaceRequest.ts +0 -14
- package/src/models/DeleteRouterInterfaceResponseBody.ts +0 -4
- package/src/models/DeleteVirtualBorderRouterRequest.ts +0 -12
- package/src/models/DeleteVirtualBorderRouterResponseBody.ts +0 -4
- package/src/models/DeleteVswitchRequest.ts +0 -6
- package/src/models/DeleteVswitchResponseBody.ts +0 -4
- package/src/models/DescribeAccessPointsRequest.ts +0 -35
- package/src/models/DescribeAccessPointsResponseBody.ts +0 -20
- package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +6 -10
- package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +1 -1
- package/src/models/DescribeBandwidthLimitationRequest.ts +10 -15
- package/src/models/DescribeDiskMonitorDataRequest.ts +9 -11
- package/src/models/DescribeDiskMonitorDataResponseBody.ts +1 -1
- package/src/models/DescribeDisksRequest.ts +76 -110
- package/src/models/DescribeDisksResponseBody.ts +40 -5
- package/src/models/DescribeEipMonitorDataRequest.ts +0 -14
- package/src/models/DescribeEipMonitorDataResponseBody.ts +0 -8
- package/src/models/DescribeHpcClustersRequest.ts +8 -9
- package/src/models/DescribeHpcClustersResponseBody.ts +1 -1
- package/src/models/DescribeImageComponentsRequest.ts +19 -25
- package/src/models/DescribeImageComponentsResponseBody.ts +2 -2
- package/src/models/DescribeImageSharePermissionRequest.ts +5 -5
- package/src/models/DescribeImageSharePermissionResponseBody.ts +3 -3
- package/src/models/DescribeImageSupportInstanceTypesRequest.ts +12 -8
- package/src/models/DescribeImageSupportInstanceTypesResponseBody.ts +3 -25
- package/src/models/DescribeInstanceTypesRequest.ts +93 -115
- package/src/models/DescribeInstanceTypesResponseBody.ts +1 -5
- package/src/models/DescribeInstanceVncUrlRequest.ts +2 -2
- package/src/models/DescribeInstanceVncUrlResponseBody.ts +3 -3
- package/src/models/DescribeKeyPairsRequest.ts +16 -18
- package/src/models/DescribeKeyPairsResponseBody.ts +3 -3
- package/src/models/DescribeLaunchTemplatesRequest.ts +16 -17
- package/src/models/DescribeLaunchTemplatesResponseBody.ts +1 -1
- package/src/models/DescribeNetworkInterfacePermissionsRequest.ts +8 -8
- package/src/models/DescribeNetworkInterfacePermissionsResponseBody.ts +3 -7
- package/src/models/DescribeNewProjectEipMonitorDataRequest.ts +0 -14
- package/src/models/DescribeNewProjectEipMonitorDataResponseBody.ts +0 -8
- package/src/models/DescribePhysicalConnectionsRequest.ts +0 -48
- package/src/models/DescribePhysicalConnectionsResponseBody.ts +0 -20
- package/src/models/DescribePlanMaintenanceWindowsRequest.ts +10 -10
- package/src/models/DescribePlanMaintenanceWindowsResponseBody.ts +23 -21
- package/src/models/DescribePlanMaintenanceWindowsShrinkRequest.ts +8 -8
- package/src/models/DescribeRenewalPriceRequest.ts +16 -18
- package/src/models/DescribeRenewalPriceResponseBody.ts +9 -9
- package/src/models/DescribeRouteTablesRequest.ts +0 -35
- package/src/models/DescribeRouteTablesResponseBody.ts +0 -20
- package/src/models/DescribeSecurityGroupReferencesRequest.ts +2 -2
- package/src/models/DescribeSecurityGroupReferencesResponseBody.ts +1 -1
- package/src/models/DescribeSecurityGroupsRequest.ts +25 -31
- package/src/models/DescribeSecurityGroupsResponseBody.ts +5 -5
- package/src/models/DescribeSnapshotLinksRequest.ts +10 -11
- package/src/models/DescribeSnapshotLinksResponseBody.ts +4 -5
- package/src/models/DescribeTagsRequest.ts +22 -35
- package/src/models/DescribeTagsResponseBody.ts +2 -2
- package/src/models/DescribeTaskAttributeRequest.ts +2 -2
- package/src/models/DescribeTaskAttributeResponseBody.ts +10 -11
- package/src/models/DescribeVirtualBorderRoutersForPhysicalConnectionRequest.ts +0 -24
- package/src/models/DescribeVirtualBorderRoutersForPhysicalConnectionResponseBody.ts +0 -20
- package/src/models/DescribeVirtualBorderRoutersRequest.ts +0 -22
- package/src/models/DescribeVirtualBorderRoutersResponseBody.ts +0 -20
- package/src/models/DetachKeyPairRequest.ts +2 -2
- package/src/models/DetachKeyPairResponseBody.ts +3 -3
- package/src/models/EnablePhysicalConnectionRequest.ts +0 -14
- package/src/models/EnablePhysicalConnectionResponseBody.ts +0 -4
- package/src/models/EndTerminalSessionRequest.ts +1 -1
- package/src/models/EndTerminalSessionResponseBody.ts +1 -1
- package/src/models/GetInstanceConsoleOutputRequest.ts +4 -5
- package/src/models/GetInstanceConsoleOutputResponseBody.ts +2 -2
- package/src/models/GetInstanceScreenshotRequest.ts +2 -2
- package/src/models/GetInstanceScreenshotResponseBody.ts +1 -1
- package/src/models/ImportImageRequest.ts +60 -100
- package/src/models/ImportImageResponseBody.ts +1 -1
- package/src/models/ImportKeyPairRequest.ts +5 -5
- package/src/models/ImportKeyPairResponseBody.ts +1 -1
- package/src/models/JoinResourceGroupRequest.ts +18 -30
- package/src/models/ModifyAutoSnapshotPolicyExRequest.ts +24 -30
- package/src/models/ModifyAutoSnapshotPolicyExResponseBody.ts +1 -1
- package/src/models/ModifyDiskAttributeRequest.ts +25 -30
- package/src/models/ModifyDiskAttributeResponseBody.ts +1 -1
- package/src/models/ModifyForwardEntryRequest.ts +0 -26
- package/src/models/ModifyForwardEntryResponseBody.ts +0 -4
- package/src/models/ModifyHaVipAttributeRequest.ts +0 -12
- package/src/models/ModifyHaVipAttributeResponseBody.ts +0 -4
- package/src/models/ModifyHpcClusterAttributeRequest.ts +6 -6
- package/src/models/ModifyImageShareGroupPermissionRequest.ts +0 -4
- package/src/models/ModifyImageShareGroupPermissionResponseBody.ts +0 -4
- package/src/models/ModifyInstanceAutoRenewAttributeRequest.ts +39 -14
- package/src/models/ModifyInstanceNetworkSpecRequest.ts +33 -29
- package/src/models/ModifyInstanceNetworkSpecResponseBody.ts +1 -1
- package/src/models/ModifyInstanceSpecRequest.ts +33 -39
- package/src/models/ModifyLaunchTemplateDefaultVersionRequest.ts +3 -3
- package/src/models/ModifyLaunchTemplateDefaultVersionResponseBody.ts +1 -1
- package/src/models/ModifyPlanMaintenanceWindowRequest.ts +22 -26
- package/src/models/ModifyPlanMaintenanceWindowResponseBody.ts +1 -1
- package/src/models/ModifyPlanMaintenanceWindowShrinkRequest.ts +7 -7
- package/src/models/ModifySecurityGroupAttributeRequest.ts +5 -5
- package/src/models/ModifySecurityGroupEgressRuleRequest.ts +50 -73
- package/src/models/ModifySecurityGroupPolicyRequest.ts +6 -7
- package/src/models/ModifySecurityGroupRuleRequest.ts +56 -81
- package/src/models/ReActivateInstancesRequest.ts +2 -2
- package/src/models/ReInitDiskRequest.ts +13 -14
- package/src/models/ReInitDiskResponseBody.ts +1 -1
- package/src/models/RedeployInstanceRequest.ts +2 -2
- package/src/models/RedeployInstanceResponseBody.ts +1 -1
- package/src/models/ReleaseEipAddressRequest.ts +0 -6
- package/src/models/ReleaseEipAddressResponseBody.ts +0 -4
- package/src/models/RemoveTagsRequest.ts +21 -34
- package/src/models/RevokeSecurityGroupEgressRequest.ts +68 -88
- package/src/models/RevokeSecurityGroupEgressResponseBody.ts +1 -1
- package/src/models/TerminatePhysicalConnectionRequest.ts +0 -13
- package/src/models/TerminatePhysicalConnectionResponseBody.ts +0 -4
- package/src/models/UnassignIpv6addressesRequest.ts +3 -3
- package/src/models/UnassignIpv6addressesResponseBody.ts +1 -1
- package/src/models/model.ts +1 -0
package/dist/client.js
CHANGED
|
@@ -85,6 +85,44 @@ class Client extends openapi_core_1.default {
|
|
|
85
85
|
'cn-zhengzhou-nebula-1': "ecs.cn-qingdao-nebula.aliyuncs.com",
|
|
86
86
|
'eu-west-1-oxs': "ecs.cn-shenzhen-cloudstone.aliyuncs.com",
|
|
87
87
|
'rus-west-1-pop': "ecs.aliyuncs.com",
|
|
88
|
+
'us-west-1': "ecs.us-west-1.aliyuncs.com",
|
|
89
|
+
'us-southeast-1': "ecs.us-southeast-1.aliyuncs.com",
|
|
90
|
+
'us-east-1': "ecs.us-east-1.aliyuncs.com",
|
|
91
|
+
'na-south-1': "ecs.na-south-1.aliyuncs.com",
|
|
92
|
+
'me-east-1': "ecs.me-east-1.aliyuncs.com",
|
|
93
|
+
'me-central-1': "ecs.me-central-1.aliyuncs.com",
|
|
94
|
+
'eu-west-2': "ecs.eu-west-2.aliyuncs.com",
|
|
95
|
+
'eu-west-1': "ecs.eu-west-1.aliyuncs.com",
|
|
96
|
+
'eu-central-1': "ecs.eu-central-1.aliyuncs.com",
|
|
97
|
+
'cn-zhongwei': "ecs.cn-zhongwei.aliyuncs.com",
|
|
98
|
+
'cn-zhengzhou-jva': "ecs.cn-zhengzhou-jva.aliyuncs.com",
|
|
99
|
+
'cn-zhangjiakou': "ecs.cn-zhangjiakou.aliyuncs.com",
|
|
100
|
+
'cn-wulanchabu-gic-1': "ecs.cn-wulanchabu-gic-1.aliyuncs.com",
|
|
101
|
+
'cn-wulanchabu': "ecs.cn-wulanchabu.aliyuncs.com",
|
|
102
|
+
'cn-wuhan-lr': "ecs.cn-wuhan-lr.aliyuncs.com",
|
|
103
|
+
'cn-shenzhen': "ecs.cn-shenzhen.aliyuncs.com",
|
|
104
|
+
'cn-shanghai': "ecs.cn-shanghai.aliyuncs.com",
|
|
105
|
+
'cn-qingdao': "ecs.cn-qingdao.aliyuncs.com",
|
|
106
|
+
'cn-nanjing': "ecs.cn-nanjing.aliyuncs.com",
|
|
107
|
+
'cn-huhehaote': "ecs.cn-huhehaote.aliyuncs.com",
|
|
108
|
+
'cn-hongkong': "ecs.cn-hongkong.aliyuncs.com",
|
|
109
|
+
'cn-heyuan-acdr-1': "ecs.cn-heyuan-acdr-1.aliyuncs.com",
|
|
110
|
+
'cn-heyuan': "ecs.cn-heyuan.aliyuncs.com",
|
|
111
|
+
'cn-guangzhou': "ecs.cn-guangzhou.aliyuncs.com",
|
|
112
|
+
'cn-fuzhou': "ecs.cn-fuzhou.aliyuncs.com",
|
|
113
|
+
'cn-chengdu': "ecs.cn-chengdu.aliyuncs.com",
|
|
114
|
+
'cn-beijing-finance-1': "ecs.cn-beijing-finance-1.aliyuncs.com",
|
|
115
|
+
'cn-beijing': "ecs.cn-beijing.aliyuncs.com",
|
|
116
|
+
'ap-southeast-8': "ecs.ap-southeast-8.aliyuncs.com",
|
|
117
|
+
'ap-southeast-7': "ecs.ap-southeast-7.aliyuncs.com",
|
|
118
|
+
'ap-southeast-6': "ecs.ap-southeast-6.aliyuncs.com",
|
|
119
|
+
'ap-southeast-5': "ecs.ap-southeast-5.aliyuncs.com",
|
|
120
|
+
'ap-southeast-3': "ecs.ap-southeast-3.aliyuncs.com",
|
|
121
|
+
'ap-southeast-2': "ecs.ap-southeast-2.aliyuncs.com",
|
|
122
|
+
'ap-southeast-1': "ecs.ap-southeast-1.aliyuncs.com",
|
|
123
|
+
'ap-south-1': "ecs.ap-south-1.aliyuncs.com",
|
|
124
|
+
'ap-northeast-2': "ecs.ap-northeast-2.aliyuncs.com",
|
|
125
|
+
'ap-northeast-1': "ecs.ap-northeast-1.aliyuncs.com",
|
|
88
126
|
};
|
|
89
127
|
this.checkConfig(config);
|
|
90
128
|
this._endpoint = this.getEndpoint("ecs", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -215,7 +253,7 @@ class Client extends openapi_core_1.default {
|
|
|
215
253
|
return await this.activateRouterInterfaceWithOptions(request, runtime);
|
|
216
254
|
}
|
|
217
255
|
/**
|
|
218
|
-
* AddBandwidthPackageIps
|
|
256
|
+
* AddBandwidthPackageIps.
|
|
219
257
|
*
|
|
220
258
|
* @deprecated OpenAPI AddBandwidthPackageIps is deprecated
|
|
221
259
|
*
|
|
@@ -267,7 +305,7 @@ class Client extends openapi_core_1.default {
|
|
|
267
305
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddBandwidthPackageIpsResponse({}));
|
|
268
306
|
}
|
|
269
307
|
/**
|
|
270
|
-
* AddBandwidthPackageIps
|
|
308
|
+
* AddBandwidthPackageIps.
|
|
271
309
|
*
|
|
272
310
|
* @deprecated OpenAPI AddBandwidthPackageIps is deprecated
|
|
273
311
|
*
|
|
@@ -280,13 +318,13 @@ class Client extends openapi_core_1.default {
|
|
|
280
318
|
return await this.addBandwidthPackageIpsWithOptions(request, runtime);
|
|
281
319
|
}
|
|
282
320
|
/**
|
|
283
|
-
* Adds or overwrites one or more tags
|
|
321
|
+
* Adds or overwrites one or more tags on various Elastic Compute Service (ECS) resources. You can add tags to instances, cloud disks, snapshots, images, security groups, and other resources for easier management.
|
|
284
322
|
*
|
|
285
323
|
* @remarks
|
|
286
|
-
* When you
|
|
287
|
-
* -
|
|
288
|
-
* -
|
|
289
|
-
* -
|
|
324
|
+
* When you invoke this operation, take note of the following items:
|
|
325
|
+
* - You can add up to 20 tags to each Elastic Compute Service (ECS) resource.
|
|
326
|
+
* - The tag key (Tag.N.Key) and tag value (Tag.N.Value) must be specified as a key-value pair.
|
|
327
|
+
* - If the tag key (Tag.N.Key) already exists on the specified resource, the original tag value is automatically overwritten with the new tag value (Tag.N.Value).
|
|
290
328
|
*
|
|
291
329
|
* @deprecated OpenAPI AddTags is deprecated, please use Ecs::2014-05-26::TagResources instead.
|
|
292
330
|
*
|
|
@@ -335,13 +373,13 @@ class Client extends openapi_core_1.default {
|
|
|
335
373
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddTagsResponse({}));
|
|
336
374
|
}
|
|
337
375
|
/**
|
|
338
|
-
* Adds or overwrites one or more tags
|
|
376
|
+
* Adds or overwrites one or more tags on various Elastic Compute Service (ECS) resources. You can add tags to instances, cloud disks, snapshots, images, security groups, and other resources for easier management.
|
|
339
377
|
*
|
|
340
378
|
* @remarks
|
|
341
|
-
* When you
|
|
342
|
-
* -
|
|
343
|
-
* -
|
|
344
|
-
* -
|
|
379
|
+
* When you invoke this operation, take note of the following items:
|
|
380
|
+
* - You can add up to 20 tags to each Elastic Compute Service (ECS) resource.
|
|
381
|
+
* - The tag key (Tag.N.Key) and tag value (Tag.N.Value) must be specified as a key-value pair.
|
|
382
|
+
* - If the tag key (Tag.N.Key) already exists on the specified resource, the original tag value is automatically overwritten with the new tag value (Tag.N.Value).
|
|
345
383
|
*
|
|
346
384
|
* @deprecated OpenAPI AddTags is deprecated, please use Ecs::2014-05-26::TagResources instead.
|
|
347
385
|
*
|
|
@@ -484,7 +522,7 @@ class Client extends openapi_core_1.default {
|
|
|
484
522
|
* AllocateEipAddress
|
|
485
523
|
*
|
|
486
524
|
* @remarks
|
|
487
|
-
* > This API is
|
|
525
|
+
* > This API has been upgraded and is no longer recommended. For instructions on the new API, see [AllocateEipAddress](https://help.aliyun.com/document_detail/120192.html).
|
|
488
526
|
*
|
|
489
527
|
* @deprecated OpenAPI AllocateEipAddress is deprecated, please use Vpc::2016-04-28::AllocateEipAddress instead.
|
|
490
528
|
*
|
|
@@ -545,7 +583,7 @@ class Client extends openapi_core_1.default {
|
|
|
545
583
|
* AllocateEipAddress
|
|
546
584
|
*
|
|
547
585
|
* @remarks
|
|
548
|
-
* > This API is
|
|
586
|
+
* > This API has been upgraded and is no longer recommended. For instructions on the new API, see [AllocateEipAddress](https://help.aliyun.com/document_detail/120192.html).
|
|
549
587
|
*
|
|
550
588
|
* @deprecated OpenAPI AllocateEipAddress is deprecated, please use Vpc::2016-04-28::AllocateEipAddress instead.
|
|
551
589
|
*
|
|
@@ -701,18 +739,18 @@ class Client extends openapi_core_1.default {
|
|
|
701
739
|
return await this.applyAutoSnapshotPolicyWithOptions(request, runtime);
|
|
702
740
|
}
|
|
703
741
|
/**
|
|
704
|
-
* Assigns one or more IPv6 addresses to an
|
|
742
|
+
* Assigns one or more IPv6 addresses to an Elastic Network Interface (ENI).
|
|
705
743
|
*
|
|
706
744
|
* @remarks
|
|
707
|
-
* ##
|
|
708
|
-
* You can specify IPv6 addresses
|
|
709
|
-
* -
|
|
710
|
-
* - The ENI must be in the
|
|
711
|
-
* -
|
|
712
|
-
* - The
|
|
713
|
-
*
|
|
714
|
-
*
|
|
715
|
-
* - After
|
|
745
|
+
* ## Operation description
|
|
746
|
+
* You can specify IPv6 addresses from the CIDR block of the vSwitch to which the Elastic Network Interface (ENI) belongs, or specify the number of IPv6 addresses for automatic creation. Note the following items:
|
|
747
|
+
* - The vSwitch to which the ENI belongs must have IPv6 enabled. For more information, see [Enable an IPv6 CIDR block for an existing vSwitch](https://help.aliyun.com/document_detail/98923.html).
|
|
748
|
+
* - The ENI must be in the Active (Available) or InUse state.
|
|
749
|
+
* - When you operate on a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
750
|
+
* - The number of IPv6 addresses that can be allocated to a single ENI depends on the instance type of the instance to which the ENI is attached.
|
|
751
|
+
* - If the ENI is in the Active (Available) state, up to 10 IPv6 addresses can be allocated.
|
|
752
|
+
* - If the ENI is attached to an instance, the number of IPv6 addresses that can be allocated is limited by the instance type. For more information, see [Instance family](https://help.aliyun.com/document_detail/25378.html).
|
|
753
|
+
* - After you successfully invoke this operation, you can obtain the allocated IPv6 address information from the response.
|
|
716
754
|
*
|
|
717
755
|
* @param request - AssignIpv6AddressesRequest
|
|
718
756
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -774,18 +812,18 @@ class Client extends openapi_core_1.default {
|
|
|
774
812
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AssignIpv6AddressesResponse({}));
|
|
775
813
|
}
|
|
776
814
|
/**
|
|
777
|
-
* Assigns one or more IPv6 addresses to an
|
|
815
|
+
* Assigns one or more IPv6 addresses to an Elastic Network Interface (ENI).
|
|
778
816
|
*
|
|
779
817
|
* @remarks
|
|
780
|
-
* ##
|
|
781
|
-
* You can specify IPv6 addresses
|
|
782
|
-
* -
|
|
783
|
-
* - The ENI must be in the
|
|
784
|
-
* -
|
|
785
|
-
* - The
|
|
786
|
-
*
|
|
787
|
-
*
|
|
788
|
-
* - After
|
|
818
|
+
* ## Operation description
|
|
819
|
+
* You can specify IPv6 addresses from the CIDR block of the vSwitch to which the Elastic Network Interface (ENI) belongs, or specify the number of IPv6 addresses for automatic creation. Note the following items:
|
|
820
|
+
* - The vSwitch to which the ENI belongs must have IPv6 enabled. For more information, see [Enable an IPv6 CIDR block for an existing vSwitch](https://help.aliyun.com/document_detail/98923.html).
|
|
821
|
+
* - The ENI must be in the Active (Available) or InUse state.
|
|
822
|
+
* - When you operate on a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
823
|
+
* - The number of IPv6 addresses that can be allocated to a single ENI depends on the instance type of the instance to which the ENI is attached.
|
|
824
|
+
* - If the ENI is in the Active (Available) state, up to 10 IPv6 addresses can be allocated.
|
|
825
|
+
* - If the ENI is attached to an instance, the number of IPv6 addresses that can be allocated is limited by the instance type. For more information, see [Instance family](https://help.aliyun.com/document_detail/25378.html).
|
|
826
|
+
* - After you successfully invoke this operation, you can obtain the allocated IPv6 address information from the response.
|
|
789
827
|
*
|
|
790
828
|
* @param request - AssignIpv6AddressesRequest
|
|
791
829
|
* @returns AssignIpv6AddressesResponse
|
|
@@ -946,7 +984,7 @@ class Client extends openapi_core_1.default {
|
|
|
946
984
|
return await this.associateEipAddressWithOptions(request, runtime);
|
|
947
985
|
}
|
|
948
986
|
/**
|
|
949
|
-
*
|
|
987
|
+
* Associates a high-availability virtual IP address (HaVip) with a specified instance.
|
|
950
988
|
*
|
|
951
989
|
* @deprecated OpenAPI AssociateHaVip is deprecated, please use Vpc::2016-04-28::AssociateHaVip instead.
|
|
952
990
|
*
|
|
@@ -998,7 +1036,7 @@ class Client extends openapi_core_1.default {
|
|
|
998
1036
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AssociateHaVipResponse({}));
|
|
999
1037
|
}
|
|
1000
1038
|
/**
|
|
1001
|
-
*
|
|
1039
|
+
* Associates a high-availability virtual IP address (HaVip) with a specified instance.
|
|
1002
1040
|
*
|
|
1003
1041
|
* @deprecated OpenAPI AssociateHaVip is deprecated, please use Vpc::2016-04-28::AssociateHaVip instead.
|
|
1004
1042
|
*
|
|
@@ -1248,15 +1286,15 @@ class Client extends openapi_core_1.default {
|
|
|
1248
1286
|
return await this.attachInstanceRamRoleWithOptions(request, runtime);
|
|
1249
1287
|
}
|
|
1250
1288
|
/**
|
|
1251
|
-
*
|
|
1289
|
+
* Bind an SSH key pair to one or more Linux instances.
|
|
1252
1290
|
*
|
|
1253
1291
|
* @remarks
|
|
1254
|
-
*
|
|
1255
|
-
* -
|
|
1256
|
-
* -
|
|
1257
|
-
* - If
|
|
1258
|
-
* - If
|
|
1259
|
-
* - If an
|
|
1292
|
+
* When you call this operation, take note of the following items:
|
|
1293
|
+
* - Windows instances do not support SSH key pairs.
|
|
1294
|
+
* - After you bind an SSH key pair to an instance, authentication by using a username and password is disabled.
|
|
1295
|
+
* - If the instance is in the **Running** state, restart the instance ([RebootInstance](https://help.aliyun.com/document_detail/25502.html)) for the SSH key pair to take effect.
|
|
1296
|
+
* - If the instance is in the **Stopped** state, start the instance ([StartInstance](https://help.aliyun.com/document_detail/25500.html)) for the SSH key pair to take effect.
|
|
1297
|
+
* - If an SSH key pair is already bound to the instance, the new SSH key pair automatically replaces the original one.
|
|
1260
1298
|
*
|
|
1261
1299
|
* @param request - AttachKeyPairRequest
|
|
1262
1300
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1300,15 +1338,15 @@ class Client extends openapi_core_1.default {
|
|
|
1300
1338
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachKeyPairResponse({}));
|
|
1301
1339
|
}
|
|
1302
1340
|
/**
|
|
1303
|
-
*
|
|
1341
|
+
* Bind an SSH key pair to one or more Linux instances.
|
|
1304
1342
|
*
|
|
1305
1343
|
* @remarks
|
|
1306
|
-
*
|
|
1307
|
-
* -
|
|
1308
|
-
* -
|
|
1309
|
-
* - If
|
|
1310
|
-
* - If
|
|
1311
|
-
* - If an
|
|
1344
|
+
* When you call this operation, take note of the following items:
|
|
1345
|
+
* - Windows instances do not support SSH key pairs.
|
|
1346
|
+
* - After you bind an SSH key pair to an instance, authentication by using a username and password is disabled.
|
|
1347
|
+
* - If the instance is in the **Running** state, restart the instance ([RebootInstance](https://help.aliyun.com/document_detail/25502.html)) for the SSH key pair to take effect.
|
|
1348
|
+
* - If the instance is in the **Stopped** state, start the instance ([StartInstance](https://help.aliyun.com/document_detail/25500.html)) for the SSH key pair to take effect.
|
|
1349
|
+
* - If an SSH key pair is already bound to the instance, the new SSH key pair automatically replaces the original one.
|
|
1312
1350
|
*
|
|
1313
1351
|
* @param request - AttachKeyPairRequest
|
|
1314
1352
|
* @returns AttachKeyPairResponse
|
|
@@ -1891,12 +1929,12 @@ class Client extends openapi_core_1.default {
|
|
|
1891
1929
|
return await this.cancelAutoSnapshotPolicyWithOptions(request, runtime);
|
|
1892
1930
|
}
|
|
1893
1931
|
/**
|
|
1894
|
-
* Cancels an ongoing
|
|
1932
|
+
* Cancels an ongoing CopyImage task.
|
|
1895
1933
|
*
|
|
1896
1934
|
* @remarks
|
|
1897
1935
|
* When you call this operation, take note of the following items:
|
|
1898
|
-
* - After you cancel
|
|
1899
|
-
* - If the image copy task is complete, the
|
|
1936
|
+
* - After you cancel the image copy task, the image that was being created in the destination region is automatically deleted. The source image remains unchanged.
|
|
1937
|
+
* - If the image copy task is already complete, the operation fails and an error message is returned.
|
|
1900
1938
|
*
|
|
1901
1939
|
* @param request - CancelCopyImageRequest
|
|
1902
1940
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1940,12 +1978,12 @@ class Client extends openapi_core_1.default {
|
|
|
1940
1978
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelCopyImageResponse({}));
|
|
1941
1979
|
}
|
|
1942
1980
|
/**
|
|
1943
|
-
* Cancels an ongoing
|
|
1981
|
+
* Cancels an ongoing CopyImage task.
|
|
1944
1982
|
*
|
|
1945
1983
|
* @remarks
|
|
1946
1984
|
* When you call this operation, take note of the following items:
|
|
1947
|
-
* - After you cancel
|
|
1948
|
-
* - If the image copy task is complete, the
|
|
1985
|
+
* - After you cancel the image copy task, the image that was being created in the destination region is automatically deleted. The source image remains unchanged.
|
|
1986
|
+
* - If the image copy task is already complete, the operation fails and an error message is returned.
|
|
1949
1987
|
*
|
|
1950
1988
|
* @param request - CancelCopyImageRequest
|
|
1951
1989
|
* @returns CancelCopyImageResponse
|
|
@@ -2086,7 +2124,7 @@ class Client extends openapi_core_1.default {
|
|
|
2086
2124
|
return await this.cancelPhysicalConnectionWithOptions(request, runtime);
|
|
2087
2125
|
}
|
|
2088
2126
|
/**
|
|
2089
|
-
* Cancels simulated system events that are in the Scheduled or Executing state. After
|
|
2127
|
+
* Cancels one or more simulated system events that are in the Scheduled or Executing state. After a system event is canceled, the simulated event enters the Canceled state.
|
|
2090
2128
|
*
|
|
2091
2129
|
* @param request - CancelSimulatedSystemEventsRequest
|
|
2092
2130
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2133,7 +2171,7 @@ class Client extends openapi_core_1.default {
|
|
|
2133
2171
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelSimulatedSystemEventsResponse({}));
|
|
2134
2172
|
}
|
|
2135
2173
|
/**
|
|
2136
|
-
* Cancels simulated system events that are in the Scheduled or Executing state. After
|
|
2174
|
+
* Cancels one or more simulated system events that are in the Scheduled or Executing state. After a system event is canceled, the simulated event enters the Canceled state.
|
|
2137
2175
|
*
|
|
2138
2176
|
* @param request - CancelSimulatedSystemEventsRequest
|
|
2139
2177
|
* @returns CancelSimulatedSystemEventsResponse
|
|
@@ -3516,17 +3554,17 @@ class Client extends openapi_core_1.default {
|
|
|
3516
3554
|
return await this.createDiagnosticReportWithOptions(request, runtime);
|
|
3517
3555
|
}
|
|
3518
3556
|
/**
|
|
3519
|
-
*
|
|
3557
|
+
* Creates a pay-as-you-go or subscription data disk.
|
|
3520
3558
|
*
|
|
3521
3559
|
* @remarks
|
|
3522
|
-
* - When
|
|
3523
|
-
* - Supported disk types: basic
|
|
3524
|
-
* -
|
|
3525
|
-
* - Creating a disk
|
|
3526
|
-
* - Default settings when
|
|
3527
|
-
* -
|
|
3528
|
-
* - When
|
|
3529
|
-
* - The
|
|
3560
|
+
* - When creating a disk, you can enable the multi-attach feature (`MultiAttach`). We recommend that you understand this feature and its usage restrictions first. For more information, see [NVMe support for ESSDs](https://help.aliyun.com/document_detail/256487.html) and [Use the multi-attach feature](https://help.aliyun.com/document_detail/262105.html).
|
|
3561
|
+
* - Supported disk types: basic disk, ultra disk, standard SSD, ESSD, ESSD Entry disk, ESSD zone-redundant disk, ESSD AutoPL disk, elastic ephemeral disk - standard, and elastic ephemeral disk - premium.
|
|
3562
|
+
* - Creating a disk requires real-name verification. Go to [Real-name verification](https://account.console.aliyun.com/#/auth/home) in account information.
|
|
3563
|
+
* - Creating a disk involves resource billing. We recommend that you understand the billing methods of ECS in advance. For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html).
|
|
3564
|
+
* - Default settings when creating a disk:
|
|
3565
|
+
* - Automatic snapshots of the disk are deleted when the disk is deleted, that is, `DeleteAutoSnapshot` is set to `true`. You can call [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) to query this parameter and call [ModifyDiskAttribute](https://help.aliyun.com/document_detail/25517.html) to modify it.
|
|
3566
|
+
* - When creating an ESSD, if you do not set the disk performance level, the default is PL1. You can modify the disk performance level through [ModifyDiskSpec](https://help.aliyun.com/document_detail/123780.html).
|
|
3567
|
+
* - The billing method is pay-as-you-go, that is, the default `Portable` attribute is `true`.
|
|
3530
3568
|
*
|
|
3531
3569
|
* @param request - CreateDiskRequest
|
|
3532
3570
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3633,17 +3671,17 @@ class Client extends openapi_core_1.default {
|
|
|
3633
3671
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDiskResponse({}));
|
|
3634
3672
|
}
|
|
3635
3673
|
/**
|
|
3636
|
-
*
|
|
3674
|
+
* Creates a pay-as-you-go or subscription data disk.
|
|
3637
3675
|
*
|
|
3638
3676
|
* @remarks
|
|
3639
|
-
* - When
|
|
3640
|
-
* - Supported disk types: basic
|
|
3641
|
-
* -
|
|
3642
|
-
* - Creating a disk
|
|
3643
|
-
* - Default settings when
|
|
3644
|
-
* -
|
|
3645
|
-
* - When
|
|
3646
|
-
* - The
|
|
3677
|
+
* - When creating a disk, you can enable the multi-attach feature (`MultiAttach`). We recommend that you understand this feature and its usage restrictions first. For more information, see [NVMe support for ESSDs](https://help.aliyun.com/document_detail/256487.html) and [Use the multi-attach feature](https://help.aliyun.com/document_detail/262105.html).
|
|
3678
|
+
* - Supported disk types: basic disk, ultra disk, standard SSD, ESSD, ESSD Entry disk, ESSD zone-redundant disk, ESSD AutoPL disk, elastic ephemeral disk - standard, and elastic ephemeral disk - premium.
|
|
3679
|
+
* - Creating a disk requires real-name verification. Go to [Real-name verification](https://account.console.aliyun.com/#/auth/home) in account information.
|
|
3680
|
+
* - Creating a disk involves resource billing. We recommend that you understand the billing methods of ECS in advance. For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html).
|
|
3681
|
+
* - Default settings when creating a disk:
|
|
3682
|
+
* - Automatic snapshots of the disk are deleted when the disk is deleted, that is, `DeleteAutoSnapshot` is set to `true`. You can call [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) to query this parameter and call [ModifyDiskAttribute](https://help.aliyun.com/document_detail/25517.html) to modify it.
|
|
3683
|
+
* - When creating an ESSD, if you do not set the disk performance level, the default is PL1. You can modify the disk performance level through [ModifyDiskSpec](https://help.aliyun.com/document_detail/123780.html).
|
|
3684
|
+
* - The billing method is pay-as-you-go, that is, the default `Portable` attribute is `true`.
|
|
3647
3685
|
*
|
|
3648
3686
|
* @param request - CreateDiskRequest
|
|
3649
3687
|
* @returns CreateDiskResponse
|
|
@@ -4106,15 +4144,15 @@ class Client extends openapi_core_1.default {
|
|
|
4106
4144
|
return await this.createImageWithOptions(request, runtime);
|
|
4107
4145
|
}
|
|
4108
4146
|
/**
|
|
4109
|
-
* Creates an image component. Image components
|
|
4147
|
+
* Creates an image component. Image components store commonly used build template commands for image building.
|
|
4110
4148
|
*
|
|
4111
4149
|
* @remarks
|
|
4112
|
-
* ##
|
|
4113
|
-
*
|
|
4150
|
+
* ## Operation description
|
|
4151
|
+
* Before you create an image component, take note of the following items:
|
|
4114
4152
|
* - You can create only custom image components.
|
|
4115
|
-
* -
|
|
4116
|
-
* - The content size of an image component cannot exceed 16 KB. For
|
|
4117
|
-
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
4153
|
+
* - Component version numbers must be unique for components with the same name. When you use a component in a template, you can reference it by name and version number.
|
|
4154
|
+
* - The content size of an image component cannot exceed 16 KB. For details about supported commands, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
4155
|
+
* For more information, see [Image Builder overview](https://help.aliyun.com/document_detail/197410.html).
|
|
4118
4156
|
*
|
|
4119
4157
|
* @param request - CreateImageComponentRequest
|
|
4120
4158
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4188,15 +4226,15 @@ class Client extends openapi_core_1.default {
|
|
|
4188
4226
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateImageComponentResponse({}));
|
|
4189
4227
|
}
|
|
4190
4228
|
/**
|
|
4191
|
-
* Creates an image component. Image components
|
|
4229
|
+
* Creates an image component. Image components store commonly used build template commands for image building.
|
|
4192
4230
|
*
|
|
4193
4231
|
* @remarks
|
|
4194
|
-
* ##
|
|
4195
|
-
*
|
|
4232
|
+
* ## Operation description
|
|
4233
|
+
* Before you create an image component, take note of the following items:
|
|
4196
4234
|
* - You can create only custom image components.
|
|
4197
|
-
* -
|
|
4198
|
-
* - The content size of an image component cannot exceed 16 KB. For
|
|
4199
|
-
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
4235
|
+
* - Component version numbers must be unique for components with the same name. When you use a component in a template, you can reference it by name and version number.
|
|
4236
|
+
* - The content size of an image component cannot exceed 16 KB. For details about supported commands, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
4237
|
+
* For more information, see [Image Builder overview](https://help.aliyun.com/document_detail/197410.html).
|
|
4200
4238
|
*
|
|
4201
4239
|
* @param request - CreateImageComponentRequest
|
|
4202
4240
|
* @returns CreateImageComponentResponse
|
|
@@ -4621,11 +4659,11 @@ class Client extends openapi_core_1.default {
|
|
|
4621
4659
|
return await this.createInstanceWithOptions(request, runtime);
|
|
4622
4660
|
}
|
|
4623
4661
|
/**
|
|
4624
|
-
*
|
|
4662
|
+
* Calls CreateKeyPair to create an SSH key pair. The system stores the public key and returns the unencrypted PEM-encoded PKCS#8 format private key. You must securely store the private key on your own.
|
|
4625
4663
|
*
|
|
4626
4664
|
* @remarks
|
|
4627
|
-
* In addition to calling
|
|
4628
|
-
*
|
|
4665
|
+
* In addition to calling CreateKeyPair to create a key pair, you can use a third-party tool to create a key pair and then upload it ([ImportKeyPair](https://help.aliyun.com/document_detail/51774.html)) to a region. The usage of a key pair created by a third-party tool is the same as that of a key pair created by the system.
|
|
4666
|
+
* You can have up to 500 key pairs in each region. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
4629
4667
|
*
|
|
4630
4668
|
* @param request - CreateKeyPairRequest
|
|
4631
4669
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4672,11 +4710,11 @@ class Client extends openapi_core_1.default {
|
|
|
4672
4710
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateKeyPairResponse({}));
|
|
4673
4711
|
}
|
|
4674
4712
|
/**
|
|
4675
|
-
*
|
|
4713
|
+
* Calls CreateKeyPair to create an SSH key pair. The system stores the public key and returns the unencrypted PEM-encoded PKCS#8 format private key. You must securely store the private key on your own.
|
|
4676
4714
|
*
|
|
4677
4715
|
* @remarks
|
|
4678
|
-
* In addition to calling
|
|
4679
|
-
*
|
|
4716
|
+
* In addition to calling CreateKeyPair to create a key pair, you can use a third-party tool to create a key pair and then upload it ([ImportKeyPair](https://help.aliyun.com/document_detail/51774.html)) to a region. The usage of a key pair created by a third-party tool is the same as that of a key pair created by the system.
|
|
4717
|
+
* You can have up to 500 key pairs in each region. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
4680
4718
|
*
|
|
4681
4719
|
* @param request - CreateKeyPairRequest
|
|
4682
4720
|
* @returns CreateKeyPairResponse
|
|
@@ -5394,7 +5432,7 @@ class Client extends openapi_core_1.default {
|
|
|
5394
5432
|
return await this.createNetworkInterfaceWithOptions(request, runtime);
|
|
5395
5433
|
}
|
|
5396
5434
|
/**
|
|
5397
|
-
*
|
|
5435
|
+
* Grants elastic network interface (ENI) permissions to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
5398
5436
|
*
|
|
5399
5437
|
* @param request - CreateNetworkInterfacePermissionRequest
|
|
5400
5438
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5447,7 +5485,7 @@ class Client extends openapi_core_1.default {
|
|
|
5447
5485
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateNetworkInterfacePermissionResponse({}));
|
|
5448
5486
|
}
|
|
5449
5487
|
/**
|
|
5450
|
-
*
|
|
5488
|
+
* Grants elastic network interface (ENI) permissions to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
5451
5489
|
*
|
|
5452
5490
|
* @param request - CreateNetworkInterfacePermissionRequest
|
|
5453
5491
|
* @returns CreateNetworkInterfacePermissionResponse
|
|
@@ -5552,7 +5590,7 @@ class Client extends openapi_core_1.default {
|
|
|
5552
5590
|
return await this.createPhysicalConnectionWithOptions(request, runtime);
|
|
5553
5591
|
}
|
|
5554
5592
|
/**
|
|
5555
|
-
*
|
|
5593
|
+
* Creates an O&M window. When the TargetResource parameter of the O&M window is set to associate with ECS instances and a hardware risk is detected at the underlying layer that requires scheduled O&M to mitigate, the execution time of the scheduled O&M is determined based on the time range specified by the TimePeriod parameter. When the execution time of the O&M event is reached, the platform automatically performs the corresponding O&M operation based on the event type.
|
|
5556
5594
|
*
|
|
5557
5595
|
* @param tmpReq - CreatePlanMaintenanceWindowRequest
|
|
5558
5596
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5607,7 +5645,7 @@ class Client extends openapi_core_1.default {
|
|
|
5607
5645
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePlanMaintenanceWindowResponse({}));
|
|
5608
5646
|
}
|
|
5609
5647
|
/**
|
|
5610
|
-
*
|
|
5648
|
+
* Creates an O&M window. When the TargetResource parameter of the O&M window is set to associate with ECS instances and a hardware risk is detected at the underlying layer that requires scheduled O&M to mitigate, the execution time of the scheduled O&M is determined based on the time range specified by the TimePeriod parameter. When the execution time of the O&M event is reached, the platform automatically performs the corresponding O&M operation based on the event type.
|
|
5611
5649
|
*
|
|
5612
5650
|
* @param request - CreatePlanMaintenanceWindowRequest
|
|
5613
5651
|
* @returns CreatePlanMaintenanceWindowResponse
|
|
@@ -5864,7 +5902,7 @@ class Client extends openapi_core_1.default {
|
|
|
5864
5902
|
return await this.createRouteEntryWithOptions(request, runtime);
|
|
5865
5903
|
}
|
|
5866
5904
|
/**
|
|
5867
|
-
* CreateRouterInterface
|
|
5905
|
+
* CreateRouterInterface.
|
|
5868
5906
|
*
|
|
5869
5907
|
* @deprecated OpenAPI CreateRouterInterface is deprecated, please use Vpc::2016-04-28::CreateRouterInterface instead.
|
|
5870
5908
|
*
|
|
@@ -5973,7 +6011,7 @@ class Client extends openapi_core_1.default {
|
|
|
5973
6011
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateRouterInterfaceResponse({}));
|
|
5974
6012
|
}
|
|
5975
6013
|
/**
|
|
5976
|
-
* CreateRouterInterface
|
|
6014
|
+
* CreateRouterInterface.
|
|
5977
6015
|
*
|
|
5978
6016
|
* @deprecated OpenAPI CreateRouterInterface is deprecated, please use Vpc::2016-04-28::CreateRouterInterface instead.
|
|
5979
6017
|
*
|
|
@@ -6139,15 +6177,15 @@ class Client extends openapi_core_1.default {
|
|
|
6139
6177
|
return await this.createSecurityGroupWithOptions(request, runtime);
|
|
6140
6178
|
}
|
|
6141
6179
|
/**
|
|
6142
|
-
* Schedules simulated system events
|
|
6180
|
+
* Schedules simulated system events for one or more ECS instances. Simulated system events are equivalent to event drills. They do not actually execute the events or affect ECS instances.
|
|
6143
6181
|
*
|
|
6144
6182
|
* @remarks
|
|
6145
|
-
*
|
|
6146
|
-
* The following
|
|
6147
|
-
* - Scheduled:
|
|
6148
|
-
* - Executed:
|
|
6149
|
-
* - Canceled:
|
|
6150
|
-
* - Avoided:
|
|
6183
|
+
* After you schedule simulated events, you can view the scheduled simulated system events in the ECS console, by calling [ECS API](https://help.aliyun.com/document_detail/63962.html) operations, or by using CloudMonitor.
|
|
6184
|
+
* The following list describes the lifecycle of simulated system events:
|
|
6185
|
+
* - Scheduled: After the simulated system event is scheduled, it automatically enters the Scheduled state.
|
|
6186
|
+
* - Executed: If no manual intervention is performed, the simulated system event automatically enters the Executed state at the specified point in time (NotBefore).
|
|
6187
|
+
* - Canceled: After you call [CancelSimulatedSystemEvents](https://help.aliyun.com/document_detail/88808.html) to cancel the simulated system event, the event enters the Canceled state.
|
|
6188
|
+
* - Avoided: For simulated system events of the SystemMaintenance.Reboot type, you can [restart the instance](https://help.aliyun.com/document_detail/25502.html) before the scheduled time to change the event to the Avoided state.
|
|
6151
6189
|
*
|
|
6152
6190
|
* @param request - CreateSimulatedSystemEventsRequest
|
|
6153
6191
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6200,15 +6238,15 @@ class Client extends openapi_core_1.default {
|
|
|
6200
6238
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateSimulatedSystemEventsResponse({}));
|
|
6201
6239
|
}
|
|
6202
6240
|
/**
|
|
6203
|
-
* Schedules simulated system events
|
|
6241
|
+
* Schedules simulated system events for one or more ECS instances. Simulated system events are equivalent to event drills. They do not actually execute the events or affect ECS instances.
|
|
6204
6242
|
*
|
|
6205
6243
|
* @remarks
|
|
6206
|
-
*
|
|
6207
|
-
* The following
|
|
6208
|
-
* - Scheduled:
|
|
6209
|
-
* - Executed:
|
|
6210
|
-
* - Canceled:
|
|
6211
|
-
* - Avoided:
|
|
6244
|
+
* After you schedule simulated events, you can view the scheduled simulated system events in the ECS console, by calling [ECS API](https://help.aliyun.com/document_detail/63962.html) operations, or by using CloudMonitor.
|
|
6245
|
+
* The following list describes the lifecycle of simulated system events:
|
|
6246
|
+
* - Scheduled: After the simulated system event is scheduled, it automatically enters the Scheduled state.
|
|
6247
|
+
* - Executed: If no manual intervention is performed, the simulated system event automatically enters the Executed state at the specified point in time (NotBefore).
|
|
6248
|
+
* - Canceled: After you call [CancelSimulatedSystemEvents](https://help.aliyun.com/document_detail/88808.html) to cancel the simulated system event, the event enters the Canceled state.
|
|
6249
|
+
* - Avoided: For simulated system events of the SystemMaintenance.Reboot type, you can [restart the instance](https://help.aliyun.com/document_detail/25502.html) before the scheduled time to change the event to the Avoided state.
|
|
6212
6250
|
*
|
|
6213
6251
|
* @param request - CreateSimulatedSystemEventsRequest
|
|
6214
6252
|
* @returns CreateSimulatedSystemEventsResponse
|
|
@@ -7244,7 +7282,7 @@ class Client extends openapi_core_1.default {
|
|
|
7244
7282
|
* Deletes a deployment set.
|
|
7245
7283
|
*
|
|
7246
7284
|
* @remarks
|
|
7247
|
-
* Before you delete a deployment set, make sure that no instances
|
|
7285
|
+
* Before you delete a deployment set, make sure that no instances are in the deployment set. If instances exist, you must remove or release the instances before you can delete the deployment set. For more information, see [Change the deployment set of an instance](https://help.aliyun.com/document_detail/108407.html) and [Release an ECS instance](https://help.aliyun.com/document_detail/25442.html).
|
|
7248
7286
|
*
|
|
7249
7287
|
* @param request - DeleteDeploymentSetRequest
|
|
7250
7288
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7291,7 +7329,7 @@ class Client extends openapi_core_1.default {
|
|
|
7291
7329
|
* Deletes a deployment set.
|
|
7292
7330
|
*
|
|
7293
7331
|
* @remarks
|
|
7294
|
-
* Before you delete a deployment set, make sure that no instances
|
|
7332
|
+
* Before you delete a deployment set, make sure that no instances are in the deployment set. If instances exist, you must remove or release the instances before you can delete the deployment set. For more information, see [Change the deployment set of an instance](https://help.aliyun.com/document_detail/108407.html) and [Release an ECS instance](https://help.aliyun.com/document_detail/25442.html).
|
|
7295
7333
|
*
|
|
7296
7334
|
* @param request - DeleteDeploymentSetRequest
|
|
7297
7335
|
* @returns DeleteDeploymentSetResponse
|
|
@@ -7391,14 +7429,14 @@ class Client extends openapi_core_1.default {
|
|
|
7391
7429
|
return await this.deleteDiagnosticReportsWithOptions(request, runtime);
|
|
7392
7430
|
}
|
|
7393
7431
|
/**
|
|
7394
|
-
*
|
|
7432
|
+
* Releases a pay-as-you-go data disk. Supported disk types include basic disks, ultra disks, standard SSDs, and enterprise SSDs (ESSDs).
|
|
7395
7433
|
*
|
|
7396
7434
|
* @remarks
|
|
7397
|
-
* When you
|
|
7435
|
+
* When you invoke this operation, take note of the following items:
|
|
7398
7436
|
* - Manual snapshots of the disk are retained.
|
|
7399
|
-
* - You can
|
|
7400
|
-
* - The disk must be in the Unattached (Available) state.
|
|
7401
|
-
* - If the specified
|
|
7437
|
+
* - You can invoke [ModifyDiskAttribute](https://help.aliyun.com/document_detail/25517.html) to specify whether to retain or release automatic snapshots along with the disk. Delete unnecessary snapshots promptly to maintain sufficient snapshot quota for epoch-based automatic snapshot policy execution.
|
|
7438
|
+
* - The disk must be in the **Unattached** (Available) state when you release it.
|
|
7439
|
+
* - If the disk with the specified ID does not exist, the request is ignored.
|
|
7402
7440
|
*
|
|
7403
7441
|
* @param request - DeleteDiskRequest
|
|
7404
7442
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7439,14 +7477,14 @@ class Client extends openapi_core_1.default {
|
|
|
7439
7477
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDiskResponse({}));
|
|
7440
7478
|
}
|
|
7441
7479
|
/**
|
|
7442
|
-
*
|
|
7480
|
+
* Releases a pay-as-you-go data disk. Supported disk types include basic disks, ultra disks, standard SSDs, and enterprise SSDs (ESSDs).
|
|
7443
7481
|
*
|
|
7444
7482
|
* @remarks
|
|
7445
|
-
* When you
|
|
7483
|
+
* When you invoke this operation, take note of the following items:
|
|
7446
7484
|
* - Manual snapshots of the disk are retained.
|
|
7447
|
-
* - You can
|
|
7448
|
-
* - The disk must be in the Unattached (Available) state.
|
|
7449
|
-
* - If the specified
|
|
7485
|
+
* - You can invoke [ModifyDiskAttribute](https://help.aliyun.com/document_detail/25517.html) to specify whether to retain or release automatic snapshots along with the disk. Delete unnecessary snapshots promptly to maintain sufficient snapshot quota for epoch-based automatic snapshot policy execution.
|
|
7486
|
+
* - The disk must be in the **Unattached** (Available) state when you release it.
|
|
7487
|
+
* - If the disk with the specified ID does not exist, the request is ignored.
|
|
7450
7488
|
*
|
|
7451
7489
|
* @param request - DeleteDiskRequest
|
|
7452
7490
|
* @returns DeleteDiskResponse
|
|
@@ -7580,7 +7618,7 @@ class Client extends openapi_core_1.default {
|
|
|
7580
7618
|
return await this.deleteHaVipWithOptions(request, runtime);
|
|
7581
7619
|
}
|
|
7582
7620
|
/**
|
|
7583
|
-
* Deletes a
|
|
7621
|
+
* Deletes a High Performance Computing (HPC) cluster.
|
|
7584
7622
|
*
|
|
7585
7623
|
* @param request - DeleteHpcClusterRequest
|
|
7586
7624
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7630,7 +7668,7 @@ class Client extends openapi_core_1.default {
|
|
|
7630
7668
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteHpcClusterResponse({}));
|
|
7631
7669
|
}
|
|
7632
7670
|
/**
|
|
7633
|
-
* Deletes a
|
|
7671
|
+
* Deletes a High Performance Computing (HPC) cluster.
|
|
7634
7672
|
*
|
|
7635
7673
|
* @param request - DeleteHpcClusterRequest
|
|
7636
7674
|
* @returns DeleteHpcClusterResponse
|
|
@@ -7640,10 +7678,10 @@ class Client extends openapi_core_1.default {
|
|
|
7640
7678
|
return await this.deleteHpcClusterWithOptions(request, runtime);
|
|
7641
7679
|
}
|
|
7642
7680
|
/**
|
|
7643
|
-
*
|
|
7681
|
+
* Calls the DeleteImage operation. You can specify the ImageId and Force parameters to delete a custom image.
|
|
7644
7682
|
*
|
|
7645
7683
|
* @remarks
|
|
7646
|
-
* For
|
|
7684
|
+
* For scenarios where deleting a custom image is not allowed and precautions after an image is deleted, see [Delete a custom image](https://help.aliyun.com/document_detail/25466.html).
|
|
7647
7685
|
*
|
|
7648
7686
|
* @param request - DeleteImageRequest
|
|
7649
7687
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7693,10 +7731,10 @@ class Client extends openapi_core_1.default {
|
|
|
7693
7731
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteImageResponse({}));
|
|
7694
7732
|
}
|
|
7695
7733
|
/**
|
|
7696
|
-
*
|
|
7734
|
+
* Calls the DeleteImage operation. You can specify the ImageId and Force parameters to delete a custom image.
|
|
7697
7735
|
*
|
|
7698
7736
|
* @remarks
|
|
7699
|
-
* For
|
|
7737
|
+
* For scenarios where deleting a custom image is not allowed and precautions after an image is deleted, see [Delete a custom image](https://help.aliyun.com/document_detail/25466.html).
|
|
7700
7738
|
*
|
|
7701
7739
|
* @param request - DeleteImageRequest
|
|
7702
7740
|
* @returns DeleteImageResponse
|
|
@@ -7706,11 +7744,11 @@ class Client extends openapi_core_1.default {
|
|
|
7706
7744
|
return await this.deleteImageWithOptions(request, runtime);
|
|
7707
7745
|
}
|
|
7708
7746
|
/**
|
|
7709
|
-
* Deletes an image component
|
|
7747
|
+
* Deletes an image component by specifying the RegionId and ImageComponentId parameters.
|
|
7710
7748
|
*
|
|
7711
7749
|
* @remarks
|
|
7712
|
-
* - Only custom image components can be deleted.
|
|
7713
|
-
* -
|
|
7750
|
+
* - Only custom image components that you have created can be deleted.
|
|
7751
|
+
* - Before deleting a component, make sure that the component is not used in any template. Otherwise, the deletion fails.
|
|
7714
7752
|
*
|
|
7715
7753
|
* @param request - DeleteImageComponentRequest
|
|
7716
7754
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7757,11 +7795,11 @@ class Client extends openapi_core_1.default {
|
|
|
7757
7795
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteImageComponentResponse({}));
|
|
7758
7796
|
}
|
|
7759
7797
|
/**
|
|
7760
|
-
* Deletes an image component
|
|
7798
|
+
* Deletes an image component by specifying the RegionId and ImageComponentId parameters.
|
|
7761
7799
|
*
|
|
7762
7800
|
* @remarks
|
|
7763
|
-
* - Only custom image components can be deleted.
|
|
7764
|
-
* -
|
|
7801
|
+
* - Only custom image components that you have created can be deleted.
|
|
7802
|
+
* - Before deleting a component, make sure that the component is not used in any template. Otherwise, the deletion fails.
|
|
7765
7803
|
*
|
|
7766
7804
|
* @param request - DeleteImageComponentRequest
|
|
7767
7805
|
* @returns DeleteImageComponentResponse
|
|
@@ -7774,7 +7812,7 @@ class Client extends openapi_core_1.default {
|
|
|
7774
7812
|
* Deletes an image template.
|
|
7775
7813
|
*
|
|
7776
7814
|
* @remarks
|
|
7777
|
-
* If
|
|
7815
|
+
* If a build task is running, you cannot directly delete the template. Wait until the build task reaches a desired state: SUCCESS, FAILED, TEST_FAILED, PARTITION_SUCCESS, or CANCELLED. You can call [DescribeImagePipelineExecutions](https://help.aliyun.com/document_detail/25609.html) to query the details of build tasks.
|
|
7778
7816
|
*
|
|
7779
7817
|
* @param request - DeleteImagePipelineRequest
|
|
7780
7818
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7824,7 +7862,7 @@ class Client extends openapi_core_1.default {
|
|
|
7824
7862
|
* Deletes an image template.
|
|
7825
7863
|
*
|
|
7826
7864
|
* @remarks
|
|
7827
|
-
* If
|
|
7865
|
+
* If a build task is running, you cannot directly delete the template. Wait until the build task reaches a desired state: SUCCESS, FAILED, TEST_FAILED, PARTITION_SUCCESS, or CANCELLED. You can call [DescribeImagePipelineExecutions](https://help.aliyun.com/document_detail/25609.html) to query the details of build tasks.
|
|
7828
7866
|
*
|
|
7829
7867
|
* @param request - DeleteImagePipelineRequest
|
|
7830
7868
|
* @returns DeleteImagePipelineResponse
|
|
@@ -7834,18 +7872,18 @@ class Client extends openapi_core_1.default {
|
|
|
7834
7872
|
return await this.deleteImagePipelineWithOptions(request, runtime);
|
|
7835
7873
|
}
|
|
7836
7874
|
/**
|
|
7837
|
-
* Deletes or releases a
|
|
7875
|
+
* Deletes or releases a specified ECS instance.
|
|
7838
7876
|
*
|
|
7839
7877
|
* @remarks
|
|
7840
|
-
*
|
|
7841
|
-
*
|
|
7842
|
-
*
|
|
7843
|
-
* -
|
|
7844
|
-
*
|
|
7845
|
-
* - If `
|
|
7846
|
-
*
|
|
7847
|
-
*
|
|
7848
|
-
*
|
|
7878
|
+
* >Warning:
|
|
7879
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
7880
|
+
* .
|
|
7881
|
+
* - Manual snapshots of disks are retained and continue to incur charges. You can delete them by calling [DeleteSnapshot](https://help.aliyun.com/document_detail/2679824.html).
|
|
7882
|
+
* - Whether disks attached to the instance and automatic snapshots are released depends on the parameter settings specified when they were created. Before you release an instance, you can call [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) and [ModifyDiskAttribute](https://help.aliyun.com/document_detail/2679770.html) to query and modify the related parameter settings:
|
|
7883
|
+
* - If `DeleteWithInstance=false`, the disk is converted to a pay-as-you-go disk and retained. Otherwise, the disk is released along with the instance.
|
|
7884
|
+
* - If `DeleteAutoSnapshot=false`, automatic snapshots are retained. Otherwise, they are released along with the instance.
|
|
7885
|
+
* - Elastic IP addresses (EIPs) are not released along with the instance. You can call [ReleaseEipAddress](https://help.aliyun.com/document_detail/448702.html) to release them.
|
|
7886
|
+
* >Notice: For a security-locked instance, even if the `DeleteWithInstance` parameter of a disk is set to `false`, this attribute is ignored and the disk is released along with the instance..
|
|
7849
7887
|
*
|
|
7850
7888
|
* @param request - DeleteInstanceRequest
|
|
7851
7889
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7898,18 +7936,18 @@ class Client extends openapi_core_1.default {
|
|
|
7898
7936
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstanceResponse({}));
|
|
7899
7937
|
}
|
|
7900
7938
|
/**
|
|
7901
|
-
* Deletes or releases a
|
|
7939
|
+
* Deletes or releases a specified ECS instance.
|
|
7902
7940
|
*
|
|
7903
7941
|
* @remarks
|
|
7904
|
-
*
|
|
7905
|
-
*
|
|
7906
|
-
*
|
|
7907
|
-
* -
|
|
7908
|
-
*
|
|
7909
|
-
* - If `
|
|
7910
|
-
*
|
|
7911
|
-
*
|
|
7912
|
-
*
|
|
7942
|
+
* >Warning:
|
|
7943
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
7944
|
+
* .
|
|
7945
|
+
* - Manual snapshots of disks are retained and continue to incur charges. You can delete them by calling [DeleteSnapshot](https://help.aliyun.com/document_detail/2679824.html).
|
|
7946
|
+
* - Whether disks attached to the instance and automatic snapshots are released depends on the parameter settings specified when they were created. Before you release an instance, you can call [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) and [ModifyDiskAttribute](https://help.aliyun.com/document_detail/2679770.html) to query and modify the related parameter settings:
|
|
7947
|
+
* - If `DeleteWithInstance=false`, the disk is converted to a pay-as-you-go disk and retained. Otherwise, the disk is released along with the instance.
|
|
7948
|
+
* - If `DeleteAutoSnapshot=false`, automatic snapshots are retained. Otherwise, they are released along with the instance.
|
|
7949
|
+
* - Elastic IP addresses (EIPs) are not released along with the instance. You can call [ReleaseEipAddress](https://help.aliyun.com/document_detail/448702.html) to release them.
|
|
7950
|
+
* >Notice: For a security-locked instance, even if the `DeleteWithInstance` parameter of a disk is set to `false`, this attribute is ignored and the disk is released along with the instance..
|
|
7913
7951
|
*
|
|
7914
7952
|
* @param request - DeleteInstanceRequest
|
|
7915
7953
|
* @returns DeleteInstanceResponse
|
|
@@ -7919,17 +7957,18 @@ class Client extends openapi_core_1.default {
|
|
|
7919
7957
|
return await this.deleteInstanceWithOptions(request, runtime);
|
|
7920
7958
|
}
|
|
7921
7959
|
/**
|
|
7922
|
-
*
|
|
7960
|
+
* Deletes or releases multiple pay-as-you-go instances or expired subscription instances in a batch. You can use parameters to specify whether to release or convert cloud disks to pay-as-you-go disks and retain them.
|
|
7923
7961
|
*
|
|
7924
7962
|
* @remarks
|
|
7925
7963
|
* >Warning:
|
|
7926
|
-
* After
|
|
7927
|
-
*
|
|
7928
|
-
* -
|
|
7929
|
-
*
|
|
7930
|
-
* - If `
|
|
7931
|
-
*
|
|
7932
|
-
*
|
|
7964
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
7965
|
+
* .
|
|
7966
|
+
* - Manual snapshots of cloud disks are retained and continue to incur charges. You can call [DeleteSnapshot](https://help.aliyun.com/document_detail/2679824.html) to delete them.
|
|
7967
|
+
* - Whether cloud disks and automatic snapshots attached to the instance are released depends on the parameter settings specified when they were created. Before you release an instance, you can call [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) and [ModifyDiskAttribute](https://help.aliyun.com/document_detail/2679770.html) to query and modify the related parameter settings:
|
|
7968
|
+
* - If `DeleteWithInstance=false`, the cloud disk is converted to a pay-as-you-go cloud disk and retained. Otherwise, the cloud disk is released along with the instance.
|
|
7969
|
+
* - If `DeleteAutoSnapshot=false`, the automatic snapshots are retained. Otherwise, the automatic snapshots are released along with the instance.
|
|
7970
|
+
* - Elastic IP addresses (EIPs) are not released along with the instance. You can call [ReleaseEipAddress](https://help.aliyun.com/document_detail/448702.html) to release them.
|
|
7971
|
+
* >Notice: For security-locked instances, even if the `DeleteWithInstance` parameter of a cloud disk is set to `false`, this attribute is ignored and the cloud disk is released along with the instance..
|
|
7933
7972
|
*
|
|
7934
7973
|
* @param request - DeleteInstancesRequest
|
|
7935
7974
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7988,17 +8027,18 @@ class Client extends openapi_core_1.default {
|
|
|
7988
8027
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstancesResponse({}));
|
|
7989
8028
|
}
|
|
7990
8029
|
/**
|
|
7991
|
-
*
|
|
8030
|
+
* Deletes or releases multiple pay-as-you-go instances or expired subscription instances in a batch. You can use parameters to specify whether to release or convert cloud disks to pay-as-you-go disks and retain them.
|
|
7992
8031
|
*
|
|
7993
8032
|
* @remarks
|
|
7994
8033
|
* >Warning:
|
|
7995
|
-
* After
|
|
7996
|
-
*
|
|
7997
|
-
* -
|
|
7998
|
-
*
|
|
7999
|
-
* - If `
|
|
8000
|
-
*
|
|
8001
|
-
*
|
|
8034
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
8035
|
+
* .
|
|
8036
|
+
* - Manual snapshots of cloud disks are retained and continue to incur charges. You can call [DeleteSnapshot](https://help.aliyun.com/document_detail/2679824.html) to delete them.
|
|
8037
|
+
* - Whether cloud disks and automatic snapshots attached to the instance are released depends on the parameter settings specified when they were created. Before you release an instance, you can call [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) and [ModifyDiskAttribute](https://help.aliyun.com/document_detail/2679770.html) to query and modify the related parameter settings:
|
|
8038
|
+
* - If `DeleteWithInstance=false`, the cloud disk is converted to a pay-as-you-go cloud disk and retained. Otherwise, the cloud disk is released along with the instance.
|
|
8039
|
+
* - If `DeleteAutoSnapshot=false`, the automatic snapshots are retained. Otherwise, the automatic snapshots are released along with the instance.
|
|
8040
|
+
* - Elastic IP addresses (EIPs) are not released along with the instance. You can call [ReleaseEipAddress](https://help.aliyun.com/document_detail/448702.html) to release them.
|
|
8041
|
+
* >Notice: For security-locked instances, even if the `DeleteWithInstance` parameter of a cloud disk is set to `false`, this attribute is ignored and the cloud disk is released along with the instance..
|
|
8002
8042
|
*
|
|
8003
8043
|
* @param request - DeleteInstancesRequest
|
|
8004
8044
|
* @returns DeleteInstancesResponse
|
|
@@ -8008,12 +8048,12 @@ class Client extends openapi_core_1.default {
|
|
|
8008
8048
|
return await this.deleteInstancesWithOptions(request, runtime);
|
|
8009
8049
|
}
|
|
8010
8050
|
/**
|
|
8011
|
-
*
|
|
8051
|
+
* Call DeleteKeyPairs to delete one or more SSH key pairs.
|
|
8012
8052
|
*
|
|
8013
8053
|
* @remarks
|
|
8014
|
-
*
|
|
8015
|
-
* -
|
|
8016
|
-
* - If an
|
|
8054
|
+
* After you delete an SSH key pair, take note of the following items:
|
|
8055
|
+
* - You cannot query the SSH key pair by calling [DescribeKeyPairs](https://help.aliyun.com/document_detail/51773.html).
|
|
8056
|
+
* - If an ECS instance is bound to the SSH key pair, the SSH key pair cannot be deleted.
|
|
8017
8057
|
*
|
|
8018
8058
|
* @param request - DeleteKeyPairsRequest
|
|
8019
8059
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8054,12 +8094,12 @@ class Client extends openapi_core_1.default {
|
|
|
8054
8094
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteKeyPairsResponse({}));
|
|
8055
8095
|
}
|
|
8056
8096
|
/**
|
|
8057
|
-
*
|
|
8097
|
+
* Call DeleteKeyPairs to delete one or more SSH key pairs.
|
|
8058
8098
|
*
|
|
8059
8099
|
* @remarks
|
|
8060
|
-
*
|
|
8061
|
-
* -
|
|
8062
|
-
* - If an
|
|
8100
|
+
* After you delete an SSH key pair, take note of the following items:
|
|
8101
|
+
* - You cannot query the SSH key pair by calling [DescribeKeyPairs](https://help.aliyun.com/document_detail/51773.html).
|
|
8102
|
+
* - If an ECS instance is bound to the SSH key pair, the SSH key pair cannot be deleted.
|
|
8063
8103
|
*
|
|
8064
8104
|
* @param request - DeleteKeyPairsRequest
|
|
8065
8105
|
* @returns DeleteKeyPairsResponse
|
|
@@ -8069,12 +8109,12 @@ class Client extends openapi_core_1.default {
|
|
|
8069
8109
|
return await this.deleteKeyPairsWithOptions(request, runtime);
|
|
8070
8110
|
}
|
|
8071
8111
|
/**
|
|
8072
|
-
* Deletes a launch template
|
|
8112
|
+
* Deletes a launch template in a specified region by specifying the LaunchTemplateId or LaunchTemplateName parameter.
|
|
8073
8113
|
*
|
|
8074
8114
|
* @remarks
|
|
8075
8115
|
* Take note of the following items:
|
|
8076
|
-
* - After you delete a launch template,
|
|
8077
|
-
* - After you delete a launch template, all versions of the
|
|
8116
|
+
* - After you delete a launch template, ECS instances that were created by using the launch template are not affected.
|
|
8117
|
+
* - After you delete a launch template, all versions of the template are also deleted and cannot be recovered. If you want to delete only a specific version of a launch template, see [DeleteLaunchTemplateVersion](https://help.aliyun.com/document_detail/2679735.html).
|
|
8078
8118
|
*
|
|
8079
8119
|
* @param request - DeleteLaunchTemplateRequest
|
|
8080
8120
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8121,12 +8161,12 @@ class Client extends openapi_core_1.default {
|
|
|
8121
8161
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteLaunchTemplateResponse({}));
|
|
8122
8162
|
}
|
|
8123
8163
|
/**
|
|
8124
|
-
* Deletes a launch template
|
|
8164
|
+
* Deletes a launch template in a specified region by specifying the LaunchTemplateId or LaunchTemplateName parameter.
|
|
8125
8165
|
*
|
|
8126
8166
|
* @remarks
|
|
8127
8167
|
* Take note of the following items:
|
|
8128
|
-
* - After you delete a launch template,
|
|
8129
|
-
* - After you delete a launch template, all versions of the
|
|
8168
|
+
* - After you delete a launch template, ECS instances that were created by using the launch template are not affected.
|
|
8169
|
+
* - After you delete a launch template, all versions of the template are also deleted and cannot be recovered. If you want to delete only a specific version of a launch template, see [DeleteLaunchTemplateVersion](https://help.aliyun.com/document_detail/2679735.html).
|
|
8130
8170
|
*
|
|
8131
8171
|
* @param request - DeleteLaunchTemplateRequest
|
|
8132
8172
|
* @returns DeleteLaunchTemplateResponse
|
|
@@ -8136,13 +8176,13 @@ class Client extends openapi_core_1.default {
|
|
|
8136
8176
|
return await this.deleteLaunchTemplateWithOptions(request, runtime);
|
|
8137
8177
|
}
|
|
8138
8178
|
/**
|
|
8139
|
-
* Deletes versions of a launch template
|
|
8179
|
+
* Deletes one or more versions of a specified launch template by specifying parameters such as LaunchTemplateId and DeleteVersion.
|
|
8140
8180
|
*
|
|
8141
8181
|
* @remarks
|
|
8142
|
-
*
|
|
8143
|
-
* -
|
|
8144
|
-
* - If the version
|
|
8145
|
-
* -
|
|
8182
|
+
* When you call this operation, take note of the following items:
|
|
8183
|
+
* - The default version cannot be deleted. You must delete the entire launch template to remove the default version.
|
|
8184
|
+
* - If the version you want to delete is the default version, you can call [ModifyLaunchTemplateDefaultVersion](https://help.aliyun.com/document_detail/2679734.html) or switch the default version in the **Launch Template** console, and then perform the delete operation.
|
|
8185
|
+
* - Deleting a version does not affect instances that were already created from that version.
|
|
8146
8186
|
*
|
|
8147
8187
|
* @param request - DeleteLaunchTemplateVersionRequest
|
|
8148
8188
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8192,13 +8232,13 @@ class Client extends openapi_core_1.default {
|
|
|
8192
8232
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteLaunchTemplateVersionResponse({}));
|
|
8193
8233
|
}
|
|
8194
8234
|
/**
|
|
8195
|
-
* Deletes versions of a launch template
|
|
8235
|
+
* Deletes one or more versions of a specified launch template by specifying parameters such as LaunchTemplateId and DeleteVersion.
|
|
8196
8236
|
*
|
|
8197
8237
|
* @remarks
|
|
8198
|
-
*
|
|
8199
|
-
* -
|
|
8200
|
-
* - If the version
|
|
8201
|
-
* -
|
|
8238
|
+
* When you call this operation, take note of the following items:
|
|
8239
|
+
* - The default version cannot be deleted. You must delete the entire launch template to remove the default version.
|
|
8240
|
+
* - If the version you want to delete is the default version, you can call [ModifyLaunchTemplateDefaultVersion](https://help.aliyun.com/document_detail/2679734.html) or switch the default version in the **Launch Template** console, and then perform the delete operation.
|
|
8241
|
+
* - Deleting a version does not affect instances that were already created from that version.
|
|
8202
8242
|
*
|
|
8203
8243
|
* @param request - DeleteLaunchTemplateVersionRequest
|
|
8204
8244
|
* @returns DeleteLaunchTemplateVersionResponse
|
|
@@ -8578,10 +8618,10 @@ class Client extends openapi_core_1.default {
|
|
|
8578
8618
|
return await this.deletePortRangeListWithOptions(request, runtime);
|
|
8579
8619
|
}
|
|
8580
8620
|
/**
|
|
8581
|
-
* Deletes a prefix list and all entries in the prefix list.
|
|
8621
|
+
* Deletes a specified prefix list and all entries in the prefix list.
|
|
8582
8622
|
*
|
|
8583
8623
|
* @remarks
|
|
8584
|
-
* If a prefix list is associated with resources, you cannot delete
|
|
8624
|
+
* If a prefix list is associated with other resources, you cannot directly delete it. Dissociate the prefix list from the resources first, and then delete it. You can call [DescribePrefixListAssociations](https://help.aliyun.com/document_detail/204724.html) to query the resources that are associated with a specified prefix list.
|
|
8585
8625
|
*
|
|
8586
8626
|
* @param request - DeletePrefixListRequest
|
|
8587
8627
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8628,10 +8668,10 @@ class Client extends openapi_core_1.default {
|
|
|
8628
8668
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePrefixListResponse({}));
|
|
8629
8669
|
}
|
|
8630
8670
|
/**
|
|
8631
|
-
* Deletes a prefix list and all entries in the prefix list.
|
|
8671
|
+
* Deletes a specified prefix list and all entries in the prefix list.
|
|
8632
8672
|
*
|
|
8633
8673
|
* @remarks
|
|
8634
|
-
* If a prefix list is associated with resources, you cannot delete
|
|
8674
|
+
* If a prefix list is associated with other resources, you cannot directly delete it. Dissociate the prefix list from the resources first, and then delete it. You can call [DescribePrefixListAssociations](https://help.aliyun.com/document_detail/204724.html) to query the resources that are associated with a specified prefix list.
|
|
8635
8675
|
*
|
|
8636
8676
|
* @param request - DeletePrefixListRequest
|
|
8637
8677
|
* @returns DeletePrefixListResponse
|
|
@@ -9338,7 +9378,7 @@ class Client extends openapi_core_1.default {
|
|
|
9338
9378
|
return await this.deregisterManagedInstanceWithOptions(request, runtime);
|
|
9339
9379
|
}
|
|
9340
9380
|
/**
|
|
9341
|
-
*
|
|
9381
|
+
* Queries access points.
|
|
9342
9382
|
*
|
|
9343
9383
|
* @deprecated OpenAPI DescribeAccessPoints is deprecated, please use Vpc::2016-04-28::DescribeAccessPoints instead.
|
|
9344
9384
|
*
|
|
@@ -9390,7 +9430,7 @@ class Client extends openapi_core_1.default {
|
|
|
9390
9430
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAccessPointsResponse({}));
|
|
9391
9431
|
}
|
|
9392
9432
|
/**
|
|
9393
|
-
*
|
|
9433
|
+
* Queries access points.
|
|
9394
9434
|
*
|
|
9395
9435
|
* @deprecated OpenAPI DescribeAccessPoints is deprecated, please use Vpc::2016-04-28::DescribeAccessPoints instead.
|
|
9396
9436
|
*
|
|
@@ -9756,7 +9796,7 @@ class Client extends openapi_core_1.default {
|
|
|
9756
9796
|
return await this.describeAutoProvisioningGroupsWithOptions(request, runtime);
|
|
9757
9797
|
}
|
|
9758
9798
|
/**
|
|
9759
|
-
* Queries
|
|
9799
|
+
* Queries the associate relationships of an automatic snapshot policy.
|
|
9760
9800
|
*
|
|
9761
9801
|
* @param request - DescribeAutoSnapshotPolicyAssociationsRequest
|
|
9762
9802
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9809,7 +9849,7 @@ class Client extends openapi_core_1.default {
|
|
|
9809
9849
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAutoSnapshotPolicyAssociationsResponse({}));
|
|
9810
9850
|
}
|
|
9811
9851
|
/**
|
|
9812
|
-
* Queries
|
|
9852
|
+
* Queries the associate relationships of an automatic snapshot policy.
|
|
9813
9853
|
*
|
|
9814
9854
|
* @param request - DescribeAutoSnapshotPolicyAssociationsRequest
|
|
9815
9855
|
* @returns DescribeAutoSnapshotPolicyAssociationsResponse
|
|
@@ -10096,7 +10136,7 @@ class Client extends openapi_core_1.default {
|
|
|
10096
10136
|
return await this.describeAvailableResourceWithOptions(request, runtime);
|
|
10097
10137
|
}
|
|
10098
10138
|
/**
|
|
10099
|
-
*
|
|
10139
|
+
* Calls DescribeBandwidthLimitation to query the maximum public bandwidth that can be purchased, upgraded, or downgraded for different instance types.
|
|
10100
10140
|
*
|
|
10101
10141
|
* @param request - DescribeBandwidthLimitationRequest
|
|
10102
10142
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10152,7 +10192,7 @@ class Client extends openapi_core_1.default {
|
|
|
10152
10192
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBandwidthLimitationResponse({}));
|
|
10153
10193
|
}
|
|
10154
10194
|
/**
|
|
10155
|
-
*
|
|
10195
|
+
* Calls DescribeBandwidthLimitation to query the maximum public bandwidth that can be purchased, upgraded, or downgraded for different instance types.
|
|
10156
10196
|
*
|
|
10157
10197
|
* @param request - DescribeBandwidthLimitationRequest
|
|
10158
10198
|
* @returns DescribeBandwidthLimitationResponse
|
|
@@ -11472,23 +11512,22 @@ class Client extends openapi_core_1.default {
|
|
|
11472
11512
|
return await this.describeDiskEncryptionByDefaultStatusWithOptions(request, runtime);
|
|
11473
11513
|
}
|
|
11474
11514
|
/**
|
|
11475
|
-
* Queries the
|
|
11515
|
+
* Queries the usage information of a disk within a specified period, such as read IOPS, write IOPS, read bandwidth (B/s), write bandwidth (B/s), read latency (μs), and write latency (μs).
|
|
11476
11516
|
*
|
|
11477
11517
|
* @remarks
|
|
11478
|
-
*
|
|
11479
|
-
* -
|
|
11480
|
-
*
|
|
11481
|
-
*
|
|
11482
|
-
* -
|
|
11483
|
-
*
|
|
11484
|
-
*
|
|
11485
|
-
* For example, you want to query the monitoring data of a cloud disk whose ID is `d-bp14emm68wx98vjk****` in the China (Hangzhou) region every 600 seconds from `2025-02-17T00:00:00Z` to `2025-02-18T10:00:00Z`. Request parameters:
|
|
11518
|
+
* When you call this operation, take note of the following limits:
|
|
11519
|
+
* - You can query only the usage information of disks that are in the In Use (`In_use`) state. For more information, see [Disk states](https://help.aliyun.com/document_detail/25689.html).
|
|
11520
|
+
* > If the returned information has missing content, the disk was not in the In Use (`In_use`) state during that period, and the usage information cannot be obtained.
|
|
11521
|
+
* - A maximum of 400 data entries can be returned at a time. The value of `(EndTime – StartTime) / Period` must be less than or equal to 400. That is, the value of the `TotalCount` response parameter cannot exceed 400. Otherwise, the `InvalidParameter.TooManyDataQueried` error is returned.
|
|
11522
|
+
* - You can query the monitoring information of up to the last 30 days. The specified `StartTime` parameter cannot be more than 30 days earlier than the current time.
|
|
11523
|
+
* ## Request example
|
|
11524
|
+
* Assume that you want to query the usage information of a disk whose ID is `d-bp14emm68wx98vjk****` in the China (Hangzhou) region from `2025-02-17T00:00:00Z` to `2025-02-18T10:00:00Z` at intervals of 600 seconds. Configure the request parameters as follows:
|
|
11486
11525
|
* ```
|
|
11487
|
-
* RegionId:"cn-hangzhou", // Set the
|
|
11488
|
-
* DiskId:"d-bp14emm68wx98vjk****", //
|
|
11489
|
-
* StartTime:"2025-02-15T00:00:00Z", //
|
|
11490
|
-
* EndTime:"2025-02-17T00:00:00Z", //
|
|
11491
|
-
* Period:"600", //
|
|
11526
|
+
* RegionId:"cn-hangzhou", // Set the China (Hangzhou) region
|
|
11527
|
+
* DiskId:"d-bp14emm68wx98vjk****", // Set the disk ID
|
|
11528
|
+
* StartTime:"2025-02-15T00:00:00Z", // Set the query start time
|
|
11529
|
+
* EndTime:"2025-02-17T00:00:00Z", // Set the query end time
|
|
11530
|
+
* Period:"600", // Set the data granularity
|
|
11492
11531
|
* ```
|
|
11493
11532
|
*
|
|
11494
11533
|
* @param request - DescribeDiskMonitorDataRequest
|
|
@@ -11539,23 +11578,22 @@ class Client extends openapi_core_1.default {
|
|
|
11539
11578
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDiskMonitorDataResponse({}));
|
|
11540
11579
|
}
|
|
11541
11580
|
/**
|
|
11542
|
-
* Queries the
|
|
11581
|
+
* Queries the usage information of a disk within a specified period, such as read IOPS, write IOPS, read bandwidth (B/s), write bandwidth (B/s), read latency (μs), and write latency (μs).
|
|
11543
11582
|
*
|
|
11544
11583
|
* @remarks
|
|
11545
|
-
*
|
|
11546
|
-
* -
|
|
11547
|
-
*
|
|
11548
|
-
*
|
|
11549
|
-
* -
|
|
11550
|
-
*
|
|
11551
|
-
*
|
|
11552
|
-
* For example, you want to query the monitoring data of a cloud disk whose ID is `d-bp14emm68wx98vjk****` in the China (Hangzhou) region every 600 seconds from `2025-02-17T00:00:00Z` to `2025-02-18T10:00:00Z`. Request parameters:
|
|
11584
|
+
* When you call this operation, take note of the following limits:
|
|
11585
|
+
* - You can query only the usage information of disks that are in the In Use (`In_use`) state. For more information, see [Disk states](https://help.aliyun.com/document_detail/25689.html).
|
|
11586
|
+
* > If the returned information has missing content, the disk was not in the In Use (`In_use`) state during that period, and the usage information cannot be obtained.
|
|
11587
|
+
* - A maximum of 400 data entries can be returned at a time. The value of `(EndTime – StartTime) / Period` must be less than or equal to 400. That is, the value of the `TotalCount` response parameter cannot exceed 400. Otherwise, the `InvalidParameter.TooManyDataQueried` error is returned.
|
|
11588
|
+
* - You can query the monitoring information of up to the last 30 days. The specified `StartTime` parameter cannot be more than 30 days earlier than the current time.
|
|
11589
|
+
* ## Request example
|
|
11590
|
+
* Assume that you want to query the usage information of a disk whose ID is `d-bp14emm68wx98vjk****` in the China (Hangzhou) region from `2025-02-17T00:00:00Z` to `2025-02-18T10:00:00Z` at intervals of 600 seconds. Configure the request parameters as follows:
|
|
11553
11591
|
* ```
|
|
11554
|
-
* RegionId:"cn-hangzhou", // Set the
|
|
11555
|
-
* DiskId:"d-bp14emm68wx98vjk****", //
|
|
11556
|
-
* StartTime:"2025-02-15T00:00:00Z", //
|
|
11557
|
-
* EndTime:"2025-02-17T00:00:00Z", //
|
|
11558
|
-
* Period:"600", //
|
|
11592
|
+
* RegionId:"cn-hangzhou", // Set the China (Hangzhou) region
|
|
11593
|
+
* DiskId:"d-bp14emm68wx98vjk****", // Set the disk ID
|
|
11594
|
+
* StartTime:"2025-02-15T00:00:00Z", // Set the query start time
|
|
11595
|
+
* EndTime:"2025-02-17T00:00:00Z", // Set the query end time
|
|
11596
|
+
* Period:"600", // Set the data granularity
|
|
11559
11597
|
* ```
|
|
11560
11598
|
*
|
|
11561
11599
|
* @param request - DescribeDiskMonitorDataRequest
|
|
@@ -11566,14 +11604,14 @@ class Client extends openapi_core_1.default {
|
|
|
11566
11604
|
return await this.describeDiskMonitorDataWithOptions(request, runtime);
|
|
11567
11605
|
}
|
|
11568
11606
|
/**
|
|
11569
|
-
*
|
|
11607
|
+
* Queries information about one or more created block storage devices, including disks, local disks, and elastic ephemeral disks.
|
|
11570
11608
|
*
|
|
11571
11609
|
* @remarks
|
|
11572
|
-
* -
|
|
11573
|
-
* - The
|
|
11574
|
-
* -
|
|
11575
|
-
* -
|
|
11576
|
-
* When you call
|
|
11610
|
+
* - The request parameters RegionId, ZoneId, DiskIds, and InstanceId are filters. The logical relationship among these parameters is AND.
|
|
11611
|
+
* - The DiskIds request parameter is a JSON format array. If DiskIds is not specified, the filter does not take effect. If DiskIds is set to an empty JSON array, the filter is considered valid and an empty result is returned.
|
|
11612
|
+
* - Token-based paged query is supported. Set NextToken to the NextToken value returned in the previous call of DescribeDisks, and set MaxResults to specify the maximum number of entries per page.
|
|
11613
|
+
* - A disk with the multi-attach feature enabled can be attached to multiple instances. You can check the Attachment list in the response to view all attachment information of the disk.
|
|
11614
|
+
* When you call an API operation by using Cloud Assistant CLI, specify request parameters of different data types in the required formats. For more information, see [Parameter format of CLI](https://help.aliyun.com/document_detail/110340.html).
|
|
11577
11615
|
*
|
|
11578
11616
|
* @param request - DescribeDisksRequest
|
|
11579
11617
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11701,14 +11739,14 @@ class Client extends openapi_core_1.default {
|
|
|
11701
11739
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDisksResponse({}));
|
|
11702
11740
|
}
|
|
11703
11741
|
/**
|
|
11704
|
-
*
|
|
11742
|
+
* Queries information about one or more created block storage devices, including disks, local disks, and elastic ephemeral disks.
|
|
11705
11743
|
*
|
|
11706
11744
|
* @remarks
|
|
11707
|
-
* -
|
|
11708
|
-
* - The
|
|
11709
|
-
* -
|
|
11710
|
-
* -
|
|
11711
|
-
* When you call
|
|
11745
|
+
* - The request parameters RegionId, ZoneId, DiskIds, and InstanceId are filters. The logical relationship among these parameters is AND.
|
|
11746
|
+
* - The DiskIds request parameter is a JSON format array. If DiskIds is not specified, the filter does not take effect. If DiskIds is set to an empty JSON array, the filter is considered valid and an empty result is returned.
|
|
11747
|
+
* - Token-based paged query is supported. Set NextToken to the NextToken value returned in the previous call of DescribeDisks, and set MaxResults to specify the maximum number of entries per page.
|
|
11748
|
+
* - A disk with the multi-attach feature enabled can be attached to multiple instances. You can check the Attachment list in the response to view all attachment information of the disk.
|
|
11749
|
+
* When you call an API operation by using Cloud Assistant CLI, specify request parameters of different data types in the required formats. For more information, see [Parameter format of CLI](https://help.aliyun.com/document_detail/110340.html).
|
|
11712
11750
|
*
|
|
11713
11751
|
* @param request - DescribeDisksRequest
|
|
11714
11752
|
* @returns DescribeDisksResponse
|
|
@@ -12382,7 +12420,7 @@ class Client extends openapi_core_1.default {
|
|
|
12382
12420
|
return await this.describeHaVipsWithOptions(request, runtime);
|
|
12383
12421
|
}
|
|
12384
12422
|
/**
|
|
12385
|
-
*
|
|
12423
|
+
* Queries available High Performance Computing (HPC) clusters. Request parameters serve as filters. Filters are evaluated by using a logical AND. The parameters are independent of each other.
|
|
12386
12424
|
*
|
|
12387
12425
|
* @param request - DescribeHpcClustersRequest
|
|
12388
12426
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12438,7 +12476,7 @@ class Client extends openapi_core_1.default {
|
|
|
12438
12476
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeHpcClustersResponse({}));
|
|
12439
12477
|
}
|
|
12440
12478
|
/**
|
|
12441
|
-
*
|
|
12479
|
+
* Queries available High Performance Computing (HPC) clusters. Request parameters serve as filters. Filters are evaluated by using a logical AND. The parameters are independent of each other.
|
|
12442
12480
|
*
|
|
12443
12481
|
* @param request - DescribeHpcClustersRequest
|
|
12444
12482
|
* @returns DescribeHpcClustersResponse
|
|
@@ -12451,7 +12489,7 @@ class Client extends openapi_core_1.default {
|
|
|
12451
12489
|
* Queries the details of one or more image components.
|
|
12452
12490
|
*
|
|
12453
12491
|
* @remarks
|
|
12454
|
-
* You can
|
|
12492
|
+
* You can set `NextToken` to the value of `NextToken` returned in the previous call to DescribeImageComponents, and set `MaxResults` to specify the maximum number of entries per page for the query.
|
|
12455
12493
|
*
|
|
12456
12494
|
* @param request - DescribeImageComponentsRequest
|
|
12457
12495
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12531,7 +12569,7 @@ class Client extends openapi_core_1.default {
|
|
|
12531
12569
|
* Queries the details of one or more image components.
|
|
12532
12570
|
*
|
|
12533
12571
|
* @remarks
|
|
12534
|
-
* You can
|
|
12572
|
+
* You can set `NextToken` to the value of `NextToken` returned in the previous call to DescribeImageComponents, and set `MaxResults` to specify the maximum number of entries per page for the query.
|
|
12535
12573
|
*
|
|
12536
12574
|
* @param request - DescribeImageComponentsRequest
|
|
12537
12575
|
* @returns DescribeImageComponentsResponse
|
|
@@ -12768,7 +12806,7 @@ class Client extends openapi_core_1.default {
|
|
|
12768
12806
|
return await this.describeImagePipelinesWithOptions(request, runtime);
|
|
12769
12807
|
}
|
|
12770
12808
|
/**
|
|
12771
|
-
* Queries
|
|
12809
|
+
* Queries all users with whom a custom image is shared. The returned results support pagination, with 10 entries per page by default.
|
|
12772
12810
|
*
|
|
12773
12811
|
* @param request - DescribeImageSharePermissionRequest
|
|
12774
12812
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12818,7 +12856,7 @@ class Client extends openapi_core_1.default {
|
|
|
12818
12856
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeImageSharePermissionResponse({}));
|
|
12819
12857
|
}
|
|
12820
12858
|
/**
|
|
12821
|
-
* Queries
|
|
12859
|
+
* Queries all users with whom a custom image is shared. The returned results support pagination, with 10 entries per page by default.
|
|
12822
12860
|
*
|
|
12823
12861
|
* @param request - DescribeImageSharePermissionRequest
|
|
12824
12862
|
* @returns DescribeImageSharePermissionResponse
|
|
@@ -12828,7 +12866,7 @@ class Client extends openapi_core_1.default {
|
|
|
12828
12866
|
return await this.describeImageSharePermissionWithOptions(request, runtime);
|
|
12829
12867
|
}
|
|
12830
12868
|
/**
|
|
12831
|
-
* Queries the
|
|
12869
|
+
* Queries the instance types supported by a specified image.
|
|
12832
12870
|
*
|
|
12833
12871
|
* @param request - DescribeImageSupportInstanceTypesRequest
|
|
12834
12872
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12875,7 +12913,7 @@ class Client extends openapi_core_1.default {
|
|
|
12875
12913
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeImageSupportInstanceTypesResponse({}));
|
|
12876
12914
|
}
|
|
12877
12915
|
/**
|
|
12878
|
-
* Queries the
|
|
12916
|
+
* Queries the instance types supported by a specified image.
|
|
12879
12917
|
*
|
|
12880
12918
|
* @param request - DescribeImageSupportInstanceTypesRequest
|
|
12881
12919
|
* @returns DescribeImageSupportInstanceTypesResponse
|
|
@@ -13734,6 +13772,8 @@ class Client extends openapi_core_1.default {
|
|
|
13734
13772
|
return await this.describeInstanceStatusWithOptions(request, runtime);
|
|
13735
13773
|
}
|
|
13736
13774
|
/**
|
|
13775
|
+
* 实例拓扑查询接口
|
|
13776
|
+
*
|
|
13737
13777
|
* @param request - DescribeInstanceTopologyRequest
|
|
13738
13778
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
13739
13779
|
* @returns DescribeInstanceTopologyResponse
|
|
@@ -13773,6 +13813,8 @@ class Client extends openapi_core_1.default {
|
|
|
13773
13813
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInstanceTopologyResponse({}));
|
|
13774
13814
|
}
|
|
13775
13815
|
/**
|
|
13816
|
+
* 实例拓扑查询接口
|
|
13817
|
+
*
|
|
13776
13818
|
* @param request - DescribeInstanceTopologyRequest
|
|
13777
13819
|
* @returns DescribeInstanceTopologyResponse
|
|
13778
13820
|
*/
|
|
@@ -13835,17 +13877,18 @@ class Client extends openapi_core_1.default {
|
|
|
13835
13877
|
return await this.describeInstanceTypeFamiliesWithOptions(request, runtime);
|
|
13836
13878
|
}
|
|
13837
13879
|
/**
|
|
13838
|
-
*
|
|
13880
|
+
* Queries the information about all instance types provided by Elastic Compute Service (ECS) and obtains the detailed information about the instance types. You can also query the information about specific instance types based on specific conditions. This helps you understand the configurations and performance of different instance types so that you can select instance types that meet your business requirements.
|
|
13839
13881
|
*
|
|
13840
13882
|
* @remarks
|
|
13841
|
-
* - **
|
|
13842
|
-
* -
|
|
13843
|
-
* >
|
|
13844
|
-
* -
|
|
13883
|
+
* - **Paginated query**: You can set the MaxResults parameter to limit the number of instance types returned in each response. If only a subset of the queried instance types is returned, the NextToken parameter value is also returned. To perform a paginated query, set the NextToken parameter to the value returned by the previous call and set the MaxResults parameter.
|
|
13884
|
+
* - If you call this API operation without passing the NextToken parameter for paginated retrieval, only the first page of data (up to 100 entries) is returned by default. To retrieve more data, pass the NextToken parameter for paginated retrieval or pass filter conditions to limit the returned data range.
|
|
13885
|
+
* > The maximum value of the MaxResults parameter (maximum entries per page) is 100. For users who called this API before 2022, the maximum value of MaxResults remains 1600. On and after November 15, 2023, the maximum value of MaxResults will be reduced to 100 for all users, and 1600 will no longer be supported.
|
|
13886
|
+
* - DescribeInstanceTypes only queries the configuration and performance information of instance types. To query instance types available for purchase in a specific region, use [DescribeAvailableResource](https://help.aliyun.com/document_detail/66186.html).
|
|
13845
13887
|
* <props="china">
|
|
13846
|
-
* - If you require
|
|
13888
|
+
* - If you require instance types that are not publicly available for sale or have special requirements, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex).
|
|
13889
|
+
*
|
|
13847
13890
|
* <props="intl">
|
|
13848
|
-
* - If you require
|
|
13891
|
+
* - If you require instance types that are not publicly available for sale or have special requirements, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket-intl).
|
|
13849
13892
|
*
|
|
13850
13893
|
* @param request - DescribeInstanceTypesRequest
|
|
13851
13894
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14015,17 +14058,18 @@ class Client extends openapi_core_1.default {
|
|
|
14015
14058
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInstanceTypesResponse({}));
|
|
14016
14059
|
}
|
|
14017
14060
|
/**
|
|
14018
|
-
*
|
|
14061
|
+
* Queries the information about all instance types provided by Elastic Compute Service (ECS) and obtains the detailed information about the instance types. You can also query the information about specific instance types based on specific conditions. This helps you understand the configurations and performance of different instance types so that you can select instance types that meet your business requirements.
|
|
14019
14062
|
*
|
|
14020
14063
|
* @remarks
|
|
14021
|
-
* - **
|
|
14022
|
-
* -
|
|
14023
|
-
* >
|
|
14024
|
-
* -
|
|
14064
|
+
* - **Paginated query**: You can set the MaxResults parameter to limit the number of instance types returned in each response. If only a subset of the queried instance types is returned, the NextToken parameter value is also returned. To perform a paginated query, set the NextToken parameter to the value returned by the previous call and set the MaxResults parameter.
|
|
14065
|
+
* - If you call this API operation without passing the NextToken parameter for paginated retrieval, only the first page of data (up to 100 entries) is returned by default. To retrieve more data, pass the NextToken parameter for paginated retrieval or pass filter conditions to limit the returned data range.
|
|
14066
|
+
* > The maximum value of the MaxResults parameter (maximum entries per page) is 100. For users who called this API before 2022, the maximum value of MaxResults remains 1600. On and after November 15, 2023, the maximum value of MaxResults will be reduced to 100 for all users, and 1600 will no longer be supported.
|
|
14067
|
+
* - DescribeInstanceTypes only queries the configuration and performance information of instance types. To query instance types available for purchase in a specific region, use [DescribeAvailableResource](https://help.aliyun.com/document_detail/66186.html).
|
|
14025
14068
|
* <props="china">
|
|
14026
|
-
* - If you require
|
|
14069
|
+
* - If you require instance types that are not publicly available for sale or have special requirements, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex).
|
|
14070
|
+
*
|
|
14027
14071
|
* <props="intl">
|
|
14028
|
-
* - If you require
|
|
14072
|
+
* - If you require instance types that are not publicly available for sale or have special requirements, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket-intl).
|
|
14029
14073
|
*
|
|
14030
14074
|
* @param request - DescribeInstanceTypesRequest
|
|
14031
14075
|
* @returns DescribeInstanceTypesResponse
|
|
@@ -14035,21 +14079,21 @@ class Client extends openapi_core_1.default {
|
|
|
14035
14079
|
return await this.describeInstanceTypesWithOptions(request, runtime);
|
|
14036
14080
|
}
|
|
14037
14081
|
/**
|
|
14038
|
-
* Queries the
|
|
14082
|
+
* Queries the VNC logon URL of an ECS instance.
|
|
14039
14083
|
*
|
|
14040
14084
|
* @remarks
|
|
14041
|
-
* -
|
|
14042
|
-
* > To construct
|
|
14043
|
-
*
|
|
14044
|
-
*
|
|
14045
|
-
*
|
|
14046
|
-
* -
|
|
14047
|
-
* - The
|
|
14048
|
-
* - If the connection is interrupted,
|
|
14049
|
-
*
|
|
14085
|
+
* - The API returns a VNC logon URL (VncUrl) that cannot be used directly. You can access the instance through the **management terminal URL**.
|
|
14086
|
+
* > To construct the management terminal URL, append `vncUrl=\\*\\*\\*\\*`, `instanceId=****`, and `isWindows=true/false` to the end of `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`, and connect the parameters with `&`. Parameters:
|
|
14087
|
+
* >- `vncUrl`: the VNC logon URL.
|
|
14088
|
+
* >- `instanceId`: the instance ID.
|
|
14089
|
+
* >- `isWindows`: specifies whether the operating system of the instance is Windows. A value of `true` indicates Windows. A value of `false` indicates non-Windows.
|
|
14090
|
+
* >- Password-free VNC connections are supported. You do not need to set the `password` parameter.
|
|
14091
|
+
* - The KeepAlive time of a single management terminal URL is 300 seconds. If no interaction occurs within 300 seconds, the connection is automatically closed.
|
|
14092
|
+
* - If the connection is interrupted, call this operation again to obtain a new `VncUrl` and construct a new management terminal URL to reconnect. You can reconnect up to 30 times per minute.
|
|
14093
|
+
* Example management terminal URL:
|
|
14050
14094
|
* ```
|
|
14051
14095
|
* https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
|
|
14052
|
-
*
|
|
14096
|
+
* ```.
|
|
14053
14097
|
*
|
|
14054
14098
|
* @param request - DescribeInstanceVncUrlRequest
|
|
14055
14099
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14093,21 +14137,21 @@ class Client extends openapi_core_1.default {
|
|
|
14093
14137
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInstanceVncUrlResponse({}));
|
|
14094
14138
|
}
|
|
14095
14139
|
/**
|
|
14096
|
-
* Queries the
|
|
14140
|
+
* Queries the VNC logon URL of an ECS instance.
|
|
14097
14141
|
*
|
|
14098
14142
|
* @remarks
|
|
14099
|
-
* -
|
|
14100
|
-
* > To construct
|
|
14101
|
-
*
|
|
14102
|
-
*
|
|
14103
|
-
*
|
|
14104
|
-
* -
|
|
14105
|
-
* - The
|
|
14106
|
-
* - If the connection is interrupted,
|
|
14107
|
-
*
|
|
14143
|
+
* - The API returns a VNC logon URL (VncUrl) that cannot be used directly. You can access the instance through the **management terminal URL**.
|
|
14144
|
+
* > To construct the management terminal URL, append `vncUrl=\\*\\*\\*\\*`, `instanceId=****`, and `isWindows=true/false` to the end of `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`, and connect the parameters with `&`. Parameters:
|
|
14145
|
+
* >- `vncUrl`: the VNC logon URL.
|
|
14146
|
+
* >- `instanceId`: the instance ID.
|
|
14147
|
+
* >- `isWindows`: specifies whether the operating system of the instance is Windows. A value of `true` indicates Windows. A value of `false` indicates non-Windows.
|
|
14148
|
+
* >- Password-free VNC connections are supported. You do not need to set the `password` parameter.
|
|
14149
|
+
* - The KeepAlive time of a single management terminal URL is 300 seconds. If no interaction occurs within 300 seconds, the connection is automatically closed.
|
|
14150
|
+
* - If the connection is interrupted, call this operation again to obtain a new `VncUrl` and construct a new management terminal URL to reconnect. You can reconnect up to 30 times per minute.
|
|
14151
|
+
* Example management terminal URL:
|
|
14108
14152
|
* ```
|
|
14109
14153
|
* https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
|
|
14110
|
-
*
|
|
14154
|
+
* ```.
|
|
14111
14155
|
*
|
|
14112
14156
|
* @param request - DescribeInstanceVncUrlRequest
|
|
14113
14157
|
* @returns DescribeInstanceVncUrlResponse
|
|
@@ -14784,7 +14828,7 @@ class Client extends openapi_core_1.default {
|
|
|
14784
14828
|
return await this.describeLaunchTemplateVersionsWithOptions(request, runtime);
|
|
14785
14829
|
}
|
|
14786
14830
|
/**
|
|
14787
|
-
*
|
|
14831
|
+
* Calls the DescribeLaunchTemplates operation. You can specify parameters such as TemplateTag, TemplateResourceGroupId, and LaunchTemplateId to query information about one or more launch templates, including the total number of launch templates, template creation time, and latest version number.
|
|
14788
14832
|
*
|
|
14789
14833
|
* @param request - DescribeLaunchTemplatesRequest
|
|
14790
14834
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14843,7 +14887,7 @@ class Client extends openapi_core_1.default {
|
|
|
14843
14887
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeLaunchTemplatesResponse({}));
|
|
14844
14888
|
}
|
|
14845
14889
|
/**
|
|
14846
|
-
*
|
|
14890
|
+
* Calls the DescribeLaunchTemplates operation. You can specify parameters such as TemplateTag, TemplateResourceGroupId, and LaunchTemplateId to query information about one or more launch templates, including the total number of launch templates, template creation time, and latest version number.
|
|
14847
14891
|
*
|
|
14848
14892
|
* @param request - DescribeLaunchTemplatesRequest
|
|
14849
14893
|
* @returns DescribeLaunchTemplatesResponse
|
|
@@ -15205,7 +15249,7 @@ class Client extends openapi_core_1.default {
|
|
|
15205
15249
|
return await this.describeNetworkInterfaceAttributeWithOptions(request, runtime);
|
|
15206
15250
|
}
|
|
15207
15251
|
/**
|
|
15208
|
-
*
|
|
15252
|
+
* Queries the list of Elastic Network Interface (ENI) permissions that you have granted to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
15209
15253
|
*
|
|
15210
15254
|
* @param request - DescribeNetworkInterfacePermissionsRequest
|
|
15211
15255
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15261,7 +15305,7 @@ class Client extends openapi_core_1.default {
|
|
|
15261
15305
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeNetworkInterfacePermissionsResponse({}));
|
|
15262
15306
|
}
|
|
15263
15307
|
/**
|
|
15264
|
-
*
|
|
15308
|
+
* Queries the list of Elastic Network Interface (ENI) permissions that you have granted to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
15265
15309
|
*
|
|
15266
15310
|
* @param request - DescribeNetworkInterfacePermissionsRequest
|
|
15267
15311
|
* @returns DescribeNetworkInterfacePermissionsResponse
|
|
@@ -15394,7 +15438,7 @@ class Client extends openapi_core_1.default {
|
|
|
15394
15438
|
return await this.describeNetworkInterfacesWithOptions(request, runtime);
|
|
15395
15439
|
}
|
|
15396
15440
|
/**
|
|
15397
|
-
*
|
|
15441
|
+
* Queries the monitoring data of an Elastic IP Address (EIP) associated with a new project.
|
|
15398
15442
|
*
|
|
15399
15443
|
* @deprecated OpenAPI DescribeNewProjectEipMonitorData is deprecated, please use Vpc::2016-04-28::DescribeEipMonitorData instead.
|
|
15400
15444
|
*
|
|
@@ -15449,7 +15493,7 @@ class Client extends openapi_core_1.default {
|
|
|
15449
15493
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeNewProjectEipMonitorDataResponse({}));
|
|
15450
15494
|
}
|
|
15451
15495
|
/**
|
|
15452
|
-
*
|
|
15496
|
+
* Queries the monitoring data of an Elastic IP Address (EIP) associated with a new project.
|
|
15453
15497
|
*
|
|
15454
15498
|
* @deprecated OpenAPI DescribeNewProjectEipMonitorData is deprecated, please use Vpc::2016-04-28::DescribeEipMonitorData instead.
|
|
15455
15499
|
*
|
|
@@ -15462,7 +15506,7 @@ class Client extends openapi_core_1.default {
|
|
|
15462
15506
|
return await this.describeNewProjectEipMonitorDataWithOptions(request, runtime);
|
|
15463
15507
|
}
|
|
15464
15508
|
/**
|
|
15465
|
-
*
|
|
15509
|
+
* Queries physical connections.
|
|
15466
15510
|
*
|
|
15467
15511
|
* @deprecated OpenAPI DescribePhysicalConnections is deprecated, please use Vpc::2016-04-28::DescribePhysicalConnections instead.
|
|
15468
15512
|
*
|
|
@@ -15520,7 +15564,7 @@ class Client extends openapi_core_1.default {
|
|
|
15520
15564
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePhysicalConnectionsResponse({}));
|
|
15521
15565
|
}
|
|
15522
15566
|
/**
|
|
15523
|
-
*
|
|
15567
|
+
* Queries physical connections.
|
|
15524
15568
|
*
|
|
15525
15569
|
* @deprecated OpenAPI DescribePhysicalConnections is deprecated, please use Vpc::2016-04-28::DescribePhysicalConnections instead.
|
|
15526
15570
|
*
|
|
@@ -15533,12 +15577,12 @@ class Client extends openapi_core_1.default {
|
|
|
15533
15577
|
return await this.describePhysicalConnectionsWithOptions(request, runtime);
|
|
15534
15578
|
}
|
|
15535
15579
|
/**
|
|
15536
|
-
*
|
|
15580
|
+
* Queries O&M windows.
|
|
15537
15581
|
*
|
|
15538
15582
|
* @remarks
|
|
15539
|
-
*
|
|
15540
|
-
* - Maintenance window: A
|
|
15541
|
-
* - Maintenance action:
|
|
15583
|
+
* Queries the configured maintenance policies. Each policy contains two maintenance attributes:
|
|
15584
|
+
* - Maintenance time window: A time period you specify during which O&M operations are performed.
|
|
15585
|
+
* - Maintenance action: The instance downtime handling policy you specify.
|
|
15542
15586
|
*
|
|
15543
15587
|
* @param tmpReq - DescribePlanMaintenanceWindowsRequest
|
|
15544
15588
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15593,12 +15637,12 @@ class Client extends openapi_core_1.default {
|
|
|
15593
15637
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePlanMaintenanceWindowsResponse({}));
|
|
15594
15638
|
}
|
|
15595
15639
|
/**
|
|
15596
|
-
*
|
|
15640
|
+
* Queries O&M windows.
|
|
15597
15641
|
*
|
|
15598
15642
|
* @remarks
|
|
15599
|
-
*
|
|
15600
|
-
* - Maintenance window: A
|
|
15601
|
-
* - Maintenance action:
|
|
15643
|
+
* Queries the configured maintenance policies. Each policy contains two maintenance attributes:
|
|
15644
|
+
* - Maintenance time window: A time period you specify during which O&M operations are performed.
|
|
15645
|
+
* - Maintenance action: The instance downtime handling policy you specify.
|
|
15602
15646
|
*
|
|
15603
15647
|
* @param request - DescribePlanMaintenanceWindowsRequest
|
|
15604
15648
|
* @returns DescribePlanMaintenanceWindowsResponse
|
|
@@ -16309,13 +16353,13 @@ class Client extends openapi_core_1.default {
|
|
|
16309
16353
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
16310
16354
|
}
|
|
16311
16355
|
/**
|
|
16312
|
-
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only
|
|
16356
|
+
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only subscription resources are supported.
|
|
16313
16357
|
*
|
|
16314
16358
|
* @remarks
|
|
16315
|
-
* - Only
|
|
16316
|
-
* -
|
|
16317
|
-
*
|
|
16318
|
-
*
|
|
16359
|
+
* - Only the price for renewing a subscription ECS instance for a specified duration or renewing it to a unified expiration date is supported.
|
|
16360
|
+
* - Note the following when you set the parameters:
|
|
16361
|
+
* - If you set only the required parameters, the price for renewing the instance for one month is returned by default.
|
|
16362
|
+
* - You cannot query the renewal duration price and the unified expiration date price at the same time. The renewal duration parameters (`Period` and `PeriodUnit`) and the unified expiration date parameter (`ExpectedRenewDay`) cannot be set at the same time.
|
|
16319
16363
|
*
|
|
16320
16364
|
* @param request - DescribeRenewalPriceRequest
|
|
16321
16365
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16371,13 +16415,13 @@ class Client extends openapi_core_1.default {
|
|
|
16371
16415
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRenewalPriceResponse({}));
|
|
16372
16416
|
}
|
|
16373
16417
|
/**
|
|
16374
|
-
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only
|
|
16418
|
+
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only subscription resources are supported.
|
|
16375
16419
|
*
|
|
16376
16420
|
* @remarks
|
|
16377
|
-
* - Only
|
|
16378
|
-
* -
|
|
16379
|
-
*
|
|
16380
|
-
*
|
|
16421
|
+
* - Only the price for renewing a subscription ECS instance for a specified duration or renewing it to a unified expiration date is supported.
|
|
16422
|
+
* - Note the following when you set the parameters:
|
|
16423
|
+
* - If you set only the required parameters, the price for renewing the instance for one month is returned by default.
|
|
16424
|
+
* - You cannot query the renewal duration price and the unified expiration date price at the same time. The renewal duration parameters (`Period` and `PeriodUnit`) and the unified expiration date parameter (`ExpectedRenewDay`) cannot be set at the same time.
|
|
16381
16425
|
*
|
|
16382
16426
|
* @param request - DescribeRenewalPriceRequest
|
|
16383
16427
|
* @returns DescribeRenewalPriceResponse
|
|
@@ -17128,10 +17172,10 @@ class Client extends openapi_core_1.default {
|
|
|
17128
17172
|
return await this.describeSecurityGroupAttributeWithOptions(request, runtime);
|
|
17129
17173
|
}
|
|
17130
17174
|
/**
|
|
17131
|
-
* Queries the security groups
|
|
17175
|
+
* Queries the list of other security groups that have been authorized by one or more specified security groups.
|
|
17132
17176
|
*
|
|
17133
17177
|
* @remarks
|
|
17134
|
-
* -
|
|
17178
|
+
* - If you cannot delete a security group ([DeleteSecurityGroup](https://help.aliyun.com/document_detail/25558.html)), you can call this operation to check whether the specified security group has been authorized by other security groups. If the specified security group has been authorized, you can call [RevokeSecurityGroup](https://help.aliyun.com/document_detail/2679855.html) and [RevokeSecurityGroupEgress](https://help.aliyun.com/document_detail/2679856.html) to delete the corresponding security group rules to revoke the authorization.
|
|
17135
17179
|
*
|
|
17136
17180
|
* @param request - DescribeSecurityGroupReferencesRequest
|
|
17137
17181
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17175,10 +17219,10 @@ class Client extends openapi_core_1.default {
|
|
|
17175
17219
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSecurityGroupReferencesResponse({}));
|
|
17176
17220
|
}
|
|
17177
17221
|
/**
|
|
17178
|
-
* Queries the security groups
|
|
17222
|
+
* Queries the list of other security groups that have been authorized by one or more specified security groups.
|
|
17179
17223
|
*
|
|
17180
17224
|
* @remarks
|
|
17181
|
-
* -
|
|
17225
|
+
* - If you cannot delete a security group ([DeleteSecurityGroup](https://help.aliyun.com/document_detail/25558.html)), you can call this operation to check whether the specified security group has been authorized by other security groups. If the specified security group has been authorized, you can call [RevokeSecurityGroup](https://help.aliyun.com/document_detail/2679855.html) and [RevokeSecurityGroupEgress](https://help.aliyun.com/document_detail/2679856.html) to delete the corresponding security group rules to revoke the authorization.
|
|
17182
17226
|
*
|
|
17183
17227
|
* @param request - DescribeSecurityGroupReferencesRequest
|
|
17184
17228
|
* @returns DescribeSecurityGroupReferencesResponse
|
|
@@ -17188,14 +17232,14 @@ class Client extends openapi_core_1.default {
|
|
|
17188
17232
|
return await this.describeSecurityGroupReferencesWithOptions(request, runtime);
|
|
17189
17233
|
}
|
|
17190
17234
|
/**
|
|
17191
|
-
*
|
|
17235
|
+
* This API operation is used to query a list of basic information about security groups. You can query by different parameters such as region, security group ID, and security group type.
|
|
17192
17236
|
*
|
|
17193
17237
|
* @remarks
|
|
17194
|
-
* - **Paged
|
|
17195
|
-
* -
|
|
17196
|
-
* -
|
|
17197
|
-
* - When
|
|
17198
|
-
* - When
|
|
17238
|
+
* - **Paged queries**: We recommend that you use the `MaxResults` and `NextToken` parameters for queries.
|
|
17239
|
+
* - When the response does not contain `NextToken`, the current page is the last page and no more pages are available.
|
|
17240
|
+
* - When querying the first page, you only need to set `MaxResults` to limit the number of entries returned. The `NextToken` in the response is used as the token for querying subsequent pages.
|
|
17241
|
+
* - When querying subsequent pages, set the `NextToken` parameter to the `NextToken` value obtained from the previous response as the query token, and set `MaxResults` to limit the number of entries returned.
|
|
17242
|
+
* - When calling the API through Alibaba Cloud CLI, the values of request parameters of different data types must follow certain format requirements. For more information, see [CLI parameter format description](https://help.aliyun.com/document_detail/110340.html).
|
|
17199
17243
|
*
|
|
17200
17244
|
* @param request - DescribeSecurityGroupsRequest
|
|
17201
17245
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17284,14 +17328,14 @@ class Client extends openapi_core_1.default {
|
|
|
17284
17328
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSecurityGroupsResponse({}));
|
|
17285
17329
|
}
|
|
17286
17330
|
/**
|
|
17287
|
-
*
|
|
17331
|
+
* This API operation is used to query a list of basic information about security groups. You can query by different parameters such as region, security group ID, and security group type.
|
|
17288
17332
|
*
|
|
17289
17333
|
* @remarks
|
|
17290
|
-
* - **Paged
|
|
17291
|
-
* -
|
|
17292
|
-
* -
|
|
17293
|
-
* - When
|
|
17294
|
-
* - When
|
|
17334
|
+
* - **Paged queries**: We recommend that you use the `MaxResults` and `NextToken` parameters for queries.
|
|
17335
|
+
* - When the response does not contain `NextToken`, the current page is the last page and no more pages are available.
|
|
17336
|
+
* - When querying the first page, you only need to set `MaxResults` to limit the number of entries returned. The `NextToken` in the response is used as the token for querying subsequent pages.
|
|
17337
|
+
* - When querying subsequent pages, set the `NextToken` parameter to the `NextToken` value obtained from the previous response as the query token, and set `MaxResults` to limit the number of entries returned.
|
|
17338
|
+
* - When calling the API through Alibaba Cloud CLI, the values of request parameters of different data types must follow certain format requirements. For more information, see [CLI parameter format description](https://help.aliyun.com/document_detail/110340.html).
|
|
17295
17339
|
*
|
|
17296
17340
|
* @param request - DescribeSecurityGroupsRequest
|
|
17297
17341
|
* @returns DescribeSecurityGroupsResponse
|
|
@@ -17481,13 +17525,13 @@ class Client extends openapi_core_1.default {
|
|
|
17481
17525
|
return await this.describeSnapshotGroupsWithOptions(request, runtime);
|
|
17482
17526
|
}
|
|
17483
17527
|
/**
|
|
17484
|
-
* Queries
|
|
17528
|
+
* Queries snapshot chains of disks. A snapshot chain consists of all snapshots of a disk. Each disk corresponds to one snapshot chain.
|
|
17485
17529
|
*
|
|
17486
17530
|
* @remarks
|
|
17487
|
-
* ##
|
|
17488
|
-
*
|
|
17489
|
-
* -
|
|
17490
|
-
* -
|
|
17531
|
+
* ## Operation description
|
|
17532
|
+
* When you call this operation, take note of the following items:
|
|
17533
|
+
* - The request parameters such as `RegionId`, `DiskIds`, and `InstanceId` act as filters. Logical AND is used between these parameters.
|
|
17534
|
+
* - If you do not specify any parameters, the filters do not take effect. If `DiskIds` and `SnapshotLinkIds` are both empty arrays, the filters are considered valid, but the response is empty.
|
|
17491
17535
|
*
|
|
17492
17536
|
* @param request - DescribeSnapshotLinksRequest
|
|
17493
17537
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17549,13 +17593,13 @@ class Client extends openapi_core_1.default {
|
|
|
17549
17593
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSnapshotLinksResponse({}));
|
|
17550
17594
|
}
|
|
17551
17595
|
/**
|
|
17552
|
-
* Queries
|
|
17596
|
+
* Queries snapshot chains of disks. A snapshot chain consists of all snapshots of a disk. Each disk corresponds to one snapshot chain.
|
|
17553
17597
|
*
|
|
17554
17598
|
* @remarks
|
|
17555
|
-
* ##
|
|
17556
|
-
*
|
|
17557
|
-
* -
|
|
17558
|
-
* -
|
|
17599
|
+
* ## Operation description
|
|
17600
|
+
* When you call this operation, take note of the following items:
|
|
17601
|
+
* - The request parameters such as `RegionId`, `DiskIds`, and `InstanceId` act as filters. Logical AND is used between these parameters.
|
|
17602
|
+
* - If you do not specify any parameters, the filters do not take effect. If `DiskIds` and `SnapshotLinkIds` are both empty arrays, the filters are considered valid, but the response is empty.
|
|
17559
17603
|
*
|
|
17560
17604
|
* @param request - DescribeSnapshotLinksRequest
|
|
17561
17605
|
* @returns DescribeSnapshotLinksResponse
|
|
@@ -18353,10 +18397,10 @@ class Client extends openapi_core_1.default {
|
|
|
18353
18397
|
return await this.describeStorageSetsWithOptions(request, runtime);
|
|
18354
18398
|
}
|
|
18355
18399
|
/**
|
|
18356
|
-
* You can query for tags
|
|
18400
|
+
* Queries tags available to you. You can perform a conditional query for tags based on resource type, resource ID, tag key, or tag value. The filter conditions are evaluated by using a logical AND (&&) operator, and only tags that meet all filter conditions are returned.
|
|
18357
18401
|
*
|
|
18358
18402
|
* @remarks
|
|
18359
|
-
*
|
|
18403
|
+
* If you specify a tag key (Tag.N.Key) without specifying a tag value (Tag.N.Value), all tag key-value pairs associated with the tag key are returned. If you specify a tag key-value pair, only the tag that is an exact match of the key-value pair is returned.
|
|
18360
18404
|
*
|
|
18361
18405
|
* @deprecated OpenAPI DescribeTags is deprecated, please use Tag::2018-08-28::CountResourcesByTags instead.
|
|
18362
18406
|
*
|
|
@@ -18414,10 +18458,10 @@ class Client extends openapi_core_1.default {
|
|
|
18414
18458
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTagsResponse({}));
|
|
18415
18459
|
}
|
|
18416
18460
|
/**
|
|
18417
|
-
* You can query for tags
|
|
18461
|
+
* Queries tags available to you. You can perform a conditional query for tags based on resource type, resource ID, tag key, or tag value. The filter conditions are evaluated by using a logical AND (&&) operator, and only tags that meet all filter conditions are returned.
|
|
18418
18462
|
*
|
|
18419
18463
|
* @remarks
|
|
18420
|
-
*
|
|
18464
|
+
* If you specify a tag key (Tag.N.Key) without specifying a tag value (Tag.N.Value), all tag key-value pairs associated with the tag key are returned. If you specify a tag key-value pair, only the tag that is an exact match of the key-value pair is returned.
|
|
18421
18465
|
*
|
|
18422
18466
|
* @deprecated OpenAPI DescribeTags is deprecated, please use Tag::2018-08-28::CountResourcesByTags instead.
|
|
18423
18467
|
*
|
|
@@ -18430,7 +18474,7 @@ class Client extends openapi_core_1.default {
|
|
|
18430
18474
|
return await this.describeTagsWithOptions(request, runtime);
|
|
18431
18475
|
}
|
|
18432
18476
|
/**
|
|
18433
|
-
* Queries the details of an asynchronous task.
|
|
18477
|
+
* Queries the details of an asynchronous task. Currently, the asynchronous tasks that can be queried include ImportImage, ExportImage, and ModifyDiskSpec.
|
|
18434
18478
|
*
|
|
18435
18479
|
* @param request - DescribeTaskAttributeRequest
|
|
18436
18480
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18471,7 +18515,7 @@ class Client extends openapi_core_1.default {
|
|
|
18471
18515
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTaskAttributeResponse({}));
|
|
18472
18516
|
}
|
|
18473
18517
|
/**
|
|
18474
|
-
* Queries the details of an asynchronous task.
|
|
18518
|
+
* Queries the details of an asynchronous task. Currently, the asynchronous tasks that can be queried include ImportImage, ExportImage, and ModifyDiskSpec.
|
|
18475
18519
|
*
|
|
18476
18520
|
* @param request - DescribeTaskAttributeRequest
|
|
18477
18521
|
* @returns DescribeTaskAttributeResponse
|
|
@@ -18945,7 +18989,7 @@ class Client extends openapi_core_1.default {
|
|
|
18945
18989
|
return await this.describeVirtualBorderRoutersWithOptions(request, runtime);
|
|
18946
18990
|
}
|
|
18947
18991
|
/**
|
|
18948
|
-
* DescribeVirtualBorderRoutersForPhysicalConnection
|
|
18992
|
+
* DescribeVirtualBorderRoutersForPhysicalConnection.
|
|
18949
18993
|
*
|
|
18950
18994
|
* @deprecated OpenAPI DescribeVirtualBorderRoutersForPhysicalConnection is deprecated, please use Vpc::2016-04-28::DescribeVirtualBorderRoutersForPhysicalConnection instead.
|
|
18951
18995
|
*
|
|
@@ -18997,7 +19041,7 @@ class Client extends openapi_core_1.default {
|
|
|
18997
19041
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVirtualBorderRoutersForPhysicalConnectionResponse({}));
|
|
18998
19042
|
}
|
|
18999
19043
|
/**
|
|
19000
|
-
* DescribeVirtualBorderRoutersForPhysicalConnection
|
|
19044
|
+
* DescribeVirtualBorderRoutersForPhysicalConnection.
|
|
19001
19045
|
*
|
|
19002
19046
|
* @deprecated OpenAPI DescribeVirtualBorderRoutersForPhysicalConnection is deprecated, please use Vpc::2016-04-28::DescribeVirtualBorderRoutersForPhysicalConnection instead.
|
|
19003
19047
|
*
|
|
@@ -19404,12 +19448,12 @@ class Client extends openapi_core_1.default {
|
|
|
19404
19448
|
return await this.detachInstanceRamRoleWithOptions(request, runtime);
|
|
19405
19449
|
}
|
|
19406
19450
|
/**
|
|
19407
|
-
* Unbinds
|
|
19451
|
+
* Unbinds SSH key pairs from one or more Linux instances.
|
|
19408
19452
|
*
|
|
19409
19453
|
* @remarks
|
|
19410
|
-
*
|
|
19411
|
-
* -
|
|
19412
|
-
* -
|
|
19454
|
+
* Take note of the following items when you call this operation:
|
|
19455
|
+
* - After you unbind an SSH key pair, restart the instance ([RebootInstance](https://help.aliyun.com/document_detail/25502.html)) for the changes to take effect.
|
|
19456
|
+
* - After you unbind an SSH key pair, the instance uses the username and password authentication method by default.
|
|
19413
19457
|
*
|
|
19414
19458
|
* @param request - DetachKeyPairRequest
|
|
19415
19459
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19453,12 +19497,12 @@ class Client extends openapi_core_1.default {
|
|
|
19453
19497
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DetachKeyPairResponse({}));
|
|
19454
19498
|
}
|
|
19455
19499
|
/**
|
|
19456
|
-
* Unbinds
|
|
19500
|
+
* Unbinds SSH key pairs from one or more Linux instances.
|
|
19457
19501
|
*
|
|
19458
19502
|
* @remarks
|
|
19459
|
-
*
|
|
19460
|
-
* -
|
|
19461
|
-
* -
|
|
19503
|
+
* Take note of the following items when you call this operation:
|
|
19504
|
+
* - After you unbind an SSH key pair, restart the instance ([RebootInstance](https://help.aliyun.com/document_detail/25502.html)) for the changes to take effect.
|
|
19505
|
+
* - After you unbind an SSH key pair, the instance uses the username and password authentication method by default.
|
|
19462
19506
|
*
|
|
19463
19507
|
* @param request - DetachKeyPairRequest
|
|
19464
19508
|
* @returns DetachKeyPairResponse
|
|
@@ -19873,7 +19917,7 @@ class Client extends openapi_core_1.default {
|
|
|
19873
19917
|
return await this.enableNetworkInterfaceQoSWithOptions(request, runtime);
|
|
19874
19918
|
}
|
|
19875
19919
|
/**
|
|
19876
|
-
*
|
|
19920
|
+
* Enables a physical connection.
|
|
19877
19921
|
*
|
|
19878
19922
|
* @deprecated OpenAPI EnablePhysicalConnection is deprecated, please use Vpc::2016-04-28::EnablePhysicalConnection instead.
|
|
19879
19923
|
*
|
|
@@ -19925,7 +19969,7 @@ class Client extends openapi_core_1.default {
|
|
|
19925
19969
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnablePhysicalConnectionResponse({}));
|
|
19926
19970
|
}
|
|
19927
19971
|
/**
|
|
19928
|
-
*
|
|
19972
|
+
* Enables a physical connection.
|
|
19929
19973
|
*
|
|
19930
19974
|
* @deprecated OpenAPI EnablePhysicalConnection is deprecated, please use Vpc::2016-04-28::EnablePhysicalConnection instead.
|
|
19931
19975
|
*
|
|
@@ -19938,11 +19982,11 @@ class Client extends openapi_core_1.default {
|
|
|
19938
19982
|
return await this.enablePhysicalConnectionWithOptions(request, runtime);
|
|
19939
19983
|
}
|
|
19940
19984
|
/**
|
|
19941
|
-
* Permanently closes a session.
|
|
19985
|
+
* Permanently closes the data connection of a specified session.
|
|
19942
19986
|
*
|
|
19943
19987
|
* @remarks
|
|
19944
|
-
* -
|
|
19945
|
-
* - The WebSocket URL
|
|
19988
|
+
* - Closes the data connection of a specified session. The session can no longer be used.
|
|
19989
|
+
* - The WebSocket URL associated with the session also becomes invalid and can no longer be used.
|
|
19946
19990
|
*
|
|
19947
19991
|
* @param request - EndTerminalSessionRequest
|
|
19948
19992
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19986,11 +20030,11 @@ class Client extends openapi_core_1.default {
|
|
|
19986
20030
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EndTerminalSessionResponse({}));
|
|
19987
20031
|
}
|
|
19988
20032
|
/**
|
|
19989
|
-
* Permanently closes a session.
|
|
20033
|
+
* Permanently closes the data connection of a specified session.
|
|
19990
20034
|
*
|
|
19991
20035
|
* @remarks
|
|
19992
|
-
* -
|
|
19993
|
-
* - The WebSocket URL
|
|
20036
|
+
* - Closes the data connection of a specified session. The session can no longer be used.
|
|
20037
|
+
* - The WebSocket URL associated with the session also becomes invalid and can no longer be used.
|
|
19994
20038
|
*
|
|
19995
20039
|
* @param request - EndTerminalSessionRequest
|
|
19996
20040
|
* @returns EndTerminalSessionResponse
|
|
@@ -20218,12 +20262,12 @@ class Client extends openapi_core_1.default {
|
|
|
20218
20262
|
return await this.exportSnapshotWithOptions(request, runtime);
|
|
20219
20263
|
}
|
|
20220
20264
|
/**
|
|
20221
|
-
*
|
|
20265
|
+
* Retrieves the system command line output of an instance. The data is returned in Base64 encoding.
|
|
20222
20266
|
*
|
|
20223
20267
|
* @remarks
|
|
20224
|
-
* - ECS is a
|
|
20225
|
-
* -
|
|
20226
|
-
* -
|
|
20268
|
+
* - Elastic Compute Service (ECS) is a virtualization-based cloud server that cannot be connected to display devices or manually screenshotted. However, Alibaba Cloud caches the system command line output from the last time an instance was started, restarted, or shut down. You can invoke GetInstanceConsoleOutput to retrieve this output.
|
|
20269
|
+
* - System command line output cannot be retrieved for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
20270
|
+
* - Windows instances do not support retrieving system command line output.
|
|
20227
20271
|
*
|
|
20228
20272
|
* @param request - GetInstanceConsoleOutputRequest
|
|
20229
20273
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20273,12 +20317,12 @@ class Client extends openapi_core_1.default {
|
|
|
20273
20317
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetInstanceConsoleOutputResponse({}));
|
|
20274
20318
|
}
|
|
20275
20319
|
/**
|
|
20276
|
-
*
|
|
20320
|
+
* Retrieves the system command line output of an instance. The data is returned in Base64 encoding.
|
|
20277
20321
|
*
|
|
20278
20322
|
* @remarks
|
|
20279
|
-
* - ECS is a
|
|
20280
|
-
* -
|
|
20281
|
-
* -
|
|
20323
|
+
* - Elastic Compute Service (ECS) is a virtualization-based cloud server that cannot be connected to display devices or manually screenshotted. However, Alibaba Cloud caches the system command line output from the last time an instance was started, restarted, or shut down. You can invoke GetInstanceConsoleOutput to retrieve this output.
|
|
20324
|
+
* - System command line output cannot be retrieved for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
20325
|
+
* - Windows instances do not support retrieving system command line output.
|
|
20282
20326
|
*
|
|
20283
20327
|
* @param request - GetInstanceConsoleOutputRequest
|
|
20284
20328
|
* @returns GetInstanceConsoleOutputResponse
|
|
@@ -20288,13 +20332,13 @@ class Client extends openapi_core_1.default {
|
|
|
20288
20332
|
return await this.getInstanceConsoleOutputWithOptions(request, runtime);
|
|
20289
20333
|
}
|
|
20290
20334
|
/**
|
|
20291
|
-
*
|
|
20335
|
+
* Calls GetInstanceScreenshot to obtain the screenshot information of an instance.
|
|
20292
20336
|
*
|
|
20293
20337
|
* @remarks
|
|
20294
|
-
* After ECS returns
|
|
20338
|
+
* After Elastic Compute Service (ECS) returns the instance screenshot as a Base64-encoded JPG image, you must decode it yourself. You can call this operation when troubleshooting faults. Note the following items:
|
|
20295
20339
|
* - The instance must be in the Running state.
|
|
20296
|
-
* -
|
|
20297
|
-
* - If you call this operation
|
|
20340
|
+
* - You cannot obtain screenshot information for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
20341
|
+
* - If you call this operation multiple times on the same instance, the interval between calls must be at least 10 seconds. Otherwise, the `Throttling` error code is returned.
|
|
20298
20342
|
*
|
|
20299
20343
|
* @param request - GetInstanceScreenshotRequest
|
|
20300
20344
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20344,13 +20388,13 @@ class Client extends openapi_core_1.default {
|
|
|
20344
20388
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetInstanceScreenshotResponse({}));
|
|
20345
20389
|
}
|
|
20346
20390
|
/**
|
|
20347
|
-
*
|
|
20391
|
+
* Calls GetInstanceScreenshot to obtain the screenshot information of an instance.
|
|
20348
20392
|
*
|
|
20349
20393
|
* @remarks
|
|
20350
|
-
* After ECS returns
|
|
20394
|
+
* After Elastic Compute Service (ECS) returns the instance screenshot as a Base64-encoded JPG image, you must decode it yourself. You can call this operation when troubleshooting faults. Note the following items:
|
|
20351
20395
|
* - The instance must be in the Running state.
|
|
20352
|
-
* -
|
|
20353
|
-
* - If you call this operation
|
|
20396
|
+
* - You cannot obtain screenshot information for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
20397
|
+
* - If you call this operation multiple times on the same instance, the interval between calls must be at least 10 seconds. Otherwise, the `Throttling` error code is returned.
|
|
20354
20398
|
*
|
|
20355
20399
|
* @param request - GetInstanceScreenshotRequest
|
|
20356
20400
|
* @returns GetInstanceScreenshotResponse
|
|
@@ -20360,99 +20404,101 @@ class Client extends openapi_core_1.default {
|
|
|
20360
20404
|
return await this.getInstanceScreenshotWithOptions(request, runtime);
|
|
20361
20405
|
}
|
|
20362
20406
|
/**
|
|
20363
|
-
*
|
|
20407
|
+
* Imports a local image file to Elastic Compute Service (ECS) as a custom image that appears in the specified region. You can then use the imported image to create ECS instances (RunInstances) or replace the system disk of an instance (ReplaceSystemDisk).
|
|
20364
20408
|
*
|
|
20365
20409
|
* @remarks
|
|
20366
|
-
* ###
|
|
20367
|
-
* When you call this operation, note the following:
|
|
20368
|
-
* - You must upload the image file to Object Storage Service (OSS). For more information, see [Upload files](https://help.aliyun.com/document_detail/31886.html).
|
|
20369
|
-
* - To
|
|
20370
|
-
* - When you import an image for the first time, you must
|
|
20371
|
-
* - **Import an image file without using
|
|
20372
|
-
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this name. Otherwise, the image import fails.
|
|
20373
|
-
*
|
|
20374
|
-
*
|
|
20375
|
-
*
|
|
20376
|
-
*
|
|
20377
|
-
*
|
|
20378
|
-
*
|
|
20379
|
-
*
|
|
20380
|
-
*
|
|
20381
|
-
*
|
|
20382
|
-
*
|
|
20383
|
-
*
|
|
20384
|
-
*
|
|
20385
|
-
*
|
|
20386
|
-
*
|
|
20387
|
-
*
|
|
20388
|
-
*
|
|
20389
|
-
* 2. Attach the `AliyunECSImageImportRolePolicy`
|
|
20390
|
-
*
|
|
20391
|
-
*
|
|
20392
|
-
*
|
|
20393
|
-
*
|
|
20394
|
-
*
|
|
20395
|
-
*
|
|
20396
|
-
*
|
|
20397
|
-
*
|
|
20398
|
-
*
|
|
20399
|
-
*
|
|
20400
|
-
*
|
|
20401
|
-
*
|
|
20402
|
-
*
|
|
20403
|
-
*
|
|
20404
|
-
*
|
|
20405
|
-
*
|
|
20406
|
-
*
|
|
20407
|
-
*
|
|
20408
|
-
*
|
|
20409
|
-
*
|
|
20410
|
-
*
|
|
20411
|
-
*
|
|
20412
|
-
*
|
|
20413
|
-
*
|
|
20414
|
-
*
|
|
20415
|
-
*
|
|
20416
|
-
*
|
|
20417
|
-
*
|
|
20418
|
-
*
|
|
20419
|
-
*
|
|
20420
|
-
*
|
|
20421
|
-
*
|
|
20422
|
-
*
|
|
20423
|
-
*
|
|
20424
|
-
*
|
|
20425
|
-
*
|
|
20426
|
-
*
|
|
20427
|
-
*
|
|
20428
|
-
*
|
|
20429
|
-
*
|
|
20430
|
-
*
|
|
20431
|
-
*
|
|
20432
|
-
*
|
|
20433
|
-
*
|
|
20434
|
-
*
|
|
20435
|
-
*
|
|
20436
|
-
*
|
|
20437
|
-
*
|
|
20438
|
-
*
|
|
20439
|
-
*
|
|
20440
|
-
*
|
|
20441
|
-
*
|
|
20442
|
-
*
|
|
20443
|
-
* -
|
|
20444
|
-
* -
|
|
20445
|
-
*
|
|
20446
|
-
*
|
|
20447
|
-
* -
|
|
20448
|
-
*
|
|
20449
|
-
*
|
|
20450
|
-
*
|
|
20451
|
-
* -
|
|
20452
|
-
*
|
|
20453
|
-
*
|
|
20454
|
-
*
|
|
20455
|
-
*
|
|
20410
|
+
* ### Operation description
|
|
20411
|
+
* When you call this operation, take note of the following items:
|
|
20412
|
+
* - You must upload the image file to Object Storage Service (OSS) in advance. For more information, see [Upload files](https://help.aliyun.com/document_detail/31886.html).
|
|
20413
|
+
* - To prevent ECS instances created from the imported custom image from failing to start due to operating system issues on some servers, virtual machines, or cloud hosts, check whether you need to install the virtio driver on the source server before importing the image. For more information, see [Install the virtio driver](https://help.aliyun.com/document_detail/62423.html).
|
|
20414
|
+
* - When you import an image for the first time, you must authorize ECS to access your OSS bucket by using Resource Access Management (RAM). Otherwise, the `NoSetRoletoECSServiceAccount` or `InvalidOperation.CloudBoxImageImportRoleRequired` error is returned. The following two scenarios apply:
|
|
20415
|
+
* - **Import an image file without using CloudBox**: You can complete RAM authorization in the RAM console with a single click. For more information, see [Cloud resource access authorization](https://ram.console.aliyun.com/?spm=5176.2020520101image.0.0.2ffa4df57kSoHX#/role/authorize?request=%7B%22Requests%22%3A%20%7B%22request1%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageImportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSImportRole%22%7D%2C%20%22request2%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageExportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSExportRole%22%7D%7D%2C%20%22ReturnUrl%22%3A%20%22https%3A//ecs.console.aliyun.com/%22%2C%20%22Service%22%3A%20%22ECS%22%7D). You can also manually complete RAM authorization. The following policies and permissions are required for some operations. For more information, see [Account access control](https://help.aliyun.com/document_detail/25481.html).
|
|
20416
|
+
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
20417
|
+
* ```
|
|
20418
|
+
* {
|
|
20419
|
+
* "Statement": [
|
|
20420
|
+
* {
|
|
20421
|
+
* "Action": "sts:AssumeRole",
|
|
20422
|
+
* "Effect": "Allow",
|
|
20423
|
+
* "Principal": {
|
|
20424
|
+
* "Service": [
|
|
20425
|
+
* "ecs.aliyuncs.com"
|
|
20426
|
+
* ]
|
|
20427
|
+
* }
|
|
20428
|
+
* }
|
|
20429
|
+
* ],
|
|
20430
|
+
* "Version": "1"
|
|
20431
|
+
* }
|
|
20432
|
+
* ```
|
|
20433
|
+
* 2. Attach the system policy `AliyunECSImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
20434
|
+
* ```
|
|
20435
|
+
* {
|
|
20436
|
+
* "Version": "1",
|
|
20437
|
+
* "Statement": [
|
|
20438
|
+
* {
|
|
20439
|
+
* "Action": [
|
|
20440
|
+
* "oss:GetObject",
|
|
20441
|
+
* "oss:GetBucketLocation",
|
|
20442
|
+
* "oss:GetBucketInfo"
|
|
20443
|
+
* ],
|
|
20444
|
+
* "Resource": "*",
|
|
20445
|
+
* "Effect": "Allow"
|
|
20446
|
+
* }
|
|
20447
|
+
* ]
|
|
20448
|
+
* }
|
|
20449
|
+
*
|
|
20450
|
+
* ```
|
|
20451
|
+
* - **Import an image file by using CloudBox**: You can complete RAM authorization in the RAM console with a single click. For more information, see [Cloud resource access authorization](https://ram.console.aliyun.com/role/authorize?request=%7B%22ReturnUrl%22%3A%22https%3A%2F%2Fecs.console.aliyun.com%2F%22%2C%22Services%22%3A%5B%7B%22Roles%22%3A%5B%7B%22RoleName%22%3A%22AliyunECSCloudBoxImageImportDefaultRole%22%2C%22TemplateId%22%3A%22AliyunECSCloudBoxImageImportDefaultRole%22%7D%5D%2C%22Service%22%3A%22ECS%22%7D%5D%7D). You can also manually complete RAM authorization. The following policies and permissions are required for some operations. For more information, see [Account access control](https://help.aliyun.com/document_detail/25481.html).
|
|
20452
|
+
* 1. Create a role named `AliyunECSCloudBoxImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
20453
|
+
* ```
|
|
20454
|
+
* {
|
|
20455
|
+
* "Statement": [
|
|
20456
|
+
* {
|
|
20457
|
+
* "Action": "sts:AssumeRole",
|
|
20458
|
+
* "Effect": "Allow",
|
|
20459
|
+
* "Principal": {
|
|
20460
|
+
* "Service": [
|
|
20461
|
+
* "ecs.aliyuncs.com"
|
|
20462
|
+
* ]
|
|
20463
|
+
* }
|
|
20464
|
+
* }
|
|
20465
|
+
* ],
|
|
20466
|
+
* "Version": "1"
|
|
20467
|
+
* }
|
|
20468
|
+
* ```
|
|
20469
|
+
* 2. Attach the system policy `AliyunECSCloudBoxImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
20470
|
+
* ```
|
|
20471
|
+
* {
|
|
20472
|
+
* "Version": "1",
|
|
20473
|
+
* "Statement": [
|
|
20474
|
+
* {
|
|
20475
|
+
* "Action": [
|
|
20476
|
+
* "oss-cloudbox:GetObject",
|
|
20477
|
+
* "oss-cloudbox:GetBucketLocation",
|
|
20478
|
+
* "oss-cloudbox:GetBucketInfo"
|
|
20479
|
+
* ],
|
|
20480
|
+
* "Resource": "*",
|
|
20481
|
+
* "Effect": "Allow"
|
|
20482
|
+
* }
|
|
20483
|
+
* ]
|
|
20484
|
+
* }
|
|
20485
|
+
*
|
|
20486
|
+
* ```
|
|
20487
|
+
* - You cannot delete an image that is being imported. You can only call [CancelTask](https://help.aliyun.com/document_detail/25624.html) to cancel the image import task.
|
|
20488
|
+
* - The region into which you import the image must be the same as the region of the OSS bucket to which the image file is uploaded.
|
|
20489
|
+
* - Valid values of N in the `DiskDeviceMapping.N` parameter: 1 to 17. When N is 1, the disk is a system disk. When N is 2 to 17, the disk is a data disk. When N is greater than 17, the system automatically ignores the value.
|
|
20490
|
+
* - When the `Architecture` parameter is set to `arm64`, or the `Platform` parameter is set to `CentOS Stream`, `Anolis`, `AlmaLinux`, `UOS`, `Kylin`, or `Rocky Linux`, take note of the following items:
|
|
20491
|
+
* - To ensure that the imported image supports password configuration or key pair modification, the image must meet the following requirements:
|
|
20492
|
+
* - The operating system kernel must support the `CONFIG_FW_CFG_SYSFS` feature. Linux community kernels later than version 4.6 support this feature by default. CentOS kernels later than version 3.10.0-826.el7 support this feature by default. You can run the `grep -nr CONFIG_FW_CFG_SYSFS /boot/config-$(uname -r)` command on the server that corresponds to the image. If the output contains `CONFIG_FW_CFG_SYSFS=y`, the kernel in the image supports the `CONFIG_FW_CFG_SYSFS` feature.
|
|
20493
|
+
* - The latest version of Alibaba Cloud cloud-init is installed on the operating system. Cloud-init 19.1 must Milvus version 19.1.3 or later. Cloud-init 0.7.6a on some earlier operating systems must Milvus version 0.7.6a15 or later. For more information, see [Install cloud-init](https://help.aliyun.com/document_detail/57803.html).
|
|
20494
|
+
* - The operating system must support the SHA-512 encryption algorithm.
|
|
20495
|
+
* - To ensure that the imported image supports disk resizing and file system resizing, the image must meet the following requirements:
|
|
20496
|
+
* - The operating system kernel version must be later than 3.6.
|
|
20497
|
+
* - The growpart command is supported. To support this command, install the `cloud-utils-growpart` package. The installation method varies by operating system. For more information, see [Resize partitions and file systems (Linux)](~~2949817#bb3b1f02e51pj~~).
|
|
20498
|
+
* - The resize2fs command is supported. To support this command, install the `e2fsprogs` package. This package is installed by default on the operating system. If it is not installed, install it manually.
|
|
20499
|
+
* - The latest version of Alibaba Cloud cloud-init is installed on the operating system. Cloud-init 19.1 must Milvus version 19.1.3 or later. Cloud-init 0.7.6a on some earlier operating systems must Milvus version 0.7.6a15 or later. For more information, see [Install cloud-init](https://help.aliyun.com/document_detail/57803.html).
|
|
20500
|
+
* - If the system architecture of the custom image that you want to import is arm64, set the RTC clock to use the UTC time standard. For more information, see [Linux time and time zone description](https://help.aliyun.com/document_detail/405080.html).
|
|
20501
|
+
* - Configure the image detection parameters when you import an image. This helps the system optimize your image. For more information, see [Image detection overview](https://help.aliyun.com/document_detail/439819.html).
|
|
20456
20502
|
*
|
|
20457
20503
|
* @param request - ImportImageRequest
|
|
20458
20504
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20538,99 +20584,101 @@ class Client extends openapi_core_1.default {
|
|
|
20538
20584
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportImageResponse({}));
|
|
20539
20585
|
}
|
|
20540
20586
|
/**
|
|
20541
|
-
*
|
|
20587
|
+
* Imports a local image file to Elastic Compute Service (ECS) as a custom image that appears in the specified region. You can then use the imported image to create ECS instances (RunInstances) or replace the system disk of an instance (ReplaceSystemDisk).
|
|
20542
20588
|
*
|
|
20543
20589
|
* @remarks
|
|
20544
|
-
* ###
|
|
20545
|
-
* When you call this operation, note the following:
|
|
20546
|
-
* - You must upload the image file to Object Storage Service (OSS). For more information, see [Upload files](https://help.aliyun.com/document_detail/31886.html).
|
|
20547
|
-
* - To
|
|
20548
|
-
* - When you import an image for the first time, you must
|
|
20549
|
-
* - **Import an image file without using
|
|
20550
|
-
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this name. Otherwise, the image import fails.
|
|
20551
|
-
*
|
|
20552
|
-
*
|
|
20553
|
-
*
|
|
20554
|
-
*
|
|
20555
|
-
*
|
|
20556
|
-
*
|
|
20557
|
-
*
|
|
20558
|
-
*
|
|
20559
|
-
*
|
|
20560
|
-
*
|
|
20561
|
-
*
|
|
20562
|
-
*
|
|
20563
|
-
*
|
|
20564
|
-
*
|
|
20565
|
-
*
|
|
20566
|
-
*
|
|
20567
|
-
* 2. Attach the `AliyunECSImageImportRolePolicy`
|
|
20568
|
-
*
|
|
20569
|
-
*
|
|
20570
|
-
*
|
|
20571
|
-
*
|
|
20572
|
-
*
|
|
20573
|
-
*
|
|
20574
|
-
*
|
|
20575
|
-
*
|
|
20576
|
-
*
|
|
20577
|
-
*
|
|
20578
|
-
*
|
|
20579
|
-
*
|
|
20580
|
-
*
|
|
20581
|
-
*
|
|
20582
|
-
*
|
|
20583
|
-
*
|
|
20584
|
-
*
|
|
20585
|
-
*
|
|
20586
|
-
*
|
|
20587
|
-
*
|
|
20588
|
-
*
|
|
20589
|
-
*
|
|
20590
|
-
*
|
|
20591
|
-
*
|
|
20592
|
-
*
|
|
20593
|
-
*
|
|
20594
|
-
*
|
|
20595
|
-
*
|
|
20596
|
-
*
|
|
20597
|
-
*
|
|
20598
|
-
*
|
|
20599
|
-
*
|
|
20600
|
-
*
|
|
20601
|
-
*
|
|
20602
|
-
*
|
|
20603
|
-
*
|
|
20604
|
-
*
|
|
20605
|
-
*
|
|
20606
|
-
*
|
|
20607
|
-
*
|
|
20608
|
-
*
|
|
20609
|
-
*
|
|
20610
|
-
*
|
|
20611
|
-
*
|
|
20612
|
-
*
|
|
20613
|
-
*
|
|
20614
|
-
*
|
|
20615
|
-
*
|
|
20616
|
-
*
|
|
20617
|
-
*
|
|
20618
|
-
*
|
|
20619
|
-
*
|
|
20620
|
-
*
|
|
20621
|
-
* -
|
|
20622
|
-
* -
|
|
20623
|
-
*
|
|
20624
|
-
*
|
|
20625
|
-
* -
|
|
20626
|
-
*
|
|
20627
|
-
*
|
|
20628
|
-
*
|
|
20629
|
-
* -
|
|
20630
|
-
*
|
|
20631
|
-
*
|
|
20632
|
-
*
|
|
20633
|
-
*
|
|
20590
|
+
* ### Operation description
|
|
20591
|
+
* When you call this operation, take note of the following items:
|
|
20592
|
+
* - You must upload the image file to Object Storage Service (OSS) in advance. For more information, see [Upload files](https://help.aliyun.com/document_detail/31886.html).
|
|
20593
|
+
* - To prevent ECS instances created from the imported custom image from failing to start due to operating system issues on some servers, virtual machines, or cloud hosts, check whether you need to install the virtio driver on the source server before importing the image. For more information, see [Install the virtio driver](https://help.aliyun.com/document_detail/62423.html).
|
|
20594
|
+
* - When you import an image for the first time, you must authorize ECS to access your OSS bucket by using Resource Access Management (RAM). Otherwise, the `NoSetRoletoECSServiceAccount` or `InvalidOperation.CloudBoxImageImportRoleRequired` error is returned. The following two scenarios apply:
|
|
20595
|
+
* - **Import an image file without using CloudBox**: You can complete RAM authorization in the RAM console with a single click. For more information, see [Cloud resource access authorization](https://ram.console.aliyun.com/?spm=5176.2020520101image.0.0.2ffa4df57kSoHX#/role/authorize?request=%7B%22Requests%22%3A%20%7B%22request1%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageImportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSImportRole%22%7D%2C%20%22request2%22%3A%20%7B%22RoleName%22%3A%20%22AliyunECSImageExportDefaultRole%22%2C%20%22TemplateId%22%3A%20%22ECSExportRole%22%7D%7D%2C%20%22ReturnUrl%22%3A%20%22https%3A//ecs.console.aliyun.com/%22%2C%20%22Service%22%3A%20%22ECS%22%7D). You can also manually complete RAM authorization. The following policies and permissions are required for some operations. For more information, see [Account access control](https://help.aliyun.com/document_detail/25481.html).
|
|
20596
|
+
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
20597
|
+
* ```
|
|
20598
|
+
* {
|
|
20599
|
+
* "Statement": [
|
|
20600
|
+
* {
|
|
20601
|
+
* "Action": "sts:AssumeRole",
|
|
20602
|
+
* "Effect": "Allow",
|
|
20603
|
+
* "Principal": {
|
|
20604
|
+
* "Service": [
|
|
20605
|
+
* "ecs.aliyuncs.com"
|
|
20606
|
+
* ]
|
|
20607
|
+
* }
|
|
20608
|
+
* }
|
|
20609
|
+
* ],
|
|
20610
|
+
* "Version": "1"
|
|
20611
|
+
* }
|
|
20612
|
+
* ```
|
|
20613
|
+
* 2. Attach the system policy `AliyunECSImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
20614
|
+
* ```
|
|
20615
|
+
* {
|
|
20616
|
+
* "Version": "1",
|
|
20617
|
+
* "Statement": [
|
|
20618
|
+
* {
|
|
20619
|
+
* "Action": [
|
|
20620
|
+
* "oss:GetObject",
|
|
20621
|
+
* "oss:GetBucketLocation",
|
|
20622
|
+
* "oss:GetBucketInfo"
|
|
20623
|
+
* ],
|
|
20624
|
+
* "Resource": "*",
|
|
20625
|
+
* "Effect": "Allow"
|
|
20626
|
+
* }
|
|
20627
|
+
* ]
|
|
20628
|
+
* }
|
|
20629
|
+
*
|
|
20630
|
+
* ```
|
|
20631
|
+
* - **Import an image file by using CloudBox**: You can complete RAM authorization in the RAM console with a single click. For more information, see [Cloud resource access authorization](https://ram.console.aliyun.com/role/authorize?request=%7B%22ReturnUrl%22%3A%22https%3A%2F%2Fecs.console.aliyun.com%2F%22%2C%22Services%22%3A%5B%7B%22Roles%22%3A%5B%7B%22RoleName%22%3A%22AliyunECSCloudBoxImageImportDefaultRole%22%2C%22TemplateId%22%3A%22AliyunECSCloudBoxImageImportDefaultRole%22%7D%5D%2C%22Service%22%3A%22ECS%22%7D%5D%7D). You can also manually complete RAM authorization. The following policies and permissions are required for some operations. For more information, see [Account access control](https://help.aliyun.com/document_detail/25481.html).
|
|
20632
|
+
* 1. Create a role named `AliyunECSCloudBoxImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
20633
|
+
* ```
|
|
20634
|
+
* {
|
|
20635
|
+
* "Statement": [
|
|
20636
|
+
* {
|
|
20637
|
+
* "Action": "sts:AssumeRole",
|
|
20638
|
+
* "Effect": "Allow",
|
|
20639
|
+
* "Principal": {
|
|
20640
|
+
* "Service": [
|
|
20641
|
+
* "ecs.aliyuncs.com"
|
|
20642
|
+
* ]
|
|
20643
|
+
* }
|
|
20644
|
+
* }
|
|
20645
|
+
* ],
|
|
20646
|
+
* "Version": "1"
|
|
20647
|
+
* }
|
|
20648
|
+
* ```
|
|
20649
|
+
* 2. Attach the system policy `AliyunECSCloudBoxImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
20650
|
+
* ```
|
|
20651
|
+
* {
|
|
20652
|
+
* "Version": "1",
|
|
20653
|
+
* "Statement": [
|
|
20654
|
+
* {
|
|
20655
|
+
* "Action": [
|
|
20656
|
+
* "oss-cloudbox:GetObject",
|
|
20657
|
+
* "oss-cloudbox:GetBucketLocation",
|
|
20658
|
+
* "oss-cloudbox:GetBucketInfo"
|
|
20659
|
+
* ],
|
|
20660
|
+
* "Resource": "*",
|
|
20661
|
+
* "Effect": "Allow"
|
|
20662
|
+
* }
|
|
20663
|
+
* ]
|
|
20664
|
+
* }
|
|
20665
|
+
*
|
|
20666
|
+
* ```
|
|
20667
|
+
* - You cannot delete an image that is being imported. You can only call [CancelTask](https://help.aliyun.com/document_detail/25624.html) to cancel the image import task.
|
|
20668
|
+
* - The region into which you import the image must be the same as the region of the OSS bucket to which the image file is uploaded.
|
|
20669
|
+
* - Valid values of N in the `DiskDeviceMapping.N` parameter: 1 to 17. When N is 1, the disk is a system disk. When N is 2 to 17, the disk is a data disk. When N is greater than 17, the system automatically ignores the value.
|
|
20670
|
+
* - When the `Architecture` parameter is set to `arm64`, or the `Platform` parameter is set to `CentOS Stream`, `Anolis`, `AlmaLinux`, `UOS`, `Kylin`, or `Rocky Linux`, take note of the following items:
|
|
20671
|
+
* - To ensure that the imported image supports password configuration or key pair modification, the image must meet the following requirements:
|
|
20672
|
+
* - The operating system kernel must support the `CONFIG_FW_CFG_SYSFS` feature. Linux community kernels later than version 4.6 support this feature by default. CentOS kernels later than version 3.10.0-826.el7 support this feature by default. You can run the `grep -nr CONFIG_FW_CFG_SYSFS /boot/config-$(uname -r)` command on the server that corresponds to the image. If the output contains `CONFIG_FW_CFG_SYSFS=y`, the kernel in the image supports the `CONFIG_FW_CFG_SYSFS` feature.
|
|
20673
|
+
* - The latest version of Alibaba Cloud cloud-init is installed on the operating system. Cloud-init 19.1 must Milvus version 19.1.3 or later. Cloud-init 0.7.6a on some earlier operating systems must Milvus version 0.7.6a15 or later. For more information, see [Install cloud-init](https://help.aliyun.com/document_detail/57803.html).
|
|
20674
|
+
* - The operating system must support the SHA-512 encryption algorithm.
|
|
20675
|
+
* - To ensure that the imported image supports disk resizing and file system resizing, the image must meet the following requirements:
|
|
20676
|
+
* - The operating system kernel version must be later than 3.6.
|
|
20677
|
+
* - The growpart command is supported. To support this command, install the `cloud-utils-growpart` package. The installation method varies by operating system. For more information, see [Resize partitions and file systems (Linux)](~~2949817#bb3b1f02e51pj~~).
|
|
20678
|
+
* - The resize2fs command is supported. To support this command, install the `e2fsprogs` package. This package is installed by default on the operating system. If it is not installed, install it manually.
|
|
20679
|
+
* - The latest version of Alibaba Cloud cloud-init is installed on the operating system. Cloud-init 19.1 must Milvus version 19.1.3 or later. Cloud-init 0.7.6a on some earlier operating systems must Milvus version 0.7.6a15 or later. For more information, see [Install cloud-init](https://help.aliyun.com/document_detail/57803.html).
|
|
20680
|
+
* - If the system architecture of the custom image that you want to import is arm64, set the RTC clock to use the UTC time standard. For more information, see [Linux time and time zone description](https://help.aliyun.com/document_detail/405080.html).
|
|
20681
|
+
* - Configure the image detection parameters when you import an image. This helps the system optimize your image. For more information, see [Image detection overview](https://help.aliyun.com/document_detail/439819.html).
|
|
20634
20682
|
*
|
|
20635
20683
|
* @param request - ImportImageRequest
|
|
20636
20684
|
* @returns ImportImageResponse
|
|
@@ -20640,24 +20688,18 @@ class Client extends openapi_core_1.default {
|
|
|
20640
20688
|
return await this.importImageWithOptions(request, runtime);
|
|
20641
20689
|
}
|
|
20642
20690
|
/**
|
|
20643
|
-
* Imports the public key of
|
|
20691
|
+
* Imports the public key part of an RSA key pair generated by other tools. After the key pair is imported, Alibaba Cloud stores the public key for you. You must securely store the private key of the key pair.
|
|
20644
20692
|
*
|
|
20645
20693
|
* @remarks
|
|
20646
|
-
*
|
|
20647
|
-
*
|
|
20648
|
-
* -
|
|
20649
|
-
*
|
|
20650
|
-
*
|
|
20651
|
-
*
|
|
20652
|
-
*
|
|
20653
|
-
*
|
|
20654
|
-
*
|
|
20655
|
-
* - <ssh-dss-cert-v00@openssh.com>
|
|
20656
|
-
* - <ssh-rsa-cert-v01@openssh.com>
|
|
20657
|
-
* - <ssh-dss-cert-v01@openssh.com>
|
|
20658
|
-
* - <ecdsa-sha2-nistp256-cert-v01@openssh.com>
|
|
20659
|
-
* - <ecdsa-sha2-nistp384-cert-v01@openssh.com>
|
|
20660
|
-
* - <ecdsa-sha2-nistp521-cert-v01@openssh.com>
|
|
20694
|
+
* ## Description
|
|
20695
|
+
* When you call this operation, take note of the following items:
|
|
20696
|
+
* - You can have a maximum of 500 key pairs in each region.
|
|
20697
|
+
* - The imported key pair must support one of the following encryption methods:
|
|
20698
|
+
* - rsa
|
|
20699
|
+
* - dsa
|
|
20700
|
+
* - ssh-rsa
|
|
20701
|
+
* - ssh-dss
|
|
20702
|
+
* - ecdsa
|
|
20661
20703
|
*
|
|
20662
20704
|
* @param request - ImportKeyPairRequest
|
|
20663
20705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20707,24 +20749,18 @@ class Client extends openapi_core_1.default {
|
|
|
20707
20749
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportKeyPairResponse({}));
|
|
20708
20750
|
}
|
|
20709
20751
|
/**
|
|
20710
|
-
* Imports the public key of
|
|
20752
|
+
* Imports the public key part of an RSA key pair generated by other tools. After the key pair is imported, Alibaba Cloud stores the public key for you. You must securely store the private key of the key pair.
|
|
20711
20753
|
*
|
|
20712
20754
|
* @remarks
|
|
20713
|
-
*
|
|
20714
|
-
*
|
|
20715
|
-
* -
|
|
20716
|
-
*
|
|
20717
|
-
*
|
|
20718
|
-
*
|
|
20719
|
-
*
|
|
20720
|
-
*
|
|
20721
|
-
*
|
|
20722
|
-
* - <ssh-dss-cert-v00@openssh.com>
|
|
20723
|
-
* - <ssh-rsa-cert-v01@openssh.com>
|
|
20724
|
-
* - <ssh-dss-cert-v01@openssh.com>
|
|
20725
|
-
* - <ecdsa-sha2-nistp256-cert-v01@openssh.com>
|
|
20726
|
-
* - <ecdsa-sha2-nistp384-cert-v01@openssh.com>
|
|
20727
|
-
* - <ecdsa-sha2-nistp521-cert-v01@openssh.com>
|
|
20755
|
+
* ## Description
|
|
20756
|
+
* When you call this operation, take note of the following items:
|
|
20757
|
+
* - You can have a maximum of 500 key pairs in each region.
|
|
20758
|
+
* - The imported key pair must support one of the following encryption methods:
|
|
20759
|
+
* - rsa
|
|
20760
|
+
* - dsa
|
|
20761
|
+
* - ssh-rsa
|
|
20762
|
+
* - ssh-dss
|
|
20763
|
+
* - ecdsa
|
|
20728
20764
|
*
|
|
20729
20765
|
* @param request - ImportKeyPairRequest
|
|
20730
20766
|
* @returns ImportKeyPairResponse
|
|
@@ -20985,11 +21021,11 @@ class Client extends openapi_core_1.default {
|
|
|
20985
21021
|
return await this.invokeCommandWithOptions(request, runtime);
|
|
20986
21022
|
}
|
|
20987
21023
|
/**
|
|
20988
|
-
*
|
|
21024
|
+
* Calls JoinResourceGroup to add an ECS resource or service to a resource group.
|
|
20989
21025
|
*
|
|
20990
21026
|
* @remarks
|
|
20991
|
-
* ##
|
|
20992
|
-
* A resource is a cloud service entity that you create on Alibaba Cloud
|
|
21027
|
+
* ## Description
|
|
21028
|
+
* A resource is a cloud service entity that you create on Alibaba Cloud. For example, an ECS instance, an ECS elastic network interface, or an ECS image can be a resource. A resource group is a collection of infrastructure for projects, environments, or stacks. Managing resources in a resource group allows you to monitor and run tasks in a centralized manner, saving you from the hassle of switching between multiple Alibaba Cloud services.
|
|
20993
21029
|
*
|
|
20994
21030
|
* @param request - JoinResourceGroupRequest
|
|
20995
21031
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21039,11 +21075,11 @@ class Client extends openapi_core_1.default {
|
|
|
21039
21075
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.JoinResourceGroupResponse({}));
|
|
21040
21076
|
}
|
|
21041
21077
|
/**
|
|
21042
|
-
*
|
|
21078
|
+
* Calls JoinResourceGroup to add an ECS resource or service to a resource group.
|
|
21043
21079
|
*
|
|
21044
21080
|
* @remarks
|
|
21045
|
-
* ##
|
|
21046
|
-
* A resource is a cloud service entity that you create on Alibaba Cloud
|
|
21081
|
+
* ## Description
|
|
21082
|
+
* A resource is a cloud service entity that you create on Alibaba Cloud. For example, an ECS instance, an ECS elastic network interface, or an ECS image can be a resource. A resource group is a collection of infrastructure for projects, environments, or stacks. Managing resources in a resource group allows you to monitor and run tasks in a centralized manner, saving you from the hassle of switching between multiple Alibaba Cloud services.
|
|
21047
21083
|
*
|
|
21048
21084
|
* @param request - JoinResourceGroupRequest
|
|
21049
21085
|
* @returns JoinResourceGroupResponse
|
|
@@ -21550,13 +21586,13 @@ class Client extends openapi_core_1.default {
|
|
|
21550
21586
|
return await this.modifyAutoProvisioningGroupWithOptions(request, runtime);
|
|
21551
21587
|
}
|
|
21552
21588
|
/**
|
|
21553
|
-
* Modifies an automatic snapshot policy
|
|
21589
|
+
* Modifies an automatic snapshot policy, such as the snapshot creation time, repeat date, and retention period.
|
|
21554
21590
|
*
|
|
21555
21591
|
* @remarks
|
|
21556
|
-
*
|
|
21557
|
-
* -
|
|
21558
|
-
* - After an automatic snapshot policy
|
|
21559
|
-
* - If cross-region replication
|
|
21592
|
+
* When you call this operation, take note of the following items:
|
|
21593
|
+
* - System policies cannot be modified.
|
|
21594
|
+
* - After you modify an automatic snapshot policy, the disks to which the policy has been applied immediately execute the modified policy.
|
|
21595
|
+
* - If cross-region snapshot replication is enabled and no encryption parameters are configured, encrypted snapshots are encrypted by using the service key of the destination region by default.
|
|
21560
21596
|
*
|
|
21561
21597
|
* @param request - ModifyAutoSnapshotPolicyExRequest
|
|
21562
21598
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21621,13 +21657,13 @@ class Client extends openapi_core_1.default {
|
|
|
21621
21657
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAutoSnapshotPolicyExResponse({}));
|
|
21622
21658
|
}
|
|
21623
21659
|
/**
|
|
21624
|
-
* Modifies an automatic snapshot policy
|
|
21660
|
+
* Modifies an automatic snapshot policy, such as the snapshot creation time, repeat date, and retention period.
|
|
21625
21661
|
*
|
|
21626
21662
|
* @remarks
|
|
21627
|
-
*
|
|
21628
|
-
* -
|
|
21629
|
-
* - After an automatic snapshot policy
|
|
21630
|
-
* - If cross-region replication
|
|
21663
|
+
* When you call this operation, take note of the following items:
|
|
21664
|
+
* - System policies cannot be modified.
|
|
21665
|
+
* - After you modify an automatic snapshot policy, the disks to which the policy has been applied immediately execute the modified policy.
|
|
21666
|
+
* - If cross-region snapshot replication is enabled and no encryption parameters are configured, encrypted snapshots are encrypted by using the service key of the destination region by default.
|
|
21631
21667
|
*
|
|
21632
21668
|
* @param request - ModifyAutoSnapshotPolicyExRequest
|
|
21633
21669
|
* @returns ModifyAutoSnapshotPolicyExResponse
|
|
@@ -22411,10 +22447,10 @@ class Client extends openapi_core_1.default {
|
|
|
22411
22447
|
return await this.modifyDiagnosticMetricSetWithOptions(request, runtime);
|
|
22412
22448
|
}
|
|
22413
22449
|
/**
|
|
22414
|
-
* Modifies the name, description, release behavior
|
|
22450
|
+
* Modifies the name, description, release behavior, automatic snapshot deletion policy, automatic snapshot policy, performance burst settings, and other attributes of one or more block storage devices.
|
|
22415
22451
|
*
|
|
22416
22452
|
* @remarks
|
|
22417
|
-
* You can
|
|
22453
|
+
* You can call the DiskId parameter to modify the name, description, release behavior, and other attributes of a single block storage device, or call the DiskIds.N parameter to modify the attributes of multiple block storage devices at a time.
|
|
22418
22454
|
*
|
|
22419
22455
|
* @param request - ModifyDiskAttributeRequest
|
|
22420
22456
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22479,10 +22515,10 @@ class Client extends openapi_core_1.default {
|
|
|
22479
22515
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDiskAttributeResponse({}));
|
|
22480
22516
|
}
|
|
22481
22517
|
/**
|
|
22482
|
-
* Modifies the name, description, release behavior
|
|
22518
|
+
* Modifies the name, description, release behavior, automatic snapshot deletion policy, automatic snapshot policy, performance burst settings, and other attributes of one or more block storage devices.
|
|
22483
22519
|
*
|
|
22484
22520
|
* @remarks
|
|
22485
|
-
* You can
|
|
22521
|
+
* You can call the DiskId parameter to modify the name, description, release behavior, and other attributes of a single block storage device, or call the DiskIds.N parameter to modify the attributes of multiple block storage devices at a time.
|
|
22486
22522
|
*
|
|
22487
22523
|
* @param request - ModifyDiskAttributeRequest
|
|
22488
22524
|
* @returns ModifyDiskAttributeResponse
|
|
@@ -23094,7 +23130,7 @@ class Client extends openapi_core_1.default {
|
|
|
23094
23130
|
return await this.modifyForwardEntryWithOptions(request, runtime);
|
|
23095
23131
|
}
|
|
23096
23132
|
/**
|
|
23097
|
-
*
|
|
23133
|
+
* Modifies the attributes of a high-availability virtual IP address (HAVIP).
|
|
23098
23134
|
*
|
|
23099
23135
|
* @deprecated OpenAPI ModifyHaVipAttribute is deprecated, please use Vpc::2016-04-28::ModifyHaVipAttribute instead.
|
|
23100
23136
|
*
|
|
@@ -23146,7 +23182,7 @@ class Client extends openapi_core_1.default {
|
|
|
23146
23182
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyHaVipAttributeResponse({}));
|
|
23147
23183
|
}
|
|
23148
23184
|
/**
|
|
23149
|
-
*
|
|
23185
|
+
* Modifies the attributes of a high-availability virtual IP address (HAVIP).
|
|
23150
23186
|
*
|
|
23151
23187
|
* @deprecated OpenAPI ModifyHaVipAttribute is deprecated, please use Vpc::2016-04-28::ModifyHaVipAttribute instead.
|
|
23152
23188
|
*
|
|
@@ -23159,7 +23195,7 @@ class Client extends openapi_core_1.default {
|
|
|
23159
23195
|
return await this.modifyHaVipAttributeWithOptions(request, runtime);
|
|
23160
23196
|
}
|
|
23161
23197
|
/**
|
|
23162
|
-
* Modifies the description of
|
|
23198
|
+
* Modifies the description of an HPC cluster by calling ModifyHpcClusterAttribute.
|
|
23163
23199
|
*
|
|
23164
23200
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
23165
23201
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23215,7 +23251,7 @@ class Client extends openapi_core_1.default {
|
|
|
23215
23251
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyHpcClusterAttributeResponse({}));
|
|
23216
23252
|
}
|
|
23217
23253
|
/**
|
|
23218
|
-
* Modifies the description of
|
|
23254
|
+
* Modifies the description of an HPC cluster by calling ModifyHpcClusterAttribute.
|
|
23219
23255
|
*
|
|
23220
23256
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
23221
23257
|
* @returns ModifyHpcClusterAttributeResponse
|
|
@@ -23701,14 +23737,16 @@ class Client extends openapi_core_1.default {
|
|
|
23701
23737
|
return await this.modifyInstanceAutoReleaseTimeWithOptions(request, runtime);
|
|
23702
23738
|
}
|
|
23703
23739
|
/**
|
|
23704
|
-
*
|
|
23740
|
+
* Modifies the auto-renewal attributes of one or more subscription instances, helping you reduce the maintenance cost of resource expiration.
|
|
23705
23741
|
*
|
|
23706
23742
|
* @remarks
|
|
23707
|
-
* *Before
|
|
23708
|
-
* - Make sure
|
|
23709
|
-
* - Only subscription instances are supported.
|
|
23710
|
-
* - The
|
|
23711
|
-
* - If the deduction fails,
|
|
23743
|
+
* *Before using this API, make sure you fully understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/ecs/detail)<props="intl">[pricing](https://www.alibabacloud.com/product/ecs#pricing) of Elastic Compute Service (ECS)**.
|
|
23744
|
+
* - Make sure your account balance or credit limit is sufficient.
|
|
23745
|
+
* - Only subscription instances are supported. An error is returned if you call this API for pay-as-you-go instances.
|
|
23746
|
+
* - The auto-renewal deduction date is 9 days before the instance expires. The deduction starts at 08:00:00 (UTC+8).
|
|
23747
|
+
* - If the auto-deduction fails on the previous day, it will be retried at the scheduled time on the next day until the deduction succeeds or the instance is locked after expiration 9 days later.
|
|
23748
|
+
* <props="china">
|
|
23749
|
+
* - If the purchase duration of a newly created instance is one week, the auto-renewal deduction is made on the first day after the instance is created.
|
|
23712
23750
|
*
|
|
23713
23751
|
* @param request - ModifyInstanceAutoRenewAttributeRequest
|
|
23714
23752
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23764,14 +23802,16 @@ class Client extends openapi_core_1.default {
|
|
|
23764
23802
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyInstanceAutoRenewAttributeResponse({}));
|
|
23765
23803
|
}
|
|
23766
23804
|
/**
|
|
23767
|
-
*
|
|
23805
|
+
* Modifies the auto-renewal attributes of one or more subscription instances, helping you reduce the maintenance cost of resource expiration.
|
|
23768
23806
|
*
|
|
23769
23807
|
* @remarks
|
|
23770
|
-
* *Before
|
|
23771
|
-
* - Make sure
|
|
23772
|
-
* - Only subscription instances are supported.
|
|
23773
|
-
* - The
|
|
23774
|
-
* - If the deduction fails,
|
|
23808
|
+
* *Before using this API, make sure you fully understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/ecs/detail)<props="intl">[pricing](https://www.alibabacloud.com/product/ecs#pricing) of Elastic Compute Service (ECS)**.
|
|
23809
|
+
* - Make sure your account balance or credit limit is sufficient.
|
|
23810
|
+
* - Only subscription instances are supported. An error is returned if you call this API for pay-as-you-go instances.
|
|
23811
|
+
* - The auto-renewal deduction date is 9 days before the instance expires. The deduction starts at 08:00:00 (UTC+8).
|
|
23812
|
+
* - If the auto-deduction fails on the previous day, it will be retried at the scheduled time on the next day until the deduction succeeds or the instance is locked after expiration 9 days later.
|
|
23813
|
+
* <props="china">
|
|
23814
|
+
* - If the purchase duration of a newly created instance is one week, the auto-renewal deduction is made on the first day after the instance is created.
|
|
23775
23815
|
*
|
|
23776
23816
|
* @param request - ModifyInstanceAutoRenewAttributeRequest
|
|
23777
23817
|
* @returns ModifyInstanceAutoRenewAttributeResponse
|
|
@@ -24259,17 +24299,18 @@ class Client extends openapi_core_1.default {
|
|
|
24259
24299
|
return await this.modifyInstanceNetworkOptionsWithOptions(request, runtime);
|
|
24260
24300
|
}
|
|
24261
24301
|
/**
|
|
24262
|
-
* Modifies the
|
|
24302
|
+
* Modifies the bandwidth configuration of an ECS instance, allocates a public IP address, or converts the network billing method. Both upgrades and downgrades are supported.
|
|
24263
24303
|
*
|
|
24264
24304
|
* @remarks
|
|
24265
|
-
*
|
|
24266
|
-
* -
|
|
24267
|
-
* -
|
|
24268
|
-
*
|
|
24269
|
-
*
|
|
24270
|
-
* -
|
|
24271
|
-
*
|
|
24272
|
-
* - After the
|
|
24305
|
+
* - When modifying the bandwidth configuration of a subscription (PrePaid) instance, a public IP address is automatically allocated when the maximum outbound public bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbit/s to a non-zero value.
|
|
24306
|
+
* - When modifying the bandwidth configuration of a pay-as-you-go (PostPaid) instance, a public IP address is not automatically allocated when the maximum outbound public bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbit/s to a non-zero value. You need to set the `AllocatePublicIp` parameter to `true` to allocate a public IP address.
|
|
24307
|
+
* - For classic network (Classic) instances, when the maximum outbound public bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbit/s to a non-zero value, the instance must be in the Stopped state.
|
|
24308
|
+
* > Within a single region, there is a limit on the total peak pay-by-bandwidth public bandwidth for a single Alibaba Cloud account. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
24309
|
+
*
|
|
24310
|
+
* - Fees:
|
|
24311
|
+
*
|
|
24312
|
+
* - After upgrading bandwidth, the payment is automatically deducted by default. Make sure your payment method has sufficient balance. Otherwise, an abnormal order will be generated and can only be voided. If your account balance is insufficient, you can set the AutoPay parameter to false. In this case, an unpaid order is generated, and you can log on to the ECS console to pay for the order.
|
|
24313
|
+
* - After downgrading bandwidth, the price difference is refunded through the original payment method. Coupons that have already been used are not refunded.
|
|
24273
24314
|
*
|
|
24274
24315
|
* @param request - ModifyInstanceNetworkSpecRequest
|
|
24275
24316
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -24337,17 +24378,18 @@ class Client extends openapi_core_1.default {
|
|
|
24337
24378
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyInstanceNetworkSpecResponse({}));
|
|
24338
24379
|
}
|
|
24339
24380
|
/**
|
|
24340
|
-
* Modifies the
|
|
24381
|
+
* Modifies the bandwidth configuration of an ECS instance, allocates a public IP address, or converts the network billing method. Both upgrades and downgrades are supported.
|
|
24341
24382
|
*
|
|
24342
24383
|
* @remarks
|
|
24343
|
-
*
|
|
24344
|
-
* -
|
|
24345
|
-
* -
|
|
24346
|
-
*
|
|
24347
|
-
*
|
|
24348
|
-
* -
|
|
24349
|
-
*
|
|
24350
|
-
* - After the
|
|
24384
|
+
* - When modifying the bandwidth configuration of a subscription (PrePaid) instance, a public IP address is automatically allocated when the maximum outbound public bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbit/s to a non-zero value.
|
|
24385
|
+
* - When modifying the bandwidth configuration of a pay-as-you-go (PostPaid) instance, a public IP address is not automatically allocated when the maximum outbound public bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbit/s to a non-zero value. You need to set the `AllocatePublicIp` parameter to `true` to allocate a public IP address.
|
|
24386
|
+
* - For classic network (Classic) instances, when the maximum outbound public bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbit/s to a non-zero value, the instance must be in the Stopped state.
|
|
24387
|
+
* > Within a single region, there is a limit on the total peak pay-by-bandwidth public bandwidth for a single Alibaba Cloud account. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
24388
|
+
*
|
|
24389
|
+
* - Fees:
|
|
24390
|
+
*
|
|
24391
|
+
* - After upgrading bandwidth, the payment is automatically deducted by default. Make sure your payment method has sufficient balance. Otherwise, an abnormal order will be generated and can only be voided. If your account balance is insufficient, you can set the AutoPay parameter to false. In this case, an unpaid order is generated, and you can log on to the ECS console to pay for the order.
|
|
24392
|
+
* - After downgrading bandwidth, the price difference is refunded through the original payment method. Coupons that have already been used are not refunded.
|
|
24351
24393
|
*
|
|
24352
24394
|
* @param request - ModifyInstanceNetworkSpecRequest
|
|
24353
24395
|
* @returns ModifyInstanceNetworkSpecResponse
|
|
@@ -24357,17 +24399,22 @@ class Client extends openapi_core_1.default {
|
|
|
24357
24399
|
return await this.modifyInstanceNetworkSpecWithOptions(request, runtime);
|
|
24358
24400
|
}
|
|
24359
24401
|
/**
|
|
24360
|
-
*
|
|
24402
|
+
* Modifies the instance type or public bandwidth of a pay-as-you-go ECS instance.
|
|
24361
24403
|
*
|
|
24362
24404
|
* @remarks
|
|
24363
|
-
*
|
|
24364
|
-
* Before you
|
|
24365
|
-
*
|
|
24366
|
-
*
|
|
24367
|
-
*
|
|
24368
|
-
*
|
|
24369
|
-
*
|
|
24370
|
-
*
|
|
24405
|
+
* <props="china">.
|
|
24406
|
+
* **Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of ECS.**.
|
|
24407
|
+
* .
|
|
24408
|
+
* <props="intl">.
|
|
24409
|
+
* **Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS.**.
|
|
24410
|
+
* .
|
|
24411
|
+
* Before you [change the instance type of a pay-as-you-go instance](https://help.aliyun.com/document_detail/60051.html), you can call [DescribeResourcesModification](https://help.aliyun.com/document_detail/66187.html) to query the instance types to which the current instance can be changed.
|
|
24412
|
+
* **Before you begin**.
|
|
24413
|
+
* - Your account must not have overdue payments.
|
|
24414
|
+
* - Each call can modify only one configuration. You can change only the instance type or adjust only the public bandwidth in a single request.
|
|
24415
|
+
* - The instance status must be **Running** (`Running`) or **Stopped** (`Stopped`) before you can adjust the public bandwidth. The change takes effect immediately.
|
|
24416
|
+
* - The instance status must be **Stopped** (`Stopped`) before you can change the instance type. After the change, you must [start the instance](https://help.aliyun.com/document_detail/25441.html) for the change to take effect.
|
|
24417
|
+
* > The total peak public bandwidth billed on a pay-by-bandwidth basis in a single region for a single Alibaba Cloud account is subject to limits. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
24371
24418
|
*
|
|
24372
24419
|
* @param request - ModifyInstanceSpecRequest
|
|
24373
24420
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -24441,17 +24488,22 @@ class Client extends openapi_core_1.default {
|
|
|
24441
24488
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyInstanceSpecResponse({}));
|
|
24442
24489
|
}
|
|
24443
24490
|
/**
|
|
24444
|
-
*
|
|
24491
|
+
* Modifies the instance type or public bandwidth of a pay-as-you-go ECS instance.
|
|
24445
24492
|
*
|
|
24446
24493
|
* @remarks
|
|
24447
|
-
*
|
|
24448
|
-
* Before you
|
|
24449
|
-
*
|
|
24450
|
-
*
|
|
24451
|
-
*
|
|
24452
|
-
*
|
|
24453
|
-
*
|
|
24454
|
-
*
|
|
24494
|
+
* <props="china">.
|
|
24495
|
+
* **Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of ECS.**.
|
|
24496
|
+
* .
|
|
24497
|
+
* <props="intl">.
|
|
24498
|
+
* **Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS.**.
|
|
24499
|
+
* .
|
|
24500
|
+
* Before you [change the instance type of a pay-as-you-go instance](https://help.aliyun.com/document_detail/60051.html), you can call [DescribeResourcesModification](https://help.aliyun.com/document_detail/66187.html) to query the instance types to which the current instance can be changed.
|
|
24501
|
+
* **Before you begin**.
|
|
24502
|
+
* - Your account must not have overdue payments.
|
|
24503
|
+
* - Each call can modify only one configuration. You can change only the instance type or adjust only the public bandwidth in a single request.
|
|
24504
|
+
* - The instance status must be **Running** (`Running`) or **Stopped** (`Stopped`) before you can adjust the public bandwidth. The change takes effect immediately.
|
|
24505
|
+
* - The instance status must be **Stopped** (`Stopped`) before you can change the instance type. After the change, you must [start the instance](https://help.aliyun.com/document_detail/25441.html) for the change to take effect.
|
|
24506
|
+
* > The total peak public bandwidth billed on a pay-by-bandwidth basis in a single region for a single Alibaba Cloud account is subject to limits. For more information, see [Public bandwidth limits](~~25412#BandwidthQuota~~).
|
|
24455
24507
|
*
|
|
24456
24508
|
* @param request - ModifyInstanceSpecRequest
|
|
24457
24509
|
* @returns ModifyInstanceSpecResponse
|
|
@@ -24756,11 +24808,7 @@ class Client extends openapi_core_1.default {
|
|
|
24756
24808
|
return await this.modifyInvocationAttributeWithOptions(request, runtime);
|
|
24757
24809
|
}
|
|
24758
24810
|
/**
|
|
24759
|
-
*
|
|
24760
|
-
*
|
|
24761
|
-
* @remarks
|
|
24762
|
-
* ## Debugging
|
|
24763
|
-
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=ModifyLaunchTemplateDefaultVersion\\&type=RPC\\&version=2014-05-26)
|
|
24811
|
+
* Calls the ModifyLaunchTemplateDefaultVersion operation to switch the default version of a launch template by specifying the DefaultVersionNumber parameter. If you do not specify a template version number when you create an instance by calling the RunInstances operation, the default version is used.
|
|
24764
24812
|
*
|
|
24765
24813
|
* @param request - ModifyLaunchTemplateDefaultVersionRequest
|
|
24766
24814
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -24810,11 +24858,7 @@ class Client extends openapi_core_1.default {
|
|
|
24810
24858
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyLaunchTemplateDefaultVersionResponse({}));
|
|
24811
24859
|
}
|
|
24812
24860
|
/**
|
|
24813
|
-
*
|
|
24814
|
-
*
|
|
24815
|
-
* @remarks
|
|
24816
|
-
* ## Debugging
|
|
24817
|
-
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ecs\\&api=ModifyLaunchTemplateDefaultVersion\\&type=RPC\\&version=2014-05-26)
|
|
24861
|
+
* Calls the ModifyLaunchTemplateDefaultVersion operation to switch the default version of a launch template by specifying the DefaultVersionNumber parameter. If you do not specify a template version number when you create an instance by calling the RunInstances operation, the default version is used.
|
|
24818
24862
|
*
|
|
24819
24863
|
* @param request - ModifyLaunchTemplateDefaultVersionRequest
|
|
24820
24864
|
* @returns ModifyLaunchTemplateDefaultVersionResponse
|
|
@@ -25074,10 +25118,10 @@ class Client extends openapi_core_1.default {
|
|
|
25074
25118
|
return await this.modifyPhysicalConnectionAttributeWithOptions(request, runtime);
|
|
25075
25119
|
}
|
|
25076
25120
|
/**
|
|
25077
|
-
*
|
|
25121
|
+
* Updates an O&M window.
|
|
25078
25122
|
*
|
|
25079
25123
|
* @remarks
|
|
25080
|
-
* Modifies the
|
|
25124
|
+
* Modifies the attributes of an O&M window. When the TargetResource parameter of an O&M window is set to associate ECS instances and an underlying hardware risk is detected that requires scheduled O&M to mitigate, the execution time of the scheduled O&M is determined based on the time range specified by the TimePeriod parameter of the O&M window. When the execution time of an O&M event is reached, the platform automatically performs the corresponding O&M operation based on the event type.
|
|
25081
25125
|
*
|
|
25082
25126
|
* @param tmpReq - ModifyPlanMaintenanceWindowRequest
|
|
25083
25127
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -25135,10 +25179,10 @@ class Client extends openapi_core_1.default {
|
|
|
25135
25179
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPlanMaintenanceWindowResponse({}));
|
|
25136
25180
|
}
|
|
25137
25181
|
/**
|
|
25138
|
-
*
|
|
25182
|
+
* Updates an O&M window.
|
|
25139
25183
|
*
|
|
25140
25184
|
* @remarks
|
|
25141
|
-
* Modifies the
|
|
25185
|
+
* Modifies the attributes of an O&M window. When the TargetResource parameter of an O&M window is set to associate ECS instances and an underlying hardware risk is detected that requires scheduled O&M to mitigate, the execution time of the scheduled O&M is determined based on the time range specified by the TimePeriod parameter of the O&M window. When the execution time of an O&M event is reached, the platform automatically performs the corresponding O&M operation based on the event type.
|
|
25142
25186
|
*
|
|
25143
25187
|
* @param request - ModifyPlanMaintenanceWindowRequest
|
|
25144
25188
|
* @returns ModifyPlanMaintenanceWindowResponse
|
|
@@ -25862,7 +25906,7 @@ class Client extends openapi_core_1.default {
|
|
|
25862
25906
|
return await this.modifyRouterInterfaceSpecWithOptions(request, runtime);
|
|
25863
25907
|
}
|
|
25864
25908
|
/**
|
|
25865
|
-
* Modifies the name or description of a
|
|
25909
|
+
* Modifies the name or description of a specified security group.
|
|
25866
25910
|
*
|
|
25867
25911
|
* @param request - ModifySecurityGroupAttributeRequest
|
|
25868
25912
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -25912,7 +25956,7 @@ class Client extends openapi_core_1.default {
|
|
|
25912
25956
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySecurityGroupAttributeResponse({}));
|
|
25913
25957
|
}
|
|
25914
25958
|
/**
|
|
25915
|
-
* Modifies the name or description of a
|
|
25959
|
+
* Modifies the name or description of a specified security group.
|
|
25916
25960
|
*
|
|
25917
25961
|
* @param request - ModifySecurityGroupAttributeRequest
|
|
25918
25962
|
* @returns ModifySecurityGroupAttributeResponse
|
|
@@ -25922,12 +25966,12 @@ class Client extends openapi_core_1.default {
|
|
|
25922
25966
|
return await this.modifySecurityGroupAttributeWithOptions(request, runtime);
|
|
25923
25967
|
}
|
|
25924
25968
|
/**
|
|
25925
|
-
* Modifies an
|
|
25969
|
+
* Modifies an egress security group rule.
|
|
25926
25970
|
*
|
|
25927
25971
|
* @remarks
|
|
25928
|
-
*
|
|
25929
|
-
* -
|
|
25930
|
-
* -
|
|
25972
|
+
* When modifying security group rules by specifying the security group rule ID, note the following usage limits:
|
|
25973
|
+
* - Authorization objects of security group rules include IPv4 CIDR blocks (or IP addresses), IPv6 CIDR blocks (or IP addresses), security groups, and prefix lists. You cannot use this API to change the authorization object type of an existing security group rule. For example, if the original authorization object type is an IPv4 CIDR block, you can change it to another IPv4 CIDR block (or IP address), but you cannot change it to an IPv6 CIDR block (or IP address), a security group, or a prefix list.
|
|
25974
|
+
* - Fields cannot be changed from non-empty to empty. If modification is needed, we recommend that you add a new rule first and then delete the current rule.
|
|
25931
25975
|
*
|
|
25932
25976
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
25933
25977
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26028,12 +26072,12 @@ class Client extends openapi_core_1.default {
|
|
|
26028
26072
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySecurityGroupEgressRuleResponse({}));
|
|
26029
26073
|
}
|
|
26030
26074
|
/**
|
|
26031
|
-
* Modifies an
|
|
26075
|
+
* Modifies an egress security group rule.
|
|
26032
26076
|
*
|
|
26033
26077
|
* @remarks
|
|
26034
|
-
*
|
|
26035
|
-
* -
|
|
26036
|
-
* -
|
|
26078
|
+
* When modifying security group rules by specifying the security group rule ID, note the following usage limits:
|
|
26079
|
+
* - Authorization objects of security group rules include IPv4 CIDR blocks (or IP addresses), IPv6 CIDR blocks (or IP addresses), security groups, and prefix lists. You cannot use this API to change the authorization object type of an existing security group rule. For example, if the original authorization object type is an IPv4 CIDR block, you can change it to another IPv4 CIDR block (or IP address), but you cannot change it to an IPv6 CIDR block (or IP address), a security group, or a prefix list.
|
|
26080
|
+
* - Fields cannot be changed from non-empty to empty. If modification is needed, we recommend that you add a new rule first and then delete the current rule.
|
|
26037
26081
|
*
|
|
26038
26082
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
26039
26083
|
* @returns ModifySecurityGroupEgressRuleResponse
|
|
@@ -26043,13 +26087,13 @@ class Client extends openapi_core_1.default {
|
|
|
26043
26087
|
return await this.modifySecurityGroupEgressRuleWithOptions(request, runtime);
|
|
26044
26088
|
}
|
|
26045
26089
|
/**
|
|
26046
|
-
* Modifies the
|
|
26090
|
+
* Modifies the intra-group connectivity policy of a basic security group.
|
|
26047
26091
|
*
|
|
26048
26092
|
* @remarks
|
|
26049
|
-
* -
|
|
26050
|
-
* -
|
|
26051
|
-
* -
|
|
26052
|
-
* -
|
|
26093
|
+
* - Advanced security groups do not support modifications to the intra-group connectivity policy. The default policy is **internal isolation**.
|
|
26094
|
+
* - You can call [DescribeSecurityGroupAttribute](https://help.aliyun.com/document_detail/25555.html) to query the current intra-group connectivity policy of a security group.
|
|
26095
|
+
* - When the intra-group connectivity policy of a security group is set to **intra-group connectivity**, other custom access rules are ignored, and all instances in custom security group are connected over the internal network by default.
|
|
26096
|
+
* - When the intra-group connectivity policy of a security group is set to **internal isolation**, all instances in custom security group are disconnected over the internal network by default if no other access rules are added. However, you can customize security group rules to change the internal network status. For example, you can call [AuthorizeSecurityGroup](https://help.aliyun.com/document_detail/25554.html) to enable network connectivity between two ECS instances in custom security group.
|
|
26053
26097
|
*
|
|
26054
26098
|
* @param request - ModifySecurityGroupPolicyRequest
|
|
26055
26099
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26099,13 +26143,13 @@ class Client extends openapi_core_1.default {
|
|
|
26099
26143
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySecurityGroupPolicyResponse({}));
|
|
26100
26144
|
}
|
|
26101
26145
|
/**
|
|
26102
|
-
* Modifies the
|
|
26146
|
+
* Modifies the intra-group connectivity policy of a basic security group.
|
|
26103
26147
|
*
|
|
26104
26148
|
* @remarks
|
|
26105
|
-
* -
|
|
26106
|
-
* -
|
|
26107
|
-
* -
|
|
26108
|
-
* -
|
|
26149
|
+
* - Advanced security groups do not support modifications to the intra-group connectivity policy. The default policy is **internal isolation**.
|
|
26150
|
+
* - You can call [DescribeSecurityGroupAttribute](https://help.aliyun.com/document_detail/25555.html) to query the current intra-group connectivity policy of a security group.
|
|
26151
|
+
* - When the intra-group connectivity policy of a security group is set to **intra-group connectivity**, other custom access rules are ignored, and all instances in custom security group are connected over the internal network by default.
|
|
26152
|
+
* - When the intra-group connectivity policy of a security group is set to **internal isolation**, all instances in custom security group are disconnected over the internal network by default if no other access rules are added. However, you can customize security group rules to change the internal network status. For example, you can call [AuthorizeSecurityGroup](https://help.aliyun.com/document_detail/25554.html) to enable network connectivity between two ECS instances in custom security group.
|
|
26109
26153
|
*
|
|
26110
26154
|
* @param request - ModifySecurityGroupPolicyRequest
|
|
26111
26155
|
* @returns ModifySecurityGroupPolicyResponse
|
|
@@ -26115,12 +26159,12 @@ class Client extends openapi_core_1.default {
|
|
|
26115
26159
|
return await this.modifySecurityGroupPolicyWithOptions(request, runtime);
|
|
26116
26160
|
}
|
|
26117
26161
|
/**
|
|
26118
|
-
* Modifies an inbound security group rule
|
|
26162
|
+
* Modifies an inbound security group rule of a specified security group.
|
|
26119
26163
|
*
|
|
26120
26164
|
* @remarks
|
|
26121
|
-
*
|
|
26122
|
-
* -
|
|
26123
|
-
* - You cannot
|
|
26165
|
+
* When you modify a security group rule by specifying the security group rule ID, take note of the following limits:
|
|
26166
|
+
* - The authorization object of a security group rule can be an IPv4 Classless Inter-Domain Routing (CIDR) block (or IP address), an IPv6 CIDR block (or IP address), a security group, or a prefix list. You cannot use this operation to change the type of the authorization object of an existing security group rule. For example, if the original authorization object type is an IPv4 CIDR block, you can change it to another IPv4 CIDR block (or IP address), but you cannot change it to an IPv6 CIDR block (or IP address), a security group, or a prefix list.
|
|
26167
|
+
* - You cannot change a field from a non-empty value to an empty value. To modify security group rules in this case, increase a new rule and then delete the current rule.
|
|
26124
26168
|
*
|
|
26125
26169
|
* @param request - ModifySecurityGroupRuleRequest
|
|
26126
26170
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26221,12 +26265,12 @@ class Client extends openapi_core_1.default {
|
|
|
26221
26265
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySecurityGroupRuleResponse({}));
|
|
26222
26266
|
}
|
|
26223
26267
|
/**
|
|
26224
|
-
* Modifies an inbound security group rule
|
|
26268
|
+
* Modifies an inbound security group rule of a specified security group.
|
|
26225
26269
|
*
|
|
26226
26270
|
* @remarks
|
|
26227
|
-
*
|
|
26228
|
-
* -
|
|
26229
|
-
* - You cannot
|
|
26271
|
+
* When you modify a security group rule by specifying the security group rule ID, take note of the following limits:
|
|
26272
|
+
* - The authorization object of a security group rule can be an IPv4 Classless Inter-Domain Routing (CIDR) block (or IP address), an IPv6 CIDR block (or IP address), a security group, or a prefix list. You cannot use this operation to change the type of the authorization object of an existing security group rule. For example, if the original authorization object type is an IPv4 CIDR block, you can change it to another IPv4 CIDR block (or IP address), but you cannot change it to an IPv6 CIDR block (or IP address), a security group, or a prefix list.
|
|
26273
|
+
* - You cannot change a field from a non-empty value to an empty value. To modify security group rules in this case, increase a new rule and then delete the current rule.
|
|
26230
26274
|
*
|
|
26231
26275
|
* @param request - ModifySecurityGroupRuleRequest
|
|
26232
26276
|
* @returns ModifySecurityGroupRuleResponse
|
|
@@ -27253,12 +27297,14 @@ class Client extends openapi_core_1.default {
|
|
|
27253
27297
|
return await this.purchaseStorageCapacityUnitWithOptions(request, runtime);
|
|
27254
27298
|
}
|
|
27255
27299
|
/**
|
|
27256
|
-
*
|
|
27300
|
+
* Restarts a pay-as-you-go ECS instance that has expired or been recycled due to an overdue payment.
|
|
27257
27301
|
*
|
|
27258
27302
|
* @remarks
|
|
27259
|
-
* After you
|
|
27260
|
-
*
|
|
27261
|
-
*
|
|
27303
|
+
* After you settle the overdue bill for a pay-as-you-go instance, you do not need to call this operation to activate the instance. The system automatically restarts the instance and restores it to the state before the overdue payment. Automatic restarts may occasionally fail. Check whether the automatic restart succeeds. If the automatic restart fails, call this operation to manually restart the instance.
|
|
27304
|
+
* <props="china">- After you settle the overdue bill, the total value of your Alibaba Cloud account balance (cash balance) and vouchers must be at least CNY 100.00. Otherwise, the instance cannot be restarted.
|
|
27305
|
+
* <props="china">- The instance must be in the **expired** (`Stopped`) or **being recycled due to overdue payment** (`Stopped`) state.
|
|
27306
|
+
* <props="intl">- The instance must be in the **expired** (`Stopped`) state.
|
|
27307
|
+
* - Instances that are locked for security reasons cannot be started by calling this operation. For more information, see [Impact of resource security locks on API calls](https://help.aliyun.com/document_detail/25695.html).
|
|
27262
27308
|
*
|
|
27263
27309
|
* @param request - ReActivateInstancesRequest
|
|
27264
27310
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27302,12 +27348,14 @@ class Client extends openapi_core_1.default {
|
|
|
27302
27348
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReActivateInstancesResponse({}));
|
|
27303
27349
|
}
|
|
27304
27350
|
/**
|
|
27305
|
-
*
|
|
27351
|
+
* Restarts a pay-as-you-go ECS instance that has expired or been recycled due to an overdue payment.
|
|
27306
27352
|
*
|
|
27307
27353
|
* @remarks
|
|
27308
|
-
* After you
|
|
27309
|
-
*
|
|
27310
|
-
*
|
|
27354
|
+
* After you settle the overdue bill for a pay-as-you-go instance, you do not need to call this operation to activate the instance. The system automatically restarts the instance and restores it to the state before the overdue payment. Automatic restarts may occasionally fail. Check whether the automatic restart succeeds. If the automatic restart fails, call this operation to manually restart the instance.
|
|
27355
|
+
* <props="china">- After you settle the overdue bill, the total value of your Alibaba Cloud account balance (cash balance) and vouchers must be at least CNY 100.00. Otherwise, the instance cannot be restarted.
|
|
27356
|
+
* <props="china">- The instance must be in the **expired** (`Stopped`) or **being recycled due to overdue payment** (`Stopped`) state.
|
|
27357
|
+
* <props="intl">- The instance must be in the **expired** (`Stopped`) state.
|
|
27358
|
+
* - Instances that are locked for security reasons cannot be started by calling this operation. For more information, see [Impact of resource security locks on API calls](https://help.aliyun.com/document_detail/25695.html).
|
|
27311
27359
|
*
|
|
27312
27360
|
* @param request - ReActivateInstancesRequest
|
|
27313
27361
|
* @returns ReActivateInstancesResponse
|
|
@@ -27317,15 +27365,16 @@ class Client extends openapi_core_1.default {
|
|
|
27317
27365
|
return await this.reActivateInstancesWithOptions(request, runtime);
|
|
27318
27366
|
}
|
|
27319
27367
|
/**
|
|
27320
|
-
*
|
|
27368
|
+
* Reinitializes a disk to its initial state when it was created.
|
|
27321
27369
|
*
|
|
27322
27370
|
* @remarks
|
|
27323
|
-
*
|
|
27324
|
-
* - The disk
|
|
27325
|
-
* -
|
|
27326
|
-
* -
|
|
27327
|
-
*
|
|
27328
|
-
* - For a
|
|
27371
|
+
* When you call this operation, take note of the following items:
|
|
27372
|
+
* - The disk must be in the **In Use** (`In_use`) state, and the ECS instance to which the disk is attached must be in the **Stopped** (`Stopped`) state.
|
|
27373
|
+
* - You cannot reinitialize a disk that is attached to an instance before the instance starts for the first time.
|
|
27374
|
+
* - You cannot reinitialize a disk that has local snapshots.
|
|
27375
|
+
* <props="china">- You cannot reinitialize a disk that has the multi-attach feature enabled.
|
|
27376
|
+
* - For a system disk, the disk is reinitialized to the initial state of the image. If the source image used to create the disk has been deleted, the disk cannot be reinitialized.
|
|
27377
|
+
* - For a data disk that was created from scratch, the disk is reinitialized to an empty disk. For a data disk that was created from a snapshot, the disk is reinitialized to the snapshot state. If the source snapshot has been deleted, the disk cannot be reinitialized and an error is returned.
|
|
27329
27378
|
*
|
|
27330
27379
|
* @param request - ReInitDiskRequest
|
|
27331
27380
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27378,15 +27427,16 @@ class Client extends openapi_core_1.default {
|
|
|
27378
27427
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReInitDiskResponse({}));
|
|
27379
27428
|
}
|
|
27380
27429
|
/**
|
|
27381
|
-
*
|
|
27430
|
+
* Reinitializes a disk to its initial state when it was created.
|
|
27382
27431
|
*
|
|
27383
27432
|
* @remarks
|
|
27384
|
-
*
|
|
27385
|
-
* - The disk
|
|
27386
|
-
* -
|
|
27387
|
-
* -
|
|
27388
|
-
*
|
|
27389
|
-
* - For a
|
|
27433
|
+
* When you call this operation, take note of the following items:
|
|
27434
|
+
* - The disk must be in the **In Use** (`In_use`) state, and the ECS instance to which the disk is attached must be in the **Stopped** (`Stopped`) state.
|
|
27435
|
+
* - You cannot reinitialize a disk that is attached to an instance before the instance starts for the first time.
|
|
27436
|
+
* - You cannot reinitialize a disk that has local snapshots.
|
|
27437
|
+
* <props="china">- You cannot reinitialize a disk that has the multi-attach feature enabled.
|
|
27438
|
+
* - For a system disk, the disk is reinitialized to the initial state of the image. If the source image used to create the disk has been deleted, the disk cannot be reinitialized.
|
|
27439
|
+
* - For a data disk that was created from scratch, the disk is reinitialized to an empty disk. For a data disk that was created from a snapshot, the disk is reinitialized to the snapshot state. If the source snapshot has been deleted, the disk cannot be reinitialized and an error is returned.
|
|
27390
27440
|
*
|
|
27391
27441
|
* @param request - ReInitDiskRequest
|
|
27392
27442
|
* @returns ReInitDiskResponse
|
|
@@ -27668,31 +27718,31 @@ class Client extends openapi_core_1.default {
|
|
|
27668
27718
|
return await this.redeployDedicatedHostWithOptions(request, runtime);
|
|
27669
27719
|
}
|
|
27670
27720
|
/**
|
|
27671
|
-
*
|
|
27672
|
-
*
|
|
27673
|
-
* @remarks
|
|
27674
|
-
* ##
|
|
27675
|
-
* RedeployInstance is an asynchronous
|
|
27676
|
-
* When you
|
|
27677
|
-
* - The instance must be in the Running
|
|
27678
|
-
*
|
|
27679
|
-
*
|
|
27680
|
-
* -
|
|
27681
|
-
* - If
|
|
27682
|
-
* -
|
|
27683
|
-
* -
|
|
27684
|
-
* The following table describes the types and states
|
|
27685
|
-
* |
|
|
27686
|
-
* |
|
|
27687
|
-
* | Instance restart due to system maintenance (SystemMaintenance.Reboot)
|
|
27688
|
-
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy)
|
|
27689
|
-
* | Instance restart and
|
|
27690
|
-
* | Instance restart and
|
|
27691
|
-
* | Instance redeployment due to system
|
|
27692
|
-
* | For ECS instances
|
|
27693
|
-
* |
|
|
27694
|
-
* |
|
|
27695
|
-
*
|
|
27721
|
+
* Invokes the RedeployInstance operation to redeploy an ECS instance when the ECS instance receives a system event notification.
|
|
27722
|
+
*
|
|
27723
|
+
* @remarks
|
|
27724
|
+
* ## Operation description
|
|
27725
|
+
* RedeployInstance is an asynchronous invocation that restarts and migrates an instance. After the redeployment succeeds, the instance enters the Running state. If the redeployment fails, the instance is returned to the original physical server and recovers to the state before the redeployment.
|
|
27726
|
+
* When you invoke this operation, take note of the following items:
|
|
27727
|
+
* - The target instance must be in the Running or Stopped state. The instance status changes after the operation is invoked:
|
|
27728
|
+
* - An instance in the Running (`Running`) state enters the Stopping (`Stopping`) state.
|
|
27729
|
+
* - An instance in the Stopped (`Stopped`) state enters the Starting (`Starting`) state.
|
|
27730
|
+
* - Instances on dedicated hosts cannot be redeployed.
|
|
27731
|
+
* - If the OperationLocks of an instance is marked with `"LockReason": "security"`, the instance cannot be redeployed.
|
|
27732
|
+
* - Simulated events created by invoking CreateSimulatedSystemEvent cannot be responded to.
|
|
27733
|
+
* - During the flow of isolating a local disk in a system event, you can also invoke RedeployInstance if the damaged local disk has been isolated but the SystemMaintenance.RebootAndReInitErrorDisk event has not been issued. For more information, see [Overview of system events for instances with local disks](https://help.aliyun.com/document_detail/107693.html).
|
|
27734
|
+
* The following table describes the system event types and event states that RedeployInstance can respond to.
|
|
27735
|
+
* | Event name and parameter | Event status |
|
|
27736
|
+
* | --- | --- |
|
|
27737
|
+
* | Instance restart due to system maintenance (SystemMaintenance.Reboot) | Inquiring, Scheduled |
|
|
27738
|
+
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy) | Inquiring, Scheduled |
|
|
27739
|
+
* | Instance restart and damaged disk replacement due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk) | Inquiring |
|
|
27740
|
+
* | Instance restart and damaged disk reinitialization due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk) | Inquiring |
|
|
27741
|
+
* | Instance redeployment due to system fault (SystemFailure.Redeploy) | Inquiring |
|
|
27742
|
+
* | For ECS instances with local disks only: instance restart due to system fault (SystemFailure.Reboot) | Executing |
|
|
27743
|
+
* | Damaged disk isolation due to system maintenance (SystemMaintenance.IsolateErrorDisk) | Inquiring |
|
|
27744
|
+
* | Damaged disk reinitialization due to system maintenance (SystemMaintenance.ReInitErrorDisk) | Inquiring |
|
|
27745
|
+
* > Redeploying an instance with local disks reinitializes the local disks, and all data on the storage devices is cleared.
|
|
27696
27746
|
*
|
|
27697
27747
|
* @param request - RedeployInstanceRequest
|
|
27698
27748
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27736,31 +27786,31 @@ class Client extends openapi_core_1.default {
|
|
|
27736
27786
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RedeployInstanceResponse({}));
|
|
27737
27787
|
}
|
|
27738
27788
|
/**
|
|
27739
|
-
*
|
|
27740
|
-
*
|
|
27741
|
-
* @remarks
|
|
27742
|
-
* ##
|
|
27743
|
-
* RedeployInstance is an asynchronous
|
|
27744
|
-
* When you
|
|
27745
|
-
* - The instance must be in the Running
|
|
27746
|
-
*
|
|
27747
|
-
*
|
|
27748
|
-
* -
|
|
27749
|
-
* - If
|
|
27750
|
-
* -
|
|
27751
|
-
* -
|
|
27752
|
-
* The following table describes the types and states
|
|
27753
|
-
* |
|
|
27754
|
-
* |
|
|
27755
|
-
* | Instance restart due to system maintenance (SystemMaintenance.Reboot)
|
|
27756
|
-
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy)
|
|
27757
|
-
* | Instance restart and
|
|
27758
|
-
* | Instance restart and
|
|
27759
|
-
* | Instance redeployment due to system
|
|
27760
|
-
* | For ECS instances
|
|
27761
|
-
* |
|
|
27762
|
-
* |
|
|
27763
|
-
*
|
|
27789
|
+
* Invokes the RedeployInstance operation to redeploy an ECS instance when the ECS instance receives a system event notification.
|
|
27790
|
+
*
|
|
27791
|
+
* @remarks
|
|
27792
|
+
* ## Operation description
|
|
27793
|
+
* RedeployInstance is an asynchronous invocation that restarts and migrates an instance. After the redeployment succeeds, the instance enters the Running state. If the redeployment fails, the instance is returned to the original physical server and recovers to the state before the redeployment.
|
|
27794
|
+
* When you invoke this operation, take note of the following items:
|
|
27795
|
+
* - The target instance must be in the Running or Stopped state. The instance status changes after the operation is invoked:
|
|
27796
|
+
* - An instance in the Running (`Running`) state enters the Stopping (`Stopping`) state.
|
|
27797
|
+
* - An instance in the Stopped (`Stopped`) state enters the Starting (`Starting`) state.
|
|
27798
|
+
* - Instances on dedicated hosts cannot be redeployed.
|
|
27799
|
+
* - If the OperationLocks of an instance is marked with `"LockReason": "security"`, the instance cannot be redeployed.
|
|
27800
|
+
* - Simulated events created by invoking CreateSimulatedSystemEvent cannot be responded to.
|
|
27801
|
+
* - During the flow of isolating a local disk in a system event, you can also invoke RedeployInstance if the damaged local disk has been isolated but the SystemMaintenance.RebootAndReInitErrorDisk event has not been issued. For more information, see [Overview of system events for instances with local disks](https://help.aliyun.com/document_detail/107693.html).
|
|
27802
|
+
* The following table describes the system event types and event states that RedeployInstance can respond to.
|
|
27803
|
+
* | Event name and parameter | Event status |
|
|
27804
|
+
* | --- | --- |
|
|
27805
|
+
* | Instance restart due to system maintenance (SystemMaintenance.Reboot) | Inquiring, Scheduled |
|
|
27806
|
+
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy) | Inquiring, Scheduled |
|
|
27807
|
+
* | Instance restart and damaged disk replacement due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk) | Inquiring |
|
|
27808
|
+
* | Instance restart and damaged disk reinitialization due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk) | Inquiring |
|
|
27809
|
+
* | Instance redeployment due to system fault (SystemFailure.Redeploy) | Inquiring |
|
|
27810
|
+
* | For ECS instances with local disks only: instance restart due to system fault (SystemFailure.Reboot) | Executing |
|
|
27811
|
+
* | Damaged disk isolation due to system maintenance (SystemMaintenance.IsolateErrorDisk) | Inquiring |
|
|
27812
|
+
* | Damaged disk reinitialization due to system maintenance (SystemMaintenance.ReInitErrorDisk) | Inquiring |
|
|
27813
|
+
* > Redeploying an instance with local disks reinitializes the local disks, and all data on the storage devices is cleared.
|
|
27764
27814
|
*
|
|
27765
27815
|
* @param request - RedeployInstanceRequest
|
|
27766
27816
|
* @returns RedeployInstanceResponse
|
|
@@ -28070,7 +28120,7 @@ class Client extends openapi_core_1.default {
|
|
|
28070
28120
|
return await this.removeBandwidthPackageIpsWithOptions(request, runtime);
|
|
28071
28121
|
}
|
|
28072
28122
|
/**
|
|
28073
|
-
*
|
|
28123
|
+
* Calls RemoveTags to unbind one or more tags from resources such as instances, disks, snapshots, images, and security groups.
|
|
28074
28124
|
*
|
|
28075
28125
|
* @deprecated OpenAPI RemoveTags is deprecated, please use Ecs::2014-05-26::UntagResources instead.
|
|
28076
28126
|
*
|
|
@@ -28119,7 +28169,7 @@ class Client extends openapi_core_1.default {
|
|
|
28119
28169
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveTagsResponse({}));
|
|
28120
28170
|
}
|
|
28121
28171
|
/**
|
|
28122
|
-
*
|
|
28172
|
+
* Calls RemoveTags to unbind one or more tags from resources such as instances, disks, snapshots, images, and security groups.
|
|
28123
28173
|
*
|
|
28124
28174
|
* @deprecated OpenAPI RemoveTags is deprecated, please use Ecs::2014-05-26::UntagResources instead.
|
|
28125
28175
|
*
|
|
@@ -29141,65 +29191,64 @@ class Client extends openapi_core_1.default {
|
|
|
29141
29191
|
return await this.revokeSecurityGroupWithOptions(request, runtime);
|
|
29142
29192
|
}
|
|
29143
29193
|
/**
|
|
29144
|
-
* Deletes outbound security group rules from a specified security group.
|
|
29194
|
+
* Deletes one or more outbound security group rules from a specified security group.
|
|
29145
29195
|
*
|
|
29146
29196
|
* @remarks
|
|
29147
|
-
* > Alibaba Cloud
|
|
29148
|
-
* You can use one of the following methods to delete
|
|
29149
|
-
* - Delete
|
|
29150
|
-
* - If
|
|
29151
|
-
* - Delete
|
|
29152
|
-
*
|
|
29153
|
-
*
|
|
29154
|
-
*
|
|
29155
|
-
*
|
|
29156
|
-
*
|
|
29157
|
-
*
|
|
29158
|
-
* > You cannot
|
|
29159
|
-
* ###
|
|
29160
|
-
* - Delete
|
|
29161
|
-
* <!---->
|
|
29197
|
+
* >Notice: On July 8, 2024, Alibaba Cloud adjusted the validation rules for this operation. When you attempt to delete a security group rule that does not exist, the operation now returns the error code "InvalidSecurityGroupRule.RuleNotExist" instead of a success response. Ensure that your application is compatible with this error code to avoid impacts on your online services.
|
|
29198
|
+
* You can use one of the following methods to pass parameters to delete security group rules:
|
|
29199
|
+
* - Delete rules by specifying security group rule IDs (recommended).
|
|
29200
|
+
* - If the specified security group rule ID does not exist, an error is returned.
|
|
29201
|
+
* - Delete rules by specifying the Permissions parameter.
|
|
29202
|
+
* - If the matching security group rule does not exist, the invoke succeeds but no rule is deleted.
|
|
29203
|
+
* - The following parameters are required to delete a security group rule:
|
|
29204
|
+
* - Destination settings: Specify one of DestCidrIp (IPv4 address), Ipv6DestCidrIp (IPv6 address), DestPrefixListId (prefix list ID), or DestGroupId (destination security group).
|
|
29205
|
+
* - Destination port range: PortRange.
|
|
29206
|
+
* - Protocol type: IpProtocol.
|
|
29207
|
+
* - Access policy: Policy.
|
|
29208
|
+
* > You cannot specify both security group rule IDs and the Permissions parameter at the same time.
|
|
29209
|
+
* ### Request examples
|
|
29210
|
+
* - Delete by security group rule ID.
|
|
29162
29211
|
* ```
|
|
29163
|
-
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //
|
|
29164
|
-
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"]
|
|
29212
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group ID.
|
|
29213
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // Specify the security group rule IDs.
|
|
29165
29214
|
* ```
|
|
29166
|
-
* - Delete
|
|
29167
|
-
* <!---->
|
|
29215
|
+
* - Delete by IP address CIDR block.
|
|
29168
29216
|
* ```
|
|
29169
29217
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
29170
29218
|
* "Permissions":[
|
|
29171
29219
|
* {
|
|
29172
|
-
*
|
|
29173
|
-
*
|
|
29174
|
-
*
|
|
29175
|
-
*
|
|
29220
|
+
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
29221
|
+
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IP address CIDR block.
|
|
29222
|
+
* "PortRange":"22/22", // Specify the destination port range.
|
|
29223
|
+
* "Policy":"accept" // Specify the access policy.
|
|
29224
|
+
* }
|
|
29176
29225
|
* ]
|
|
29177
29226
|
* ```
|
|
29178
|
-
*
|
|
29179
|
-
*
|
|
29227
|
+
*
|
|
29228
|
+
* - Delete by destination security group.
|
|
29180
29229
|
* ```
|
|
29181
29230
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
29182
29231
|
* "Permissions":[
|
|
29183
29232
|
* {
|
|
29184
|
-
* "DestGroupId":"sg-bp67acfmxa123b****", //
|
|
29233
|
+
* "DestGroupId":"sg-bp67acfmxa123b****", // Specify the destination security group ID.
|
|
29185
29234
|
* "IpProtocol":"TCP",
|
|
29186
29235
|
* "PortRange":"22/22",
|
|
29187
29236
|
* "Policy":"accept"
|
|
29188
29237
|
* }
|
|
29189
29238
|
* ]
|
|
29190
29239
|
* ```
|
|
29191
|
-
* - Delete
|
|
29192
|
-
* <!---->
|
|
29240
|
+
* - Delete by prefix list.
|
|
29193
29241
|
* ```
|
|
29194
29242
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
29195
29243
|
* "Permissions":[
|
|
29196
29244
|
* {
|
|
29197
29245
|
* "IpProtocol":"TCP",
|
|
29198
|
-
*
|
|
29246
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", // Specify the destination prefix list ID.
|
|
29247
|
+
* "PortRange":"22/22",
|
|
29199
29248
|
* "Policy":"accept",
|
|
29200
29249
|
* }
|
|
29201
29250
|
* ]
|
|
29202
|
-
*
|
|
29251
|
+
* ```.
|
|
29203
29252
|
*
|
|
29204
29253
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
29205
29254
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29309,65 +29358,64 @@ class Client extends openapi_core_1.default {
|
|
|
29309
29358
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevokeSecurityGroupEgressResponse({}));
|
|
29310
29359
|
}
|
|
29311
29360
|
/**
|
|
29312
|
-
* Deletes outbound security group rules from a specified security group.
|
|
29361
|
+
* Deletes one or more outbound security group rules from a specified security group.
|
|
29313
29362
|
*
|
|
29314
29363
|
* @remarks
|
|
29315
|
-
* > Alibaba Cloud
|
|
29316
|
-
* You can use one of the following methods to delete
|
|
29317
|
-
* - Delete
|
|
29318
|
-
* - If
|
|
29319
|
-
* - Delete
|
|
29320
|
-
*
|
|
29321
|
-
*
|
|
29322
|
-
*
|
|
29323
|
-
*
|
|
29324
|
-
*
|
|
29325
|
-
*
|
|
29326
|
-
* > You cannot
|
|
29327
|
-
* ###
|
|
29328
|
-
* - Delete
|
|
29329
|
-
* <!---->
|
|
29364
|
+
* >Notice: On July 8, 2024, Alibaba Cloud adjusted the validation rules for this operation. When you attempt to delete a security group rule that does not exist, the operation now returns the error code "InvalidSecurityGroupRule.RuleNotExist" instead of a success response. Ensure that your application is compatible with this error code to avoid impacts on your online services.
|
|
29365
|
+
* You can use one of the following methods to pass parameters to delete security group rules:
|
|
29366
|
+
* - Delete rules by specifying security group rule IDs (recommended).
|
|
29367
|
+
* - If the specified security group rule ID does not exist, an error is returned.
|
|
29368
|
+
* - Delete rules by specifying the Permissions parameter.
|
|
29369
|
+
* - If the matching security group rule does not exist, the invoke succeeds but no rule is deleted.
|
|
29370
|
+
* - The following parameters are required to delete a security group rule:
|
|
29371
|
+
* - Destination settings: Specify one of DestCidrIp (IPv4 address), Ipv6DestCidrIp (IPv6 address), DestPrefixListId (prefix list ID), or DestGroupId (destination security group).
|
|
29372
|
+
* - Destination port range: PortRange.
|
|
29373
|
+
* - Protocol type: IpProtocol.
|
|
29374
|
+
* - Access policy: Policy.
|
|
29375
|
+
* > You cannot specify both security group rule IDs and the Permissions parameter at the same time.
|
|
29376
|
+
* ### Request examples
|
|
29377
|
+
* - Delete by security group rule ID.
|
|
29330
29378
|
* ```
|
|
29331
|
-
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //
|
|
29332
|
-
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"]
|
|
29379
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group ID.
|
|
29380
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // Specify the security group rule IDs.
|
|
29333
29381
|
* ```
|
|
29334
|
-
* - Delete
|
|
29335
|
-
* <!---->
|
|
29382
|
+
* - Delete by IP address CIDR block.
|
|
29336
29383
|
* ```
|
|
29337
29384
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
29338
29385
|
* "Permissions":[
|
|
29339
29386
|
* {
|
|
29340
|
-
*
|
|
29341
|
-
*
|
|
29342
|
-
*
|
|
29343
|
-
*
|
|
29387
|
+
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
29388
|
+
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IP address CIDR block.
|
|
29389
|
+
* "PortRange":"22/22", // Specify the destination port range.
|
|
29390
|
+
* "Policy":"accept" // Specify the access policy.
|
|
29391
|
+
* }
|
|
29344
29392
|
* ]
|
|
29345
29393
|
* ```
|
|
29346
|
-
*
|
|
29347
|
-
*
|
|
29394
|
+
*
|
|
29395
|
+
* - Delete by destination security group.
|
|
29348
29396
|
* ```
|
|
29349
29397
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
29350
29398
|
* "Permissions":[
|
|
29351
29399
|
* {
|
|
29352
|
-
* "DestGroupId":"sg-bp67acfmxa123b****", //
|
|
29400
|
+
* "DestGroupId":"sg-bp67acfmxa123b****", // Specify the destination security group ID.
|
|
29353
29401
|
* "IpProtocol":"TCP",
|
|
29354
29402
|
* "PortRange":"22/22",
|
|
29355
29403
|
* "Policy":"accept"
|
|
29356
29404
|
* }
|
|
29357
29405
|
* ]
|
|
29358
29406
|
* ```
|
|
29359
|
-
* - Delete
|
|
29360
|
-
* <!---->
|
|
29407
|
+
* - Delete by prefix list.
|
|
29361
29408
|
* ```
|
|
29362
29409
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
29363
29410
|
* "Permissions":[
|
|
29364
29411
|
* {
|
|
29365
29412
|
* "IpProtocol":"TCP",
|
|
29366
|
-
*
|
|
29413
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", // Specify the destination prefix list ID.
|
|
29414
|
+
* "PortRange":"22/22",
|
|
29367
29415
|
* "Policy":"accept",
|
|
29368
29416
|
* }
|
|
29369
29417
|
* ]
|
|
29370
|
-
*
|
|
29418
|
+
* ```.
|
|
29371
29419
|
*
|
|
29372
29420
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
29373
29421
|
* @returns RevokeSecurityGroupEgressResponse
|
|
@@ -30931,13 +30979,13 @@ class Client extends openapi_core_1.default {
|
|
|
30931
30979
|
return await this.terminateVirtualBorderRouterWithOptions(request, runtime);
|
|
30932
30980
|
}
|
|
30933
30981
|
/**
|
|
30934
|
-
* Unassigns one or more IPv6 addresses from an
|
|
30982
|
+
* Unassigns one or more IPv6 addresses from an Elastic Network Interface (ENI).
|
|
30935
30983
|
*
|
|
30936
30984
|
* @remarks
|
|
30937
|
-
* ##
|
|
30938
|
-
*
|
|
30939
|
-
* - The ENI must be in the **
|
|
30940
|
-
* - If
|
|
30985
|
+
* ## Operation description
|
|
30986
|
+
* When you invoke this operation, take note of the following items:
|
|
30987
|
+
* - The Elastic Network Interface (ENI) must be in the **Active** (Available) or **InUse** state.
|
|
30988
|
+
* - If you are operating on a primary ENI, the ECS instance to which the network interface controller (NIC) is attached must be in the **Running** or **Stopped** state.
|
|
30941
30989
|
*
|
|
30942
30990
|
* @param request - UnassignIpv6AddressesRequest
|
|
30943
30991
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30990,13 +31038,13 @@ class Client extends openapi_core_1.default {
|
|
|
30990
31038
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnassignIpv6AddressesResponse({}));
|
|
30991
31039
|
}
|
|
30992
31040
|
/**
|
|
30993
|
-
* Unassigns one or more IPv6 addresses from an
|
|
31041
|
+
* Unassigns one or more IPv6 addresses from an Elastic Network Interface (ENI).
|
|
30994
31042
|
*
|
|
30995
31043
|
* @remarks
|
|
30996
|
-
* ##
|
|
30997
|
-
*
|
|
30998
|
-
* - The ENI must be in the **
|
|
30999
|
-
* - If
|
|
31044
|
+
* ## Operation description
|
|
31045
|
+
* When you invoke this operation, take note of the following items:
|
|
31046
|
+
* - The Elastic Network Interface (ENI) must be in the **Active** (Available) or **InUse** state.
|
|
31047
|
+
* - If you are operating on a primary ENI, the ECS instance to which the network interface controller (NIC) is attached must be in the **Running** or **Stopped** state.
|
|
31000
31048
|
*
|
|
31001
31049
|
* @param request - UnassignIpv6AddressesRequest
|
|
31002
31050
|
* @returns UnassignIpv6AddressesResponse
|