Share via


ResourceGroup Class

Definition

Resource group information.

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

Constructors

ResourceGroup()

Initializes a new instance of the ResourceGroup class.

ResourceGroup(String, String, String, String, ResourceGroupProperties, String, IDictionary<String,String>)

Initializes a new instance of the ResourceGroup class.

Properties

Id

Gets the ID of the resource group.

Location

Gets or sets the location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.

ManagedBy

Gets or sets the ID of the resource that manages this resource group.

Name

Gets the name of the resource group.

Properties

Gets or sets the resource group properties.

Tags

Gets or sets the tags attached to the resource group.

Type

Gets the type of the resource group.

Methods

Validate()

Validate the object.

Applies to