你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PredictionResourceFormatResource.ModelStatusAsync 方法

定义

创建或更新预测的模型状态。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/predictions/{predictionName}/modelStatus
  • 操作IdPredictions_ModelStatus
public virtual System.Threading.Tasks.Task<Azure.Response> ModelStatusAsync (Azure.ResourceManager.CustomerInsights.Models.PredictionModelStatus predictionModelStatus, System.Threading.CancellationToken cancellationToken = default);
abstract member ModelStatusAsync : Azure.ResourceManager.CustomerInsights.Models.PredictionModelStatus * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ModelStatusAsync : Azure.ResourceManager.CustomerInsights.Models.PredictionModelStatus * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ModelStatusAsync (predictionModelStatus As PredictionModelStatus, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

参数

predictionModelStatus
PredictionModelStatus

提供给创建/更新预测模型状态操作的参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

predictionModelStatus 为 null。

适用于