IServerRecommendedActionOperations.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates recommended action state.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.RecommendedActionUpdateResponse> UpdateAsync (string resourceGroupName, string serverName, string advisorName, string recommendedActionName, Microsoft.Azure.Management.Sql.LegacySdk.Models.RecommendedActionUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.RecommendedActionUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.RecommendedActionUpdateResponse>
Public Function UpdateAsync (resourceGroupName As String, serverName As String, advisorName As String, recommendedActionName As String, parameters As RecommendedActionUpdateParameters, cancellationToken As CancellationToken) As Task(Of RecommendedActionUpdateResponse)
Parameters
- resourceGroupName
- String
The name of the Resource Group.
- serverName
- String
The name of the Azure SQL server.
- advisorName
- String
The name of the Azure SQL Server advisor.
- recommendedActionName
- String
The name of the Azure SQL Server recommended action.
- parameters
- RecommendedActionUpdateParameters
The required parameters for updating recommended action state.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Represents the response to an update recommended action request.