Class VMwareLicense
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual VMware license.
public class VMwareLicense : GlobalSerializableClassicBase, IComparable<VMwareLicense>
- Inheritance
-
VMwareLicense
- Implements
Constructors
VMwareLicense()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareLicense class.
public VMwareLicense()
Properties
AssetManagedObjectIdentifier
Gets or sets the managed object identifier of the asset to which the licenese is assigned.
public string AssetManagedObjectIdentifier { get; set; }
Property Value
AssetName
Gets or sets the name of the asset to which the licenese is assigned.
public string AssetName { get; set; }
Property Value
CollectionIndex
Gets the index for the license used by the data comparer.
[Browsable(false)]
public string CollectionIndex { get; }
Property Value
CostUnit
Gets or sets the cost unit for the license.
public VMwareLicenseCostUnit CostUnit { get; set; }
Property Value
CostUnitString
Gets or sets the cost unit for the license as a human readable string.
public string CostUnitString { get; set; }
Property Value
ExpiryDate
Gets or sets the expiry date for the license (optional).
public DateTime ExpiryDate { get; set; }
Property Value
ExpiryDateString
Gets or sets the expiry date for the license as a human readable string.
public string ExpiryDateString { get; set; }
Property Value
Features
Gets or sets the features assigned under this license.
public SerializableStringCollection Features { get; set; }
Property Value
- SerializableStringCollection
LicenseKey
Gets or sets the license key - for example "00000-00000-00000-00000-00000".
public string LicenseKey { get; set; }
Property Value
LicenseKeyString
Gets or sets the license key as a human readable string.
public string LicenseKeyString { get; set; }
Property Value
LicenseName
Gets or sets the display name for the license.
public string LicenseName { get; set; }
Property Value
Total
Gets or sets the total number of "CostUnit" available.
public int Total { get; set; }
Property Value
UniqueIdentifier
Gets or sets a system assigned unique identifier for the license in GUID format.
public string UniqueIdentifier { get; set; }
Property Value
Used
Gets or sets the number of "CostUnit" that are used.
public int Used { get; set; }
Property Value
Remarks
This is ignored by the data comparer as this would change for every instance of a given license.
Methods
CompareTo(VMwareLicense)
Compares two CENTREL.XIA.Configuration.Types.VMwareLicense objects to allow sorting alphabetically by asset name.
public int CompareTo(VMwareLicense other)
Parameters
other
VMwareLicenseThe CENTREL.XIA.Configuration.Types.VMwareLicense to compare to.
Returns
- int
The sort order of the two items.
ToString()
Returns the CENTREL.XIA.Configuration.Types.VMwareLicense as a human readable string.
public override string ToString()
Returns
- string
The CENTREL.XIA.Configuration.Types.VMwareLicense as a human readable string.