monitoring_settings
Creates, updates, deletes, gets or lists a monitoring_settings
resource.
Overview
Name | monitoring_settings |
Type | Resource |
Id | azure.spring_apps.monitoring_settings |
Fields
The following fields are returned by SELECT
queries:
- get
Success. The response describes the corresponding Monitoring Setting.
Name | Datatype | Description |
---|---|---|
properties | object | Properties of the Monitoring Setting resource |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , serviceName | Get the Monitoring Setting and its properties. | |
update_put | exec | subscriptionId , resourceGroupName , serviceName | Update the Monitoring Setting. | |
update_patch | exec | subscriptionId , resourceGroupName , serviceName | Update 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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
serviceName | string | The name of the Service resource. |
subscriptionId | string | Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT
examples
- get
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_put
- update_patch
Update the Monitoring Setting.
EXEC azure.spring_apps.monitoring_settings.update_put
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@serviceName='{{ serviceName }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;
Update the Monitoring Setting.
EXEC azure.spring_apps.monitoring_settings.update_patch
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@serviceName='{{ serviceName }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;