Dela via


PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdate Method

Definition

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

public static Microsoft.Azure.Management.CosmosDB.Models.PrivateEndpointConnection CreateOrUpdate (this Microsoft.Azure.Management.CosmosDB.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, Microsoft.Azure.Management.CosmosDB.Models.PrivateEndpointConnection parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.CosmosDB.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.CosmosDB.Models.PrivateEndpointConnection -> Microsoft.Azure.Management.CosmosDB.Models.PrivateEndpointConnection
<Extension()>
Public Function CreateOrUpdate (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, accountName As String, privateEndpointConnectionName As String, parameters As PrivateEndpointConnection) As PrivateEndpointConnection

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

Cosmos DB database account name.

privateEndpointConnectionName
String

The name of the private endpoint connection.

Returns

Applies to