Freigeben über


ElasticMonitorResource.UpdateVMCollectionAsync Methode

Definition

Aktualisieren Sie die VM-Details, die von der Elastic Monitor-Ressource überwacht werden.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/vmCollectionUpdate
  • Vorgangs-IdVMCollection_Update
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateVMCollectionAsync (Azure.ResourceManager.Elastic.Models.VmCollectionUpdate body = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateVMCollectionAsync : Azure.ResourceManager.Elastic.Models.VmCollectionUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateVMCollectionAsync : Azure.ResourceManager.Elastic.Models.VmCollectionUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateVMCollectionAsync (Optional body As VmCollectionUpdate = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameter

body
VmCollectionUpdate

VM-Ressourcen-ID.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: