EVS

The SDK interfaces based on the EVS v2 API are as follows. For details about the invoking methods, see the sample codes.

Interface

Method

API

VolumeService

String create(CloudVolumes volume)

POST /v2/{project_id}/cloudvolumes

Link

String extend(Extend extend,String volumeId)

POST /v2/{project_id}/cloudvolumes/{volume_id}/action

Link

CloudVolumeResponse list()

GET /v2/{project_id}/cloudvolumes/detail

Link

CloudVolumesResponse list(Map<String,Object> filteringParams)

GET /v2/{project_id}/cloudvolumes/detail

Link

VolumeSnapshotService

CloudVolumeSnapshotsResponse list()

GET /v2/{project_id}/cloudsnapshots/detail

Link

CloudVolumeSnapshotsResponse list(Map<String,Object> filteringParams)

GET /v2/{project_id}/cloudsnapshots/detail

Link

RollbackResponse rollback(String snapshotId)

POST /v2/{project_id}/cloudsnapshots/{snapshot_id}/rollback

Link

RollbackResponse rollback(String snapshotId, Rollback rollback)

POST /v2/{project_id}/cloudsnapshots/{snapshot_id}/rollback

Link

JobService

Job get(String job_id)

GET /v1/{project_id}/jobs/{job_id}

Link

The SDK interfaces based on the EVS v2.1 API are as follows. For details about the invoking methods, see the sample codes.

Interface

Method

API

VolumeService

AsyncRespEntity create(Volumes volume)

POST /v2.1/{project_id}/cloudvolumes

Link

AsyncRespEntity extend(Extend extend,String volumeId)

POST /v2.1/{project_id}/cloudvolumes/{volume_id}/action

Link

The SDK interfaces based on the Cinder v2 API are as follows. For details about the invoking methods, see the sample codes.

Interface

Method

API

BlockVolumeService

Volume create(Volume volume)

POST /v2/{project_id}/volumes

Link

Volume create(Volume volume, Map<String, Object> schedulerHints)

POST /v2/{project_id}/volumes

Link

Volume update(String volumeId, CinderVolumeUpdate volume)

PUT /v2/{project_id}/volumes/{volume_id}

Link

ActionResponse delete(String volumeId)

DELETE /v2/{project_id}/volumes/{volume_id}

Link

ActionResponse extend(String volumeId, Integer newSize)

POST /v2/{project_id}/volumes/{volume_id}/action

Link

Volume get(String volumeId)

GET /v2/{project_id}/volumes/{volume_id}

Link

List<? extends Volume> list()

GET /v2/{project_id}/volumes/detail

Link

List<? extends Volume> list(Map<String,String> filteringParams)

  • GET /v2/{project_id}/volumes/detail?limit={limit_nmuber}
  • GET /v2/{project_id}/volumes/detail?marker={volume_id}

Link

ActionResponse update(String volumeId, String name, String description)

PUT /v2/{project_id}/volumes/{volume_id}

Link

VolumeUploadImage uploadToImage(String volumeId, UploadImageData data)

POST /v2/{project_id}/volumes/{volume_id}/action

Link

ActionResponse readOnlyModeUpdate(String volumeId, boolean readonly)

POST /v2/{project_id}/volumes/{volume_id}/action

Link

List<? extends VolumeType> listVolumeTypes()

GET /v2/{project_id}/types

Link

BlockVolumeSnapshotService

ActionResponse delete(String snapshotId)

DELETE /v2/{project_id}/snapshots/{snapshot_id}

Link

VolumeSnapshot create(VolumeSnapshot snapshot)

POST /v2/{project_id}/snapshots

Link

ActionResponse update(String snapshotId, String name, String description)

PUT /v2/{project_id}/snapshots/{snapshot_id}

Link

VolumeSnapshot get(String snapshotId)

GET /v2/{project_id}/snapshots/{snapshot_id}

Link

List<? extends VolumeSnapshot> list()

GET /v2/{project_id}/snapshots

Link

List<? extends VolumeSnapshot> list(Map<String,String> filteringParams)

GET /v2/{project_id}/snapshots?volume_id={volume_id}

Link

CinderZoneService

List<? extends AvailabilityZone> list()

GET /v2/{project_id}/os-availability-zone

Link

BlockVolumeTransferService

List<? extends VolumeTransfer> list()

GET /v2/{project_id}/os-volume-transfer/detail

Link

List<? extends VolumeTransfer> list(boolean detailed)

  • GET /v2/{project_id}/os-volume-transfer

    Link

  • GET /v2/{project_id}/os-volume-transfer/detail

    Link

VolumeTransfer get(String transferId)

GET /v2/{project_id}/os-volume-transfer/{transfer_id}

Link

VolumeTransfer create(String volumeId)

POST /v2/{project_id}/os-volume-transfer

Link

VolumeTransfer create(String volumeId, String name)

POST /v2/{project_id}/os-volume-transfer

Link

VolumeTransfer accept(String transferId, String authKey)

POST /v2/{project_id}/os-volume-transfer/{transfer_id}/accept

Link

ActionResponse delete(String transferId)

DELETE /v2/{project_id}/os-volume-transfer/{transfer_id}

Link