Udostępnij za pośrednictwem


Resource Class

Definition

The common properties of an Azure resource.

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, IDictionary<String,String>)

Initializes a new instance of the Resource class.

Properties

Id

Gets the resource identifier.

Location

Gets or sets the resource location.

Name

Gets the resource name.

Tags

Gets or sets the resource tags.

Type

Gets the resource type.

Methods

Validate()

Validate the object.

Applies to