azure.mgmt.applicationinsights.operations module¶
-
class
azure.mgmt.applicationinsights.operations.
Operations
(client, config, serializer, deserializer)[source]¶ Bases:
object
Operations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the available insights REST API operations.
Parameters: - custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of Operation
Return type: Raises:
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
AnnotationsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
AnnotationsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
create
(resource_group_name, resource_name, annotation_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Create an Annotation of an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- annotation_properties (Annotation) – Properties that need to be specified to create an annotation of a Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: list or ClientRawResponse if raw=true
Return type: list[Annotation] or ClientRawResponse
Raises:
-
delete
(resource_group_name, resource_name, annotation_id, custom_headers=None, raw=False, **operation_config)[source]¶ Delete an Annotation of an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- annotation_id (str) – The unique annotation ID. This is unique within a Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: object or ClientRawResponse if raw=true
Return type: object or ClientRawResponse
Raises: CloudError
-
get
(resource_group_name, resource_name, annotation_id, custom_headers=None, raw=False, **operation_config)[source]¶ Get the annotation for given id.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- annotation_id (str) – The unique annotation ID. This is unique within a Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: list or ClientRawResponse if raw=true
Return type: list[Annotation] or ClientRawResponse
Raises:
-
list
(resource_group_name, resource_name, start, end, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the list of annotations for a component for given time range.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- start (str) – The start time to query from for annotations, cannot be older than 90 days from current date.
- end (str) – The end time to query for annotations.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of Annotation
Return type: Raises:
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
APIKeysOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
APIKeysOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
create
(resource_group_name, resource_name, api_key_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Create an API Key of an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- api_key_properties (APIKeyRequest) – Properties that need to be specified to create an API key of a Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentAPIKey or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentAPIKey or ClientRawResponse
Raises: CloudError
-
delete
(resource_group_name, resource_name, key_id, custom_headers=None, raw=False, **operation_config)[source]¶ Delete an API Key of an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- key_id (str) – The API Key ID. This is unique within a Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentAPIKey or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentAPIKey or ClientRawResponse
Raises: CloudError
-
get
(resource_group_name, resource_name, key_id, custom_headers=None, raw=False, **operation_config)[source]¶ Get the API Key for this key id.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- key_id (str) – The API Key ID. This is unique within a Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentAPIKey or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentAPIKey or ClientRawResponse
Raises: CloudError
-
list
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of API keys of an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of ApplicationInsightsComponentAPIKey
Return type: ApplicationInsightsComponentAPIKeyPaged[ApplicationInsightsComponentAPIKey]
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
ExportConfigurationsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ExportConfigurationsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
create
(resource_group_name, resource_name, export_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Create a Continuous Export configuration of an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- export_properties (ApplicationInsightsComponentExportRequest) – Properties that need to be specified to create a Continuous Export configuration of a Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: list or ClientRawResponse if raw=true
Return type: list[ApplicationInsightsComponentExportConfiguration] or ClientRawResponse
Raises: CloudError
-
delete
(resource_group_name, resource_name, export_id, custom_headers=None, raw=False, **operation_config)[source]¶ Delete a Continuous Export configuration of an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- export_id (str) – The Continuous Export configuration ID. This is unique within a Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentExportConfiguration or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentExportConfiguration or ClientRawResponse
Raises: CloudError
-
get
(resource_group_name, resource_name, export_id, custom_headers=None, raw=False, **operation_config)[source]¶ Get the Continuous Export configuration for this export id.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- export_id (str) – The Continuous Export configuration ID. This is unique within a Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentExportConfiguration or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentExportConfiguration or ClientRawResponse
Raises: CloudError
-
list
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of Continuous Export configuration of an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: list or ClientRawResponse if raw=true
Return type: list[ApplicationInsightsComponentExportConfiguration] or ClientRawResponse
Raises: CloudError
-
update
(resource_group_name, resource_name, export_id, export_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Update the Continuous Export configuration for this export id.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- export_id (str) – The Continuous Export configuration ID. This is unique within a Application Insights component.
- export_properties (ApplicationInsightsComponentExportRequest) – Properties that need to be specified to update the Continuous Export configuration.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentExportConfiguration or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentExportConfiguration or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
ComponentCurrentBillingFeaturesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ComponentCurrentBillingFeaturesOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
get
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Returns current billing features for an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentBillingFeatures or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentBillingFeatures or ClientRawResponse
Raises: CloudError
-
update
(resource_group_name, resource_name, data_volume_cap=None, current_billing_features=None, custom_headers=None, raw=False, **operation_config)[source]¶ Update current billing features for an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- data_volume_cap (ApplicationInsightsComponentDataVolumeCap) – An Application Insights component daily data volume cap
- current_billing_features (list[str]) – Current enabled pricing plan. When the component is in the Enterprise plan, this will list both ‘Basic’ and ‘Application Insights Enterprise’.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentBillingFeatures or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentBillingFeatures or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
ComponentQuotaStatusOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ComponentQuotaStatusOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
get
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Returns daily data volume cap (quota) status for an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentQuotaStatus or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentQuotaStatus or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
ComponentFeatureCapabilitiesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ComponentFeatureCapabilitiesOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
get
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Returns feature capabilities of the application insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentFeatureCapabilities or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentFeatureCapabilities or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
ComponentAvailableFeaturesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ComponentAvailableFeaturesOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
get
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Returns all available features of the application insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentAvailableFeatures or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentAvailableFeatures or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
ProactiveDetectionConfigurationsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ProactiveDetectionConfigurationsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
get
(resource_group_name, resource_name, configuration_id, custom_headers=None, raw=False, **operation_config)[source]¶ Get the ProactiveDetection configuration for this configuration id.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- configuration_id (str) – The ProactiveDetection configuration ID. This is unique within a Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentProactiveDetectionConfiguration or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentProactiveDetectionConfiguration or ClientRawResponse
Raises: CloudError
-
list
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of ProactiveDetection configurations of an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: list or ClientRawResponse if raw=true
Return type: list[ApplicationInsightsComponentProactiveDetectionConfiguration] or ClientRawResponse
Raises: CloudError
-
update
(resource_group_name, resource_name, configuration_id, proactive_detection_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Update the ProactiveDetection configuration for this configuration id.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- configuration_id (str) – The ProactiveDetection configuration ID. This is unique within a Application Insights component.
- proactive_detection_properties (ApplicationInsightsComponentProactiveDetectionConfiguration) – Properties that need to be specified to update the ProactiveDetection configuration.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentProactiveDetectionConfiguration or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentProactiveDetectionConfiguration or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
ComponentsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ComponentsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
create_or_update
(resource_group_name, resource_name, insight_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- insight_properties (ApplicationInsightsComponent) – Properties that need to be specified to create an Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponent or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponent or ClientRawResponse
Raises: CloudError
-
delete
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Deletes an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: None or ClientRawResponse if raw=true
Return type: None or ClientRawResponse
Raises: CloudError
-
get
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Returns an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponent or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponent or ClientRawResponse
Raises: CloudError
-
get_purge_status
(resource_group_name, resource_name, purge_id, custom_headers=None, raw=False, **operation_config)[source]¶ Get status for an ongoing purge operation.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- purge_id (str) – In a purge status request, this is the Id of the operation the status of which is returned.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ComponentPurgeStatusResponse or ClientRawResponse if raw=true
Return type: ComponentPurgeStatusResponse or ClientRawResponse
Raises: CloudError
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of all Application Insights components within a subscription.
Parameters: - custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of ApplicationInsightsComponent
Return type: ApplicationInsightsComponentPaged[ApplicationInsightsComponent]
Raises: CloudError
-
list_by_resource_group
(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of Application Insights components within a resource group.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of ApplicationInsightsComponent
Return type: ApplicationInsightsComponentPaged[ApplicationInsightsComponent]
Raises: CloudError
-
purge
(resource_group_name, resource_name, table, filters, custom_headers=None, raw=False, **operation_config)[source]¶ Purges data in an Application Insights component by a set of user-defined filters.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- table (str) – Table from which to purge data.
- filters (list[ComponentPurgeBodyFilters]) – The set of columns and filters (queries) to run over them to purge the resulting data.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ComponentPurgeResponse or ClientRawResponse if raw=true
Return type: ComponentPurgeResponse or ClientRawResponse
Raises: CloudError
Updates an existing component’s tags. To update other fields use the CreateOrUpdate method.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- tags (dict[str, str]) – Resource tags
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponent or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponent or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
WorkItemConfigurationsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
WorkItemConfigurationsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
create
(resource_group_name, resource_name, work_item_configuration_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Create a work item configuration for an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- work_item_configuration_properties (WorkItemCreateConfiguration) – Properties that need to be specified to create a work item configuration of a Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: WorkItemConfiguration or ClientRawResponse if raw=true
Return type: WorkItemConfiguration or ClientRawResponse
Raises: CloudError
-
delete
(resource_group_name, resource_name, work_item_config_id, custom_headers=None, raw=False, **operation_config)[source]¶ Delete a work item configuration of an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- work_item_config_id (str) – The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: object or ClientRawResponse if raw=true
Return type: object or ClientRawResponse
Raises: CloudError
-
get_default
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets default work item configurations that exist for the application.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: WorkItemConfiguration or ClientRawResponse if raw=true
Return type: WorkItemConfiguration or ClientRawResponse
Raises: CloudError
-
get_item
(resource_group_name, resource_name, work_item_config_id, custom_headers=None, raw=False, **operation_config)[source]¶ Gets specified work item configuration for an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- work_item_config_id (str) – The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: WorkItemConfiguration or ClientRawResponse if raw=true
Return type: WorkItemConfiguration or ClientRawResponse
Raises: CloudError
-
list
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the list work item configurations that exist for the application.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of WorkItemConfiguration
Return type: Raises:
-
update_item
(resource_group_name, resource_name, work_item_config_id, work_item_configuration_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Update a work item configuration for an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- work_item_config_id (str) – The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration
- work_item_configuration_properties (WorkItemCreateConfiguration) – Properties that need to be specified to update a work item configuration for this Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: WorkItemConfiguration or ClientRawResponse if raw=true
Return type: WorkItemConfiguration or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
FavoritesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
FavoritesOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
add
(resource_group_name, resource_name, favorite_id, favorite_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Adds a new favorites to an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- favorite_id (str) – The Id of a specific favorite defined in the Application Insights component
- favorite_properties (ApplicationInsightsComponentFavorite) – Properties that need to be specified to create a new favorite and add it to an Application Insights component.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentFavorite or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentFavorite or ClientRawResponse
Raises: CloudError
-
delete
(resource_group_name, resource_name, favorite_id, custom_headers=None, raw=False, **operation_config)[source]¶ Remove a favorite that is associated to an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- favorite_id (str) – The Id of a specific favorite defined in the Application Insights component
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: None or ClientRawResponse if raw=true
Return type: None or ClientRawResponse
Raises: CloudError
-
get
(resource_group_name, resource_name, favorite_id, custom_headers=None, raw=False, **operation_config)[source]¶ Get a single favorite by its FavoriteId, defined within an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- favorite_id (str) – The Id of a specific favorite defined in the Application Insights component
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentFavorite or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentFavorite or ClientRawResponse
Raises: CloudError
-
list
(resource_group_name, resource_name, favorite_type='shared', source_type=None, can_fetch_content=None, tags=None, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of favorites defined within an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- favorite_type (str or FavoriteType) – The type of favorite. Value can be either shared or user. Possible values include: ‘shared’, ‘user’
- source_type (str or FavoriteSourceType) – Source type of favorite to return. When left out, the source type defaults to ‘other’ (not present in this enum). Possible values include: ‘retention’, ‘notebook’, ‘sessions’, ‘events’, ‘userflows’, ‘funnel’, ‘impact’, ‘segmentation’
- can_fetch_content (bool) – Flag indicating whether or not to return the full content for each applicable favorite. If false, only return summary content for favorites.
- tags (list[str]) – Tags that must be present on each favorite returned.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: list or ClientRawResponse if raw=true
Return type: list[ApplicationInsightsComponentFavorite] or ClientRawResponse
Raises: CloudError
-
update
(resource_group_name, resource_name, favorite_id, favorite_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Updates a favorite that has already been added to an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- favorite_id (str) – The Id of a specific favorite defined in the Application Insights component
- favorite_properties (ApplicationInsightsComponentFavorite) – Properties that need to be specified to update the existing favorite.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentFavorite or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentFavorite or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
WebTestLocationsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
WebTestLocationsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
list
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of web test locations available to this Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of ApplicationInsightsComponentWebTestLocation
Return type: ApplicationInsightsComponentWebTestLocationPaged[ApplicationInsightsComponentWebTestLocation]
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
WebTestsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
WebTestsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
create_or_update
(resource_group_name, web_test_name, web_test_definition, custom_headers=None, raw=False, **operation_config)[source]¶ Creates or updates an Application Insights web test definition.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- web_test_name (str) – The name of the Application Insights webtest resource.
- web_test_definition (WebTest) – Properties that need to be specified to create or update an Application Insights web test definition.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: WebTest or ClientRawResponse if raw=true
Return type: WebTest or ClientRawResponse
Raises: CloudError
-
delete
(resource_group_name, web_test_name, custom_headers=None, raw=False, **operation_config)[source]¶ Deletes an Application Insights web test.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- web_test_name (str) – The name of the Application Insights webtest resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: None or ClientRawResponse if raw=true
Return type: None or ClientRawResponse
Raises: CloudError
-
get
(resource_group_name, web_test_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get a specific Application Insights web test definition.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- web_test_name (str) – The name of the Application Insights webtest resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: WebTest or ClientRawResponse if raw=true
Return type: WebTest or ClientRawResponse
Raises: CloudError
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Get all Application Insights web test alerts definitions within a subscription.
Parameters: - custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of WebTest
Return type: Raises: CloudError
-
list_by_component
(component_name, resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get all Application Insights web tests defined for the specified component.
Parameters: - component_name (str) – The name of the Application Insights component resource.
- resource_group_name (str) – The name of the resource group. The name is case insensitive.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of WebTest
Return type: Raises: CloudError
-
list_by_resource_group
(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get all Application Insights web tests defined within a specified resource group.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of WebTest
Return type: Raises: CloudError
Creates or updates an Application Insights web test definition.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- web_test_name (str) – The name of the Application Insights webtest resource.
- tags (dict[str, str]) – Resource tags
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: WebTest or ClientRawResponse if raw=true
Return type: WebTest or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
AnalyticsItemsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
AnalyticsItemsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
delete
(resource_group_name, resource_name, scope_path, id=None, name=None, custom_headers=None, raw=False, **operation_config)[source]¶ Deletes a specific Analytics Items defined within an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- scope_path (str or ItemScopePath) – Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: ‘analyticsItems’, ‘myanalyticsItems’
- id (str) – The Id of a specific item defined in the Application Insights component
- name (str) – The name of a specific item defined in the Application Insights component
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: None or ClientRawResponse if raw=true
Return type: None or ClientRawResponse
Raises: CloudError
-
get
(resource_group_name, resource_name, scope_path, id=None, name=None, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a specific Analytics Items defined within an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- scope_path (str or ItemScopePath) – Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: ‘analyticsItems’, ‘myanalyticsItems’
- id (str) – The Id of a specific item defined in the Application Insights component
- name (str) – The name of a specific item defined in the Application Insights component
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentAnalyticsItem or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentAnalyticsItem or ClientRawResponse
Raises: CloudError
-
list
(resource_group_name, resource_name, scope_path, scope='shared', type='none', include_content=None, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a list of Analytics Items defined within an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- scope_path (str or ItemScopePath) – Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: ‘analyticsItems’, ‘myanalyticsItems’
- scope (str or ItemScope) – Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: ‘shared’, ‘user’
- type (str or ItemTypeParameter) – Enum indicating the type of the Analytics item. Possible values include: ‘none’, ‘query’, ‘function’, ‘folder’, ‘recent’
- include_content (bool) – Flag indicating whether or not to return the content of each applicable item. If false, only return the item information.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: list or ClientRawResponse if raw=true
Return type: list[ApplicationInsightsComponentAnalyticsItem] or ClientRawResponse
Raises: CloudError
-
put
(resource_group_name, resource_name, scope_path, item_properties, override_item=None, custom_headers=None, raw=False, **operation_config)[source]¶ Adds or Updates a specific Analytics Item within an Application Insights component.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- scope_path (str or ItemScopePath) – Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: ‘analyticsItems’, ‘myanalyticsItems’
- item_properties (ApplicationInsightsComponentAnalyticsItem) – Properties that need to be specified to create a new item and add it to an Application Insights component.
- override_item (bool) – Flag indicating whether or not to force save an item. This allows overriding an item if it already exists.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ApplicationInsightsComponentAnalyticsItem or ClientRawResponse if raw=true
Return type: ApplicationInsightsComponentAnalyticsItem or ClientRawResponse
Raises: CloudError
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶
-
class
azure.mgmt.applicationinsights.operations.
WorkbooksOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
WorkbooksOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The API version to use for this operation. Constant value: “2015-05-01”.
-
create_or_update
(resource_group_name, resource_name, workbook_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Create a new workbook.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- workbook_properties (Workbook) – Properties that need to be specified to create a new workbook.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: Workbook or ClientRawResponse if raw=true
Return type: Workbook or ClientRawResponse
Raises:
-
delete
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Delete a workbook.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: None or ClientRawResponse if raw=true
Return type: None or ClientRawResponse
Raises:
-
get
(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)[source]¶ Get a single workbook by its resourceName.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: Workbook or ClientRawResponse if raw=true
Return type: Workbook or ClientRawResponse
Raises:
-
list_by_resource_group
(resource_group_name, category, tags=None, can_fetch_content=None, custom_headers=None, raw=False, **operation_config)[source]¶ Get all Workbooks defined within a specified resource group and category.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- category (str or CategoryType) – Category of workbook to return. Possible values include: ‘workbook’, ‘TSG’, ‘performance’, ‘retention’
- tags (list[str]) – Tags presents on each workbook returned.
- can_fetch_content (bool) – Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of Workbook
Return type: Raises:
-
update
(resource_group_name, resource_name, workbook_properties, custom_headers=None, raw=False, **operation_config)[source]¶ Updates a workbook that has already been added.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_name (str) – The name of the Application Insights component resource.
- workbook_properties (Workbook) – Properties that need to be specified to create a new workbook.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: Workbook or ClientRawResponse if raw=true
Return type: Workbook or ClientRawResponse
Raises:
-
models
= <module 'azure.mgmt.applicationinsights.models' from '/usr/lib/python3/dist-packages/azure/mgmt/applicationinsights/models/__init__.py'>¶