共用方式為


ManagedInstancePrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Approve or reject a private endpoint connection with a given name.

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

Parameters

operations
IManagedInstancePrivateEndpointConnectionsOperations

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.

privateEndpointConnectionName
String
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to