Partilhar via


DiagnosticSettingsCategoryResource.GetAsync(CancellationToken) Método

Definição

Obtém a categoria de configurações de diagnóstico para o recurso especificado.

  • Caminho da Solicitação/{resourceUri}/providers/Microsoft.Insights/diagnosticSettingsCategories/{name}
  • Operação IdDiagnosticSettingsCategory_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.DiagnosticSettingsCategoryResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.DiagnosticSettingsCategoryResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.DiagnosticSettingsCategoryResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DiagnosticSettingsCategoryResource))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a