다음을 통해 공유


RunbookDraftOperationsExtensions.ReplaceContentAsync 메서드

정의

Runbook 초안 콘텐츠를 바꿉니다. 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)

매개 변수

operations
IRunbookDraftOperations

이 확장 메서드에 대한 작업 그룹입니다.

resourceGroupName
String

Azure 리소스 그룹의 이름입니다.

automationAccountName
String

자동화 계정의 이름입니다.

runbookName
String

Runbook 이름입니다.

runbookContent
Stream

Runbook 초안 콘텐츠입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상