Click or drag to resize

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)
Syntax
public StoragePolicy(
	string pID,
	string pName,
	string pValue,
	string pStatus,
	string pTimeOfCheck
)

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