다음을 통해 공유


RunbookOperationsExtensions.CreateOrUpdateAsync 메서드

정의

오버로드

CreateOrUpdateAsync(IRunbookOperations, String, String, RunbookCreateOrUpdateParameters)
CreateOrUpdateAsync(IRunbookOperations, String, String, String, RunbookCreateOrUpdateParameters, CancellationToken)

Runbook 이름으로 식별되는 Runbook을 만듭니다. http://aka.ms/azureautomationsdk/runbookoperations

CreateOrUpdateAsync(IRunbookOperations, String, String, RunbookCreateOrUpdateParameters)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IRunbookOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IRunbookOperations * string * string * Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IRunbookOperations, resourceGroupName As String, automationAccount As String, parameters As RunbookCreateOrUpdateParameters) As Task(Of RunbookCreateOrUpdateResponse)

매개 변수

operations
IRunbookOperations
resourceGroupName
String
automationAccount
String

반환

적용 대상

CreateOrUpdateAsync(IRunbookOperations, String, String, String, RunbookCreateOrUpdateParameters, CancellationToken)

Runbook 이름으로 식별되는 Runbook을 만듭니다. http://aka.ms/azureautomationsdk/runbookoperations

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

매개 변수

operations
IRunbookOperations

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

resourceGroupName
String

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

automationAccountName
String

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

runbookName
String

Runbook 이름입니다.

parameters
RunbookCreateOrUpdateParameters

Runbook에 대한 매개 변수 만들기 또는 업데이트입니다. 게시된 Runbook 또는 초안에 대한 콘텐츠 링크를 모두 제공하지 않습니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상