Share via


A2ASwitchProtectionContent Class

Definition

A2A specific switch protection input.

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

Constructors

A2ASwitchProtectionContent()

Initializes a new instance of A2ASwitchProtectionContent.

Properties

DiskEncryptionInfo

The recovery disk encryption information.

PolicyId

The Policy Id.

RecoveryAvailabilitySetId

The recovery availability set.

RecoveryAvailabilityZone

The recovery availability zone.

RecoveryBootDiagStorageAccountId

The boot diagnostic storage account.

RecoveryCapacityReservationGroupId

The recovery capacity reservation group Id.

RecoveryCloudServiceId

The recovery cloud service Id. Valid for V1 scenarios.

RecoveryContainerId

The recovery container Id.

RecoveryProximityPlacementGroupId

The recovery proximity placement group Id.

RecoveryResourceGroupId

The recovery resource group Id. Valid for V2 scenarios.

RecoveryVirtualMachineScaleSetId

The virtual machine scale set id.

VmDisks

The list of vm disk details.

VmManagedDisks

The list of vm managed disk details.

Explicit Interface Implementations

IJsonModel<A2ASwitchProtectionContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<A2ASwitchProtectionContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SwitchProtectionProviderSpecificContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from SwitchProtectionProviderSpecificContent)
IPersistableModel<A2ASwitchProtectionContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<A2ASwitchProtectionContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<A2ASwitchProtectionContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SwitchProtectionProviderSpecificContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from SwitchProtectionProviderSpecificContent)

Applies to