Partager via


IRunbookOperations.BeginPublishWithHttpMessagesAsync Méthode

Définition

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.Automation.Models.RunbookPublishHeaders>> BeginPublishWithHttpMessagesAsync (string resourceGroupName, string automationAccountName, string runbookName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginPublishWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.Automation.Models.RunbookPublishHeaders>>
Public Function BeginPublishWithHttpMessagesAsync (resourceGroupName As String, automationAccountName As String, runbookName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationHeaderResponse(Of RunbookPublishHeaders))

Paramètres

resourceGroupName
String

Nom d’un groupe de ressources Azure.

automationAccountName
String

Nom du compte Automation.

runbookName
String

Paramètres fournis à l’opération de publication du runbook.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code de status non valide

Levée lorsqu’un paramètre obligatoire a la valeur Null

S’applique à