Share via


MySqlAdvisorResource.CreateRecommendedActionSessionAsync Method

Definition

Create recommendation action session for the advisor.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/createRecommendedActionSession
  • Operation Id: CreateRecommendedActionSession
  • Default Api Version: 2018-06-01
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> CreateRecommendedActionSessionAsync (Azure.WaitUntil waitUntil, string databaseName, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateRecommendedActionSessionAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.CreateRecommendedActionSessionAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function CreateRecommendedActionSessionAsync (waitUntil As WaitUntil, databaseName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

databaseName
String

The name of the database.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

databaseName is null.

Applies to