ArmRecoveryServicesBackupModelFactory.BackupStatusResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BackupStatusResult.
public static Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusResult BackupStatusResult (Azure.ResourceManager.RecoveryServicesBackup.Models.BackupProtectionStatus? protectionStatus = default, Azure.Core.ResourceIdentifier vaultId = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupFabricName? fabricName = default, string containerName = default, string protectedItemName = default, string errorCode = default, string errorMessage = default, string policyName = default, string registrationStatus = default, int? protectedItemsCount = default, Azure.ResourceManager.RecoveryServicesBackup.Models.AcquireStorageAccountLock? acquireStorageAccountLock = default);
static member BackupStatusResult : Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupProtectionStatus> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupFabricName> * string * string * string * string * string * string * Nullable<int> * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.AcquireStorageAccountLock> -> Azure.ResourceManager.RecoveryServicesBackup.Models.BackupStatusResult
Public Shared Function BackupStatusResult (Optional protectionStatus As Nullable(Of BackupProtectionStatus) = Nothing, Optional vaultId As ResourceIdentifier = Nothing, Optional fabricName As Nullable(Of BackupFabricName) = Nothing, Optional containerName As String = Nothing, Optional protectedItemName As String = Nothing, Optional errorCode As String = Nothing, Optional errorMessage As String = Nothing, Optional policyName As String = Nothing, Optional registrationStatus As String = Nothing, Optional protectedItemsCount As Nullable(Of Integer) = Nothing, Optional acquireStorageAccountLock As Nullable(Of AcquireStorageAccountLock) = Nothing) As BackupStatusResult
Parameters
- protectionStatus
- Nullable<BackupProtectionStatus>
Specifies whether the container is registered or not.
- vaultId
- ResourceIdentifier
Specifies the arm resource id of the vault.
- fabricName
- Nullable<BackupFabricName>
Specifies the fabric name - Azure or AD.
- containerName
- String
Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;csname;vmname.
- protectedItemName
- String
Specifies the product specific ds name. E.g. vm;iaasvmcontainer;csname;vmname.
- errorCode
- String
ErrorCode in case of intent failed.
- errorMessage
- String
ErrorMessage in case of intent failed.
- policyName
- String
Specifies the policy name which is used for protection.
- registrationStatus
- String
Container registration status.
- acquireStorageAccountLock
- Nullable<AcquireStorageAccountLock>
Specifies whether the storage account lock has been acquired or not.
Returns
A new BackupStatusResult instance for mocking.
Applies to
Azure SDK for .NET