C# Class Microsoft.Azure.Commands.Sql.ServiceTierAdvisor.Services.AzureSqlServiceTierAdvisorCommunicator

This class is responsible for all the REST communication with the audit REST endpoints
Datei anzeigen Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Property Type Description
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

Public Methods

Method Description
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

Private Methods

Method Description
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.

Method Details

AzureSqlServiceTierAdvisorCommunicator() public method

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
return Microsoft.Azure.Commands.Common.Authentication

GetDatabaseExpanded() public method

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
return Management.Sql.Models.Database

GetRecommendedElasticPoolsExpanded() public method

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
return IList

ListDatabasesExpanded() public method

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
return IList