Get a Volume

get

/20160918/volumes/{volume_id}

Get information for the specified volume.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

The volume's information has been retrieved.
Headers
  • For optimistic concurrency control. See `if-match`.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Volume
Type: object
A detachable block volume device that allows you to dynamically expand the storage capacity of an instance. Avoid entering confidential information when you supply string values using the API.
Show Source
  • The number of Volume Performance Units per GB that this volume is effectively tuned to.
  • autotunePolicies
    Unique Items Required: true
    The list of autotune policies enabled for this volume.
  • Minimum Length: 1
    Maximum Length: 255
    The availability domain of the volume. Example: AD-1
  • blockVolumeReplicas
    The list of block volume replicas of this volume.
  • Minimum Length: 1
    Maximum Length: 255
    The clusterPlacementGroup ID of the volume for volume placement.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the compartment that contains the volume.
  • definedTags
    Additional Properties Allowed: additionalProperties
    Defined tags for this resource. Each key is predefined and scoped to a namespace.
  • Minimum Length: 1
    Maximum Length: 255
    A user-friendly name. Does not need to be unique, and it is changeable. Avoid entering confidential information.
  • freeformTags
    Additional Properties Allowed: additionalProperties
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Example: {"Department": "Finance"}
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the volume.
  • Minimum Value: 512
    Maximum Value: 32768
    Multiple Of: 512
    The size (in Bytes) of the blocks for this block volume, between 512B to 32KB.
  • Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated. Use the DetachedVolumeAutotunePolicy instead to enable the volume for detached autotune.
  • Specifies whether the cloned volume's data has finished copying from the source volume or backup.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the Key Management key which is the master encryption key for the volume.
  • Allowed Values: [ "PROVISIONING", "RESTORING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY" ]
    The current state of a volume.
  • Default Value: PROVISIONED
    Allowed Values: [ "PROVISIONED", "PAY_PER_USAGE" ]
    The metering mode of the volume
  • The size of the volume in GBs.
  • The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
  • VolumeSourceDetails
    Discriminator: type
    Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same Availability Domain or a Block volume backup or a disk image in Object Storage. This is an optional field. If not specified or set to null, the new Block volume will be empty. When specified, the new Block volume will contain data from the source volume or backup.
  • systemTags
    Additional Properties Allowed: additionalProperties
    System tags for this resource. Each key is predefined and scoped to a namespace.
  • The date and time the volume was created. Format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the source volume group.
  • Default Value: AD_LOCAL
    Allowed Values: [ "REGIONAL", "AD_LOCAL" ]
    The scope of the volume
  • Allowed Values: [ "FULL", "THIN_CLONE" ]
    An optional field to create/promote thin clones. When it is null, regular volumes are created. A thin clone promotion to full clone (an independent volume) occurs when FULL is used in update API A thin clone is created by specifying THIN_CLONE in create request.
  • The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. Allowed values are: 0 - Lower Cost option. 10 - Balanced option. 20 - Higher Performance option.
Nested Schema : autotunePolicies
Type: array
Unique Items Required: true
The list of autotune policies enabled for this volume.
Show Source
Nested Schema : blockVolumeReplicas
Type: array
The list of block volume replicas of this volume.
Show Source
Nested Schema : definedTags
Type: object
Additional Properties Allowed
Show Source
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Nested Schema : freeformTags
Type: object
Additional Properties Allowed
Show Source
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Example: {"Department": "Finance"}
Nested Schema : VolumeSourceDetails
Type: object
Discriminator: type
Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same Availability Domain or a Block volume backup or a disk image in Object Storage. This is an optional field. If not specified or set to null, the new Block volume will be empty. When specified, the new Block volume will contain data from the source volume or backup.
Show Source
Nested Schema : systemTags
Type: object
Additional Properties Allowed
Show Source
System tags for this resource. Each key is predefined and scoped to a namespace.
Nested Schema : AutotunePolicy
Type: object
Discriminator: autotuneType
An autotune policy automatically tunes the volume's performace based on the type of the policy.
Show Source
Nested Schema : BlockVolumeReplicaInfo
Type: object
Information about the block volume replica in the destination availability domain.
Show Source
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing a defined tag key and value, scoped to a namespace. Example: `{"CostCenter": "42"}`
Nested Schema : additionalProperties
Type: object
The value of the tag. Only the String type is supported.
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing a defined tag key and value, scoped to a namespace. Example: `{"CostCenter": "42"}`
Nested Schema : additionalProperties
Type: object
The value of the tag. Only the String type is supported.

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

Default Response

An error has occurred.
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.
Back to Top