Compartir a través de


StorageMoverAgentResource.Update Método

Definición

Crea o actualiza un recurso del Agente.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • IdAgents_Update de operación
public virtual Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource> Update (Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>
override this.Update : Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>
Public Overridable Function Update (patch As StorageMoverAgentPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StorageMoverAgentResource)

Parámetros

patch
StorageMoverAgentPatch

StorageMoverAgentPatch que se va a usar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a