Compartir a través de


MoverResourceSetResource.GetMoverResourceAsync Método

Definición

Obtiene el recurso Move.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}
  • IdMoveResources_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceMover.MoverResource>> GetMoverResourceAsync (string moverResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMoverResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceMover.MoverResource>>
override this.GetMoverResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceMover.MoverResource>>
Public Overridable Function GetMoverResourceAsync (moverResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MoverResource))

Parámetros

moverResourceName
String

Nombre del recurso de movimiento.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

moverResourceName es null.

Se aplica a