Partilhar via


CostManagementViewsCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém a exibição do escopo definido pelo nome da exibição.

  • Caminho da Solicitação/{scope}/providers/Microsoft.CostManagement/views/{viewName}
  • Operação IdViews_GetByScope
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CostManagement.CostManagementViewsResource>> GetAsync (string viewName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CostManagement.CostManagementViewsResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CostManagement.CostManagementViewsResource>>
Public Overridable Function GetAsync (viewName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CostManagementViewsResource))

Parâmetros

viewName
String

Nome da exibição.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

viewName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

viewName é nulo.

Aplica-se a