MonitoringSettingsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AppPlatformManagementClient's

<xref:monitoring_settings> attribute.

Inheritance
builtins.object
MonitoringSettingsOperations

Constructor

MonitoringSettingsOperations(*args, **kwargs)

Methods

begin_update_patch

Update the Monitoring Setting.

begin_update_put

Update the Monitoring Setting.

get

Get the Monitoring Setting and its properties.

begin_update_patch

Update the Monitoring Setting.

begin_update_patch(resource_group_name: str, service_name: str, monitoring_setting_resource: _models.MonitoringSettingResource, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.MonitoringSettingResource]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.

service_name
Required
str

The name of the Service resource. Required.

monitoring_setting_resource
Required

Parameters for the update operation. Is either a MonitoringSettingResource type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either MonitoringSettingResource or the result of cls(response)

Exceptions

Type Description

begin_update_put

Update the Monitoring Setting.

begin_update_put(resource_group_name: str, service_name: str, monitoring_setting_resource: _models.MonitoringSettingResource, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.MonitoringSettingResource]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.

service_name
Required
str

The name of the Service resource. Required.

monitoring_setting_resource
Required

Parameters for the update operation. Is either a MonitoringSettingResource type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either MonitoringSettingResource or the result of cls(response)

Exceptions

Type Description

get

Get the Monitoring Setting and its properties.

get(resource_group_name: str, service_name: str, **kwargs: Any) -> MonitoringSettingResource

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.

service_name
Required
str

The name of the Service resource. Required.

Returns

Type Description

MonitoringSettingResource or the result of cls(response)

Exceptions

Type Description

Attributes

models

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