Share via


TenantCollection.CheckResourceNameAsync Method

Definition

A resource name is valid if it is not a reserved word, does not contains a reserved word and does not start with a reserved word

  • Request Path: /providers/Microsoft.Resources/checkResourceName
  • Operation Id: CheckResourceName
  • Default Api Version: 2022-12-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.ResourceNameValidationResult>> CheckResourceNameAsync (Azure.ResourceManager.Resources.Models.ResourceNameValidationContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckResourceNameAsync : Azure.ResourceManager.Resources.Models.ResourceNameValidationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.ResourceNameValidationResult>>
override this.CheckResourceNameAsync : Azure.ResourceManager.Resources.Models.ResourceNameValidationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.ResourceNameValidationResult>>
Public Overridable Function CheckResourceNameAsync (Optional content As ResourceNameValidationContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ResourceNameValidationResult))

Parameters

content
ResourceNameValidationContent

Resource object with values for resource name and resource type.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to