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

This class is responsible for all the REST communication with the server recommended action REST endpoints
Inheritance: AzureSqlRecommendedActionCommunicatorBase
Exibir arquivo Open project: Azure/azure-powershell Class Usage Examples

Public Methods

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

Creates a communicator for Azure Sql Server Recommended Actions

Get ( string resourceGroupName, string serverName, string advisorName, string recommendedActionName, string clientRequestId ) : Management.Sql.Models.RecommendedAction

Gets the Azure Sql Server Recommended Action

List ( string resourceGroupName, string serverName, string advisorName, string clientRequestId ) : IList

Lists Azure Sql Server Recommended Actions

UpdateState ( string resourceGroupName, string serverName, string advisorName, string recommendedActionName, string newStateValue, string clientRequestId ) : Management.Sql.Models.RecommendedAction

Update Recommended Action State

Method Details

AzureSqlServerRecommendedActionCommunicator() public method

Creates a communicator for Azure Sql Server Recommended Actions
public AzureSqlServerRecommendedActionCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
return Microsoft.Azure.Commands.Common.Authentication.Models

Get() public method

Gets the Azure Sql Server Recommended Action
public Get ( string resourceGroupName, string serverName, string advisorName, string recommendedActionName, string clientRequestId ) : Management.Sql.Models.RecommendedAction
resourceGroupName string
serverName string
advisorName string
recommendedActionName string
clientRequestId string
return Management.Sql.Models.RecommendedAction

List() public method

Lists Azure Sql Server Recommended Actions
public List ( string resourceGroupName, string serverName, string advisorName, string clientRequestId ) : IList
resourceGroupName string
serverName string
advisorName string
clientRequestId string
return IList

UpdateState() public method

Update Recommended Action State
public UpdateState ( string resourceGroupName, string serverName, string advisorName, string recommendedActionName, string newStateValue, string clientRequestId ) : Management.Sql.Models.RecommendedAction
resourceGroupName string
serverName string
advisorName string
recommendedActionName string
newStateValue string
clientRequestId string
return Management.Sql.Models.RecommendedAction