共用方式為


MySqlRecommendationActionCollection.GetAllAsync Method

Definition

Retrieve recommended actions from the advisor.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}/recommendedActions
  • Operation Id: RecommendedActions_ListByServer
  • Default Api Version: 2018-06-01
  • Resource: MySqlRecommendationActionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlRecommendationActionResource> GetAllAsync (string sessionId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlRecommendationActionResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlRecommendationActionResource>
Public Overridable Function GetAllAsync (Optional sessionId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MySqlRecommendationActionResource)

Parameters

sessionId
String

The recommendation action session identifier.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of MySqlRecommendationActionResource that may take multiple service requests to iterate over.

Applies to