Show / Hide Table of Contents

    Class TrackedResource

    The resource model definition for a ARM tracked top level resource

    Inheritance
    Object
    Resource
    TrackedResource
    RedisResource
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Redis.dll
    Syntax
    public class TrackedResource : Microsoft.Azure.Management.Redis.Models.Resource

    Constructors

    TrackedResource()

    Initializes a new instance of the TrackedResource class.

    Declaration
    public TrackedResource ();

    TrackedResource(String, String, String, String, IDictionary<String,String>)

    Initializes a new instance of the TrackedResource class.

    Declaration
    public TrackedResource (string location, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null);
    Parameters
    String location

    The geo-location where the resource lives

    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    IDictionary<String,String> tags

    Resource tags.

    Properties

    Location

    Gets or sets the geo-location where the resource lives

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="location")]
    public string Location { get; set; }
    Property Value
    String

    Tags

    Gets or sets resource tags.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="tags")]
    public System.Collections.Generic.IDictionary<string,string> Tags { get; set; }
    Property Value
    IDictionary<String,String>

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net