Compartir a través de


CostManagementExtensions.CheckCostManagementNameAvailabilityByScheduledActionAsync Método

Definición

Comprueba la disponibilidad y la exactitud del nombre de una acción programada.

  • Ruta de acceso de solicitud/providers/Microsoft.CostManagement/checkNameAvailability
  • IdScheduledActions_CheckNameAvailability de operación
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

Instancia TenantResource en la que se ejecutará el método.

content
CostManagementNameAvailabilityContent

Acción programada que se va a crear o actualizar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a