MachineLearningWorkspaceCollection.GetAsync(String, CancellationToken) メソッド

定義

指定した機械学習ワークスペースのプロパティを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}
  • 操作IdWorkspaces_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>> GetAsync (string workspaceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>>
Public Overridable Function GetAsync (workspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningWorkspaceResource))

パラメーター

workspaceName
String

Azure Machine Learning ワークスペースの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

workspaceName が null です。

適用対象