共用方式為


ArmRecoveryServicesBackupModelFactory.PreValidateEnableBackupResult Method

Definition

Initializes a new instance of PreValidateEnableBackupResult.

public static Azure.ResourceManager.RecoveryServicesBackup.Models.PreValidateEnableBackupResult PreValidateEnableBackupResult (Azure.ResourceManager.RecoveryServicesBackup.Models.BackupValidationStatus? status = default, string errorCode = default, string errorMessage = default, string recommendation = default, string containerName = default, string protectedItemName = default);
static member PreValidateEnableBackupResult : Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupValidationStatus> * string * string * string * string * string -> Azure.ResourceManager.RecoveryServicesBackup.Models.PreValidateEnableBackupResult
Public Shared Function PreValidateEnableBackupResult (Optional status As Nullable(Of BackupValidationStatus) = Nothing, Optional errorCode As String = Nothing, Optional errorMessage As String = Nothing, Optional recommendation As String = Nothing, Optional containerName As String = Nothing, Optional protectedItemName As String = Nothing) As PreValidateEnableBackupResult

Parameters

status
Nullable<BackupValidationStatus>

Validation Status.

errorCode
String

Response error code.

errorMessage
String

Response error message.

recommendation
String

Recommended action for user.

containerName
String

Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required for portal

protectedItemName
String

Specifies the product specific ds name. E.g. vm;iaasvmcontainer;rgname;vmname. This is required for portal.

Returns

A new PreValidateEnableBackupResult instance for mocking.

Applies to