DatastoreInventoryItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The datastore inventory item.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.DatastoreInventoryItemTypeConverter))]
public class DatastoreInventoryItem : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IDatastoreInventoryItem, Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.DatastoreInventoryItemTypeConverter))>]
type DatastoreInventoryItem = class
interface IDatastoreInventoryItem
interface IJsonSerializable
interface IInventoryItemProperties
interface IValidates
Public Class DatastoreInventoryItem
Implements IDatastoreInventoryItem, IValidates
- Inheritance
-
DatastoreInventoryItem
- Attributes
- Implements
Constructors
DatastoreInventoryItem() |
Creates an new DatastoreInventoryItem instance. |
Properties
CapacityGb |
Gets or sets Maximum capacity of this datastore, in GBs. |
FreeSpaceGb |
Gets or sets Available space of this datastore, in GBs. |
InventoryType |
They inventory type. |
ManagedResourceId |
Gets or sets the tracked resource id corresponding to the inventory resource. |
MoName |
Gets or sets the vCenter Managed Object name for the inventory item. |
MoRefId |
Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. |
ProvisioningState |
Gets the provisioning state. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of DatastoreInventoryItem. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of DatastoreInventoryItem. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IDatastoreInventoryItem. |
FromJsonString(String) |
Creates a new instance of DatastoreInventoryItem, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of DatastoreInventoryItem into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |