Compartilhar via


CostManagementExtensions.CheckCostManagementNameAvailabilityByScheduledActionAsync Método

Definição

Verifica a disponibilidade e a exatidão do nome de uma ação agendada.

  • Caminho da Solicitação/provedores/Microsoft.CostManagement/checkNameAvailability
  • Operação IdScheduledActions_CheckNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CostManagement.Models.CostManagementNameAvailabilityResult>> CheckCostManagementNameAvailabilityByScheduledActionAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.CostManagement.Models.CostManagementNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckCostManagementNameAvailabilityByScheduledActionAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.CostManagement.Models.CostManagementNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CostManagement.Models.CostManagementNameAvailabilityResult>>
<Extension()>
Public Function CheckCostManagementNameAvailabilityByScheduledActionAsync (tenantResource As TenantResource, content As CostManagementNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CostManagementNameAvailabilityResult))

Parâmetros

tenantResource
TenantResource

A TenantResource instância na qual o método será executado.

content
CostManagementNameAvailabilityContent

Ação agendada a ser criada ou atualizada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a