共用方式為


ManagedInstancesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a managed instance.

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

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
ManagedInstanceInner

The requested managed instance resource state.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to