DatabaseActivationOperationsExtensions.BeginPauseAsync Method

Definition

Start an Azure SQL Data Warehouse database pause operation.To determine the status of the operation call GetDatabaseActivationOperationStatus.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseCreateOrUpdateResponse> BeginPauseAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseActivationOperations operations, string resourceGroupName, string serverName, string databaseName);
static member BeginPauseAsync : Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseActivationOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseCreateOrUpdateResponse>
<Extension()>
Public Function BeginPauseAsync (operations As IDatabaseActivationOperations, resourceGroupName As String, serverName As String, databaseName As String) As Task(Of DatabaseCreateOrUpdateResponse)

Parameters

operations
IDatabaseActivationOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseActivationOperations.

resourceGroupName
String

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

serverName
String

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

databaseName
String

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

Returns

Response for long running Azure Sql Database operations.

Applies to