Show / Hide Table of Contents

    Class Resource

    ARM resource.

    Inheritance
    Object
    Resource
    ProxyResource
    TrackedResource
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    public class Resource : Microsoft.Rest.Azure.IResource

    Constructors

    Resource()

    Initializes a new instance of the Resource class.

    Declaration
    public Resource ();

    Resource(String, String, String)

    Initializes a new instance of the Resource class.

    Declaration
    public Resource (string id = null, string name = null, string type = null);
    Parameters
    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    Properties

    Id

    Gets resource ID.

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

    Name

    Gets resource name.

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

    Type

    Gets resource type.

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

    Back to top Azure SDK for Net