ConnectionOperationsExtensions.CreateOrUpdateAsync Metod

Definition

Överlagringar

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

Skapa eller uppdatera en anslutning. 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)

Parametrar

resourceGroupName
String
automationAccount
String

Returer

Gäller för

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

Skapa eller uppdatera en anslutning. 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)

Parametrar

operations
IConnectionOperations

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

resourceGroupName
String

Namnet på en Azure-resursgrupp.

automationAccountName
String

Namnet på automationskontot.

connectionName
String

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

parameters
ConnectionCreateOrUpdateParameters

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

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för