ApplicationInsightsComponent Constructors

Definition

Overloads

ApplicationInsightsComponent()

Initializes a new instance of the ApplicationInsightsComponent class.

ApplicationInsightsComponent(String, String, String, String, String, String, IDictionary<String,String>, String, String, String, String, String, Nullable<DateTime>, String, String, String, String, Nullable<Double>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, IList<PrivateLinkScopedResource>, String, String)

Initializes a new instance of the ApplicationInsightsComponent class.

ApplicationInsightsComponent()

Initializes a new instance of the ApplicationInsightsComponent class.

public ApplicationInsightsComponent ();
Public Sub New ()

Applies to

ApplicationInsightsComponent(String, String, String, String, String, String, IDictionary<String,String>, String, String, String, String, String, Nullable<DateTime>, String, String, String, String, Nullable<Double>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, IList<PrivateLinkScopedResource>, String, String)

Initializes a new instance of the ApplicationInsightsComponent class.

public ApplicationInsightsComponent (string location, string kind, string applicationType, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string applicationId = default, string appId = default, string flowType = default, string requestSource = default, string instrumentationKey = default, DateTime? creationDate = default, string tenantId = default, string hockeyAppId = default, string hockeyAppToken = default, string provisioningState = default, double? samplingPercentage = default, string connectionString = default, int? retentionInDays = default, bool? disableIpMasking = default, bool? immediatePurgeDataOn30Days = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.PrivateLinkScopedResource> privateLinkScopedResources = default, string publicNetworkAccessForIngestion = default, string publicNetworkAccessForQuery = default);
new Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponent : string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * string * Nullable<DateTime> * string * string * string * string * Nullable<double> * string * Nullable<int> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.PrivateLinkScopedResource> * string * string -> Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponent
Public Sub New (location As String, kind As String, applicationType As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional applicationId As String = Nothing, Optional appId As String = Nothing, Optional flowType As String = Nothing, Optional requestSource As String = Nothing, Optional instrumentationKey As String = Nothing, Optional creationDate As Nullable(Of DateTime) = Nothing, Optional tenantId As String = Nothing, Optional hockeyAppId As String = Nothing, Optional hockeyAppToken As String = Nothing, Optional provisioningState As String = Nothing, Optional samplingPercentage As Nullable(Of Double) = Nothing, Optional connectionString As String = Nothing, Optional retentionInDays As Nullable(Of Integer) = Nothing, Optional disableIpMasking As Nullable(Of Boolean) = Nothing, Optional immediatePurgeDataOn30Days As Nullable(Of Boolean) = Nothing, Optional privateLinkScopedResources As IList(Of PrivateLinkScopedResource) = Nothing, Optional publicNetworkAccessForIngestion As String = Nothing, Optional publicNetworkAccessForQuery As String = Nothing)

Parameters

location
String

Resource location

kind
String

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.

applicationType
String

Type of application being monitored. Possible values include: 'web', 'other'

id
String

Azure resource Id

name
String

Azure resource name

type
String

Azure resource type

tags
IDictionary<String,String>

Resource tags

applicationId
String

The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.

appId
String

Application Insights Unique ID for your Application.

flowType
String

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'

requestSource
String

Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'. Possible values include: 'rest'

instrumentationKey
String

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.

creationDate
Nullable<DateTime>

Creation Date for the Application Insights component, in ISO 8601 format.

tenantId
String

Azure Tenant Id.

hockeyAppId
String

The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.

hockeyAppToken
String

Token used to authenticate communications with between Application Insights and HockeyApp.

provisioningState
String

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.

samplingPercentage
Nullable<Double>

Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.

connectionString
String

Application Insights component connection string.

retentionInDays
Nullable<Int32>

Retention period in days.

disableIpMasking
Nullable<Boolean>

Disable IP masking.

immediatePurgeDataOn30Days
Nullable<Boolean>

Purge data immediately after 30 days.

privateLinkScopedResources
IList<PrivateLinkScopedResource>

List of linked private link scope resources.

publicNetworkAccessForIngestion
String

The network access type for accessing Application Insights ingestion. Possible values include: 'Enabled', 'Disabled'

publicNetworkAccessForQuery
String

The network access type for accessing Application Insights query. Possible values include: 'Enabled', 'Disabled'

Applies to