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 objec model deserializer.
Variables: api_version – Client Api Version. 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.
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 objec model deserializer.
Variables: api_version – Client Api Version. 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.
- 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.
- 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.
- 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
-
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.
- 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
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.
- 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.
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 objec model deserializer.
Variables: api_version – Client Api Version. 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.
- 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.
- 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.
- 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 definitioned 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_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.
- 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.
- 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.
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 objec model deserializer.
Variables: api_version – Client Api Version. 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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 objec model deserializer.
Variables: api_version – Client Api Version. 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.
- 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.
- 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.
- 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.
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 objec model deserializer.
Variables: api_version – Client Api Version. 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.
- 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.
- resource_name (str) – The name of the Application Insights component resource.
- data_volume_cap (ApplicationInsightsComponentDataVolumeCap) – An Application Insights component daily data volumne 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 objec model deserializer.
Variables: api_version – Client Api Version. 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.
- 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.
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 objec model deserializer.
Variables: api_version – Client Api Version. 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.
- 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.
- 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.
- 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.
- 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'>¶