Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.A2AProtectedDiskDetails Method

Definition

Initializes a new instance of A2AProtectedDiskDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectedDiskDetails A2AProtectedDiskDetails (Uri diskUri = default, Azure.Core.ResourceIdentifier recoveryAzureStorageAccountId = default, Azure.Core.ResourceIdentifier primaryDiskAzureStorageAccountId = default, Uri recoveryDiskUri = 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 A2AProtectedDiskDetails : Uri * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Uri * 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.A2AProtectedDiskDetails
Public Shared Function A2AProtectedDiskDetails (Optional diskUri As Uri = Nothing, Optional recoveryAzureStorageAccountId As ResourceIdentifier = Nothing, Optional primaryDiskAzureStorageAccountId As ResourceIdentifier = Nothing, Optional recoveryDiskUri As Uri = 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 A2AProtectedDiskDetails

Parameters

diskUri
Uri

The disk uri.

recoveryAzureStorageAccountId
ResourceIdentifier

The recovery disk storage account.

primaryDiskAzureStorageAccountId
ResourceIdentifier

The primary disk storage account.

recoveryDiskUri
Uri

Recovery disk uri.

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 A2AProtectedDiskDetails instance for mocking.

Applies to