Freigeben über


RunbookDraftOperationsExtensions.ReplaceContentAsync Methode

Definition

Ersetzt den Inhalt des Runbookentwurfs. http://aka.ms/azureautomationsdk/runbookdraftoperations

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

Parameter

operations
IRunbookDraftOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name einer Azure-Ressourcengruppe.

automationAccountName
String

Der Name des Automation-Kontos.

runbookName
String

Der Runbookname.

runbookContent
Stream

Der Runbookentwurfsinhalt.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: