ManagedInstancesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a managed instance.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ManagedInstance> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.IManagedInstancesOperations operations, string resourceGroupName, string managedInstanceName, Microsoft.Azure.Management.Sql.Models.ManagedInstance parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Sql.IManagedInstancesOperations * string * string * Microsoft.Azure.Management.Sql.Models.ManagedInstance * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ManagedInstance>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IManagedInstancesOperations, resourceGroupName As String, managedInstanceName As String, parameters As ManagedInstance, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedInstance)

Parameters

operations
IManagedInstancesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName
String

The name of the managed instance.

parameters
ManagedInstance

The requested managed instance resource state.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to