Show / Hide Table of Contents

    Class TrackedResource

    ARM tracked top level resource.

    Inheritance
    Object
    Resource
    TrackedResource
    Database
    DatabaseUpdate
    ElasticPool
    ElasticPoolUpdate
    InstancePool
    JobAgent
    ManagedDatabase
    ManagedInstance
    RestorableDroppedManagedDatabase
    Server
    VirtualCluster
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    public class TrackedResource : Microsoft.Azure.Management.Sql.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

    Resource location.

    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    IDictionary<String,String> tags

    Resource tags.

    Properties

    Location

    Gets or sets resource location.

    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