次の方法で共有


MoverResourceSetResource.GetRequiredForResources メソッド

定義

arm リソースが必要な移動リソースの一覧。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor
  • 操作IdMoveCollections_ListRequiredFor
public virtual Azure.Response<Azure.ResourceManager.ResourceMover.Models.RequiredForResourcesList> GetRequiredForResources (Azure.Core.ResourceIdentifier sourceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRequiredForResources : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResourceMover.Models.RequiredForResourcesList>
override this.GetRequiredForResources : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResourceMover.Models.RequiredForResourcesList>
Public Overridable Function GetRequiredForResources (sourceId As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RequiredForResourcesList)

パラメーター

sourceId
ResourceIdentifier

API が呼び出される sourceId。

cancellationToken
CancellationToken

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

戻り値

例外

sourceId が null です。

適用対象