CreateVolumeVersion#

Description#

Creates a new volume version.

Request Parameters#

Required parameters#

  • VolumeId — The ID of the volume

    • Required: Yes

    • Type: String

Optional parameters#

  • TagSpecification.N — Tags assigned to the volume version when it is created

Response Elements#

  • availabilityZone — The availability zone for the volume version

    • Type: String

  • createTime — The time when the volume version was created

    • Type: Timestamp

  • requestId — The request ID

    • Type: String

  • tagSet — Tags assigned to the volume version

    • Type: List of Tag objects

  • versionId — The ID of the volume version

    • Type: String

  • volumeId — The ID of the volume

    • Type: String

Examples#

c2-ec2 CreateVolumeVersion VolumeId <vol_id>

c2-ec2 CreateVolumeVersion VolumeId <vol_id> TagSpecification.0.ResourceType "volume-version" \
                      TagSpecification.0.Tag.0.Key "tag_key" TagSpecification.0.Tag.0.Value "tag_value"