Skip to main content

monitoring_configs

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

Overview

Namemonitoring_configs
TypeResource
Idazure.data_box_edge.monitoring_configs

Fields

NameDatatypeDescription
idstringThe path ID that uniquely identifies the object.
namestringThe object name.
propertiesobjectMetrics properties
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe hierarchical type of the object.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, resourceGroupName, roleName, subscriptionId
listSELECTdeviceName, resourceGroupName, roleName, subscriptionId
create_or_updateINSERTdeviceName, resourceGroupName, roleName, subscriptionId, data__properties
deleteDELETEdeviceName, resourceGroupName, roleName, subscriptionId

SELECT examples

SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_box_edge.monitoring_configs
WHERE deviceName = '{{ deviceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND roleName = '{{ roleName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.data_box_edge.monitoring_configs (
deviceName,
resourceGroupName,
roleName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ deviceName }}',
'{{ resourceGroupName }}',
'{{ roleName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified monitoring_configs resource.

/*+ delete */
DELETE FROM azure.data_box_edge.monitoring_configs
WHERE deviceName = '{{ deviceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND roleName = '{{ roleName }}'
AND subscriptionId = '{{ subscriptionId }}';