Share via


Resource Class

Definition

public class Resource : Microsoft.Azure.Management.ResourceManager.Fluent.ProxyResource
type Resource = class
    inherit ProxyResource
Public Class Resource
Inherits ProxyResource
Inheritance
Derived

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. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Location

Resource location

Name

Resource name

(Inherited from ProxyResource)
Tags

Resource tags

Type

Resource type

(Inherited from ProxyResource)

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

Applies to