Compartir a través de


StorageMoverExtensions.GetStorageMoverAsync Método

Definición

Obtiene un recurso de Storage Mover.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
  • IdStorageMovers_Get de operación
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverResource>> GetStorageMoverAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string storageMoverName, System.Threading.CancellationToken cancellationToken = default);
static member GetStorageMoverAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverResource>>
<Extension()>
Public Function GetStorageMoverAsync (resourceGroupResource As ResourceGroupResource, storageMoverName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageMoverResource))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

storageMoverName
String

Nombre del recurso de Storage Mover.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

storageMoverName es null.

Se aplica a