Compartir a través de


SqlServerResource.GetSqlServerAdvisorAsync(String, CancellationToken) Método

Definición

Obtiene un asesor del servidor.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}
  • IdServerAdvisors_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerAdvisorResource>> GetSqlServerAdvisorAsync (string advisorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlServerAdvisorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerAdvisorResource>>
override this.GetSqlServerAdvisorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerAdvisorResource>>
Public Overridable Function GetSqlServerAdvisorAsync (advisorName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlServerAdvisorResource))

Parámetros

advisorName
String

Nombre del Asesor del servidor.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

advisorName es una cadena vacía y se esperaba que no estuviera vacía.

advisorName es null.

Se aplica a