PrivateEndpointConnections interface
Interface representing a PrivateEndpointConnections.
Methods
begin |
Approve or reject a private endpoint connection with a given name. |
begin |
Approve or reject a private endpoint connection with a given name. |
begin |
Deletes a private endpoint connection with a given name. |
begin |
Deletes a private endpoint connection with a given name. |
get(string, string, string, Private |
Gets a private endpoint connection. |
list |
List all private endpoint connections on a Cosmos DB account. |
Method Details
beginCreateOrUpdate(string, string, string, PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams)
Approve or reject a private endpoint connection with a given name.
function beginCreateOrUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnection>, PrivateEndpointConnection>>
Parameters
- 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
- PrivateEndpointConnection
A private endpoint connection
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<PrivateEndpointConnection>, PrivateEndpointConnection>>
beginCreateOrUpdateAndWait(string, string, string, PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams)
Approve or reject a private endpoint connection with a given name.
function beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnection>
Parameters
- 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
- PrivateEndpointConnection
A private endpoint connection
The options parameters.
Returns
Promise<PrivateEndpointConnection>
beginDelete(string, string, string, PrivateEndpointConnectionsDeleteOptionalParams)
Deletes a private endpoint connection with a given name.
function beginDelete(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- 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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, PrivateEndpointConnectionsDeleteOptionalParams)
Deletes a private endpoint connection with a given name.
function beginDeleteAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>
Parameters
- 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.
The options parameters.
Returns
Promise<void>
get(string, string, string, PrivateEndpointConnectionsGetOptionalParams)
Gets a private endpoint connection.
function get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnection>
Parameters
- 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.
The options parameters.
Returns
Promise<PrivateEndpointConnection>
listByDatabaseAccount(string, string, PrivateEndpointConnectionsListByDatabaseAccountOptionalParams)
List all private endpoint connections on a Cosmos DB account.
function listByDatabaseAccount(resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListByDatabaseAccountOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection, PrivateEndpointConnection[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
Cosmos DB database account name.
The options parameters.