@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.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export default class Client extends OpenApi {
|
|
|
43
43
|
*/
|
|
44
44
|
activateRouterInterface(request: $_model.ActivateRouterInterfaceRequest): Promise<$_model.ActivateRouterInterfaceResponse>;
|
|
45
45
|
/**
|
|
46
|
-
* AddBandwidthPackageIps
|
|
46
|
+
* AddBandwidthPackageIps.
|
|
47
47
|
*
|
|
48
48
|
* @deprecated OpenAPI AddBandwidthPackageIps is deprecated
|
|
49
49
|
*
|
|
@@ -53,7 +53,7 @@ export default class Client extends OpenApi {
|
|
|
53
53
|
*/
|
|
54
54
|
addBandwidthPackageIpsWithOptions(request: $_model.AddBandwidthPackageIpsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddBandwidthPackageIpsResponse>;
|
|
55
55
|
/**
|
|
56
|
-
* AddBandwidthPackageIps
|
|
56
|
+
* AddBandwidthPackageIps.
|
|
57
57
|
*
|
|
58
58
|
* @deprecated OpenAPI AddBandwidthPackageIps is deprecated
|
|
59
59
|
*
|
|
@@ -62,13 +62,13 @@ export default class Client extends OpenApi {
|
|
|
62
62
|
*/
|
|
63
63
|
addBandwidthPackageIps(request: $_model.AddBandwidthPackageIpsRequest): Promise<$_model.AddBandwidthPackageIpsResponse>;
|
|
64
64
|
/**
|
|
65
|
-
* Adds or overwrites one or more tags
|
|
65
|
+
* 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.
|
|
66
66
|
*
|
|
67
67
|
* @remarks
|
|
68
|
-
* When you
|
|
69
|
-
* -
|
|
70
|
-
* -
|
|
71
|
-
* -
|
|
68
|
+
* When you invoke this operation, take note of the following items:
|
|
69
|
+
* - You can add up to 20 tags to each Elastic Compute Service (ECS) resource.
|
|
70
|
+
* - The tag key (Tag.N.Key) and tag value (Tag.N.Value) must be specified as a key-value pair.
|
|
71
|
+
* - 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).
|
|
72
72
|
*
|
|
73
73
|
* @deprecated OpenAPI AddTags is deprecated, please use Ecs::2014-05-26::TagResources instead.
|
|
74
74
|
*
|
|
@@ -78,13 +78,13 @@ export default class Client extends OpenApi {
|
|
|
78
78
|
*/
|
|
79
79
|
addTagsWithOptions(request: $_model.AddTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddTagsResponse>;
|
|
80
80
|
/**
|
|
81
|
-
* Adds or overwrites one or more tags
|
|
81
|
+
* 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.
|
|
82
82
|
*
|
|
83
83
|
* @remarks
|
|
84
|
-
* When you
|
|
85
|
-
* -
|
|
86
|
-
* -
|
|
87
|
-
* -
|
|
84
|
+
* When you invoke this operation, take note of the following items:
|
|
85
|
+
* - You can add up to 20 tags to each Elastic Compute Service (ECS) resource.
|
|
86
|
+
* - The tag key (Tag.N.Key) and tag value (Tag.N.Value) must be specified as a key-value pair.
|
|
87
|
+
* - 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).
|
|
88
88
|
*
|
|
89
89
|
* @deprecated OpenAPI AddTags is deprecated, please use Ecs::2014-05-26::TagResources instead.
|
|
90
90
|
*
|
|
@@ -127,7 +127,7 @@ export default class Client extends OpenApi {
|
|
|
127
127
|
* AllocateEipAddress
|
|
128
128
|
*
|
|
129
129
|
* @remarks
|
|
130
|
-
* > This API is
|
|
130
|
+
* > 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).
|
|
131
131
|
*
|
|
132
132
|
* @deprecated OpenAPI AllocateEipAddress is deprecated, please use Vpc::2016-04-28::AllocateEipAddress instead.
|
|
133
133
|
*
|
|
@@ -140,7 +140,7 @@ export default class Client extends OpenApi {
|
|
|
140
140
|
* AllocateEipAddress
|
|
141
141
|
*
|
|
142
142
|
* @remarks
|
|
143
|
-
* > This API is
|
|
143
|
+
* > 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).
|
|
144
144
|
*
|
|
145
145
|
* @deprecated OpenAPI AllocateEipAddress is deprecated, please use Vpc::2016-04-28::AllocateEipAddress instead.
|
|
146
146
|
*
|
|
@@ -211,18 +211,18 @@ export default class Client extends OpenApi {
|
|
|
211
211
|
*/
|
|
212
212
|
applyAutoSnapshotPolicy(request: $_model.ApplyAutoSnapshotPolicyRequest): Promise<$_model.ApplyAutoSnapshotPolicyResponse>;
|
|
213
213
|
/**
|
|
214
|
-
* Assigns one or more IPv6 addresses to an
|
|
214
|
+
* Assigns one or more IPv6 addresses to an Elastic Network Interface (ENI).
|
|
215
215
|
*
|
|
216
216
|
* @remarks
|
|
217
|
-
* ##
|
|
218
|
-
* You can specify IPv6 addresses
|
|
219
|
-
* -
|
|
220
|
-
* - The ENI must be in the
|
|
221
|
-
* -
|
|
222
|
-
* - The
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
* - After
|
|
217
|
+
* ## Operation description
|
|
218
|
+
* 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:
|
|
219
|
+
* - 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).
|
|
220
|
+
* - The ENI must be in the Active (Available) or InUse state.
|
|
221
|
+
* - When you operate on a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
222
|
+
* - 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.
|
|
223
|
+
* - If the ENI is in the Active (Available) state, up to 10 IPv6 addresses can be allocated.
|
|
224
|
+
* - 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).
|
|
225
|
+
* - After you successfully invoke this operation, you can obtain the allocated IPv6 address information from the response.
|
|
226
226
|
*
|
|
227
227
|
* @param request - AssignIpv6AddressesRequest
|
|
228
228
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -230,18 +230,18 @@ export default class Client extends OpenApi {
|
|
|
230
230
|
*/
|
|
231
231
|
assignIpv6AddressesWithOptions(request: $_model.AssignIpv6AddressesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AssignIpv6AddressesResponse>;
|
|
232
232
|
/**
|
|
233
|
-
* Assigns one or more IPv6 addresses to an
|
|
233
|
+
* Assigns one or more IPv6 addresses to an Elastic Network Interface (ENI).
|
|
234
234
|
*
|
|
235
235
|
* @remarks
|
|
236
|
-
* ##
|
|
237
|
-
* You can specify IPv6 addresses
|
|
238
|
-
* -
|
|
239
|
-
* - The ENI must be in the
|
|
240
|
-
* -
|
|
241
|
-
* - The
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
* - After
|
|
236
|
+
* ## Operation description
|
|
237
|
+
* 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:
|
|
238
|
+
* - 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).
|
|
239
|
+
* - The ENI must be in the Active (Available) or InUse state.
|
|
240
|
+
* - When you operate on a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
241
|
+
* - 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.
|
|
242
|
+
* - If the ENI is in the Active (Available) state, up to 10 IPv6 addresses can be allocated.
|
|
243
|
+
* - 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).
|
|
244
|
+
* - After you successfully invoke this operation, you can obtain the allocated IPv6 address information from the response.
|
|
245
245
|
*
|
|
246
246
|
* @param request - AssignIpv6AddressesRequest
|
|
247
247
|
* @returns AssignIpv6AddressesResponse
|
|
@@ -296,7 +296,7 @@ export default class Client extends OpenApi {
|
|
|
296
296
|
*/
|
|
297
297
|
associateEipAddress(request: $_model.AssociateEipAddressRequest): Promise<$_model.AssociateEipAddressResponse>;
|
|
298
298
|
/**
|
|
299
|
-
*
|
|
299
|
+
* Associates a high-availability virtual IP address (HaVip) with a specified instance.
|
|
300
300
|
*
|
|
301
301
|
* @deprecated OpenAPI AssociateHaVip is deprecated, please use Vpc::2016-04-28::AssociateHaVip instead.
|
|
302
302
|
*
|
|
@@ -306,7 +306,7 @@ export default class Client extends OpenApi {
|
|
|
306
306
|
*/
|
|
307
307
|
associateHaVipWithOptions(request: $_model.AssociateHaVipRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AssociateHaVipResponse>;
|
|
308
308
|
/**
|
|
309
|
-
*
|
|
309
|
+
* Associates a high-availability virtual IP address (HaVip) with a specified instance.
|
|
310
310
|
*
|
|
311
311
|
* @deprecated OpenAPI AssociateHaVip is deprecated, please use Vpc::2016-04-28::AssociateHaVip instead.
|
|
312
312
|
*
|
|
@@ -414,15 +414,15 @@ export default class Client extends OpenApi {
|
|
|
414
414
|
*/
|
|
415
415
|
attachInstanceRamRole(request: $_model.AttachInstanceRamRoleRequest): Promise<$_model.AttachInstanceRamRoleResponse>;
|
|
416
416
|
/**
|
|
417
|
-
*
|
|
417
|
+
* Bind an SSH key pair to one or more Linux instances.
|
|
418
418
|
*
|
|
419
419
|
* @remarks
|
|
420
|
-
*
|
|
421
|
-
* -
|
|
422
|
-
* -
|
|
423
|
-
* - If
|
|
424
|
-
* - If
|
|
425
|
-
* - If an
|
|
420
|
+
* When you call this operation, take note of the following items:
|
|
421
|
+
* - Windows instances do not support SSH key pairs.
|
|
422
|
+
* - After you bind an SSH key pair to an instance, authentication by using a username and password is disabled.
|
|
423
|
+
* - 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.
|
|
424
|
+
* - 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.
|
|
425
|
+
* - If an SSH key pair is already bound to the instance, the new SSH key pair automatically replaces the original one.
|
|
426
426
|
*
|
|
427
427
|
* @param request - AttachKeyPairRequest
|
|
428
428
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -430,15 +430,15 @@ export default class Client extends OpenApi {
|
|
|
430
430
|
*/
|
|
431
431
|
attachKeyPairWithOptions(request: $_model.AttachKeyPairRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AttachKeyPairResponse>;
|
|
432
432
|
/**
|
|
433
|
-
*
|
|
433
|
+
* Bind an SSH key pair to one or more Linux instances.
|
|
434
434
|
*
|
|
435
435
|
* @remarks
|
|
436
|
-
*
|
|
437
|
-
* -
|
|
438
|
-
* -
|
|
439
|
-
* - If
|
|
440
|
-
* - If
|
|
441
|
-
* - If an
|
|
436
|
+
* When you call this operation, take note of the following items:
|
|
437
|
+
* - Windows instances do not support SSH key pairs.
|
|
438
|
+
* - After you bind an SSH key pair to an instance, authentication by using a username and password is disabled.
|
|
439
|
+
* - 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.
|
|
440
|
+
* - 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.
|
|
441
|
+
* - If an SSH key pair is already bound to the instance, the new SSH key pair automatically replaces the original one.
|
|
442
442
|
*
|
|
443
443
|
* @param request - AttachKeyPairRequest
|
|
444
444
|
* @returns AttachKeyPairResponse
|
|
@@ -721,12 +721,12 @@ export default class Client extends OpenApi {
|
|
|
721
721
|
*/
|
|
722
722
|
cancelAutoSnapshotPolicy(request: $_model.CancelAutoSnapshotPolicyRequest): Promise<$_model.CancelAutoSnapshotPolicyResponse>;
|
|
723
723
|
/**
|
|
724
|
-
* Cancels an ongoing
|
|
724
|
+
* Cancels an ongoing CopyImage task.
|
|
725
725
|
*
|
|
726
726
|
* @remarks
|
|
727
727
|
* When you call this operation, take note of the following items:
|
|
728
|
-
* - After you cancel
|
|
729
|
-
* - If the image copy task is complete, the
|
|
728
|
+
* - 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.
|
|
729
|
+
* - If the image copy task is already complete, the operation fails and an error message is returned.
|
|
730
730
|
*
|
|
731
731
|
* @param request - CancelCopyImageRequest
|
|
732
732
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -734,12 +734,12 @@ export default class Client extends OpenApi {
|
|
|
734
734
|
*/
|
|
735
735
|
cancelCopyImageWithOptions(request: $_model.CancelCopyImageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CancelCopyImageResponse>;
|
|
736
736
|
/**
|
|
737
|
-
* Cancels an ongoing
|
|
737
|
+
* Cancels an ongoing CopyImage task.
|
|
738
738
|
*
|
|
739
739
|
* @remarks
|
|
740
740
|
* When you call this operation, take note of the following items:
|
|
741
|
-
* - After you cancel
|
|
742
|
-
* - If the image copy task is complete, the
|
|
741
|
+
* - 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.
|
|
742
|
+
* - If the image copy task is already complete, the operation fails and an error message is returned.
|
|
743
743
|
*
|
|
744
744
|
* @param request - CancelCopyImageRequest
|
|
745
745
|
* @returns CancelCopyImageResponse
|
|
@@ -786,7 +786,7 @@ export default class Client extends OpenApi {
|
|
|
786
786
|
*/
|
|
787
787
|
cancelPhysicalConnection(request: $_model.CancelPhysicalConnectionRequest): Promise<$_model.CancelPhysicalConnectionResponse>;
|
|
788
788
|
/**
|
|
789
|
-
* Cancels simulated system events that are in the Scheduled or Executing state. After
|
|
789
|
+
* 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.
|
|
790
790
|
*
|
|
791
791
|
* @param request - CancelSimulatedSystemEventsRequest
|
|
792
792
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -794,7 +794,7 @@ export default class Client extends OpenApi {
|
|
|
794
794
|
*/
|
|
795
795
|
cancelSimulatedSystemEventsWithOptions(request: $_model.CancelSimulatedSystemEventsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CancelSimulatedSystemEventsResponse>;
|
|
796
796
|
/**
|
|
797
|
-
* Cancels simulated system events that are in the Scheduled or Executing state. After
|
|
797
|
+
* 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.
|
|
798
798
|
*
|
|
799
799
|
* @param request - CancelSimulatedSystemEventsRequest
|
|
800
800
|
* @returns CancelSimulatedSystemEventsResponse
|
|
@@ -1236,17 +1236,17 @@ export default class Client extends OpenApi {
|
|
|
1236
1236
|
*/
|
|
1237
1237
|
createDiagnosticReport(request: $_model.CreateDiagnosticReportRequest): Promise<$_model.CreateDiagnosticReportResponse>;
|
|
1238
1238
|
/**
|
|
1239
|
-
*
|
|
1239
|
+
* Creates a pay-as-you-go or subscription data disk.
|
|
1240
1240
|
*
|
|
1241
1241
|
* @remarks
|
|
1242
|
-
* - When
|
|
1243
|
-
* - Supported disk types: basic
|
|
1244
|
-
* -
|
|
1245
|
-
* - Creating a disk
|
|
1246
|
-
* - Default settings when
|
|
1247
|
-
* -
|
|
1248
|
-
* - When
|
|
1249
|
-
* - The
|
|
1242
|
+
* - 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).
|
|
1243
|
+
* - 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.
|
|
1244
|
+
* - Creating a disk requires real-name verification. Go to [Real-name verification](https://account.console.aliyun.com/#/auth/home) in account information.
|
|
1245
|
+
* - 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).
|
|
1246
|
+
* - Default settings when creating a disk:
|
|
1247
|
+
* - 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.
|
|
1248
|
+
* - 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).
|
|
1249
|
+
* - The billing method is pay-as-you-go, that is, the default `Portable` attribute is `true`.
|
|
1250
1250
|
*
|
|
1251
1251
|
* @param request - CreateDiskRequest
|
|
1252
1252
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1254,17 +1254,17 @@ export default class Client extends OpenApi {
|
|
|
1254
1254
|
*/
|
|
1255
1255
|
createDiskWithOptions(request: $_model.CreateDiskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDiskResponse>;
|
|
1256
1256
|
/**
|
|
1257
|
-
*
|
|
1257
|
+
* Creates a pay-as-you-go or subscription data disk.
|
|
1258
1258
|
*
|
|
1259
1259
|
* @remarks
|
|
1260
|
-
* - When
|
|
1261
|
-
* - Supported disk types: basic
|
|
1262
|
-
* -
|
|
1263
|
-
* - Creating a disk
|
|
1264
|
-
* - Default settings when
|
|
1265
|
-
* -
|
|
1266
|
-
* - When
|
|
1267
|
-
* - The
|
|
1260
|
+
* - 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).
|
|
1261
|
+
* - 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.
|
|
1262
|
+
* - Creating a disk requires real-name verification. Go to [Real-name verification](https://account.console.aliyun.com/#/auth/home) in account information.
|
|
1263
|
+
* - 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).
|
|
1264
|
+
* - Default settings when creating a disk:
|
|
1265
|
+
* - 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.
|
|
1266
|
+
* - 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).
|
|
1267
|
+
* - The billing method is pay-as-you-go, that is, the default `Portable` attribute is `true`.
|
|
1268
1268
|
*
|
|
1269
1269
|
* @param request - CreateDiskRequest
|
|
1270
1270
|
* @returns CreateDiskResponse
|
|
@@ -1404,15 +1404,15 @@ export default class Client extends OpenApi {
|
|
|
1404
1404
|
*/
|
|
1405
1405
|
createImage(request: $_model.CreateImageRequest): Promise<$_model.CreateImageResponse>;
|
|
1406
1406
|
/**
|
|
1407
|
-
* Creates an image component. Image components
|
|
1407
|
+
* Creates an image component. Image components store commonly used build template commands for image building.
|
|
1408
1408
|
*
|
|
1409
1409
|
* @remarks
|
|
1410
|
-
* ##
|
|
1411
|
-
*
|
|
1410
|
+
* ## Operation description
|
|
1411
|
+
* Before you create an image component, take note of the following items:
|
|
1412
1412
|
* - You can create only custom image components.
|
|
1413
|
-
* -
|
|
1414
|
-
* - The content size of an image component cannot exceed 16 KB. For
|
|
1415
|
-
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
1413
|
+
* - 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.
|
|
1414
|
+
* - 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).
|
|
1415
|
+
* For more information, see [Image Builder overview](https://help.aliyun.com/document_detail/197410.html).
|
|
1416
1416
|
*
|
|
1417
1417
|
* @param request - CreateImageComponentRequest
|
|
1418
1418
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1420,15 +1420,15 @@ export default class Client extends OpenApi {
|
|
|
1420
1420
|
*/
|
|
1421
1421
|
createImageComponentWithOptions(request: $_model.CreateImageComponentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateImageComponentResponse>;
|
|
1422
1422
|
/**
|
|
1423
|
-
* Creates an image component. Image components
|
|
1423
|
+
* Creates an image component. Image components store commonly used build template commands for image building.
|
|
1424
1424
|
*
|
|
1425
1425
|
* @remarks
|
|
1426
|
-
* ##
|
|
1427
|
-
*
|
|
1426
|
+
* ## Operation description
|
|
1427
|
+
* Before you create an image component, take note of the following items:
|
|
1428
1428
|
* - You can create only custom image components.
|
|
1429
|
-
* -
|
|
1430
|
-
* - The content size of an image component cannot exceed 16 KB. For
|
|
1431
|
-
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
1429
|
+
* - 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.
|
|
1430
|
+
* - 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).
|
|
1431
|
+
* For more information, see [Image Builder overview](https://help.aliyun.com/document_detail/197410.html).
|
|
1432
1432
|
*
|
|
1433
1433
|
* @param request - CreateImageComponentRequest
|
|
1434
1434
|
* @returns CreateImageComponentResponse
|
|
@@ -1535,11 +1535,11 @@ export default class Client extends OpenApi {
|
|
|
1535
1535
|
*/
|
|
1536
1536
|
createInstance(request: $_model.CreateInstanceRequest): Promise<$_model.CreateInstanceResponse>;
|
|
1537
1537
|
/**
|
|
1538
|
-
*
|
|
1538
|
+
* 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.
|
|
1539
1539
|
*
|
|
1540
1540
|
* @remarks
|
|
1541
|
-
* In addition to calling
|
|
1542
|
-
*
|
|
1541
|
+
* 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.
|
|
1542
|
+
* You can have up to 500 key pairs in each region. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
1543
1543
|
*
|
|
1544
1544
|
* @param request - CreateKeyPairRequest
|
|
1545
1545
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1547,11 +1547,11 @@ export default class Client extends OpenApi {
|
|
|
1547
1547
|
*/
|
|
1548
1548
|
createKeyPairWithOptions(request: $_model.CreateKeyPairRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateKeyPairResponse>;
|
|
1549
1549
|
/**
|
|
1550
|
-
*
|
|
1550
|
+
* 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.
|
|
1551
1551
|
*
|
|
1552
1552
|
* @remarks
|
|
1553
|
-
* In addition to calling
|
|
1554
|
-
*
|
|
1553
|
+
* 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.
|
|
1554
|
+
* You can have up to 500 key pairs in each region. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
1555
1555
|
*
|
|
1556
1556
|
* @param request - CreateKeyPairRequest
|
|
1557
1557
|
* @returns CreateKeyPairResponse
|
|
@@ -1710,7 +1710,7 @@ export default class Client extends OpenApi {
|
|
|
1710
1710
|
*/
|
|
1711
1711
|
createNetworkInterface(request: $_model.CreateNetworkInterfaceRequest): Promise<$_model.CreateNetworkInterfaceResponse>;
|
|
1712
1712
|
/**
|
|
1713
|
-
*
|
|
1713
|
+
* Grants elastic network interface (ENI) permissions to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
1714
1714
|
*
|
|
1715
1715
|
* @param request - CreateNetworkInterfacePermissionRequest
|
|
1716
1716
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1718,7 +1718,7 @@ export default class Client extends OpenApi {
|
|
|
1718
1718
|
*/
|
|
1719
1719
|
createNetworkInterfacePermissionWithOptions(request: $_model.CreateNetworkInterfacePermissionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateNetworkInterfacePermissionResponse>;
|
|
1720
1720
|
/**
|
|
1721
|
-
*
|
|
1721
|
+
* Grants elastic network interface (ENI) permissions to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
1722
1722
|
*
|
|
1723
1723
|
* @param request - CreateNetworkInterfacePermissionRequest
|
|
1724
1724
|
* @returns CreateNetworkInterfacePermissionResponse
|
|
@@ -1744,7 +1744,7 @@ export default class Client extends OpenApi {
|
|
|
1744
1744
|
*/
|
|
1745
1745
|
createPhysicalConnection(request: $_model.CreatePhysicalConnectionRequest): Promise<$_model.CreatePhysicalConnectionResponse>;
|
|
1746
1746
|
/**
|
|
1747
|
-
*
|
|
1747
|
+
* 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.
|
|
1748
1748
|
*
|
|
1749
1749
|
* @param tmpReq - CreatePlanMaintenanceWindowRequest
|
|
1750
1750
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1752,7 +1752,7 @@ export default class Client extends OpenApi {
|
|
|
1752
1752
|
*/
|
|
1753
1753
|
createPlanMaintenanceWindowWithOptions(tmpReq: $_model.CreatePlanMaintenanceWindowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePlanMaintenanceWindowResponse>;
|
|
1754
1754
|
/**
|
|
1755
|
-
*
|
|
1755
|
+
* 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.
|
|
1756
1756
|
*
|
|
1757
1757
|
* @param request - CreatePlanMaintenanceWindowRequest
|
|
1758
1758
|
* @returns CreatePlanMaintenanceWindowResponse
|
|
@@ -1828,7 +1828,7 @@ export default class Client extends OpenApi {
|
|
|
1828
1828
|
*/
|
|
1829
1829
|
createRouteEntry(request: $_model.CreateRouteEntryRequest): Promise<$_model.CreateRouteEntryResponse>;
|
|
1830
1830
|
/**
|
|
1831
|
-
* CreateRouterInterface
|
|
1831
|
+
* CreateRouterInterface.
|
|
1832
1832
|
*
|
|
1833
1833
|
* @deprecated OpenAPI CreateRouterInterface is deprecated, please use Vpc::2016-04-28::CreateRouterInterface instead.
|
|
1834
1834
|
*
|
|
@@ -1838,7 +1838,7 @@ export default class Client extends OpenApi {
|
|
|
1838
1838
|
*/
|
|
1839
1839
|
createRouterInterfaceWithOptions(request: $_model.CreateRouterInterfaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateRouterInterfaceResponse>;
|
|
1840
1840
|
/**
|
|
1841
|
-
* CreateRouterInterface
|
|
1841
|
+
* CreateRouterInterface.
|
|
1842
1842
|
*
|
|
1843
1843
|
* @deprecated OpenAPI CreateRouterInterface is deprecated, please use Vpc::2016-04-28::CreateRouterInterface instead.
|
|
1844
1844
|
*
|
|
@@ -1889,15 +1889,15 @@ export default class Client extends OpenApi {
|
|
|
1889
1889
|
*/
|
|
1890
1890
|
createSecurityGroup(request: $_model.CreateSecurityGroupRequest): Promise<$_model.CreateSecurityGroupResponse>;
|
|
1891
1891
|
/**
|
|
1892
|
-
* Schedules simulated system events
|
|
1892
|
+
* 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.
|
|
1893
1893
|
*
|
|
1894
1894
|
* @remarks
|
|
1895
|
-
*
|
|
1896
|
-
* The following
|
|
1897
|
-
* - Scheduled:
|
|
1898
|
-
* - Executed:
|
|
1899
|
-
* - Canceled:
|
|
1900
|
-
* - Avoided:
|
|
1895
|
+
* 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.
|
|
1896
|
+
* The following list describes the lifecycle of simulated system events:
|
|
1897
|
+
* - Scheduled: After the simulated system event is scheduled, it automatically enters the Scheduled state.
|
|
1898
|
+
* - Executed: If no manual intervention is performed, the simulated system event automatically enters the Executed state at the specified point in time (NotBefore).
|
|
1899
|
+
* - 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.
|
|
1900
|
+
* - 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.
|
|
1901
1901
|
*
|
|
1902
1902
|
* @param request - CreateSimulatedSystemEventsRequest
|
|
1903
1903
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1905,15 +1905,15 @@ export default class Client extends OpenApi {
|
|
|
1905
1905
|
*/
|
|
1906
1906
|
createSimulatedSystemEventsWithOptions(request: $_model.CreateSimulatedSystemEventsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSimulatedSystemEventsResponse>;
|
|
1907
1907
|
/**
|
|
1908
|
-
* Schedules simulated system events
|
|
1908
|
+
* 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.
|
|
1909
1909
|
*
|
|
1910
1910
|
* @remarks
|
|
1911
|
-
*
|
|
1912
|
-
* The following
|
|
1913
|
-
* - Scheduled:
|
|
1914
|
-
* - Executed:
|
|
1915
|
-
* - Canceled:
|
|
1916
|
-
* - Avoided:
|
|
1911
|
+
* 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.
|
|
1912
|
+
* The following list describes the lifecycle of simulated system events:
|
|
1913
|
+
* - Scheduled: After the simulated system event is scheduled, it automatically enters the Scheduled state.
|
|
1914
|
+
* - Executed: If no manual intervention is performed, the simulated system event automatically enters the Executed state at the specified point in time (NotBefore).
|
|
1915
|
+
* - 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.
|
|
1916
|
+
* - 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.
|
|
1917
1917
|
*
|
|
1918
1918
|
* @param request - CreateSimulatedSystemEventsRequest
|
|
1919
1919
|
* @returns CreateSimulatedSystemEventsResponse
|
|
@@ -2237,7 +2237,7 @@ export default class Client extends OpenApi {
|
|
|
2237
2237
|
* Deletes a deployment set.
|
|
2238
2238
|
*
|
|
2239
2239
|
* @remarks
|
|
2240
|
-
* Before you delete a deployment set, make sure that no instances
|
|
2240
|
+
* 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).
|
|
2241
2241
|
*
|
|
2242
2242
|
* @param request - DeleteDeploymentSetRequest
|
|
2243
2243
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2248,7 +2248,7 @@ export default class Client extends OpenApi {
|
|
|
2248
2248
|
* Deletes a deployment set.
|
|
2249
2249
|
*
|
|
2250
2250
|
* @remarks
|
|
2251
|
-
* Before you delete a deployment set, make sure that no instances
|
|
2251
|
+
* 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).
|
|
2252
2252
|
*
|
|
2253
2253
|
* @param request - DeleteDeploymentSetRequest
|
|
2254
2254
|
* @returns DeleteDeploymentSetResponse
|
|
@@ -2291,14 +2291,14 @@ export default class Client extends OpenApi {
|
|
|
2291
2291
|
*/
|
|
2292
2292
|
deleteDiagnosticReports(request: $_model.DeleteDiagnosticReportsRequest): Promise<$_model.DeleteDiagnosticReportsResponse>;
|
|
2293
2293
|
/**
|
|
2294
|
-
*
|
|
2294
|
+
* Releases a pay-as-you-go data disk. Supported disk types include basic disks, ultra disks, standard SSDs, and enterprise SSDs (ESSDs).
|
|
2295
2295
|
*
|
|
2296
2296
|
* @remarks
|
|
2297
|
-
* When you
|
|
2297
|
+
* When you invoke this operation, take note of the following items:
|
|
2298
2298
|
* - Manual snapshots of the disk are retained.
|
|
2299
|
-
* - You can
|
|
2300
|
-
* - The disk must be in the Unattached (Available) state.
|
|
2301
|
-
* - If the specified
|
|
2299
|
+
* - 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.
|
|
2300
|
+
* - The disk must be in the **Unattached** (Available) state when you release it.
|
|
2301
|
+
* - If the disk with the specified ID does not exist, the request is ignored.
|
|
2302
2302
|
*
|
|
2303
2303
|
* @param request - DeleteDiskRequest
|
|
2304
2304
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2306,14 +2306,14 @@ export default class Client extends OpenApi {
|
|
|
2306
2306
|
*/
|
|
2307
2307
|
deleteDiskWithOptions(request: $_model.DeleteDiskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDiskResponse>;
|
|
2308
2308
|
/**
|
|
2309
|
-
*
|
|
2309
|
+
* Releases a pay-as-you-go data disk. Supported disk types include basic disks, ultra disks, standard SSDs, and enterprise SSDs (ESSDs).
|
|
2310
2310
|
*
|
|
2311
2311
|
* @remarks
|
|
2312
|
-
* When you
|
|
2312
|
+
* When you invoke this operation, take note of the following items:
|
|
2313
2313
|
* - Manual snapshots of the disk are retained.
|
|
2314
|
-
* - You can
|
|
2315
|
-
* - The disk must be in the Unattached (Available) state.
|
|
2316
|
-
* - If the specified
|
|
2314
|
+
* - 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.
|
|
2315
|
+
* - The disk must be in the **Unattached** (Available) state when you release it.
|
|
2316
|
+
* - If the disk with the specified ID does not exist, the request is ignored.
|
|
2317
2317
|
*
|
|
2318
2318
|
* @param request - DeleteDiskRequest
|
|
2319
2319
|
* @returns DeleteDiskResponse
|
|
@@ -2358,7 +2358,7 @@ export default class Client extends OpenApi {
|
|
|
2358
2358
|
*/
|
|
2359
2359
|
deleteHaVip(request: $_model.DeleteHaVipRequest): Promise<$_model.DeleteHaVipResponse>;
|
|
2360
2360
|
/**
|
|
2361
|
-
* Deletes a
|
|
2361
|
+
* Deletes a High Performance Computing (HPC) cluster.
|
|
2362
2362
|
*
|
|
2363
2363
|
* @param request - DeleteHpcClusterRequest
|
|
2364
2364
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2366,17 +2366,17 @@ export default class Client extends OpenApi {
|
|
|
2366
2366
|
*/
|
|
2367
2367
|
deleteHpcClusterWithOptions(request: $_model.DeleteHpcClusterRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteHpcClusterResponse>;
|
|
2368
2368
|
/**
|
|
2369
|
-
* Deletes a
|
|
2369
|
+
* Deletes a High Performance Computing (HPC) cluster.
|
|
2370
2370
|
*
|
|
2371
2371
|
* @param request - DeleteHpcClusterRequest
|
|
2372
2372
|
* @returns DeleteHpcClusterResponse
|
|
2373
2373
|
*/
|
|
2374
2374
|
deleteHpcCluster(request: $_model.DeleteHpcClusterRequest): Promise<$_model.DeleteHpcClusterResponse>;
|
|
2375
2375
|
/**
|
|
2376
|
-
*
|
|
2376
|
+
* Calls the DeleteImage operation. You can specify the ImageId and Force parameters to delete a custom image.
|
|
2377
2377
|
*
|
|
2378
2378
|
* @remarks
|
|
2379
|
-
* For
|
|
2379
|
+
* 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).
|
|
2380
2380
|
*
|
|
2381
2381
|
* @param request - DeleteImageRequest
|
|
2382
2382
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2384,21 +2384,21 @@ export default class Client extends OpenApi {
|
|
|
2384
2384
|
*/
|
|
2385
2385
|
deleteImageWithOptions(request: $_model.DeleteImageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteImageResponse>;
|
|
2386
2386
|
/**
|
|
2387
|
-
*
|
|
2387
|
+
* Calls the DeleteImage operation. You can specify the ImageId and Force parameters to delete a custom image.
|
|
2388
2388
|
*
|
|
2389
2389
|
* @remarks
|
|
2390
|
-
* For
|
|
2390
|
+
* 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).
|
|
2391
2391
|
*
|
|
2392
2392
|
* @param request - DeleteImageRequest
|
|
2393
2393
|
* @returns DeleteImageResponse
|
|
2394
2394
|
*/
|
|
2395
2395
|
deleteImage(request: $_model.DeleteImageRequest): Promise<$_model.DeleteImageResponse>;
|
|
2396
2396
|
/**
|
|
2397
|
-
* Deletes an image component
|
|
2397
|
+
* Deletes an image component by specifying the RegionId and ImageComponentId parameters.
|
|
2398
2398
|
*
|
|
2399
2399
|
* @remarks
|
|
2400
|
-
* - Only custom image components can be deleted.
|
|
2401
|
-
* -
|
|
2400
|
+
* - Only custom image components that you have created can be deleted.
|
|
2401
|
+
* - Before deleting a component, make sure that the component is not used in any template. Otherwise, the deletion fails.
|
|
2402
2402
|
*
|
|
2403
2403
|
* @param request - DeleteImageComponentRequest
|
|
2404
2404
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2406,11 +2406,11 @@ export default class Client extends OpenApi {
|
|
|
2406
2406
|
*/
|
|
2407
2407
|
deleteImageComponentWithOptions(request: $_model.DeleteImageComponentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteImageComponentResponse>;
|
|
2408
2408
|
/**
|
|
2409
|
-
* Deletes an image component
|
|
2409
|
+
* Deletes an image component by specifying the RegionId and ImageComponentId parameters.
|
|
2410
2410
|
*
|
|
2411
2411
|
* @remarks
|
|
2412
|
-
* - Only custom image components can be deleted.
|
|
2413
|
-
* -
|
|
2412
|
+
* - Only custom image components that you have created can be deleted.
|
|
2413
|
+
* - Before deleting a component, make sure that the component is not used in any template. Otherwise, the deletion fails.
|
|
2414
2414
|
*
|
|
2415
2415
|
* @param request - DeleteImageComponentRequest
|
|
2416
2416
|
* @returns DeleteImageComponentResponse
|
|
@@ -2420,7 +2420,7 @@ export default class Client extends OpenApi {
|
|
|
2420
2420
|
* Deletes an image template.
|
|
2421
2421
|
*
|
|
2422
2422
|
* @remarks
|
|
2423
|
-
* If
|
|
2423
|
+
* 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.
|
|
2424
2424
|
*
|
|
2425
2425
|
* @param request - DeleteImagePipelineRequest
|
|
2426
2426
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2431,25 +2431,25 @@ export default class Client extends OpenApi {
|
|
|
2431
2431
|
* Deletes an image template.
|
|
2432
2432
|
*
|
|
2433
2433
|
* @remarks
|
|
2434
|
-
* If
|
|
2434
|
+
* 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.
|
|
2435
2435
|
*
|
|
2436
2436
|
* @param request - DeleteImagePipelineRequest
|
|
2437
2437
|
* @returns DeleteImagePipelineResponse
|
|
2438
2438
|
*/
|
|
2439
2439
|
deleteImagePipeline(request: $_model.DeleteImagePipelineRequest): Promise<$_model.DeleteImagePipelineResponse>;
|
|
2440
2440
|
/**
|
|
2441
|
-
* Deletes or releases a
|
|
2441
|
+
* Deletes or releases a specified ECS instance.
|
|
2442
2442
|
*
|
|
2443
2443
|
* @remarks
|
|
2444
|
-
*
|
|
2445
|
-
*
|
|
2446
|
-
*
|
|
2447
|
-
* -
|
|
2448
|
-
*
|
|
2449
|
-
* - If `
|
|
2450
|
-
*
|
|
2451
|
-
*
|
|
2452
|
-
*
|
|
2444
|
+
* >Warning:
|
|
2445
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
2446
|
+
* .
|
|
2447
|
+
* - 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).
|
|
2448
|
+
* - 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:
|
|
2449
|
+
* - 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.
|
|
2450
|
+
* - If `DeleteAutoSnapshot=false`, automatic snapshots are retained. Otherwise, they are released along with the instance.
|
|
2451
|
+
* - 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.
|
|
2452
|
+
* >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..
|
|
2453
2453
|
*
|
|
2454
2454
|
* @param request - DeleteInstanceRequest
|
|
2455
2455
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2457,35 +2457,36 @@ export default class Client extends OpenApi {
|
|
|
2457
2457
|
*/
|
|
2458
2458
|
deleteInstanceWithOptions(request: $_model.DeleteInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteInstanceResponse>;
|
|
2459
2459
|
/**
|
|
2460
|
-
* Deletes or releases a
|
|
2460
|
+
* Deletes or releases a specified ECS instance.
|
|
2461
2461
|
*
|
|
2462
2462
|
* @remarks
|
|
2463
|
-
*
|
|
2464
|
-
*
|
|
2465
|
-
*
|
|
2466
|
-
* -
|
|
2467
|
-
*
|
|
2468
|
-
* - If `
|
|
2469
|
-
*
|
|
2470
|
-
*
|
|
2471
|
-
*
|
|
2463
|
+
* >Warning:
|
|
2464
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
2465
|
+
* .
|
|
2466
|
+
* - 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).
|
|
2467
|
+
* - 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:
|
|
2468
|
+
* - 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.
|
|
2469
|
+
* - If `DeleteAutoSnapshot=false`, automatic snapshots are retained. Otherwise, they are released along with the instance.
|
|
2470
|
+
* - 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.
|
|
2471
|
+
* >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..
|
|
2472
2472
|
*
|
|
2473
2473
|
* @param request - DeleteInstanceRequest
|
|
2474
2474
|
* @returns DeleteInstanceResponse
|
|
2475
2475
|
*/
|
|
2476
2476
|
deleteInstance(request: $_model.DeleteInstanceRequest): Promise<$_model.DeleteInstanceResponse>;
|
|
2477
2477
|
/**
|
|
2478
|
-
*
|
|
2478
|
+
* 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.
|
|
2479
2479
|
*
|
|
2480
2480
|
* @remarks
|
|
2481
2481
|
* >Warning:
|
|
2482
|
-
* After
|
|
2483
|
-
*
|
|
2484
|
-
* -
|
|
2485
|
-
*
|
|
2486
|
-
* - If `
|
|
2487
|
-
*
|
|
2488
|
-
*
|
|
2482
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
2483
|
+
* .
|
|
2484
|
+
* - 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.
|
|
2485
|
+
* - 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:
|
|
2486
|
+
* - 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.
|
|
2487
|
+
* - If `DeleteAutoSnapshot=false`, the automatic snapshots are retained. Otherwise, the automatic snapshots are released along with the instance.
|
|
2488
|
+
* - 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.
|
|
2489
|
+
* >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..
|
|
2489
2490
|
*
|
|
2490
2491
|
* @param request - DeleteInstancesRequest
|
|
2491
2492
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2493,29 +2494,30 @@ export default class Client extends OpenApi {
|
|
|
2493
2494
|
*/
|
|
2494
2495
|
deleteInstancesWithOptions(request: $_model.DeleteInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteInstancesResponse>;
|
|
2495
2496
|
/**
|
|
2496
|
-
*
|
|
2497
|
+
* 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.
|
|
2497
2498
|
*
|
|
2498
2499
|
* @remarks
|
|
2499
2500
|
* >Warning:
|
|
2500
|
-
* After
|
|
2501
|
-
*
|
|
2502
|
-
* -
|
|
2503
|
-
*
|
|
2504
|
-
* - If `
|
|
2505
|
-
*
|
|
2506
|
-
*
|
|
2501
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
2502
|
+
* .
|
|
2503
|
+
* - 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.
|
|
2504
|
+
* - 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:
|
|
2505
|
+
* - 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.
|
|
2506
|
+
* - If `DeleteAutoSnapshot=false`, the automatic snapshots are retained. Otherwise, the automatic snapshots are released along with the instance.
|
|
2507
|
+
* - 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.
|
|
2508
|
+
* >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..
|
|
2507
2509
|
*
|
|
2508
2510
|
* @param request - DeleteInstancesRequest
|
|
2509
2511
|
* @returns DeleteInstancesResponse
|
|
2510
2512
|
*/
|
|
2511
2513
|
deleteInstances(request: $_model.DeleteInstancesRequest): Promise<$_model.DeleteInstancesResponse>;
|
|
2512
2514
|
/**
|
|
2513
|
-
*
|
|
2515
|
+
* Call DeleteKeyPairs to delete one or more SSH key pairs.
|
|
2514
2516
|
*
|
|
2515
2517
|
* @remarks
|
|
2516
|
-
*
|
|
2517
|
-
* -
|
|
2518
|
-
* - If an
|
|
2518
|
+
* After you delete an SSH key pair, take note of the following items:
|
|
2519
|
+
* - You cannot query the SSH key pair by calling [DescribeKeyPairs](https://help.aliyun.com/document_detail/51773.html).
|
|
2520
|
+
* - If an ECS instance is bound to the SSH key pair, the SSH key pair cannot be deleted.
|
|
2519
2521
|
*
|
|
2520
2522
|
* @param request - DeleteKeyPairsRequest
|
|
2521
2523
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2523,24 +2525,24 @@ export default class Client extends OpenApi {
|
|
|
2523
2525
|
*/
|
|
2524
2526
|
deleteKeyPairsWithOptions(request: $_model.DeleteKeyPairsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteKeyPairsResponse>;
|
|
2525
2527
|
/**
|
|
2526
|
-
*
|
|
2528
|
+
* Call DeleteKeyPairs to delete one or more SSH key pairs.
|
|
2527
2529
|
*
|
|
2528
2530
|
* @remarks
|
|
2529
|
-
*
|
|
2530
|
-
* -
|
|
2531
|
-
* - If an
|
|
2531
|
+
* After you delete an SSH key pair, take note of the following items:
|
|
2532
|
+
* - You cannot query the SSH key pair by calling [DescribeKeyPairs](https://help.aliyun.com/document_detail/51773.html).
|
|
2533
|
+
* - If an ECS instance is bound to the SSH key pair, the SSH key pair cannot be deleted.
|
|
2532
2534
|
*
|
|
2533
2535
|
* @param request - DeleteKeyPairsRequest
|
|
2534
2536
|
* @returns DeleteKeyPairsResponse
|
|
2535
2537
|
*/
|
|
2536
2538
|
deleteKeyPairs(request: $_model.DeleteKeyPairsRequest): Promise<$_model.DeleteKeyPairsResponse>;
|
|
2537
2539
|
/**
|
|
2538
|
-
* Deletes a launch template
|
|
2540
|
+
* Deletes a launch template in a specified region by specifying the LaunchTemplateId or LaunchTemplateName parameter.
|
|
2539
2541
|
*
|
|
2540
2542
|
* @remarks
|
|
2541
2543
|
* Take note of the following items:
|
|
2542
|
-
* - After you delete a launch template,
|
|
2543
|
-
* - After you delete a launch template, all versions of the
|
|
2544
|
+
* - After you delete a launch template, ECS instances that were created by using the launch template are not affected.
|
|
2545
|
+
* - 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).
|
|
2544
2546
|
*
|
|
2545
2547
|
* @param request - DeleteLaunchTemplateRequest
|
|
2546
2548
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2548,25 +2550,25 @@ export default class Client extends OpenApi {
|
|
|
2548
2550
|
*/
|
|
2549
2551
|
deleteLaunchTemplateWithOptions(request: $_model.DeleteLaunchTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLaunchTemplateResponse>;
|
|
2550
2552
|
/**
|
|
2551
|
-
* Deletes a launch template
|
|
2553
|
+
* Deletes a launch template in a specified region by specifying the LaunchTemplateId or LaunchTemplateName parameter.
|
|
2552
2554
|
*
|
|
2553
2555
|
* @remarks
|
|
2554
2556
|
* Take note of the following items:
|
|
2555
|
-
* - After you delete a launch template,
|
|
2556
|
-
* - After you delete a launch template, all versions of the
|
|
2557
|
+
* - After you delete a launch template, ECS instances that were created by using the launch template are not affected.
|
|
2558
|
+
* - 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).
|
|
2557
2559
|
*
|
|
2558
2560
|
* @param request - DeleteLaunchTemplateRequest
|
|
2559
2561
|
* @returns DeleteLaunchTemplateResponse
|
|
2560
2562
|
*/
|
|
2561
2563
|
deleteLaunchTemplate(request: $_model.DeleteLaunchTemplateRequest): Promise<$_model.DeleteLaunchTemplateResponse>;
|
|
2562
2564
|
/**
|
|
2563
|
-
* Deletes versions of a launch template
|
|
2565
|
+
* Deletes one or more versions of a specified launch template by specifying parameters such as LaunchTemplateId and DeleteVersion.
|
|
2564
2566
|
*
|
|
2565
2567
|
* @remarks
|
|
2566
|
-
*
|
|
2567
|
-
* -
|
|
2568
|
-
* - If the version
|
|
2569
|
-
* -
|
|
2568
|
+
* When you call this operation, take note of the following items:
|
|
2569
|
+
* - The default version cannot be deleted. You must delete the entire launch template to remove the default version.
|
|
2570
|
+
* - 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.
|
|
2571
|
+
* - Deleting a version does not affect instances that were already created from that version.
|
|
2570
2572
|
*
|
|
2571
2573
|
* @param request - DeleteLaunchTemplateVersionRequest
|
|
2572
2574
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2574,13 +2576,13 @@ export default class Client extends OpenApi {
|
|
|
2574
2576
|
*/
|
|
2575
2577
|
deleteLaunchTemplateVersionWithOptions(request: $_model.DeleteLaunchTemplateVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLaunchTemplateVersionResponse>;
|
|
2576
2578
|
/**
|
|
2577
|
-
* Deletes versions of a launch template
|
|
2579
|
+
* Deletes one or more versions of a specified launch template by specifying parameters such as LaunchTemplateId and DeleteVersion.
|
|
2578
2580
|
*
|
|
2579
2581
|
* @remarks
|
|
2580
|
-
*
|
|
2581
|
-
* -
|
|
2582
|
-
* - If the version
|
|
2583
|
-
* -
|
|
2582
|
+
* When you call this operation, take note of the following items:
|
|
2583
|
+
* - The default version cannot be deleted. You must delete the entire launch template to remove the default version.
|
|
2584
|
+
* - 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.
|
|
2585
|
+
* - Deleting a version does not affect instances that were already created from that version.
|
|
2584
2586
|
*
|
|
2585
2587
|
* @param request - DeleteLaunchTemplateVersionRequest
|
|
2586
2588
|
* @returns DeleteLaunchTemplateVersionResponse
|
|
@@ -2717,10 +2719,10 @@ export default class Client extends OpenApi {
|
|
|
2717
2719
|
*/
|
|
2718
2720
|
deletePortRangeList(request: $_model.DeletePortRangeListRequest): Promise<$_model.DeletePortRangeListResponse>;
|
|
2719
2721
|
/**
|
|
2720
|
-
* Deletes a prefix list and all entries in the prefix list.
|
|
2722
|
+
* Deletes a specified prefix list and all entries in the prefix list.
|
|
2721
2723
|
*
|
|
2722
2724
|
* @remarks
|
|
2723
|
-
* If a prefix list is associated with resources, you cannot delete
|
|
2725
|
+
* 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.
|
|
2724
2726
|
*
|
|
2725
2727
|
* @param request - DeletePrefixListRequest
|
|
2726
2728
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2728,10 +2730,10 @@ export default class Client extends OpenApi {
|
|
|
2728
2730
|
*/
|
|
2729
2731
|
deletePrefixListWithOptions(request: $_model.DeletePrefixListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeletePrefixListResponse>;
|
|
2730
2732
|
/**
|
|
2731
|
-
* Deletes a prefix list and all entries in the prefix list.
|
|
2733
|
+
* Deletes a specified prefix list and all entries in the prefix list.
|
|
2732
2734
|
*
|
|
2733
2735
|
* @remarks
|
|
2734
|
-
* If a prefix list is associated with resources, you cannot delete
|
|
2736
|
+
* 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.
|
|
2735
2737
|
*
|
|
2736
2738
|
* @param request - DeletePrefixListRequest
|
|
2737
2739
|
* @returns DeletePrefixListResponse
|
|
@@ -2965,7 +2967,7 @@ export default class Client extends OpenApi {
|
|
|
2965
2967
|
*/
|
|
2966
2968
|
deregisterManagedInstance(request: $_model.DeregisterManagedInstanceRequest): Promise<$_model.DeregisterManagedInstanceResponse>;
|
|
2967
2969
|
/**
|
|
2968
|
-
*
|
|
2970
|
+
* Queries access points.
|
|
2969
2971
|
*
|
|
2970
2972
|
* @deprecated OpenAPI DescribeAccessPoints is deprecated, please use Vpc::2016-04-28::DescribeAccessPoints instead.
|
|
2971
2973
|
*
|
|
@@ -2975,7 +2977,7 @@ export default class Client extends OpenApi {
|
|
|
2975
2977
|
*/
|
|
2976
2978
|
describeAccessPointsWithOptions(request: $_model.DescribeAccessPointsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAccessPointsResponse>;
|
|
2977
2979
|
/**
|
|
2978
|
-
*
|
|
2980
|
+
* Queries access points.
|
|
2979
2981
|
*
|
|
2980
2982
|
* @deprecated OpenAPI DescribeAccessPoints is deprecated, please use Vpc::2016-04-28::DescribeAccessPoints instead.
|
|
2981
2983
|
*
|
|
@@ -3079,7 +3081,7 @@ export default class Client extends OpenApi {
|
|
|
3079
3081
|
*/
|
|
3080
3082
|
describeAutoProvisioningGroups(request: $_model.DescribeAutoProvisioningGroupsRequest): Promise<$_model.DescribeAutoProvisioningGroupsResponse>;
|
|
3081
3083
|
/**
|
|
3082
|
-
* Queries
|
|
3084
|
+
* Queries the associate relationships of an automatic snapshot policy.
|
|
3083
3085
|
*
|
|
3084
3086
|
* @param request - DescribeAutoSnapshotPolicyAssociationsRequest
|
|
3085
3087
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3087,7 +3089,7 @@ export default class Client extends OpenApi {
|
|
|
3087
3089
|
*/
|
|
3088
3090
|
describeAutoSnapshotPolicyAssociationsWithOptions(request: $_model.DescribeAutoSnapshotPolicyAssociationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAutoSnapshotPolicyAssociationsResponse>;
|
|
3089
3091
|
/**
|
|
3090
|
-
* Queries
|
|
3092
|
+
* Queries the associate relationships of an automatic snapshot policy.
|
|
3091
3093
|
*
|
|
3092
3094
|
* @param request - DescribeAutoSnapshotPolicyAssociationsRequest
|
|
3093
3095
|
* @returns DescribeAutoSnapshotPolicyAssociationsResponse
|
|
@@ -3236,7 +3238,7 @@ export default class Client extends OpenApi {
|
|
|
3236
3238
|
*/
|
|
3237
3239
|
describeAvailableResource(request: $_model.DescribeAvailableResourceRequest): Promise<$_model.DescribeAvailableResourceResponse>;
|
|
3238
3240
|
/**
|
|
3239
|
-
*
|
|
3241
|
+
* Calls DescribeBandwidthLimitation to query the maximum public bandwidth that can be purchased, upgraded, or downgraded for different instance types.
|
|
3240
3242
|
*
|
|
3241
3243
|
* @param request - DescribeBandwidthLimitationRequest
|
|
3242
3244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3244,7 +3246,7 @@ export default class Client extends OpenApi {
|
|
|
3244
3246
|
*/
|
|
3245
3247
|
describeBandwidthLimitationWithOptions(request: $_model.DescribeBandwidthLimitationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeBandwidthLimitationResponse>;
|
|
3246
3248
|
/**
|
|
3247
|
-
*
|
|
3249
|
+
* Calls DescribeBandwidthLimitation to query the maximum public bandwidth that can be purchased, upgraded, or downgraded for different instance types.
|
|
3248
3250
|
*
|
|
3249
3251
|
* @param request - DescribeBandwidthLimitationRequest
|
|
3250
3252
|
* @returns DescribeBandwidthLimitationResponse
|
|
@@ -3615,23 +3617,22 @@ export default class Client extends OpenApi {
|
|
|
3615
3617
|
*/
|
|
3616
3618
|
describeDiskEncryptionByDefaultStatus(request: $_model.DescribeDiskEncryptionByDefaultStatusRequest): Promise<$_model.DescribeDiskEncryptionByDefaultStatusResponse>;
|
|
3617
3619
|
/**
|
|
3618
|
-
* Queries the
|
|
3620
|
+
* 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).
|
|
3619
3621
|
*
|
|
3620
3622
|
* @remarks
|
|
3621
|
-
*
|
|
3622
|
-
* -
|
|
3623
|
-
*
|
|
3624
|
-
*
|
|
3625
|
-
* -
|
|
3626
|
-
*
|
|
3627
|
-
*
|
|
3628
|
-
* 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:
|
|
3623
|
+
* When you call this operation, take note of the following limits:
|
|
3624
|
+
* - 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).
|
|
3625
|
+
* > 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.
|
|
3626
|
+
* - 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.
|
|
3627
|
+
* - 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.
|
|
3628
|
+
* ## Request example
|
|
3629
|
+
* 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:
|
|
3629
3630
|
* ```
|
|
3630
|
-
* RegionId:"cn-hangzhou", // Set the
|
|
3631
|
-
* DiskId:"d-bp14emm68wx98vjk****", //
|
|
3632
|
-
* StartTime:"2025-02-15T00:00:00Z", //
|
|
3633
|
-
* EndTime:"2025-02-17T00:00:00Z", //
|
|
3634
|
-
* Period:"600", //
|
|
3631
|
+
* RegionId:"cn-hangzhou", // Set the China (Hangzhou) region
|
|
3632
|
+
* DiskId:"d-bp14emm68wx98vjk****", // Set the disk ID
|
|
3633
|
+
* StartTime:"2025-02-15T00:00:00Z", // Set the query start time
|
|
3634
|
+
* EndTime:"2025-02-17T00:00:00Z", // Set the query end time
|
|
3635
|
+
* Period:"600", // Set the data granularity
|
|
3635
3636
|
* ```
|
|
3636
3637
|
*
|
|
3637
3638
|
* @param request - DescribeDiskMonitorDataRequest
|
|
@@ -3640,23 +3641,22 @@ export default class Client extends OpenApi {
|
|
|
3640
3641
|
*/
|
|
3641
3642
|
describeDiskMonitorDataWithOptions(request: $_model.DescribeDiskMonitorDataRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDiskMonitorDataResponse>;
|
|
3642
3643
|
/**
|
|
3643
|
-
* Queries the
|
|
3644
|
+
* 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).
|
|
3644
3645
|
*
|
|
3645
3646
|
* @remarks
|
|
3646
|
-
*
|
|
3647
|
-
* -
|
|
3648
|
-
*
|
|
3649
|
-
*
|
|
3650
|
-
* -
|
|
3651
|
-
*
|
|
3652
|
-
*
|
|
3653
|
-
* 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:
|
|
3647
|
+
* When you call this operation, take note of the following limits:
|
|
3648
|
+
* - 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).
|
|
3649
|
+
* > 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.
|
|
3650
|
+
* - 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.
|
|
3651
|
+
* - 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.
|
|
3652
|
+
* ## Request example
|
|
3653
|
+
* 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:
|
|
3654
3654
|
* ```
|
|
3655
|
-
* RegionId:"cn-hangzhou", // Set the
|
|
3656
|
-
* DiskId:"d-bp14emm68wx98vjk****", //
|
|
3657
|
-
* StartTime:"2025-02-15T00:00:00Z", //
|
|
3658
|
-
* EndTime:"2025-02-17T00:00:00Z", //
|
|
3659
|
-
* Period:"600", //
|
|
3655
|
+
* RegionId:"cn-hangzhou", // Set the China (Hangzhou) region
|
|
3656
|
+
* DiskId:"d-bp14emm68wx98vjk****", // Set the disk ID
|
|
3657
|
+
* StartTime:"2025-02-15T00:00:00Z", // Set the query start time
|
|
3658
|
+
* EndTime:"2025-02-17T00:00:00Z", // Set the query end time
|
|
3659
|
+
* Period:"600", // Set the data granularity
|
|
3660
3660
|
* ```
|
|
3661
3661
|
*
|
|
3662
3662
|
* @param request - DescribeDiskMonitorDataRequest
|
|
@@ -3664,14 +3664,14 @@ export default class Client extends OpenApi {
|
|
|
3664
3664
|
*/
|
|
3665
3665
|
describeDiskMonitorData(request: $_model.DescribeDiskMonitorDataRequest): Promise<$_model.DescribeDiskMonitorDataResponse>;
|
|
3666
3666
|
/**
|
|
3667
|
-
*
|
|
3667
|
+
* Queries information about one or more created block storage devices, including disks, local disks, and elastic ephemeral disks.
|
|
3668
3668
|
*
|
|
3669
3669
|
* @remarks
|
|
3670
|
-
* -
|
|
3671
|
-
* - The
|
|
3672
|
-
* -
|
|
3673
|
-
* -
|
|
3674
|
-
* When you call
|
|
3670
|
+
* - The request parameters RegionId, ZoneId, DiskIds, and InstanceId are filters. The logical relationship among these parameters is AND.
|
|
3671
|
+
* - 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.
|
|
3672
|
+
* - 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.
|
|
3673
|
+
* - 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.
|
|
3674
|
+
* 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).
|
|
3675
3675
|
*
|
|
3676
3676
|
* @param request - DescribeDisksRequest
|
|
3677
3677
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3679,14 +3679,14 @@ export default class Client extends OpenApi {
|
|
|
3679
3679
|
*/
|
|
3680
3680
|
describeDisksWithOptions(request: $_model.DescribeDisksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDisksResponse>;
|
|
3681
3681
|
/**
|
|
3682
|
-
*
|
|
3682
|
+
* Queries information about one or more created block storage devices, including disks, local disks, and elastic ephemeral disks.
|
|
3683
3683
|
*
|
|
3684
3684
|
* @remarks
|
|
3685
|
-
* -
|
|
3686
|
-
* - The
|
|
3687
|
-
* -
|
|
3688
|
-
* -
|
|
3689
|
-
* When you call
|
|
3685
|
+
* - The request parameters RegionId, ZoneId, DiskIds, and InstanceId are filters. The logical relationship among these parameters is AND.
|
|
3686
|
+
* - 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.
|
|
3687
|
+
* - 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.
|
|
3688
|
+
* - 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.
|
|
3689
|
+
* 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).
|
|
3690
3690
|
*
|
|
3691
3691
|
* @param request - DescribeDisksRequest
|
|
3692
3692
|
* @returns DescribeDisksResponse
|
|
@@ -3870,7 +3870,7 @@ export default class Client extends OpenApi {
|
|
|
3870
3870
|
*/
|
|
3871
3871
|
describeHaVips(request: $_model.DescribeHaVipsRequest): Promise<$_model.DescribeHaVipsResponse>;
|
|
3872
3872
|
/**
|
|
3873
|
-
*
|
|
3873
|
+
* 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.
|
|
3874
3874
|
*
|
|
3875
3875
|
* @param request - DescribeHpcClustersRequest
|
|
3876
3876
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3878,7 +3878,7 @@ export default class Client extends OpenApi {
|
|
|
3878
3878
|
*/
|
|
3879
3879
|
describeHpcClustersWithOptions(request: $_model.DescribeHpcClustersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeHpcClustersResponse>;
|
|
3880
3880
|
/**
|
|
3881
|
-
*
|
|
3881
|
+
* 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.
|
|
3882
3882
|
*
|
|
3883
3883
|
* @param request - DescribeHpcClustersRequest
|
|
3884
3884
|
* @returns DescribeHpcClustersResponse
|
|
@@ -3888,7 +3888,7 @@ export default class Client extends OpenApi {
|
|
|
3888
3888
|
* Queries the details of one or more image components.
|
|
3889
3889
|
*
|
|
3890
3890
|
* @remarks
|
|
3891
|
-
* You can
|
|
3891
|
+
* 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.
|
|
3892
3892
|
*
|
|
3893
3893
|
* @param request - DescribeImageComponentsRequest
|
|
3894
3894
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3899,7 +3899,7 @@ export default class Client extends OpenApi {
|
|
|
3899
3899
|
* Queries the details of one or more image components.
|
|
3900
3900
|
*
|
|
3901
3901
|
* @remarks
|
|
3902
|
-
* You can
|
|
3902
|
+
* 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.
|
|
3903
3903
|
*
|
|
3904
3904
|
* @param request - DescribeImageComponentsRequest
|
|
3905
3905
|
* @returns DescribeImageComponentsResponse
|
|
@@ -3977,7 +3977,7 @@ export default class Client extends OpenApi {
|
|
|
3977
3977
|
*/
|
|
3978
3978
|
describeImagePipelines(request: $_model.DescribeImagePipelinesRequest): Promise<$_model.DescribeImagePipelinesResponse>;
|
|
3979
3979
|
/**
|
|
3980
|
-
* Queries
|
|
3980
|
+
* Queries all users with whom a custom image is shared. The returned results support pagination, with 10 entries per page by default.
|
|
3981
3981
|
*
|
|
3982
3982
|
* @param request - DescribeImageSharePermissionRequest
|
|
3983
3983
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3985,14 +3985,14 @@ export default class Client extends OpenApi {
|
|
|
3985
3985
|
*/
|
|
3986
3986
|
describeImageSharePermissionWithOptions(request: $_model.DescribeImageSharePermissionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeImageSharePermissionResponse>;
|
|
3987
3987
|
/**
|
|
3988
|
-
* Queries
|
|
3988
|
+
* Queries all users with whom a custom image is shared. The returned results support pagination, with 10 entries per page by default.
|
|
3989
3989
|
*
|
|
3990
3990
|
* @param request - DescribeImageSharePermissionRequest
|
|
3991
3991
|
* @returns DescribeImageSharePermissionResponse
|
|
3992
3992
|
*/
|
|
3993
3993
|
describeImageSharePermission(request: $_model.DescribeImageSharePermissionRequest): Promise<$_model.DescribeImageSharePermissionResponse>;
|
|
3994
3994
|
/**
|
|
3995
|
-
* Queries the
|
|
3995
|
+
* Queries the instance types supported by a specified image.
|
|
3996
3996
|
*
|
|
3997
3997
|
* @param request - DescribeImageSupportInstanceTypesRequest
|
|
3998
3998
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4000,7 +4000,7 @@ export default class Client extends OpenApi {
|
|
|
4000
4000
|
*/
|
|
4001
4001
|
describeImageSupportInstanceTypesWithOptions(request: $_model.DescribeImageSupportInstanceTypesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeImageSupportInstanceTypesResponse>;
|
|
4002
4002
|
/**
|
|
4003
|
-
* Queries the
|
|
4003
|
+
* Queries the instance types supported by a specified image.
|
|
4004
4004
|
*
|
|
4005
4005
|
* @param request - DescribeImageSupportInstanceTypesRequest
|
|
4006
4006
|
* @returns DescribeImageSupportInstanceTypesResponse
|
|
@@ -4283,12 +4283,16 @@ export default class Client extends OpenApi {
|
|
|
4283
4283
|
*/
|
|
4284
4284
|
describeInstanceStatus(request: $_model.DescribeInstanceStatusRequest): Promise<$_model.DescribeInstanceStatusResponse>;
|
|
4285
4285
|
/**
|
|
4286
|
+
* 实例拓扑查询接口
|
|
4287
|
+
*
|
|
4286
4288
|
* @param request - DescribeInstanceTopologyRequest
|
|
4287
4289
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4288
4290
|
* @returns DescribeInstanceTopologyResponse
|
|
4289
4291
|
*/
|
|
4290
4292
|
describeInstanceTopologyWithOptions(request: $_model.DescribeInstanceTopologyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInstanceTopologyResponse>;
|
|
4291
4293
|
/**
|
|
4294
|
+
* 实例拓扑查询接口
|
|
4295
|
+
*
|
|
4292
4296
|
* @param request - DescribeInstanceTopologyRequest
|
|
4293
4297
|
* @returns DescribeInstanceTopologyResponse
|
|
4294
4298
|
*/
|
|
@@ -4309,17 +4313,18 @@ export default class Client extends OpenApi {
|
|
|
4309
4313
|
*/
|
|
4310
4314
|
describeInstanceTypeFamilies(request: $_model.DescribeInstanceTypeFamiliesRequest): Promise<$_model.DescribeInstanceTypeFamiliesResponse>;
|
|
4311
4315
|
/**
|
|
4312
|
-
*
|
|
4316
|
+
* 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.
|
|
4313
4317
|
*
|
|
4314
4318
|
* @remarks
|
|
4315
|
-
* - **
|
|
4316
|
-
* -
|
|
4317
|
-
* >
|
|
4318
|
-
* -
|
|
4319
|
+
* - **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.
|
|
4320
|
+
* - 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.
|
|
4321
|
+
* > 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.
|
|
4322
|
+
* - 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).
|
|
4319
4323
|
* <props="china">
|
|
4320
|
-
* - If you require
|
|
4324
|
+
* - 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).
|
|
4325
|
+
*
|
|
4321
4326
|
* <props="intl">
|
|
4322
|
-
* - If you require
|
|
4327
|
+
* - 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).
|
|
4323
4328
|
*
|
|
4324
4329
|
* @param request - DescribeInstanceTypesRequest
|
|
4325
4330
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4327,38 +4332,39 @@ export default class Client extends OpenApi {
|
|
|
4327
4332
|
*/
|
|
4328
4333
|
describeInstanceTypesWithOptions(request: $_model.DescribeInstanceTypesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInstanceTypesResponse>;
|
|
4329
4334
|
/**
|
|
4330
|
-
*
|
|
4335
|
+
* 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.
|
|
4331
4336
|
*
|
|
4332
4337
|
* @remarks
|
|
4333
|
-
* - **
|
|
4334
|
-
* -
|
|
4335
|
-
* >
|
|
4336
|
-
* -
|
|
4338
|
+
* - **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.
|
|
4339
|
+
* - 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.
|
|
4340
|
+
* > 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.
|
|
4341
|
+
* - 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).
|
|
4337
4342
|
* <props="china">
|
|
4338
|
-
* - If you require
|
|
4343
|
+
* - 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).
|
|
4344
|
+
*
|
|
4339
4345
|
* <props="intl">
|
|
4340
|
-
* - If you require
|
|
4346
|
+
* - 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).
|
|
4341
4347
|
*
|
|
4342
4348
|
* @param request - DescribeInstanceTypesRequest
|
|
4343
4349
|
* @returns DescribeInstanceTypesResponse
|
|
4344
4350
|
*/
|
|
4345
4351
|
describeInstanceTypes(request: $_model.DescribeInstanceTypesRequest): Promise<$_model.DescribeInstanceTypesResponse>;
|
|
4346
4352
|
/**
|
|
4347
|
-
* Queries the
|
|
4353
|
+
* Queries the VNC logon URL of an ECS instance.
|
|
4348
4354
|
*
|
|
4349
4355
|
* @remarks
|
|
4350
|
-
* -
|
|
4351
|
-
* > To construct
|
|
4352
|
-
*
|
|
4353
|
-
*
|
|
4354
|
-
*
|
|
4355
|
-
* -
|
|
4356
|
-
* - The
|
|
4357
|
-
* - If the connection is interrupted,
|
|
4358
|
-
*
|
|
4356
|
+
* - The API returns a VNC logon URL (VncUrl) that cannot be used directly. You can access the instance through the **management terminal URL**.
|
|
4357
|
+
* > 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:
|
|
4358
|
+
* >- `vncUrl`: the VNC logon URL.
|
|
4359
|
+
* >- `instanceId`: the instance ID.
|
|
4360
|
+
* >- `isWindows`: specifies whether the operating system of the instance is Windows. A value of `true` indicates Windows. A value of `false` indicates non-Windows.
|
|
4361
|
+
* >- Password-free VNC connections are supported. You do not need to set the `password` parameter.
|
|
4362
|
+
* - The KeepAlive time of a single management terminal URL is 300 seconds. If no interaction occurs within 300 seconds, the connection is automatically closed.
|
|
4363
|
+
* - 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.
|
|
4364
|
+
* Example management terminal URL:
|
|
4359
4365
|
* ```
|
|
4360
4366
|
* https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
|
|
4361
|
-
*
|
|
4367
|
+
* ```.
|
|
4362
4368
|
*
|
|
4363
4369
|
* @param request - DescribeInstanceVncUrlRequest
|
|
4364
4370
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4366,21 +4372,21 @@ export default class Client extends OpenApi {
|
|
|
4366
4372
|
*/
|
|
4367
4373
|
describeInstanceVncUrlWithOptions(request: $_model.DescribeInstanceVncUrlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeInstanceVncUrlResponse>;
|
|
4368
4374
|
/**
|
|
4369
|
-
* Queries the
|
|
4375
|
+
* Queries the VNC logon URL of an ECS instance.
|
|
4370
4376
|
*
|
|
4371
4377
|
* @remarks
|
|
4372
|
-
* -
|
|
4373
|
-
* > To construct
|
|
4374
|
-
*
|
|
4375
|
-
*
|
|
4376
|
-
*
|
|
4377
|
-
* -
|
|
4378
|
-
* - The
|
|
4379
|
-
* - If the connection is interrupted,
|
|
4380
|
-
*
|
|
4378
|
+
* - The API returns a VNC logon URL (VncUrl) that cannot be used directly. You can access the instance through the **management terminal URL**.
|
|
4379
|
+
* > 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:
|
|
4380
|
+
* >- `vncUrl`: the VNC logon URL.
|
|
4381
|
+
* >- `instanceId`: the instance ID.
|
|
4382
|
+
* >- `isWindows`: specifies whether the operating system of the instance is Windows. A value of `true` indicates Windows. A value of `false` indicates non-Windows.
|
|
4383
|
+
* >- Password-free VNC connections are supported. You do not need to set the `password` parameter.
|
|
4384
|
+
* - The KeepAlive time of a single management terminal URL is 300 seconds. If no interaction occurs within 300 seconds, the connection is automatically closed.
|
|
4385
|
+
* - 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.
|
|
4386
|
+
* Example management terminal URL:
|
|
4381
4387
|
* ```
|
|
4382
4388
|
* https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
|
|
4383
|
-
*
|
|
4389
|
+
* ```.
|
|
4384
4390
|
*
|
|
4385
4391
|
* @param request - DescribeInstanceVncUrlRequest
|
|
4386
4392
|
* @returns DescribeInstanceVncUrlResponse
|
|
@@ -4559,7 +4565,7 @@ export default class Client extends OpenApi {
|
|
|
4559
4565
|
*/
|
|
4560
4566
|
describeLaunchTemplateVersions(request: $_model.DescribeLaunchTemplateVersionsRequest): Promise<$_model.DescribeLaunchTemplateVersionsResponse>;
|
|
4561
4567
|
/**
|
|
4562
|
-
*
|
|
4568
|
+
* 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.
|
|
4563
4569
|
*
|
|
4564
4570
|
* @param request - DescribeLaunchTemplatesRequest
|
|
4565
4571
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4567,7 +4573,7 @@ export default class Client extends OpenApi {
|
|
|
4567
4573
|
*/
|
|
4568
4574
|
describeLaunchTemplatesWithOptions(request: $_model.DescribeLaunchTemplatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeLaunchTemplatesResponse>;
|
|
4569
4575
|
/**
|
|
4570
|
-
*
|
|
4576
|
+
* 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.
|
|
4571
4577
|
*
|
|
4572
4578
|
* @param request - DescribeLaunchTemplatesRequest
|
|
4573
4579
|
* @returns DescribeLaunchTemplatesResponse
|
|
@@ -4663,7 +4669,7 @@ export default class Client extends OpenApi {
|
|
|
4663
4669
|
*/
|
|
4664
4670
|
describeNetworkInterfaceAttribute(request: $_model.DescribeNetworkInterfaceAttributeRequest): Promise<$_model.DescribeNetworkInterfaceAttributeResponse>;
|
|
4665
4671
|
/**
|
|
4666
|
-
*
|
|
4672
|
+
* Queries the list of Elastic Network Interface (ENI) permissions that you have granted to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
4667
4673
|
*
|
|
4668
4674
|
* @param request - DescribeNetworkInterfacePermissionsRequest
|
|
4669
4675
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4671,7 +4677,7 @@ export default class Client extends OpenApi {
|
|
|
4671
4677
|
*/
|
|
4672
4678
|
describeNetworkInterfacePermissionsWithOptions(request: $_model.DescribeNetworkInterfacePermissionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeNetworkInterfacePermissionsResponse>;
|
|
4673
4679
|
/**
|
|
4674
|
-
*
|
|
4680
|
+
* Queries the list of Elastic Network Interface (ENI) permissions that you have granted to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
4675
4681
|
*
|
|
4676
4682
|
* @param request - DescribeNetworkInterfacePermissionsRequest
|
|
4677
4683
|
* @returns DescribeNetworkInterfacePermissionsResponse
|
|
@@ -4705,7 +4711,7 @@ export default class Client extends OpenApi {
|
|
|
4705
4711
|
*/
|
|
4706
4712
|
describeNetworkInterfaces(request: $_model.DescribeNetworkInterfacesRequest): Promise<$_model.DescribeNetworkInterfacesResponse>;
|
|
4707
4713
|
/**
|
|
4708
|
-
*
|
|
4714
|
+
* Queries the monitoring data of an Elastic IP Address (EIP) associated with a new project.
|
|
4709
4715
|
*
|
|
4710
4716
|
* @deprecated OpenAPI DescribeNewProjectEipMonitorData is deprecated, please use Vpc::2016-04-28::DescribeEipMonitorData instead.
|
|
4711
4717
|
*
|
|
@@ -4715,7 +4721,7 @@ export default class Client extends OpenApi {
|
|
|
4715
4721
|
*/
|
|
4716
4722
|
describeNewProjectEipMonitorDataWithOptions(request: $_model.DescribeNewProjectEipMonitorDataRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeNewProjectEipMonitorDataResponse>;
|
|
4717
4723
|
/**
|
|
4718
|
-
*
|
|
4724
|
+
* Queries the monitoring data of an Elastic IP Address (EIP) associated with a new project.
|
|
4719
4725
|
*
|
|
4720
4726
|
* @deprecated OpenAPI DescribeNewProjectEipMonitorData is deprecated, please use Vpc::2016-04-28::DescribeEipMonitorData instead.
|
|
4721
4727
|
*
|
|
@@ -4724,7 +4730,7 @@ export default class Client extends OpenApi {
|
|
|
4724
4730
|
*/
|
|
4725
4731
|
describeNewProjectEipMonitorData(request: $_model.DescribeNewProjectEipMonitorDataRequest): Promise<$_model.DescribeNewProjectEipMonitorDataResponse>;
|
|
4726
4732
|
/**
|
|
4727
|
-
*
|
|
4733
|
+
* Queries physical connections.
|
|
4728
4734
|
*
|
|
4729
4735
|
* @deprecated OpenAPI DescribePhysicalConnections is deprecated, please use Vpc::2016-04-28::DescribePhysicalConnections instead.
|
|
4730
4736
|
*
|
|
@@ -4734,7 +4740,7 @@ export default class Client extends OpenApi {
|
|
|
4734
4740
|
*/
|
|
4735
4741
|
describePhysicalConnectionsWithOptions(request: $_model.DescribePhysicalConnectionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePhysicalConnectionsResponse>;
|
|
4736
4742
|
/**
|
|
4737
|
-
*
|
|
4743
|
+
* Queries physical connections.
|
|
4738
4744
|
*
|
|
4739
4745
|
* @deprecated OpenAPI DescribePhysicalConnections is deprecated, please use Vpc::2016-04-28::DescribePhysicalConnections instead.
|
|
4740
4746
|
*
|
|
@@ -4743,12 +4749,12 @@ export default class Client extends OpenApi {
|
|
|
4743
4749
|
*/
|
|
4744
4750
|
describePhysicalConnections(request: $_model.DescribePhysicalConnectionsRequest): Promise<$_model.DescribePhysicalConnectionsResponse>;
|
|
4745
4751
|
/**
|
|
4746
|
-
*
|
|
4752
|
+
* Queries O&M windows.
|
|
4747
4753
|
*
|
|
4748
4754
|
* @remarks
|
|
4749
|
-
*
|
|
4750
|
-
* - Maintenance window: A
|
|
4751
|
-
* - Maintenance action:
|
|
4755
|
+
* Queries the configured maintenance policies. Each policy contains two maintenance attributes:
|
|
4756
|
+
* - Maintenance time window: A time period you specify during which O&M operations are performed.
|
|
4757
|
+
* - Maintenance action: The instance downtime handling policy you specify.
|
|
4752
4758
|
*
|
|
4753
4759
|
* @param tmpReq - DescribePlanMaintenanceWindowsRequest
|
|
4754
4760
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4756,12 +4762,12 @@ export default class Client extends OpenApi {
|
|
|
4756
4762
|
*/
|
|
4757
4763
|
describePlanMaintenanceWindowsWithOptions(tmpReq: $_model.DescribePlanMaintenanceWindowsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePlanMaintenanceWindowsResponse>;
|
|
4758
4764
|
/**
|
|
4759
|
-
*
|
|
4765
|
+
* Queries O&M windows.
|
|
4760
4766
|
*
|
|
4761
4767
|
* @remarks
|
|
4762
|
-
*
|
|
4763
|
-
* - Maintenance window: A
|
|
4764
|
-
* - Maintenance action:
|
|
4768
|
+
* Queries the configured maintenance policies. Each policy contains two maintenance attributes:
|
|
4769
|
+
* - Maintenance time window: A time period you specify during which O&M operations are performed.
|
|
4770
|
+
* - Maintenance action: The instance downtime handling policy you specify.
|
|
4765
4771
|
*
|
|
4766
4772
|
* @param request - DescribePlanMaintenanceWindowsRequest
|
|
4767
4773
|
* @returns DescribePlanMaintenanceWindowsResponse
|
|
@@ -4929,13 +4935,13 @@ export default class Client extends OpenApi {
|
|
|
4929
4935
|
*/
|
|
4930
4936
|
describeRegions(request: $_model.DescribeRegionsRequest): Promise<$_model.DescribeRegionsResponse>;
|
|
4931
4937
|
/**
|
|
4932
|
-
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only
|
|
4938
|
+
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only subscription resources are supported.
|
|
4933
4939
|
*
|
|
4934
4940
|
* @remarks
|
|
4935
|
-
* - Only
|
|
4936
|
-
* -
|
|
4937
|
-
*
|
|
4938
|
-
*
|
|
4941
|
+
* - Only the price for renewing a subscription ECS instance for a specified duration or renewing it to a unified expiration date is supported.
|
|
4942
|
+
* - Note the following when you set the parameters:
|
|
4943
|
+
* - If you set only the required parameters, the price for renewing the instance for one month is returned by default.
|
|
4944
|
+
* - 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.
|
|
4939
4945
|
*
|
|
4940
4946
|
* @param request - DescribeRenewalPriceRequest
|
|
4941
4947
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4943,13 +4949,13 @@ export default class Client extends OpenApi {
|
|
|
4943
4949
|
*/
|
|
4944
4950
|
describeRenewalPriceWithOptions(request: $_model.DescribeRenewalPriceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRenewalPriceResponse>;
|
|
4945
4951
|
/**
|
|
4946
|
-
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only
|
|
4952
|
+
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only subscription resources are supported.
|
|
4947
4953
|
*
|
|
4948
4954
|
* @remarks
|
|
4949
|
-
* - Only
|
|
4950
|
-
* -
|
|
4951
|
-
*
|
|
4952
|
-
*
|
|
4955
|
+
* - Only the price for renewing a subscription ECS instance for a specified duration or renewing it to a unified expiration date is supported.
|
|
4956
|
+
* - Note the following when you set the parameters:
|
|
4957
|
+
* - If you set only the required parameters, the price for renewing the instance for one month is returned by default.
|
|
4958
|
+
* - 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.
|
|
4953
4959
|
*
|
|
4954
4960
|
* @param request - DescribeRenewalPriceRequest
|
|
4955
4961
|
* @returns DescribeRenewalPriceResponse
|
|
@@ -5223,10 +5229,10 @@ export default class Client extends OpenApi {
|
|
|
5223
5229
|
*/
|
|
5224
5230
|
describeSecurityGroupAttribute(request: $_model.DescribeSecurityGroupAttributeRequest): Promise<$_model.DescribeSecurityGroupAttributeResponse>;
|
|
5225
5231
|
/**
|
|
5226
|
-
* Queries the security groups
|
|
5232
|
+
* Queries the list of other security groups that have been authorized by one or more specified security groups.
|
|
5227
5233
|
*
|
|
5228
5234
|
* @remarks
|
|
5229
|
-
* -
|
|
5235
|
+
* - 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.
|
|
5230
5236
|
*
|
|
5231
5237
|
* @param request - DescribeSecurityGroupReferencesRequest
|
|
5232
5238
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5234,24 +5240,24 @@ export default class Client extends OpenApi {
|
|
|
5234
5240
|
*/
|
|
5235
5241
|
describeSecurityGroupReferencesWithOptions(request: $_model.DescribeSecurityGroupReferencesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSecurityGroupReferencesResponse>;
|
|
5236
5242
|
/**
|
|
5237
|
-
* Queries the security groups
|
|
5243
|
+
* Queries the list of other security groups that have been authorized by one or more specified security groups.
|
|
5238
5244
|
*
|
|
5239
5245
|
* @remarks
|
|
5240
|
-
* -
|
|
5246
|
+
* - 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.
|
|
5241
5247
|
*
|
|
5242
5248
|
* @param request - DescribeSecurityGroupReferencesRequest
|
|
5243
5249
|
* @returns DescribeSecurityGroupReferencesResponse
|
|
5244
5250
|
*/
|
|
5245
5251
|
describeSecurityGroupReferences(request: $_model.DescribeSecurityGroupReferencesRequest): Promise<$_model.DescribeSecurityGroupReferencesResponse>;
|
|
5246
5252
|
/**
|
|
5247
|
-
*
|
|
5253
|
+
* 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.
|
|
5248
5254
|
*
|
|
5249
5255
|
* @remarks
|
|
5250
|
-
* - **Paged
|
|
5251
|
-
* -
|
|
5252
|
-
* -
|
|
5253
|
-
* - When
|
|
5254
|
-
* - When
|
|
5256
|
+
* - **Paged queries**: We recommend that you use the `MaxResults` and `NextToken` parameters for queries.
|
|
5257
|
+
* - When the response does not contain `NextToken`, the current page is the last page and no more pages are available.
|
|
5258
|
+
* - 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.
|
|
5259
|
+
* - 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.
|
|
5260
|
+
* - 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).
|
|
5255
5261
|
*
|
|
5256
5262
|
* @param request - DescribeSecurityGroupsRequest
|
|
5257
5263
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5259,14 +5265,14 @@ export default class Client extends OpenApi {
|
|
|
5259
5265
|
*/
|
|
5260
5266
|
describeSecurityGroupsWithOptions(request: $_model.DescribeSecurityGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSecurityGroupsResponse>;
|
|
5261
5267
|
/**
|
|
5262
|
-
*
|
|
5268
|
+
* 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.
|
|
5263
5269
|
*
|
|
5264
5270
|
* @remarks
|
|
5265
|
-
* - **Paged
|
|
5266
|
-
* -
|
|
5267
|
-
* -
|
|
5268
|
-
* - When
|
|
5269
|
-
* - When
|
|
5271
|
+
* - **Paged queries**: We recommend that you use the `MaxResults` and `NextToken` parameters for queries.
|
|
5272
|
+
* - When the response does not contain `NextToken`, the current page is the last page and no more pages are available.
|
|
5273
|
+
* - 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.
|
|
5274
|
+
* - 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.
|
|
5275
|
+
* - 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).
|
|
5270
5276
|
*
|
|
5271
5277
|
* @param request - DescribeSecurityGroupsRequest
|
|
5272
5278
|
* @returns DescribeSecurityGroupsResponse
|
|
@@ -5321,13 +5327,13 @@ export default class Client extends OpenApi {
|
|
|
5321
5327
|
*/
|
|
5322
5328
|
describeSnapshotGroups(request: $_model.DescribeSnapshotGroupsRequest): Promise<$_model.DescribeSnapshotGroupsResponse>;
|
|
5323
5329
|
/**
|
|
5324
|
-
* Queries
|
|
5330
|
+
* Queries snapshot chains of disks. A snapshot chain consists of all snapshots of a disk. Each disk corresponds to one snapshot chain.
|
|
5325
5331
|
*
|
|
5326
5332
|
* @remarks
|
|
5327
|
-
* ##
|
|
5328
|
-
*
|
|
5329
|
-
* -
|
|
5330
|
-
* -
|
|
5333
|
+
* ## Operation description
|
|
5334
|
+
* When you call this operation, take note of the following items:
|
|
5335
|
+
* - The request parameters such as `RegionId`, `DiskIds`, and `InstanceId` act as filters. Logical AND is used between these parameters.
|
|
5336
|
+
* - 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.
|
|
5331
5337
|
*
|
|
5332
5338
|
* @param request - DescribeSnapshotLinksRequest
|
|
5333
5339
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5335,13 +5341,13 @@ export default class Client extends OpenApi {
|
|
|
5335
5341
|
*/
|
|
5336
5342
|
describeSnapshotLinksWithOptions(request: $_model.DescribeSnapshotLinksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSnapshotLinksResponse>;
|
|
5337
5343
|
/**
|
|
5338
|
-
* Queries
|
|
5344
|
+
* Queries snapshot chains of disks. A snapshot chain consists of all snapshots of a disk. Each disk corresponds to one snapshot chain.
|
|
5339
5345
|
*
|
|
5340
5346
|
* @remarks
|
|
5341
|
-
* ##
|
|
5342
|
-
*
|
|
5343
|
-
* -
|
|
5344
|
-
* -
|
|
5347
|
+
* ## Operation description
|
|
5348
|
+
* When you call this operation, take note of the following items:
|
|
5349
|
+
* - The request parameters such as `RegionId`, `DiskIds`, and `InstanceId` act as filters. Logical AND is used between these parameters.
|
|
5350
|
+
* - 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.
|
|
5345
5351
|
*
|
|
5346
5352
|
* @param request - DescribeSnapshotLinksRequest
|
|
5347
5353
|
* @returns DescribeSnapshotLinksResponse
|
|
@@ -5611,10 +5617,10 @@ export default class Client extends OpenApi {
|
|
|
5611
5617
|
*/
|
|
5612
5618
|
describeStorageSets(request: $_model.DescribeStorageSetsRequest): Promise<$_model.DescribeStorageSetsResponse>;
|
|
5613
5619
|
/**
|
|
5614
|
-
* You can query for tags
|
|
5620
|
+
* 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.
|
|
5615
5621
|
*
|
|
5616
5622
|
* @remarks
|
|
5617
|
-
*
|
|
5623
|
+
* 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.
|
|
5618
5624
|
*
|
|
5619
5625
|
* @deprecated OpenAPI DescribeTags is deprecated, please use Tag::2018-08-28::CountResourcesByTags instead.
|
|
5620
5626
|
*
|
|
@@ -5624,10 +5630,10 @@ export default class Client extends OpenApi {
|
|
|
5624
5630
|
*/
|
|
5625
5631
|
describeTagsWithOptions(request: $_model.DescribeTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTagsResponse>;
|
|
5626
5632
|
/**
|
|
5627
|
-
* You can query for tags
|
|
5633
|
+
* 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.
|
|
5628
5634
|
*
|
|
5629
5635
|
* @remarks
|
|
5630
|
-
*
|
|
5636
|
+
* 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.
|
|
5631
5637
|
*
|
|
5632
5638
|
* @deprecated OpenAPI DescribeTags is deprecated, please use Tag::2018-08-28::CountResourcesByTags instead.
|
|
5633
5639
|
*
|
|
@@ -5636,7 +5642,7 @@ export default class Client extends OpenApi {
|
|
|
5636
5642
|
*/
|
|
5637
5643
|
describeTags(request: $_model.DescribeTagsRequest): Promise<$_model.DescribeTagsResponse>;
|
|
5638
5644
|
/**
|
|
5639
|
-
* Queries the details of an asynchronous task.
|
|
5645
|
+
* Queries the details of an asynchronous task. Currently, the asynchronous tasks that can be queried include ImportImage, ExportImage, and ModifyDiskSpec.
|
|
5640
5646
|
*
|
|
5641
5647
|
* @param request - DescribeTaskAttributeRequest
|
|
5642
5648
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5644,7 +5650,7 @@ export default class Client extends OpenApi {
|
|
|
5644
5650
|
*/
|
|
5645
5651
|
describeTaskAttributeWithOptions(request: $_model.DescribeTaskAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTaskAttributeResponse>;
|
|
5646
5652
|
/**
|
|
5647
|
-
* Queries the details of an asynchronous task.
|
|
5653
|
+
* Queries the details of an asynchronous task. Currently, the asynchronous tasks that can be queried include ImportImage, ExportImage, and ModifyDiskSpec.
|
|
5648
5654
|
*
|
|
5649
5655
|
* @param request - DescribeTaskAttributeRequest
|
|
5650
5656
|
* @returns DescribeTaskAttributeResponse
|
|
@@ -5784,7 +5790,7 @@ export default class Client extends OpenApi {
|
|
|
5784
5790
|
*/
|
|
5785
5791
|
describeVirtualBorderRouters(request: $_model.DescribeVirtualBorderRoutersRequest): Promise<$_model.DescribeVirtualBorderRoutersResponse>;
|
|
5786
5792
|
/**
|
|
5787
|
-
* DescribeVirtualBorderRoutersForPhysicalConnection
|
|
5793
|
+
* DescribeVirtualBorderRoutersForPhysicalConnection.
|
|
5788
5794
|
*
|
|
5789
5795
|
* @deprecated OpenAPI DescribeVirtualBorderRoutersForPhysicalConnection is deprecated, please use Vpc::2016-04-28::DescribeVirtualBorderRoutersForPhysicalConnection instead.
|
|
5790
5796
|
*
|
|
@@ -5794,7 +5800,7 @@ export default class Client extends OpenApi {
|
|
|
5794
5800
|
*/
|
|
5795
5801
|
describeVirtualBorderRoutersForPhysicalConnectionWithOptions(request: $_model.DescribeVirtualBorderRoutersForPhysicalConnectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVirtualBorderRoutersForPhysicalConnectionResponse>;
|
|
5796
5802
|
/**
|
|
5797
|
-
* DescribeVirtualBorderRoutersForPhysicalConnection
|
|
5803
|
+
* DescribeVirtualBorderRoutersForPhysicalConnection.
|
|
5798
5804
|
*
|
|
5799
5805
|
* @deprecated OpenAPI DescribeVirtualBorderRoutersForPhysicalConnection is deprecated, please use Vpc::2016-04-28::DescribeVirtualBorderRoutersForPhysicalConnection instead.
|
|
5800
5806
|
*
|
|
@@ -5923,12 +5929,12 @@ export default class Client extends OpenApi {
|
|
|
5923
5929
|
*/
|
|
5924
5930
|
detachInstanceRamRole(request: $_model.DetachInstanceRamRoleRequest): Promise<$_model.DetachInstanceRamRoleResponse>;
|
|
5925
5931
|
/**
|
|
5926
|
-
* Unbinds
|
|
5932
|
+
* Unbinds SSH key pairs from one or more Linux instances.
|
|
5927
5933
|
*
|
|
5928
5934
|
* @remarks
|
|
5929
|
-
*
|
|
5930
|
-
* -
|
|
5931
|
-
* -
|
|
5935
|
+
* Take note of the following items when you call this operation:
|
|
5936
|
+
* - 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.
|
|
5937
|
+
* - After you unbind an SSH key pair, the instance uses the username and password authentication method by default.
|
|
5932
5938
|
*
|
|
5933
5939
|
* @param request - DetachKeyPairRequest
|
|
5934
5940
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5936,12 +5942,12 @@ export default class Client extends OpenApi {
|
|
|
5936
5942
|
*/
|
|
5937
5943
|
detachKeyPairWithOptions(request: $_model.DetachKeyPairRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DetachKeyPairResponse>;
|
|
5938
5944
|
/**
|
|
5939
|
-
* Unbinds
|
|
5945
|
+
* Unbinds SSH key pairs from one or more Linux instances.
|
|
5940
5946
|
*
|
|
5941
5947
|
* @remarks
|
|
5942
|
-
*
|
|
5943
|
-
* -
|
|
5944
|
-
* -
|
|
5948
|
+
* Take note of the following items when you call this operation:
|
|
5949
|
+
* - 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.
|
|
5950
|
+
* - After you unbind an SSH key pair, the instance uses the username and password authentication method by default.
|
|
5945
5951
|
*
|
|
5946
5952
|
* @param request - DetachKeyPairRequest
|
|
5947
5953
|
* @returns DetachKeyPairResponse
|
|
@@ -6110,7 +6116,7 @@ export default class Client extends OpenApi {
|
|
|
6110
6116
|
*/
|
|
6111
6117
|
enableNetworkInterfaceQoS(request: $_model.EnableNetworkInterfaceQoSRequest): Promise<$_model.EnableNetworkInterfaceQoSResponse>;
|
|
6112
6118
|
/**
|
|
6113
|
-
*
|
|
6119
|
+
* Enables a physical connection.
|
|
6114
6120
|
*
|
|
6115
6121
|
* @deprecated OpenAPI EnablePhysicalConnection is deprecated, please use Vpc::2016-04-28::EnablePhysicalConnection instead.
|
|
6116
6122
|
*
|
|
@@ -6120,7 +6126,7 @@ export default class Client extends OpenApi {
|
|
|
6120
6126
|
*/
|
|
6121
6127
|
enablePhysicalConnectionWithOptions(request: $_model.EnablePhysicalConnectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnablePhysicalConnectionResponse>;
|
|
6122
6128
|
/**
|
|
6123
|
-
*
|
|
6129
|
+
* Enables a physical connection.
|
|
6124
6130
|
*
|
|
6125
6131
|
* @deprecated OpenAPI EnablePhysicalConnection is deprecated, please use Vpc::2016-04-28::EnablePhysicalConnection instead.
|
|
6126
6132
|
*
|
|
@@ -6129,11 +6135,11 @@ export default class Client extends OpenApi {
|
|
|
6129
6135
|
*/
|
|
6130
6136
|
enablePhysicalConnection(request: $_model.EnablePhysicalConnectionRequest): Promise<$_model.EnablePhysicalConnectionResponse>;
|
|
6131
6137
|
/**
|
|
6132
|
-
* Permanently closes a session.
|
|
6138
|
+
* Permanently closes the data connection of a specified session.
|
|
6133
6139
|
*
|
|
6134
6140
|
* @remarks
|
|
6135
|
-
* -
|
|
6136
|
-
* - The WebSocket URL
|
|
6141
|
+
* - Closes the data connection of a specified session. The session can no longer be used.
|
|
6142
|
+
* - The WebSocket URL associated with the session also becomes invalid and can no longer be used.
|
|
6137
6143
|
*
|
|
6138
6144
|
* @param request - EndTerminalSessionRequest
|
|
6139
6145
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6141,11 +6147,11 @@ export default class Client extends OpenApi {
|
|
|
6141
6147
|
*/
|
|
6142
6148
|
endTerminalSessionWithOptions(request: $_model.EndTerminalSessionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EndTerminalSessionResponse>;
|
|
6143
6149
|
/**
|
|
6144
|
-
* Permanently closes a session.
|
|
6150
|
+
* Permanently closes the data connection of a specified session.
|
|
6145
6151
|
*
|
|
6146
6152
|
* @remarks
|
|
6147
|
-
* -
|
|
6148
|
-
* - The WebSocket URL
|
|
6153
|
+
* - Closes the data connection of a specified session. The session can no longer be used.
|
|
6154
|
+
* - The WebSocket URL associated with the session also becomes invalid and can no longer be used.
|
|
6149
6155
|
*
|
|
6150
6156
|
* @param request - EndTerminalSessionRequest
|
|
6151
6157
|
* @returns EndTerminalSessionResponse
|
|
@@ -6276,12 +6282,12 @@ export default class Client extends OpenApi {
|
|
|
6276
6282
|
*/
|
|
6277
6283
|
exportSnapshot(request: $_model.ExportSnapshotRequest): Promise<$_model.ExportSnapshotResponse>;
|
|
6278
6284
|
/**
|
|
6279
|
-
*
|
|
6285
|
+
* Retrieves the system command line output of an instance. The data is returned in Base64 encoding.
|
|
6280
6286
|
*
|
|
6281
6287
|
* @remarks
|
|
6282
|
-
* - ECS is a
|
|
6283
|
-
* -
|
|
6284
|
-
* -
|
|
6288
|
+
* - 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.
|
|
6289
|
+
* - System command line output cannot be retrieved for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
6290
|
+
* - Windows instances do not support retrieving system command line output.
|
|
6285
6291
|
*
|
|
6286
6292
|
* @param request - GetInstanceConsoleOutputRequest
|
|
6287
6293
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6289,25 +6295,25 @@ export default class Client extends OpenApi {
|
|
|
6289
6295
|
*/
|
|
6290
6296
|
getInstanceConsoleOutputWithOptions(request: $_model.GetInstanceConsoleOutputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetInstanceConsoleOutputResponse>;
|
|
6291
6297
|
/**
|
|
6292
|
-
*
|
|
6298
|
+
* Retrieves the system command line output of an instance. The data is returned in Base64 encoding.
|
|
6293
6299
|
*
|
|
6294
6300
|
* @remarks
|
|
6295
|
-
* - ECS is a
|
|
6296
|
-
* -
|
|
6297
|
-
* -
|
|
6301
|
+
* - 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.
|
|
6302
|
+
* - System command line output cannot be retrieved for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
6303
|
+
* - Windows instances do not support retrieving system command line output.
|
|
6298
6304
|
*
|
|
6299
6305
|
* @param request - GetInstanceConsoleOutputRequest
|
|
6300
6306
|
* @returns GetInstanceConsoleOutputResponse
|
|
6301
6307
|
*/
|
|
6302
6308
|
getInstanceConsoleOutput(request: $_model.GetInstanceConsoleOutputRequest): Promise<$_model.GetInstanceConsoleOutputResponse>;
|
|
6303
6309
|
/**
|
|
6304
|
-
*
|
|
6310
|
+
* Calls GetInstanceScreenshot to obtain the screenshot information of an instance.
|
|
6305
6311
|
*
|
|
6306
6312
|
* @remarks
|
|
6307
|
-
* After ECS returns
|
|
6313
|
+
* 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:
|
|
6308
6314
|
* - The instance must be in the Running state.
|
|
6309
|
-
* -
|
|
6310
|
-
* - If you call this operation
|
|
6315
|
+
* - You cannot obtain screenshot information for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
6316
|
+
* - 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.
|
|
6311
6317
|
*
|
|
6312
6318
|
* @param request - GetInstanceScreenshotRequest
|
|
6313
6319
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6315,112 +6321,114 @@ export default class Client extends OpenApi {
|
|
|
6315
6321
|
*/
|
|
6316
6322
|
getInstanceScreenshotWithOptions(request: $_model.GetInstanceScreenshotRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetInstanceScreenshotResponse>;
|
|
6317
6323
|
/**
|
|
6318
|
-
*
|
|
6324
|
+
* Calls GetInstanceScreenshot to obtain the screenshot information of an instance.
|
|
6319
6325
|
*
|
|
6320
6326
|
* @remarks
|
|
6321
|
-
* After ECS returns
|
|
6327
|
+
* 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:
|
|
6322
6328
|
* - The instance must be in the Running state.
|
|
6323
|
-
* -
|
|
6324
|
-
* - If you call this operation
|
|
6329
|
+
* - You cannot obtain screenshot information for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
6330
|
+
* - 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.
|
|
6325
6331
|
*
|
|
6326
6332
|
* @param request - GetInstanceScreenshotRequest
|
|
6327
6333
|
* @returns GetInstanceScreenshotResponse
|
|
6328
6334
|
*/
|
|
6329
6335
|
getInstanceScreenshot(request: $_model.GetInstanceScreenshotRequest): Promise<$_model.GetInstanceScreenshotResponse>;
|
|
6330
6336
|
/**
|
|
6331
|
-
*
|
|
6337
|
+
* 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).
|
|
6332
6338
|
*
|
|
6333
6339
|
* @remarks
|
|
6334
|
-
* ###
|
|
6335
|
-
* When you call this operation, note the following:
|
|
6336
|
-
* - 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).
|
|
6337
|
-
* - To
|
|
6338
|
-
* - When you import an image for the first time, you must
|
|
6339
|
-
* - **Import an image file without using
|
|
6340
|
-
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this name. Otherwise, the image import fails.
|
|
6341
|
-
*
|
|
6342
|
-
*
|
|
6343
|
-
*
|
|
6344
|
-
*
|
|
6345
|
-
*
|
|
6346
|
-
*
|
|
6347
|
-
*
|
|
6348
|
-
*
|
|
6349
|
-
*
|
|
6350
|
-
*
|
|
6351
|
-
*
|
|
6352
|
-
*
|
|
6353
|
-
*
|
|
6354
|
-
*
|
|
6355
|
-
*
|
|
6356
|
-
*
|
|
6357
|
-
* 2. Attach the `AliyunECSImageImportRolePolicy`
|
|
6358
|
-
*
|
|
6359
|
-
*
|
|
6360
|
-
*
|
|
6361
|
-
*
|
|
6362
|
-
*
|
|
6363
|
-
*
|
|
6364
|
-
*
|
|
6365
|
-
*
|
|
6366
|
-
*
|
|
6367
|
-
*
|
|
6368
|
-
*
|
|
6369
|
-
*
|
|
6370
|
-
*
|
|
6371
|
-
*
|
|
6372
|
-
*
|
|
6373
|
-
*
|
|
6374
|
-
*
|
|
6375
|
-
*
|
|
6376
|
-
*
|
|
6377
|
-
*
|
|
6378
|
-
*
|
|
6379
|
-
*
|
|
6380
|
-
*
|
|
6381
|
-
*
|
|
6382
|
-
*
|
|
6383
|
-
*
|
|
6384
|
-
*
|
|
6385
|
-
*
|
|
6386
|
-
*
|
|
6387
|
-
*
|
|
6388
|
-
*
|
|
6389
|
-
*
|
|
6390
|
-
*
|
|
6391
|
-
*
|
|
6392
|
-
*
|
|
6393
|
-
*
|
|
6394
|
-
*
|
|
6395
|
-
*
|
|
6396
|
-
*
|
|
6397
|
-
*
|
|
6398
|
-
*
|
|
6399
|
-
*
|
|
6400
|
-
*
|
|
6401
|
-
*
|
|
6402
|
-
*
|
|
6403
|
-
*
|
|
6404
|
-
*
|
|
6405
|
-
*
|
|
6406
|
-
*
|
|
6407
|
-
*
|
|
6408
|
-
*
|
|
6409
|
-
*
|
|
6410
|
-
*
|
|
6411
|
-
* -
|
|
6412
|
-
* -
|
|
6413
|
-
*
|
|
6414
|
-
*
|
|
6415
|
-
* -
|
|
6416
|
-
*
|
|
6417
|
-
*
|
|
6418
|
-
*
|
|
6419
|
-
* -
|
|
6420
|
-
*
|
|
6421
|
-
*
|
|
6422
|
-
*
|
|
6423
|
-
*
|
|
6340
|
+
* ### Operation description
|
|
6341
|
+
* When you call this operation, take note of the following items:
|
|
6342
|
+
* - 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).
|
|
6343
|
+
* - 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).
|
|
6344
|
+
* - 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:
|
|
6345
|
+
* - **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).
|
|
6346
|
+
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
6347
|
+
* ```
|
|
6348
|
+
* {
|
|
6349
|
+
* "Statement": [
|
|
6350
|
+
* {
|
|
6351
|
+
* "Action": "sts:AssumeRole",
|
|
6352
|
+
* "Effect": "Allow",
|
|
6353
|
+
* "Principal": {
|
|
6354
|
+
* "Service": [
|
|
6355
|
+
* "ecs.aliyuncs.com"
|
|
6356
|
+
* ]
|
|
6357
|
+
* }
|
|
6358
|
+
* }
|
|
6359
|
+
* ],
|
|
6360
|
+
* "Version": "1"
|
|
6361
|
+
* }
|
|
6362
|
+
* ```
|
|
6363
|
+
* 2. Attach the system policy `AliyunECSImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
6364
|
+
* ```
|
|
6365
|
+
* {
|
|
6366
|
+
* "Version": "1",
|
|
6367
|
+
* "Statement": [
|
|
6368
|
+
* {
|
|
6369
|
+
* "Action": [
|
|
6370
|
+
* "oss:GetObject",
|
|
6371
|
+
* "oss:GetBucketLocation",
|
|
6372
|
+
* "oss:GetBucketInfo"
|
|
6373
|
+
* ],
|
|
6374
|
+
* "Resource": "*",
|
|
6375
|
+
* "Effect": "Allow"
|
|
6376
|
+
* }
|
|
6377
|
+
* ]
|
|
6378
|
+
* }
|
|
6379
|
+
*
|
|
6380
|
+
* ```
|
|
6381
|
+
* - **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).
|
|
6382
|
+
* 1. Create a role named `AliyunECSCloudBoxImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
6383
|
+
* ```
|
|
6384
|
+
* {
|
|
6385
|
+
* "Statement": [
|
|
6386
|
+
* {
|
|
6387
|
+
* "Action": "sts:AssumeRole",
|
|
6388
|
+
* "Effect": "Allow",
|
|
6389
|
+
* "Principal": {
|
|
6390
|
+
* "Service": [
|
|
6391
|
+
* "ecs.aliyuncs.com"
|
|
6392
|
+
* ]
|
|
6393
|
+
* }
|
|
6394
|
+
* }
|
|
6395
|
+
* ],
|
|
6396
|
+
* "Version": "1"
|
|
6397
|
+
* }
|
|
6398
|
+
* ```
|
|
6399
|
+
* 2. Attach the system policy `AliyunECSCloudBoxImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
6400
|
+
* ```
|
|
6401
|
+
* {
|
|
6402
|
+
* "Version": "1",
|
|
6403
|
+
* "Statement": [
|
|
6404
|
+
* {
|
|
6405
|
+
* "Action": [
|
|
6406
|
+
* "oss-cloudbox:GetObject",
|
|
6407
|
+
* "oss-cloudbox:GetBucketLocation",
|
|
6408
|
+
* "oss-cloudbox:GetBucketInfo"
|
|
6409
|
+
* ],
|
|
6410
|
+
* "Resource": "*",
|
|
6411
|
+
* "Effect": "Allow"
|
|
6412
|
+
* }
|
|
6413
|
+
* ]
|
|
6414
|
+
* }
|
|
6415
|
+
*
|
|
6416
|
+
* ```
|
|
6417
|
+
* - 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.
|
|
6418
|
+
* - 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.
|
|
6419
|
+
* - 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.
|
|
6420
|
+
* - 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:
|
|
6421
|
+
* - To ensure that the imported image supports password configuration or key pair modification, the image must meet the following requirements:
|
|
6422
|
+
* - 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.
|
|
6423
|
+
* - 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).
|
|
6424
|
+
* - The operating system must support the SHA-512 encryption algorithm.
|
|
6425
|
+
* - To ensure that the imported image supports disk resizing and file system resizing, the image must meet the following requirements:
|
|
6426
|
+
* - The operating system kernel version must be later than 3.6.
|
|
6427
|
+
* - 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~~).
|
|
6428
|
+
* - 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.
|
|
6429
|
+
* - 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).
|
|
6430
|
+
* - 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).
|
|
6431
|
+
* - 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).
|
|
6424
6432
|
*
|
|
6425
6433
|
* @param request - ImportImageRequest
|
|
6426
6434
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6428,123 +6436,119 @@ export default class Client extends OpenApi {
|
|
|
6428
6436
|
*/
|
|
6429
6437
|
importImageWithOptions(request: $_model.ImportImageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImportImageResponse>;
|
|
6430
6438
|
/**
|
|
6431
|
-
*
|
|
6439
|
+
* 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).
|
|
6432
6440
|
*
|
|
6433
6441
|
* @remarks
|
|
6434
|
-
* ###
|
|
6435
|
-
* When you call this operation, note the following:
|
|
6436
|
-
* - 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).
|
|
6437
|
-
* - To
|
|
6438
|
-
* - When you import an image for the first time, you must
|
|
6439
|
-
* - **Import an image file without using
|
|
6440
|
-
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this name. Otherwise, the image import fails.
|
|
6441
|
-
*
|
|
6442
|
-
*
|
|
6443
|
-
*
|
|
6444
|
-
*
|
|
6445
|
-
*
|
|
6446
|
-
*
|
|
6447
|
-
*
|
|
6448
|
-
*
|
|
6449
|
-
*
|
|
6450
|
-
*
|
|
6451
|
-
*
|
|
6452
|
-
*
|
|
6453
|
-
*
|
|
6454
|
-
*
|
|
6455
|
-
*
|
|
6456
|
-
*
|
|
6457
|
-
* 2. Attach the `AliyunECSImageImportRolePolicy`
|
|
6458
|
-
*
|
|
6459
|
-
*
|
|
6460
|
-
*
|
|
6461
|
-
*
|
|
6462
|
-
*
|
|
6463
|
-
*
|
|
6464
|
-
*
|
|
6465
|
-
*
|
|
6466
|
-
*
|
|
6467
|
-
*
|
|
6468
|
-
*
|
|
6469
|
-
*
|
|
6470
|
-
*
|
|
6471
|
-
*
|
|
6472
|
-
*
|
|
6473
|
-
*
|
|
6474
|
-
*
|
|
6475
|
-
*
|
|
6476
|
-
*
|
|
6477
|
-
*
|
|
6478
|
-
*
|
|
6479
|
-
*
|
|
6480
|
-
*
|
|
6481
|
-
*
|
|
6482
|
-
*
|
|
6483
|
-
*
|
|
6484
|
-
*
|
|
6485
|
-
*
|
|
6486
|
-
*
|
|
6487
|
-
*
|
|
6488
|
-
*
|
|
6489
|
-
*
|
|
6490
|
-
*
|
|
6491
|
-
*
|
|
6492
|
-
*
|
|
6493
|
-
*
|
|
6494
|
-
*
|
|
6495
|
-
*
|
|
6496
|
-
*
|
|
6497
|
-
*
|
|
6498
|
-
*
|
|
6499
|
-
*
|
|
6500
|
-
*
|
|
6501
|
-
*
|
|
6502
|
-
*
|
|
6503
|
-
*
|
|
6504
|
-
*
|
|
6505
|
-
*
|
|
6506
|
-
*
|
|
6507
|
-
*
|
|
6508
|
-
*
|
|
6509
|
-
*
|
|
6510
|
-
*
|
|
6511
|
-
* -
|
|
6512
|
-
* -
|
|
6513
|
-
*
|
|
6514
|
-
*
|
|
6515
|
-
* -
|
|
6516
|
-
*
|
|
6517
|
-
*
|
|
6518
|
-
*
|
|
6519
|
-
* -
|
|
6520
|
-
*
|
|
6521
|
-
*
|
|
6522
|
-
*
|
|
6523
|
-
*
|
|
6442
|
+
* ### Operation description
|
|
6443
|
+
* When you call this operation, take note of the following items:
|
|
6444
|
+
* - 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).
|
|
6445
|
+
* - 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).
|
|
6446
|
+
* - 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:
|
|
6447
|
+
* - **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).
|
|
6448
|
+
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
6449
|
+
* ```
|
|
6450
|
+
* {
|
|
6451
|
+
* "Statement": [
|
|
6452
|
+
* {
|
|
6453
|
+
* "Action": "sts:AssumeRole",
|
|
6454
|
+
* "Effect": "Allow",
|
|
6455
|
+
* "Principal": {
|
|
6456
|
+
* "Service": [
|
|
6457
|
+
* "ecs.aliyuncs.com"
|
|
6458
|
+
* ]
|
|
6459
|
+
* }
|
|
6460
|
+
* }
|
|
6461
|
+
* ],
|
|
6462
|
+
* "Version": "1"
|
|
6463
|
+
* }
|
|
6464
|
+
* ```
|
|
6465
|
+
* 2. Attach the system policy `AliyunECSImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
6466
|
+
* ```
|
|
6467
|
+
* {
|
|
6468
|
+
* "Version": "1",
|
|
6469
|
+
* "Statement": [
|
|
6470
|
+
* {
|
|
6471
|
+
* "Action": [
|
|
6472
|
+
* "oss:GetObject",
|
|
6473
|
+
* "oss:GetBucketLocation",
|
|
6474
|
+
* "oss:GetBucketInfo"
|
|
6475
|
+
* ],
|
|
6476
|
+
* "Resource": "*",
|
|
6477
|
+
* "Effect": "Allow"
|
|
6478
|
+
* }
|
|
6479
|
+
* ]
|
|
6480
|
+
* }
|
|
6481
|
+
*
|
|
6482
|
+
* ```
|
|
6483
|
+
* - **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).
|
|
6484
|
+
* 1. Create a role named `AliyunECSCloudBoxImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
6485
|
+
* ```
|
|
6486
|
+
* {
|
|
6487
|
+
* "Statement": [
|
|
6488
|
+
* {
|
|
6489
|
+
* "Action": "sts:AssumeRole",
|
|
6490
|
+
* "Effect": "Allow",
|
|
6491
|
+
* "Principal": {
|
|
6492
|
+
* "Service": [
|
|
6493
|
+
* "ecs.aliyuncs.com"
|
|
6494
|
+
* ]
|
|
6495
|
+
* }
|
|
6496
|
+
* }
|
|
6497
|
+
* ],
|
|
6498
|
+
* "Version": "1"
|
|
6499
|
+
* }
|
|
6500
|
+
* ```
|
|
6501
|
+
* 2. Attach the system policy `AliyunECSCloudBoxImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
6502
|
+
* ```
|
|
6503
|
+
* {
|
|
6504
|
+
* "Version": "1",
|
|
6505
|
+
* "Statement": [
|
|
6506
|
+
* {
|
|
6507
|
+
* "Action": [
|
|
6508
|
+
* "oss-cloudbox:GetObject",
|
|
6509
|
+
* "oss-cloudbox:GetBucketLocation",
|
|
6510
|
+
* "oss-cloudbox:GetBucketInfo"
|
|
6511
|
+
* ],
|
|
6512
|
+
* "Resource": "*",
|
|
6513
|
+
* "Effect": "Allow"
|
|
6514
|
+
* }
|
|
6515
|
+
* ]
|
|
6516
|
+
* }
|
|
6517
|
+
*
|
|
6518
|
+
* ```
|
|
6519
|
+
* - 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.
|
|
6520
|
+
* - 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.
|
|
6521
|
+
* - 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.
|
|
6522
|
+
* - 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:
|
|
6523
|
+
* - To ensure that the imported image supports password configuration or key pair modification, the image must meet the following requirements:
|
|
6524
|
+
* - 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.
|
|
6525
|
+
* - 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).
|
|
6526
|
+
* - The operating system must support the SHA-512 encryption algorithm.
|
|
6527
|
+
* - To ensure that the imported image supports disk resizing and file system resizing, the image must meet the following requirements:
|
|
6528
|
+
* - The operating system kernel version must be later than 3.6.
|
|
6529
|
+
* - 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~~).
|
|
6530
|
+
* - 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.
|
|
6531
|
+
* - 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).
|
|
6532
|
+
* - 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).
|
|
6533
|
+
* - 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).
|
|
6524
6534
|
*
|
|
6525
6535
|
* @param request - ImportImageRequest
|
|
6526
6536
|
* @returns ImportImageResponse
|
|
6527
6537
|
*/
|
|
6528
6538
|
importImage(request: $_model.ImportImageRequest): Promise<$_model.ImportImageResponse>;
|
|
6529
6539
|
/**
|
|
6530
|
-
* Imports the public key of
|
|
6540
|
+
* 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.
|
|
6531
6541
|
*
|
|
6532
6542
|
* @remarks
|
|
6533
|
-
*
|
|
6534
|
-
*
|
|
6535
|
-
* -
|
|
6536
|
-
*
|
|
6537
|
-
*
|
|
6538
|
-
*
|
|
6539
|
-
*
|
|
6540
|
-
*
|
|
6541
|
-
*
|
|
6542
|
-
* - <ssh-dss-cert-v00@openssh.com>
|
|
6543
|
-
* - <ssh-rsa-cert-v01@openssh.com>
|
|
6544
|
-
* - <ssh-dss-cert-v01@openssh.com>
|
|
6545
|
-
* - <ecdsa-sha2-nistp256-cert-v01@openssh.com>
|
|
6546
|
-
* - <ecdsa-sha2-nistp384-cert-v01@openssh.com>
|
|
6547
|
-
* - <ecdsa-sha2-nistp521-cert-v01@openssh.com>
|
|
6543
|
+
* ## Description
|
|
6544
|
+
* When you call this operation, take note of the following items:
|
|
6545
|
+
* - You can have a maximum of 500 key pairs in each region.
|
|
6546
|
+
* - The imported key pair must support one of the following encryption methods:
|
|
6547
|
+
* - rsa
|
|
6548
|
+
* - dsa
|
|
6549
|
+
* - ssh-rsa
|
|
6550
|
+
* - ssh-dss
|
|
6551
|
+
* - ecdsa
|
|
6548
6552
|
*
|
|
6549
6553
|
* @param request - ImportKeyPairRequest
|
|
6550
6554
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6552,24 +6556,18 @@ export default class Client extends OpenApi {
|
|
|
6552
6556
|
*/
|
|
6553
6557
|
importKeyPairWithOptions(request: $_model.ImportKeyPairRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImportKeyPairResponse>;
|
|
6554
6558
|
/**
|
|
6555
|
-
* Imports the public key of
|
|
6559
|
+
* 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.
|
|
6556
6560
|
*
|
|
6557
6561
|
* @remarks
|
|
6558
|
-
*
|
|
6559
|
-
*
|
|
6560
|
-
* -
|
|
6561
|
-
*
|
|
6562
|
-
*
|
|
6563
|
-
*
|
|
6564
|
-
*
|
|
6565
|
-
*
|
|
6566
|
-
*
|
|
6567
|
-
* - <ssh-dss-cert-v00@openssh.com>
|
|
6568
|
-
* - <ssh-rsa-cert-v01@openssh.com>
|
|
6569
|
-
* - <ssh-dss-cert-v01@openssh.com>
|
|
6570
|
-
* - <ecdsa-sha2-nistp256-cert-v01@openssh.com>
|
|
6571
|
-
* - <ecdsa-sha2-nistp384-cert-v01@openssh.com>
|
|
6572
|
-
* - <ecdsa-sha2-nistp521-cert-v01@openssh.com>
|
|
6562
|
+
* ## Description
|
|
6563
|
+
* When you call this operation, take note of the following items:
|
|
6564
|
+
* - You can have a maximum of 500 key pairs in each region.
|
|
6565
|
+
* - The imported key pair must support one of the following encryption methods:
|
|
6566
|
+
* - rsa
|
|
6567
|
+
* - dsa
|
|
6568
|
+
* - ssh-rsa
|
|
6569
|
+
* - ssh-dss
|
|
6570
|
+
* - ecdsa
|
|
6573
6571
|
*
|
|
6574
6572
|
* @param request - ImportKeyPairRequest
|
|
6575
6573
|
* @returns ImportKeyPairResponse
|
|
@@ -6684,11 +6682,11 @@ export default class Client extends OpenApi {
|
|
|
6684
6682
|
*/
|
|
6685
6683
|
invokeCommand(request: $_model.InvokeCommandRequest): Promise<$_model.InvokeCommandResponse>;
|
|
6686
6684
|
/**
|
|
6687
|
-
*
|
|
6685
|
+
* Calls JoinResourceGroup to add an ECS resource or service to a resource group.
|
|
6688
6686
|
*
|
|
6689
6687
|
* @remarks
|
|
6690
|
-
* ##
|
|
6691
|
-
* A resource is a cloud service entity that you create on Alibaba Cloud
|
|
6688
|
+
* ## Description
|
|
6689
|
+
* 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.
|
|
6692
6690
|
*
|
|
6693
6691
|
* @param request - JoinResourceGroupRequest
|
|
6694
6692
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6696,11 +6694,11 @@ export default class Client extends OpenApi {
|
|
|
6696
6694
|
*/
|
|
6697
6695
|
joinResourceGroupWithOptions(request: $_model.JoinResourceGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.JoinResourceGroupResponse>;
|
|
6698
6696
|
/**
|
|
6699
|
-
*
|
|
6697
|
+
* Calls JoinResourceGroup to add an ECS resource or service to a resource group.
|
|
6700
6698
|
*
|
|
6701
6699
|
* @remarks
|
|
6702
|
-
* ##
|
|
6703
|
-
* A resource is a cloud service entity that you create on Alibaba Cloud
|
|
6700
|
+
* ## Description
|
|
6701
|
+
* 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.
|
|
6704
6702
|
*
|
|
6705
6703
|
* @param request - JoinResourceGroupRequest
|
|
6706
6704
|
* @returns JoinResourceGroupResponse
|
|
@@ -6883,13 +6881,13 @@ export default class Client extends OpenApi {
|
|
|
6883
6881
|
*/
|
|
6884
6882
|
modifyAutoProvisioningGroup(request: $_model.ModifyAutoProvisioningGroupRequest): Promise<$_model.ModifyAutoProvisioningGroupResponse>;
|
|
6885
6883
|
/**
|
|
6886
|
-
* Modifies an automatic snapshot policy
|
|
6884
|
+
* Modifies an automatic snapshot policy, such as the snapshot creation time, repeat date, and retention period.
|
|
6887
6885
|
*
|
|
6888
6886
|
* @remarks
|
|
6889
|
-
*
|
|
6890
|
-
* -
|
|
6891
|
-
* - After an automatic snapshot policy
|
|
6892
|
-
* - If cross-region replication
|
|
6887
|
+
* When you call this operation, take note of the following items:
|
|
6888
|
+
* - System policies cannot be modified.
|
|
6889
|
+
* - After you modify an automatic snapshot policy, the disks to which the policy has been applied immediately execute the modified policy.
|
|
6890
|
+
* - 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.
|
|
6893
6891
|
*
|
|
6894
6892
|
* @param request - ModifyAutoSnapshotPolicyExRequest
|
|
6895
6893
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6897,13 +6895,13 @@ export default class Client extends OpenApi {
|
|
|
6897
6895
|
*/
|
|
6898
6896
|
modifyAutoSnapshotPolicyExWithOptions(request: $_model.ModifyAutoSnapshotPolicyExRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyAutoSnapshotPolicyExResponse>;
|
|
6899
6897
|
/**
|
|
6900
|
-
* Modifies an automatic snapshot policy
|
|
6898
|
+
* Modifies an automatic snapshot policy, such as the snapshot creation time, repeat date, and retention period.
|
|
6901
6899
|
*
|
|
6902
6900
|
* @remarks
|
|
6903
|
-
*
|
|
6904
|
-
* -
|
|
6905
|
-
* - After an automatic snapshot policy
|
|
6906
|
-
* - If cross-region replication
|
|
6901
|
+
* When you call this operation, take note of the following items:
|
|
6902
|
+
* - System policies cannot be modified.
|
|
6903
|
+
* - After you modify an automatic snapshot policy, the disks to which the policy has been applied immediately execute the modified policy.
|
|
6904
|
+
* - 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.
|
|
6907
6905
|
*
|
|
6908
6906
|
* @param request - ModifyAutoSnapshotPolicyExRequest
|
|
6909
6907
|
* @returns ModifyAutoSnapshotPolicyExResponse
|
|
@@ -7105,10 +7103,10 @@ export default class Client extends OpenApi {
|
|
|
7105
7103
|
*/
|
|
7106
7104
|
modifyDiagnosticMetricSet(request: $_model.ModifyDiagnosticMetricSetRequest): Promise<$_model.ModifyDiagnosticMetricSetResponse>;
|
|
7107
7105
|
/**
|
|
7108
|
-
* Modifies the name, description, release behavior
|
|
7106
|
+
* 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.
|
|
7109
7107
|
*
|
|
7110
7108
|
* @remarks
|
|
7111
|
-
* You can
|
|
7109
|
+
* 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.
|
|
7112
7110
|
*
|
|
7113
7111
|
* @param request - ModifyDiskAttributeRequest
|
|
7114
7112
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7116,10 +7114,10 @@ export default class Client extends OpenApi {
|
|
|
7116
7114
|
*/
|
|
7117
7115
|
modifyDiskAttributeWithOptions(request: $_model.ModifyDiskAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyDiskAttributeResponse>;
|
|
7118
7116
|
/**
|
|
7119
|
-
* Modifies the name, description, release behavior
|
|
7117
|
+
* 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.
|
|
7120
7118
|
*
|
|
7121
7119
|
* @remarks
|
|
7122
|
-
* You can
|
|
7120
|
+
* 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.
|
|
7123
7121
|
*
|
|
7124
7122
|
* @param request - ModifyDiskAttributeRequest
|
|
7125
7123
|
* @returns ModifyDiskAttributeResponse
|
|
@@ -7342,7 +7340,7 @@ export default class Client extends OpenApi {
|
|
|
7342
7340
|
*/
|
|
7343
7341
|
modifyForwardEntry(request: $_model.ModifyForwardEntryRequest): Promise<$_model.ModifyForwardEntryResponse>;
|
|
7344
7342
|
/**
|
|
7345
|
-
*
|
|
7343
|
+
* Modifies the attributes of a high-availability virtual IP address (HAVIP).
|
|
7346
7344
|
*
|
|
7347
7345
|
* @deprecated OpenAPI ModifyHaVipAttribute is deprecated, please use Vpc::2016-04-28::ModifyHaVipAttribute instead.
|
|
7348
7346
|
*
|
|
@@ -7352,7 +7350,7 @@ export default class Client extends OpenApi {
|
|
|
7352
7350
|
*/
|
|
7353
7351
|
modifyHaVipAttributeWithOptions(request: $_model.ModifyHaVipAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyHaVipAttributeResponse>;
|
|
7354
7352
|
/**
|
|
7355
|
-
*
|
|
7353
|
+
* Modifies the attributes of a high-availability virtual IP address (HAVIP).
|
|
7356
7354
|
*
|
|
7357
7355
|
* @deprecated OpenAPI ModifyHaVipAttribute is deprecated, please use Vpc::2016-04-28::ModifyHaVipAttribute instead.
|
|
7358
7356
|
*
|
|
@@ -7361,7 +7359,7 @@ export default class Client extends OpenApi {
|
|
|
7361
7359
|
*/
|
|
7362
7360
|
modifyHaVipAttribute(request: $_model.ModifyHaVipAttributeRequest): Promise<$_model.ModifyHaVipAttributeResponse>;
|
|
7363
7361
|
/**
|
|
7364
|
-
* Modifies the description of
|
|
7362
|
+
* Modifies the description of an HPC cluster by calling ModifyHpcClusterAttribute.
|
|
7365
7363
|
*
|
|
7366
7364
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
7367
7365
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7369,7 +7367,7 @@ export default class Client extends OpenApi {
|
|
|
7369
7367
|
*/
|
|
7370
7368
|
modifyHpcClusterAttributeWithOptions(request: $_model.ModifyHpcClusterAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyHpcClusterAttributeResponse>;
|
|
7371
7369
|
/**
|
|
7372
|
-
* Modifies the description of
|
|
7370
|
+
* Modifies the description of an HPC cluster by calling ModifyHpcClusterAttribute.
|
|
7373
7371
|
*
|
|
7374
7372
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
7375
7373
|
* @returns ModifyHpcClusterAttributeResponse
|
|
@@ -7524,14 +7522,16 @@ export default class Client extends OpenApi {
|
|
|
7524
7522
|
*/
|
|
7525
7523
|
modifyInstanceAutoReleaseTime(request: $_model.ModifyInstanceAutoReleaseTimeRequest): Promise<$_model.ModifyInstanceAutoReleaseTimeResponse>;
|
|
7526
7524
|
/**
|
|
7527
|
-
*
|
|
7525
|
+
* Modifies the auto-renewal attributes of one or more subscription instances, helping you reduce the maintenance cost of resource expiration.
|
|
7528
7526
|
*
|
|
7529
7527
|
* @remarks
|
|
7530
|
-
* *Before
|
|
7531
|
-
* - Make sure
|
|
7532
|
-
* - Only subscription instances are supported.
|
|
7533
|
-
* - The
|
|
7534
|
-
* - If the deduction fails,
|
|
7528
|
+
* *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)**.
|
|
7529
|
+
* - Make sure your account balance or credit limit is sufficient.
|
|
7530
|
+
* - Only subscription instances are supported. An error is returned if you call this API for pay-as-you-go instances.
|
|
7531
|
+
* - The auto-renewal deduction date is 9 days before the instance expires. The deduction starts at 08:00:00 (UTC+8).
|
|
7532
|
+
* - 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.
|
|
7533
|
+
* <props="china">
|
|
7534
|
+
* - 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.
|
|
7535
7535
|
*
|
|
7536
7536
|
* @param request - ModifyInstanceAutoRenewAttributeRequest
|
|
7537
7537
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7539,14 +7539,16 @@ export default class Client extends OpenApi {
|
|
|
7539
7539
|
*/
|
|
7540
7540
|
modifyInstanceAutoRenewAttributeWithOptions(request: $_model.ModifyInstanceAutoRenewAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyInstanceAutoRenewAttributeResponse>;
|
|
7541
7541
|
/**
|
|
7542
|
-
*
|
|
7542
|
+
* Modifies the auto-renewal attributes of one or more subscription instances, helping you reduce the maintenance cost of resource expiration.
|
|
7543
7543
|
*
|
|
7544
7544
|
* @remarks
|
|
7545
|
-
* *Before
|
|
7546
|
-
* - Make sure
|
|
7547
|
-
* - Only subscription instances are supported.
|
|
7548
|
-
* - The
|
|
7549
|
-
* - If the deduction fails,
|
|
7545
|
+
* *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)**.
|
|
7546
|
+
* - Make sure your account balance or credit limit is sufficient.
|
|
7547
|
+
* - Only subscription instances are supported. An error is returned if you call this API for pay-as-you-go instances.
|
|
7548
|
+
* - The auto-renewal deduction date is 9 days before the instance expires. The deduction starts at 08:00:00 (UTC+8).
|
|
7549
|
+
* - 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.
|
|
7550
|
+
* <props="china">
|
|
7551
|
+
* - 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.
|
|
7550
7552
|
*
|
|
7551
7553
|
* @param request - ModifyInstanceAutoRenewAttributeRequest
|
|
7552
7554
|
* @returns ModifyInstanceAutoRenewAttributeResponse
|
|
@@ -7719,17 +7721,18 @@ export default class Client extends OpenApi {
|
|
|
7719
7721
|
*/
|
|
7720
7722
|
modifyInstanceNetworkOptions(request: $_model.ModifyInstanceNetworkOptionsRequest): Promise<$_model.ModifyInstanceNetworkOptionsResponse>;
|
|
7721
7723
|
/**
|
|
7722
|
-
* Modifies the
|
|
7724
|
+
* 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.
|
|
7723
7725
|
*
|
|
7724
7726
|
* @remarks
|
|
7725
|
-
*
|
|
7726
|
-
* -
|
|
7727
|
-
* -
|
|
7728
|
-
*
|
|
7729
|
-
*
|
|
7730
|
-
* -
|
|
7731
|
-
*
|
|
7732
|
-
* - After the
|
|
7727
|
+
* - 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.
|
|
7728
|
+
* - 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.
|
|
7729
|
+
* - 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.
|
|
7730
|
+
* > 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~~).
|
|
7731
|
+
*
|
|
7732
|
+
* - Fees:
|
|
7733
|
+
*
|
|
7734
|
+
* - 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.
|
|
7735
|
+
* - After downgrading bandwidth, the price difference is refunded through the original payment method. Coupons that have already been used are not refunded.
|
|
7733
7736
|
*
|
|
7734
7737
|
* @param request - ModifyInstanceNetworkSpecRequest
|
|
7735
7738
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7737,34 +7740,40 @@ export default class Client extends OpenApi {
|
|
|
7737
7740
|
*/
|
|
7738
7741
|
modifyInstanceNetworkSpecWithOptions(request: $_model.ModifyInstanceNetworkSpecRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyInstanceNetworkSpecResponse>;
|
|
7739
7742
|
/**
|
|
7740
|
-
* Modifies the
|
|
7743
|
+
* 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.
|
|
7741
7744
|
*
|
|
7742
7745
|
* @remarks
|
|
7743
|
-
*
|
|
7744
|
-
* -
|
|
7745
|
-
* -
|
|
7746
|
-
*
|
|
7747
|
-
*
|
|
7748
|
-
* -
|
|
7749
|
-
*
|
|
7750
|
-
* - After the
|
|
7746
|
+
* - 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.
|
|
7747
|
+
* - 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.
|
|
7748
|
+
* - 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.
|
|
7749
|
+
* > 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~~).
|
|
7750
|
+
*
|
|
7751
|
+
* - Fees:
|
|
7752
|
+
*
|
|
7753
|
+
* - 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.
|
|
7754
|
+
* - After downgrading bandwidth, the price difference is refunded through the original payment method. Coupons that have already been used are not refunded.
|
|
7751
7755
|
*
|
|
7752
7756
|
* @param request - ModifyInstanceNetworkSpecRequest
|
|
7753
7757
|
* @returns ModifyInstanceNetworkSpecResponse
|
|
7754
7758
|
*/
|
|
7755
7759
|
modifyInstanceNetworkSpec(request: $_model.ModifyInstanceNetworkSpecRequest): Promise<$_model.ModifyInstanceNetworkSpecResponse>;
|
|
7756
7760
|
/**
|
|
7757
|
-
*
|
|
7761
|
+
* Modifies the instance type or public bandwidth of a pay-as-you-go ECS instance.
|
|
7758
7762
|
*
|
|
7759
7763
|
* @remarks
|
|
7760
|
-
*
|
|
7761
|
-
* Before you
|
|
7762
|
-
*
|
|
7763
|
-
*
|
|
7764
|
-
*
|
|
7765
|
-
*
|
|
7766
|
-
*
|
|
7767
|
-
*
|
|
7764
|
+
* <props="china">.
|
|
7765
|
+
* **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.**.
|
|
7766
|
+
* .
|
|
7767
|
+
* <props="intl">.
|
|
7768
|
+
* **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.**.
|
|
7769
|
+
* .
|
|
7770
|
+
* 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.
|
|
7771
|
+
* **Before you begin**.
|
|
7772
|
+
* - Your account must not have overdue payments.
|
|
7773
|
+
* - Each call can modify only one configuration. You can change only the instance type or adjust only the public bandwidth in a single request.
|
|
7774
|
+
* - The instance status must be **Running** (`Running`) or **Stopped** (`Stopped`) before you can adjust the public bandwidth. The change takes effect immediately.
|
|
7775
|
+
* - 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.
|
|
7776
|
+
* > 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~~).
|
|
7768
7777
|
*
|
|
7769
7778
|
* @param request - ModifyInstanceSpecRequest
|
|
7770
7779
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7772,17 +7781,22 @@ export default class Client extends OpenApi {
|
|
|
7772
7781
|
*/
|
|
7773
7782
|
modifyInstanceSpecWithOptions(request: $_model.ModifyInstanceSpecRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyInstanceSpecResponse>;
|
|
7774
7783
|
/**
|
|
7775
|
-
*
|
|
7784
|
+
* Modifies the instance type or public bandwidth of a pay-as-you-go ECS instance.
|
|
7776
7785
|
*
|
|
7777
7786
|
* @remarks
|
|
7778
|
-
*
|
|
7779
|
-
* Before you
|
|
7780
|
-
*
|
|
7781
|
-
*
|
|
7782
|
-
*
|
|
7783
|
-
*
|
|
7784
|
-
*
|
|
7785
|
-
*
|
|
7787
|
+
* <props="china">.
|
|
7788
|
+
* **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.**.
|
|
7789
|
+
* .
|
|
7790
|
+
* <props="intl">.
|
|
7791
|
+
* **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.**.
|
|
7792
|
+
* .
|
|
7793
|
+
* 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.
|
|
7794
|
+
* **Before you begin**.
|
|
7795
|
+
* - Your account must not have overdue payments.
|
|
7796
|
+
* - Each call can modify only one configuration. You can change only the instance type or adjust only the public bandwidth in a single request.
|
|
7797
|
+
* - The instance status must be **Running** (`Running`) or **Stopped** (`Stopped`) before you can adjust the public bandwidth. The change takes effect immediately.
|
|
7798
|
+
* - 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.
|
|
7799
|
+
* > 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~~).
|
|
7786
7800
|
*
|
|
7787
7801
|
* @param request - ModifyInstanceSpecRequest
|
|
7788
7802
|
* @returns ModifyInstanceSpecResponse
|
|
@@ -7926,11 +7940,7 @@ export default class Client extends OpenApi {
|
|
|
7926
7940
|
*/
|
|
7927
7941
|
modifyInvocationAttribute(request: $_model.ModifyInvocationAttributeRequest): Promise<$_model.ModifyInvocationAttributeResponse>;
|
|
7928
7942
|
/**
|
|
7929
|
-
*
|
|
7930
|
-
*
|
|
7931
|
-
* @remarks
|
|
7932
|
-
* ## Debugging
|
|
7933
|
-
* [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)
|
|
7943
|
+
* 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.
|
|
7934
7944
|
*
|
|
7935
7945
|
* @param request - ModifyLaunchTemplateDefaultVersionRequest
|
|
7936
7946
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7938,11 +7948,7 @@ export default class Client extends OpenApi {
|
|
|
7938
7948
|
*/
|
|
7939
7949
|
modifyLaunchTemplateDefaultVersionWithOptions(request: $_model.ModifyLaunchTemplateDefaultVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyLaunchTemplateDefaultVersionResponse>;
|
|
7940
7950
|
/**
|
|
7941
|
-
*
|
|
7942
|
-
*
|
|
7943
|
-
* @remarks
|
|
7944
|
-
* ## Debugging
|
|
7945
|
-
* [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)
|
|
7951
|
+
* 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.
|
|
7946
7952
|
*
|
|
7947
7953
|
* @param request - ModifyLaunchTemplateDefaultVersionRequest
|
|
7948
7954
|
* @returns ModifyLaunchTemplateDefaultVersionResponse
|
|
@@ -8006,10 +8012,10 @@ export default class Client extends OpenApi {
|
|
|
8006
8012
|
*/
|
|
8007
8013
|
modifyPhysicalConnectionAttribute(request: $_model.ModifyPhysicalConnectionAttributeRequest): Promise<$_model.ModifyPhysicalConnectionAttributeResponse>;
|
|
8008
8014
|
/**
|
|
8009
|
-
*
|
|
8015
|
+
* Updates an O&M window.
|
|
8010
8016
|
*
|
|
8011
8017
|
* @remarks
|
|
8012
|
-
* Modifies the
|
|
8018
|
+
* 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.
|
|
8013
8019
|
*
|
|
8014
8020
|
* @param tmpReq - ModifyPlanMaintenanceWindowRequest
|
|
8015
8021
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8017,10 +8023,10 @@ export default class Client extends OpenApi {
|
|
|
8017
8023
|
*/
|
|
8018
8024
|
modifyPlanMaintenanceWindowWithOptions(tmpReq: $_model.ModifyPlanMaintenanceWindowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyPlanMaintenanceWindowResponse>;
|
|
8019
8025
|
/**
|
|
8020
|
-
*
|
|
8026
|
+
* Updates an O&M window.
|
|
8021
8027
|
*
|
|
8022
8028
|
* @remarks
|
|
8023
|
-
* Modifies the
|
|
8029
|
+
* 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.
|
|
8024
8030
|
*
|
|
8025
8031
|
* @param request - ModifyPlanMaintenanceWindowRequest
|
|
8026
8032
|
* @returns ModifyPlanMaintenanceWindowResponse
|
|
@@ -8313,7 +8319,7 @@ export default class Client extends OpenApi {
|
|
|
8313
8319
|
*/
|
|
8314
8320
|
modifyRouterInterfaceSpec(request: $_model.ModifyRouterInterfaceSpecRequest): Promise<$_model.ModifyRouterInterfaceSpecResponse>;
|
|
8315
8321
|
/**
|
|
8316
|
-
* Modifies the name or description of a
|
|
8322
|
+
* Modifies the name or description of a specified security group.
|
|
8317
8323
|
*
|
|
8318
8324
|
* @param request - ModifySecurityGroupAttributeRequest
|
|
8319
8325
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8321,19 +8327,19 @@ export default class Client extends OpenApi {
|
|
|
8321
8327
|
*/
|
|
8322
8328
|
modifySecurityGroupAttributeWithOptions(request: $_model.ModifySecurityGroupAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySecurityGroupAttributeResponse>;
|
|
8323
8329
|
/**
|
|
8324
|
-
* Modifies the name or description of a
|
|
8330
|
+
* Modifies the name or description of a specified security group.
|
|
8325
8331
|
*
|
|
8326
8332
|
* @param request - ModifySecurityGroupAttributeRequest
|
|
8327
8333
|
* @returns ModifySecurityGroupAttributeResponse
|
|
8328
8334
|
*/
|
|
8329
8335
|
modifySecurityGroupAttribute(request: $_model.ModifySecurityGroupAttributeRequest): Promise<$_model.ModifySecurityGroupAttributeResponse>;
|
|
8330
8336
|
/**
|
|
8331
|
-
* Modifies an
|
|
8337
|
+
* Modifies an egress security group rule.
|
|
8332
8338
|
*
|
|
8333
8339
|
* @remarks
|
|
8334
|
-
*
|
|
8335
|
-
* -
|
|
8336
|
-
* -
|
|
8340
|
+
* When modifying security group rules by specifying the security group rule ID, note the following usage limits:
|
|
8341
|
+
* - 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.
|
|
8342
|
+
* - 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.
|
|
8337
8343
|
*
|
|
8338
8344
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
8339
8345
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8341,25 +8347,25 @@ export default class Client extends OpenApi {
|
|
|
8341
8347
|
*/
|
|
8342
8348
|
modifySecurityGroupEgressRuleWithOptions(request: $_model.ModifySecurityGroupEgressRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySecurityGroupEgressRuleResponse>;
|
|
8343
8349
|
/**
|
|
8344
|
-
* Modifies an
|
|
8350
|
+
* Modifies an egress security group rule.
|
|
8345
8351
|
*
|
|
8346
8352
|
* @remarks
|
|
8347
|
-
*
|
|
8348
|
-
* -
|
|
8349
|
-
* -
|
|
8353
|
+
* When modifying security group rules by specifying the security group rule ID, note the following usage limits:
|
|
8354
|
+
* - 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.
|
|
8355
|
+
* - 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.
|
|
8350
8356
|
*
|
|
8351
8357
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
8352
8358
|
* @returns ModifySecurityGroupEgressRuleResponse
|
|
8353
8359
|
*/
|
|
8354
8360
|
modifySecurityGroupEgressRule(request: $_model.ModifySecurityGroupEgressRuleRequest): Promise<$_model.ModifySecurityGroupEgressRuleResponse>;
|
|
8355
8361
|
/**
|
|
8356
|
-
* Modifies the
|
|
8362
|
+
* Modifies the intra-group connectivity policy of a basic security group.
|
|
8357
8363
|
*
|
|
8358
8364
|
* @remarks
|
|
8359
|
-
* -
|
|
8360
|
-
* -
|
|
8361
|
-
* -
|
|
8362
|
-
* -
|
|
8365
|
+
* - Advanced security groups do not support modifications to the intra-group connectivity policy. The default policy is **internal isolation**.
|
|
8366
|
+
* - You can call [DescribeSecurityGroupAttribute](https://help.aliyun.com/document_detail/25555.html) to query the current intra-group connectivity policy of a security group.
|
|
8367
|
+
* - 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.
|
|
8368
|
+
* - 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.
|
|
8363
8369
|
*
|
|
8364
8370
|
* @param request - ModifySecurityGroupPolicyRequest
|
|
8365
8371
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8367,25 +8373,25 @@ export default class Client extends OpenApi {
|
|
|
8367
8373
|
*/
|
|
8368
8374
|
modifySecurityGroupPolicyWithOptions(request: $_model.ModifySecurityGroupPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySecurityGroupPolicyResponse>;
|
|
8369
8375
|
/**
|
|
8370
|
-
* Modifies the
|
|
8376
|
+
* Modifies the intra-group connectivity policy of a basic security group.
|
|
8371
8377
|
*
|
|
8372
8378
|
* @remarks
|
|
8373
|
-
* -
|
|
8374
|
-
* -
|
|
8375
|
-
* -
|
|
8376
|
-
* -
|
|
8379
|
+
* - Advanced security groups do not support modifications to the intra-group connectivity policy. The default policy is **internal isolation**.
|
|
8380
|
+
* - You can call [DescribeSecurityGroupAttribute](https://help.aliyun.com/document_detail/25555.html) to query the current intra-group connectivity policy of a security group.
|
|
8381
|
+
* - 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.
|
|
8382
|
+
* - 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.
|
|
8377
8383
|
*
|
|
8378
8384
|
* @param request - ModifySecurityGroupPolicyRequest
|
|
8379
8385
|
* @returns ModifySecurityGroupPolicyResponse
|
|
8380
8386
|
*/
|
|
8381
8387
|
modifySecurityGroupPolicy(request: $_model.ModifySecurityGroupPolicyRequest): Promise<$_model.ModifySecurityGroupPolicyResponse>;
|
|
8382
8388
|
/**
|
|
8383
|
-
* Modifies an inbound security group rule
|
|
8389
|
+
* Modifies an inbound security group rule of a specified security group.
|
|
8384
8390
|
*
|
|
8385
8391
|
* @remarks
|
|
8386
|
-
*
|
|
8387
|
-
* -
|
|
8388
|
-
* - You cannot
|
|
8392
|
+
* When you modify a security group rule by specifying the security group rule ID, take note of the following limits:
|
|
8393
|
+
* - 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.
|
|
8394
|
+
* - 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.
|
|
8389
8395
|
*
|
|
8390
8396
|
* @param request - ModifySecurityGroupRuleRequest
|
|
8391
8397
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8393,12 +8399,12 @@ export default class Client extends OpenApi {
|
|
|
8393
8399
|
*/
|
|
8394
8400
|
modifySecurityGroupRuleWithOptions(request: $_model.ModifySecurityGroupRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySecurityGroupRuleResponse>;
|
|
8395
8401
|
/**
|
|
8396
|
-
* Modifies an inbound security group rule
|
|
8402
|
+
* Modifies an inbound security group rule of a specified security group.
|
|
8397
8403
|
*
|
|
8398
8404
|
* @remarks
|
|
8399
|
-
*
|
|
8400
|
-
* -
|
|
8401
|
-
* - You cannot
|
|
8405
|
+
* When you modify a security group rule by specifying the security group rule ID, take note of the following limits:
|
|
8406
|
+
* - 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.
|
|
8407
|
+
* - 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.
|
|
8402
8408
|
*
|
|
8403
8409
|
* @param request - ModifySecurityGroupRuleRequest
|
|
8404
8410
|
* @returns ModifySecurityGroupRuleResponse
|
|
@@ -8703,12 +8709,14 @@ export default class Client extends OpenApi {
|
|
|
8703
8709
|
*/
|
|
8704
8710
|
purchaseStorageCapacityUnit(request: $_model.PurchaseStorageCapacityUnitRequest): Promise<$_model.PurchaseStorageCapacityUnitResponse>;
|
|
8705
8711
|
/**
|
|
8706
|
-
*
|
|
8712
|
+
* Restarts a pay-as-you-go ECS instance that has expired or been recycled due to an overdue payment.
|
|
8707
8713
|
*
|
|
8708
8714
|
* @remarks
|
|
8709
|
-
* After you
|
|
8710
|
-
*
|
|
8711
|
-
*
|
|
8715
|
+
* 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.
|
|
8716
|
+
* <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.
|
|
8717
|
+
* <props="china">- The instance must be in the **expired** (`Stopped`) or **being recycled due to overdue payment** (`Stopped`) state.
|
|
8718
|
+
* <props="intl">- The instance must be in the **expired** (`Stopped`) state.
|
|
8719
|
+
* - 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).
|
|
8712
8720
|
*
|
|
8713
8721
|
* @param request - ReActivateInstancesRequest
|
|
8714
8722
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8716,27 +8724,30 @@ export default class Client extends OpenApi {
|
|
|
8716
8724
|
*/
|
|
8717
8725
|
reActivateInstancesWithOptions(request: $_model.ReActivateInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReActivateInstancesResponse>;
|
|
8718
8726
|
/**
|
|
8719
|
-
*
|
|
8727
|
+
* Restarts a pay-as-you-go ECS instance that has expired or been recycled due to an overdue payment.
|
|
8720
8728
|
*
|
|
8721
8729
|
* @remarks
|
|
8722
|
-
* After you
|
|
8723
|
-
*
|
|
8724
|
-
*
|
|
8730
|
+
* 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.
|
|
8731
|
+
* <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.
|
|
8732
|
+
* <props="china">- The instance must be in the **expired** (`Stopped`) or **being recycled due to overdue payment** (`Stopped`) state.
|
|
8733
|
+
* <props="intl">- The instance must be in the **expired** (`Stopped`) state.
|
|
8734
|
+
* - 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).
|
|
8725
8735
|
*
|
|
8726
8736
|
* @param request - ReActivateInstancesRequest
|
|
8727
8737
|
* @returns ReActivateInstancesResponse
|
|
8728
8738
|
*/
|
|
8729
8739
|
reActivateInstances(request: $_model.ReActivateInstancesRequest): Promise<$_model.ReActivateInstancesResponse>;
|
|
8730
8740
|
/**
|
|
8731
|
-
*
|
|
8741
|
+
* Reinitializes a disk to its initial state when it was created.
|
|
8732
8742
|
*
|
|
8733
8743
|
* @remarks
|
|
8734
|
-
*
|
|
8735
|
-
* - The disk
|
|
8736
|
-
* -
|
|
8737
|
-
* -
|
|
8738
|
-
*
|
|
8739
|
-
* - For a
|
|
8744
|
+
* When you call this operation, take note of the following items:
|
|
8745
|
+
* - 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.
|
|
8746
|
+
* - You cannot reinitialize a disk that is attached to an instance before the instance starts for the first time.
|
|
8747
|
+
* - You cannot reinitialize a disk that has local snapshots.
|
|
8748
|
+
* <props="china">- You cannot reinitialize a disk that has the multi-attach feature enabled.
|
|
8749
|
+
* - 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.
|
|
8750
|
+
* - 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.
|
|
8740
8751
|
*
|
|
8741
8752
|
* @param request - ReInitDiskRequest
|
|
8742
8753
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8744,15 +8755,16 @@ export default class Client extends OpenApi {
|
|
|
8744
8755
|
*/
|
|
8745
8756
|
reInitDiskWithOptions(request: $_model.ReInitDiskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReInitDiskResponse>;
|
|
8746
8757
|
/**
|
|
8747
|
-
*
|
|
8758
|
+
* Reinitializes a disk to its initial state when it was created.
|
|
8748
8759
|
*
|
|
8749
8760
|
* @remarks
|
|
8750
|
-
*
|
|
8751
|
-
* - The disk
|
|
8752
|
-
* -
|
|
8753
|
-
* -
|
|
8754
|
-
*
|
|
8755
|
-
* - For a
|
|
8761
|
+
* When you call this operation, take note of the following items:
|
|
8762
|
+
* - 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.
|
|
8763
|
+
* - You cannot reinitialize a disk that is attached to an instance before the instance starts for the first time.
|
|
8764
|
+
* - You cannot reinitialize a disk that has local snapshots.
|
|
8765
|
+
* <props="china">- You cannot reinitialize a disk that has the multi-attach feature enabled.
|
|
8766
|
+
* - 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.
|
|
8767
|
+
* - 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.
|
|
8756
8768
|
*
|
|
8757
8769
|
* @param request - ReInitDiskRequest
|
|
8758
8770
|
* @returns ReInitDiskResponse
|
|
@@ -8853,31 +8865,31 @@ export default class Client extends OpenApi {
|
|
|
8853
8865
|
*/
|
|
8854
8866
|
redeployDedicatedHost(request: $_model.RedeployDedicatedHostRequest): Promise<$_model.RedeployDedicatedHostResponse>;
|
|
8855
8867
|
/**
|
|
8856
|
-
*
|
|
8857
|
-
*
|
|
8858
|
-
* @remarks
|
|
8859
|
-
* ##
|
|
8860
|
-
* RedeployInstance is an asynchronous
|
|
8861
|
-
* When you
|
|
8862
|
-
* - The instance must be in the Running
|
|
8863
|
-
*
|
|
8864
|
-
*
|
|
8865
|
-
* -
|
|
8866
|
-
* - If
|
|
8867
|
-
* -
|
|
8868
|
-
* -
|
|
8869
|
-
* The following table describes the types and states
|
|
8870
|
-
* |
|
|
8871
|
-
* |
|
|
8872
|
-
* | Instance restart due to system maintenance (SystemMaintenance.Reboot)
|
|
8873
|
-
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy)
|
|
8874
|
-
* | Instance restart and
|
|
8875
|
-
* | Instance restart and
|
|
8876
|
-
* | Instance redeployment due to system
|
|
8877
|
-
* | For ECS instances
|
|
8878
|
-
* |
|
|
8879
|
-
* |
|
|
8880
|
-
*
|
|
8868
|
+
* Invokes the RedeployInstance operation to redeploy an ECS instance when the ECS instance receives a system event notification.
|
|
8869
|
+
*
|
|
8870
|
+
* @remarks
|
|
8871
|
+
* ## Operation description
|
|
8872
|
+
* 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.
|
|
8873
|
+
* When you invoke this operation, take note of the following items:
|
|
8874
|
+
* - The target instance must be in the Running or Stopped state. The instance status changes after the operation is invoked:
|
|
8875
|
+
* - An instance in the Running (`Running`) state enters the Stopping (`Stopping`) state.
|
|
8876
|
+
* - An instance in the Stopped (`Stopped`) state enters the Starting (`Starting`) state.
|
|
8877
|
+
* - Instances on dedicated hosts cannot be redeployed.
|
|
8878
|
+
* - If the OperationLocks of an instance is marked with `"LockReason": "security"`, the instance cannot be redeployed.
|
|
8879
|
+
* - Simulated events created by invoking CreateSimulatedSystemEvent cannot be responded to.
|
|
8880
|
+
* - 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).
|
|
8881
|
+
* The following table describes the system event types and event states that RedeployInstance can respond to.
|
|
8882
|
+
* | Event name and parameter | Event status |
|
|
8883
|
+
* | --- | --- |
|
|
8884
|
+
* | Instance restart due to system maintenance (SystemMaintenance.Reboot) | Inquiring, Scheduled |
|
|
8885
|
+
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy) | Inquiring, Scheduled |
|
|
8886
|
+
* | Instance restart and damaged disk replacement due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk) | Inquiring |
|
|
8887
|
+
* | Instance restart and damaged disk reinitialization due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk) | Inquiring |
|
|
8888
|
+
* | Instance redeployment due to system fault (SystemFailure.Redeploy) | Inquiring |
|
|
8889
|
+
* | For ECS instances with local disks only: instance restart due to system fault (SystemFailure.Reboot) | Executing |
|
|
8890
|
+
* | Damaged disk isolation due to system maintenance (SystemMaintenance.IsolateErrorDisk) | Inquiring |
|
|
8891
|
+
* | Damaged disk reinitialization due to system maintenance (SystemMaintenance.ReInitErrorDisk) | Inquiring |
|
|
8892
|
+
* > Redeploying an instance with local disks reinitializes the local disks, and all data on the storage devices is cleared.
|
|
8881
8893
|
*
|
|
8882
8894
|
* @param request - RedeployInstanceRequest
|
|
8883
8895
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8885,31 +8897,31 @@ export default class Client extends OpenApi {
|
|
|
8885
8897
|
*/
|
|
8886
8898
|
redeployInstanceWithOptions(request: $_model.RedeployInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RedeployInstanceResponse>;
|
|
8887
8899
|
/**
|
|
8888
|
-
*
|
|
8889
|
-
*
|
|
8890
|
-
* @remarks
|
|
8891
|
-
* ##
|
|
8892
|
-
* RedeployInstance is an asynchronous
|
|
8893
|
-
* When you
|
|
8894
|
-
* - The instance must be in the Running
|
|
8895
|
-
*
|
|
8896
|
-
*
|
|
8897
|
-
* -
|
|
8898
|
-
* - If
|
|
8899
|
-
* -
|
|
8900
|
-
* -
|
|
8901
|
-
* The following table describes the types and states
|
|
8902
|
-
* |
|
|
8903
|
-
* |
|
|
8904
|
-
* | Instance restart due to system maintenance (SystemMaintenance.Reboot)
|
|
8905
|
-
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy)
|
|
8906
|
-
* | Instance restart and
|
|
8907
|
-
* | Instance restart and
|
|
8908
|
-
* | Instance redeployment due to system
|
|
8909
|
-
* | For ECS instances
|
|
8910
|
-
* |
|
|
8911
|
-
* |
|
|
8912
|
-
*
|
|
8900
|
+
* Invokes the RedeployInstance operation to redeploy an ECS instance when the ECS instance receives a system event notification.
|
|
8901
|
+
*
|
|
8902
|
+
* @remarks
|
|
8903
|
+
* ## Operation description
|
|
8904
|
+
* 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.
|
|
8905
|
+
* When you invoke this operation, take note of the following items:
|
|
8906
|
+
* - The target instance must be in the Running or Stopped state. The instance status changes after the operation is invoked:
|
|
8907
|
+
* - An instance in the Running (`Running`) state enters the Stopping (`Stopping`) state.
|
|
8908
|
+
* - An instance in the Stopped (`Stopped`) state enters the Starting (`Starting`) state.
|
|
8909
|
+
* - Instances on dedicated hosts cannot be redeployed.
|
|
8910
|
+
* - If the OperationLocks of an instance is marked with `"LockReason": "security"`, the instance cannot be redeployed.
|
|
8911
|
+
* - Simulated events created by invoking CreateSimulatedSystemEvent cannot be responded to.
|
|
8912
|
+
* - 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).
|
|
8913
|
+
* The following table describes the system event types and event states that RedeployInstance can respond to.
|
|
8914
|
+
* | Event name and parameter | Event status |
|
|
8915
|
+
* | --- | --- |
|
|
8916
|
+
* | Instance restart due to system maintenance (SystemMaintenance.Reboot) | Inquiring, Scheduled |
|
|
8917
|
+
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy) | Inquiring, Scheduled |
|
|
8918
|
+
* | Instance restart and damaged disk replacement due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk) | Inquiring |
|
|
8919
|
+
* | Instance restart and damaged disk reinitialization due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk) | Inquiring |
|
|
8920
|
+
* | Instance redeployment due to system fault (SystemFailure.Redeploy) | Inquiring |
|
|
8921
|
+
* | For ECS instances with local disks only: instance restart due to system fault (SystemFailure.Reboot) | Executing |
|
|
8922
|
+
* | Damaged disk isolation due to system maintenance (SystemMaintenance.IsolateErrorDisk) | Inquiring |
|
|
8923
|
+
* | Damaged disk reinitialization due to system maintenance (SystemMaintenance.ReInitErrorDisk) | Inquiring |
|
|
8924
|
+
* > Redeploying an instance with local disks reinitializes the local disks, and all data on the storage devices is cleared.
|
|
8913
8925
|
*
|
|
8914
8926
|
* @param request - RedeployInstanceRequest
|
|
8915
8927
|
* @returns RedeployInstanceResponse
|
|
@@ -9013,7 +9025,7 @@ export default class Client extends OpenApi {
|
|
|
9013
9025
|
*/
|
|
9014
9026
|
removeBandwidthPackageIps(request: $_model.RemoveBandwidthPackageIpsRequest): Promise<$_model.RemoveBandwidthPackageIpsResponse>;
|
|
9015
9027
|
/**
|
|
9016
|
-
*
|
|
9028
|
+
* Calls RemoveTags to unbind one or more tags from resources such as instances, disks, snapshots, images, and security groups.
|
|
9017
9029
|
*
|
|
9018
9030
|
* @deprecated OpenAPI RemoveTags is deprecated, please use Ecs::2014-05-26::UntagResources instead.
|
|
9019
9031
|
*
|
|
@@ -9023,7 +9035,7 @@ export default class Client extends OpenApi {
|
|
|
9023
9035
|
*/
|
|
9024
9036
|
removeTagsWithOptions(request: $_model.RemoveTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveTagsResponse>;
|
|
9025
9037
|
/**
|
|
9026
|
-
*
|
|
9038
|
+
* Calls RemoveTags to unbind one or more tags from resources such as instances, disks, snapshots, images, and security groups.
|
|
9027
9039
|
*
|
|
9028
9040
|
* @deprecated OpenAPI RemoveTags is deprecated, please use Ecs::2014-05-26::UntagResources instead.
|
|
9029
9041
|
*
|
|
@@ -9429,65 +9441,64 @@ export default class Client extends OpenApi {
|
|
|
9429
9441
|
*/
|
|
9430
9442
|
revokeSecurityGroup(request: $_model.RevokeSecurityGroupRequest): Promise<$_model.RevokeSecurityGroupResponse>;
|
|
9431
9443
|
/**
|
|
9432
|
-
* Deletes outbound security group rules from a specified security group.
|
|
9433
|
-
*
|
|
9434
|
-
* @remarks
|
|
9435
|
-
* > Alibaba Cloud
|
|
9436
|
-
* You can use one of the following methods to delete
|
|
9437
|
-
* - Delete
|
|
9438
|
-
* - If
|
|
9439
|
-
* - Delete
|
|
9440
|
-
*
|
|
9441
|
-
*
|
|
9442
|
-
*
|
|
9443
|
-
*
|
|
9444
|
-
*
|
|
9445
|
-
*
|
|
9446
|
-
* > You cannot
|
|
9447
|
-
* ###
|
|
9448
|
-
* - Delete
|
|
9449
|
-
* <!---->
|
|
9444
|
+
* Deletes one or more outbound security group rules from a specified security group.
|
|
9445
|
+
*
|
|
9446
|
+
* @remarks
|
|
9447
|
+
* >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.
|
|
9448
|
+
* You can use one of the following methods to pass parameters to delete security group rules:
|
|
9449
|
+
* - Delete rules by specifying security group rule IDs (recommended).
|
|
9450
|
+
* - If the specified security group rule ID does not exist, an error is returned.
|
|
9451
|
+
* - Delete rules by specifying the Permissions parameter.
|
|
9452
|
+
* - If the matching security group rule does not exist, the invoke succeeds but no rule is deleted.
|
|
9453
|
+
* - The following parameters are required to delete a security group rule:
|
|
9454
|
+
* - Destination settings: Specify one of DestCidrIp (IPv4 address), Ipv6DestCidrIp (IPv6 address), DestPrefixListId (prefix list ID), or DestGroupId (destination security group).
|
|
9455
|
+
* - Destination port range: PortRange.
|
|
9456
|
+
* - Protocol type: IpProtocol.
|
|
9457
|
+
* - Access policy: Policy.
|
|
9458
|
+
* > You cannot specify both security group rule IDs and the Permissions parameter at the same time.
|
|
9459
|
+
* ### Request examples
|
|
9460
|
+
* - Delete by security group rule ID.
|
|
9450
9461
|
* ```
|
|
9451
|
-
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //
|
|
9452
|
-
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"]
|
|
9462
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group ID.
|
|
9463
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // Specify the security group rule IDs.
|
|
9453
9464
|
* ```
|
|
9454
|
-
* - Delete
|
|
9455
|
-
* <!---->
|
|
9465
|
+
* - Delete by IP address CIDR block.
|
|
9456
9466
|
* ```
|
|
9457
9467
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
9458
9468
|
* "Permissions":[
|
|
9459
9469
|
* {
|
|
9460
|
-
*
|
|
9461
|
-
*
|
|
9462
|
-
*
|
|
9463
|
-
*
|
|
9470
|
+
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
9471
|
+
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IP address CIDR block.
|
|
9472
|
+
* "PortRange":"22/22", // Specify the destination port range.
|
|
9473
|
+
* "Policy":"accept" // Specify the access policy.
|
|
9474
|
+
* }
|
|
9464
9475
|
* ]
|
|
9465
9476
|
* ```
|
|
9466
|
-
*
|
|
9467
|
-
*
|
|
9477
|
+
*
|
|
9478
|
+
* - Delete by destination security group.
|
|
9468
9479
|
* ```
|
|
9469
9480
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
9470
9481
|
* "Permissions":[
|
|
9471
9482
|
* {
|
|
9472
|
-
* "DestGroupId":"sg-bp67acfmxa123b****", //
|
|
9483
|
+
* "DestGroupId":"sg-bp67acfmxa123b****", // Specify the destination security group ID.
|
|
9473
9484
|
* "IpProtocol":"TCP",
|
|
9474
9485
|
* "PortRange":"22/22",
|
|
9475
9486
|
* "Policy":"accept"
|
|
9476
9487
|
* }
|
|
9477
9488
|
* ]
|
|
9478
9489
|
* ```
|
|
9479
|
-
* - Delete
|
|
9480
|
-
* <!---->
|
|
9490
|
+
* - Delete by prefix list.
|
|
9481
9491
|
* ```
|
|
9482
9492
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
9483
9493
|
* "Permissions":[
|
|
9484
9494
|
* {
|
|
9485
9495
|
* "IpProtocol":"TCP",
|
|
9486
|
-
*
|
|
9496
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", // Specify the destination prefix list ID.
|
|
9497
|
+
* "PortRange":"22/22",
|
|
9487
9498
|
* "Policy":"accept",
|
|
9488
9499
|
* }
|
|
9489
9500
|
* ]
|
|
9490
|
-
*
|
|
9501
|
+
* ```.
|
|
9491
9502
|
*
|
|
9492
9503
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
9493
9504
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9495,65 +9506,64 @@ export default class Client extends OpenApi {
|
|
|
9495
9506
|
*/
|
|
9496
9507
|
revokeSecurityGroupEgressWithOptions(request: $_model.RevokeSecurityGroupEgressRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeSecurityGroupEgressResponse>;
|
|
9497
9508
|
/**
|
|
9498
|
-
* Deletes outbound security group rules from a specified security group.
|
|
9499
|
-
*
|
|
9500
|
-
* @remarks
|
|
9501
|
-
* > Alibaba Cloud
|
|
9502
|
-
* You can use one of the following methods to delete
|
|
9503
|
-
* - Delete
|
|
9504
|
-
* - If
|
|
9505
|
-
* - Delete
|
|
9506
|
-
*
|
|
9507
|
-
*
|
|
9508
|
-
*
|
|
9509
|
-
*
|
|
9510
|
-
*
|
|
9511
|
-
*
|
|
9512
|
-
* > You cannot
|
|
9513
|
-
* ###
|
|
9514
|
-
* - Delete
|
|
9515
|
-
* <!---->
|
|
9509
|
+
* Deletes one or more outbound security group rules from a specified security group.
|
|
9510
|
+
*
|
|
9511
|
+
* @remarks
|
|
9512
|
+
* >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.
|
|
9513
|
+
* You can use one of the following methods to pass parameters to delete security group rules:
|
|
9514
|
+
* - Delete rules by specifying security group rule IDs (recommended).
|
|
9515
|
+
* - If the specified security group rule ID does not exist, an error is returned.
|
|
9516
|
+
* - Delete rules by specifying the Permissions parameter.
|
|
9517
|
+
* - If the matching security group rule does not exist, the invoke succeeds but no rule is deleted.
|
|
9518
|
+
* - The following parameters are required to delete a security group rule:
|
|
9519
|
+
* - Destination settings: Specify one of DestCidrIp (IPv4 address), Ipv6DestCidrIp (IPv6 address), DestPrefixListId (prefix list ID), or DestGroupId (destination security group).
|
|
9520
|
+
* - Destination port range: PortRange.
|
|
9521
|
+
* - Protocol type: IpProtocol.
|
|
9522
|
+
* - Access policy: Policy.
|
|
9523
|
+
* > You cannot specify both security group rule IDs and the Permissions parameter at the same time.
|
|
9524
|
+
* ### Request examples
|
|
9525
|
+
* - Delete by security group rule ID.
|
|
9516
9526
|
* ```
|
|
9517
|
-
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //
|
|
9518
|
-
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"]
|
|
9527
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group ID.
|
|
9528
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // Specify the security group rule IDs.
|
|
9519
9529
|
* ```
|
|
9520
|
-
* - Delete
|
|
9521
|
-
* <!---->
|
|
9530
|
+
* - Delete by IP address CIDR block.
|
|
9522
9531
|
* ```
|
|
9523
9532
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
9524
9533
|
* "Permissions":[
|
|
9525
9534
|
* {
|
|
9526
|
-
*
|
|
9527
|
-
*
|
|
9528
|
-
*
|
|
9529
|
-
*
|
|
9535
|
+
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
9536
|
+
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IP address CIDR block.
|
|
9537
|
+
* "PortRange":"22/22", // Specify the destination port range.
|
|
9538
|
+
* "Policy":"accept" // Specify the access policy.
|
|
9539
|
+
* }
|
|
9530
9540
|
* ]
|
|
9531
9541
|
* ```
|
|
9532
|
-
*
|
|
9533
|
-
*
|
|
9542
|
+
*
|
|
9543
|
+
* - Delete by destination security group.
|
|
9534
9544
|
* ```
|
|
9535
9545
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
9536
9546
|
* "Permissions":[
|
|
9537
9547
|
* {
|
|
9538
|
-
* "DestGroupId":"sg-bp67acfmxa123b****", //
|
|
9548
|
+
* "DestGroupId":"sg-bp67acfmxa123b****", // Specify the destination security group ID.
|
|
9539
9549
|
* "IpProtocol":"TCP",
|
|
9540
9550
|
* "PortRange":"22/22",
|
|
9541
9551
|
* "Policy":"accept"
|
|
9542
9552
|
* }
|
|
9543
9553
|
* ]
|
|
9544
9554
|
* ```
|
|
9545
|
-
* - Delete
|
|
9546
|
-
* <!---->
|
|
9555
|
+
* - Delete by prefix list.
|
|
9547
9556
|
* ```
|
|
9548
9557
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
9549
9558
|
* "Permissions":[
|
|
9550
9559
|
* {
|
|
9551
9560
|
* "IpProtocol":"TCP",
|
|
9552
|
-
*
|
|
9561
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", // Specify the destination prefix list ID.
|
|
9562
|
+
* "PortRange":"22/22",
|
|
9553
9563
|
* "Policy":"accept",
|
|
9554
9564
|
* }
|
|
9555
9565
|
* ]
|
|
9556
|
-
*
|
|
9566
|
+
* ```.
|
|
9557
9567
|
*
|
|
9558
9568
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
9559
9569
|
* @returns RevokeSecurityGroupEgressResponse
|
|
@@ -10163,13 +10173,13 @@ export default class Client extends OpenApi {
|
|
|
10163
10173
|
*/
|
|
10164
10174
|
terminateVirtualBorderRouter(request: $_model.TerminateVirtualBorderRouterRequest): Promise<$_model.TerminateVirtualBorderRouterResponse>;
|
|
10165
10175
|
/**
|
|
10166
|
-
* Unassigns one or more IPv6 addresses from an
|
|
10176
|
+
* Unassigns one or more IPv6 addresses from an Elastic Network Interface (ENI).
|
|
10167
10177
|
*
|
|
10168
10178
|
* @remarks
|
|
10169
|
-
* ##
|
|
10170
|
-
*
|
|
10171
|
-
* - The ENI must be in the **
|
|
10172
|
-
* - If
|
|
10179
|
+
* ## Operation description
|
|
10180
|
+
* When you invoke this operation, take note of the following items:
|
|
10181
|
+
* - The Elastic Network Interface (ENI) must be in the **Active** (Available) or **InUse** state.
|
|
10182
|
+
* - 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.
|
|
10173
10183
|
*
|
|
10174
10184
|
* @param request - UnassignIpv6AddressesRequest
|
|
10175
10185
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10177,13 +10187,13 @@ export default class Client extends OpenApi {
|
|
|
10177
10187
|
*/
|
|
10178
10188
|
unassignIpv6AddressesWithOptions(request: $_model.UnassignIpv6AddressesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UnassignIpv6AddressesResponse>;
|
|
10179
10189
|
/**
|
|
10180
|
-
* Unassigns one or more IPv6 addresses from an
|
|
10190
|
+
* Unassigns one or more IPv6 addresses from an Elastic Network Interface (ENI).
|
|
10181
10191
|
*
|
|
10182
10192
|
* @remarks
|
|
10183
|
-
* ##
|
|
10184
|
-
*
|
|
10185
|
-
* - The ENI must be in the **
|
|
10186
|
-
* - If
|
|
10193
|
+
* ## Operation description
|
|
10194
|
+
* When you invoke this operation, take note of the following items:
|
|
10195
|
+
* - The Elastic Network Interface (ENI) must be in the **Active** (Available) or **InUse** state.
|
|
10196
|
+
* - 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.
|
|
10187
10197
|
*
|
|
10188
10198
|
* @param request - UnassignIpv6AddressesRequest
|
|
10189
10199
|
* @returns UnassignIpv6AddressesResponse
|