ProtectionIntentOperationsExtensions.ValidateAsync 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.
It will validate followings
- Vault capacity
- VM is already protected
- Any VM related configuration passed in properties.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupResponse> ValidateAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations operations, string azureRegion, Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupResponse>
<Extension()>
Public Function ValidateAsync (operations As IProtectionIntentOperations, azureRegion As String, parameters As PreValidateEnableBackupRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PreValidateEnableBackupResponse)
Parameters
- operations
- IProtectionIntentOperations
The operations group for this extension method.
- azureRegion
- String
Azure region to hit Api
- parameters
- PreValidateEnableBackupRequest
Enable backup validation request on Virtual Machine
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET