monitoring_configs
Creates, updates, deletes, gets or lists a monitoring_configs
resource.
Overview
Name | monitoring_configs |
Type | Resource |
Id | azure.data_box_edge.monitoring_configs |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The path ID that uniquely identifies the object. |
name | string | The object name. |
properties | object | Metrics properties |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The hierarchical type of the object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deviceName, resourceGroupName, roleName, subscriptionId | |
list | SELECT | deviceName, resourceGroupName, roleName, subscriptionId | |
create_or_update | INSERT | deviceName, resourceGroupName, roleName, subscriptionId, data__properties | |
delete | DELETE | deviceName, 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.data_box_edge.monitoring_configs (
deviceName,
resourceGroupName,
roleName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ deviceName }}',
'{{ resourceGroupName }}',
'{{ roleName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: metricConfigurations
value:
- - name: resourceId
value: string
- name: mdmAccount
value: string
- name: metricNameSpace
value: string
- name: counterSets
value:
- - name: counters
value:
- - name: name
value: string
- name: instance
value: string
- name: dimensionFilter
value:
- - name: sourceType
value: string
- name: sourceName
value: string
- name: additionalDimensions
value:
- - name: sourceType
value: string
- name: sourceName
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
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 }}';