monitors
Creates, updates, deletes, gets or lists a monitors
resource.
Overview
Name | monitors |
Type | Resource |
Id | azure_isv.sap_workloads.monitors |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list
Name | Datatype | Description |
---|---|---|
identity | object | A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide. |
location | string | The geo-location where the resource lives |
properties | object | SAP monitor properties |
tags | object | Resource tags. |
Name | Datatype | Description |
---|---|---|
identity | object | A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide. |
location | string | The geo-location where the resource lives |
properties | object | SAP monitor properties |
tags | object | Resource tags. |
Name | Datatype | Description |
---|---|---|
identity | object | A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide. |
location | string | The geo-location where the resource lives |
properties | object | SAP monitor properties |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , monitorName | Gets properties of a SAP monitor for the specified subscription, resource group, and resource name. | |
list_by_resource_group | select | subscriptionId , resourceGroupName | Gets a list of SAP monitors in the specified resource group. | |
list | select | subscriptionId | Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor. | |
create | insert | subscriptionId , resourceGroupName , monitorName | Creates a SAP monitor for the specified subscription, resource group, and resource name. | |
update | update | subscriptionId , resourceGroupName , monitorName | Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name. | |
delete | delete | subscriptionId , resourceGroupName , monitorName | Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name. |
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 |
---|---|---|
monitorName | string | Name of the SAP monitor resource. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- get
- list_by_resource_group
- list
Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
SELECT
identity,
location,
properties,
tags
FROM azure_isv.sap_workloads.monitors
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND monitorName = '{{ monitorName }}' -- required
;
Gets a list of SAP monitors in the specified resource group.
SELECT
identity,
location,
properties,
tags
FROM azure_isv.sap_workloads.monitors
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.
SELECT
identity,
location,
properties,
tags
FROM azure_isv.sap_workloads.monitors
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create
- Manifest
Creates a SAP monitor for the specified subscription, resource group, and resource name.
INSERT INTO azure_isv.sap_workloads.monitors (
data__identity,
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
monitorName
)
SELECT
'{{ identity }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ monitorName }}'
RETURNING
identity,
location,
properties,
tags
;
# Description fields are for documentation purposes
- name: monitors
props:
- name: subscriptionId
value: string
description: Required parameter for the monitors resource.
- name: resourceGroupName
value: string
description: Required parameter for the monitors resource.
- name: monitorName
value: string
description: Required parameter for the monitors resource.
- name: identity
value: object
description: |
A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide.
- name: properties
value: object
description: |
SAP monitor properties
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
UPDATE
examples
- update
Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name.
UPDATE azure_isv.sap_workloads.monitors
SET
data__tags = '{{ tags }}',
data__identity = '{{ identity }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND monitorName = '{{ monitorName }}' --required
RETURNING
identity,
location,
properties,
tags;
DELETE
examples
- delete
Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
DELETE FROM azure_isv.sap_workloads.monitors
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND monitorName = '{{ monitorName }}' --required
;