Partilhar via


ElasticMonitorResource.UpdateVMCollectionAsync 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 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)

Parâmetros

body
VmCollectionUpdate

ID do recurso da VM.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a