C# 클래스 Microsoft.Azure.Commands.Sql.ElasticPool.Services.AzureSqlElasticPoolAdapter

Adapter for ElasticPool operations
파일 보기 프로젝트 열기: Azure/azure-powershell

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