Resource Class

Definition

public class Resource : Microsoft.Rest.Azure.IResource
type Resource = class
    interface IResource
Public Class Resource
Implements IResource
Inheritance
Resource
Derived
Implements
Microsoft.Rest.Azure.IResource

Constructors

Resource()

Defines shared properties of an Azure resource.

Resource(String, String, String, String, IDictionary<String,String>)

Initializes a new instance of the Resource class.

Properties

Id

Resource Id

Location

Resource location

Name

Resource name

Tags

Resource tags

Type

Resource type

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

Applies to