共用方式為


ScVmmInventoryItemProperties Class

Definition

Defines the 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.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ScVmm.Models.UnknownInventoryItemProperties))]
public abstract class ScVmmInventoryItemProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ScVmm.Models.ScVmmInventoryItemProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ScVmm.Models.ScVmmInventoryItemProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ScVmm.Models.UnknownInventoryItemProperties))>]
type ScVmmInventoryItemProperties = class
    interface IJsonModel<ScVmmInventoryItemProperties>
    interface IPersistableModel<ScVmmInventoryItemProperties>
Public MustInherit Class ScVmmInventoryItemProperties
Implements IJsonModel(Of ScVmmInventoryItemProperties), IPersistableModel(Of ScVmmInventoryItemProperties)
Inheritance
ScVmmInventoryItemProperties
Derived
Attributes
Implements

Constructors

ScVmmInventoryItemProperties()

Initializes a new instance of ScVmmInventoryItemProperties.

Properties

InventoryItemName

Gets the Managed Object name in VMM for the inventory item.

ManagedResourceId

Gets the tracked resource id corresponding to the inventory resource.

ProvisioningState

Provisioning state of the resource.

Uuid

Gets the UUID (which is assigned by VMM) for the inventory item.

Explicit Interface Implementations

IJsonModel<ScVmmInventoryItemProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScVmmInventoryItemProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScVmmInventoryItemProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScVmmInventoryItemProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScVmmInventoryItemProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to