Compartir a través de


MySqlRecommendationActionCollection.GetIfExists Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/advisor/{advisorName}/recommendedActions/{recommendedActionName}
  • IdRecommendedActions_Get de operaciones
public virtual Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlRecommendationActionResource> GetIfExists (string recommendedActionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlRecommendationActionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlRecommendationActionResource>
Public Overridable Function GetIfExists (recommendedActionName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of MySqlRecommendationActionResource)

Parámetros

recommendedActionName
String

Nombre de la acción recomendada.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

recommendedActionName es una cadena vacía y se espera que no esté vacía.

recommendedActionName es null.

Se aplica a