共用方式為


SubscriptionClientExtensions.CheckResourceName Method

Definition

Checks resource name validity

public static Microsoft.Azure.Management.ResourceManager.Models.CheckResourceNameResult CheckResourceName (this Microsoft.Azure.Management.ResourceManager.ISubscriptionClient operations, Microsoft.Azure.Management.ResourceManager.Models.ResourceName resourceNameDefinition = default);
static member CheckResourceName : Microsoft.Azure.Management.ResourceManager.ISubscriptionClient * Microsoft.Azure.Management.ResourceManager.Models.ResourceName -> Microsoft.Azure.Management.ResourceManager.Models.CheckResourceNameResult
<Extension()>
Public Function CheckResourceName (operations As ISubscriptionClient, Optional resourceNameDefinition As ResourceName = Nothing) As CheckResourceNameResult

Parameters

operations
ISubscriptionClient

The operations group for this extension method.

resourceNameDefinition
ResourceName

Resource object with values for resource name and resource type

Returns

Remarks

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

Applies to