TenantCollection.CheckResourceName 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET