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

NameDatatypeDescription
enable_customer_analyticstextfield from the properties object
locationtextThe geo-location where the resource lives
log_analytics_workspace_arm_idtextfield from the properties object
log_analytics_workspace_idtextfield from the properties object
log_analytics_workspace_shared_keytextfield from the properties object
managed_resource_group_nametextfield from the properties object
monitor_subnettextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
sapMonitorNametextfield from the properties object
sap_monitor_collector_versiontextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, sapMonitorName, subscriptionIdThe 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.
createINSERTresourceGroupName, sapMonitorName, subscriptionIdThe product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.
deleteDELETEresourceGroupName, sapMonitorName, subscriptionIdThe product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.
updateUPDATEresourceGroupName, sapMonitorName, subscriptionIdThe product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.

SELECT examples

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

SELECT
enable_customer_analytics,
location,
log_analytics_workspace_arm_id,
log_analytics_workspace_id,
log_analytics_workspace_shared_key,
managed_resource_group_name,
monitor_subnet,
provisioning_state,
resourceGroupName,
sapMonitorName,
sap_monitor_collector_version,
subscriptionId,
tags
FROM azure_isv.hana_on_azure.vw_sap_monitors
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new sap_monitors resource.

/*+ create */
INSERT INTO azure_isv.hana_on_azure.sap_monitors (
resourceGroupName,
sapMonitorName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ sapMonitorName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a sap_monitors resource.

/*+ update */
UPDATE azure_isv.hana_on_azure.sap_monitors
SET
tags = '{{ tags }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND sapMonitorName = '{{ sapMonitorName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified sap_monitors resource.

/*+ delete */
DELETE FROM azure_isv.hana_on_azure.sap_monitors
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND sapMonitorName = '{{ sapMonitorName }}'
AND subscriptionId = '{{ subscriptionId }}';