Skip to main content

sap_monitors

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

Overview

Namesap_monitors
TypeResource
Idazure_isv.hana_on_azure.sap_monitors

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectSAP monitor properties
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, sapMonitorNameThe product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.
listselectsubscriptionIdThe product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.
createinsertsubscriptionId, resourceGroupName, sapMonitorNameThe product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.
updateupdatesubscriptionId, resourceGroupName, sapMonitorNameThe product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.
deletedeletesubscriptionId, resourceGroupName, sapMonitorNameThe product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.

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
resourceGroupNamestringName of the resource group.
sapMonitorNamestringName of the SAP monitor resource.
subscriptionIdstringSubscription ID which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.

SELECT
location,
properties,
tags
FROM azure_isv.hana_on_azure.sap_monitors
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND sapMonitorName = '{{ sapMonitorName }}' -- required
;

INSERT examples

The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.

INSERT INTO azure_isv.hana_on_azure.sap_monitors (
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
sapMonitorName
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ sapMonitorName }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.

UPDATE azure_isv.hana_on_azure.sap_monitors
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND sapMonitorName = '{{ sapMonitorName }}' --required
RETURNING
location,
properties,
tags;

DELETE examples

The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.

DELETE FROM azure_isv.hana_on_azure.sap_monitors
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND sapMonitorName = '{{ sapMonitorName }}' --required
;