Compartilhar via


ElasticMonitorResource.UpdateVmCollection Method

Definition

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 Azure.Response UpdateVmCollection (Azure.ResourceManager.Elastic.Models.VmCollectionContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateVmCollection : Azure.ResourceManager.Elastic.Models.VmCollectionContent * System.Threading.CancellationToken -> Azure.Response
override this.UpdateVmCollection : Azure.ResourceManager.Elastic.Models.VmCollectionContent * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function UpdateVmCollection (Optional content As VmCollectionContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

content
VmCollectionContent

VM resource Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to