MachineLearningComponentVersionResource.UpdateAsync 方法      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建或更新版本。
- 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}
- 操作IdComponentVersions_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionData data, System.Threading.CancellationToken cancellationToken = default);abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningComponentVersionResource>>Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As MachineLearningComponentVersionData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of MachineLearningComponentVersionResource))参数
- waitUntil
- WaitUntil
Completed 如果方法应在服务上完成长时间运行的操作之前等待返回,则为 ; Started 如果它在启动操作后应返回,则为 。 有关长时间运行的操作的详细信息,请参阅 Azure.Core Long-Running 操作示例。
要创建或更新的版本实体。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
例外
data 为 null。