IDatabaseActivationOperations.PauseAsync Method

Definition

Start an Azure SQL Data Warehouse database pause operation.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseCreateOrUpdateResponse> PauseAsync (string resourceGroupName, string serverName, string databaseName, System.Threading.CancellationToken cancellationToken);
abstract member PauseAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseCreateOrUpdateResponse>
Public Function PauseAsync (resourceGroupName As String, serverName As String, databaseName As String, cancellationToken As CancellationToken) As Task(Of DatabaseCreateOrUpdateResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the Azure SQL Server belongs.

serverName
String

The name of the Azure SQL Server on which the data warehouse database is hosted.

databaseName
String

The name of the Azure SQL Data Warehouse database to pause.

cancellationToken
CancellationToken

Cancellation token.

Returns

Response for long running Azure Sql Database operations.

Applies to