Partager via


MoverResourceSetResource.GetRequiredForResources Méthode

Définition

Liste des ressources de déplacement pour lesquelles une ressource arm est requise.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor
  • Opération IdMoveCollections_ListRequiredFor
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)

Paramètres

sourceId
ResourceIdentifier

SourceId pour lequel l’API est appelée.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

sourceId a la valeur null.

S’applique à