C# Class Microsoft.Azure.Commands.Sql.RecommendedAction.Service.AzureSqlRecommendedActionCommunicatorBase

This is base class for classes that support all the REST communication with the recommended action REST endpoints
Datei anzeigen Open project: Azure/azure-powershell

Public Methods

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

Base class contructor for RecommendedAction 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

AzureSqlRecommendedActionCommunicatorBase() public method

Base class contructor for RecommendedAction REST API Communicators.
public AzureSqlRecommendedActionCommunicatorBase ( 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