Device¶
-
class
oci.core.models.
Device
(**kwargs)¶ Bases:
object
Device Path corresponding to the block devices attached to instances having a name and isAvailable flag.
Methods
__init__
(**kwargs)Initializes a new Device object with values from keyword arguments. Attributes
is_available
[Required] Gets the is_available of this Device. name
[Required] Gets the name of this Device. -
__init__
(**kwargs)¶ Initializes a new Device 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 Device.
- is_available (bool) – The value to assign to the is_available property of this Device.
-
is_available
¶ [Required] Gets the is_available of this Device. The flag denoting whether device is available.
Returns: The is_available of this Device. Return type: bool
-
name
¶ [Required] Gets the name of this Device. The device name.
Returns: The name of this Device. Return type: str
-