Share via


ConnectionTypeOperationsExtensions.CreateOrUpdateAsync Method

Definition

Overloads

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

Create a connection type. 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)

Parameters

resourceGroupName
String
automationAccount
String

Returns

Applies to

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)

Parameters

operations
IConnectionTypeOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

connectionTypeName
String

The parameters supplied to the create or update connection type operation.

parameters
ConnectionTypeCreateOrUpdateParameters

The parameters supplied to the create or update connection type operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to