Class BackupExecStorageDevice
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a Backup Exec storage device.
public class BackupExecStorageDevice : GlobalSerializableClassicBase, IComparable<BackupExecStorageDevice>
- Inheritance
-
BackupExecStorageDevice
- Implements
- Derived
Constructors
BackupExecStorageDevice()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.BackupExecStorageDevice class.
public BackupExecStorageDevice()
Properties
Description
Gets or sets the description of the storage device.
public string Description { get; set; }
Property Value
DeviceType
Gets or sets the storage device type.
public BackupExecStorageDeviceType DeviceType { get; set; }
Property Value
DeviceTypeString
Gets the storage device type as a human readable string.
public string DeviceTypeString { get; set; }
Property Value
Id
Gets or sets the unique identifier of the storage device in GUID format.
public string Id { get; set; }
Property Value
IsDiskDevice
Gets whether the device is a disk device.
public BooleanOption IsDiskDevice { get; }
Property Value
IsStoragePool
Gets or sets whether the device is a storage pool.
public BooleanOption IsStoragePool { get; set; }
Property Value
IsTapeDevice
Gets whether the device is a tape device.
public BooleanOption IsTapeDevice { get; }
Property Value
Name
Gets or sets the name of the storage device.
public string Name { get; set; }
Property Value
State
Gets or sets the state of the device at the time of the scan.
public BackupExecStorageDeviceState State { get; set; }
Property Value
StateString
Gets the state of the device at the time of the scan as a human readable string.
public string StateString { get; set; }
Property Value
SupportsDeviceState
Gets whether the device supports a device state.
public BooleanOption SupportsDeviceState { get; }
Property Value
Methods
CompareTo(BackupExecStorageDevice)
Compares two CENTREL.XIA.Configuration.Types.BackupExecStorageDevice objects to allow sorting alphabetically by name.
public int CompareTo(BackupExecStorageDevice other)
Parameters
other
BackupExecStorageDeviceThe CENTREL.XIA.Configuration.Types.BackupExecStorageDevice to compare to.
Returns
- int
The sort order of the two items.
CreateFromDeviceType(BackupExecStorageDeviceType)
Creates a new BackupExecStorageDevice given the specified type enumeration value.
public static BackupExecStorageDevice CreateFromDeviceType(BackupExecStorageDeviceType deviceType)
Parameters
deviceType
BackupExecStorageDeviceTypeThe CENTREL.XIA.Configuration.Types.BackupExecStorageDeviceType of the device to create.
Returns
- BackupExecStorageDevice
A new CENTREL.XIA.Configuration.Types.BackupExecStorageDevice.