Udostępnij za pośrednictwem


IaasVmContainer Class

Definition

IaaS VM workload-specific container. Please note IaasVmContainer 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 IaasClassicComputeVmContainer and IaasComputeVmContainer.

public class IaasVmContainer : Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectionContainer, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.IaasVmContainer>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.IaasVmContainer>
type IaasVmContainer = class
    inherit BackupGenericProtectionContainer
    interface IJsonModel<IaasVmContainer>
    interface IPersistableModel<IaasVmContainer>
Public Class IaasVmContainer
Inherits BackupGenericProtectionContainer
Implements IJsonModel(Of IaasVmContainer), IPersistableModel(Of IaasVmContainer)
Inheritance
Derived
Implements

Constructors

IaasVmContainer()

Initializes a new instance of IaasVmContainer.

Properties

BackupManagementType

Type of backup management for the container.

(Inherited from BackupGenericProtectionContainer)
FriendlyName

Friendly name of the container.

(Inherited from BackupGenericProtectionContainer)
HealthStatus

Status of health of the container.

(Inherited from BackupGenericProtectionContainer)
ProtectableObjectType

Type of the protectable object associated with this container.

(Inherited from BackupGenericProtectionContainer)
RegistrationStatus

Status of registration of the container with the Recovery Services Vault.

(Inherited from BackupGenericProtectionContainer)
ResourceGroup

Resource group name of Recovery Services Vault.

VirtualMachineId

Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.

VirtualMachineVersion

Specifies whether the container represents a Classic or an Azure Resource Manager VM.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BackupGenericProtectionContainer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from BackupGenericProtectionContainer)
IJsonModel<IaasVmContainer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IaasVmContainer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackupGenericProtectionContainer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from BackupGenericProtectionContainer)
IPersistableModel<IaasVmContainer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IaasVmContainer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IaasVmContainer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to