Migrate a volume and/or snapshots to SBS (Scaleway Block Storage). To be used, the call to this endpoint must be preceded by a call to the "Plan a migration" endpoint. To migrate all resources mentioned in the migration plan, the validation_key returned in the plan must be provided.
The request ApplyBlockMigrationRequest
Attaches a volume to a server.
The request AttachVolumeRequest
A Promise of AttachVolumeResponse
Create an Instance image. Create an Instance image from the specified snapshot ID.
The request CreateImageRequest
A Promise of CreateImageResponse
Reserve a flexible IP. Reserve a flexible IP and attach it to the specified Instance.
The request CreateIpRequest
A Promise of CreateIpResponse
Create a placement group. Create a new placement group in a specified Availability Zone.
The request CreatePlacementGroupRequest
A Promise of CreatePlacementGroupResponse
Create a private NIC connecting an Instance to a Private Network.
The request CreatePrivateNICRequest
A Promise of CreatePrivateNICResponse
Create a security group. Create a security group with a specified name and description.
The request CreateSecurityGroupRequest
A Promise of CreateSecurityGroupResponse
Create rule. Create a rule in the specified security group ID.
The request CreateSecurityGroupRuleRequest
A Promise of CreateSecurityGroupRuleResponse
Creates a server.
The request CreateServerRequest
A Promise of CreateServerResponse
Create a snapshot from a specified volume or from a QCOW2 file. Create a snapshot from a specified volume or from a QCOW2 file in a specified Availability Zone.
The request CreateSnapshotRequest
A Promise of CreateSnapshotResponse
Create a volume. Create a volume of a specified type in an Availability Zone.
The request CreateVolumeRequest
A Promise of CreateVolumeResponse
Delete an Instance image. Delete the image with the specified ID.
The request DeleteImageRequest
Delete a flexible IP. Delete the IP with the specified ID.
The request DeleteIpRequest
Delete the specified placement group.
The request DeletePlacementGroupRequest
Delete a private NIC.
The request DeletePrivateNICRequest
Delete a security group. Delete a security group with the specified ID.
The request DeleteSecurityGroupRequest
Delete rule. Delete a security group rule with the specified ID.
The request DeleteSecurityGroupRuleRequest
Delete an Instance. Delete the Instance with the specified ID.
The request DeleteServerRequest
Delete user data. Delete the specified key from an Instance's user data.
The request DeleteServerUserDataRequest
Delete a snapshot. Delete the snapshot with the specified ID.
The request DeleteSnapshotRequest
Delete a volume. Delete the volume with the specified ID.
The request DeleteVolumeRequest
Detaches a volume from a server.
The request DetachVolumeRequest
A Promise of DetachVolumeResponse
Export a snapshot. Export a snapshot to a specified Object Storage bucket in the same region.
The request ExportSnapshotRequest
A Promise of ExportSnapshotResponse
Get an Instance image. Get details of an image with the specified ID.
The request GetImageRequest
A Promise of GetImageResponse
Get a flexible IP. Get details of an IP with the specified ID or address.
The request GetIpRequest
A Promise of GetIpResponse
Get a placement group. Get the specified placement group.
The request GetPlacementGroupRequest
A Promise of GetPlacementGroupResponse
Get placement group servers. Get all Instances belonging to the specified placement group.
The request GetPlacementGroupServersRequest
A Promise of GetPlacementGroupServersResponse
Get a private NIC. Get private NIC properties.
The request GetPrivateNICRequest
A Promise of GetPrivateNICResponse
Get a security group. Get the details of a security group with the specified ID.
The request GetSecurityGroupRequest
A Promise of GetSecurityGroupResponse
Get rule. Get details of a security group rule with the specified ID.
The request GetSecurityGroupRuleRequest
A Promise of GetSecurityGroupRuleResponse
Get an Instance. Get the details of a specified Instance.
The request GetServerRequest
A Promise of GetServerResponse
Get availability. Get availability for all Instance types.
The request GetServerTypesAvailabilityRequest
A Promise of GetServerTypesAvailabilityResponse
Get the content of a user data on a server for the given key.
The request GetServerUserDataRequest
The content of the key
Get a snapshot. Get details of a snapshot with the specified ID.
The request GetSnapshotRequest
A Promise of GetSnapshotResponse
Get a volume. Get details of a volume with the specified ID.
The request GetVolumeRequest
A Promise of GetVolumeResponse
Get default rules. Lists the default rules applied to all the security groups.
The request ListDefaultSecurityGroupRulesRequest
A Promise of ListSecurityGroupRulesResponse
List Instance images. List all existing Instance images.
The request ListImagesRequest
A Promise of ListImagesResponse
List all flexible IPs. List all flexible IPs in a specified zone.
The request ListIpsRequest
A Promise of ListIpsResponse
List placement groups. List all placement groups in a specified Availability Zone.
The request ListPlacementGroupsRequest
A Promise of ListPlacementGroupsResponse
List all private NICs. List all private NICs of a specified Instance.
The request ListPrivateNICsRequest
A Promise of ListPrivateNICsResponse
List rules. List the rules of the a specified security group ID.
The request ListSecurityGroupRulesRequest
A Promise of ListSecurityGroupRulesResponse
List security groups. List all existing security groups.
The request ListSecurityGroupsRequest
A Promise of ListSecurityGroupsResponse
List Instance actions. List all actions (e.g. power on, power off, reboot) that can currently be performed on an Instance.
The request ListServerActionsRequest
A Promise of ListServerActionsResponse
List user data. List all user data keys registered on a specified Instance.
The request ListServerUserDataRequest
A Promise of ListServerUserDataResponse
List all Instances. List all Instances in a specified Availability Zone,
e.g. fr-par-1
.
The request ListServersRequest
A Promise of ListServersResponse
List Instance types. List available Instance types and their technical details.
The request ListServersTypesRequest
A Promise of ListServersTypesResponse
List snapshots. List all snapshots of an Organization in a specified Availability Zone.
The request ListSnapshotsRequest
A Promise of ListSnapshotsResponse
List volumes. List volumes in the specified Availability Zone. You can filter the output by volume type.
The request ListVolumesRequest
A Promise of ListVolumesResponse
List volume types. List all volume types and their technical details.
The request ListVolumesTypesRequest
A Promise of ListVolumesTypesResponse
Get a volume or snapshot's migration plan. Given a volume or snapshot, returns the migration plan for a call to the "Apply a migration plan" endpoint. This plan will include zero or one volume, and zero or more snapshots, which will need to be migrated together. This endpoint does not perform the actual migration itself, the "Apply a migration plan" endpoint must be used. The validation_key value returned by this endpoint must be provided to the call to the "Apply a migration plan" endpoint to confirm that all resources listed in the plan should be migrated.
The request PlanBlockMigrationRequest
A Promise of MigrationPlan
Perform action. Perform an action on an Instance. Available actions are:
poweron
: Start a stopped Instance. poweroff
: Fully stop the Instance
and release the hypervisor slot. stop_in_place
: Stop the Instance, but
keep the slot on the hypervisor. reboot
: Stop the instance and restart
it. backup
: Create an image with all the volumes of an Instance.
terminate
: Delete the Instance along with its attached volumes, except
for SBS volumes. enable_routed_ip
: Migrate the Instance to the new
network stack.
Keep in mind that terminate
an Instance will result in the deletion of
l_ssd
, b_ssd
and scratch
volumes types, sbs_volume
volumes type
will only be detached. If you want to preserve your volumes, you should
detach them before the Instance deletion or terminate
action.
The request ServerActionRequest
A Promise of ServerActionResponse
Starts an action and wait for the server to be in the correct "terminal state" expected by this action.
The request ServerActionRequest
Optional
options: Readonly<WaitForOptions<Instance.v1.Server>>A Promise of Server
Set placement group. Set all parameters of the specified placement group.
The request SetPlacementGroupRequest
A Promise of SetPlacementGroupResponse
Set placement group servers. Set all Instances belonging to the specified placement group.
The request SetPlacementGroupServersRequest
A Promise of SetPlacementGroupServersResponse
Update all the rules of a security group. Replaces the existing rules of the security group with the rules provided. This endpoint supports the update of existing rules, creation of new rules and deletion of existing rules when they are not passed in the request.
The request SetSecurityGroupRulesRequest
A Promise of SetSecurityGroupRulesResponse
Sets the content of a user data on a server for the given key.
The request SetServerUserDataRequest
Update image. Update the properties of an image.
The request UpdateImageRequest
A Promise of UpdateImageResponse
Update a flexible IP. Update a flexible IP in the specified zone with the specified ID.
The request UpdateIpRequest
A Promise of UpdateIpResponse
Update a placement group. Update one or more parameter of the specified placement group.
The request UpdatePlacementGroupRequest
A Promise of UpdatePlacementGroupResponse
Update placement group servers. Update all Instances belonging to the specified placement group.
The request UpdatePlacementGroupServersRequest
A Promise of UpdatePlacementGroupServersResponse
Update a private NIC. Update one or more parameter(s) of a specified private NIC.
The request UpdatePrivateNICRequest
A Promise of PrivateNIC
Update a security group. Update the properties of security group.
The request UpdateSecurityGroupRequest
A Promise of UpdateSecurityGroupResponse
Update security group rule. Update the properties of a rule from a specified security group.
The request UpdateSecurityGroupRuleRequest
A Promise of UpdateSecurityGroupRuleResponse
Updates a server.
The request UpdateServerRequest
A Promise of UpdateServerResponse
Update a snapshot. Update the properties of a snapshot.
The request UpdateSnapshotRequest
A Promise of UpdateSnapshotResponse
Update a volume. Replace the name and/or size properties of a volume
specified by its ID, with the specified value(s). Any volume name can be
changed, however only b_ssd
volumes can currently be increased in size.
The request UpdateVolumeRequest
A Promise of UpdateVolumeResponse
Waits for Image to be in a final state.
The request GetImageRequest
Optional
options: Readonly<WaitForOptions<Instance.v1.Image>>The waiting options
A Promise of Image
Waits for PrivateNIC to be in a final state.
The request GetPrivateNICRequest
Optional
options: Readonly<WaitForOptions<PrivateNIC>>The waiting options
A Promise of PrivateNIC
Waits for Server to be in a final state.
The request GetServerRequest
Optional
options: Readonly<WaitForOptions<Instance.v1.Server>>The waiting options
A Promise of Server
Waits for Server to be in a final state.
The request GetServerRequest
Optional
options: Readonly<WaitForOptions<Instance.v1.Snapshot>>The waiting options
A Promise of Server
Waits for Volume to be in a final state.
The request GetVolumeRequest
Optional
options: Readonly<WaitForOptions<Instance.v1.Volume>>The waiting options
A Promise of Volume
Lists the available zones of the API.