Dela via


A2AProtectionIntentManagedDiskDetails Class

Definition

Azure VM managed disk input details.

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

Constructors

A2AProtectionIntentManagedDiskDetails(String)

Initializes a new instance of A2AProtectionIntentManagedDiskDetails.

Properties

DiskEncryptionInfo

The recovery disk encryption information (for one / single pass flows).

DiskId

The disk Id.

PrimaryStagingStorageAccountCustomContent

The primary staging storage account input. Please note StorageAccountCustomDetails 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 ExistingStorageAccount.

RecoveryDiskEncryptionSetId

The recovery disk encryption set Id.

RecoveryReplicaDiskAccountType

The replica disk type. Its an optional value and will be same as source disk type if not user provided.

RecoveryResourceGroupCustomContent

The recovery resource group input. Please note RecoveryResourceGroupCustomDetails 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 ExistingRecoveryResourceGroup.

RecoveryTargetDiskAccountType

The target disk type after failover. Its an optional value and will be same as source disk type if not user provided.

Explicit Interface Implementations

IJsonModel<A2AProtectionIntentManagedDiskDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<A2AProtectionIntentManagedDiskDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<A2AProtectionIntentManagedDiskDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<A2AProtectionIntentManagedDiskDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<A2AProtectionIntentManagedDiskDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to