Partager via


MoverResourceSetResource.GetRequiredForResourcesAsync 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
  • IdMoveCollections_ListRequiredFor d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceMover.Models.RequiredForResourcesList>> GetRequiredForResourcesAsync (Azure.Core.ResourceIdentifier sourceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRequiredForResourcesAsync : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceMover.Models.RequiredForResourcesList>>
override this.GetRequiredForResourcesAsync : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceMover.Models.RequiredForResourcesList>>
Public Overridable Function GetRequiredForResourcesAsync (sourceId As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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 à