다음을 통해 공유


ConnectionOperationsExtensions.CreateOrUpdateAsync 메서드

정의

오버로드

CreateOrUpdateAsync(IConnectionOperations, String, String, ConnectionCreateOrUpdateParameters)
CreateOrUpdateAsync(IConnectionOperations, String, String, String, ConnectionCreateOrUpdateParameters, CancellationToken)

연결을 만들거나 업데이트합니다. http://aka.ms/azureautomationsdk/connectionoperations

CreateOrUpdateAsync(IConnectionOperations, String, String, ConnectionCreateOrUpdateParameters)

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

매개 변수

resourceGroupName
String
automationAccount
String

반환

적용 대상

CreateOrUpdateAsync(IConnectionOperations, String, String, String, ConnectionCreateOrUpdateParameters, CancellationToken)

연결을 만들거나 업데이트합니다. http://aka.ms/azureautomationsdk/connectionoperations

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

매개 변수

operations
IConnectionOperations

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

resourceGroupName
String

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

automationAccountName
String

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

connectionName
String

연결 만들기 또는 업데이트 작업에 제공된 매개 변수입니다.

parameters
ConnectionCreateOrUpdateParameters

연결 만들기 또는 업데이트 작업에 제공된 매개 변수입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상