Share via


ArmApplicationInsightsModelFactory.ApplicationInsightsComponentData Method

Definition

Overloads

ApplicationInsightsComponentData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, String, Nullable<ETag>, String, String, String, Nullable<ApplicationInsightsApplicationType>, Nullable<ComponentFlowType>, Nullable<ComponentRequestSource>, String, Nullable<DateTimeOffset>, Nullable<Guid>, String, String, String, Nullable<Double>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, ResourceIdentifier, Nullable<DateTimeOffset>, IEnumerable<PrivateLinkScopedResourceReference>, Nullable<ApplicationInsightsPublicNetworkAccessType>, Nullable<ApplicationInsightsPublicNetworkAccessType>, Nullable<ComponentIngestionMode>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of ApplicationInsightsComponentData.

ApplicationInsightsComponentData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, String, Nullable<ETag>, String, String, String, Nullable<ApplicationType>, Nullable<FlowType>, Nullable<RequestSource>, String, Nullable<DateTimeOffset>, Nullable<Guid>, String, String, String, Nullable<Double>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<DateTimeOffset>, IEnumerable<PrivateLinkScopedResourceContent>, Nullable<PublicNetworkAccessType>, Nullable<PublicNetworkAccessType>, Nullable<IngestionMode>, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of ApplicationInsightsComponentData.

ApplicationInsightsComponentData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, String, Nullable<ETag>, String, String, String, Nullable<ApplicationInsightsApplicationType>, Nullable<ComponentFlowType>, Nullable<ComponentRequestSource>, String, Nullable<DateTimeOffset>, Nullable<Guid>, String, String, String, Nullable<Double>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, ResourceIdentifier, Nullable<DateTimeOffset>, IEnumerable<PrivateLinkScopedResourceReference>, Nullable<ApplicationInsightsPublicNetworkAccessType>, Nullable<ApplicationInsightsPublicNetworkAccessType>, Nullable<ComponentIngestionMode>, Nullable<Boolean>, Nullable<Boolean>)

Source:
ArmApplicationInsightsModelFactory.cs

Initializes a new instance of ApplicationInsightsComponentData.

public static Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentData ApplicationInsightsComponentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string kind = default, Azure.ETag? etag = default, string applicationId = default, string appId = default, string namePropertiesName = default, Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsApplicationType? applicationType = default, Azure.ResourceManager.ApplicationInsights.Models.ComponentFlowType? flowType = default, Azure.ResourceManager.ApplicationInsights.Models.ComponentRequestSource? requestSource = default, string instrumentationKey = default, DateTimeOffset? createdOn = default, Guid? tenantId = default, string hockeyAppId = default, string hockeyAppToken = default, string provisioningState = default, double? samplingPercentage = default, string connectionString = default, int? retentionInDays = default, bool? isDisableIPMasking = default, bool? isImmediatePurgeDataOn30Days = default, Azure.Core.ResourceIdentifier workspaceResourceId = default, DateTimeOffset? laMigrationOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApplicationInsights.Models.PrivateLinkScopedResourceReference> privateLinkScopedResources = default, Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsPublicNetworkAccessType? publicNetworkAccessForIngestion = default, Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsPublicNetworkAccessType? publicNetworkAccessForQuery = default, Azure.ResourceManager.ApplicationInsights.Models.ComponentIngestionMode? ingestionMode = default, bool? isDisableLocalAuth = default, bool? isForceCustomerStorageForProfiler = default);
static member ApplicationInsightsComponentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Nullable<Azure.ETag> * string * string * string * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsApplicationType> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ComponentFlowType> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ComponentRequestSource> * string * Nullable<DateTimeOffset> * Nullable<Guid> * string * string * string * Nullable<double> * string * Nullable<int> * Nullable<bool> * Nullable<bool> * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.ApplicationInsights.Models.PrivateLinkScopedResourceReference> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsPublicNetworkAccessType> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsPublicNetworkAccessType> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ComponentIngestionMode> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentData
Public Shared Function ApplicationInsightsComponentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional kind As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional applicationId As String = Nothing, Optional appId As String = Nothing, Optional namePropertiesName As String = Nothing, Optional applicationType As Nullable(Of ApplicationInsightsApplicationType) = Nothing, Optional flowType As Nullable(Of ComponentFlowType) = Nothing, Optional requestSource As Nullable(Of ComponentRequestSource) = Nothing, Optional instrumentationKey As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional tenantId As Nullable(Of Guid) = 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 isDisableIPMasking As Nullable(Of Boolean) = Nothing, Optional isImmediatePurgeDataOn30Days As Nullable(Of Boolean) = Nothing, Optional workspaceResourceId As ResourceIdentifier = Nothing, Optional laMigrationOn As Nullable(Of DateTimeOffset) = Nothing, Optional privateLinkScopedResources As IEnumerable(Of PrivateLinkScopedResourceReference) = Nothing, Optional publicNetworkAccessForIngestion As Nullable(Of ApplicationInsightsPublicNetworkAccessType) = Nothing, Optional publicNetworkAccessForQuery As Nullable(Of ApplicationInsightsPublicNetworkAccessType) = Nothing, Optional ingestionMode As Nullable(Of ComponentIngestionMode) = Nothing, Optional isDisableLocalAuth As Nullable(Of Boolean) = Nothing, Optional isForceCustomerStorageForProfiler As Nullable(Of Boolean) = Nothing) As ApplicationInsightsComponentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The 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.

