StoragePolicy Constructor (String, String, String, String, String) |
Initializes a new instance of the
StoragePolicy class.
Constructor with parameter
Namespace:
VMInfoFace.Data
Assembly:
VMInfoFace.Data (in VMInfoFace.Data.dll) Version: 21.5.28.1 (21.5.28.1171)
Syntaxpublic StoragePolicy(
string pID,
string pName,
string pValue,
string pStatus,
string pTimeOfCheck
)
Public Sub New (
pID As String,
pName As String,
pValue As String,
pStatus As String,
pTimeOfCheck As String
)
Parameters
- pID
- Type: SystemString
Storage policy key. Examples: VirtualMachine-vm-62765, VirtualMachine-vm-62765/2000 - pName
- Type: SystemString
Name of entity of storage policy. Examples: achsrv111040 (CSP NVIDIA License Server / ADFS), Hard disk 1
. This value save to field Label - pValue
- Type: SystemString
Name of storage policy an example: Bronze Storage - pStatus
- Type: SystemString
Compliance status as enumeration: Compliant, NonCompliant, NotApplicable, Unknown, OutOfDate - pTimeOfCheck
- Type: SystemString
Date and time of check this property
Remarks
Parameter
pID split to properties
VMName and
VMHarddisk (if exists)
Example of IDs parameter (VM key / hard disk key)
VirtualMachine-vm-62765
VirtualMachine-vm-62765/2000
See Also