PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Approve or reject a private endpoint connection manually.

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

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster.

privateEndpointConnectionName
String

The name of the private endpoint connection.

parameters
PrivateEndpointConnection

The private endpoint connection create or update request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to