Click or drag to resize

StoragePolicy Class

Storage policy data
Inheritance Hierarchy
SystemObject
  VMInfoFace.DataStoragePolicy

Namespace:  VMInfoFace.Data
Assembly:  VMInfoFace.Data (in VMInfoFace.Data.dll) Version: 21.5.28.1 (21.5.28.1171)
Syntax
public class StoragePolicy : IListDetails

The StoragePolicy type exposes the following members.

Constructors
  NameDescription
Public methodStoragePolicy
Initializes a new instance of the StoragePolicy class. Constructor without parameter
Public methodStoragePolicy(String, String, String, String, String)
Initializes a new instance of the StoragePolicy class. Constructor with parameter
Top
Properties
  NameDescription
Public propertyCapacity
Storage capacity in MB
Public propertyDetails
Storage policy all properties and value to read
Public propertyID
Storage policy key. Examples: VirtualMachine-vm-62765, VirtualMachine-vm-62765/2000
Public propertyLabel
Label of data list
Public propertyName
Storage policy name is equal field ID for list sorting
Public propertyStatus
Compliance status as enumeration: Compliant, NonCompliant, NotApplicable, Unknown, OutOfDate
Public propertyTimeOfCheck
Date and time of check this property
Public propertyValue
Name of storage policy an example: Bronze Storage
Public propertyVMHarddisk
Hard disk key
Public propertyVMName
VM key with prefix "VirtualMachine-"
Top
Remarks
VMInfoFace.Data class diagram

Data about storage policy.
An example of properties from PowerShell command Get-SpbmEntityConfiguration.

TimeOfCheck      : 23.10.2019 21:47:23
ComplianceStatus : compliant
Entity           : achsrv111040 (CSP NVIDIA License Server / ADFS)
StoragePolicy    : Bronze Storage
ReplicationGroup : 
Name             : achsrv111040 (CSP NVIDIA License Server / ADFS)
Id               : VirtualMachine-vm-62765
Uid              : /VIServer=achermann\sa-devicelistupdater@172.16.99.90:443/SpbmEntityConfiguration=VirtualMachine-vm-62765/ 

TimeOfCheck      : 23.10.2019 21:47:23
ComplianceStatus : compliant
Entity           : Hard disk 1
StoragePolicy    : Bronze Storage
ReplicationGroup : 
Name             : Hard disk 1
Id               : VirtualMachine-vm-62765/2000
Uid              : /VIServer=achermann\sa-devicelistupdater@172.16.99.90:443/SpbmEntityConfiguration=VirtualMachine-vm-62765&slash;2000/

Note Note

Property Name of PowerShell command this value save to field Label of this class because field Name to sorting the list and is equal field ID

See Also

Reference

IListDetails