ConnectionOperationsExtensions.CreateOrUpdateAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
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)
Parametri
- operations
- IConnectionOperations
- resourceGroupName
- String
- automationAccount
- String
- parameters
- ConnectionCreateOrUpdateParameters
Restituisce
Si applica a
CreateOrUpdateAsync(IConnectionOperations, String, String, String, ConnectionCreateOrUpdateParameters, CancellationToken)
Creare o aggiornare una connessione. 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)
Parametri
- operations
- IConnectionOperations
Gruppo di operazioni per questo metodo di estensione.
- resourceGroupName
- String
Nome di un gruppo di risorse di Azure.
- automationAccountName
- String
Nome dell'account di automazione.
- connectionName
- String
I parametri forniti all'operazione di creazione o aggiornamento della connessione.
- parameters
- ConnectionCreateOrUpdateParameters
I parametri forniti all'operazione di creazione o aggiornamento della connessione.
- cancellationToken
- CancellationToken
Token di annullamento.