Table of Contents

Class PrivateEndpointConnectionsOperationsExtensions

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Extension methods for PrivateEndpointConnectionsOperations.

public static class PrivateEndpointConnectionsOperationsExtensions
Inheritance
PrivateEndpointConnectionsOperationsExtensions
Inherited Members

Methods

BeginCreateOrUpdateAsync(IPrivateEndpointConnectionsOperations, string, string, string, PrivateEndpointConnectionInner, CancellationToken)

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

public static Task<PrivateEndpointConnectionInner> BeginCreateOrUpdateAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, CancellationToken cancellationToken = default)

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.

parameters PrivateEndpointConnectionInner
cancellationToken CancellationToken

The cancellation token.

Returns

Task<PrivateEndpointConnectionInner>

BeginDeleteAsync(IPrivateEndpointConnectionsOperations, string, string, string, CancellationToken)

Deletes a private endpoint connection with a given name.

public static Task BeginDeleteAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

CreateOrUpdateAsync(IPrivateEndpointConnectionsOperations, string, string, string, PrivateEndpointConnectionInner, CancellationToken)

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

public static Task<PrivateEndpointConnectionInner> CreateOrUpdateAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, CancellationToken cancellationToken = default)

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.

parameters PrivateEndpointConnectionInner
cancellationToken CancellationToken

The cancellation token.

Returns

Task<PrivateEndpointConnectionInner>

DeleteAsync(IPrivateEndpointConnectionsOperations, string, string, string, CancellationToken)

Deletes a private endpoint connection with a given name.

public static Task DeleteAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

GetAsync(IPrivateEndpointConnectionsOperations, string, string, string, CancellationToken)

Gets a private endpoint connection.

public static Task<PrivateEndpointConnectionInner> GetAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<PrivateEndpointConnectionInner>

ListByDatabaseAccountAsync(IPrivateEndpointConnectionsOperations, string, string, CancellationToken)

List all private endpoint connections on a Cosmos DB account.

public static Task<IEnumerable<PrivateEndpointConnectionInner>> ListByDatabaseAccountAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IEnumerable<PrivateEndpointConnectionInner>>