共用方式為


ConnectionTypeOperationsExtensions.CreateOrUpdateAsync 方法

定義

多載

CreateOrUpdateAsync(IConnectionTypeOperations, String, String, ConnectionTypeCreateOrUpdateParameters)
CreateOrUpdateAsync(IConnectionTypeOperations, String, String, String, ConnectionTypeCreateOrUpdateParameters, CancellationToken)

建立連線類型。 http://aka.ms/azureautomationsdk/connectiontypeoperations

CreateOrUpdateAsync(IConnectionTypeOperations, String, String, ConnectionTypeCreateOrUpdateParameters)

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

參數

resourceGroupName
String
automationAccount
String

傳回

適用於

CreateOrUpdateAsync(IConnectionTypeOperations, String, String, String, ConnectionTypeCreateOrUpdateParameters, CancellationToken)

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

參數

operations
IConnectionTypeOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

connectionTypeName
String

提供給建立或更新連線類型作業的參數。

parameters
ConnectionTypeCreateOrUpdateParameters

提供給建立或更新連線類型作業的參數。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於