ManagedInstancePrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync 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.
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
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
- parameters
- ManagedInstancePrivateEndpointConnection
- cancellationToken
- CancellationToken
The cancellation token.