C# Class Microsoft.Azure.Commands.Sql.DatabaseActivation.Services.AzureSqlDatabaseActivationAdapter

Adapter for database activation operations
Show file Open project: Azure/azure-powershell

Private Properties

Property Type Description
PauseDatabase Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel
ResumeDatabase Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel

Public Methods

Method Description
AzureSqlDatabaseActivationAdapter ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models

Constructs a database activation adapter

Private Methods

Method Description
PauseDatabase ( string resourceGroup, string serverName, string databaseName ) : AzureSqlDatabaseModel

Pauses a Azure SQL Data Warehouse database.

ResumeDatabase ( string resourceGroup, string serverName, string databaseName ) : AzureSqlDatabaseModel

Resumes a Azure Sql Data Warehouse database.

Method Details

AzureSqlDatabaseActivationAdapter() public method

Constructs a database activation adapter
public AzureSqlDatabaseActivationAdapter ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
return Microsoft.Azure.Commands.Common.Authentication.Models