ManagementGroupCollection.CheckNameAvailability Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Management group name availability check parameters.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.