Partager via


KustoDatabaseResource.CheckKustoScriptNameAvailabilityAsync Méthode

Définition

Vérifie que le nom du script est valide et qu’il n’est pas déjà utilisé.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scriptsCheckNameAvailability
  • IdScripts_CheckNameAvailability d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>> CheckKustoScriptNameAvailabilityAsync (Azure.ResourceManager.Kusto.Models.KustoScriptNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckKustoScriptNameAvailabilityAsync : Azure.ResourceManager.Kusto.Models.KustoScriptNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>>
override this.CheckKustoScriptNameAvailabilityAsync : Azure.ResourceManager.Kusto.Models.KustoScriptNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>>
Public Overridable Function CheckKustoScriptNameAvailabilityAsync (content As KustoScriptNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KustoNameAvailabilityResult))

Paramètres

content
KustoScriptNameAvailabilityContent

Nom du script.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à