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

AutomationAccountResource.ConvertGraphRunbookContentAsync 方法

定义

序列化或反序列化 GraphRunbookContent 的后操作

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/convertGraphRunbookContent
  • 操作 IdconvertGraphRunbookContent
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.GraphicalRunbookContent>> ConvertGraphRunbookContentAsync (Azure.ResourceManager.Automation.Models.GraphicalRunbookContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ConvertGraphRunbookContentAsync : Azure.ResourceManager.Automation.Models.GraphicalRunbookContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.GraphicalRunbookContent>>
override this.ConvertGraphRunbookContentAsync : Azure.ResourceManager.Automation.Models.GraphicalRunbookContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.GraphicalRunbookContent>>
Public Overridable Function ConvertGraphRunbookContentAsync (content As GraphicalRunbookContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GraphicalRunbookContent))

参数

content
GraphicalRunbookContent

描述图形 Runbook 的输入数据。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于