ProactiveDetectionConfigurationsOperations Class

ProactiveDetectionConfigurationsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Inheritance
builtins.object
ProactiveDetectionConfigurationsOperations

Constructor

ProactiveDetectionConfigurationsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

api_version

The API version to use for this operation. Constant value: "2018-05-01-preview".

Methods

get

Get the ProactiveDetection configuration for this configuration id.

list

Gets a list of ProactiveDetection configurations of an Application Insights component.

update

Update the ProactiveDetection configuration for this configuration id.

get

Get the ProactiveDetection configuration for this configuration id.

get(resource_group_name, resource_name, configuration_id, custom_headers=None, raw=False, **operation_config)

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

resource_name
str
Required

The name of the Application Insights component resource.

configuration_id
str
Required

The ProactiveDetection configuration ID. This is unique within a Application Insights component.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

ApplicationInsightsComponentProactiveDetectionConfiguration or ClientRawResponse if raw=true

Return type

Exceptions

list

Gets a list of ProactiveDetection configurations of an Application Insights component.

list(resource_group_name, resource_name, custom_headers=None, raw=False, **operation_config)

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

resource_name
str
Required

The name of the Application Insights component resource.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

list or ClientRawResponse if raw=true

Return type

Exceptions

update

Update the ProactiveDetection configuration for this configuration id.

update(resource_group_name, resource_name, configuration_id, proactive_detection_properties, custom_headers=None, raw=False, **operation_config)

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

resource_name
str
Required

The name of the Application Insights component resource.

configuration_id
str
Required

The ProactiveDetection configuration ID. This is unique within a Application Insights component.

proactive_detection_properties
ApplicationInsightsComponentProactiveDetectionConfiguration
Required

Properties that need to be specified to update the ProactiveDetection configuration.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

ApplicationInsightsComponentProactiveDetectionConfiguration or ClientRawResponse if raw=true

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.applicationinsights.v2018_05_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\applicationinsights\\v2018_05_01_preview\\models\\__init__.py'>