etag
Nullable<ETag>

Resource etag.

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.

namePropertiesName
String

Application name.

applicationType
Nullable<ApplicationInsightsApplicationType>

Type of application being monitored.

flowType
Nullable<ComponentFlowType>

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.

requestSource
Nullable<ComponentRequestSource>

Describes what tool created this Application Insights component. Customers using this API should set this to the default '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.

createdOn
Nullable<DateTimeOffset>

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

tenantId
Nullable<Guid>

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.

isDisableIPMasking
Nullable<Boolean>

Disable IP masking.

isImmediatePurgeDataOn30Days
Nullable<Boolean>

Purge data immediately after 30 days.

workspaceResourceId
ResourceIdentifier

Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.

laMigrationOn
Nullable<DateTimeOffset>

The date which the component got migrated to LA, in ISO 8601 format.

privateLinkScopedResources
IEnumerable<PrivateLinkScopedResourceReference>

List of linked private link scope resources.

publicNetworkAccessForIngestion
Nullable<ApplicationInsightsPublicNetworkAccessType>

The network access type for accessing Application Insights ingestion.

publicNetworkAccessForQuery
Nullable<ApplicationInsightsPublicNetworkAccessType>

The network access type for accessing Application Insights query.

ingestionMode
Nullable<ComponentIngestionMode>

Indicates the flow of the ingestion.

isDisableLocalAuth
Nullable<Boolean>

Disable Non-AAD based Auth.

isForceCustomerStorageForProfiler
Nullable<Boolean>

Force users to create their own storage account for profiler and debugger.

Returns

A new ApplicationInsightsComponentData instance for mocking.

Applies to

ApplicationInsightsComponentData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, String, Nullable<ETag>, String, String, String, Nullable<ApplicationType>, Nullable<FlowType>, Nullable<RequestSource>, String, Nullable<DateTimeOffset>, Nullable<Guid>, String, String, String, Nullable<Double>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<DateTimeOffset>, IEnumerable<PrivateLinkScopedResourceContent>, Nullable<PublicNetworkAccessType>, Nullable<PublicNetworkAccessType>, Nullable<IngestionMode>, Nullable<Boolean>, Nullable<Boolean>)

Source:
ArmApplicationInsightsModelFactory.cs

Initializes a new instance of ApplicationInsightsComponentData.

