Partager via


StorageMoverExtensions.GetStorageMover Méthode

Définition

Obtient une ressource Storage Mover.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
  • IdStorageMovers_Get d’opération
public static Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverResource> GetStorageMover (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string storageMoverName, System.Threading.CancellationToken cancellationToken = default);
static member GetStorageMover : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverResource>
<Extension()>
Public Function GetStorageMover (resourceGroupResource As ResourceGroupResource, storageMoverName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StorageMoverResource)

Paramètres

resourceGroupResource
ResourceGroupResource

Instance ResourceGroupResource sur laquelle la méthode s’exécute.

storageMoverName
String

Nom de la ressource Storage Mover.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

storageMoverName est une chaîne vide et devait être non vide.

storageMoverName a la valeur null.

S’applique à