Compartilhar via


ElasticMonitorResource.UpdateVMCollection Método

Definição

Atualize os detalhes da vm que serão monitorados pelo recurso monitor elástico.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/vmCollectionUpdate
  • Operação 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

Parâmetros

body
VmCollectionUpdate

ID do recurso da VM.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a