Share via


TenantCollection.CheckResourceName 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 Azure.Response<Azure.ResourceManager.Resources.Models.ResourceNameValidationResult> CheckResourceName (Azure.ResourceManager.Resources.Models.ResourceNameValidationContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckResourceName : Azure.ResourceManager.Resources.Models.ResourceNameValidationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.ResourceNameValidationResult>
override this.CheckResourceName : Azure.ResourceManager.Resources.Models.ResourceNameValidationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.ResourceNameValidationResult>
Public Overridable Function CheckResourceName (Optional content As ResourceNameValidationContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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