Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.A2AProtectedManagedDiskDetails Method

Definition

Initializes a new instance of A2AProtectedManagedDiskDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectedManagedDiskDetails A2AProtectedManagedDiskDetails (string diskId = default, Azure.Core.ResourceIdentifier recoveryResourceGroupId = default, Azure.Core.ResourceIdentifier recoveryTargetDiskId = default, Azure.Core.ResourceIdentifier recoveryReplicaDiskId = default, Azure.Core.ResourceIdentifier recoveryOrignalTargetDiskId = default, string recoveryReplicaDiskAccountType = default, string recoveryTargetDiskAccountType = default, Azure.Core.ResourceIdentifier recoveryDiskEncryptionSetId = default, Azure.Core.ResourceIdentifier primaryDiskEncryptionSetId = default, string diskName = default, long? diskCapacityInBytes = default, Azure.Core.ResourceIdentifier primaryStagingAzureStorageAccountId = default, string diskType = default, bool? isResyncRequired = default, int? monitoringPercentageCompletion = default, string monitoringJobType = default, double? dataPendingInStagingStorageAccountInMB = default, double? dataPendingAtSourceAgentInMB = default, string diskState = default, System.Collections.Generic.IEnumerable<string> allowedDiskLevelOperation = default, bool? isDiskEncrypted = default, string secretIdentifier = default, Azure.Core.ResourceIdentifier dekKeyVaultArmId = default, bool? isDiskKeyEncrypted = default, string keyIdentifier = default, Azure.Core.ResourceIdentifier kekKeyVaultArmId = default, string failoverDiskName = default, string tfoDiskName = default);
static member A2AProtectedManagedDiskDetails : string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Nullable<int64> * Azure.Core.ResourceIdentifier * string * Nullable<bool> * Nullable<int> * string * Nullable<double> * Nullable<double> * string * seq<string> * Nullable<bool> * string * Azure.Core.ResourceIdentifier * Nullable<bool> * string * Azure.Core.ResourceIdentifier * string * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectedManagedDiskDetails
Public Shared Function A2AProtectedManagedDiskDetails (Optional diskId As String = Nothing, Optional recoveryResourceGroupId As ResourceIdentifier = Nothing, Optional recoveryTargetDiskId As ResourceIdentifier = Nothing, Optional recoveryReplicaDiskId As ResourceIdentifier = Nothing, Optional recoveryOrignalTargetDiskId As ResourceIdentifier = Nothing, Optional recoveryReplicaDiskAccountType As String = Nothing, Optional recoveryTargetDiskAccountType As String = Nothing, Optional recoveryDiskEncryptionSetId As ResourceIdentifier = Nothing, Optional primaryDiskEncryptionSetId As ResourceIdentifier = Nothing, Optional diskName As String = Nothing, Optional diskCapacityInBytes As Nullable(Of Long) = Nothing, Optional primaryStagingAzureStorageAccountId As ResourceIdentifier = Nothing, Optional diskType As String = Nothing, Optional isResyncRequired As Nullable(Of Boolean) = Nothing, Optional monitoringPercentageCompletion As Nullable(Of Integer) = Nothing, Optional monitoringJobType As String = Nothing, Optional dataPendingInStagingStorageAccountInMB As Nullable(Of Double) = Nothing, Optional dataPendingAtSourceAgentInMB As Nullable(Of Double) = Nothing, Optional diskState As String = Nothing, Optional allowedDiskLevelOperation As IEnumerable(Of String) = Nothing, Optional isDiskEncrypted As Nullable(Of Boolean) = Nothing, Optional secretIdentifier As String = Nothing, Optional dekKeyVaultArmId As ResourceIdentifier = Nothing, Optional isDiskKeyEncrypted As Nullable(Of Boolean) = Nothing, Optional keyIdentifier As String = Nothing, Optional kekKeyVaultArmId As ResourceIdentifier = Nothing, Optional failoverDiskName As String = Nothing, Optional tfoDiskName As String = Nothing) As A2AProtectedManagedDiskDetails

Parameters

diskId
String

The managed disk Arm id.

recoveryResourceGroupId
ResourceIdentifier

The recovery disk resource group Arm Id.

recoveryTargetDiskId
ResourceIdentifier

Recovery target disk Arm Id.

recoveryReplicaDiskId
ResourceIdentifier

Recovery replica disk Arm Id.

recoveryOrignalTargetDiskId
ResourceIdentifier

Recovery original target disk Arm Id.

recoveryReplicaDiskAccountType
String

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

recoveryTargetDiskAccountType
String

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

recoveryDiskEncryptionSetId
ResourceIdentifier

The recovery disk encryption set Id.

primaryDiskEncryptionSetId
ResourceIdentifier

The primary disk encryption set Id.

diskName
String

The disk name.

diskCapacityInBytes
Nullable<Int64>

The disk capacity in bytes.

primaryStagingAzureStorageAccountId
ResourceIdentifier

The primary staging storage account.

diskType
String

The type of disk.

isResyncRequired
Nullable<Boolean>

A value indicating whether resync is required for this disk.

monitoringPercentageCompletion
Nullable<Int32>

The percentage of the monitoring job. The type of the monitoring job is defined by MonitoringJobType property.

monitoringJobType
String

The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion property.

dataPendingInStagingStorageAccountInMB
Nullable<Double>

The data pending for replication in MB at staging account.

dataPendingAtSourceAgentInMB
Nullable<Double>

The data pending at source virtual machine in MB.

diskState
String

The disk state.

allowedDiskLevelOperation
IEnumerable<String>

The disk level operations list.

isDiskEncrypted
Nullable<Boolean>

A value indicating whether vm has encrypted os disk or not.

secretIdentifier
String

The secret URL / identifier (BEK).

dekKeyVaultArmId
ResourceIdentifier

The KeyVault resource id for secret (BEK).

isDiskKeyEncrypted
Nullable<Boolean>

A value indicating whether disk key got encrypted or not.

keyIdentifier
String

The key URL / identifier (KEK).

kekKeyVaultArmId
ResourceIdentifier

The KeyVault resource id for key (KEK).

failoverDiskName
String

The failover name for the managed disk.

tfoDiskName
String

The test failover name for the managed disk.

Returns

A new A2AProtectedManagedDiskDetails instance for mocking.

Applies to