Skip to main content

monitoring_settings

Creates, updates, deletes, gets or lists a monitoring_settings resource.

Overview

Namemonitoring_settings
TypeResource
Idazure.spring_apps.monitoring_settings

Fields

The following fields are returned by SELECT queries:

Success. The response describes the corresponding Monitoring Setting.

NameDatatypeDescription
propertiesobjectProperties of the Monitoring Setting resource

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serviceNameGet the Monitoring Setting and its properties.
update_putexecsubscriptionId, resourceGroupName, serviceNameUpdate the Monitoring Setting.
update_patchexecsubscriptionId, resourceGroupName, serviceNameUpdate the Monitoring Setting.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceNamestringThe name of the Service resource.
subscriptionIdstringGets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Get the Monitoring Setting and its properties.

SELECT
properties
FROM azure.spring_apps.monitoring_settings
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
;

Lifecycle Methods

Update the Monitoring Setting.

EXEC azure.spring_apps.monitoring_settings.update_put 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@serviceName='{{ serviceName }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;