Partager via


StorageMoverResource.GetStorageMoverProject(String, CancellationToken) Méthode

Définition

Obtient une ressource Project.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}
  • IdProjects_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverProjectResource> GetStorageMoverProject (string projectName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageMoverProject : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverProjectResource>
override this.GetStorageMoverProject : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverProjectResource>
Public Overridable Function GetStorageMoverProject (projectName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StorageMoverProjectResource)

Paramètres

projectName
String

Nom de la ressource Project.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

projectName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

projectName a la valeur null.

S’applique à