monitors
Creates, updates, deletes, gets or lists a monitors
resource.
Overview
Name | monitors |
Type | Resource |
Id | azure_isv.elastic.monitors |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list
Name | Datatype | Description |
---|---|---|
id | string | ARM id of the monitor resource. |
name | string | Name of the monitor resource. |
identity | object | Identity properties of the monitor resource. |
location | string | The location of the monitor resource |
properties | object | Properties of the monitor resource. |
sku | object | SKU of the monitor resource. |
systemData | object | The system metadata relating to this resource |
tags | object | The tags of the monitor resource. |
type | string | The type of the monitor resource. |
Name | Datatype | Description |
---|---|---|
id | string | ARM id of the monitor resource. |
name | string | Name of the monitor resource. |
identity | object | Identity properties of the monitor resource. |
location | string | The location of the monitor resource |
properties | object | Properties of the monitor resource. |
sku | object | SKU of the monitor resource. |
systemData | object | The system metadata relating to this resource |
tags | object | The tags of the monitor resource. |
type | string | The type of the monitor resource. |
Name | Datatype | Description |
---|---|---|
id | string | ARM id of the monitor resource. |
name | string | Name of the monitor resource. |
identity | object | Identity properties of the monitor resource. |
location | string | The location of the monitor resource |
properties | object | Properties of the monitor resource. |
sku | object | SKU of the monitor resource. |
systemData | object | The system metadata relating to this resource |
tags | object | The tags of the monitor resource. |
type | string | The type of the monitor resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , monitorName | ||
list_by_resource_group | select | subscriptionId , resourceGroupName | ||
list | select | subscriptionId | ||
create | insert | subscriptionId , resourceGroupName , monitorName , data__location | ||
update | update | subscriptionId , resourceGroupName , monitorName | ||
delete | delete | subscriptionId , resourceGroupName , monitorName | ||
upgrade | exec | subscriptionId , resourceGroupName , monitorName |
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 | Monitor resource name |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
- list_by_resource_group
- list
Success
SELECT
id,
name,
identity,
location,
properties,
sku,
systemData,
tags,
type
FROM azure_isv.elastic.monitors
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND monitorName = '{{ monitorName }}' -- required
;
Success
SELECT
id,
name,
identity,
location,
properties,
sku,
systemData,
tags,
type
FROM azure_isv.elastic.monitors
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
Success
SELECT
id,
name,
identity,
location,
properties,
sku,
systemData,
tags,
type
FROM azure_isv.elastic.monitors
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create
- Manifest
No description available.
INSERT INTO azure_isv.elastic.monitors (
data__sku,
data__properties,
data__identity,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
monitorName
)
SELECT
'{{ sku }}',
'{{ properties }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ monitorName }}'
RETURNING
id,
name,
identity,
location,
properties,
sku,
systemData,
tags,
type
;
# Description fields are for documentation purposes
- name: monitors
props:
- name: subscriptionId
value: string (uuid)
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: sku
value: object
description: |
SKU of the monitor resource.
- name: properties
value: object
description: |
Properties of the monitor resource.
- name: identity
value: object
description: |
Identity properties of the monitor resource.
- name: tags
value: object
description: |
The tags of the monitor resource.
- name: location
value: string
description: |
The location of the monitor resource
UPDATE
examples
- update
No description available.
UPDATE azure_isv.elastic.monitors
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND monitorName = '{{ monitorName }}' --required
RETURNING
id,
name,
identity,
location,
properties,
sku,
systemData,
tags,
type;
DELETE
examples
- delete
No description available.
DELETE FROM azure_isv.elastic.monitors
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND monitorName = '{{ monitorName }}' --required
;
Lifecycle Methods
- upgrade
Success
EXEC azure_isv.elastic.monitors.upgrade
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@monitorName='{{ monitorName }}' --required
@@json=
'{
"version": "{{ version }}"
}'
;