Dela via


ConnectionTypeOperationsExtensions.CreateOrUpdateAsync Metod

Definition

Överlagringar

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

Skapa en anslutningstyp. 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)

Parametrar

resourceGroupName
String
automationAccount
String

Returer

Gäller för

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)

Parametrar

operations
IConnectionTypeOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på en Azure-resursgrupp.

automationAccountName
String

Namnet på automationskontot.

connectionTypeName
String

Parametrarna som angavs för åtgärden skapa eller uppdatera anslutningstyp.

parameters
ConnectionTypeCreateOrUpdateParameters

Parametrarna som angavs för åtgärden skapa eller uppdatera anslutningstyp.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för