共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.VMwareCbtProtectedDiskDetails Method

Definition

Initializes a new instance of VMwareCbtProtectedDiskDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtProtectedDiskDetails VMwareCbtProtectedDiskDetails (string diskId = default, string diskName = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskAccountType? diskType = default, string diskPath = default, string isOSDisk = default, long? capacityInBytes = default, Azure.Core.ResourceIdentifier logStorageAccountId = default, string logStorageAccountSasSecretName = default, Azure.Core.ResourceIdentifier diskEncryptionSetId = default, string seedManagedDiskId = default, Uri seedBlobUri = default, string targetManagedDiskId = default, Uri targetBlobUri = default, string targetDiskName = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.GatewayOperationDetails gatewayOperationDetails = default);
static member VMwareCbtProtectedDiskDetails : string * string * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskAccountType> * string * string * Nullable<int64> * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * string * Uri * string * Uri * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.GatewayOperationDetails -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtProtectedDiskDetails
Public Shared Function VMwareCbtProtectedDiskDetails (Optional diskId As String = Nothing, Optional diskName As String = Nothing, Optional diskType As Nullable(Of SiteRecoveryDiskAccountType) = Nothing, Optional diskPath As String = Nothing, Optional isOSDisk As String = Nothing, Optional capacityInBytes As Nullable(Of Long) = Nothing, Optional logStorageAccountId As ResourceIdentifier = Nothing, Optional logStorageAccountSasSecretName As String = Nothing, Optional diskEncryptionSetId As ResourceIdentifier = Nothing, Optional seedManagedDiskId As String = Nothing, Optional seedBlobUri As Uri = Nothing, Optional targetManagedDiskId As String = Nothing, Optional targetBlobUri As Uri = Nothing, Optional targetDiskName As String = Nothing, Optional gatewayOperationDetails As GatewayOperationDetails = Nothing) As VMwareCbtProtectedDiskDetails

Parameters

diskId
String

The disk id.

diskName
String

The disk name.

diskType
Nullable<SiteRecoveryDiskAccountType>

The disk type.

diskPath
String

The disk path.

isOSDisk
String

A value indicating whether the disk is the OS disk.

capacityInBytes
Nullable<Int64>

The disk capacity in bytes.

logStorageAccountId
ResourceIdentifier

The log storage account ARM Id.

logStorageAccountSasSecretName
String

The key vault secret name of the log storage account.

diskEncryptionSetId
ResourceIdentifier

The DiskEncryptionSet ARM Id.

seedManagedDiskId
String

The ARM Id of the seed managed disk.

seedBlobUri
Uri

The uri of the seed blob.

targetManagedDiskId
String

The ARM Id of the target managed disk.

targetBlobUri
Uri

The uri of the target blob.

targetDiskName
String

The name for the target managed disk.

gatewayOperationDetails
GatewayOperationDetails

A value indicating the gateway operation details.

Returns

A new VMwareCbtProtectedDiskDetails instance for mocking.

Applies to