Condividi tramite


VirtualMachineTemplateInventoryItem Class

Definition

The Virtual machine template inventory item.

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

Constructors

VirtualMachineTemplateInventoryItem()

Initializes a new instance of VirtualMachineTemplateInventoryItem.

Properties

CpuCount

Gets the desired number of vCPUs for the vm.

InventoryItemName

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

(Inherited from ScVmmInventoryItemProperties)
ManagedResourceId

Gets the tracked resource id corresponding to the inventory resource.

(Inherited from ScVmmInventoryItemProperties)
MemoryMB

MemoryMB is the desired size of a virtual machine's memory, in MB.

OSName

Gets os name.

OSType

Gets the type of the os.

ProvisioningState

Provisioning state of the resource.

(Inherited from ScVmmInventoryItemProperties)
Uuid

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

(Inherited from ScVmmInventoryItemProperties)

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.

(Inherited from ScVmmInventoryItemProperties)
IJsonModel<ScVmmInventoryItemProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ScVmmInventoryItemProperties)
IJsonModel<VirtualMachineTemplateInventoryItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineTemplateInventoryItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScVmmInventoryItemProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ScVmmInventoryItemProperties)
IPersistableModel<ScVmmInventoryItemProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ScVmmInventoryItemProperties)
IPersistableModel<ScVmmInventoryItemProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ScVmmInventoryItemProperties)
IPersistableModel<VirtualMachineTemplateInventoryItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineTemplateInventoryItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineTemplateInventoryItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to