C# Класс Microsoft.Azure.Commands.Sql.ServiceTierAdvisor.Services.AzureSqlServiceTierAdvisorCommunicator

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

Private Properties

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

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

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

Creates a communicator for Azure Sql Service Tier Advisor

GetDatabaseExpanded ( string resourceGroupName, string serverName, string databaseName, string expand, string clientRequestId ) : Management.Sql.Models.Database

Get database with expanded properties

GetRecommendedElasticPoolsExpanded ( string resourceGroupName, string serverName, string expand, string clientRequestId ) : IList

Get recommended elastic pools

ListDatabasesExpanded ( string resourceGroupName, string serverName, string expand, string clientRequestId ) : IList

List databases expanded

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

Метод Описание
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.

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

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

Creates a communicator for Azure Sql Service Tier Advisor
public AzureSqlServiceTierAdvisorCommunicator ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Common.Authentication.Models.AzureContext
Результат Microsoft.Azure.Commands.Common.Authentication

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

Get database with expanded properties
public GetDatabaseExpanded ( string resourceGroupName, string serverName, string databaseName, string expand, string clientRequestId ) : Management.Sql.Models.Database
resourceGroupName string The name of the resource group
serverName string The name of Azure Sql server
databaseName string Database name
expand string Expand string
clientRequestId string Request identifier
Результат Management.Sql.Models.Database

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

Get recommended elastic pools
public GetRecommendedElasticPoolsExpanded ( string resourceGroupName, string serverName, string expand, string clientRequestId ) : IList
resourceGroupName string The name of the resource group
serverName string The name of Azure Sql server
expand string
clientRequestId string Request identifier
Результат IList

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

List databases expanded
public ListDatabasesExpanded ( string resourceGroupName, string serverName, string expand, string clientRequestId ) : IList
resourceGroupName string The name of the resource group
serverName string The name of Azure Sql server
expand string Expand string
clientRequestId string Request identifier
Результат IList