Share via


MySqlFlexibleServerResource.ValidateBackupAsync(CancellationToken) Method

Definition

Validates if backup can be performed for given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/validateBackup
  • Operation Id: BackupAndExport_ValidateBackup
  • Default Api Version: 2023-12-30
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerValidateBackupResult>> ValidateBackupAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateBackupAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerValidateBackupResult>>
override this.ValidateBackupAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerValidateBackupResult>>
Public Overridable Function ValidateBackupAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MySqlFlexibleServerValidateBackupResult))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to