你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ScVmmInventoryItemData Class

Definition

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

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

Constructors

ScVmmInventoryItemData(ScVmmInventoryItemProperties)

Initializes a new instance of ScVmmInventoryItemData.

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.

Name

The name of the resource.

(Inherited from ResourceData)
Properties

Resource properties. Please note ScVmmInventoryItemProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CloudInventoryItem, VirtualMachineInventoryItem, VirtualMachineTemplateInventoryItem and VirtualNetworkInventoryItem.

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<ScVmmInventoryItemData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScVmmInventoryItemData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScVmmInventoryItemData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScVmmInventoryItemData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScVmmInventoryItemData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to