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

C#
public virtual Azure.Response<Azure.ResourceManager.Migrate.Models.RequiredForResourcesCollection> GetRequiredFor(string sourceId, System.Threading.CancellationToken cancellationToken = default);

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

Product Versions
Azure SDK for .NET Preview