public static Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentData ApplicationInsightsComponentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string kind = default, Azure.ETag? etag = default, string applicationId = default, string appId = default, string namePropertiesName = default, Azure.ResourceManager.ApplicationInsights.Models.ApplicationType? applicationType = default, Azure.ResourceManager.ApplicationInsights.Models.FlowType? flowType = default, Azure.ResourceManager.ApplicationInsights.Models.RequestSource? requestSource = default, string instrumentationKey = default, DateTimeOffset? createdOn = default, Guid? tenantId = default, string hockeyAppId = default, string hockeyAppToken = default, string provisioningState = default, double? samplingPercentage = default, string connectionString = default, int? retentionInDays = default, bool? isDisableIPMasking = default, bool? isImmediatePurgeDataOn30Days = default, string workspaceResourceId = default, DateTimeOffset? laMigrationOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApplicationInsights.Models.PrivateLinkScopedResourceContent> privateLinkScopedResources = default, Azure.ResourceManager.ApplicationInsights.Models.PublicNetworkAccessType? publicNetworkAccessForIngestion = default, Azure.ResourceManager.ApplicationInsights.Models.PublicNetworkAccessType? publicNetworkAccessForQuery = default, Azure.ResourceManager.ApplicationInsights.Models.IngestionMode? ingestionMode = default, bool? isDisableLocalAuth = default, bool? isForceCustomerStorageForProfiler = default);
static member ApplicationInsightsComponentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Nullable<Azure.ETag> * string * string * string * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationType> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.FlowType> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.RequestSource> * string * Nullable<DateTimeOffset> * Nullable<Guid> * string * string * string * Nullable<double> * string * Nullable<int> * Nullable<bool> * Nullable<bool> * string * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.ApplicationInsights.Models.PrivateLinkScopedResourceContent> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.PublicNetworkAccessType> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.PublicNetworkAccessType> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.IngestionMode> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentData
Public Shared Function ApplicationInsightsComponentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional kind As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional applicationId As String = Nothing, Optional appId As String = Nothing, Optional namePropertiesName As String = Nothing, Optional applicationType As Nullable(Of ApplicationType) = Nothing, Optional flowType As Nullable(Of FlowType) = Nothing, Optional requestSource As Nullable(Of RequestSource) = Nothing, Optional instrumentationKey As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional tenantId As Nullable(Of Guid) = 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 isDisableIPMasking As Nullable(Of Boolean) = Nothing, Optional isImmediatePurgeDataOn30Days As Nullable(Of Boolean) = Nothing, Optional workspaceResourceId As String = Nothing, Optional laMigrationOn As Nullable(Of DateTimeOffset) = Nothing, Optional privateLinkScopedResources As IEnumerable(Of PrivateLinkScopedResourceContent) = Nothing, Optional publicNetworkAccessForIngestion As Nullable(Of PublicNetworkAccessType) = Nothing, Optional publicNetworkAccessForQuery As Nullable(Of PublicNetworkAccessType) = Nothing, Optional ingestionMode As Nullable(Of IngestionMode) = Nothing, Optional isDisableLocalAuth As Nullable(Of Boolean) = Nothing, Optional isForceCustomerStorageForProfiler As Nullable(Of Boolean) = Nothing) As ApplicationInsightsComponentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The 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.

etag
Nullable<ETag>

Resource etag.

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.

namePropertiesName
String

Application name.

applicationType
Nullable<ApplicationType>

Type of application being monitored.

flowType
Nullable<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.

requestSource
Nullable<RequestSource>

Describes what tool created this Application Insights component. Customers using this API should set this to the default '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.

createdOn
Nullable<DateTimeOffset>

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

tenantId
Nullable<Guid>

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.

isDisableIPMasking
Nullable<Boolean>

Disable IP masking.

isImmediatePurgeDataOn30Days
Nullable<Boolean>

Purge data immediately after 30 days.

workspaceResourceId
String

Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.

laMigrationOn
Nullable<DateTimeOffset>

The date which the component got migrated to LA, in ISO 8601 format.

privateLinkScopedResources
IEnumerable<PrivateLinkScopedResourceContent>

List of linked private link scope resources.

publicNetworkAccessForIngestion
Nullable<PublicNetworkAccessType>

The network access type for accessing Application Insights ingestion.

publicNetworkAccessForQuery
Nullable<PublicNetworkAccessType>

The network access type for accessing Application Insights query.

ingestionMode
Nullable<IngestionMode>

Indicates the flow of the ingestion.

isDisableLocalAuth
Nullable<Boolean>

Disable Non-AAD based Auth.

isForceCustomerStorageForProfiler
Nullable<Boolean>

Force users to create their own storage account for profiler and debugger.

Returns

A new ApplicationInsightsComponentData instance for mocking.

Applies to