VolumeSourceDetails¶
-
class
oci.core.models.
VolumeSourceDetails
(**kwargs)¶ Bases:
object
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. 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.
Methods
__init__
(**kwargs)Initializes a new VolumeSourceDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. Attributes
type
[Required] Gets the type of this VolumeSourceDetails. -
__init__
(**kwargs)¶ Initializes a new VolumeSourceDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
VolumeSourceFromBlockVolumeReplicaDetails
VolumeSourceFromVolumeDetails
VolumeSourceFromVolumeBackupDetails
VolumeSourceFromVolumeBackupDeltaDetails
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: type (str) – The value to assign to the type property of this VolumeSourceDetails.
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
type
¶ [Required] Gets the type of this VolumeSourceDetails.
Returns: The type of this VolumeSourceDetails. Return type: str
-