azure.applicationinsights.models module¶
-
exception
azure.applicationinsights.models.
ErrorResponseException
(deserialize, response, *args)[source]¶ Bases:
msrest.exceptions.HttpOperationError
Server responsed with exception of type: ‘ErrorResponse’.
Parameters: - deserialize – A deserializer
- response – Server response to be deserialized.
-
class
azure.applicationinsights.models.
MetricsPostBodySchemaParameters
(*, metric_id, timespan: str = None, aggregation=None, interval=None, segment=None, top: int = None, orderby: str = None, filter: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The parameters for a single metrics query.
All required parameters must be populated in order to send to Azure.
Parameters: - metric_id (str or MetricId) – Required. Possible values include: ‘requests/count’, ‘requests/duration’, ‘requests/failed’, ‘users/count’, ‘users/authenticated’, ‘pageViews/count’, ‘pageViews/duration’, ‘client/processingDuration’, ‘client/receiveDuration’, ‘client/networkDuration’, ‘client/sendDuration’, ‘client/totalDuration’, ‘dependencies/count’, ‘dependencies/failed’, ‘dependencies/duration’, ‘exceptions/count’, ‘exceptions/browser’, ‘exceptions/server’, ‘sessions/count’, ‘performanceCounters/requestExecutionTime’, ‘performanceCounters/requestsPerSecond’, ‘performanceCounters/requestsInQueue’, ‘performanceCounters/memoryAvailableBytes’, ‘performanceCounters/exceptionsPerSecond’, ‘performanceCounters/processCpuPercentage’, ‘performanceCounters/processIOBytesPerSecond’, ‘performanceCounters/processPrivateBytes’, ‘performanceCounters/processorCpuPercentage’, ‘availabilityResults/availabilityPercentage’, ‘availabilityResults/duration’, ‘billing/telemetryCount’, ‘customEvents/count’
- timespan (str) –
- aggregation (list[str or MetricsAggregation]) –
- interval (timedelta) –
- segment (list[str or MetricsSegment]) –
- top (int) –
- orderby (str) –
- filter (str) –
-
class
azure.applicationinsights.models.
MetricsPostBodySchema
(*, id: str, parameters, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A metric request.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. An identifier for this query. Must be unique within the post body of the request. This identifier will be the ‘id’ property of the response object representing this query.
- parameters (MetricsPostBodySchemaParameters) – Required. The parameters for a single metrics query
-
class
azure.applicationinsights.models.
MetricsSegmentInfo
(*, additional_properties=None, start=None, end=None, segments=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A metric segment.
Parameters: - additional_properties (dict[str, object]) – Unmatched properties from the message are deserialized this collection
- start (datetime) – Start time of the metric segment (only when an interval was specified).
- end (datetime) – Start time of the metric segment (only when an interval was specified).
- segments (list[MetricsSegmentInfo]) – Segmented metric data (if further segmented).
-
class
azure.applicationinsights.models.
MetricsResultInfo
(*, additional_properties=None, start=None, end=None, interval=None, segments=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A metric result data.
Parameters: - additional_properties (dict[str, object]) – Unmatched properties from the message are deserialized this collection
- start (datetime) – Start time of the metric.
- end (datetime) – Start time of the metric.
- interval (timedelta) – The interval used to segment the metric data.
- segments (list[MetricsSegmentInfo]) – Segmented metric data (if segmented).
-
class
azure.applicationinsights.models.
MetricsResult
(*, value=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A metric result.
Parameters: value (MetricsResultInfo) –
-
class
azure.applicationinsights.models.
MetricsResultsItem
(*, id: str, status: int, body, **kwargs)[source]¶ Bases:
msrest.serialization.Model
MetricsResultsItem.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – Required. The specified ID for this metric.
- status (int) – Required. The HTTP status code of this metric query.
- body (MetricsResult) – Required. The results of this metric query.
-
class
azure.applicationinsights.models.
ErrorDetail
(*, code: str, message: str, target: str = None, value: str = None, resources=None, additional_properties=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Error details.
All required parameters must be populated in order to send to Azure.
Parameters: - code (str) – Required. The error’s code.
- message (str) – Required. A human readable error message.
- target (str) – Indicates which property in the request is responsible for the error.
- value (str) – Indicates which value in ‘target’ is responsible for the error.
- resources (list[str]) – Indicates resources which were responsible for the error.
- additional_properties (object) –
-
class
azure.applicationinsights.models.
ErrorInfo
(*, code: str, message: str, details=None, innererror=None, additional_properties=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The code and message for an error.
All required parameters must be populated in order to send to Azure.
Parameters:
-
class
azure.applicationinsights.models.
EventsResultDataCustomDimensions
(*, additional_properties=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Custom dimensions of the event.
Parameters: additional_properties (object) –
-
class
azure.applicationinsights.models.
EventsResultDataCustomMeasurements
(*, additional_properties=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Custom measurements of the event.
Parameters: additional_properties (object) –
-
class
azure.applicationinsights.models.
EventsOperationInfo
(*, name: str = None, id: str = None, parent_id: str = None, synthetic_source: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Operation info for an event result.
Parameters:
-
class
azure.applicationinsights.models.
EventsSessionInfo
(*, id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Session info for an event result.
Parameters: id (str) – ID of the session
-
class
azure.applicationinsights.models.
EventsUserInfo
(*, id: str = None, account_id: str = None, authenticated_id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
User info for an event result.
Parameters:
-
class
azure.applicationinsights.models.
EventsCloudInfo
(*, role_name: str = None, role_instance: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Cloud info for an event result.
Parameters:
-
class
azure.applicationinsights.models.
EventsAiInfo
(*, i_key: str = None, app_name: str = None, app_id: str = None, sdk_version: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
AI related application info for an event result.
Parameters:
-
class
azure.applicationinsights.models.
EventsApplicationInfo
(*, version: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Application info for an event result.
Parameters: version (str) – Version of the application
-
class
azure.applicationinsights.models.
EventsClientInfo
(*, model: str = None, os: str = None, type: str = None, browser: str = None, ip: str = None, city: str = None, state_or_province: str = None, country_or_region: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Client info for an event result.
Parameters: - model (str) – Model of the client
- os (str) – Operating system of the client
- type (str) – Type of the client
- browser (str) – Browser of the client
- ip (str) – IP address of the client
- city (str) – City of the client
- state_or_province (str) – State or province of the client
- country_or_region (str) – Country or region of the client
-
class
azure.applicationinsights.models.
EventsResultData
(*, id: str = None, count: int = None, timestamp=None, custom_dimensions=None, custom_measurements=None, operation=None, session=None, user=None, cloud=None, ai=None, application=None, client=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Events query result data.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: EventsTraceResult, EventsCustomEventResult, EventsPageViewResult, EventsBrowserTimingResult, EventsRequestResult, EventsDependencyResult, EventsExceptionResult, EventsAvailabilityResultResult, EventsPerformanceCounterResult, EventsCustomMetricResult
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – The unique ID for this event.
- count (long) – Count of the event
- timestamp (datetime) – Timestamp of the event
- custom_dimensions (EventsResultDataCustomDimensions) – Custom dimensions of the event
- custom_measurements (EventsResultDataCustomMeasurements) – Custom measurements of the event
- operation (EventsOperationInfo) – Operation info of the event
- session (EventsSessionInfo) – Session info of the event
- user (EventsUserInfo) – User info of the event
- cloud (EventsCloudInfo) – Cloud info of the event
- ai (EventsAiInfo) – AI info of the event
- application (EventsApplicationInfo) – Application info of the event
- client (EventsClientInfo) – Client info of the event
- type (str) – Required. Constant filled by server.
-
class
azure.applicationinsights.models.
EventsResults
(*, odatacontext: str = None, aimessages=None, value=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
An events query result.
Parameters: - odatacontext (str) – OData context metadata endpoint for this response
- aimessages (list[ErrorInfo]) – OData messages for this response.
- value (list[EventsResultData]) – Contents of the events query result.
-
class
azure.applicationinsights.models.
EventsResult
(*, aimessages=None, value=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
An event query result.
Parameters: - aimessages (list[ErrorInfo]) – OData messages for this response.
- value (EventsResultData) –
-
class
azure.applicationinsights.models.
EventsTraceInfo
(*, message: str = None, severity_level: int = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The trace information.
Parameters:
-
class
azure.applicationinsights.models.
EventsTraceResult
(*, id: str = None, count: int = None, timestamp=None, custom_dimensions=None, custom_measurements=None, operation=None, session=None, user=None, cloud=None, ai=None, application=None, client=None, trace=None, **kwargs)[source]¶ Bases:
azure.applicationinsights.models.events_result_data_py3.EventsResultData
A trace result.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – The unique ID for this event.
- count (long) – Count of the event
- timestamp (datetime) – Timestamp of the event
- custom_dimensions (EventsResultDataCustomDimensions) – Custom dimensions of the event
- custom_measurements (EventsResultDataCustomMeasurements) – Custom measurements of the event
- operation (EventsOperationInfo) – Operation info of the event
- session (EventsSessionInfo) – Session info of the event
- user (EventsUserInfo) – User info of the event
- cloud (EventsCloudInfo) – Cloud info of the event
- ai (EventsAiInfo) – AI info of the event
- application (EventsApplicationInfo) – Application info of the event
- client (EventsClientInfo) – Client info of the event
- type (str) – Required. Constant filled by server.
- trace (EventsTraceInfo) –
-
class
azure.applicationinsights.models.
EventsCustomEventInfo
(*, name: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The custom event information.
Parameters: name (str) – The name of the custom event
-
class
azure.applicationinsights.models.
EventsCustomEventResult
(*, id: str = None, count: int = None, timestamp=None, custom_dimensions=None, custom_measurements=None, operation=None, session=None, user=None, cloud=None, ai=None, application=None, client=None, custom_event=None, **kwargs)[source]¶ Bases:
azure.applicationinsights.models.events_result_data_py3.EventsResultData
A custom event result.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – The unique ID for this event.
- count (long) – Count of the event
- timestamp (datetime) – Timestamp of the event
- custom_dimensions (EventsResultDataCustomDimensions) – Custom dimensions of the event
- custom_measurements (EventsResultDataCustomMeasurements) – Custom measurements of the event
- operation (EventsOperationInfo) – Operation info of the event
- session (EventsSessionInfo) – Session info of the event
- user (EventsUserInfo) – User info of the event
- cloud (EventsCloudInfo) – Cloud info of the event
- ai (EventsAiInfo) – AI info of the event
- application (EventsApplicationInfo) – Application info of the event
- client (EventsClientInfo) – Client info of the event
- type (str) – Required. Constant filled by server.
- custom_event (EventsCustomEventInfo) –
-
class
azure.applicationinsights.models.
EventsPageViewInfo
(*, name: str = None, url: str = None, duration: str = None, performance_bucket: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The page view information.
Parameters:
-
class
azure.applicationinsights.models.
EventsPageViewResult
(*, id: str = None, count: int = None, timestamp=None, custom_dimensions=None, custom_measurements=None, operation=None, session=None, user=None, cloud=None, ai=None, application=None, client=None, page_view=None, **kwargs)[source]¶ Bases:
azure.applicationinsights.models.events_result_data_py3.EventsResultData
A page view result.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – The unique ID for this event.
- count (long) – Count of the event
- timestamp (datetime) – Timestamp of the event
- custom_dimensions (EventsResultDataCustomDimensions) – Custom dimensions of the event
- custom_measurements (EventsResultDataCustomMeasurements) – Custom measurements of the event
- operation (EventsOperationInfo) – Operation info of the event
- session (EventsSessionInfo) – Session info of the event
- user (EventsUserInfo) – User info of the event
- cloud (EventsCloudInfo) – Cloud info of the event
- ai (EventsAiInfo) – AI info of the event
- application (EventsApplicationInfo) – Application info of the event
- client (EventsClientInfo) – Client info of the event
- type (str) – Required. Constant filled by server.
- page_view (EventsPageViewInfo) –
-
class
azure.applicationinsights.models.
EventsBrowserTimingInfo
(*, url_path: str = None, url_host: str = None, name: str = None, url: str = None, total_duration: int = None, performance_bucket: str = None, network_duration: int = None, send_duration: int = None, receive_duration: int = None, processing_duration: int = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The browser timing information.
Parameters: - url_path (str) – The path of the URL
- url_host (str) – The host of the URL
- name (str) – The name of the page
- url (str) – The url of the page
- total_duration (long) – The total duration of the load
- performance_bucket (str) – The performance bucket of the load
- network_duration (long) – The network duration of the load
- send_duration (long) – The send duration of the load
- receive_duration (long) – The receive duration of the load
- processing_duration (long) – The processing duration of the load
-
class
azure.applicationinsights.models.
EventsClientPerformanceInfo
(*, name: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Client performance information.
Parameters: name (str) – The name of the client performance
-
class
azure.applicationinsights.models.
EventsBrowserTimingResult
(*, id: str = None, count: int = None, timestamp=None, custom_dimensions=None, custom_measurements=None, operation=None, session=None, user=None, cloud=None, ai=None, application=None, client=None, browser_timing=None, client_performance=None, **kwargs)[source]¶ Bases:
azure.applicationinsights.models.events_result_data_py3.EventsResultData
A browser timing result.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – The unique ID for this event.
- count (long) – Count of the event
- timestamp (datetime) – Timestamp of the event
- custom_dimensions (EventsResultDataCustomDimensions) – Custom dimensions of the event
- custom_measurements (EventsResultDataCustomMeasurements) – Custom measurements of the event
- operation (EventsOperationInfo) – Operation info of the event
- session (EventsSessionInfo) – Session info of the event
- user (EventsUserInfo) – User info of the event
- cloud (EventsCloudInfo) – Cloud info of the event
- ai (EventsAiInfo) – AI info of the event
- application (EventsApplicationInfo) – Application info of the event
- client (EventsClientInfo) – Client info of the event
- type (str) – Required. Constant filled by server.
- browser_timing (EventsBrowserTimingInfo) –
- client_performance (EventsClientPerformanceInfo) –
-
class
azure.applicationinsights.models.
EventsRequestInfo
(*, name: str = None, url: str = None, success: str = None, duration: float = None, performance_bucket: str = None, result_code: str = None, source: str = None, id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The request info.
Parameters: - name (str) – The name of the request
- url (str) – The URL of the request
- success (str) – Indicates if the request was successful
- duration (float) – The duration of the request
- performance_bucket (str) – The performance bucket of the request
- result_code (str) – The result code of the request
- source (str) – The source of the request
- id (str) – The ID of the request
-
class
azure.applicationinsights.models.
EventsRequestResult
(*, id: str = None, count: int = None, timestamp=None, custom_dimensions=None, custom_measurements=None, operation=None, session=None, user=None, cloud=None, ai=None, application=None, client=None, request=None, **kwargs)[source]¶ Bases:
azure.applicationinsights.models.events_result_data_py3.EventsResultData
A request result.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – The unique ID for this event.
- count (long) – Count of the event
- timestamp (datetime) – Timestamp of the event
- custom_dimensions (EventsResultDataCustomDimensions) – Custom dimensions of the event
- custom_measurements (EventsResultDataCustomMeasurements) – Custom measurements of the event
- operation (EventsOperationInfo) – Operation info of the event
- session (EventsSessionInfo) – Session info of the event
- user (EventsUserInfo) – User info of the event
- cloud (EventsCloudInfo) – Cloud info of the event
- ai (EventsAiInfo) – AI info of the event
- application (EventsApplicationInfo) – Application info of the event
- client (EventsClientInfo) – Client info of the event
- type (str) – Required. Constant filled by server.
- request (EventsRequestInfo) –
-
class
azure.applicationinsights.models.
EventsDependencyInfo
(*, target: str = None, data: str = None, success: str = None, duration: int = None, performance_bucket: str = None, result_code: str = None, type: str = None, name: str = None, id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The dependency info.
Parameters: - target (str) – The target of the dependency
- data (str) – The data of the dependency
- success (str) – Indicates if the dependency was successful
- duration (long) – The duration of the dependency
- performance_bucket (str) – The performance bucket of the dependency
- result_code (str) – The result code of the dependency
- type (str) – The type of the dependency
- name (str) – The name of the dependency
- id (str) – The ID of the dependency
-
class
azure.applicationinsights.models.
EventsDependencyResult
(*, id: str = None, count: int = None, timestamp=None, custom_dimensions=None, custom_measurements=None, operation=None, session=None, user=None, cloud=None, ai=None, application=None, client=None, dependency=None, **kwargs)[source]¶ Bases:
azure.applicationinsights.models.events_result_data_py3.EventsResultData
A dependency result.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – The unique ID for this event.
- count (long) – Count of the event
- timestamp (datetime) – Timestamp of the event
- custom_dimensions (EventsResultDataCustomDimensions) – Custom dimensions of the event
- custom_measurements (EventsResultDataCustomMeasurements) – Custom measurements of the event
- operation (EventsOperationInfo) – Operation info of the event
- session (EventsSessionInfo) – Session info of the event
- user (EventsUserInfo) – User info of the event
- cloud (EventsCloudInfo) – Cloud info of the event
- ai (EventsAiInfo) – AI info of the event
- application (EventsApplicationInfo) – Application info of the event
- client (EventsClientInfo) – Client info of the event
- type (str) – Required. Constant filled by server.
- dependency (EventsDependencyInfo) –
-
class
azure.applicationinsights.models.
EventsExceptionDetailsParsedStack
(*, assembly: str = None, method: str = None, level: int = None, line: int = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A parsed stack entry.
Parameters:
-
class
azure.applicationinsights.models.
EventsExceptionDetail
(*, severity_level: str = None, outer_id: str = None, message: str = None, type: str = None, id: str = None, parsed_stack=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Exception details.
Parameters: - severity_level (str) – The severity level of the exception detail
- outer_id (str) – The outer ID of the exception detail
- message (str) – The message of the exception detail
- type (str) – The type of the exception detail
- id (str) – The ID of the exception detail
- parsed_stack (list[EventsExceptionDetailsParsedStack]) – The parsed stack
-
class
azure.applicationinsights.models.
EventsExceptionInfo
(*, severity_level: int = None, problem_id: str = None, handled_at: str = None, assembly: str = None, method: str = None, message: str = None, type: str = None, outer_type: str = None, outer_method: str = None, outer_assembly: str = None, outer_message: str = None, innermost_type: str = None, innermost_message: str = None, innermost_method: str = None, innermost_assembly: str = None, details=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The exception info.
Parameters: - severity_level (int) – The severity level of the exception
- problem_id (str) – The problem ID of the exception
- handled_at (str) – Indicates where the exception was handled at
- assembly (str) – The assembly which threw the exception
- method (str) – The method that threw the exception
- message (str) – The message of the exception
- type (str) – The type of the exception
- outer_type (str) – The outer type of the exception
- outer_method (str) – The outer method of the exception
- outer_assembly (str) – The outer assmebly of the exception
- outer_message (str) – The outer message of the exception
- innermost_type (str) – The inner most type of the exception
- innermost_message (str) – The inner most message of the exception
- innermost_method (str) – The inner most method of the exception
- innermost_assembly (str) – The inner most assembly of the exception
- details (list[EventsExceptionDetail]) – The details of the exception
-
class
azure.applicationinsights.models.
EventsExceptionResult
(*, id: str = None, count: int = None, timestamp=None, custom_dimensions=None, custom_measurements=None, operation=None, session=None, user=None, cloud=None, ai=None, application=None, client=None, exception=None, **kwargs)[source]¶ Bases:
azure.applicationinsights.models.events_result_data_py3.EventsResultData
An exception result.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – The unique ID for this event.
- count (long) – Count of the event
- timestamp (datetime) – Timestamp of the event
- custom_dimensions (EventsResultDataCustomDimensions) – Custom dimensions of the event
- custom_measurements (EventsResultDataCustomMeasurements) – Custom measurements of the event
- operation (EventsOperationInfo) – Operation info of the event
- session (EventsSessionInfo) – Session info of the event
- user (EventsUserInfo) – User info of the event
- cloud (EventsCloudInfo) – Cloud info of the event
- ai (EventsAiInfo) – AI info of the event
- application (EventsApplicationInfo) – Application info of the event
- client (EventsClientInfo) – Client info of the event
- type (str) – Required. Constant filled by server.
- exception (EventsExceptionInfo) –
-
class
azure.applicationinsights.models.
EventsAvailabilityResultInfo
(*, name: str = None, success: str = None, duration: int = None, performance_bucket: str = None, message: str = None, location: str = None, id: str = None, size: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The availability result info.
Parameters: - name (str) – The name of the availability result
- success (str) – Indicates if the availability result was successful
- duration (long) – The duration of the availability result
- performance_bucket (str) – The performance bucket of the availability result
- message (str) – The message of the availability result
- location (str) – The location of the availability result
- id (str) – The ID of the availability result
- size (str) – The size of the availability result
-
class
azure.applicationinsights.models.
EventsAvailabilityResultResult
(*, id: str = None, count: int = None, timestamp=None, custom_dimensions=None, custom_measurements=None, operation=None, session=None, user=None, cloud=None, ai=None, application=None, client=None, availability_result=None, **kwargs)[source]¶ Bases:
azure.applicationinsights.models.events_result_data_py3.EventsResultData
An availability result result.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – The unique ID for this event.
- count (long) – Count of the event
- timestamp (datetime) – Timestamp of the event
- custom_dimensions (EventsResultDataCustomDimensions) – Custom dimensions of the event
- custom_measurements (EventsResultDataCustomMeasurements) – Custom measurements of the event
- operation (EventsOperationInfo) – Operation info of the event
- session (EventsSessionInfo) – Session info of the event
- user (EventsUserInfo) – User info of the event
- cloud (EventsCloudInfo) – Cloud info of the event
- ai (EventsAiInfo) – AI info of the event
- application (EventsApplicationInfo) – Application info of the event
- client (EventsClientInfo) – Client info of the event
- type (str) – Required. Constant filled by server.
- availability_result (EventsAvailabilityResultInfo) –
-
class
azure.applicationinsights.models.
EventsPerformanceCounterInfo
(*, value: float = None, name: str = None, category: str = None, counter: str = None, instance_name: str = None, instance: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The performance counter info.
Parameters: - value (float) – The value of the performance counter
- name (str) – The name of the performance counter
- category (str) – The category of the performance counter
- counter (str) – The counter of the performance counter
- instance_name (str) – The instance name of the performance counter
- instance (str) – The instance of the performance counter
-
class
azure.applicationinsights.models.
EventsPerformanceCounterResult
(*, id: str = None, count: int = None, timestamp=None, custom_dimensions=None, custom_measurements=None, operation=None, session=None, user=None, cloud=None, ai=None, application=None, client=None, performance_counter=None, **kwargs)[source]¶ Bases:
azure.applicationinsights.models.events_result_data_py3.EventsResultData
A performance counter result.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – The unique ID for this event.
- count (long) – Count of the event
- timestamp (datetime) – Timestamp of the event
- custom_dimensions (EventsResultDataCustomDimensions) – Custom dimensions of the event
- custom_measurements (EventsResultDataCustomMeasurements) – Custom measurements of the event
- operation (EventsOperationInfo) – Operation info of the event
- session (EventsSessionInfo) – Session info of the event
- user (EventsUserInfo) – User info of the event
- cloud (EventsCloudInfo) – Cloud info of the event
- ai (EventsAiInfo) – AI info of the event
- application (EventsApplicationInfo) – Application info of the event
- client (EventsClientInfo) – Client info of the event
- type (str) – Required. Constant filled by server.
- performance_counter (EventsPerformanceCounterInfo) –
-
class
azure.applicationinsights.models.
EventsCustomMetricInfo
(*, name: str = None, value: float = None, value_sum: float = None, value_count: int = None, value_min: float = None, value_max: float = None, value_std_dev: float = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The custom metric info.
Parameters: - name (str) – The name of the custom metric
- value (float) – The value of the custom metric
- value_sum (float) – The sum of the custom metric
- value_count (int) – The count of the custom metric
- value_min (float) – The minimum value of the custom metric
- value_max (float) – The maximum value of the custom metric
- value_std_dev (float) – The standard deviation of the custom metric
-
class
azure.applicationinsights.models.
EventsCustomMetricResult
(*, id: str = None, count: int = None, timestamp=None, custom_dimensions=None, custom_measurements=None, operation=None, session=None, user=None, cloud=None, ai=None, application=None, client=None, custom_metric=None, **kwargs)[source]¶ Bases:
azure.applicationinsights.models.events_result_data_py3.EventsResultData
A custom metric result.
All required parameters must be populated in order to send to Azure.
Parameters: - id (str) – The unique ID for this event.
- count (long) – Count of the event
- timestamp (datetime) – Timestamp of the event
- custom_dimensions (EventsResultDataCustomDimensions) – Custom dimensions of the event
- custom_measurements (EventsResultDataCustomMeasurements) – Custom measurements of the event
- operation (EventsOperationInfo) – Operation info of the event
- session (EventsSessionInfo) – Session info of the event
- user (EventsUserInfo) – User info of the event
- cloud (EventsCloudInfo) – Cloud info of the event
- ai (EventsAiInfo) – AI info of the event
- application (EventsApplicationInfo) – Application info of the event
- client (EventsClientInfo) – Client info of the event
- type (str) – Required. Constant filled by server.
- custom_metric (EventsCustomMetricInfo) –
-
class
azure.applicationinsights.models.
QueryBody
(*, query: str, timespan: str = None, applications=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/).
All required parameters must be populated in order to send to Azure.
Parameters: - query (str) – Required. The query to execute.
- timespan (str) – Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.
- applications (list[str]) – A list of Application IDs for cross-application queries.
-
class
azure.applicationinsights.models.
Column
(*, name: str = None, type: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A table column.
A column in a table.
Parameters:
-
class
azure.applicationinsights.models.
Table
(*, name: str, columns, rows, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A query response table.
Contains the columns and rows for one table in a query response.
All required parameters must be populated in order to send to Azure.
Parameters:
-
class
azure.applicationinsights.models.
QueryResults
(*, tables, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A query response.
Contains the tables, columns & rows resulting from a query.
All required parameters must be populated in order to send to Azure.
Parameters: tables (list[Table]) – Required. The list of tables, columns and rows.
-
class
azure.applicationinsights.models.
ErrorResponse
(*, error, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Error details.
Contains details when the response code indicates an error.
All required parameters must be populated in order to send to Azure.
Parameters: error (ErrorInfo) – Required. The error details.
-
class
azure.applicationinsights.models.
MetricId
[source]¶ -
An enumeration.
-
availability_resultsavailability_percentage
= 'availabilityResults/availabilityPercentage'¶
-
availability_resultsduration
= 'availabilityResults/duration'¶
-
billingtelemetry_count
= 'billing/telemetryCount'¶
-
clientnetwork_duration
= 'client/networkDuration'¶
-
clientprocessing_duration
= 'client/processingDuration'¶
-
clientreceive_duration
= 'client/receiveDuration'¶
-
clientsend_duration
= 'client/sendDuration'¶
-
clienttotal_duration
= 'client/totalDuration'¶
-
custom_eventscount
= 'customEvents/count'¶
-
dependenciescount
= 'dependencies/count'¶
-
dependenciesduration
= 'dependencies/duration'¶
-
dependenciesfailed
= 'dependencies/failed'¶
-
exceptionsbrowser
= 'exceptions/browser'¶
-
exceptionscount
= 'exceptions/count'¶
-
exceptionsserver
= 'exceptions/server'¶
-
page_viewscount
= 'pageViews/count'¶
-
page_viewsduration
= 'pageViews/duration'¶
-
performance_countersexceptions_per_second
= 'performanceCounters/exceptionsPerSecond'¶
-
performance_countersmemory_available_bytes
= 'performanceCounters/memoryAvailableBytes'¶
-
performance_countersprocess_cpu_percentage
= 'performanceCounters/processCpuPercentage'¶
-
performance_countersprocess_io_bytes_per_second
= 'performanceCounters/processIOBytesPerSecond'¶
-
performance_countersprocess_private_bytes
= 'performanceCounters/processPrivateBytes'¶
-
performance_countersprocessor_cpu_percentage
= 'performanceCounters/processorCpuPercentage'¶
-
performance_countersrequest_execution_time
= 'performanceCounters/requestExecutionTime'¶
-
performance_countersrequests_in_queue
= 'performanceCounters/requestsInQueue'¶
-
performance_countersrequests_per_second
= 'performanceCounters/requestsPerSecond'¶
-
requestscount
= 'requests/count'¶
-
requestsduration
= 'requests/duration'¶
-
requestsfailed
= 'requests/failed'¶
-
sessionscount
= 'sessions/count'¶
-
usersauthenticated
= 'users/authenticated'¶
-
userscount
= 'users/count'¶
-
-
class
azure.applicationinsights.models.
MetricsAggregation
[source]¶ -
An enumeration.
-
avg
= 'avg'¶
-
count
= 'count'¶
-
max
= 'max'¶
-
min
= 'min'¶
-
sum
= 'sum'¶
-
unique
= 'unique'¶
-
-
class
azure.applicationinsights.models.
MetricsSegment
[source]¶ -
An enumeration.
-
application_build
= 'applicationBuild'¶
-
application_version
= 'applicationVersion'¶
-
authenticated_or_anonymous_traffic
= 'authenticatedOrAnonymousTraffic'¶
-
browser
= 'browser'¶
-
browser_version
= 'browserVersion'¶
-
city
= 'city'¶
-
cloud_role_name
= 'cloudRoleName'¶
-
cloud_service_name
= 'cloudServiceName'¶
-
continent
= 'continent'¶
-
country_or_region
= 'countryOrRegion'¶
-
deployment_id
= 'deploymentId'¶
-
deployment_unit
= 'deploymentUnit'¶
-
device_type
= 'deviceType'¶
-
environment
= 'environment'¶
-
hosting_location
= 'hostingLocation'¶
-
instance_name
= 'instanceName'¶
-
-
class
azure.applicationinsights.models.
EventType
[source]¶ -
An enumeration.
-
all
= '$all'¶
-
availability_results
= 'availabilityResults'¶
-
browser_timings
= 'browserTimings'¶
-
custom_events
= 'customEvents'¶
-
custom_metrics
= 'customMetrics'¶
-
dependencies
= 'dependencies'¶
-
exceptions
= 'exceptions'¶
-
page_views
= 'pageViews'¶
-
performance_counters
= 'performanceCounters'¶
-
requests
= 'requests'¶
-
traces
= 'traces'¶
-