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
IPrivateEndpointConnectionsOperationsThe operations group for this extension method.
resourceGroupName
stringThe name of the resource group. The name is case insensitive.
accountName
stringCosmos DB database account name.
privateEndpointConnectionName
stringThe name of the private endpoint connection.
parameters
PrivateEndpointConnectionInnercancellationToken
CancellationTokenThe cancellation token.
Returns
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
IPrivateEndpointConnectionsOperationsThe operations group for this extension method.
resourceGroupName
stringThe name of the resource group. The name is case insensitive.
accountName
stringCosmos DB database account name.
privateEndpointConnectionName
stringThe name of the private endpoint connection.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
IPrivateEndpointConnectionsOperationsThe operations group for this extension method.
resourceGroupName
stringThe name of the resource group. The name is case insensitive.
accountName
stringCosmos DB database account name.
privateEndpointConnectionName
stringThe name of the private endpoint connection.
parameters
PrivateEndpointConnectionInnercancellationToken
CancellationTokenThe cancellation token.
Returns
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
IPrivateEndpointConnectionsOperationsThe operations group for this extension method.
resourceGroupName
stringThe name of the resource group. The name is case insensitive.
accountName
stringCosmos DB database account name.
privateEndpointConnectionName
stringThe name of the private endpoint connection.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
IPrivateEndpointConnectionsOperationsThe operations group for this extension method.
resourceGroupName
stringThe name of the resource group. The name is case insensitive.
accountName
stringCosmos DB database account name.
privateEndpointConnectionName
stringThe name of the private endpoint connection.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
IPrivateEndpointConnectionsOperationsThe operations group for this extension method.
resourceGroupName
stringThe name of the resource group. The name is case insensitive.
accountName
stringCosmos DB database account name.
cancellationToken
CancellationTokenThe cancellation token.