Resource Resource Resource Class

Definition

Model of the Resource.

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

Constructors

Resource() Resource() Resource()

Initializes a new instance of the Resource class.

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

Initializes a new instance of the Resource class.

Properties

Location Location Location

Gets or sets the location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed.

Sku Sku Sku

Gets or sets the sku type.

Tags Tags Tags

Gets or sets the list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).

Methods

Validate() Validate() Validate()

Validate the object.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to