Compartir a través de


MoveCollectionResource.GetRequiredForAsync(String, CancellationToken) Método

Definición

Lista de los recursos de movimiento para los que se necesita un recurso arm. Ruta de acceso de solicitud: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor Operation Id: MoveCollections_ListRequiredFor

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Migrate.Models.RequiredForResourcesCollection>> GetRequiredForAsync (string sourceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRequiredForAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Migrate.Models.RequiredForResourcesCollection>>
override this.GetRequiredForAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Migrate.Models.RequiredForResourcesCollection>>
Public Overridable Function GetRequiredForAsync (sourceId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RequiredForResourcesCollection))

Parámetros

sourceId
String

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