Compartir a través de


StorageMoverCollection.GetIfExists(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 Azure.NullableResponse<Azure.ResourceManager.StorageMover.StorageMoverResource> GetIfExists (string storageMoverName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.StorageMover.StorageMoverResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.StorageMover.StorageMoverResource>
Public Overridable Function GetIfExists (storageMoverName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 esperaba que no estuviera vacía.

storageMoverName es null.

Se aplica a