Compartir a través de


MoverResourceSetResource.GetRequiredForResources Método

Definición

Lista de los recursos de movimiento para los que se requiere un recurso de arm.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor
  • IdMoveCollections_ListRequiredFor de operación
public virtual Azure.Response<Azure.ResourceManager.ResourceMover.Models.RequiredForResourcesList> GetRequiredForResources (Azure.Core.ResourceIdentifier sourceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRequiredForResources : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResourceMover.Models.RequiredForResourcesList>
override this.GetRequiredForResources : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResourceMover.Models.RequiredForResourcesList>
Public Overridable Function GetRequiredForResources (sourceId As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RequiredForResourcesList)

Parámetros

sourceId
ResourceIdentifier

SourceId para el que se invoca la API.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

sourceId es null.

Se aplica a