次の方法で共有


MachineLearningComponentVersionCollection.GetAsync メソッド

定義

バージョンを取得します。

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

パラメーター

version
String

バージョン識別子。

cancellationToken
CancellationToken

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

戻り値

例外

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

version が null です。

適用対象