ApplicationInsightsComponent Class
An Application Insights component definition.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.applicationinsights.v2020_02_02_preview.models._models_py3.ComponentsResourceApplicationInsightsComponent
Constructor
ApplicationInsightsComponent(*, location: str, kind: str, workspace_resource_id: str, tags=None, application_type='web', flow_type='Bluefield', request_source='rest', hockey_app_id: Optional[str] = None, sampling_percentage: Optional[float] = None, disable_ip_masking: Optional[bool] = None, immediate_purge_data_on30_days: Optional[bool] = None, public_network_access_for_ingestion='Enabled', public_network_access_for_query='Enabled', **kwargs)
Parameters
- kind
- str
Required. 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.
- application_type
- str or ApplicationType
Required. Type of application being monitored. Possible values include: 'web', 'other'. Default value: "web" .
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'. Default value: "Bluefield" .
- request_source
- str or RequestSource
Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'. Possible values include: 'rest'. Default value: "rest" .
- hockey_app_id
- str
The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.
- sampling_percentage
- float
Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.
- workspace_resource_id
- str
Required. ResourceId of the log analytics workspace which the data will be ingested to.
- public_network_access_for_ingestion
- str or PublicNetworkAccessType
The network access type for accessing Application Insights ingestion. Possible values include: 'Enabled', 'Disabled'. Default value: "Enabled" .
- public_network_access_for_query
- str or PublicNetworkAccessType
The network access type for accessing Application Insights query. Possible values include: 'Enabled', 'Disabled'. Default value: "Enabled" .
Variables
- id
- str
Azure resource Id
- name
- str
Azure resource name
- type
- str
Azure resource type
- application_id
- str
The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
- app_id
- str
Application Insights Unique ID for your Application.
- instrumentation_key
- str
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.
- creation_date
- datetime
Creation Date for the Application Insights component, in ISO 8601 format.
- tenant_id
- str
Azure Tenant Id.
- hockey_app_token
- str
Token used to authenticate communications with between Application Insights and HockeyApp.
- provisioning_state
- str
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.
- connection_string
- str
Application Insights component connection string.
- retention_in_days
- int
Retention period in days.
- private_link_scoped_resources
- list[PrivateLinkScopedResource]
List of linked private link scope resources.
Feedback
Submit and view feedback for