• CLI

sdk
  1. Help Center
  2. CLI
  3. Developer Guide
  4. Mapping Between API and SDK
  5. Java
  6. EVS

EVS

Interface

Method

API

BlockVolumeServiceS

Volume create(Volume volume)

POST /v2/{tenant_id}/volumes

ActionResponse delete(String volumeId)

DELETE /v2/{tenant_id}/volumes/{volume_id}

ActionResponse extend(String volumeId, Integer newSize)

POST /v2/{tenant_id}/volumes/{volume_id}/action extends volume size

Volume get(String volumeId)

GET /v2/{tenant_id}/volumes/{volume_id}

List<? extends Volume> list()

GET /v2/{tenant_id}/volumes/detail

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

GET /v2/{tenant_id}/volumes/detail?limit={limit_nmuber}

GET /v2/{tenant_id}/volumes/detail?marker={volume_id}

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

PUT /v2/{tenant_id}/volumes/{volume_id}

BlockVolumeSnapshotService

ActionResponse delete(String snapshotId)

DELETE /v2/{tenant_id}/snapshots/{snapshot_id}

VolumeSnapshot get(String snapshotId)

GET /v2/{tenant_id}/snapshots/{snapshot_id}

List<? extends VolumeSnapshot> list()

GET /v2/{tenant_id}/snapshots

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

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

CinderZoneService

List<? extends AvailabilityZone> list()

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

Interface

Method

API

VolumeService

osclient.evsV2_1().volumes().create(volume)

POST /v2.1/{tenant_id}/cloudvolumes

osclient.evsV2_1().volumes().extend(extend, " volumeId")

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