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

This class is responsible for all the REST communication with the database advisor REST endpoints
Inheritance: AzureSqlAdvisorCommunicatorBase
Mostrar archivo Open project: Azure/azure-powershell Class Usage Examples

Public Methods

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

Creates a communicator for Azure Sql Database Advisors

Get ( string resourceGroupName, string serverName, string databaseName, string advisorName, bool expandRecommendedActions, string clientRequestId ) : Management.Sql.Models.Advisor

Gets the Azure Sql Database Advisor

List ( string resourceGroupName, string serverName, string databaseName, bool expandRecommendedActions, string clientRequestId ) : IList

Lists Azure Sql Database Advisors

UpdateAutoExecuteStatus ( string resourceGroupName, string serverName, string databaseName, string advisorName, string autoExecuteStatus, string clientRequestId ) : Management.Sql.Models.Advisor

Update Advisor Auto Execute Status

Method Details

AzureSqlDatabaseAdvisorCommunicator() public method

Creates a communicator for Azure Sql Database Advisors
public AzureSqlDatabaseAdvisorCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
return Microsoft.Azure.Commands.Common.Authentication

Get() public method

Gets the Azure Sql Database Advisor
public Get ( string resourceGroupName, string serverName, string databaseName, string advisorName, bool expandRecommendedActions, string clientRequestId ) : Management.Sql.Models.Advisor
resourceGroupName string
serverName string
databaseName string
advisorName string
expandRecommendedActions bool
clientRequestId string
return Management.Sql.Models.Advisor

List() public method

Lists Azure Sql Database Advisors
public List ( string resourceGroupName, string serverName, string databaseName, bool expandRecommendedActions, string clientRequestId ) : IList
resourceGroupName string
serverName string
databaseName string
expandRecommendedActions bool
clientRequestId string
return IList

UpdateAutoExecuteStatus() public method

Update Advisor Auto Execute Status
public UpdateAutoExecuteStatus ( string resourceGroupName, string serverName, string databaseName, string advisorName, string autoExecuteStatus, string clientRequestId ) : Management.Sql.Models.Advisor
resourceGroupName string
serverName string
databaseName string
advisorName string
autoExecuteStatus string
clientRequestId string
return Management.Sql.Models.Advisor