@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/src/client.ts
CHANGED
|
@@ -48,6 +48,44 @@ export default class Client extends OpenApi {
|
|
|
48
48
|
'cn-zhengzhou-nebula-1': "ecs.cn-qingdao-nebula.aliyuncs.com",
|
|
49
49
|
'eu-west-1-oxs': "ecs.cn-shenzhen-cloudstone.aliyuncs.com",
|
|
50
50
|
'rus-west-1-pop': "ecs.aliyuncs.com",
|
|
51
|
+
'us-west-1': "ecs.us-west-1.aliyuncs.com",
|
|
52
|
+
'us-southeast-1': "ecs.us-southeast-1.aliyuncs.com",
|
|
53
|
+
'us-east-1': "ecs.us-east-1.aliyuncs.com",
|
|
54
|
+
'na-south-1': "ecs.na-south-1.aliyuncs.com",
|
|
55
|
+
'me-east-1': "ecs.me-east-1.aliyuncs.com",
|
|
56
|
+
'me-central-1': "ecs.me-central-1.aliyuncs.com",
|
|
57
|
+
'eu-west-2': "ecs.eu-west-2.aliyuncs.com",
|
|
58
|
+
'eu-west-1': "ecs.eu-west-1.aliyuncs.com",
|
|
59
|
+
'eu-central-1': "ecs.eu-central-1.aliyuncs.com",
|
|
60
|
+
'cn-zhongwei': "ecs.cn-zhongwei.aliyuncs.com",
|
|
61
|
+
'cn-zhengzhou-jva': "ecs.cn-zhengzhou-jva.aliyuncs.com",
|
|
62
|
+
'cn-zhangjiakou': "ecs.cn-zhangjiakou.aliyuncs.com",
|
|
63
|
+
'cn-wulanchabu-gic-1': "ecs.cn-wulanchabu-gic-1.aliyuncs.com",
|
|
64
|
+
'cn-wulanchabu': "ecs.cn-wulanchabu.aliyuncs.com",
|
|
65
|
+
'cn-wuhan-lr': "ecs.cn-wuhan-lr.aliyuncs.com",
|
|
66
|
+
'cn-shenzhen': "ecs.cn-shenzhen.aliyuncs.com",
|
|
67
|
+
'cn-shanghai': "ecs.cn-shanghai.aliyuncs.com",
|
|
68
|
+
'cn-qingdao': "ecs.cn-qingdao.aliyuncs.com",
|
|
69
|
+
'cn-nanjing': "ecs.cn-nanjing.aliyuncs.com",
|
|
70
|
+
'cn-huhehaote': "ecs.cn-huhehaote.aliyuncs.com",
|
|
71
|
+
'cn-hongkong': "ecs.cn-hongkong.aliyuncs.com",
|
|
72
|
+
'cn-heyuan-acdr-1': "ecs.cn-heyuan-acdr-1.aliyuncs.com",
|
|
73
|
+
'cn-heyuan': "ecs.cn-heyuan.aliyuncs.com",
|
|
74
|
+
'cn-guangzhou': "ecs.cn-guangzhou.aliyuncs.com",
|
|
75
|
+
'cn-fuzhou': "ecs.cn-fuzhou.aliyuncs.com",
|
|
76
|
+
'cn-chengdu': "ecs.cn-chengdu.aliyuncs.com",
|
|
77
|
+
'cn-beijing-finance-1': "ecs.cn-beijing-finance-1.aliyuncs.com",
|
|
78
|
+
'cn-beijing': "ecs.cn-beijing.aliyuncs.com",
|
|
79
|
+
'ap-southeast-8': "ecs.ap-southeast-8.aliyuncs.com",
|
|
80
|
+
'ap-southeast-7': "ecs.ap-southeast-7.aliyuncs.com",
|
|
81
|
+
'ap-southeast-6': "ecs.ap-southeast-6.aliyuncs.com",
|
|
82
|
+
'ap-southeast-5': "ecs.ap-southeast-5.aliyuncs.com",
|
|
83
|
+
'ap-southeast-3': "ecs.ap-southeast-3.aliyuncs.com",
|
|
84
|
+
'ap-southeast-2': "ecs.ap-southeast-2.aliyuncs.com",
|
|
85
|
+
'ap-southeast-1': "ecs.ap-southeast-1.aliyuncs.com",
|
|
86
|
+
'ap-south-1': "ecs.ap-south-1.aliyuncs.com",
|
|
87
|
+
'ap-northeast-2': "ecs.ap-northeast-2.aliyuncs.com",
|
|
88
|
+
'ap-northeast-1': "ecs.ap-northeast-1.aliyuncs.com",
|
|
51
89
|
};
|
|
52
90
|
this.checkConfig(config);
|
|
53
91
|
this._endpoint = this.getEndpoint("ecs", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -200,7 +238,7 @@ export default class Client extends OpenApi {
|
|
|
200
238
|
}
|
|
201
239
|
|
|
202
240
|
/**
|
|
203
|
-
* AddBandwidthPackageIps
|
|
241
|
+
* AddBandwidthPackageIps.
|
|
204
242
|
*
|
|
205
243
|
* @deprecated OpenAPI AddBandwidthPackageIps is deprecated
|
|
206
244
|
*
|
|
@@ -261,7 +299,7 @@ export default class Client extends OpenApi {
|
|
|
261
299
|
}
|
|
262
300
|
|
|
263
301
|
/**
|
|
264
|
-
* AddBandwidthPackageIps
|
|
302
|
+
* AddBandwidthPackageIps.
|
|
265
303
|
*
|
|
266
304
|
* @deprecated OpenAPI AddBandwidthPackageIps is deprecated
|
|
267
305
|
*
|
|
@@ -275,13 +313,13 @@ export default class Client extends OpenApi {
|
|
|
275
313
|
}
|
|
276
314
|
|
|
277
315
|
/**
|
|
278
|
-
* Adds or overwrites one or more tags
|
|
316
|
+
* 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.
|
|
279
317
|
*
|
|
280
318
|
* @remarks
|
|
281
|
-
* When you
|
|
282
|
-
* -
|
|
283
|
-
* -
|
|
284
|
-
* -
|
|
319
|
+
* When you invoke this operation, take note of the following items:
|
|
320
|
+
* - You can add up to 20 tags to each Elastic Compute Service (ECS) resource.
|
|
321
|
+
* - The tag key (Tag.N.Key) and tag value (Tag.N.Value) must be specified as a key-value pair.
|
|
322
|
+
* - 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).
|
|
285
323
|
*
|
|
286
324
|
* @deprecated OpenAPI AddTags is deprecated, please use Ecs::2014-05-26::TagResources instead.
|
|
287
325
|
*
|
|
@@ -338,13 +376,13 @@ export default class Client extends OpenApi {
|
|
|
338
376
|
}
|
|
339
377
|
|
|
340
378
|
/**
|
|
341
|
-
* Adds or overwrites one or more tags
|
|
379
|
+
* 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.
|
|
342
380
|
*
|
|
343
381
|
* @remarks
|
|
344
|
-
* When you
|
|
345
|
-
* -
|
|
346
|
-
* -
|
|
347
|
-
* -
|
|
382
|
+
* When you invoke this operation, take note of the following items:
|
|
383
|
+
* - You can add up to 20 tags to each Elastic Compute Service (ECS) resource.
|
|
384
|
+
* - The tag key (Tag.N.Key) and tag value (Tag.N.Value) must be specified as a key-value pair.
|
|
385
|
+
* - 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).
|
|
348
386
|
*
|
|
349
387
|
* @deprecated OpenAPI AddTags is deprecated, please use Ecs::2014-05-26::TagResources instead.
|
|
350
388
|
*
|
|
@@ -515,7 +553,7 @@ export default class Client extends OpenApi {
|
|
|
515
553
|
* AllocateEipAddress
|
|
516
554
|
*
|
|
517
555
|
* @remarks
|
|
518
|
-
* > This API is
|
|
556
|
+
* > 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).
|
|
519
557
|
*
|
|
520
558
|
* @deprecated OpenAPI AllocateEipAddress is deprecated, please use Vpc::2016-04-28::AllocateEipAddress instead.
|
|
521
559
|
*
|
|
@@ -587,7 +625,7 @@ export default class Client extends OpenApi {
|
|
|
587
625
|
* AllocateEipAddress
|
|
588
626
|
*
|
|
589
627
|
* @remarks
|
|
590
|
-
* > This API is
|
|
628
|
+
* > 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).
|
|
591
629
|
*
|
|
592
630
|
* @deprecated OpenAPI AllocateEipAddress is deprecated, please use Vpc::2016-04-28::AllocateEipAddress instead.
|
|
593
631
|
*
|
|
@@ -761,18 +799,18 @@ export default class Client extends OpenApi {
|
|
|
761
799
|
}
|
|
762
800
|
|
|
763
801
|
/**
|
|
764
|
-
* Assigns one or more IPv6 addresses to an
|
|
802
|
+
* Assigns one or more IPv6 addresses to an Elastic Network Interface (ENI).
|
|
765
803
|
*
|
|
766
804
|
* @remarks
|
|
767
|
-
* ##
|
|
768
|
-
* You can specify IPv6 addresses
|
|
769
|
-
* -
|
|
770
|
-
* - The ENI must be in the
|
|
771
|
-
* -
|
|
772
|
-
* - The
|
|
773
|
-
*
|
|
774
|
-
*
|
|
775
|
-
* - After
|
|
805
|
+
* ## Operation description
|
|
806
|
+
* 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:
|
|
807
|
+
* - 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).
|
|
808
|
+
* - The ENI must be in the Active (Available) or InUse state.
|
|
809
|
+
* - When you operate on a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
810
|
+
* - 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.
|
|
811
|
+
* - If the ENI is in the Active (Available) state, up to 10 IPv6 addresses can be allocated.
|
|
812
|
+
* - 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).
|
|
813
|
+
* - After you successfully invoke this operation, you can obtain the allocated IPv6 address information from the response.
|
|
776
814
|
*
|
|
777
815
|
* @param request - AssignIpv6AddressesRequest
|
|
778
816
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -847,18 +885,18 @@ export default class Client extends OpenApi {
|
|
|
847
885
|
}
|
|
848
886
|
|
|
849
887
|
/**
|
|
850
|
-
* Assigns one or more IPv6 addresses to an
|
|
888
|
+
* Assigns one or more IPv6 addresses to an Elastic Network Interface (ENI).
|
|
851
889
|
*
|
|
852
890
|
* @remarks
|
|
853
|
-
* ##
|
|
854
|
-
* You can specify IPv6 addresses
|
|
855
|
-
* -
|
|
856
|
-
* - The ENI must be in the
|
|
857
|
-
* -
|
|
858
|
-
* - The
|
|
859
|
-
*
|
|
860
|
-
*
|
|
861
|
-
* - After
|
|
891
|
+
* ## Operation description
|
|
892
|
+
* 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:
|
|
893
|
+
* - 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).
|
|
894
|
+
* - The ENI must be in the Active (Available) or InUse state.
|
|
895
|
+
* - When you operate on a primary ENI, the instance to which the ENI is attached must be in the Running or Stopped state.
|
|
896
|
+
* - 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.
|
|
897
|
+
* - If the ENI is in the Active (Available) state, up to 10 IPv6 addresses can be allocated.
|
|
898
|
+
* - 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).
|
|
899
|
+
* - After you successfully invoke this operation, you can obtain the allocated IPv6 address information from the response.
|
|
862
900
|
*
|
|
863
901
|
* @param request - AssignIpv6AddressesRequest
|
|
864
902
|
* @returns AssignIpv6AddressesResponse
|
|
@@ -1044,7 +1082,7 @@ export default class Client extends OpenApi {
|
|
|
1044
1082
|
}
|
|
1045
1083
|
|
|
1046
1084
|
/**
|
|
1047
|
-
*
|
|
1085
|
+
* Associates a high-availability virtual IP address (HaVip) with a specified instance.
|
|
1048
1086
|
*
|
|
1049
1087
|
* @deprecated OpenAPI AssociateHaVip is deprecated, please use Vpc::2016-04-28::AssociateHaVip instead.
|
|
1050
1088
|
*
|
|
@@ -1105,7 +1143,7 @@ export default class Client extends OpenApi {
|
|
|
1105
1143
|
}
|
|
1106
1144
|
|
|
1107
1145
|
/**
|
|
1108
|
-
*
|
|
1146
|
+
* Associates a high-availability virtual IP address (HaVip) with a specified instance.
|
|
1109
1147
|
*
|
|
1110
1148
|
* @deprecated OpenAPI AssociateHaVip is deprecated, please use Vpc::2016-04-28::AssociateHaVip instead.
|
|
1111
1149
|
*
|
|
@@ -1387,15 +1425,15 @@ export default class Client extends OpenApi {
|
|
|
1387
1425
|
}
|
|
1388
1426
|
|
|
1389
1427
|
/**
|
|
1390
|
-
*
|
|
1428
|
+
* Bind an SSH key pair to one or more Linux instances.
|
|
1391
1429
|
*
|
|
1392
1430
|
* @remarks
|
|
1393
|
-
*
|
|
1394
|
-
* -
|
|
1395
|
-
* -
|
|
1396
|
-
* - If
|
|
1397
|
-
* - If
|
|
1398
|
-
* - If an
|
|
1431
|
+
* When you call this operation, take note of the following items:
|
|
1432
|
+
* - Windows instances do not support SSH key pairs.
|
|
1433
|
+
* - After you bind an SSH key pair to an instance, authentication by using a username and password is disabled.
|
|
1434
|
+
* - 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.
|
|
1435
|
+
* - 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.
|
|
1436
|
+
* - If an SSH key pair is already bound to the instance, the new SSH key pair automatically replaces the original one.
|
|
1399
1437
|
*
|
|
1400
1438
|
* @param request - AttachKeyPairRequest
|
|
1401
1439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1446,15 +1484,15 @@ export default class Client extends OpenApi {
|
|
|
1446
1484
|
}
|
|
1447
1485
|
|
|
1448
1486
|
/**
|
|
1449
|
-
*
|
|
1487
|
+
* Bind an SSH key pair to one or more Linux instances.
|
|
1450
1488
|
*
|
|
1451
1489
|
* @remarks
|
|
1452
|
-
*
|
|
1453
|
-
* -
|
|
1454
|
-
* -
|
|
1455
|
-
* - If
|
|
1456
|
-
* - If
|
|
1457
|
-
* - If an
|
|
1490
|
+
* When you call this operation, take note of the following items:
|
|
1491
|
+
* - Windows instances do not support SSH key pairs.
|
|
1492
|
+
* - After you bind an SSH key pair to an instance, authentication by using a username and password is disabled.
|
|
1493
|
+
* - 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.
|
|
1494
|
+
* - 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.
|
|
1495
|
+
* - If an SSH key pair is already bound to the instance, the new SSH key pair automatically replaces the original one.
|
|
1458
1496
|
*
|
|
1459
1497
|
* @param request - AttachKeyPairRequest
|
|
1460
1498
|
* @returns AttachKeyPairResponse
|
|
@@ -2117,12 +2155,12 @@ export default class Client extends OpenApi {
|
|
|
2117
2155
|
}
|
|
2118
2156
|
|
|
2119
2157
|
/**
|
|
2120
|
-
* Cancels an ongoing
|
|
2158
|
+
* Cancels an ongoing CopyImage task.
|
|
2121
2159
|
*
|
|
2122
2160
|
* @remarks
|
|
2123
2161
|
* When you call this operation, take note of the following items:
|
|
2124
|
-
* - After you cancel
|
|
2125
|
-
* - If the image copy task is complete, the
|
|
2162
|
+
* - 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.
|
|
2163
|
+
* - If the image copy task is already complete, the operation fails and an error message is returned.
|
|
2126
2164
|
*
|
|
2127
2165
|
* @param request - CancelCopyImageRequest
|
|
2128
2166
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2173,12 +2211,12 @@ export default class Client extends OpenApi {
|
|
|
2173
2211
|
}
|
|
2174
2212
|
|
|
2175
2213
|
/**
|
|
2176
|
-
* Cancels an ongoing
|
|
2214
|
+
* Cancels an ongoing CopyImage task.
|
|
2177
2215
|
*
|
|
2178
2216
|
* @remarks
|
|
2179
2217
|
* When you call this operation, take note of the following items:
|
|
2180
|
-
* - After you cancel
|
|
2181
|
-
* - If the image copy task is complete, the
|
|
2218
|
+
* - 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.
|
|
2219
|
+
* - If the image copy task is already complete, the operation fails and an error message is returned.
|
|
2182
2220
|
*
|
|
2183
2221
|
* @param request - CancelCopyImageRequest
|
|
2184
2222
|
* @returns CancelCopyImageResponse
|
|
@@ -2340,7 +2378,7 @@ export default class Client extends OpenApi {
|
|
|
2340
2378
|
}
|
|
2341
2379
|
|
|
2342
2380
|
/**
|
|
2343
|
-
* Cancels simulated system events that are in the Scheduled or Executing state. After
|
|
2381
|
+
* 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.
|
|
2344
2382
|
*
|
|
2345
2383
|
* @param request - CancelSimulatedSystemEventsRequest
|
|
2346
2384
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2395,7 +2433,7 @@ export default class Client extends OpenApi {
|
|
|
2395
2433
|
}
|
|
2396
2434
|
|
|
2397
2435
|
/**
|
|
2398
|
-
* Cancels simulated system events that are in the Scheduled or Executing state. After
|
|
2436
|
+
* 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.
|
|
2399
2437
|
*
|
|
2400
2438
|
* @param request - CancelSimulatedSystemEventsRequest
|
|
2401
2439
|
* @returns CancelSimulatedSystemEventsResponse
|
|
@@ -4015,17 +4053,17 @@ export default class Client extends OpenApi {
|
|
|
4015
4053
|
}
|
|
4016
4054
|
|
|
4017
4055
|
/**
|
|
4018
|
-
*
|
|
4056
|
+
* Creates a pay-as-you-go or subscription data disk.
|
|
4019
4057
|
*
|
|
4020
4058
|
* @remarks
|
|
4021
|
-
* - When
|
|
4022
|
-
* - Supported disk types: basic
|
|
4023
|
-
* -
|
|
4024
|
-
* - Creating a disk
|
|
4025
|
-
* - Default settings when
|
|
4026
|
-
* -
|
|
4027
|
-
* - When
|
|
4028
|
-
* - The
|
|
4059
|
+
* - 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).
|
|
4060
|
+
* - 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.
|
|
4061
|
+
* - Creating a disk requires real-name verification. Go to [Real-name verification](https://account.console.aliyun.com/#/auth/home) in account information.
|
|
4062
|
+
* - 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).
|
|
4063
|
+
* - Default settings when creating a disk:
|
|
4064
|
+
* - 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.
|
|
4065
|
+
* - 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).
|
|
4066
|
+
* - The billing method is pay-as-you-go, that is, the default `Portable` attribute is `true`.
|
|
4029
4067
|
*
|
|
4030
4068
|
* @param request - CreateDiskRequest
|
|
4031
4069
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4160,17 +4198,17 @@ export default class Client extends OpenApi {
|
|
|
4160
4198
|
}
|
|
4161
4199
|
|
|
4162
4200
|
/**
|
|
4163
|
-
*
|
|
4201
|
+
* Creates a pay-as-you-go or subscription data disk.
|
|
4164
4202
|
*
|
|
4165
4203
|
* @remarks
|
|
4166
|
-
* - When
|
|
4167
|
-
* - Supported disk types: basic
|
|
4168
|
-
* -
|
|
4169
|
-
* - Creating a disk
|
|
4170
|
-
* - Default settings when
|
|
4171
|
-
* -
|
|
4172
|
-
* - When
|
|
4173
|
-
* - The
|
|
4204
|
+
* - 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).
|
|
4205
|
+
* - 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.
|
|
4206
|
+
* - Creating a disk requires real-name verification. Go to [Real-name verification](https://account.console.aliyun.com/#/auth/home) in account information.
|
|
4207
|
+
* - 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).
|
|
4208
|
+
* - Default settings when creating a disk:
|
|
4209
|
+
* - 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.
|
|
4210
|
+
* - 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).
|
|
4211
|
+
* - The billing method is pay-as-you-go, that is, the default `Portable` attribute is `true`.
|
|
4174
4212
|
*
|
|
4175
4213
|
* @param request - CreateDiskRequest
|
|
4176
4214
|
* @returns CreateDiskResponse
|
|
@@ -4715,15 +4753,15 @@ export default class Client extends OpenApi {
|
|
|
4715
4753
|
}
|
|
4716
4754
|
|
|
4717
4755
|
/**
|
|
4718
|
-
* Creates an image component. Image components
|
|
4756
|
+
* Creates an image component. Image components store commonly used build template commands for image building.
|
|
4719
4757
|
*
|
|
4720
4758
|
* @remarks
|
|
4721
|
-
* ##
|
|
4722
|
-
*
|
|
4759
|
+
* ## Operation description
|
|
4760
|
+
* Before you create an image component, take note of the following items:
|
|
4723
4761
|
* - You can create only custom image components.
|
|
4724
|
-
* -
|
|
4725
|
-
* - The content size of an image component cannot exceed 16 KB. For
|
|
4726
|
-
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
4762
|
+
* - 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.
|
|
4763
|
+
* - 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).
|
|
4764
|
+
* For more information, see [Image Builder overview](https://help.aliyun.com/document_detail/197410.html).
|
|
4727
4765
|
*
|
|
4728
4766
|
* @param request - CreateImageComponentRequest
|
|
4729
4767
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4814,15 +4852,15 @@ export default class Client extends OpenApi {
|
|
|
4814
4852
|
}
|
|
4815
4853
|
|
|
4816
4854
|
/**
|
|
4817
|
-
* Creates an image component. Image components
|
|
4855
|
+
* Creates an image component. Image components store commonly used build template commands for image building.
|
|
4818
4856
|
*
|
|
4819
4857
|
* @remarks
|
|
4820
|
-
* ##
|
|
4821
|
-
*
|
|
4858
|
+
* ## Operation description
|
|
4859
|
+
* Before you create an image component, take note of the following items:
|
|
4822
4860
|
* - You can create only custom image components.
|
|
4823
|
-
* -
|
|
4824
|
-
* - The content size of an image component cannot exceed 16 KB. For
|
|
4825
|
-
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
4861
|
+
* - 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.
|
|
4862
|
+
* - 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).
|
|
4863
|
+
* For more information, see [Image Builder overview](https://help.aliyun.com/document_detail/197410.html).
|
|
4826
4864
|
*
|
|
4827
4865
|
* @param request - CreateImageComponentRequest
|
|
4828
4866
|
* @returns CreateImageComponentResponse
|
|
@@ -5343,11 +5381,11 @@ export default class Client extends OpenApi {
|
|
|
5343
5381
|
}
|
|
5344
5382
|
|
|
5345
5383
|
/**
|
|
5346
|
-
*
|
|
5384
|
+
* 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.
|
|
5347
5385
|
*
|
|
5348
5386
|
* @remarks
|
|
5349
|
-
* In addition to calling
|
|
5350
|
-
*
|
|
5387
|
+
* 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.
|
|
5388
|
+
* You can have up to 500 key pairs in each region. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
5351
5389
|
*
|
|
5352
5390
|
* @param request - CreateKeyPairRequest
|
|
5353
5391
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5402,11 +5440,11 @@ export default class Client extends OpenApi {
|
|
|
5402
5440
|
}
|
|
5403
5441
|
|
|
5404
5442
|
/**
|
|
5405
|
-
*
|
|
5443
|
+
* 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.
|
|
5406
5444
|
*
|
|
5407
5445
|
* @remarks
|
|
5408
|
-
* In addition to calling
|
|
5409
|
-
*
|
|
5446
|
+
* 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.
|
|
5447
|
+
* You can have up to 500 key pairs in each region. For more information, see [Limits](https://help.aliyun.com/document_detail/25412.html).
|
|
5410
5448
|
*
|
|
5411
5449
|
* @param request - CreateKeyPairRequest
|
|
5412
5450
|
* @returns CreateKeyPairResponse
|
|
@@ -6290,7 +6328,7 @@ export default class Client extends OpenApi {
|
|
|
6290
6328
|
}
|
|
6291
6329
|
|
|
6292
6330
|
/**
|
|
6293
|
-
*
|
|
6331
|
+
* Grants elastic network interface (ENI) permissions to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
6294
6332
|
*
|
|
6295
6333
|
* @param request - CreateNetworkInterfacePermissionRequest
|
|
6296
6334
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6353,7 +6391,7 @@ export default class Client extends OpenApi {
|
|
|
6353
6391
|
}
|
|
6354
6392
|
|
|
6355
6393
|
/**
|
|
6356
|
-
*
|
|
6394
|
+
* Grants elastic network interface (ENI) permissions to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
6357
6395
|
*
|
|
6358
6396
|
* @param request - CreateNetworkInterfacePermissionRequest
|
|
6359
6397
|
* @returns CreateNetworkInterfacePermissionResponse
|
|
@@ -6479,7 +6517,7 @@ export default class Client extends OpenApi {
|
|
|
6479
6517
|
}
|
|
6480
6518
|
|
|
6481
6519
|
/**
|
|
6482
|
-
*
|
|
6520
|
+
* 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.
|
|
6483
6521
|
*
|
|
6484
6522
|
* @param tmpReq - CreatePlanMaintenanceWindowRequest
|
|
6485
6523
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6544,7 +6582,7 @@ export default class Client extends OpenApi {
|
|
|
6544
6582
|
}
|
|
6545
6583
|
|
|
6546
6584
|
/**
|
|
6547
|
-
*
|
|
6585
|
+
* 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.
|
|
6548
6586
|
*
|
|
6549
6587
|
* @param request - CreatePlanMaintenanceWindowRequest
|
|
6550
6588
|
* @returns CreatePlanMaintenanceWindowResponse
|
|
@@ -6846,7 +6884,7 @@ export default class Client extends OpenApi {
|
|
|
6846
6884
|
}
|
|
6847
6885
|
|
|
6848
6886
|
/**
|
|
6849
|
-
* CreateRouterInterface
|
|
6887
|
+
* CreateRouterInterface.
|
|
6850
6888
|
*
|
|
6851
6889
|
* @deprecated OpenAPI CreateRouterInterface is deprecated, please use Vpc::2016-04-28::CreateRouterInterface instead.
|
|
6852
6890
|
*
|
|
@@ -6983,7 +7021,7 @@ export default class Client extends OpenApi {
|
|
|
6983
7021
|
}
|
|
6984
7022
|
|
|
6985
7023
|
/**
|
|
6986
|
-
* CreateRouterInterface
|
|
7024
|
+
* CreateRouterInterface.
|
|
6987
7025
|
*
|
|
6988
7026
|
* @deprecated OpenAPI CreateRouterInterface is deprecated, please use Vpc::2016-04-28::CreateRouterInterface instead.
|
|
6989
7027
|
*
|
|
@@ -7177,15 +7215,15 @@ export default class Client extends OpenApi {
|
|
|
7177
7215
|
}
|
|
7178
7216
|
|
|
7179
7217
|
/**
|
|
7180
|
-
* Schedules simulated system events
|
|
7218
|
+
* 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.
|
|
7181
7219
|
*
|
|
7182
7220
|
* @remarks
|
|
7183
|
-
*
|
|
7184
|
-
* The following
|
|
7185
|
-
* - Scheduled:
|
|
7186
|
-
* - Executed:
|
|
7187
|
-
* - Canceled:
|
|
7188
|
-
* - Avoided:
|
|
7221
|
+
* 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.
|
|
7222
|
+
* The following list describes the lifecycle of simulated system events:
|
|
7223
|
+
* - Scheduled: After the simulated system event is scheduled, it automatically enters the Scheduled state.
|
|
7224
|
+
* - Executed: If no manual intervention is performed, the simulated system event automatically enters the Executed state at the specified point in time (NotBefore).
|
|
7225
|
+
* - 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.
|
|
7226
|
+
* - 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.
|
|
7189
7227
|
*
|
|
7190
7228
|
* @param request - CreateSimulatedSystemEventsRequest
|
|
7191
7229
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7248,15 +7286,15 @@ export default class Client extends OpenApi {
|
|
|
7248
7286
|
}
|
|
7249
7287
|
|
|
7250
7288
|
/**
|
|
7251
|
-
* Schedules simulated system events
|
|
7289
|
+
* 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.
|
|
7252
7290
|
*
|
|
7253
7291
|
* @remarks
|
|
7254
|
-
*
|
|
7255
|
-
* The following
|
|
7256
|
-
* - Scheduled:
|
|
7257
|
-
* - Executed:
|
|
7258
|
-
* - Canceled:
|
|
7259
|
-
* - Avoided:
|
|
7292
|
+
* 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.
|
|
7293
|
+
* The following list describes the lifecycle of simulated system events:
|
|
7294
|
+
* - Scheduled: After the simulated system event is scheduled, it automatically enters the Scheduled state.
|
|
7295
|
+
* - Executed: If no manual intervention is performed, the simulated system event automatically enters the Executed state at the specified point in time (NotBefore).
|
|
7296
|
+
* - 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.
|
|
7297
|
+
* - 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.
|
|
7260
7298
|
*
|
|
7261
7299
|
* @param request - CreateSimulatedSystemEventsRequest
|
|
7262
7300
|
* @returns CreateSimulatedSystemEventsResponse
|
|
@@ -8458,7 +8496,7 @@ export default class Client extends OpenApi {
|
|
|
8458
8496
|
* Deletes a deployment set.
|
|
8459
8497
|
*
|
|
8460
8498
|
* @remarks
|
|
8461
|
-
* Before you delete a deployment set, make sure that no instances
|
|
8499
|
+
* 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).
|
|
8462
8500
|
*
|
|
8463
8501
|
* @param request - DeleteDeploymentSetRequest
|
|
8464
8502
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8512,7 +8550,7 @@ export default class Client extends OpenApi {
|
|
|
8512
8550
|
* Deletes a deployment set.
|
|
8513
8551
|
*
|
|
8514
8552
|
* @remarks
|
|
8515
|
-
* Before you delete a deployment set, make sure that no instances
|
|
8553
|
+
* 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).
|
|
8516
8554
|
*
|
|
8517
8555
|
* @param request - DeleteDeploymentSetRequest
|
|
8518
8556
|
* @returns DeleteDeploymentSetResponse
|
|
@@ -8621,14 +8659,14 @@ export default class Client extends OpenApi {
|
|
|
8621
8659
|
}
|
|
8622
8660
|
|
|
8623
8661
|
/**
|
|
8624
|
-
*
|
|
8662
|
+
* Releases a pay-as-you-go data disk. Supported disk types include basic disks, ultra disks, standard SSDs, and enterprise SSDs (ESSDs).
|
|
8625
8663
|
*
|
|
8626
8664
|
* @remarks
|
|
8627
|
-
* When you
|
|
8665
|
+
* When you invoke this operation, take note of the following items:
|
|
8628
8666
|
* - Manual snapshots of the disk are retained.
|
|
8629
|
-
* - You can
|
|
8630
|
-
* - The disk must be in the Unattached (Available) state.
|
|
8631
|
-
* - If the specified
|
|
8667
|
+
* - 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.
|
|
8668
|
+
* - The disk must be in the **Unattached** (Available) state when you release it.
|
|
8669
|
+
* - If the disk with the specified ID does not exist, the request is ignored.
|
|
8632
8670
|
*
|
|
8633
8671
|
* @param request - DeleteDiskRequest
|
|
8634
8672
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8675,14 +8713,14 @@ export default class Client extends OpenApi {
|
|
|
8675
8713
|
}
|
|
8676
8714
|
|
|
8677
8715
|
/**
|
|
8678
|
-
*
|
|
8716
|
+
* Releases a pay-as-you-go data disk. Supported disk types include basic disks, ultra disks, standard SSDs, and enterprise SSDs (ESSDs).
|
|
8679
8717
|
*
|
|
8680
8718
|
* @remarks
|
|
8681
|
-
* When you
|
|
8719
|
+
* When you invoke this operation, take note of the following items:
|
|
8682
8720
|
* - Manual snapshots of the disk are retained.
|
|
8683
|
-
* - You can
|
|
8684
|
-
* - The disk must be in the Unattached (Available) state.
|
|
8685
|
-
* - If the specified
|
|
8721
|
+
* - 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.
|
|
8722
|
+
* - The disk must be in the **Unattached** (Available) state when you release it.
|
|
8723
|
+
* - If the disk with the specified ID does not exist, the request is ignored.
|
|
8686
8724
|
*
|
|
8687
8725
|
* @param request - DeleteDiskRequest
|
|
8688
8726
|
* @returns DeleteDiskResponse
|
|
@@ -8835,7 +8873,7 @@ export default class Client extends OpenApi {
|
|
|
8835
8873
|
}
|
|
8836
8874
|
|
|
8837
8875
|
/**
|
|
8838
|
-
* Deletes a
|
|
8876
|
+
* Deletes a High Performance Computing (HPC) cluster.
|
|
8839
8877
|
*
|
|
8840
8878
|
* @param request - DeleteHpcClusterRequest
|
|
8841
8879
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8894,7 +8932,7 @@ export default class Client extends OpenApi {
|
|
|
8894
8932
|
}
|
|
8895
8933
|
|
|
8896
8934
|
/**
|
|
8897
|
-
* Deletes a
|
|
8935
|
+
* Deletes a High Performance Computing (HPC) cluster.
|
|
8898
8936
|
*
|
|
8899
8937
|
* @param request - DeleteHpcClusterRequest
|
|
8900
8938
|
* @returns DeleteHpcClusterResponse
|
|
@@ -8905,10 +8943,10 @@ export default class Client extends OpenApi {
|
|
|
8905
8943
|
}
|
|
8906
8944
|
|
|
8907
8945
|
/**
|
|
8908
|
-
*
|
|
8946
|
+
* Calls the DeleteImage operation. You can specify the ImageId and Force parameters to delete a custom image.
|
|
8909
8947
|
*
|
|
8910
8948
|
* @remarks
|
|
8911
|
-
* For
|
|
8949
|
+
* 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).
|
|
8912
8950
|
*
|
|
8913
8951
|
* @param request - DeleteImageRequest
|
|
8914
8952
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8967,10 +9005,10 @@ export default class Client extends OpenApi {
|
|
|
8967
9005
|
}
|
|
8968
9006
|
|
|
8969
9007
|
/**
|
|
8970
|
-
*
|
|
9008
|
+
* Calls the DeleteImage operation. You can specify the ImageId and Force parameters to delete a custom image.
|
|
8971
9009
|
*
|
|
8972
9010
|
* @remarks
|
|
8973
|
-
* For
|
|
9011
|
+
* 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).
|
|
8974
9012
|
*
|
|
8975
9013
|
* @param request - DeleteImageRequest
|
|
8976
9014
|
* @returns DeleteImageResponse
|
|
@@ -8981,11 +9019,11 @@ export default class Client extends OpenApi {
|
|
|
8981
9019
|
}
|
|
8982
9020
|
|
|
8983
9021
|
/**
|
|
8984
|
-
* Deletes an image component
|
|
9022
|
+
* Deletes an image component by specifying the RegionId and ImageComponentId parameters.
|
|
8985
9023
|
*
|
|
8986
9024
|
* @remarks
|
|
8987
|
-
* - Only custom image components can be deleted.
|
|
8988
|
-
* -
|
|
9025
|
+
* - Only custom image components that you have created can be deleted.
|
|
9026
|
+
* - Before deleting a component, make sure that the component is not used in any template. Otherwise, the deletion fails.
|
|
8989
9027
|
*
|
|
8990
9028
|
* @param request - DeleteImageComponentRequest
|
|
8991
9029
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9040,11 +9078,11 @@ export default class Client extends OpenApi {
|
|
|
9040
9078
|
}
|
|
9041
9079
|
|
|
9042
9080
|
/**
|
|
9043
|
-
* Deletes an image component
|
|
9081
|
+
* Deletes an image component by specifying the RegionId and ImageComponentId parameters.
|
|
9044
9082
|
*
|
|
9045
9083
|
* @remarks
|
|
9046
|
-
* - Only custom image components can be deleted.
|
|
9047
|
-
* -
|
|
9084
|
+
* - Only custom image components that you have created can be deleted.
|
|
9085
|
+
* - Before deleting a component, make sure that the component is not used in any template. Otherwise, the deletion fails.
|
|
9048
9086
|
*
|
|
9049
9087
|
* @param request - DeleteImageComponentRequest
|
|
9050
9088
|
* @returns DeleteImageComponentResponse
|
|
@@ -9058,7 +9096,7 @@ export default class Client extends OpenApi {
|
|
|
9058
9096
|
* Deletes an image template.
|
|
9059
9097
|
*
|
|
9060
9098
|
* @remarks
|
|
9061
|
-
* If
|
|
9099
|
+
* 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.
|
|
9062
9100
|
*
|
|
9063
9101
|
* @param request - DeleteImagePipelineRequest
|
|
9064
9102
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9116,7 +9154,7 @@ export default class Client extends OpenApi {
|
|
|
9116
9154
|
* Deletes an image template.
|
|
9117
9155
|
*
|
|
9118
9156
|
* @remarks
|
|
9119
|
-
* If
|
|
9157
|
+
* 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.
|
|
9120
9158
|
*
|
|
9121
9159
|
* @param request - DeleteImagePipelineRequest
|
|
9122
9160
|
* @returns DeleteImagePipelineResponse
|
|
@@ -9127,18 +9165,18 @@ export default class Client extends OpenApi {
|
|
|
9127
9165
|
}
|
|
9128
9166
|
|
|
9129
9167
|
/**
|
|
9130
|
-
* Deletes or releases a
|
|
9168
|
+
* Deletes or releases a specified ECS instance.
|
|
9131
9169
|
*
|
|
9132
9170
|
* @remarks
|
|
9133
|
-
*
|
|
9134
|
-
*
|
|
9135
|
-
*
|
|
9136
|
-
* -
|
|
9137
|
-
*
|
|
9138
|
-
* - If `
|
|
9139
|
-
*
|
|
9140
|
-
*
|
|
9141
|
-
*
|
|
9171
|
+
* >Warning:
|
|
9172
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
9173
|
+
* .
|
|
9174
|
+
* - 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).
|
|
9175
|
+
* - 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:
|
|
9176
|
+
* - 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.
|
|
9177
|
+
* - If `DeleteAutoSnapshot=false`, automatic snapshots are retained. Otherwise, they are released along with the instance.
|
|
9178
|
+
* - 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.
|
|
9179
|
+
* >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..
|
|
9142
9180
|
*
|
|
9143
9181
|
* @param request - DeleteInstanceRequest
|
|
9144
9182
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9201,18 +9239,18 @@ export default class Client extends OpenApi {
|
|
|
9201
9239
|
}
|
|
9202
9240
|
|
|
9203
9241
|
/**
|
|
9204
|
-
* Deletes or releases a
|
|
9242
|
+
* Deletes or releases a specified ECS instance.
|
|
9205
9243
|
*
|
|
9206
9244
|
* @remarks
|
|
9207
|
-
*
|
|
9208
|
-
*
|
|
9209
|
-
*
|
|
9210
|
-
* -
|
|
9211
|
-
*
|
|
9212
|
-
* - If `
|
|
9213
|
-
*
|
|
9214
|
-
*
|
|
9215
|
-
*
|
|
9245
|
+
* >Warning:
|
|
9246
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
9247
|
+
* .
|
|
9248
|
+
* - 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).
|
|
9249
|
+
* - 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:
|
|
9250
|
+
* - 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.
|
|
9251
|
+
* - If `DeleteAutoSnapshot=false`, automatic snapshots are retained. Otherwise, they are released along with the instance.
|
|
9252
|
+
* - 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.
|
|
9253
|
+
* >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..
|
|
9216
9254
|
*
|
|
9217
9255
|
* @param request - DeleteInstanceRequest
|
|
9218
9256
|
* @returns DeleteInstanceResponse
|
|
@@ -9223,17 +9261,18 @@ export default class Client extends OpenApi {
|
|
|
9223
9261
|
}
|
|
9224
9262
|
|
|
9225
9263
|
/**
|
|
9226
|
-
*
|
|
9264
|
+
* 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.
|
|
9227
9265
|
*
|
|
9228
9266
|
* @remarks
|
|
9229
9267
|
* >Warning:
|
|
9230
|
-
* After
|
|
9231
|
-
*
|
|
9232
|
-
* -
|
|
9233
|
-
*
|
|
9234
|
-
* - If `
|
|
9235
|
-
*
|
|
9236
|
-
*
|
|
9268
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
9269
|
+
* .
|
|
9270
|
+
* - 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.
|
|
9271
|
+
* - 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:
|
|
9272
|
+
* - 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.
|
|
9273
|
+
* - If `DeleteAutoSnapshot=false`, the automatic snapshots are retained. Otherwise, the automatic snapshots are released along with the instance.
|
|
9274
|
+
* - 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.
|
|
9275
|
+
* >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..
|
|
9237
9276
|
*
|
|
9238
9277
|
* @param request - DeleteInstancesRequest
|
|
9239
9278
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9304,17 +9343,18 @@ export default class Client extends OpenApi {
|
|
|
9304
9343
|
}
|
|
9305
9344
|
|
|
9306
9345
|
/**
|
|
9307
|
-
*
|
|
9346
|
+
* 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.
|
|
9308
9347
|
*
|
|
9309
9348
|
* @remarks
|
|
9310
9349
|
* >Warning:
|
|
9311
|
-
* After
|
|
9312
|
-
*
|
|
9313
|
-
* -
|
|
9314
|
-
*
|
|
9315
|
-
* - If `
|
|
9316
|
-
*
|
|
9317
|
-
*
|
|
9350
|
+
* After an instance is released, all physical resources used by the instance are reclaimed. All related data is permanently lost and cannot be recovered.
|
|
9351
|
+
* .
|
|
9352
|
+
* - 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.
|
|
9353
|
+
* - 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:
|
|
9354
|
+
* - 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.
|
|
9355
|
+
* - If `DeleteAutoSnapshot=false`, the automatic snapshots are retained. Otherwise, the automatic snapshots are released along with the instance.
|
|
9356
|
+
* - 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.
|
|
9357
|
+
* >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..
|
|
9318
9358
|
*
|
|
9319
9359
|
* @param request - DeleteInstancesRequest
|
|
9320
9360
|
* @returns DeleteInstancesResponse
|
|
@@ -9325,12 +9365,12 @@ export default class Client extends OpenApi {
|
|
|
9325
9365
|
}
|
|
9326
9366
|
|
|
9327
9367
|
/**
|
|
9328
|
-
*
|
|
9368
|
+
* Call DeleteKeyPairs to delete one or more SSH key pairs.
|
|
9329
9369
|
*
|
|
9330
9370
|
* @remarks
|
|
9331
|
-
*
|
|
9332
|
-
* -
|
|
9333
|
-
* - If an
|
|
9371
|
+
* After you delete an SSH key pair, take note of the following items:
|
|
9372
|
+
* - You cannot query the SSH key pair by calling [DescribeKeyPairs](https://help.aliyun.com/document_detail/51773.html).
|
|
9373
|
+
* - If an ECS instance is bound to the SSH key pair, the SSH key pair cannot be deleted.
|
|
9334
9374
|
*
|
|
9335
9375
|
* @param request - DeleteKeyPairsRequest
|
|
9336
9376
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9377,12 +9417,12 @@ export default class Client extends OpenApi {
|
|
|
9377
9417
|
}
|
|
9378
9418
|
|
|
9379
9419
|
/**
|
|
9380
|
-
*
|
|
9420
|
+
* Call DeleteKeyPairs to delete one or more SSH key pairs.
|
|
9381
9421
|
*
|
|
9382
9422
|
* @remarks
|
|
9383
|
-
*
|
|
9384
|
-
* -
|
|
9385
|
-
* - If an
|
|
9423
|
+
* After you delete an SSH key pair, take note of the following items:
|
|
9424
|
+
* - You cannot query the SSH key pair by calling [DescribeKeyPairs](https://help.aliyun.com/document_detail/51773.html).
|
|
9425
|
+
* - If an ECS instance is bound to the SSH key pair, the SSH key pair cannot be deleted.
|
|
9386
9426
|
*
|
|
9387
9427
|
* @param request - DeleteKeyPairsRequest
|
|
9388
9428
|
* @returns DeleteKeyPairsResponse
|
|
@@ -9393,12 +9433,12 @@ export default class Client extends OpenApi {
|
|
|
9393
9433
|
}
|
|
9394
9434
|
|
|
9395
9435
|
/**
|
|
9396
|
-
* Deletes a launch template
|
|
9436
|
+
* Deletes a launch template in a specified region by specifying the LaunchTemplateId or LaunchTemplateName parameter.
|
|
9397
9437
|
*
|
|
9398
9438
|
* @remarks
|
|
9399
9439
|
* Take note of the following items:
|
|
9400
|
-
* - After you delete a launch template,
|
|
9401
|
-
* - After you delete a launch template, all versions of the
|
|
9440
|
+
* - After you delete a launch template, ECS instances that were created by using the launch template are not affected.
|
|
9441
|
+
* - 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).
|
|
9402
9442
|
*
|
|
9403
9443
|
* @param request - DeleteLaunchTemplateRequest
|
|
9404
9444
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9453,12 +9493,12 @@ export default class Client extends OpenApi {
|
|
|
9453
9493
|
}
|
|
9454
9494
|
|
|
9455
9495
|
/**
|
|
9456
|
-
* Deletes a launch template
|
|
9496
|
+
* Deletes a launch template in a specified region by specifying the LaunchTemplateId or LaunchTemplateName parameter.
|
|
9457
9497
|
*
|
|
9458
9498
|
* @remarks
|
|
9459
9499
|
* Take note of the following items:
|
|
9460
|
-
* - After you delete a launch template,
|
|
9461
|
-
* - After you delete a launch template, all versions of the
|
|
9500
|
+
* - After you delete a launch template, ECS instances that were created by using the launch template are not affected.
|
|
9501
|
+
* - 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).
|
|
9462
9502
|
*
|
|
9463
9503
|
* @param request - DeleteLaunchTemplateRequest
|
|
9464
9504
|
* @returns DeleteLaunchTemplateResponse
|
|
@@ -9469,13 +9509,13 @@ export default class Client extends OpenApi {
|
|
|
9469
9509
|
}
|
|
9470
9510
|
|
|
9471
9511
|
/**
|
|
9472
|
-
* Deletes versions of a launch template
|
|
9512
|
+
* Deletes one or more versions of a specified launch template by specifying parameters such as LaunchTemplateId and DeleteVersion.
|
|
9473
9513
|
*
|
|
9474
9514
|
* @remarks
|
|
9475
|
-
*
|
|
9476
|
-
* -
|
|
9477
|
-
* - If the version
|
|
9478
|
-
* -
|
|
9515
|
+
* When you call this operation, take note of the following items:
|
|
9516
|
+
* - The default version cannot be deleted. You must delete the entire launch template to remove the default version.
|
|
9517
|
+
* - 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.
|
|
9518
|
+
* - Deleting a version does not affect instances that were already created from that version.
|
|
9479
9519
|
*
|
|
9480
9520
|
* @param request - DeleteLaunchTemplateVersionRequest
|
|
9481
9521
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9534,13 +9574,13 @@ export default class Client extends OpenApi {
|
|
|
9534
9574
|
}
|
|
9535
9575
|
|
|
9536
9576
|
/**
|
|
9537
|
-
* Deletes versions of a launch template
|
|
9577
|
+
* Deletes one or more versions of a specified launch template by specifying parameters such as LaunchTemplateId and DeleteVersion.
|
|
9538
9578
|
*
|
|
9539
9579
|
* @remarks
|
|
9540
|
-
*
|
|
9541
|
-
* -
|
|
9542
|
-
* - If the version
|
|
9543
|
-
* -
|
|
9580
|
+
* When you call this operation, take note of the following items:
|
|
9581
|
+
* - The default version cannot be deleted. You must delete the entire launch template to remove the default version.
|
|
9582
|
+
* - 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.
|
|
9583
|
+
* - Deleting a version does not affect instances that were already created from that version.
|
|
9544
9584
|
*
|
|
9545
9585
|
* @param request - DeleteLaunchTemplateVersionRequest
|
|
9546
9586
|
* @returns DeleteLaunchTemplateVersionResponse
|
|
@@ -9970,10 +10010,10 @@ export default class Client extends OpenApi {
|
|
|
9970
10010
|
}
|
|
9971
10011
|
|
|
9972
10012
|
/**
|
|
9973
|
-
* Deletes a prefix list and all entries in the prefix list.
|
|
10013
|
+
* Deletes a specified prefix list and all entries in the prefix list.
|
|
9974
10014
|
*
|
|
9975
10015
|
* @remarks
|
|
9976
|
-
* If a prefix list is associated with resources, you cannot delete
|
|
10016
|
+
* 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.
|
|
9977
10017
|
*
|
|
9978
10018
|
* @param request - DeletePrefixListRequest
|
|
9979
10019
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10028,10 +10068,10 @@ export default class Client extends OpenApi {
|
|
|
10028
10068
|
}
|
|
10029
10069
|
|
|
10030
10070
|
/**
|
|
10031
|
-
* Deletes a prefix list and all entries in the prefix list.
|
|
10071
|
+
* Deletes a specified prefix list and all entries in the prefix list.
|
|
10032
10072
|
*
|
|
10033
10073
|
* @remarks
|
|
10034
|
-
* If a prefix list is associated with resources, you cannot delete
|
|
10074
|
+
* 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.
|
|
10035
10075
|
*
|
|
10036
10076
|
* @param request - DeletePrefixListRequest
|
|
10037
10077
|
* @returns DeletePrefixListResponse
|
|
@@ -10839,7 +10879,7 @@ export default class Client extends OpenApi {
|
|
|
10839
10879
|
}
|
|
10840
10880
|
|
|
10841
10881
|
/**
|
|
10842
|
-
*
|
|
10882
|
+
* Queries access points.
|
|
10843
10883
|
*
|
|
10844
10884
|
* @deprecated OpenAPI DescribeAccessPoints is deprecated, please use Vpc::2016-04-28::DescribeAccessPoints instead.
|
|
10845
10885
|
*
|
|
@@ -10900,7 +10940,7 @@ export default class Client extends OpenApi {
|
|
|
10900
10940
|
}
|
|
10901
10941
|
|
|
10902
10942
|
/**
|
|
10903
|
-
*
|
|
10943
|
+
* Queries access points.
|
|
10904
10944
|
*
|
|
10905
10945
|
* @deprecated OpenAPI DescribeAccessPoints is deprecated, please use Vpc::2016-04-28::DescribeAccessPoints instead.
|
|
10906
10946
|
*
|
|
@@ -11328,7 +11368,7 @@ export default class Client extends OpenApi {
|
|
|
11328
11368
|
}
|
|
11329
11369
|
|
|
11330
11370
|
/**
|
|
11331
|
-
* Queries
|
|
11371
|
+
* Queries the associate relationships of an automatic snapshot policy.
|
|
11332
11372
|
*
|
|
11333
11373
|
* @param request - DescribeAutoSnapshotPolicyAssociationsRequest
|
|
11334
11374
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11391,7 +11431,7 @@ export default class Client extends OpenApi {
|
|
|
11391
11431
|
}
|
|
11392
11432
|
|
|
11393
11433
|
/**
|
|
11394
|
-
* Queries
|
|
11434
|
+
* Queries the associate relationships of an automatic snapshot policy.
|
|
11395
11435
|
*
|
|
11396
11436
|
* @param request - DescribeAutoSnapshotPolicyAssociationsRequest
|
|
11397
11437
|
* @returns DescribeAutoSnapshotPolicyAssociationsResponse
|
|
@@ -11714,7 +11754,7 @@ export default class Client extends OpenApi {
|
|
|
11714
11754
|
}
|
|
11715
11755
|
|
|
11716
11756
|
/**
|
|
11717
|
-
*
|
|
11757
|
+
* Calls DescribeBandwidthLimitation to query the maximum public bandwidth that can be purchased, upgraded, or downgraded for different instance types.
|
|
11718
11758
|
*
|
|
11719
11759
|
* @param request - DescribeBandwidthLimitationRequest
|
|
11720
11760
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11781,7 +11821,7 @@ export default class Client extends OpenApi {
|
|
|
11781
11821
|
}
|
|
11782
11822
|
|
|
11783
11823
|
/**
|
|
11784
|
-
*
|
|
11824
|
+
* Calls DescribeBandwidthLimitation to query the maximum public bandwidth that can be purchased, upgraded, or downgraded for different instance types.
|
|
11785
11825
|
*
|
|
11786
11826
|
* @param request - DescribeBandwidthLimitationRequest
|
|
11787
11827
|
* @returns DescribeBandwidthLimitationResponse
|
|
@@ -13317,23 +13357,22 @@ export default class Client extends OpenApi {
|
|
|
13317
13357
|
}
|
|
13318
13358
|
|
|
13319
13359
|
/**
|
|
13320
|
-
* Queries the
|
|
13360
|
+
* 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).
|
|
13321
13361
|
*
|
|
13322
13362
|
* @remarks
|
|
13323
|
-
*
|
|
13324
|
-
* -
|
|
13325
|
-
*
|
|
13326
|
-
*
|
|
13327
|
-
* -
|
|
13328
|
-
*
|
|
13329
|
-
*
|
|
13330
|
-
* 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:
|
|
13363
|
+
* When you call this operation, take note of the following limits:
|
|
13364
|
+
* - 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).
|
|
13365
|
+
* > 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.
|
|
13366
|
+
* - 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.
|
|
13367
|
+
* - 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.
|
|
13368
|
+
* ## Request example
|
|
13369
|
+
* 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:
|
|
13331
13370
|
* ```
|
|
13332
|
-
* RegionId:"cn-hangzhou", // Set the
|
|
13333
|
-
* DiskId:"d-bp14emm68wx98vjk****", //
|
|
13334
|
-
* StartTime:"2025-02-15T00:00:00Z", //
|
|
13335
|
-
* EndTime:"2025-02-17T00:00:00Z", //
|
|
13336
|
-
* Period:"600", //
|
|
13371
|
+
* RegionId:"cn-hangzhou", // Set the China (Hangzhou) region
|
|
13372
|
+
* DiskId:"d-bp14emm68wx98vjk****", // Set the disk ID
|
|
13373
|
+
* StartTime:"2025-02-15T00:00:00Z", // Set the query start time
|
|
13374
|
+
* EndTime:"2025-02-17T00:00:00Z", // Set the query end time
|
|
13375
|
+
* Period:"600", // Set the data granularity
|
|
13337
13376
|
* ```
|
|
13338
13377
|
*
|
|
13339
13378
|
* @param request - DescribeDiskMonitorDataRequest
|
|
@@ -13393,23 +13432,22 @@ export default class Client extends OpenApi {
|
|
|
13393
13432
|
}
|
|
13394
13433
|
|
|
13395
13434
|
/**
|
|
13396
|
-
* Queries the
|
|
13435
|
+
* 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).
|
|
13397
13436
|
*
|
|
13398
13437
|
* @remarks
|
|
13399
|
-
*
|
|
13400
|
-
* -
|
|
13401
|
-
*
|
|
13402
|
-
*
|
|
13403
|
-
* -
|
|
13404
|
-
*
|
|
13405
|
-
*
|
|
13406
|
-
* 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:
|
|
13438
|
+
* When you call this operation, take note of the following limits:
|
|
13439
|
+
* - 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).
|
|
13440
|
+
* > 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.
|
|
13441
|
+
* - 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.
|
|
13442
|
+
* - 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.
|
|
13443
|
+
* ## Request example
|
|
13444
|
+
* 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:
|
|
13407
13445
|
* ```
|
|
13408
|
-
* RegionId:"cn-hangzhou", // Set the
|
|
13409
|
-
* DiskId:"d-bp14emm68wx98vjk****", //
|
|
13410
|
-
* StartTime:"2025-02-15T00:00:00Z", //
|
|
13411
|
-
* EndTime:"2025-02-17T00:00:00Z", //
|
|
13412
|
-
* Period:"600", //
|
|
13446
|
+
* RegionId:"cn-hangzhou", // Set the China (Hangzhou) region
|
|
13447
|
+
* DiskId:"d-bp14emm68wx98vjk****", // Set the disk ID
|
|
13448
|
+
* StartTime:"2025-02-15T00:00:00Z", // Set the query start time
|
|
13449
|
+
* EndTime:"2025-02-17T00:00:00Z", // Set the query end time
|
|
13450
|
+
* Period:"600", // Set the data granularity
|
|
13413
13451
|
* ```
|
|
13414
13452
|
*
|
|
13415
13453
|
* @param request - DescribeDiskMonitorDataRequest
|
|
@@ -13421,14 +13459,14 @@ export default class Client extends OpenApi {
|
|
|
13421
13459
|
}
|
|
13422
13460
|
|
|
13423
13461
|
/**
|
|
13424
|
-
*
|
|
13462
|
+
* Queries information about one or more created block storage devices, including disks, local disks, and elastic ephemeral disks.
|
|
13425
13463
|
*
|
|
13426
13464
|
* @remarks
|
|
13427
|
-
* -
|
|
13428
|
-
* - The
|
|
13429
|
-
* -
|
|
13430
|
-
* -
|
|
13431
|
-
* When you call
|
|
13465
|
+
* - The request parameters RegionId, ZoneId, DiskIds, and InstanceId are filters. The logical relationship among these parameters is AND.
|
|
13466
|
+
* - 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.
|
|
13467
|
+
* - 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.
|
|
13468
|
+
* - 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.
|
|
13469
|
+
* 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).
|
|
13432
13470
|
*
|
|
13433
13471
|
* @param request - DescribeDisksRequest
|
|
13434
13472
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13591,14 +13629,14 @@ export default class Client extends OpenApi {
|
|
|
13591
13629
|
}
|
|
13592
13630
|
|
|
13593
13631
|
/**
|
|
13594
|
-
*
|
|
13632
|
+
* Queries information about one or more created block storage devices, including disks, local disks, and elastic ephemeral disks.
|
|
13595
13633
|
*
|
|
13596
13634
|
* @remarks
|
|
13597
|
-
* -
|
|
13598
|
-
* - The
|
|
13599
|
-
* -
|
|
13600
|
-
* -
|
|
13601
|
-
* When you call
|
|
13635
|
+
* - The request parameters RegionId, ZoneId, DiskIds, and InstanceId are filters. The logical relationship among these parameters is AND.
|
|
13636
|
+
* - 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.
|
|
13637
|
+
* - 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.
|
|
13638
|
+
* - 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.
|
|
13639
|
+
* 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).
|
|
13602
13640
|
*
|
|
13603
13641
|
* @param request - DescribeDisksRequest
|
|
13604
13642
|
* @returns DescribeDisksResponse
|
|
@@ -14389,7 +14427,7 @@ export default class Client extends OpenApi {
|
|
|
14389
14427
|
}
|
|
14390
14428
|
|
|
14391
14429
|
/**
|
|
14392
|
-
*
|
|
14430
|
+
* 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.
|
|
14393
14431
|
*
|
|
14394
14432
|
* @param request - DescribeHpcClustersRequest
|
|
14395
14433
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14456,7 +14494,7 @@ export default class Client extends OpenApi {
|
|
|
14456
14494
|
}
|
|
14457
14495
|
|
|
14458
14496
|
/**
|
|
14459
|
-
*
|
|
14497
|
+
* 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.
|
|
14460
14498
|
*
|
|
14461
14499
|
* @param request - DescribeHpcClustersRequest
|
|
14462
14500
|
* @returns DescribeHpcClustersResponse
|
|
@@ -14470,7 +14508,7 @@ export default class Client extends OpenApi {
|
|
|
14470
14508
|
* Queries the details of one or more image components.
|
|
14471
14509
|
*
|
|
14472
14510
|
* @remarks
|
|
14473
|
-
* You can
|
|
14511
|
+
* 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.
|
|
14474
14512
|
*
|
|
14475
14513
|
* @param request - DescribeImageComponentsRequest
|
|
14476
14514
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14568,7 +14606,7 @@ export default class Client extends OpenApi {
|
|
|
14568
14606
|
* Queries the details of one or more image components.
|
|
14569
14607
|
*
|
|
14570
14608
|
* @remarks
|
|
14571
|
-
* You can
|
|
14609
|
+
* 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.
|
|
14572
14610
|
*
|
|
14573
14611
|
* @param request - DescribeImageComponentsRequest
|
|
14574
14612
|
* @returns DescribeImageComponentsResponse
|
|
@@ -14843,7 +14881,7 @@ export default class Client extends OpenApi {
|
|
|
14843
14881
|
}
|
|
14844
14882
|
|
|
14845
14883
|
/**
|
|
14846
|
-
* Queries
|
|
14884
|
+
* Queries all users with whom a custom image is shared. The returned results support pagination, with 10 entries per page by default.
|
|
14847
14885
|
*
|
|
14848
14886
|
* @param request - DescribeImageSharePermissionRequest
|
|
14849
14887
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14902,7 +14940,7 @@ export default class Client extends OpenApi {
|
|
|
14902
14940
|
}
|
|
14903
14941
|
|
|
14904
14942
|
/**
|
|
14905
|
-
* Queries
|
|
14943
|
+
* Queries all users with whom a custom image is shared. The returned results support pagination, with 10 entries per page by default.
|
|
14906
14944
|
*
|
|
14907
14945
|
* @param request - DescribeImageSharePermissionRequest
|
|
14908
14946
|
* @returns DescribeImageSharePermissionResponse
|
|
@@ -14913,7 +14951,7 @@ export default class Client extends OpenApi {
|
|
|
14913
14951
|
}
|
|
14914
14952
|
|
|
14915
14953
|
/**
|
|
14916
|
-
* Queries the
|
|
14954
|
+
* Queries the instance types supported by a specified image.
|
|
14917
14955
|
*
|
|
14918
14956
|
* @param request - DescribeImageSupportInstanceTypesRequest
|
|
14919
14957
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14968,7 +15006,7 @@ export default class Client extends OpenApi {
|
|
|
14968
15006
|
}
|
|
14969
15007
|
|
|
14970
15008
|
/**
|
|
14971
|
-
* Queries the
|
|
15009
|
+
* Queries the instance types supported by a specified image.
|
|
14972
15010
|
*
|
|
14973
15011
|
* @param request - DescribeImageSupportInstanceTypesRequest
|
|
14974
15012
|
* @returns DescribeImageSupportInstanceTypesResponse
|
|
@@ -15969,6 +16007,8 @@ export default class Client extends OpenApi {
|
|
|
15969
16007
|
}
|
|
15970
16008
|
|
|
15971
16009
|
/**
|
|
16010
|
+
* 实例拓扑查询接口
|
|
16011
|
+
*
|
|
15972
16012
|
* @param request - DescribeInstanceTopologyRequest
|
|
15973
16013
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
15974
16014
|
* @returns DescribeInstanceTopologyResponse
|
|
@@ -16014,6 +16054,8 @@ export default class Client extends OpenApi {
|
|
|
16014
16054
|
}
|
|
16015
16055
|
|
|
16016
16056
|
/**
|
|
16057
|
+
* 实例拓扑查询接口
|
|
16058
|
+
*
|
|
16017
16059
|
* @param request - DescribeInstanceTopologyRequest
|
|
16018
16060
|
* @returns DescribeInstanceTopologyResponse
|
|
16019
16061
|
*/
|
|
@@ -16085,17 +16127,18 @@ export default class Client extends OpenApi {
|
|
|
16085
16127
|
}
|
|
16086
16128
|
|
|
16087
16129
|
/**
|
|
16088
|
-
*
|
|
16130
|
+
* 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.
|
|
16089
16131
|
*
|
|
16090
16132
|
* @remarks
|
|
16091
|
-
* - **
|
|
16092
|
-
* -
|
|
16093
|
-
* >
|
|
16094
|
-
* -
|
|
16133
|
+
* - **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.
|
|
16134
|
+
* - 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.
|
|
16135
|
+
* > 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.
|
|
16136
|
+
* - 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).
|
|
16095
16137
|
* <props="china">
|
|
16096
|
-
* - If you require
|
|
16138
|
+
* - 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).
|
|
16139
|
+
*
|
|
16097
16140
|
* <props="intl">
|
|
16098
|
-
* - If you require
|
|
16141
|
+
* - 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).
|
|
16099
16142
|
*
|
|
16100
16143
|
* @param request - DescribeInstanceTypesRequest
|
|
16101
16144
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16314,17 +16357,18 @@ export default class Client extends OpenApi {
|
|
|
16314
16357
|
}
|
|
16315
16358
|
|
|
16316
16359
|
/**
|
|
16317
|
-
*
|
|
16360
|
+
* 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.
|
|
16318
16361
|
*
|
|
16319
16362
|
* @remarks
|
|
16320
|
-
* - **
|
|
16321
|
-
* -
|
|
16322
|
-
* >
|
|
16323
|
-
* -
|
|
16363
|
+
* - **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.
|
|
16364
|
+
* - 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.
|
|
16365
|
+
* > 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.
|
|
16366
|
+
* - 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).
|
|
16324
16367
|
* <props="china">
|
|
16325
|
-
* - If you require
|
|
16368
|
+
* - 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).
|
|
16369
|
+
*
|
|
16326
16370
|
* <props="intl">
|
|
16327
|
-
* - If you require
|
|
16371
|
+
* - 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).
|
|
16328
16372
|
*
|
|
16329
16373
|
* @param request - DescribeInstanceTypesRequest
|
|
16330
16374
|
* @returns DescribeInstanceTypesResponse
|
|
@@ -16335,21 +16379,21 @@ export default class Client extends OpenApi {
|
|
|
16335
16379
|
}
|
|
16336
16380
|
|
|
16337
16381
|
/**
|
|
16338
|
-
* Queries the
|
|
16382
|
+
* Queries the VNC logon URL of an ECS instance.
|
|
16339
16383
|
*
|
|
16340
16384
|
* @remarks
|
|
16341
|
-
* -
|
|
16342
|
-
* > To construct
|
|
16343
|
-
*
|
|
16344
|
-
*
|
|
16345
|
-
*
|
|
16346
|
-
* -
|
|
16347
|
-
* - The
|
|
16348
|
-
* - If the connection is interrupted,
|
|
16349
|
-
*
|
|
16385
|
+
* - The API returns a VNC logon URL (VncUrl) that cannot be used directly. You can access the instance through the **management terminal URL**.
|
|
16386
|
+
* > 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:
|
|
16387
|
+
* >- `vncUrl`: the VNC logon URL.
|
|
16388
|
+
* >- `instanceId`: the instance ID.
|
|
16389
|
+
* >- `isWindows`: specifies whether the operating system of the instance is Windows. A value of `true` indicates Windows. A value of `false` indicates non-Windows.
|
|
16390
|
+
* >- Password-free VNC connections are supported. You do not need to set the `password` parameter.
|
|
16391
|
+
* - The KeepAlive time of a single management terminal URL is 300 seconds. If no interaction occurs within 300 seconds, the connection is automatically closed.
|
|
16392
|
+
* - 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.
|
|
16393
|
+
* Example management terminal URL:
|
|
16350
16394
|
* ```
|
|
16351
16395
|
* https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
|
|
16352
|
-
*
|
|
16396
|
+
* ```.
|
|
16353
16397
|
*
|
|
16354
16398
|
* @param request - DescribeInstanceVncUrlRequest
|
|
16355
16399
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16400,21 +16444,21 @@ export default class Client extends OpenApi {
|
|
|
16400
16444
|
}
|
|
16401
16445
|
|
|
16402
16446
|
/**
|
|
16403
|
-
* Queries the
|
|
16447
|
+
* Queries the VNC logon URL of an ECS instance.
|
|
16404
16448
|
*
|
|
16405
16449
|
* @remarks
|
|
16406
|
-
* -
|
|
16407
|
-
* > To construct
|
|
16408
|
-
*
|
|
16409
|
-
*
|
|
16410
|
-
*
|
|
16411
|
-
* -
|
|
16412
|
-
* - The
|
|
16413
|
-
* - If the connection is interrupted,
|
|
16414
|
-
*
|
|
16450
|
+
* - The API returns a VNC logon URL (VncUrl) that cannot be used directly. You can access the instance through the **management terminal URL**.
|
|
16451
|
+
* > 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:
|
|
16452
|
+
* >- `vncUrl`: the VNC logon URL.
|
|
16453
|
+
* >- `instanceId`: the instance ID.
|
|
16454
|
+
* >- `isWindows`: specifies whether the operating system of the instance is Windows. A value of `true` indicates Windows. A value of `false` indicates non-Windows.
|
|
16455
|
+
* >- Password-free VNC connections are supported. You do not need to set the `password` parameter.
|
|
16456
|
+
* - The KeepAlive time of a single management terminal URL is 300 seconds. If no interaction occurs within 300 seconds, the connection is automatically closed.
|
|
16457
|
+
* - 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.
|
|
16458
|
+
* Example management terminal URL:
|
|
16415
16459
|
* ```
|
|
16416
16460
|
* https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=i-wz9hhwq5a6tm****&isWindows=true
|
|
16417
|
-
*
|
|
16461
|
+
* ```.
|
|
16418
16462
|
*
|
|
16419
16463
|
* @param request - DescribeInstanceVncUrlRequest
|
|
16420
16464
|
* @returns DescribeInstanceVncUrlResponse
|
|
@@ -17227,7 +17271,7 @@ export default class Client extends OpenApi {
|
|
|
17227
17271
|
}
|
|
17228
17272
|
|
|
17229
17273
|
/**
|
|
17230
|
-
*
|
|
17274
|
+
* 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.
|
|
17231
17275
|
*
|
|
17232
17276
|
* @param request - DescribeLaunchTemplatesRequest
|
|
17233
17277
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17298,7 +17342,7 @@ export default class Client extends OpenApi {
|
|
|
17298
17342
|
}
|
|
17299
17343
|
|
|
17300
17344
|
/**
|
|
17301
|
-
*
|
|
17345
|
+
* 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.
|
|
17302
17346
|
*
|
|
17303
17347
|
* @param request - DescribeLaunchTemplatesRequest
|
|
17304
17348
|
* @returns DescribeLaunchTemplatesResponse
|
|
@@ -17723,7 +17767,7 @@ export default class Client extends OpenApi {
|
|
|
17723
17767
|
}
|
|
17724
17768
|
|
|
17725
17769
|
/**
|
|
17726
|
-
*
|
|
17770
|
+
* Queries the list of Elastic Network Interface (ENI) permissions that you have granted to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
17727
17771
|
*
|
|
17728
17772
|
* @param request - DescribeNetworkInterfacePermissionsRequest
|
|
17729
17773
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17790,7 +17834,7 @@ export default class Client extends OpenApi {
|
|
|
17790
17834
|
}
|
|
17791
17835
|
|
|
17792
17836
|
/**
|
|
17793
|
-
*
|
|
17837
|
+
* Queries the list of Elastic Network Interface (ENI) permissions that you have granted to an Alibaba Cloud partner (certified ISV) or an individual user.
|
|
17794
17838
|
*
|
|
17795
17839
|
* @param request - DescribeNetworkInterfacePermissionsRequest
|
|
17796
17840
|
* @returns DescribeNetworkInterfacePermissionsResponse
|
|
@@ -17951,7 +17995,7 @@ export default class Client extends OpenApi {
|
|
|
17951
17995
|
}
|
|
17952
17996
|
|
|
17953
17997
|
/**
|
|
17954
|
-
*
|
|
17998
|
+
* Queries the monitoring data of an Elastic IP Address (EIP) associated with a new project.
|
|
17955
17999
|
*
|
|
17956
18000
|
* @deprecated OpenAPI DescribeNewProjectEipMonitorData is deprecated, please use Vpc::2016-04-28::DescribeEipMonitorData instead.
|
|
17957
18001
|
*
|
|
@@ -18016,7 +18060,7 @@ export default class Client extends OpenApi {
|
|
|
18016
18060
|
}
|
|
18017
18061
|
|
|
18018
18062
|
/**
|
|
18019
|
-
*
|
|
18063
|
+
* Queries the monitoring data of an Elastic IP Address (EIP) associated with a new project.
|
|
18020
18064
|
*
|
|
18021
18065
|
* @deprecated OpenAPI DescribeNewProjectEipMonitorData is deprecated, please use Vpc::2016-04-28::DescribeEipMonitorData instead.
|
|
18022
18066
|
*
|
|
@@ -18030,7 +18074,7 @@ export default class Client extends OpenApi {
|
|
|
18030
18074
|
}
|
|
18031
18075
|
|
|
18032
18076
|
/**
|
|
18033
|
-
*
|
|
18077
|
+
* Queries physical connections.
|
|
18034
18078
|
*
|
|
18035
18079
|
* @deprecated OpenAPI DescribePhysicalConnections is deprecated, please use Vpc::2016-04-28::DescribePhysicalConnections instead.
|
|
18036
18080
|
*
|
|
@@ -18099,7 +18143,7 @@ export default class Client extends OpenApi {
|
|
|
18099
18143
|
}
|
|
18100
18144
|
|
|
18101
18145
|
/**
|
|
18102
|
-
*
|
|
18146
|
+
* Queries physical connections.
|
|
18103
18147
|
*
|
|
18104
18148
|
* @deprecated OpenAPI DescribePhysicalConnections is deprecated, please use Vpc::2016-04-28::DescribePhysicalConnections instead.
|
|
18105
18149
|
*
|
|
@@ -18113,12 +18157,12 @@ export default class Client extends OpenApi {
|
|
|
18113
18157
|
}
|
|
18114
18158
|
|
|
18115
18159
|
/**
|
|
18116
|
-
*
|
|
18160
|
+
* Queries O&M windows.
|
|
18117
18161
|
*
|
|
18118
18162
|
* @remarks
|
|
18119
|
-
*
|
|
18120
|
-
* - Maintenance window: A
|
|
18121
|
-
* - Maintenance action:
|
|
18163
|
+
* Queries the configured maintenance policies. Each policy contains two maintenance attributes:
|
|
18164
|
+
* - Maintenance time window: A time period you specify during which O&M operations are performed.
|
|
18165
|
+
* - Maintenance action: The instance downtime handling policy you specify.
|
|
18122
18166
|
*
|
|
18123
18167
|
* @param tmpReq - DescribePlanMaintenanceWindowsRequest
|
|
18124
18168
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18183,12 +18227,12 @@ export default class Client extends OpenApi {
|
|
|
18183
18227
|
}
|
|
18184
18228
|
|
|
18185
18229
|
/**
|
|
18186
|
-
*
|
|
18230
|
+
* Queries O&M windows.
|
|
18187
18231
|
*
|
|
18188
18232
|
* @remarks
|
|
18189
|
-
*
|
|
18190
|
-
* - Maintenance window: A
|
|
18191
|
-
* - Maintenance action:
|
|
18233
|
+
* Queries the configured maintenance policies. Each policy contains two maintenance attributes:
|
|
18234
|
+
* - Maintenance time window: A time period you specify during which O&M operations are performed.
|
|
18235
|
+
* - Maintenance action: The instance downtime handling policy you specify.
|
|
18192
18236
|
*
|
|
18193
18237
|
* @param request - DescribePlanMaintenanceWindowsRequest
|
|
18194
18238
|
* @returns DescribePlanMaintenanceWindowsResponse
|
|
@@ -19035,13 +19079,13 @@ export default class Client extends OpenApi {
|
|
|
19035
19079
|
}
|
|
19036
19080
|
|
|
19037
19081
|
/**
|
|
19038
|
-
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only
|
|
19082
|
+
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only subscription resources are supported.
|
|
19039
19083
|
*
|
|
19040
19084
|
* @remarks
|
|
19041
|
-
* - Only
|
|
19042
|
-
* -
|
|
19043
|
-
*
|
|
19044
|
-
*
|
|
19085
|
+
* - Only the price for renewing a subscription ECS instance for a specified duration or renewing it to a unified expiration date is supported.
|
|
19086
|
+
* - Note the following when you set the parameters:
|
|
19087
|
+
* - If you set only the required parameters, the price for renewing the instance for one month is returned by default.
|
|
19088
|
+
* - 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.
|
|
19045
19089
|
*
|
|
19046
19090
|
* @param request - DescribeRenewalPriceRequest
|
|
19047
19091
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19108,13 +19152,13 @@ export default class Client extends OpenApi {
|
|
|
19108
19152
|
}
|
|
19109
19153
|
|
|
19110
19154
|
/**
|
|
19111
|
-
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only
|
|
19155
|
+
* Queries the renewal price of Elastic Compute Service (ECS) resources. Only subscription resources are supported.
|
|
19112
19156
|
*
|
|
19113
19157
|
* @remarks
|
|
19114
|
-
* - Only
|
|
19115
|
-
* -
|
|
19116
|
-
*
|
|
19117
|
-
*
|
|
19158
|
+
* - Only the price for renewing a subscription ECS instance for a specified duration or renewing it to a unified expiration date is supported.
|
|
19159
|
+
* - Note the following when you set the parameters:
|
|
19160
|
+
* - If you set only the required parameters, the price for renewing the instance for one month is returned by default.
|
|
19161
|
+
* - 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.
|
|
19118
19162
|
*
|
|
19119
19163
|
* @param request - DescribeRenewalPriceRequest
|
|
19120
19164
|
* @returns DescribeRenewalPriceResponse
|
|
@@ -19978,10 +20022,10 @@ export default class Client extends OpenApi {
|
|
|
19978
20022
|
}
|
|
19979
20023
|
|
|
19980
20024
|
/**
|
|
19981
|
-
* Queries the security groups
|
|
20025
|
+
* Queries the list of other security groups that have been authorized by one or more specified security groups.
|
|
19982
20026
|
*
|
|
19983
20027
|
* @remarks
|
|
19984
|
-
* -
|
|
20028
|
+
* - 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.
|
|
19985
20029
|
*
|
|
19986
20030
|
* @param request - DescribeSecurityGroupReferencesRequest
|
|
19987
20031
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20032,10 +20076,10 @@ export default class Client extends OpenApi {
|
|
|
20032
20076
|
}
|
|
20033
20077
|
|
|
20034
20078
|
/**
|
|
20035
|
-
* Queries the security groups
|
|
20079
|
+
* Queries the list of other security groups that have been authorized by one or more specified security groups.
|
|
20036
20080
|
*
|
|
20037
20081
|
* @remarks
|
|
20038
|
-
* -
|
|
20082
|
+
* - 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.
|
|
20039
20083
|
*
|
|
20040
20084
|
* @param request - DescribeSecurityGroupReferencesRequest
|
|
20041
20085
|
* @returns DescribeSecurityGroupReferencesResponse
|
|
@@ -20046,14 +20090,14 @@ export default class Client extends OpenApi {
|
|
|
20046
20090
|
}
|
|
20047
20091
|
|
|
20048
20092
|
/**
|
|
20049
|
-
*
|
|
20093
|
+
* 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.
|
|
20050
20094
|
*
|
|
20051
20095
|
* @remarks
|
|
20052
|
-
* - **Paged
|
|
20053
|
-
* -
|
|
20054
|
-
* -
|
|
20055
|
-
* - When
|
|
20056
|
-
* - When
|
|
20096
|
+
* - **Paged queries**: We recommend that you use the `MaxResults` and `NextToken` parameters for queries.
|
|
20097
|
+
* - When the response does not contain `NextToken`, the current page is the last page and no more pages are available.
|
|
20098
|
+
* - 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.
|
|
20099
|
+
* - 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.
|
|
20100
|
+
* - 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).
|
|
20057
20101
|
*
|
|
20058
20102
|
* @param request - DescribeSecurityGroupsRequest
|
|
20059
20103
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20164,14 +20208,14 @@ export default class Client extends OpenApi {
|
|
|
20164
20208
|
}
|
|
20165
20209
|
|
|
20166
20210
|
/**
|
|
20167
|
-
*
|
|
20211
|
+
* 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.
|
|
20168
20212
|
*
|
|
20169
20213
|
* @remarks
|
|
20170
|
-
* - **Paged
|
|
20171
|
-
* -
|
|
20172
|
-
* -
|
|
20173
|
-
* - When
|
|
20174
|
-
* - When
|
|
20214
|
+
* - **Paged queries**: We recommend that you use the `MaxResults` and `NextToken` parameters for queries.
|
|
20215
|
+
* - When the response does not contain `NextToken`, the current page is the last page and no more pages are available.
|
|
20216
|
+
* - 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.
|
|
20217
|
+
* - 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.
|
|
20218
|
+
* - 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).
|
|
20175
20219
|
*
|
|
20176
20220
|
* @param request - DescribeSecurityGroupsRequest
|
|
20177
20221
|
* @returns DescribeSecurityGroupsResponse
|
|
@@ -20396,13 +20440,13 @@ export default class Client extends OpenApi {
|
|
|
20396
20440
|
}
|
|
20397
20441
|
|
|
20398
20442
|
/**
|
|
20399
|
-
* Queries
|
|
20443
|
+
* Queries snapshot chains of disks. A snapshot chain consists of all snapshots of a disk. Each disk corresponds to one snapshot chain.
|
|
20400
20444
|
*
|
|
20401
20445
|
* @remarks
|
|
20402
|
-
* ##
|
|
20403
|
-
*
|
|
20404
|
-
* -
|
|
20405
|
-
* -
|
|
20446
|
+
* ## Operation description
|
|
20447
|
+
* When you call this operation, take note of the following items:
|
|
20448
|
+
* - The request parameters such as `RegionId`, `DiskIds`, and `InstanceId` act as filters. Logical AND is used between these parameters.
|
|
20449
|
+
* - 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.
|
|
20406
20450
|
*
|
|
20407
20451
|
* @param request - DescribeSnapshotLinksRequest
|
|
20408
20452
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20477,13 +20521,13 @@ export default class Client extends OpenApi {
|
|
|
20477
20521
|
}
|
|
20478
20522
|
|
|
20479
20523
|
/**
|
|
20480
|
-
* Queries
|
|
20524
|
+
* Queries snapshot chains of disks. A snapshot chain consists of all snapshots of a disk. Each disk corresponds to one snapshot chain.
|
|
20481
20525
|
*
|
|
20482
20526
|
* @remarks
|
|
20483
|
-
* ##
|
|
20484
|
-
*
|
|
20485
|
-
* -
|
|
20486
|
-
* -
|
|
20527
|
+
* ## Operation description
|
|
20528
|
+
* When you call this operation, take note of the following items:
|
|
20529
|
+
* - The request parameters such as `RegionId`, `DiskIds`, and `InstanceId` act as filters. Logical AND is used between these parameters.
|
|
20530
|
+
* - 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.
|
|
20487
20531
|
*
|
|
20488
20532
|
* @param request - DescribeSnapshotLinksRequest
|
|
20489
20533
|
* @returns DescribeSnapshotLinksResponse
|
|
@@ -21412,10 +21456,10 @@ export default class Client extends OpenApi {
|
|
|
21412
21456
|
}
|
|
21413
21457
|
|
|
21414
21458
|
/**
|
|
21415
|
-
* You can query for tags
|
|
21459
|
+
* 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.
|
|
21416
21460
|
*
|
|
21417
21461
|
* @remarks
|
|
21418
|
-
*
|
|
21462
|
+
* 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.
|
|
21419
21463
|
*
|
|
21420
21464
|
* @deprecated OpenAPI DescribeTags is deprecated, please use Tag::2018-08-28::CountResourcesByTags instead.
|
|
21421
21465
|
*
|
|
@@ -21484,10 +21528,10 @@ export default class Client extends OpenApi {
|
|
|
21484
21528
|
}
|
|
21485
21529
|
|
|
21486
21530
|
/**
|
|
21487
|
-
* You can query for tags
|
|
21531
|
+
* 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.
|
|
21488
21532
|
*
|
|
21489
21533
|
* @remarks
|
|
21490
|
-
*
|
|
21534
|
+
* 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.
|
|
21491
21535
|
*
|
|
21492
21536
|
* @deprecated OpenAPI DescribeTags is deprecated, please use Tag::2018-08-28::CountResourcesByTags instead.
|
|
21493
21537
|
*
|
|
@@ -21501,7 +21545,7 @@ export default class Client extends OpenApi {
|
|
|
21501
21545
|
}
|
|
21502
21546
|
|
|
21503
21547
|
/**
|
|
21504
|
-
* Queries the details of an asynchronous task.
|
|
21548
|
+
* Queries the details of an asynchronous task. Currently, the asynchronous tasks that can be queried include ImportImage, ExportImage, and ModifyDiskSpec.
|
|
21505
21549
|
*
|
|
21506
21550
|
* @param request - DescribeTaskAttributeRequest
|
|
21507
21551
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21548,7 +21592,7 @@ export default class Client extends OpenApi {
|
|
|
21548
21592
|
}
|
|
21549
21593
|
|
|
21550
21594
|
/**
|
|
21551
|
-
* Queries the details of an asynchronous task.
|
|
21595
|
+
* Queries the details of an asynchronous task. Currently, the asynchronous tasks that can be queried include ImportImage, ExportImage, and ModifyDiskSpec.
|
|
21552
21596
|
*
|
|
21553
21597
|
* @param request - DescribeTaskAttributeRequest
|
|
21554
21598
|
* @returns DescribeTaskAttributeResponse
|
|
@@ -22097,7 +22141,7 @@ export default class Client extends OpenApi {
|
|
|
22097
22141
|
}
|
|
22098
22142
|
|
|
22099
22143
|
/**
|
|
22100
|
-
* DescribeVirtualBorderRoutersForPhysicalConnection
|
|
22144
|
+
* DescribeVirtualBorderRoutersForPhysicalConnection.
|
|
22101
22145
|
*
|
|
22102
22146
|
* @deprecated OpenAPI DescribeVirtualBorderRoutersForPhysicalConnection is deprecated, please use Vpc::2016-04-28::DescribeVirtualBorderRoutersForPhysicalConnection instead.
|
|
22103
22147
|
*
|
|
@@ -22158,7 +22202,7 @@ export default class Client extends OpenApi {
|
|
|
22158
22202
|
}
|
|
22159
22203
|
|
|
22160
22204
|
/**
|
|
22161
|
-
* DescribeVirtualBorderRoutersForPhysicalConnection
|
|
22205
|
+
* DescribeVirtualBorderRoutersForPhysicalConnection.
|
|
22162
22206
|
*
|
|
22163
22207
|
* @deprecated OpenAPI DescribeVirtualBorderRoutersForPhysicalConnection is deprecated, please use Vpc::2016-04-28::DescribeVirtualBorderRoutersForPhysicalConnection instead.
|
|
22164
22208
|
*
|
|
@@ -22627,12 +22671,12 @@ export default class Client extends OpenApi {
|
|
|
22627
22671
|
}
|
|
22628
22672
|
|
|
22629
22673
|
/**
|
|
22630
|
-
* Unbinds
|
|
22674
|
+
* Unbinds SSH key pairs from one or more Linux instances.
|
|
22631
22675
|
*
|
|
22632
22676
|
* @remarks
|
|
22633
|
-
*
|
|
22634
|
-
* -
|
|
22635
|
-
* -
|
|
22677
|
+
* Take note of the following items when you call this operation:
|
|
22678
|
+
* - 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.
|
|
22679
|
+
* - After you unbind an SSH key pair, the instance uses the username and password authentication method by default.
|
|
22636
22680
|
*
|
|
22637
22681
|
* @param request - DetachKeyPairRequest
|
|
22638
22682
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22683,12 +22727,12 @@ export default class Client extends OpenApi {
|
|
|
22683
22727
|
}
|
|
22684
22728
|
|
|
22685
22729
|
/**
|
|
22686
|
-
* Unbinds
|
|
22730
|
+
* Unbinds SSH key pairs from one or more Linux instances.
|
|
22687
22731
|
*
|
|
22688
22732
|
* @remarks
|
|
22689
|
-
*
|
|
22690
|
-
* -
|
|
22691
|
-
* -
|
|
22733
|
+
* Take note of the following items when you call this operation:
|
|
22734
|
+
* - 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.
|
|
22735
|
+
* - After you unbind an SSH key pair, the instance uses the username and password authentication method by default.
|
|
22692
22736
|
*
|
|
22693
22737
|
* @param request - DetachKeyPairRequest
|
|
22694
22738
|
* @returns DetachKeyPairResponse
|
|
@@ -23155,7 +23199,7 @@ export default class Client extends OpenApi {
|
|
|
23155
23199
|
}
|
|
23156
23200
|
|
|
23157
23201
|
/**
|
|
23158
|
-
*
|
|
23202
|
+
* Enables a physical connection.
|
|
23159
23203
|
*
|
|
23160
23204
|
* @deprecated OpenAPI EnablePhysicalConnection is deprecated, please use Vpc::2016-04-28::EnablePhysicalConnection instead.
|
|
23161
23205
|
*
|
|
@@ -23216,7 +23260,7 @@ export default class Client extends OpenApi {
|
|
|
23216
23260
|
}
|
|
23217
23261
|
|
|
23218
23262
|
/**
|
|
23219
|
-
*
|
|
23263
|
+
* Enables a physical connection.
|
|
23220
23264
|
*
|
|
23221
23265
|
* @deprecated OpenAPI EnablePhysicalConnection is deprecated, please use Vpc::2016-04-28::EnablePhysicalConnection instead.
|
|
23222
23266
|
*
|
|
@@ -23230,11 +23274,11 @@ export default class Client extends OpenApi {
|
|
|
23230
23274
|
}
|
|
23231
23275
|
|
|
23232
23276
|
/**
|
|
23233
|
-
* Permanently closes a session.
|
|
23277
|
+
* Permanently closes the data connection of a specified session.
|
|
23234
23278
|
*
|
|
23235
23279
|
* @remarks
|
|
23236
|
-
* -
|
|
23237
|
-
* - The WebSocket URL
|
|
23280
|
+
* - Closes the data connection of a specified session. The session can no longer be used.
|
|
23281
|
+
* - The WebSocket URL associated with the session also becomes invalid and can no longer be used.
|
|
23238
23282
|
*
|
|
23239
23283
|
* @param request - EndTerminalSessionRequest
|
|
23240
23284
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23285,11 +23329,11 @@ export default class Client extends OpenApi {
|
|
|
23285
23329
|
}
|
|
23286
23330
|
|
|
23287
23331
|
/**
|
|
23288
|
-
* Permanently closes a session.
|
|
23332
|
+
* Permanently closes the data connection of a specified session.
|
|
23289
23333
|
*
|
|
23290
23334
|
* @remarks
|
|
23291
|
-
* -
|
|
23292
|
-
* - The WebSocket URL
|
|
23335
|
+
* - Closes the data connection of a specified session. The session can no longer be used.
|
|
23336
|
+
* - The WebSocket URL associated with the session also becomes invalid and can no longer be used.
|
|
23293
23337
|
*
|
|
23294
23338
|
* @param request - EndTerminalSessionRequest
|
|
23295
23339
|
* @returns EndTerminalSessionResponse
|
|
@@ -23539,12 +23583,12 @@ export default class Client extends OpenApi {
|
|
|
23539
23583
|
}
|
|
23540
23584
|
|
|
23541
23585
|
/**
|
|
23542
|
-
*
|
|
23586
|
+
* Retrieves the system command line output of an instance. The data is returned in Base64 encoding.
|
|
23543
23587
|
*
|
|
23544
23588
|
* @remarks
|
|
23545
|
-
* - ECS is a
|
|
23546
|
-
* -
|
|
23547
|
-
* -
|
|
23589
|
+
* - 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.
|
|
23590
|
+
* - System command line output cannot be retrieved for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
23591
|
+
* - Windows instances do not support retrieving system command line output.
|
|
23548
23592
|
*
|
|
23549
23593
|
* @param request - GetInstanceConsoleOutputRequest
|
|
23550
23594
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23603,12 +23647,12 @@ export default class Client extends OpenApi {
|
|
|
23603
23647
|
}
|
|
23604
23648
|
|
|
23605
23649
|
/**
|
|
23606
|
-
*
|
|
23650
|
+
* Retrieves the system command line output of an instance. The data is returned in Base64 encoding.
|
|
23607
23651
|
*
|
|
23608
23652
|
* @remarks
|
|
23609
|
-
* - ECS is a
|
|
23610
|
-
* -
|
|
23611
|
-
* -
|
|
23653
|
+
* - 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.
|
|
23654
|
+
* - System command line output cannot be retrieved for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
23655
|
+
* - Windows instances do not support retrieving system command line output.
|
|
23612
23656
|
*
|
|
23613
23657
|
* @param request - GetInstanceConsoleOutputRequest
|
|
23614
23658
|
* @returns GetInstanceConsoleOutputResponse
|
|
@@ -23619,13 +23663,13 @@ export default class Client extends OpenApi {
|
|
|
23619
23663
|
}
|
|
23620
23664
|
|
|
23621
23665
|
/**
|
|
23622
|
-
*
|
|
23666
|
+
* Calls GetInstanceScreenshot to obtain the screenshot information of an instance.
|
|
23623
23667
|
*
|
|
23624
23668
|
* @remarks
|
|
23625
|
-
* After ECS returns
|
|
23626
|
-
* - The instance must be in the Running state.
|
|
23627
|
-
* -
|
|
23628
|
-
* - If you call this operation
|
|
23669
|
+
* 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:
|
|
23670
|
+
* - The instance must be in the Running state.
|
|
23671
|
+
* - You cannot obtain screenshot information for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
23672
|
+
* - 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.
|
|
23629
23673
|
*
|
|
23630
23674
|
* @param request - GetInstanceScreenshotRequest
|
|
23631
23675
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23684,13 +23728,13 @@ export default class Client extends OpenApi {
|
|
|
23684
23728
|
}
|
|
23685
23729
|
|
|
23686
23730
|
/**
|
|
23687
|
-
*
|
|
23731
|
+
* Calls GetInstanceScreenshot to obtain the screenshot information of an instance.
|
|
23688
23732
|
*
|
|
23689
23733
|
* @remarks
|
|
23690
|
-
* After ECS returns
|
|
23691
|
-
* - The instance must be in the Running state.
|
|
23692
|
-
* -
|
|
23693
|
-
* - If you call this operation
|
|
23734
|
+
* 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:
|
|
23735
|
+
* - The instance must be in the Running state.
|
|
23736
|
+
* - You cannot obtain screenshot information for [retired instance types](https://help.aliyun.com/document_detail/55263.html).
|
|
23737
|
+
* - 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.
|
|
23694
23738
|
*
|
|
23695
23739
|
* @param request - GetInstanceScreenshotRequest
|
|
23696
23740
|
* @returns GetInstanceScreenshotResponse
|
|
@@ -23701,99 +23745,101 @@ export default class Client extends OpenApi {
|
|
|
23701
23745
|
}
|
|
23702
23746
|
|
|
23703
23747
|
/**
|
|
23704
|
-
*
|
|
23748
|
+
* 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).
|
|
23705
23749
|
*
|
|
23706
23750
|
* @remarks
|
|
23707
|
-
* ###
|
|
23708
|
-
* When you call this operation, note the following:
|
|
23709
|
-
* - 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).
|
|
23710
|
-
* - To
|
|
23711
|
-
* - When you import an image for the first time, you must
|
|
23712
|
-
* - **Import an image file without using
|
|
23713
|
-
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this name. Otherwise, the image import fails.
|
|
23714
|
-
*
|
|
23715
|
-
*
|
|
23716
|
-
*
|
|
23717
|
-
*
|
|
23718
|
-
*
|
|
23719
|
-
*
|
|
23720
|
-
*
|
|
23721
|
-
*
|
|
23722
|
-
*
|
|
23723
|
-
*
|
|
23724
|
-
*
|
|
23725
|
-
*
|
|
23726
|
-
*
|
|
23727
|
-
*
|
|
23728
|
-
*
|
|
23729
|
-
*
|
|
23730
|
-
* 2. Attach the `AliyunECSImageImportRolePolicy`
|
|
23731
|
-
*
|
|
23732
|
-
*
|
|
23733
|
-
*
|
|
23734
|
-
*
|
|
23735
|
-
*
|
|
23736
|
-
*
|
|
23737
|
-
*
|
|
23738
|
-
*
|
|
23739
|
-
*
|
|
23740
|
-
*
|
|
23741
|
-
*
|
|
23742
|
-
*
|
|
23743
|
-
*
|
|
23744
|
-
*
|
|
23745
|
-
*
|
|
23746
|
-
*
|
|
23747
|
-
*
|
|
23748
|
-
*
|
|
23749
|
-
*
|
|
23750
|
-
*
|
|
23751
|
-
*
|
|
23752
|
-
*
|
|
23753
|
-
*
|
|
23754
|
-
*
|
|
23755
|
-
*
|
|
23756
|
-
*
|
|
23757
|
-
*
|
|
23758
|
-
*
|
|
23759
|
-
*
|
|
23760
|
-
*
|
|
23761
|
-
*
|
|
23762
|
-
*
|
|
23763
|
-
*
|
|
23764
|
-
*
|
|
23765
|
-
*
|
|
23766
|
-
*
|
|
23767
|
-
*
|
|
23768
|
-
*
|
|
23769
|
-
*
|
|
23770
|
-
*
|
|
23771
|
-
*
|
|
23772
|
-
*
|
|
23773
|
-
*
|
|
23774
|
-
*
|
|
23775
|
-
*
|
|
23776
|
-
*
|
|
23777
|
-
*
|
|
23778
|
-
*
|
|
23779
|
-
*
|
|
23780
|
-
*
|
|
23781
|
-
*
|
|
23782
|
-
*
|
|
23783
|
-
*
|
|
23784
|
-
* -
|
|
23785
|
-
* -
|
|
23786
|
-
*
|
|
23787
|
-
*
|
|
23788
|
-
* -
|
|
23789
|
-
*
|
|
23790
|
-
*
|
|
23791
|
-
*
|
|
23792
|
-
* -
|
|
23793
|
-
*
|
|
23794
|
-
*
|
|
23795
|
-
*
|
|
23796
|
-
*
|
|
23751
|
+
* ### Operation description
|
|
23752
|
+
* When you call this operation, take note of the following items:
|
|
23753
|
+
* - 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).
|
|
23754
|
+
* - 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).
|
|
23755
|
+
* - 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:
|
|
23756
|
+
* - **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).
|
|
23757
|
+
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
23758
|
+
* ```
|
|
23759
|
+
* {
|
|
23760
|
+
* "Statement": [
|
|
23761
|
+
* {
|
|
23762
|
+
* "Action": "sts:AssumeRole",
|
|
23763
|
+
* "Effect": "Allow",
|
|
23764
|
+
* "Principal": {
|
|
23765
|
+
* "Service": [
|
|
23766
|
+
* "ecs.aliyuncs.com"
|
|
23767
|
+
* ]
|
|
23768
|
+
* }
|
|
23769
|
+
* }
|
|
23770
|
+
* ],
|
|
23771
|
+
* "Version": "1"
|
|
23772
|
+
* }
|
|
23773
|
+
* ```
|
|
23774
|
+
* 2. Attach the system policy `AliyunECSImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
23775
|
+
* ```
|
|
23776
|
+
* {
|
|
23777
|
+
* "Version": "1",
|
|
23778
|
+
* "Statement": [
|
|
23779
|
+
* {
|
|
23780
|
+
* "Action": [
|
|
23781
|
+
* "oss:GetObject",
|
|
23782
|
+
* "oss:GetBucketLocation",
|
|
23783
|
+
* "oss:GetBucketInfo"
|
|
23784
|
+
* ],
|
|
23785
|
+
* "Resource": "*",
|
|
23786
|
+
* "Effect": "Allow"
|
|
23787
|
+
* }
|
|
23788
|
+
* ]
|
|
23789
|
+
* }
|
|
23790
|
+
*
|
|
23791
|
+
* ```
|
|
23792
|
+
* - **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).
|
|
23793
|
+
* 1. Create a role named `AliyunECSCloudBoxImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
23794
|
+
* ```
|
|
23795
|
+
* {
|
|
23796
|
+
* "Statement": [
|
|
23797
|
+
* {
|
|
23798
|
+
* "Action": "sts:AssumeRole",
|
|
23799
|
+
* "Effect": "Allow",
|
|
23800
|
+
* "Principal": {
|
|
23801
|
+
* "Service": [
|
|
23802
|
+
* "ecs.aliyuncs.com"
|
|
23803
|
+
* ]
|
|
23804
|
+
* }
|
|
23805
|
+
* }
|
|
23806
|
+
* ],
|
|
23807
|
+
* "Version": "1"
|
|
23808
|
+
* }
|
|
23809
|
+
* ```
|
|
23810
|
+
* 2. Attach the system policy `AliyunECSCloudBoxImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
23811
|
+
* ```
|
|
23812
|
+
* {
|
|
23813
|
+
* "Version": "1",
|
|
23814
|
+
* "Statement": [
|
|
23815
|
+
* {
|
|
23816
|
+
* "Action": [
|
|
23817
|
+
* "oss-cloudbox:GetObject",
|
|
23818
|
+
* "oss-cloudbox:GetBucketLocation",
|
|
23819
|
+
* "oss-cloudbox:GetBucketInfo"
|
|
23820
|
+
* ],
|
|
23821
|
+
* "Resource": "*",
|
|
23822
|
+
* "Effect": "Allow"
|
|
23823
|
+
* }
|
|
23824
|
+
* ]
|
|
23825
|
+
* }
|
|
23826
|
+
*
|
|
23827
|
+
* ```
|
|
23828
|
+
* - 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.
|
|
23829
|
+
* - 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.
|
|
23830
|
+
* - 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.
|
|
23831
|
+
* - 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:
|
|
23832
|
+
* - To ensure that the imported image supports password configuration or key pair modification, the image must meet the following requirements:
|
|
23833
|
+
* - 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.
|
|
23834
|
+
* - 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).
|
|
23835
|
+
* - The operating system must support the SHA-512 encryption algorithm.
|
|
23836
|
+
* - To ensure that the imported image supports disk resizing and file system resizing, the image must meet the following requirements:
|
|
23837
|
+
* - The operating system kernel version must be later than 3.6.
|
|
23838
|
+
* - 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~~).
|
|
23839
|
+
* - 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.
|
|
23840
|
+
* - 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).
|
|
23841
|
+
* - 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).
|
|
23842
|
+
* - 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).
|
|
23797
23843
|
*
|
|
23798
23844
|
* @param request - ImportImageRequest
|
|
23799
23845
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23900,99 +23946,101 @@ export default class Client extends OpenApi {
|
|
|
23900
23946
|
}
|
|
23901
23947
|
|
|
23902
23948
|
/**
|
|
23903
|
-
*
|
|
23949
|
+
* 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).
|
|
23904
23950
|
*
|
|
23905
23951
|
* @remarks
|
|
23906
|
-
* ###
|
|
23907
|
-
* When you call this operation, note the following:
|
|
23908
|
-
* - 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).
|
|
23909
|
-
* - To
|
|
23910
|
-
* - When you import an image for the first time, you must
|
|
23911
|
-
* - **Import an image file without using
|
|
23912
|
-
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this name. Otherwise, the image import fails.
|
|
23913
|
-
*
|
|
23914
|
-
*
|
|
23915
|
-
*
|
|
23916
|
-
*
|
|
23917
|
-
*
|
|
23918
|
-
*
|
|
23919
|
-
*
|
|
23920
|
-
*
|
|
23921
|
-
*
|
|
23922
|
-
*
|
|
23923
|
-
*
|
|
23924
|
-
*
|
|
23925
|
-
*
|
|
23926
|
-
*
|
|
23927
|
-
*
|
|
23928
|
-
*
|
|
23929
|
-
* 2. Attach the `AliyunECSImageImportRolePolicy`
|
|
23930
|
-
*
|
|
23931
|
-
*
|
|
23932
|
-
*
|
|
23933
|
-
*
|
|
23934
|
-
*
|
|
23935
|
-
*
|
|
23936
|
-
*
|
|
23937
|
-
*
|
|
23938
|
-
*
|
|
23939
|
-
*
|
|
23940
|
-
*
|
|
23941
|
-
*
|
|
23942
|
-
*
|
|
23943
|
-
*
|
|
23944
|
-
*
|
|
23945
|
-
*
|
|
23946
|
-
*
|
|
23947
|
-
*
|
|
23948
|
-
*
|
|
23949
|
-
*
|
|
23950
|
-
*
|
|
23951
|
-
*
|
|
23952
|
-
*
|
|
23953
|
-
*
|
|
23954
|
-
*
|
|
23955
|
-
*
|
|
23956
|
-
*
|
|
23957
|
-
*
|
|
23958
|
-
*
|
|
23959
|
-
*
|
|
23960
|
-
*
|
|
23961
|
-
*
|
|
23962
|
-
*
|
|
23963
|
-
*
|
|
23964
|
-
*
|
|
23965
|
-
*
|
|
23966
|
-
*
|
|
23967
|
-
*
|
|
23968
|
-
*
|
|
23969
|
-
*
|
|
23970
|
-
*
|
|
23971
|
-
*
|
|
23972
|
-
*
|
|
23973
|
-
*
|
|
23974
|
-
*
|
|
23975
|
-
*
|
|
23976
|
-
*
|
|
23977
|
-
*
|
|
23978
|
-
*
|
|
23979
|
-
*
|
|
23980
|
-
*
|
|
23981
|
-
*
|
|
23982
|
-
*
|
|
23983
|
-
* -
|
|
23984
|
-
* -
|
|
23985
|
-
*
|
|
23986
|
-
*
|
|
23987
|
-
* -
|
|
23988
|
-
*
|
|
23989
|
-
*
|
|
23990
|
-
*
|
|
23991
|
-
* -
|
|
23992
|
-
*
|
|
23993
|
-
*
|
|
23994
|
-
*
|
|
23995
|
-
*
|
|
23952
|
+
* ### Operation description
|
|
23953
|
+
* When you call this operation, take note of the following items:
|
|
23954
|
+
* - 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).
|
|
23955
|
+
* - 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).
|
|
23956
|
+
* - 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:
|
|
23957
|
+
* - **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).
|
|
23958
|
+
* 1. Create a role named `AliyunECSImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
23959
|
+
* ```
|
|
23960
|
+
* {
|
|
23961
|
+
* "Statement": [
|
|
23962
|
+
* {
|
|
23963
|
+
* "Action": "sts:AssumeRole",
|
|
23964
|
+
* "Effect": "Allow",
|
|
23965
|
+
* "Principal": {
|
|
23966
|
+
* "Service": [
|
|
23967
|
+
* "ecs.aliyuncs.com"
|
|
23968
|
+
* ]
|
|
23969
|
+
* }
|
|
23970
|
+
* }
|
|
23971
|
+
* ],
|
|
23972
|
+
* "Version": "1"
|
|
23973
|
+
* }
|
|
23974
|
+
* ```
|
|
23975
|
+
* 2. Attach the system policy `AliyunECSImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
23976
|
+
* ```
|
|
23977
|
+
* {
|
|
23978
|
+
* "Version": "1",
|
|
23979
|
+
* "Statement": [
|
|
23980
|
+
* {
|
|
23981
|
+
* "Action": [
|
|
23982
|
+
* "oss:GetObject",
|
|
23983
|
+
* "oss:GetBucketLocation",
|
|
23984
|
+
* "oss:GetBucketInfo"
|
|
23985
|
+
* ],
|
|
23986
|
+
* "Resource": "*",
|
|
23987
|
+
* "Effect": "Allow"
|
|
23988
|
+
* }
|
|
23989
|
+
* ]
|
|
23990
|
+
* }
|
|
23991
|
+
*
|
|
23992
|
+
* ```
|
|
23993
|
+
* - **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).
|
|
23994
|
+
* 1. Create a role named `AliyunECSCloudBoxImageImportDefaultRole`. You must use this exact name. Otherwise, the image import fails. Use the following policy for the role:
|
|
23995
|
+
* ```
|
|
23996
|
+
* {
|
|
23997
|
+
* "Statement": [
|
|
23998
|
+
* {
|
|
23999
|
+
* "Action": "sts:AssumeRole",
|
|
24000
|
+
* "Effect": "Allow",
|
|
24001
|
+
* "Principal": {
|
|
24002
|
+
* "Service": [
|
|
24003
|
+
* "ecs.aliyuncs.com"
|
|
24004
|
+
* ]
|
|
24005
|
+
* }
|
|
24006
|
+
* }
|
|
24007
|
+
* ],
|
|
24008
|
+
* "Version": "1"
|
|
24009
|
+
* }
|
|
24010
|
+
* ```
|
|
24011
|
+
* 2. Attach the system policy `AliyunECSCloudBoxImageImportRolePolicy` to the role. You can also create a custom policy that includes the following permissions:
|
|
24012
|
+
* ```
|
|
24013
|
+
* {
|
|
24014
|
+
* "Version": "1",
|
|
24015
|
+
* "Statement": [
|
|
24016
|
+
* {
|
|
24017
|
+
* "Action": [
|
|
24018
|
+
* "oss-cloudbox:GetObject",
|
|
24019
|
+
* "oss-cloudbox:GetBucketLocation",
|
|
24020
|
+
* "oss-cloudbox:GetBucketInfo"
|
|
24021
|
+
* ],
|
|
24022
|
+
* "Resource": "*",
|
|
24023
|
+
* "Effect": "Allow"
|
|
24024
|
+
* }
|
|
24025
|
+
* ]
|
|
24026
|
+
* }
|
|
24027
|
+
*
|
|
24028
|
+
* ```
|
|
24029
|
+
* - 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.
|
|
24030
|
+
* - 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.
|
|
24031
|
+
* - 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.
|
|
24032
|
+
* - 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:
|
|
24033
|
+
* - To ensure that the imported image supports password configuration or key pair modification, the image must meet the following requirements:
|
|
24034
|
+
* - 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.
|
|
24035
|
+
* - 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).
|
|
24036
|
+
* - The operating system must support the SHA-512 encryption algorithm.
|
|
24037
|
+
* - To ensure that the imported image supports disk resizing and file system resizing, the image must meet the following requirements:
|
|
24038
|
+
* - The operating system kernel version must be later than 3.6.
|
|
24039
|
+
* - 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~~).
|
|
24040
|
+
* - 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.
|
|
24041
|
+
* - 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).
|
|
24042
|
+
* - 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).
|
|
24043
|
+
* - 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).
|
|
23996
24044
|
*
|
|
23997
24045
|
* @param request - ImportImageRequest
|
|
23998
24046
|
* @returns ImportImageResponse
|
|
@@ -24003,24 +24051,18 @@ export default class Client extends OpenApi {
|
|
|
24003
24051
|
}
|
|
24004
24052
|
|
|
24005
24053
|
/**
|
|
24006
|
-
* Imports the public key of
|
|
24054
|
+
* 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.
|
|
24007
24055
|
*
|
|
24008
24056
|
* @remarks
|
|
24009
|
-
*
|
|
24010
|
-
*
|
|
24011
|
-
* -
|
|
24012
|
-
*
|
|
24013
|
-
*
|
|
24014
|
-
*
|
|
24015
|
-
*
|
|
24016
|
-
*
|
|
24017
|
-
*
|
|
24018
|
-
* - <ssh-dss-cert-v00@openssh.com>
|
|
24019
|
-
* - <ssh-rsa-cert-v01@openssh.com>
|
|
24020
|
-
* - <ssh-dss-cert-v01@openssh.com>
|
|
24021
|
-
* - <ecdsa-sha2-nistp256-cert-v01@openssh.com>
|
|
24022
|
-
* - <ecdsa-sha2-nistp384-cert-v01@openssh.com>
|
|
24023
|
-
* - <ecdsa-sha2-nistp521-cert-v01@openssh.com>
|
|
24057
|
+
* ## Description
|
|
24058
|
+
* When you call this operation, take note of the following items:
|
|
24059
|
+
* - You can have a maximum of 500 key pairs in each region.
|
|
24060
|
+
* - The imported key pair must support one of the following encryption methods:
|
|
24061
|
+
* - rsa
|
|
24062
|
+
* - dsa
|
|
24063
|
+
* - ssh-rsa
|
|
24064
|
+
* - ssh-dss
|
|
24065
|
+
* - ecdsa
|
|
24024
24066
|
*
|
|
24025
24067
|
* @param request - ImportKeyPairRequest
|
|
24026
24068
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -24079,24 +24121,18 @@ export default class Client extends OpenApi {
|
|
|
24079
24121
|
}
|
|
24080
24122
|
|
|
24081
24123
|
/**
|
|
24082
|
-
* Imports the public key of
|
|
24124
|
+
* 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.
|
|
24083
24125
|
*
|
|
24084
24126
|
* @remarks
|
|
24085
|
-
*
|
|
24086
|
-
*
|
|
24087
|
-
* -
|
|
24088
|
-
*
|
|
24089
|
-
*
|
|
24090
|
-
*
|
|
24091
|
-
*
|
|
24092
|
-
*
|
|
24093
|
-
*
|
|
24094
|
-
* - <ssh-dss-cert-v00@openssh.com>
|
|
24095
|
-
* - <ssh-rsa-cert-v01@openssh.com>
|
|
24096
|
-
* - <ssh-dss-cert-v01@openssh.com>
|
|
24097
|
-
* - <ecdsa-sha2-nistp256-cert-v01@openssh.com>
|
|
24098
|
-
* - <ecdsa-sha2-nistp384-cert-v01@openssh.com>
|
|
24099
|
-
* - <ecdsa-sha2-nistp521-cert-v01@openssh.com>
|
|
24127
|
+
* ## Description
|
|
24128
|
+
* When you call this operation, take note of the following items:
|
|
24129
|
+
* - You can have a maximum of 500 key pairs in each region.
|
|
24130
|
+
* - The imported key pair must support one of the following encryption methods:
|
|
24131
|
+
* - rsa
|
|
24132
|
+
* - dsa
|
|
24133
|
+
* - ssh-rsa
|
|
24134
|
+
* - ssh-dss
|
|
24135
|
+
* - ecdsa
|
|
24100
24136
|
*
|
|
24101
24137
|
* @param request - ImportKeyPairRequest
|
|
24102
24138
|
* @returns ImportKeyPairResponse
|
|
@@ -24395,11 +24431,11 @@ export default class Client extends OpenApi {
|
|
|
24395
24431
|
}
|
|
24396
24432
|
|
|
24397
24433
|
/**
|
|
24398
|
-
*
|
|
24434
|
+
* Calls JoinResourceGroup to add an ECS resource or service to a resource group.
|
|
24399
24435
|
*
|
|
24400
24436
|
* @remarks
|
|
24401
|
-
* ##
|
|
24402
|
-
* A resource is a cloud service entity that you create on Alibaba Cloud
|
|
24437
|
+
* ## Description
|
|
24438
|
+
* 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.
|
|
24403
24439
|
*
|
|
24404
24440
|
* @param request - JoinResourceGroupRequest
|
|
24405
24441
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -24458,11 +24494,11 @@ export default class Client extends OpenApi {
|
|
|
24458
24494
|
}
|
|
24459
24495
|
|
|
24460
24496
|
/**
|
|
24461
|
-
*
|
|
24497
|
+
* Calls JoinResourceGroup to add an ECS resource or service to a resource group.
|
|
24462
24498
|
*
|
|
24463
24499
|
* @remarks
|
|
24464
|
-
* ##
|
|
24465
|
-
* A resource is a cloud service entity that you create on Alibaba Cloud
|
|
24500
|
+
* ## Description
|
|
24501
|
+
* 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.
|
|
24466
24502
|
*
|
|
24467
24503
|
* @param request - JoinResourceGroupRequest
|
|
24468
24504
|
* @returns JoinResourceGroupResponse
|
|
@@ -25047,13 +25083,13 @@ export default class Client extends OpenApi {
|
|
|
25047
25083
|
}
|
|
25048
25084
|
|
|
25049
25085
|
/**
|
|
25050
|
-
* Modifies an automatic snapshot policy
|
|
25086
|
+
* Modifies an automatic snapshot policy, such as the snapshot creation time, repeat date, and retention period.
|
|
25051
25087
|
*
|
|
25052
25088
|
* @remarks
|
|
25053
|
-
*
|
|
25054
|
-
* -
|
|
25055
|
-
* - After an automatic snapshot policy
|
|
25056
|
-
* - If cross-region replication
|
|
25089
|
+
* When you call this operation, take note of the following items:
|
|
25090
|
+
* - System policies cannot be modified.
|
|
25091
|
+
* - After you modify an automatic snapshot policy, the disks to which the policy has been applied immediately execute the modified policy.
|
|
25092
|
+
* - 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.
|
|
25057
25093
|
*
|
|
25058
25094
|
* @param request - ModifyAutoSnapshotPolicyExRequest
|
|
25059
25095
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -25132,13 +25168,13 @@ export default class Client extends OpenApi {
|
|
|
25132
25168
|
}
|
|
25133
25169
|
|
|
25134
25170
|
/**
|
|
25135
|
-
* Modifies an automatic snapshot policy
|
|
25171
|
+
* Modifies an automatic snapshot policy, such as the snapshot creation time, repeat date, and retention period.
|
|
25136
25172
|
*
|
|
25137
25173
|
* @remarks
|
|
25138
|
-
*
|
|
25139
|
-
* -
|
|
25140
|
-
* - After an automatic snapshot policy
|
|
25141
|
-
* - If cross-region replication
|
|
25174
|
+
* When you call this operation, take note of the following items:
|
|
25175
|
+
* - System policies cannot be modified.
|
|
25176
|
+
* - After you modify an automatic snapshot policy, the disks to which the policy has been applied immediately execute the modified policy.
|
|
25177
|
+
* - 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.
|
|
25142
25178
|
*
|
|
25143
25179
|
* @param request - ModifyAutoSnapshotPolicyExRequest
|
|
25144
25180
|
* @returns ModifyAutoSnapshotPolicyExResponse
|
|
@@ -26060,10 +26096,10 @@ export default class Client extends OpenApi {
|
|
|
26060
26096
|
}
|
|
26061
26097
|
|
|
26062
26098
|
/**
|
|
26063
|
-
* Modifies the name, description, release behavior
|
|
26099
|
+
* 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.
|
|
26064
26100
|
*
|
|
26065
26101
|
* @remarks
|
|
26066
|
-
* You can
|
|
26102
|
+
* 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.
|
|
26067
26103
|
*
|
|
26068
26104
|
* @param request - ModifyDiskAttributeRequest
|
|
26069
26105
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26142,10 +26178,10 @@ export default class Client extends OpenApi {
|
|
|
26142
26178
|
}
|
|
26143
26179
|
|
|
26144
26180
|
/**
|
|
26145
|
-
* Modifies the name, description, release behavior
|
|
26181
|
+
* 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.
|
|
26146
26182
|
*
|
|
26147
26183
|
* @remarks
|
|
26148
|
-
* You can
|
|
26184
|
+
* 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.
|
|
26149
26185
|
*
|
|
26150
26186
|
* @param request - ModifyDiskAttributeRequest
|
|
26151
26187
|
* @returns ModifyDiskAttributeResponse
|
|
@@ -26846,7 +26882,7 @@ export default class Client extends OpenApi {
|
|
|
26846
26882
|
}
|
|
26847
26883
|
|
|
26848
26884
|
/**
|
|
26849
|
-
*
|
|
26885
|
+
* Modifies the attributes of a high-availability virtual IP address (HAVIP).
|
|
26850
26886
|
*
|
|
26851
26887
|
* @deprecated OpenAPI ModifyHaVipAttribute is deprecated, please use Vpc::2016-04-28::ModifyHaVipAttribute instead.
|
|
26852
26888
|
*
|
|
@@ -26907,7 +26943,7 @@ export default class Client extends OpenApi {
|
|
|
26907
26943
|
}
|
|
26908
26944
|
|
|
26909
26945
|
/**
|
|
26910
|
-
*
|
|
26946
|
+
* Modifies the attributes of a high-availability virtual IP address (HAVIP).
|
|
26911
26947
|
*
|
|
26912
26948
|
* @deprecated OpenAPI ModifyHaVipAttribute is deprecated, please use Vpc::2016-04-28::ModifyHaVipAttribute instead.
|
|
26913
26949
|
*
|
|
@@ -26921,7 +26957,7 @@ export default class Client extends OpenApi {
|
|
|
26921
26957
|
}
|
|
26922
26958
|
|
|
26923
26959
|
/**
|
|
26924
|
-
* Modifies the description of
|
|
26960
|
+
* Modifies the description of an HPC cluster by calling ModifyHpcClusterAttribute.
|
|
26925
26961
|
*
|
|
26926
26962
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
26927
26963
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26988,7 +27024,7 @@ export default class Client extends OpenApi {
|
|
|
26988
27024
|
}
|
|
26989
27025
|
|
|
26990
27026
|
/**
|
|
26991
|
-
* Modifies the description of
|
|
27027
|
+
* Modifies the description of an HPC cluster by calling ModifyHpcClusterAttribute.
|
|
26992
27028
|
*
|
|
26993
27029
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
26994
27030
|
* @returns ModifyHpcClusterAttributeResponse
|
|
@@ -27554,14 +27590,16 @@ export default class Client extends OpenApi {
|
|
|
27554
27590
|
}
|
|
27555
27591
|
|
|
27556
27592
|
/**
|
|
27557
|
-
*
|
|
27593
|
+
* Modifies the auto-renewal attributes of one or more subscription instances, helping you reduce the maintenance cost of resource expiration.
|
|
27558
27594
|
*
|
|
27559
27595
|
* @remarks
|
|
27560
|
-
* *Before
|
|
27561
|
-
* - Make sure
|
|
27562
|
-
* - Only subscription instances are supported.
|
|
27563
|
-
* - The
|
|
27564
|
-
* - If the deduction fails,
|
|
27596
|
+
* *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)**.
|
|
27597
|
+
* - Make sure your account balance or credit limit is sufficient.
|
|
27598
|
+
* - Only subscription instances are supported. An error is returned if you call this API for pay-as-you-go instances.
|
|
27599
|
+
* - The auto-renewal deduction date is 9 days before the instance expires. The deduction starts at 08:00:00 (UTC+8).
|
|
27600
|
+
* - 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.
|
|
27601
|
+
* <props="china">
|
|
27602
|
+
* - 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.
|
|
27565
27603
|
*
|
|
27566
27604
|
* @param request - ModifyInstanceAutoRenewAttributeRequest
|
|
27567
27605
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27628,14 +27666,16 @@ export default class Client extends OpenApi {
|
|
|
27628
27666
|
}
|
|
27629
27667
|
|
|
27630
27668
|
/**
|
|
27631
|
-
*
|
|
27669
|
+
* Modifies the auto-renewal attributes of one or more subscription instances, helping you reduce the maintenance cost of resource expiration.
|
|
27632
27670
|
*
|
|
27633
27671
|
* @remarks
|
|
27634
|
-
* *Before
|
|
27635
|
-
* - Make sure
|
|
27636
|
-
* - Only subscription instances are supported.
|
|
27637
|
-
* - The
|
|
27638
|
-
* - If the deduction fails,
|
|
27672
|
+
* *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)**.
|
|
27673
|
+
* - Make sure your account balance or credit limit is sufficient.
|
|
27674
|
+
* - Only subscription instances are supported. An error is returned if you call this API for pay-as-you-go instances.
|
|
27675
|
+
* - The auto-renewal deduction date is 9 days before the instance expires. The deduction starts at 08:00:00 (UTC+8).
|
|
27676
|
+
* - 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.
|
|
27677
|
+
* <props="china">
|
|
27678
|
+
* - 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.
|
|
27639
27679
|
*
|
|
27640
27680
|
* @param request - ModifyInstanceAutoRenewAttributeRequest
|
|
27641
27681
|
* @returns ModifyInstanceAutoRenewAttributeResponse
|
|
@@ -28198,17 +28238,18 @@ export default class Client extends OpenApi {
|
|
|
28198
28238
|
}
|
|
28199
28239
|
|
|
28200
28240
|
/**
|
|
28201
|
-
* Modifies the
|
|
28241
|
+
* 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.
|
|
28202
28242
|
*
|
|
28203
28243
|
* @remarks
|
|
28204
|
-
*
|
|
28205
|
-
* -
|
|
28206
|
-
* -
|
|
28207
|
-
*
|
|
28208
|
-
*
|
|
28209
|
-
* -
|
|
28210
|
-
*
|
|
28211
|
-
* - After the
|
|
28244
|
+
* - 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.
|
|
28245
|
+
* - 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.
|
|
28246
|
+
* - 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.
|
|
28247
|
+
* > 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~~).
|
|
28248
|
+
*
|
|
28249
|
+
* - Fees:
|
|
28250
|
+
*
|
|
28251
|
+
* - 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.
|
|
28252
|
+
* - After downgrading bandwidth, the price difference is refunded through the original payment method. Coupons that have already been used are not refunded.
|
|
28212
28253
|
*
|
|
28213
28254
|
* @param request - ModifyInstanceNetworkSpecRequest
|
|
28214
28255
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -28291,17 +28332,18 @@ export default class Client extends OpenApi {
|
|
|
28291
28332
|
}
|
|
28292
28333
|
|
|
28293
28334
|
/**
|
|
28294
|
-
* Modifies the
|
|
28335
|
+
* 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.
|
|
28295
28336
|
*
|
|
28296
28337
|
* @remarks
|
|
28297
|
-
*
|
|
28298
|
-
* -
|
|
28299
|
-
* -
|
|
28300
|
-
*
|
|
28301
|
-
*
|
|
28302
|
-
* -
|
|
28303
|
-
*
|
|
28304
|
-
* - After the
|
|
28338
|
+
* - 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.
|
|
28339
|
+
* - 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.
|
|
28340
|
+
* - 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.
|
|
28341
|
+
* > 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~~).
|
|
28342
|
+
*
|
|
28343
|
+
* - Fees:
|
|
28344
|
+
*
|
|
28345
|
+
* - 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.
|
|
28346
|
+
* - After downgrading bandwidth, the price difference is refunded through the original payment method. Coupons that have already been used are not refunded.
|
|
28305
28347
|
*
|
|
28306
28348
|
* @param request - ModifyInstanceNetworkSpecRequest
|
|
28307
28349
|
* @returns ModifyInstanceNetworkSpecResponse
|
|
@@ -28312,17 +28354,22 @@ export default class Client extends OpenApi {
|
|
|
28312
28354
|
}
|
|
28313
28355
|
|
|
28314
28356
|
/**
|
|
28315
|
-
*
|
|
28357
|
+
* Modifies the instance type or public bandwidth of a pay-as-you-go ECS instance.
|
|
28316
28358
|
*
|
|
28317
28359
|
* @remarks
|
|
28318
|
-
*
|
|
28319
|
-
* Before you
|
|
28320
|
-
*
|
|
28321
|
-
*
|
|
28322
|
-
*
|
|
28323
|
-
*
|
|
28324
|
-
*
|
|
28325
|
-
*
|
|
28360
|
+
* <props="china">.
|
|
28361
|
+
* **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.**.
|
|
28362
|
+
* .
|
|
28363
|
+
* <props="intl">.
|
|
28364
|
+
* **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.**.
|
|
28365
|
+
* .
|
|
28366
|
+
* 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.
|
|
28367
|
+
* **Before you begin**.
|
|
28368
|
+
* - Your account must not have overdue payments.
|
|
28369
|
+
* - Each call can modify only one configuration. You can change only the instance type or adjust only the public bandwidth in a single request.
|
|
28370
|
+
* - The instance status must be **Running** (`Running`) or **Stopped** (`Stopped`) before you can adjust the public bandwidth. The change takes effect immediately.
|
|
28371
|
+
* - 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.
|
|
28372
|
+
* > 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~~).
|
|
28326
28373
|
*
|
|
28327
28374
|
* @param request - ModifyInstanceSpecRequest
|
|
28328
28375
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -28413,17 +28460,22 @@ export default class Client extends OpenApi {
|
|
|
28413
28460
|
}
|
|
28414
28461
|
|
|
28415
28462
|
/**
|
|
28416
|
-
*
|
|
28463
|
+
* Modifies the instance type or public bandwidth of a pay-as-you-go ECS instance.
|
|
28417
28464
|
*
|
|
28418
28465
|
* @remarks
|
|
28419
|
-
*
|
|
28420
|
-
* Before you
|
|
28421
|
-
*
|
|
28422
|
-
*
|
|
28423
|
-
*
|
|
28424
|
-
*
|
|
28425
|
-
*
|
|
28426
|
-
*
|
|
28466
|
+
* <props="china">.
|
|
28467
|
+
* **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.**.
|
|
28468
|
+
* .
|
|
28469
|
+
* <props="intl">.
|
|
28470
|
+
* **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.**.
|
|
28471
|
+
* .
|
|
28472
|
+
* 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.
|
|
28473
|
+
* **Before you begin**.
|
|
28474
|
+
* - Your account must not have overdue payments.
|
|
28475
|
+
* - Each call can modify only one configuration. You can change only the instance type or adjust only the public bandwidth in a single request.
|
|
28476
|
+
* - The instance status must be **Running** (`Running`) or **Stopped** (`Stopped`) before you can adjust the public bandwidth. The change takes effect immediately.
|
|
28477
|
+
* - 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.
|
|
28478
|
+
* > 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~~).
|
|
28427
28479
|
*
|
|
28428
28480
|
* @param request - ModifyInstanceSpecRequest
|
|
28429
28481
|
* @returns ModifyInstanceSpecResponse
|
|
@@ -28766,11 +28818,7 @@ export default class Client extends OpenApi {
|
|
|
28766
28818
|
}
|
|
28767
28819
|
|
|
28768
28820
|
/**
|
|
28769
|
-
*
|
|
28770
|
-
*
|
|
28771
|
-
* @remarks
|
|
28772
|
-
* ## Debugging
|
|
28773
|
-
* [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)
|
|
28821
|
+
* 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.
|
|
28774
28822
|
*
|
|
28775
28823
|
* @param request - ModifyLaunchTemplateDefaultVersionRequest
|
|
28776
28824
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -28829,11 +28877,7 @@ export default class Client extends OpenApi {
|
|
|
28829
28877
|
}
|
|
28830
28878
|
|
|
28831
28879
|
/**
|
|
28832
|
-
*
|
|
28833
|
-
*
|
|
28834
|
-
* @remarks
|
|
28835
|
-
* ## Debugging
|
|
28836
|
-
* [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)
|
|
28880
|
+
* 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.
|
|
28837
28881
|
*
|
|
28838
28882
|
* @param request - ModifyLaunchTemplateDefaultVersionRequest
|
|
28839
28883
|
* @returns ModifyLaunchTemplateDefaultVersionResponse
|
|
@@ -29143,10 +29187,10 @@ export default class Client extends OpenApi {
|
|
|
29143
29187
|
}
|
|
29144
29188
|
|
|
29145
29189
|
/**
|
|
29146
|
-
*
|
|
29190
|
+
* Updates an O&M window.
|
|
29147
29191
|
*
|
|
29148
29192
|
* @remarks
|
|
29149
|
-
* Modifies the
|
|
29193
|
+
* 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.
|
|
29150
29194
|
*
|
|
29151
29195
|
* @param tmpReq - ModifyPlanMaintenanceWindowRequest
|
|
29152
29196
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29215,10 +29259,10 @@ export default class Client extends OpenApi {
|
|
|
29215
29259
|
}
|
|
29216
29260
|
|
|
29217
29261
|
/**
|
|
29218
|
-
*
|
|
29262
|
+
* Updates an O&M window.
|
|
29219
29263
|
*
|
|
29220
29264
|
* @remarks
|
|
29221
|
-
* Modifies the
|
|
29265
|
+
* 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.
|
|
29222
29266
|
*
|
|
29223
29267
|
* @param request - ModifyPlanMaintenanceWindowRequest
|
|
29224
29268
|
* @returns ModifyPlanMaintenanceWindowResponse
|
|
@@ -30045,7 +30089,7 @@ export default class Client extends OpenApi {
|
|
|
30045
30089
|
}
|
|
30046
30090
|
|
|
30047
30091
|
/**
|
|
30048
|
-
* Modifies the name or description of a
|
|
30092
|
+
* Modifies the name or description of a specified security group.
|
|
30049
30093
|
*
|
|
30050
30094
|
* @param request - ModifySecurityGroupAttributeRequest
|
|
30051
30095
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30104,7 +30148,7 @@ export default class Client extends OpenApi {
|
|
|
30104
30148
|
}
|
|
30105
30149
|
|
|
30106
30150
|
/**
|
|
30107
|
-
* Modifies the name or description of a
|
|
30151
|
+
* Modifies the name or description of a specified security group.
|
|
30108
30152
|
*
|
|
30109
30153
|
* @param request - ModifySecurityGroupAttributeRequest
|
|
30110
30154
|
* @returns ModifySecurityGroupAttributeResponse
|
|
@@ -30115,12 +30159,12 @@ export default class Client extends OpenApi {
|
|
|
30115
30159
|
}
|
|
30116
30160
|
|
|
30117
30161
|
/**
|
|
30118
|
-
* Modifies an
|
|
30162
|
+
* Modifies an egress security group rule.
|
|
30119
30163
|
*
|
|
30120
30164
|
* @remarks
|
|
30121
|
-
*
|
|
30122
|
-
* -
|
|
30123
|
-
* -
|
|
30165
|
+
* When modifying security group rules by specifying the security group rule ID, note the following usage limits:
|
|
30166
|
+
* - 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.
|
|
30167
|
+
* - 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.
|
|
30124
30168
|
*
|
|
30125
30169
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
30126
30170
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30247,12 +30291,12 @@ export default class Client extends OpenApi {
|
|
|
30247
30291
|
}
|
|
30248
30292
|
|
|
30249
30293
|
/**
|
|
30250
|
-
* Modifies an
|
|
30294
|
+
* Modifies an egress security group rule.
|
|
30251
30295
|
*
|
|
30252
30296
|
* @remarks
|
|
30253
|
-
*
|
|
30254
|
-
* -
|
|
30255
|
-
* -
|
|
30297
|
+
* When modifying security group rules by specifying the security group rule ID, note the following usage limits:
|
|
30298
|
+
* - 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.
|
|
30299
|
+
* - 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.
|
|
30256
30300
|
*
|
|
30257
30301
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
30258
30302
|
* @returns ModifySecurityGroupEgressRuleResponse
|
|
@@ -30263,13 +30307,13 @@ export default class Client extends OpenApi {
|
|
|
30263
30307
|
}
|
|
30264
30308
|
|
|
30265
30309
|
/**
|
|
30266
|
-
* Modifies the
|
|
30310
|
+
* Modifies the intra-group connectivity policy of a basic security group.
|
|
30267
30311
|
*
|
|
30268
30312
|
* @remarks
|
|
30269
|
-
* -
|
|
30270
|
-
* -
|
|
30271
|
-
* -
|
|
30272
|
-
* -
|
|
30313
|
+
* - Advanced security groups do not support modifications to the intra-group connectivity policy. The default policy is **internal isolation**.
|
|
30314
|
+
* - You can call [DescribeSecurityGroupAttribute](https://help.aliyun.com/document_detail/25555.html) to query the current intra-group connectivity policy of a security group.
|
|
30315
|
+
* - 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.
|
|
30316
|
+
* - 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.
|
|
30273
30317
|
*
|
|
30274
30318
|
* @param request - ModifySecurityGroupPolicyRequest
|
|
30275
30319
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30328,13 +30372,13 @@ export default class Client extends OpenApi {
|
|
|
30328
30372
|
}
|
|
30329
30373
|
|
|
30330
30374
|
/**
|
|
30331
|
-
* Modifies the
|
|
30375
|
+
* Modifies the intra-group connectivity policy of a basic security group.
|
|
30332
30376
|
*
|
|
30333
30377
|
* @remarks
|
|
30334
|
-
* -
|
|
30335
|
-
* -
|
|
30336
|
-
* -
|
|
30337
|
-
* -
|
|
30378
|
+
* - Advanced security groups do not support modifications to the intra-group connectivity policy. The default policy is **internal isolation**.
|
|
30379
|
+
* - You can call [DescribeSecurityGroupAttribute](https://help.aliyun.com/document_detail/25555.html) to query the current intra-group connectivity policy of a security group.
|
|
30380
|
+
* - 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.
|
|
30381
|
+
* - 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.
|
|
30338
30382
|
*
|
|
30339
30383
|
* @param request - ModifySecurityGroupPolicyRequest
|
|
30340
30384
|
* @returns ModifySecurityGroupPolicyResponse
|
|
@@ -30345,12 +30389,12 @@ export default class Client extends OpenApi {
|
|
|
30345
30389
|
}
|
|
30346
30390
|
|
|
30347
30391
|
/**
|
|
30348
|
-
* Modifies an inbound security group rule
|
|
30392
|
+
* Modifies an inbound security group rule of a specified security group.
|
|
30349
30393
|
*
|
|
30350
30394
|
* @remarks
|
|
30351
|
-
*
|
|
30352
|
-
* -
|
|
30353
|
-
* - You cannot
|
|
30395
|
+
* When you modify a security group rule by specifying the security group rule ID, take note of the following limits:
|
|
30396
|
+
* - 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.
|
|
30397
|
+
* - 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.
|
|
30354
30398
|
*
|
|
30355
30399
|
* @param request - ModifySecurityGroupRuleRequest
|
|
30356
30400
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30477,12 +30521,12 @@ export default class Client extends OpenApi {
|
|
|
30477
30521
|
}
|
|
30478
30522
|
|
|
30479
30523
|
/**
|
|
30480
|
-
* Modifies an inbound security group rule
|
|
30524
|
+
* Modifies an inbound security group rule of a specified security group.
|
|
30481
30525
|
*
|
|
30482
30526
|
* @remarks
|
|
30483
|
-
*
|
|
30484
|
-
* -
|
|
30485
|
-
* - You cannot
|
|
30527
|
+
* When you modify a security group rule by specifying the security group rule ID, take note of the following limits:
|
|
30528
|
+
* - 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.
|
|
30529
|
+
* - 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.
|
|
30486
30530
|
*
|
|
30487
30531
|
* @param request - ModifySecurityGroupRuleRequest
|
|
30488
30532
|
* @returns ModifySecurityGroupRuleResponse
|
|
@@ -31678,12 +31722,14 @@ export default class Client extends OpenApi {
|
|
|
31678
31722
|
}
|
|
31679
31723
|
|
|
31680
31724
|
/**
|
|
31681
|
-
*
|
|
31725
|
+
* Restarts a pay-as-you-go ECS instance that has expired or been recycled due to an overdue payment.
|
|
31682
31726
|
*
|
|
31683
31727
|
* @remarks
|
|
31684
|
-
* After you
|
|
31685
|
-
*
|
|
31686
|
-
*
|
|
31728
|
+
* 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.
|
|
31729
|
+
* <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.
|
|
31730
|
+
* <props="china">- The instance must be in the **expired** (`Stopped`) or **being recycled due to overdue payment** (`Stopped`) state.
|
|
31731
|
+
* <props="intl">- The instance must be in the **expired** (`Stopped`) state.
|
|
31732
|
+
* - 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).
|
|
31687
31733
|
*
|
|
31688
31734
|
* @param request - ReActivateInstancesRequest
|
|
31689
31735
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -31734,12 +31780,14 @@ export default class Client extends OpenApi {
|
|
|
31734
31780
|
}
|
|
31735
31781
|
|
|
31736
31782
|
/**
|
|
31737
|
-
*
|
|
31783
|
+
* Restarts a pay-as-you-go ECS instance that has expired or been recycled due to an overdue payment.
|
|
31738
31784
|
*
|
|
31739
31785
|
* @remarks
|
|
31740
|
-
* After you
|
|
31741
|
-
*
|
|
31742
|
-
*
|
|
31786
|
+
* 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.
|
|
31787
|
+
* <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.
|
|
31788
|
+
* <props="china">- The instance must be in the **expired** (`Stopped`) or **being recycled due to overdue payment** (`Stopped`) state.
|
|
31789
|
+
* <props="intl">- The instance must be in the **expired** (`Stopped`) state.
|
|
31790
|
+
* - 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).
|
|
31743
31791
|
*
|
|
31744
31792
|
* @param request - ReActivateInstancesRequest
|
|
31745
31793
|
* @returns ReActivateInstancesResponse
|
|
@@ -31750,15 +31798,16 @@ export default class Client extends OpenApi {
|
|
|
31750
31798
|
}
|
|
31751
31799
|
|
|
31752
31800
|
/**
|
|
31753
|
-
*
|
|
31801
|
+
* Reinitializes a disk to its initial state when it was created.
|
|
31754
31802
|
*
|
|
31755
31803
|
* @remarks
|
|
31756
|
-
*
|
|
31757
|
-
* - The disk
|
|
31758
|
-
* -
|
|
31759
|
-
* -
|
|
31760
|
-
*
|
|
31761
|
-
* - For a
|
|
31804
|
+
* When you call this operation, take note of the following items:
|
|
31805
|
+
* - 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.
|
|
31806
|
+
* - You cannot reinitialize a disk that is attached to an instance before the instance starts for the first time.
|
|
31807
|
+
* - You cannot reinitialize a disk that has local snapshots.
|
|
31808
|
+
* <props="china">- You cannot reinitialize a disk that has the multi-attach feature enabled.
|
|
31809
|
+
* - 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.
|
|
31810
|
+
* - 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.
|
|
31762
31811
|
*
|
|
31763
31812
|
* @param request - ReInitDiskRequest
|
|
31764
31813
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -31821,15 +31870,16 @@ export default class Client extends OpenApi {
|
|
|
31821
31870
|
}
|
|
31822
31871
|
|
|
31823
31872
|
/**
|
|
31824
|
-
*
|
|
31873
|
+
* Reinitializes a disk to its initial state when it was created.
|
|
31825
31874
|
*
|
|
31826
31875
|
* @remarks
|
|
31827
|
-
*
|
|
31828
|
-
* - The disk
|
|
31829
|
-
* -
|
|
31830
|
-
* -
|
|
31831
|
-
*
|
|
31832
|
-
* - For a
|
|
31876
|
+
* When you call this operation, take note of the following items:
|
|
31877
|
+
* - 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.
|
|
31878
|
+
* - You cannot reinitialize a disk that is attached to an instance before the instance starts for the first time.
|
|
31879
|
+
* - You cannot reinitialize a disk that has local snapshots.
|
|
31880
|
+
* <props="china">- You cannot reinitialize a disk that has the multi-attach feature enabled.
|
|
31881
|
+
* - 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.
|
|
31882
|
+
* - 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.
|
|
31833
31883
|
*
|
|
31834
31884
|
* @param request - ReInitDiskRequest
|
|
31835
31885
|
* @returns ReInitDiskResponse
|
|
@@ -32151,31 +32201,31 @@ export default class Client extends OpenApi {
|
|
|
32151
32201
|
}
|
|
32152
32202
|
|
|
32153
32203
|
/**
|
|
32154
|
-
*
|
|
32155
|
-
*
|
|
32156
|
-
* @remarks
|
|
32157
|
-
* ##
|
|
32158
|
-
* RedeployInstance is an asynchronous
|
|
32159
|
-
* When you
|
|
32160
|
-
* - The instance must be in the Running
|
|
32161
|
-
*
|
|
32162
|
-
*
|
|
32163
|
-
* -
|
|
32164
|
-
* - If
|
|
32165
|
-
* -
|
|
32166
|
-
* -
|
|
32167
|
-
* The following table describes the types and states
|
|
32168
|
-
* |
|
|
32169
|
-
* |
|
|
32170
|
-
* | Instance restart due to system maintenance (SystemMaintenance.Reboot)
|
|
32171
|
-
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy)
|
|
32172
|
-
* | Instance restart and
|
|
32173
|
-
* | Instance restart and
|
|
32174
|
-
* | Instance redeployment due to system
|
|
32175
|
-
* | For ECS instances
|
|
32176
|
-
* |
|
|
32177
|
-
* |
|
|
32178
|
-
*
|
|
32204
|
+
* Invokes the RedeployInstance operation to redeploy an ECS instance when the ECS instance receives a system event notification.
|
|
32205
|
+
*
|
|
32206
|
+
* @remarks
|
|
32207
|
+
* ## Operation description
|
|
32208
|
+
* 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.
|
|
32209
|
+
* When you invoke this operation, take note of the following items:
|
|
32210
|
+
* - The target instance must be in the Running or Stopped state. The instance status changes after the operation is invoked:
|
|
32211
|
+
* - An instance in the Running (`Running`) state enters the Stopping (`Stopping`) state.
|
|
32212
|
+
* - An instance in the Stopped (`Stopped`) state enters the Starting (`Starting`) state.
|
|
32213
|
+
* - Instances on dedicated hosts cannot be redeployed.
|
|
32214
|
+
* - If the OperationLocks of an instance is marked with `"LockReason": "security"`, the instance cannot be redeployed.
|
|
32215
|
+
* - Simulated events created by invoking CreateSimulatedSystemEvent cannot be responded to.
|
|
32216
|
+
* - 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).
|
|
32217
|
+
* The following table describes the system event types and event states that RedeployInstance can respond to.
|
|
32218
|
+
* | Event name and parameter | Event status |
|
|
32219
|
+
* | --- | --- |
|
|
32220
|
+
* | Instance restart due to system maintenance (SystemMaintenance.Reboot) | Inquiring, Scheduled |
|
|
32221
|
+
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy) | Inquiring, Scheduled |
|
|
32222
|
+
* | Instance restart and damaged disk replacement due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk) | Inquiring |
|
|
32223
|
+
* | Instance restart and damaged disk reinitialization due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk) | Inquiring |
|
|
32224
|
+
* | Instance redeployment due to system fault (SystemFailure.Redeploy) | Inquiring |
|
|
32225
|
+
* | For ECS instances with local disks only: instance restart due to system fault (SystemFailure.Reboot) | Executing |
|
|
32226
|
+
* | Damaged disk isolation due to system maintenance (SystemMaintenance.IsolateErrorDisk) | Inquiring |
|
|
32227
|
+
* | Damaged disk reinitialization due to system maintenance (SystemMaintenance.ReInitErrorDisk) | Inquiring |
|
|
32228
|
+
* > Redeploying an instance with local disks reinitializes the local disks, and all data on the storage devices is cleared.
|
|
32179
32229
|
*
|
|
32180
32230
|
* @param request - RedeployInstanceRequest
|
|
32181
32231
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -32226,31 +32276,31 @@ export default class Client extends OpenApi {
|
|
|
32226
32276
|
}
|
|
32227
32277
|
|
|
32228
32278
|
/**
|
|
32229
|
-
*
|
|
32230
|
-
*
|
|
32231
|
-
* @remarks
|
|
32232
|
-
* ##
|
|
32233
|
-
* RedeployInstance is an asynchronous
|
|
32234
|
-
* When you
|
|
32235
|
-
* - The instance must be in the Running
|
|
32236
|
-
*
|
|
32237
|
-
*
|
|
32238
|
-
* -
|
|
32239
|
-
* - If
|
|
32240
|
-
* -
|
|
32241
|
-
* -
|
|
32242
|
-
* The following table describes the types and states
|
|
32243
|
-
* |
|
|
32244
|
-
* |
|
|
32245
|
-
* | Instance restart due to system maintenance (SystemMaintenance.Reboot)
|
|
32246
|
-
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy)
|
|
32247
|
-
* | Instance restart and
|
|
32248
|
-
* | Instance restart and
|
|
32249
|
-
* | Instance redeployment due to system
|
|
32250
|
-
* | For ECS instances
|
|
32251
|
-
* |
|
|
32252
|
-
* |
|
|
32253
|
-
*
|
|
32279
|
+
* Invokes the RedeployInstance operation to redeploy an ECS instance when the ECS instance receives a system event notification.
|
|
32280
|
+
*
|
|
32281
|
+
* @remarks
|
|
32282
|
+
* ## Operation description
|
|
32283
|
+
* 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.
|
|
32284
|
+
* When you invoke this operation, take note of the following items:
|
|
32285
|
+
* - The target instance must be in the Running or Stopped state. The instance status changes after the operation is invoked:
|
|
32286
|
+
* - An instance in the Running (`Running`) state enters the Stopping (`Stopping`) state.
|
|
32287
|
+
* - An instance in the Stopped (`Stopped`) state enters the Starting (`Starting`) state.
|
|
32288
|
+
* - Instances on dedicated hosts cannot be redeployed.
|
|
32289
|
+
* - If the OperationLocks of an instance is marked with `"LockReason": "security"`, the instance cannot be redeployed.
|
|
32290
|
+
* - Simulated events created by invoking CreateSimulatedSystemEvent cannot be responded to.
|
|
32291
|
+
* - 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).
|
|
32292
|
+
* The following table describes the system event types and event states that RedeployInstance can respond to.
|
|
32293
|
+
* | Event name and parameter | Event status |
|
|
32294
|
+
* | --- | --- |
|
|
32295
|
+
* | Instance restart due to system maintenance (SystemMaintenance.Reboot) | Inquiring, Scheduled |
|
|
32296
|
+
* | Instance redeployment due to system maintenance (SystemMaintenance.Redeploy) | Inquiring, Scheduled |
|
|
32297
|
+
* | Instance restart and damaged disk replacement due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk) | Inquiring |
|
|
32298
|
+
* | Instance restart and damaged disk reinitialization due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk) | Inquiring |
|
|
32299
|
+
* | Instance redeployment due to system fault (SystemFailure.Redeploy) | Inquiring |
|
|
32300
|
+
* | For ECS instances with local disks only: instance restart due to system fault (SystemFailure.Reboot) | Executing |
|
|
32301
|
+
* | Damaged disk isolation due to system maintenance (SystemMaintenance.IsolateErrorDisk) | Inquiring |
|
|
32302
|
+
* | Damaged disk reinitialization due to system maintenance (SystemMaintenance.ReInitErrorDisk) | Inquiring |
|
|
32303
|
+
* > Redeploying an instance with local disks reinitializes the local disks, and all data on the storage devices is cleared.
|
|
32254
32304
|
*
|
|
32255
32305
|
* @param request - RedeployInstanceRequest
|
|
32256
32306
|
* @returns RedeployInstanceResponse
|
|
@@ -32603,7 +32653,7 @@ export default class Client extends OpenApi {
|
|
|
32603
32653
|
}
|
|
32604
32654
|
|
|
32605
32655
|
/**
|
|
32606
|
-
*
|
|
32656
|
+
* Calls RemoveTags to unbind one or more tags from resources such as instances, disks, snapshots, images, and security groups.
|
|
32607
32657
|
*
|
|
32608
32658
|
* @deprecated OpenAPI RemoveTags is deprecated, please use Ecs::2014-05-26::UntagResources instead.
|
|
32609
32659
|
*
|
|
@@ -32660,7 +32710,7 @@ export default class Client extends OpenApi {
|
|
|
32660
32710
|
}
|
|
32661
32711
|
|
|
32662
32712
|
/**
|
|
32663
|
-
*
|
|
32713
|
+
* Calls RemoveTags to unbind one or more tags from resources such as instances, disks, snapshots, images, and security groups.
|
|
32664
32714
|
*
|
|
32665
32715
|
* @deprecated OpenAPI RemoveTags is deprecated, please use Ecs::2014-05-26::UntagResources instead.
|
|
32666
32716
|
*
|
|
@@ -33832,65 +33882,64 @@ export default class Client extends OpenApi {
|
|
|
33832
33882
|
}
|
|
33833
33883
|
|
|
33834
33884
|
/**
|
|
33835
|
-
* Deletes outbound security group rules from a specified security group.
|
|
33885
|
+
* Deletes one or more outbound security group rules from a specified security group.
|
|
33836
33886
|
*
|
|
33837
33887
|
* @remarks
|
|
33838
|
-
* > Alibaba Cloud
|
|
33839
|
-
* You can use one of the following methods to delete
|
|
33840
|
-
* - Delete
|
|
33841
|
-
* - If
|
|
33842
|
-
* - Delete
|
|
33843
|
-
*
|
|
33844
|
-
*
|
|
33845
|
-
*
|
|
33846
|
-
*
|
|
33847
|
-
*
|
|
33848
|
-
*
|
|
33849
|
-
* > You cannot
|
|
33850
|
-
* ###
|
|
33851
|
-
* - Delete
|
|
33852
|
-
* <!---->
|
|
33888
|
+
* >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.
|
|
33889
|
+
* You can use one of the following methods to pass parameters to delete security group rules:
|
|
33890
|
+
* - Delete rules by specifying security group rule IDs (recommended).
|
|
33891
|
+
* - If the specified security group rule ID does not exist, an error is returned.
|
|
33892
|
+
* - Delete rules by specifying the Permissions parameter.
|
|
33893
|
+
* - If the matching security group rule does not exist, the invoke succeeds but no rule is deleted.
|
|
33894
|
+
* - The following parameters are required to delete a security group rule:
|
|
33895
|
+
* - Destination settings: Specify one of DestCidrIp (IPv4 address), Ipv6DestCidrIp (IPv6 address), DestPrefixListId (prefix list ID), or DestGroupId (destination security group).
|
|
33896
|
+
* - Destination port range: PortRange.
|
|
33897
|
+
* - Protocol type: IpProtocol.
|
|
33898
|
+
* - Access policy: Policy.
|
|
33899
|
+
* > You cannot specify both security group rule IDs and the Permissions parameter at the same time.
|
|
33900
|
+
* ### Request examples
|
|
33901
|
+
* - Delete by security group rule ID.
|
|
33853
33902
|
* ```
|
|
33854
|
-
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //
|
|
33855
|
-
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"]
|
|
33903
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group ID.
|
|
33904
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // Specify the security group rule IDs.
|
|
33856
33905
|
* ```
|
|
33857
|
-
* - Delete
|
|
33858
|
-
* <!---->
|
|
33906
|
+
* - Delete by IP address CIDR block.
|
|
33859
33907
|
* ```
|
|
33860
33908
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
33861
33909
|
* "Permissions":[
|
|
33862
33910
|
* {
|
|
33863
|
-
*
|
|
33864
|
-
*
|
|
33865
|
-
*
|
|
33866
|
-
*
|
|
33911
|
+
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
33912
|
+
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IP address CIDR block.
|
|
33913
|
+
* "PortRange":"22/22", // Specify the destination port range.
|
|
33914
|
+
* "Policy":"accept" // Specify the access policy.
|
|
33915
|
+
* }
|
|
33867
33916
|
* ]
|
|
33868
33917
|
* ```
|
|
33869
|
-
*
|
|
33870
|
-
*
|
|
33918
|
+
*
|
|
33919
|
+
* - Delete by destination security group.
|
|
33871
33920
|
* ```
|
|
33872
33921
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
33873
33922
|
* "Permissions":[
|
|
33874
33923
|
* {
|
|
33875
|
-
* "DestGroupId":"sg-bp67acfmxa123b****", //
|
|
33924
|
+
* "DestGroupId":"sg-bp67acfmxa123b****", // Specify the destination security group ID.
|
|
33876
33925
|
* "IpProtocol":"TCP",
|
|
33877
33926
|
* "PortRange":"22/22",
|
|
33878
33927
|
* "Policy":"accept"
|
|
33879
33928
|
* }
|
|
33880
33929
|
* ]
|
|
33881
33930
|
* ```
|
|
33882
|
-
* - Delete
|
|
33883
|
-
* <!---->
|
|
33931
|
+
* - Delete by prefix list.
|
|
33884
33932
|
* ```
|
|
33885
33933
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
33886
33934
|
* "Permissions":[
|
|
33887
33935
|
* {
|
|
33888
33936
|
* "IpProtocol":"TCP",
|
|
33889
|
-
*
|
|
33937
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", // Specify the destination prefix list ID.
|
|
33938
|
+
* "PortRange":"22/22",
|
|
33890
33939
|
* "Policy":"accept",
|
|
33891
33940
|
* }
|
|
33892
33941
|
* ]
|
|
33893
|
-
*
|
|
33942
|
+
* ```.
|
|
33894
33943
|
*
|
|
33895
33944
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
33896
33945
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -34029,65 +34078,64 @@ export default class Client extends OpenApi {
|
|
|
34029
34078
|
}
|
|
34030
34079
|
|
|
34031
34080
|
/**
|
|
34032
|
-
* Deletes outbound security group rules from a specified security group.
|
|
34081
|
+
* Deletes one or more outbound security group rules from a specified security group.
|
|
34033
34082
|
*
|
|
34034
34083
|
* @remarks
|
|
34035
|
-
* > Alibaba Cloud
|
|
34036
|
-
* You can use one of the following methods to delete
|
|
34037
|
-
* - Delete
|
|
34038
|
-
* - If
|
|
34039
|
-
* - Delete
|
|
34040
|
-
*
|
|
34041
|
-
*
|
|
34042
|
-
*
|
|
34043
|
-
*
|
|
34044
|
-
*
|
|
34045
|
-
*
|
|
34046
|
-
* > You cannot
|
|
34047
|
-
* ###
|
|
34048
|
-
* - Delete
|
|
34049
|
-
* <!---->
|
|
34084
|
+
* >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.
|
|
34085
|
+
* You can use one of the following methods to pass parameters to delete security group rules:
|
|
34086
|
+
* - Delete rules by specifying security group rule IDs (recommended).
|
|
34087
|
+
* - If the specified security group rule ID does not exist, an error is returned.
|
|
34088
|
+
* - Delete rules by specifying the Permissions parameter.
|
|
34089
|
+
* - If the matching security group rule does not exist, the invoke succeeds but no rule is deleted.
|
|
34090
|
+
* - The following parameters are required to delete a security group rule:
|
|
34091
|
+
* - Destination settings: Specify one of DestCidrIp (IPv4 address), Ipv6DestCidrIp (IPv6 address), DestPrefixListId (prefix list ID), or DestGroupId (destination security group).
|
|
34092
|
+
* - Destination port range: PortRange.
|
|
34093
|
+
* - Protocol type: IpProtocol.
|
|
34094
|
+
* - Access policy: Policy.
|
|
34095
|
+
* > You cannot specify both security group rule IDs and the Permissions parameter at the same time.
|
|
34096
|
+
* ### Request examples
|
|
34097
|
+
* - Delete by security group rule ID.
|
|
34050
34098
|
* ```
|
|
34051
|
-
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //
|
|
34052
|
-
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"]
|
|
34099
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // Specify the security group ID.
|
|
34100
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // Specify the security group rule IDs.
|
|
34053
34101
|
* ```
|
|
34054
|
-
* - Delete
|
|
34055
|
-
* <!---->
|
|
34102
|
+
* - Delete by IP address CIDR block.
|
|
34056
34103
|
* ```
|
|
34057
34104
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
34058
34105
|
* "Permissions":[
|
|
34059
34106
|
* {
|
|
34060
|
-
*
|
|
34061
|
-
*
|
|
34062
|
-
*
|
|
34063
|
-
*
|
|
34107
|
+
* "IpProtocol":"TCP", // Specify the protocol type.
|
|
34108
|
+
* "DestCidrIp":"10.0.0.0/8", // Specify the destination IP address CIDR block.
|
|
34109
|
+
* "PortRange":"22/22", // Specify the destination port range.
|
|
34110
|
+
* "Policy":"accept" // Specify the access policy.
|
|
34111
|
+
* }
|
|
34064
34112
|
* ]
|
|
34065
34113
|
* ```
|
|
34066
|
-
*
|
|
34067
|
-
*
|
|
34114
|
+
*
|
|
34115
|
+
* - Delete by destination security group.
|
|
34068
34116
|
* ```
|
|
34069
34117
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
34070
34118
|
* "Permissions":[
|
|
34071
34119
|
* {
|
|
34072
|
-
* "DestGroupId":"sg-bp67acfmxa123b****", //
|
|
34120
|
+
* "DestGroupId":"sg-bp67acfmxa123b****", // Specify the destination security group ID.
|
|
34073
34121
|
* "IpProtocol":"TCP",
|
|
34074
34122
|
* "PortRange":"22/22",
|
|
34075
34123
|
* "Policy":"accept"
|
|
34076
34124
|
* }
|
|
34077
34125
|
* ]
|
|
34078
34126
|
* ```
|
|
34079
|
-
* - Delete
|
|
34080
|
-
* <!---->
|
|
34127
|
+
* - Delete by prefix list.
|
|
34081
34128
|
* ```
|
|
34082
34129
|
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
34083
34130
|
* "Permissions":[
|
|
34084
34131
|
* {
|
|
34085
34132
|
* "IpProtocol":"TCP",
|
|
34086
|
-
*
|
|
34133
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", // Specify the destination prefix list ID.
|
|
34134
|
+
* "PortRange":"22/22",
|
|
34087
34135
|
* "Policy":"accept",
|
|
34088
34136
|
* }
|
|
34089
34137
|
* ]
|
|
34090
|
-
*
|
|
34138
|
+
* ```.
|
|
34091
34139
|
*
|
|
34092
34140
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
34093
34141
|
* @returns RevokeSecurityGroupEgressResponse
|
|
@@ -35902,13 +35950,13 @@ export default class Client extends OpenApi {
|
|
|
35902
35950
|
}
|
|
35903
35951
|
|
|
35904
35952
|
/**
|
|
35905
|
-
* Unassigns one or more IPv6 addresses from an
|
|
35953
|
+
* Unassigns one or more IPv6 addresses from an Elastic Network Interface (ENI).
|
|
35906
35954
|
*
|
|
35907
35955
|
* @remarks
|
|
35908
|
-
* ##
|
|
35909
|
-
*
|
|
35910
|
-
* - The ENI must be in the **
|
|
35911
|
-
* - If
|
|
35956
|
+
* ## Operation description
|
|
35957
|
+
* When you invoke this operation, take note of the following items:
|
|
35958
|
+
* - The Elastic Network Interface (ENI) must be in the **Active** (Available) or **InUse** state.
|
|
35959
|
+
* - 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.
|
|
35912
35960
|
*
|
|
35913
35961
|
* @param request - UnassignIpv6AddressesRequest
|
|
35914
35962
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -35971,13 +36019,13 @@ export default class Client extends OpenApi {
|
|
|
35971
36019
|
}
|
|
35972
36020
|
|
|
35973
36021
|
/**
|
|
35974
|
-
* Unassigns one or more IPv6 addresses from an
|
|
36022
|
+
* Unassigns one or more IPv6 addresses from an Elastic Network Interface (ENI).
|
|
35975
36023
|
*
|
|
35976
36024
|
* @remarks
|
|
35977
|
-
* ##
|
|
35978
|
-
*
|
|
35979
|
-
* - The ENI must be in the **
|
|
35980
|
-
* - If
|
|
36025
|
+
* ## Operation description
|
|
36026
|
+
* When you invoke this operation, take note of the following items:
|
|
36027
|
+
* - The Elastic Network Interface (ENI) must be in the **Active** (Available) or **InUse** state.
|
|
36028
|
+
* - 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.
|
|
35981
36029
|
*
|
|
35982
36030
|
* @param request - UnassignIpv6AddressesRequest
|
|
35983
36031
|
* @returns UnassignIpv6AddressesResponse
|