Freigeben über


MoverResourceSetResource.GetRequiredForResourcesAsync Methode

Definition

Liste der Verschiebungsressourcen, für die eine Armressource erforderlich ist.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor
  • Vorgang IdMoveCollections_ListRequiredFor
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))

Parameter

sourceId
ResourceIdentifier

Die sourceId, für die die API aufgerufen wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

sourceId ist NULL.

Gilt für: