ConnectionOperationsExtensions.CreateOrUpdateAsync(IConnectionOperations, String, String, ConnectionCreateOrUpdateParameters) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a connection. (see http://aka.ms/azureautomationsdk/connectionoperations for more information)
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)
Parameters
- operations
- IConnectionOperations
Reference to the Microsoft.Azure.Management.Automation.IConnectionOperations.
- resourceGroupName
- System.String
Required. The name of the resource group
- automationAccount
- System.String
Required. The automation account name.
- parameters
- ConnectionCreateOrUpdateParameters
Required. The parameters supplied to the create or update connection operation.
Returns
- System.Threading.Tasks.Task<ConnectionCreateOrUpdateResponse>
The response model for the create or update connection operation.