Sdílet prostřednictvím


ConnectionTypeOperationsExtensions.CreateOrUpdateAsync Metoda

Definice

Přetížení

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

Vytvořte typ připojení. 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)

Parametry

resourceGroupName
String
automationAccount
String

Návraty

Platí pro

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)

Parametry

operations
IConnectionTypeOperations

Skupina operací pro tuto metodu rozšíření.

resourceGroupName
String

Název skupiny prostředků Azure.

automationAccountName
String

Název účtu Automation.

connectionTypeName
String

Parametry zadané operaci vytvoření nebo aktualizace typu připojení.

parameters
ConnectionTypeCreateOrUpdateParameters

Parametry zadané operaci vytvoření nebo aktualizace typu připojení.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Platí pro