Compartir a través de


StorageMoverResource.GetStorageMoverAgentAsync Método

Definición

Obtiene un recurso del Agente.

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

Parámetros

agentName
String

Nombre del recurso del Agente.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

agentName es una cadena vacía y se espera que no esté vacía.

agentName es null.

Se aplica a