C# Class Microsoft.Azure.Commands.Sql.Advisor.Service.AzureSqlAdvisorCommunicatorBase

This is base class for classes that support all the REST communication with the advisor REST endpoints
Exibir arquivo Open project: Azure/azure-powershell

Public Methods

Method Description
AzureSqlAdvisorCommunicatorBase ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication

Base class contructor for Advisor REST API Communicators.

Protected 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

AzureSqlAdvisorCommunicatorBase() public method

Base class contructor for Advisor REST API Communicators.
public AzureSqlAdvisorCommunicatorBase ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
return Microsoft.Azure.Commands.Common.Authentication

GetCurrentSqlClient() protected method

Retrieve the SQL Management client for the currently selected subscription, adding the session and request id tracing headers for the current cmdlet invocation.
protected GetCurrentSqlClient ( string clientRequestId ) : Microsoft.Azure.Management.Sql.SqlManagementClient
clientRequestId string
return Microsoft.Azure.Management.Sql.SqlManagementClient