Share via


MySqlAdvisorResource.CreateRecommendedActionSession 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 Azure.ResourceManager.ArmOperation CreateRecommendedActionSession (Azure.WaitUntil waitUntil, string databaseName, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateRecommendedActionSession : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.CreateRecommendedActionSession : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function CreateRecommendedActionSession (waitUntil As WaitUntil, databaseName As String, Optional cancellationToken As CancellationToken = Nothing) As 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