ManagementGroupCollection.CheckNameAvailability Method

Definition

Checks if the specified management group name is valid and unique

  • Request Path: /providers/Microsoft.Management/checkNameAvailability
  • Operation Id: ManagementGroups_CheckNameAvailability
  • Default Api Version: 2021-04-01
  • Resource: ManagementGroupResource
public virtual Azure.Response<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityResult> CheckNameAvailability (Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNameAvailability : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityResult>
override this.CheckNameAvailability : Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupNameAvailabilityResult>
Public Overridable Function CheckNameAvailability (content As ManagementGroupNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagementGroupNameAvailabilityResult)

Parameters

content
ManagementGroupNameAvailabilityContent

Management group name availability check parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to