VolumeDetails

class oci.database.models.VolumeDetails(**kwargs)

Bases: object

Details of the volume.

Methods:

__init__(**kwargs)

Initializes a new VolumeDetails object with values from keyword arguments.

Attributes:

name

[Required] Gets the name of this VolumeDetails.

size

Gets the size of this VolumeDetails.

__init__(**kwargs)

Initializes a new VolumeDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • name (str) – The value to assign to the name property of this VolumeDetails.

  • size (int) – The value to assign to the size property of this VolumeDetails.

property name

[Required] Gets the name of this VolumeDetails. Volume Name

Returns

The name of this VolumeDetails.

Return type

str

property size

Gets the size of this VolumeDetails. Volume Size

Returns

The size of this VolumeDetails.

Return type

int