ResourceManagerModelFactory.ResourceNameValidationResult Method

Definition

Initializes a new instance of ResourceNameValidationResult.

public static Azure.ResourceManager.Resources.Models.ResourceNameValidationResult ResourceNameValidationResult (string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ResourceManager.Resources.Models.ResourceNameValidationStatus? status = default);
static member ResourceNameValidationResult : string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ResourceManager.Resources.Models.ResourceNameValidationStatus> -> Azure.ResourceManager.Resources.Models.ResourceNameValidationResult
Public Shared Function ResourceNameValidationResult (Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional status As Nullable(Of ResourceNameValidationStatus) = Nothing) As ResourceNameValidationResult

Parameters

name
String

Name of Resource.

resourceType
Nullable<ResourceType>

Type of Resource.

status
Nullable<ResourceNameValidationStatus>

Is the resource name Allowed or Reserved.

Returns

A new ResourceNameValidationResult instance for mocking.

Applies to