Condividi tramite


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
Resource
Derived
Implements

Constructors

Resource()

Initializes a new instance of the Resource class.

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

Initializes a new instance of the Resource class.

Properties

Identity

Gets or sets msi identity of the resource

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

Gets or sets the sku type.

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 the object.

Applies to