Compartir a través de


StorageMoverCollection.GetIfExistsAsync(String, CancellationToken) Método

Definición

Intenta obtener detalles de este recurso del servicio.

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

Parámetros

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