StorageMoverProjectCollection.GetIfExists(String, CancellationToken) メソッド

定義

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}
  • 操作IdProjects_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.StorageMover.StorageMoverProjectResource> GetIfExists (string projectName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.StorageMover.StorageMoverProjectResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.StorageMover.StorageMoverProjectResource>
Public Overridable Function GetIfExists (projectName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of StorageMoverProjectResource)

パラメーター

projectName
String

Project リソースの名前。

cancellationToken
CancellationToken

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

戻り値

例外

projectName は空の文字列であり、空でないと想定されていました。

projectName が null です。

適用対象