共用方式為


RunbookOperationsExtensions.PublishAsync 方法

定義

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.RunbookPublishHeaders> PublishAsync (this Microsoft.Azure.Management.Automation.IRunbookOperations operations, string resourceGroupName, string automationAccountName, string runbookName, System.Threading.CancellationToken cancellationToken = default);
static member PublishAsync : Microsoft.Azure.Management.Automation.IRunbookOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.RunbookPublishHeaders>
<Extension()>
Public Function PublishAsync (operations As IRunbookOperations, resourceGroupName As String, automationAccountName As String, runbookName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RunbookPublishHeaders)

參數

operations
IRunbookOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

runbookName
String

提供給發行 Runbook 作業的參數。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於