ElasticMonitorResource.UpdateVmCollectionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update the vm details that will be monitored by the Elastic monitor resource.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/vmCollectionUpdate
- Operation Id: VMCollection_Update
- Default Api Version: 2024-03-01
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateVmCollectionAsync (Azure.ResourceManager.Elastic.Models.VmCollectionContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateVmCollectionAsync : Azure.ResourceManager.Elastic.Models.VmCollectionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateVmCollectionAsync : Azure.ResourceManager.Elastic.Models.VmCollectionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateVmCollectionAsync (Optional content As VmCollectionContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- content
- VmCollectionContent
VM resource Id.
- cancellationToken
- CancellationToken
The cancellation token to use.