InventoryItem 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.
Defines the inventory item.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.InventoryItemTypeConverter))]
public class InventoryItem : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IInventoryItem, Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.InventoryItemTypeConverter))>]
type InventoryItem = class
interface IInventoryItem
interface IJsonSerializable
interface IProxyResource
interface IResource
interface IValidates
Public Class InventoryItem
Implements IInventoryItem, IValidates
- Inheritance
-
InventoryItem
- Attributes
- Implements
Constructors
InventoryItem() |
Creates an new InventoryItem instance. |
Properties
Id |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
InventoryType |
They inventory type. |
Kind |
Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. |
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. |
Name |
The name of the resource |
Property |
Resource properties. |
ProvisioningState |
Gets the provisioning state. |
ResourceGroupName |
Gets the resource group name |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
SystemDataCreatedBy |
The identity that created the resource. |
SystemDataCreatedByType |
The type of identity that created the resource. |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
SystemDataLastModifiedBy |
The identity that last modified the resource. |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of InventoryItem. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of InventoryItem. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IInventoryItem. |
FromJsonString(String) |
Creates a new instance of InventoryItem, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of InventoryItem into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |