StoragePolicy Class |
Namespace: VMInfoFace.Data
The StoragePolicy type exposes the following members.
| Name | Description | |
|---|---|---|
| StoragePolicy |
Initializes a new instance of the StoragePolicy class.
Constructor without parameter
| |
| StoragePolicy(String, String, String, String, String) |
Initializes a new instance of the StoragePolicy class.
Constructor with parameter
|
| Name | Description | |
|---|---|---|
| Capacity |
Storage capacity in MB
| |
| Details |
Storage policy all properties and value to read
| |
| ID |
Storage policy key. Examples: VirtualMachine-vm-62765, VirtualMachine-vm-62765/2000
| |
| Label |
Label of data list
| |
| Name |
Storage policy name is equal field ID for list sorting
| |
| Status |
Compliance status as enumeration: Compliant, NonCompliant, NotApplicable, Unknown, OutOfDate
| |
| TimeOfCheck |
Date and time of check this property
| |
| Value |
Name of storage policy an example: Bronze Storage
| |
| VMHarddisk |
Hard disk key
| |
| VMName |
VM key with prefix "VirtualMachine-"
|

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/
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 |