MoveCollectionResource.GetRequiredFor(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List of the move resources for which an arm resource is required for. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor Operation Id: MoveCollections_ListRequiredFor
public virtual Azure.Response<Azure.ResourceManager.Migrate.Models.RequiredForResourcesCollection> GetRequiredFor (string sourceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRequiredFor : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Migrate.Models.RequiredForResourcesCollection>
override this.GetRequiredFor : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Migrate.Models.RequiredForResourcesCollection>
Public Overridable Function GetRequiredFor (sourceId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RequiredForResourcesCollection)
Parameters
- sourceId
- String
The sourceId for which the api is invoked.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
sourceId
is null.
Applies to
Azure SDK for .NET