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

This class is responsible for all the REST communication with the audit REST endpoints
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient
ListDatabaseActivity IList

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

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

Creates a communicator for Azure Sql Elastic Pool

CreateOrUpdate ( string resourceGroupName, string serverName, string elasticPoolName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.ElasticPoolCreateOrUpdateParameters parameters ) : Management.Sql.Models.ElasticPool

Creates or updates an Elastic Pool

Get ( string resourceGroupName, string serverName, string elasticPoolName, string clientRequestId ) : Management.Sql.Models.ElasticPool

Gets the Azure Sql Database Elastic Pool

GetDatabase ( string resourceGroupName, string serverName, string elasticPoolName, string databaseName, string clientRequestId ) : Management.Sql.Models.Database

Gets the Azure Sql Database in the Elastic Pool

List ( string resourceGroupName, string serverName, string clientRequestId ) : IList

Lists Azure Sql Databases Elastic Pool

ListActivity ( string resourceGroupName, string serverName, string elasticPoolName, string clientRequestId ) : IList

Gets Elastic Pool Activity

ListDatabases ( string resourceGroupName, string serverName, string elasticPoolName, string clientRequestId ) : IList

Lists the Azure Sql Database in the Elastic Pool

Remove ( string resourceGroupName, string serverName, string elasticPoolName, string clientRequestId ) : void

Deletes an Elastic Pool

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

Метод Описание
GetCurrentSqlClient ( String clientRequestId ) : Microsoft.Azure.Management.Sql.SqlManagementClient

Retrieve the SQL Management client for the currently selected subscription, adding the session and request id tracing headers for the current cmdlet invocation.

ListDatabaseActivity ( string resourceGroupName, string serverName, string poolName, string clientRequestId ) : IList

Gets Elastic Pool Database Activity

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

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

Creates a communicator for Azure Sql Elastic Pool
public AzureSqlElasticPoolCommunicator ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Common.Authentication.Models.AzureContext
Результат Microsoft.Azure.Commands.Common.Authentication

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

Creates or updates an Elastic Pool
public CreateOrUpdate ( string resourceGroupName, string serverName, string elasticPoolName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.ElasticPoolCreateOrUpdateParameters parameters ) : Management.Sql.Models.ElasticPool
resourceGroupName string
serverName string
elasticPoolName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.ElasticPoolCreateOrUpdateParameters
Результат Management.Sql.Models.ElasticPool

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

Gets the Azure Sql Database Elastic Pool
public Get ( string resourceGroupName, string serverName, string elasticPoolName, string clientRequestId ) : Management.Sql.Models.ElasticPool
resourceGroupName string
serverName string
elasticPoolName string
clientRequestId string
Результат Management.Sql.Models.ElasticPool

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

Gets the Azure Sql Database in the Elastic Pool
public GetDatabase ( string resourceGroupName, string serverName, string elasticPoolName, string databaseName, string clientRequestId ) : Management.Sql.Models.Database
resourceGroupName string
serverName string
elasticPoolName string
databaseName string
clientRequestId string
Результат Management.Sql.Models.Database

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

Lists Azure Sql Databases Elastic Pool
public List ( string resourceGroupName, string serverName, string clientRequestId ) : IList
resourceGroupName string
serverName string
clientRequestId string
Результат IList

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

Gets Elastic Pool Activity
public ListActivity ( string resourceGroupName, string serverName, string elasticPoolName, string clientRequestId ) : IList
resourceGroupName string
serverName string
elasticPoolName string
clientRequestId string
Результат IList

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

Lists the Azure Sql Database in the Elastic Pool
public ListDatabases ( string resourceGroupName, string serverName, string elasticPoolName, string clientRequestId ) : IList
resourceGroupName string
serverName string
elasticPoolName string
clientRequestId string
Результат IList

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

Deletes an Elastic Pool
public Remove ( string resourceGroupName, string serverName, string elasticPoolName, string clientRequestId ) : void
resourceGroupName string
serverName string
elasticPoolName string
clientRequestId string
Результат void