Resource Class

Definition

An Azure resource.

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

Constructors

Resource()

Initializes a new instance of the Resource class.

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

Initializes a new instance of the Resource class.

Properties

Id

Gets the resource ID.

Location

Gets or sets the location of the resource. This cannot be changed after the resource is created.

Name

Gets the name of the resource.

Tags

Gets or sets the tags of the resource.

Type

Gets the type of the resource.

Methods

Validate()

Validate the object.

Applies to