Class ComponentsResource
An azure resource object
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.ApplicationInsights.dll
Syntax
public class ComponentsResource : Microsoft.Rest.Azure.IResource
Constructors
ComponentsResource()
Initializes a new instance of the ComponentsResource class.
Declaration
public ComponentsResource ();
ComponentsResource(String, String, String, String, IDictionary<String,String>)
Initializes a new instance of the ComponentsResource class.
Declaration
public ComponentsResource (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
Azure resource Id |
String
name
Azure resource name |
String
type
Azure resource type |
IDictionary<String,String>
tags
Resource tags |
Properties
Id
Gets azure resource Id
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="id")]
public string Id { get; }
Property Value
String
|
Location
Gets or sets resource location
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="location")]
public string Location { get; set; }
Property Value
String
|
Name
Gets azure resource name
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public string Name { get; }
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>
|
Type
Gets azure resource type
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="type")]
public string Type { get; }
Property Value
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ValidationException
Thrown if validation fails |