ResourceManagerModelFactory.ResourceNameValidationResult 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.
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
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