vm_collection
Creates, updates, deletes, gets or lists a vm_collection resource.
Overview
| Name | vm_collection |
| Type | Resource |
| Id | azure_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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update | exec | resource_group_name, monitor_name, subscription_id | 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. |
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 |
|---|---|---|
monitor_name | string | Monitor resource name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
Lifecycle Methods
- update
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 }}"
}'
;