sap_monitors
Creates, updates, deletes, gets or lists a sap_monitors
resource.
Overview
Name | sap_monitors |
Type | Resource |
Id | azure_isv.hana_on_azure.sap_monitors |
Fields
- vw_sap_monitors
- sap_monitors
Name | Datatype | Description |
---|---|---|
enable_customer_analytics | text | field from the properties object |
location | text | The geo-location where the resource lives |
log_analytics_workspace_arm_id | text | field from the properties object |
log_analytics_workspace_id | text | field from the properties object |
log_analytics_workspace_shared_key | text | field from the properties object |
managed_resource_group_name | text | field from the properties object |
monitor_subnet | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
sapMonitorName | text | field from the properties object |
sap_monitor_collector_version | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Describes the properties of a SAP monitor. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, sapMonitorName, subscriptionId | The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023. |
list | SELECT | subscriptionId | The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023. |
create | INSERT | resourceGroupName, sapMonitorName, subscriptionId | The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023. |
delete | DELETE | resourceGroupName, sapMonitorName, subscriptionId | The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023. |
update | UPDATE | resourceGroupName, sapMonitorName, subscriptionId | The 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.
- vw_sap_monitors
- sap_monitors
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 }}';
SELECT
location,
properties,
tags
FROM azure_isv.hana_on_azure.sap_monitors
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new sap_monitors
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.hana_on_azure.sap_monitors (
resourceGroupName,
sapMonitorName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ sapMonitorName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: managedResourceGroupName
value: string
- name: logAnalyticsWorkspaceArmId
value: string
- name: enableCustomerAnalytics
value: boolean
- name: logAnalyticsWorkspaceId
value: string
- name: logAnalyticsWorkspaceSharedKey
value: string
- name: sapMonitorCollectorVersion
value: string
- name: monitorSubnet
value: string
- name: tags
value: object
- name: location
value: string
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 }}';