Partager via


MySqlServerResource.GetMySqlAdvisor(String, CancellationToken) Méthode

Définition

Obtenez un conseiller en actions de recommandation.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisors/{advisorName}
  • IdAdvisors_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.MySql.MySqlAdvisorResource> GetMySqlAdvisor (string advisorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMySqlAdvisor : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.MySqlAdvisorResource>
override this.GetMySqlAdvisor : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.MySqlAdvisorResource>
Public Overridable Function GetMySqlAdvisor (advisorName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MySqlAdvisorResource)

Paramètres

advisorName
String

Nom du conseiller pour l’action de recommandation.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

advisorName a la valeur null.

advisorName est une chaîne vide et devait être non vide.

S’applique à