Class ApplicationInsightsComponent
An Application Insights component definition.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.ApplicationInsights.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class ApplicationInsightsComponent : Microsoft.Azure.Management.ApplicationInsights.Management.Models.ComponentsResource
Constructors
ApplicationInsightsComponent()
Initializes a new instance of the ApplicationInsightsComponent class.
Declaration
public ApplicationInsightsComponent ();
ApplicationInsightsComponent(String, String, String, String, String, String, IDictionary<String,String>, String, String, String, String, String, Nullable<DateTime>, String, String, String, String, Nullable<Double>)
Initializes a new instance of the ApplicationInsightsComponent class.
Declaration
public ApplicationInsightsComponent (string location, string kind, string applicationType, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, string applicationId = null, string appId = null, string flowType = null, string requestSource = null, string instrumentationKey = null, Nullable<DateTime> creationDate = null, string tenantId = null, string hockeyAppId = null, string hockeyAppToken = null, string provisioningState = null, Nullable<double> samplingPercentage = null);
Parameters
String
location
Resource location |
String
kind
The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone. |
String
applicationType
Type of application being monitored. Possible values include: 'web', 'other' |
String
id
Azure resource Id |
String
name
Azure resource name |
String
type
Azure resource type |
IDictionary<String,String>
tags
Resource tags |
String
applicationId
The unique ID of your application. This field mirrors the 'Name' field and cannot be changed. |
String
appId
Application Insights Unique ID for your Application. |
String
flowType
Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API. Possible values include: 'Bluefield' |
String
requestSource
Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'. Possible values include: 'rest' |
String
instrumentationKey
Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component. |
Nullable<DateTime>
creationDate
Creation Date for the Application Insights component, in ISO 8601 format. |
String
tenantId
Azure Tenant Id. |
String
hockeyAppId
The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp. |
String
hockeyAppToken
Token used to authenticate communications with between Application Insights and HockeyApp. |
String
provisioningState
Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed. |
Nullable<Double>
samplingPercentage
Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry. |
Properties
AppId
Gets application Insights Unique ID for your Application.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.AppId")]
public string AppId { get; }
Property Value
String
|
ApplicationId
Gets the unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.ApplicationId")]
public string ApplicationId { get; }
Property Value
String
|
ApplicationType
Gets or sets type of application being monitored. Possible values include: 'web', 'other'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.Application_Type")]
public string ApplicationType { get; set; }
Property Value
String
|
CreationDate
Gets creation Date for the Application Insights component, in ISO 8601 format.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.CreationDate")]
public Nullable<DateTime> CreationDate { get; }
Property Value
Nullable<DateTime>
|
FlowType
Gets or sets used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API. Possible values include: 'Bluefield'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.Flow_Type")]
public string FlowType { get; set; }
Property Value
String
|
HockeyAppId
Gets or sets the unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.HockeyAppId")]
public string HockeyAppId { get; set; }
Property Value
String
|
HockeyAppToken
Gets token used to authenticate communications with between Application Insights and HockeyApp.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.HockeyAppToken")]
public string HockeyAppToken { get; }
Property Value
String
|
InstrumentationKey
Gets application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.InstrumentationKey")]
public string InstrumentationKey { get; }
Property Value
String
|
Kind
Gets or sets the kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="kind")]
public string Kind { get; set; }
Property Value
String
|
ProvisioningState
Gets current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.provisioningState")]
public string ProvisioningState { get; }
Property Value
String
|
RequestSource
Gets or sets describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'. Possible values include: 'rest'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.Request_Source")]
public string RequestSource { get; set; }
Property Value
String
|
SamplingPercentage
Gets or sets percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.SamplingPercentage")]
public Nullable<double> SamplingPercentage { get; set; }
Property Value
Nullable<Double>
|
TenantId
Gets azure Tenant Id.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.TenantId")]
public string TenantId { get; }
Property Value
String
|
Methods
Validate()
Validate the object.
Declaration
public override void Validate ();
Exceptions
ValidationException
Thrown if validation fails |