Partilhar via


DiagnosticSettingResource.GetAsync(CancellationToken) Método

Definição

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

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

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a