Partager via


ManagementGroupCollection.CheckNameAvailabilityAsync Méthode

Définition

Vérifie si le nom du groupe d’administration spécifié est valide et unique

  • Chemin/providers/Microsoft.Management/checkNameAvailability
  • IdManagementGroups_CheckNameAvailability d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityResult>> CheckNameAvailabilityAsync (Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNameAvailabilityAsync : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityResult>>
override this.CheckNameAvailabilityAsync : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityResult>>
Public Overridable Function CheckNameAvailabilityAsync (content As ManagementGroupNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagementGroupNameAvailabilityResult))

Paramètres

content
ManagementGroupNameAvailabilityContent

Paramètres de disponibilité case activée nom du groupe d’administration.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à