Compartilhar via


RunbookDraftOperationsExtensions.GetContentAsync Método

Definição

Recupere o conteúdo do rascunho do runbook identificado pelo nome do runbook. http://aka.ms/azureautomationsdk/runbookdraftoperations

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

Parâmetros

operations
IRunbookDraftOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome de um grupo de recursos do Azure.

automationAccountName
String

O nome da conta de automação.

runbookName
String

O nome do runbook.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a