C# Класс Microsoft.Azure.Commands.Sql.ElasticPool.Services.AzureSqlElasticPoolAdapter

Adapter for ElasticPool operations
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CreateActivityModelFromResponse Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolActivityModel
CreateDatabaseActivityModelFromResponse Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseActivityModel
CreateElasticPoolModelFromResponse Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel
GetElasticPool Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel
GetElasticPoolActivity IList
ListElasticPoolDatabaseActivity IList
ListElasticPoolDatabases ICollection
ListElasticPools ICollection
UpsertElasticPool Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel

Открытые методы

Метод Описание
AzureSqlElasticPoolAdapter ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models

Constructs a database adapter

GetElasticPoolDatabase ( string resourceGroupName, string serverName, string poolName, string databaseName ) : AzureSqlDatabaseModel

Gets a database in an elastic pool

GetServerLocation ( string resourceGroupName, string serverName ) : string

Gets the Location of the server.

RemoveElasticPool ( string resourceGroupName, string serverName, string databaseName ) : void

Deletes a database

Приватные методы

Метод Описание
CreateActivityModelFromResponse ( Microsoft.Azure.Management.Sql.Models.ElasticPoolActivity model ) : AzureSqlElasticPoolActivityModel

Converts a ElascitPoolAcitivy model to the powershell model.

CreateDatabaseActivityModelFromResponse ( Microsoft.Azure.Management.Sql.Models.ElasticPoolDatabaseActivity model ) : AzureSqlDatabaseActivityModel

Converts a model received from the server to a powershell model

CreateElasticPoolModelFromResponse ( string resourceGroup, string serverName, Management pool ) : AzureSqlElasticPoolModel

Converts the response from the service to a powershell database object

GetElasticPool ( string resourceGroupName, string serverName, string poolName ) : AzureSqlElasticPoolModel

Gets an Azure Sql Database ElasticPool by name.

GetElasticPoolActivity ( string resourceGroupName, string serverName, string poolName ) : IList

Gets a list of Elastic Pool Activity

ListElasticPoolDatabaseActivity ( string resourceGroupName, string serverName, string poolName ) : IList

Gets a list of Elastic Pool Database Activity

ListElasticPoolDatabases ( string resourceGroupName, string serverName, string poolName ) : ICollection

Gets a list of Azure Sql Databases in an ElasticPool.

ListElasticPools ( string resourceGroupName, string serverName ) : ICollection

Gets a list of Azure Sql Databases ElasticPool.

UpsertElasticPool ( AzureSqlElasticPoolModel model ) : AzureSqlElasticPoolModel

Creates or updates an Azure Sql Database ElasticPool.

Описание методов

AzureSqlElasticPoolAdapter() публичный Метод

Constructs a database adapter
public AzureSqlElasticPoolAdapter ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Результат Microsoft.Azure.Commands.Common.Authentication.Models

GetElasticPoolDatabase() публичный Метод

Gets a database in an elastic pool
public GetElasticPoolDatabase ( string resourceGroupName, string serverName, string poolName, string databaseName ) : AzureSqlDatabaseModel
resourceGroupName string The name of the resource group
serverName string The name of the Azure Sql Database Server
poolName string The name of the Azure Sql Database ElasticPool
databaseName string The name of the database
Результат Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel

GetServerLocation() публичный Метод

Gets the Location of the server.
public GetServerLocation ( string resourceGroupName, string serverName ) : string
resourceGroupName string The resource group the server is in
serverName string The name of the server
Результат string

RemoveElasticPool() публичный Метод

Deletes a database
public RemoveElasticPool ( string resourceGroupName, string serverName, string databaseName ) : void
resourceGroupName string The resource group the server is in
serverName string The name of the Azure Sql Database Server
databaseName string The name of the Azure Sql Database to delete
Результат void