次の方法で共有


MoveCollectionResource.GetRequiredForAsync(String, CancellationToken) メソッド

定義

arm リソースが必要な移動リソースの一覧。 要求パス: /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))

パラメーター

sourceId
String

API が呼び出される sourceId。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

sourceId が null です。

適用対象