Language

VmInfo Class

Definition

The properties of information of a VM.

public class VmInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CommvaultContentStore.Models.VmInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CommvaultContentStore.Models.VmInfo>
type VmInfo = class
    interface IJsonModel<VmInfo>
    interface IPersistableModel<VmInfo>
Public Class VmInfo
Implements IJsonModel(Of VmInfo), IPersistableModel(Of VmInfo)
Inheritance
VmInfo
Implements

Constructors

Name Description
VmInfo(String, String)

Initializes a new instance of VmInfo.

Properties

Name Description
Name

The name of the VM.

NetworkId

The network Id of the VM.

Region

The region of the VM.

ResourceGroup

The resource group of the VM.

ShouldAttachAndSwapOSDisk

The identifier to check if to attach and swap disk of the VM.

ShouldPowerOnVmAfterRestore

The identifier to check if VM needs to be powered on.

SourceVmGuid

The GUID of VM to be restored.

StorageAccountId

The storage account to be used for restore.

SubnetId

The subnet Id of the VM.

TargetVmGuid

The GUID of target VM used in DISK ATTACH.

VmTags

The vmTag of the VM.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<VmInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VmInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VmInfo>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VmInfo>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VmInfo>.Write(ModelReaderWriterOptions)

Applies to