MachineLearningComponentContainerResource.GetMachineLearningComponentVersion 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取版本。
- 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}
- 操作IdComponentVersions_Get
public virtual Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionResource> GetMachineLearningComponentVersion (string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMachineLearningComponentVersion : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionResource>
override this.GetMachineLearningComponentVersion : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionResource>
Public Overridable Function GetMachineLearningComponentVersion (version As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MachineLearningComponentVersionResource)
参数
- version
- String
版本标识符。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
例外
version 是一个空字符串,预期为非空。
version 为 null。