Partilhar via


VCenterInventoryItemData Class

Definition

A class representing the VCenterInventoryItem data model. Defines the inventory item.

public class VCenterInventoryItemData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ConnectedVMwarevSphere.VCenterInventoryItemData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ConnectedVMwarevSphere.VCenterInventoryItemData>
type VCenterInventoryItemData = class
    inherit ResourceData
    interface IJsonModel<VCenterInventoryItemData>
    interface IPersistableModel<VCenterInventoryItemData>
Public Class VCenterInventoryItemData
Inherits ResourceData
Implements IJsonModel(Of VCenterInventoryItemData), IPersistableModel(Of VCenterInventoryItemData)
Inheritance
VCenterInventoryItemData
Implements

Constructors

VCenterInventoryItemData(VCenterInventoryType)

Initializes a new instance of VCenterInventoryItemData.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
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.

(Inherited from ResourceData)
ProvisioningState

Gets the provisioning state.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<VCenterInventoryItemData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VCenterInventoryItemData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VCenterInventoryItemData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VCenterInventoryItemData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VCenterInventoryItemData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to