MySqlRecommendationActionCollection.GetAllAsync 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.
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.