DescribeVolumeVersions
In this article:
DescribeVolumeVersions#
Description#
Requests information about volume versions.
Request Parameters#
Filter.N — One or more filters.
Type: List of Filter objects
Required: No
VersionId.N — IDs of volume versions.
Type: Array of strings
Required: No
Supported Filters#
availability-zone — The name of the availability zone, in which the volume and its versions are placed (
ru-msk-comp1p
|ru-msk-vol51
|ru-msk-vol52
).create-time — The time when the volume version was created.
tag:<tag-key> — The key/value a pair of a tag. The tag key is passed in the filter name, while the tag value is used as the filter value.
tag-key — The tag key. The filter is used to get volume version which are assigned a tag with the specified key and any value.
version-id — The ID of the volume version.
volume-id — The ID of the volume.
Response Elements#
requestId — The request ID.
Type: String
volumeVersionSet — List of all available volume versions.
Type: List of VolumeVersion objects
Examples#
c2-ec2 DescribeVolumeVersions
c2-ec2 DescribeVolumeVersions VersionId.1 vv-01234567
c2-ec2 DescribeVolumeVersions Filter.1.Name availability-zone Filter.1.Value.1 ru-msk-vol51
c2-ec2 DescribeVolumeVersions Filter.1.Name tag:<tag-key> Filter.1.Value.1 <tag-value>
c2-ec2 DescribeVolumeVersions Filter.1.Name tag-key Filter.1.Value.1 <tag-key>