Table of Contents

Class ResourceNameValidationContent

Namespace
Azure.ResourceManager.Resources.Models
Assembly
Azure.ResourceManager.dll

Name and Type of the Resource.

public class ResourceNameValidationContent : IJsonModel<ResourceNameValidationContent>, IPersistableModel<ResourceNameValidationContent>
Inheritance
ResourceNameValidationContent
Implements
Inherited Members

Constructors

ResourceNameValidationContent(string, ResourceType)

Initializes a new instance of ResourceNameValidationContent.

public ResourceNameValidationContent(string name, ResourceType resourceType)

Parameters

name string

Name of the resource.

resourceType ResourceType

The type of the resource.

Exceptions

ArgumentNullException

name is null.

Properties

Name

Name of the resource.

public string Name { get; }

Property Value

string

ResourceType

The type of the resource.

public ResourceType ResourceType { get; }

Property Value

ResourceType