LaunchCreateVolumeDetails¶
-
class
oci.core.models.
LaunchCreateVolumeDetails
(**kwargs)¶ Bases:
object
Define a volume that will be created and attached or attached to an instance on creation.
Attributes
VOLUME_CREATION_TYPE_ATTRIBUTES
A constant which can be used with the volume_creation_type property of a LaunchCreateVolumeDetails. volume_creation_type
[Required] Gets the volume_creation_type of this LaunchCreateVolumeDetails. Methods
__init__
(**kwargs)Initializes a new LaunchCreateVolumeDetails 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. -
VOLUME_CREATION_TYPE_ATTRIBUTES
= 'ATTRIBUTES'¶ A constant which can be used with the volume_creation_type property of a LaunchCreateVolumeDetails. This constant has a value of “ATTRIBUTES”
-
__init__
(**kwargs)¶ Initializes a new LaunchCreateVolumeDetails 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:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: volume_creation_type (str) – The value to assign to the volume_creation_type property of this LaunchCreateVolumeDetails. Allowed values for this property are: “ATTRIBUTES”
-
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.
-
volume_creation_type
¶ [Required] Gets the volume_creation_type of this LaunchCreateVolumeDetails. Specifies the method for volume creation.
Allowed values for this property are: “ATTRIBUTES”
Returns: The volume_creation_type of this LaunchCreateVolumeDetails. Return type: str
-