AlertsOperations Class

AlertsOperations operations.

Inheritance
builtins.object
AlertsOperations

Constructor

AlertsOperations(client, config, serializer, deserializer)

Parameters

Name Description
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

Name Description
api_version

The API version. Constant value: "2019-03-01".

Methods

get

Gets an alert by name.

list_by_data_box_edge_device

Gets all the alerts for a data box edge/gateway device.

get

Gets an alert by name.

get(device_name, name, resource_group_name, custom_headers=None, raw=False, **operation_config)

Parameters

Name Description
device_name
Required
str

The device name.

name
Required
str

The alert name.

resource_group_name
Required
str

The resource group name.

custom_headers

headers that will be added to the request

default value: None
raw

returns the direct response alongside the deserialized response

default value: False
operation_config
Required

Operation configuration overrides.

Returns

Type Description
<xref:msrest.pipeline.ClientRawResponse>

Alert or ClientRawResponse if raw=true

Exceptions

Type Description
msrestazure.azure_exceptions.CloudError

list_by_data_box_edge_device

Gets all the alerts for a data box edge/gateway device.

list_by_data_box_edge_device(device_name, resource_group_name, custom_headers=None, raw=False, **operation_config)

Parameters

Name Description
device_name
Required
str

The device name.

resource_group_name
Required
str

The resource group name.

custom_headers

headers that will be added to the request

default value: None
raw

returns the direct response alongside the deserialized response

default value: False
operation_config
Required

Operation configuration overrides.

Returns

Type Description

An iterator like instance of Alert

Exceptions

Type Description
msrestazure.azure_exceptions.CloudError

Attributes

models

models = <module 'azure.mgmt.edgegateway.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\edgegateway\\models\\__init__.py'>