Freigeben über


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

Parameter

body
VmCollectionUpdate

VM-Ressourcen-ID.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: