Skip to main content

vm_collection

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

Overview

Namevm_collection
TypeResource
Idazure_isv.elastic.vm_collection

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
updateexecresource_group_name, monitor_name, subscription_idUpdate the VM details that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance. Update the VM details that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance.

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.

NameDatatypeDescription
monitor_namestringMonitor resource name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

Lifecycle Methods

Update the VM details that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance. Update the VM details that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance.

EXEC azure_isv.elastic.vm_collection.update 
@resource_group_name='{{ resource_group_name }}' --required,
@monitor_name='{{ monitor_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"vmResourceId": "{{ vmResourceId }}",
"operationName": "{{ operationName }}"
}'
;