Delen via


Resource Class

Definition

Azure resource. This resource is tracked in Azure Resource Manager

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

Constructors

Resource()

Initializes a new instance of the Resource class.

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

Initializes a new instance of the Resource class.

Properties

Id

Gets resource Id.

Kind

Gets or sets kind of resource.

Location

Gets or sets resource Location.

Name

Gets resource Name.

Tags

Gets or sets resource tags.

Type

Gets resource type.

Methods

Validate()

Validate the object.

Applies to