az cosmosdb private-endpoint-connection

Manage Azure Comsos DB private endpoint connections.

Commands

az cosmosdb private-endpoint-connection approve

Approve the specified private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection delete

Delete the specified private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection reject

Reject the specified private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection show

Show details of a private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection approve

Approve the specified private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection approve [--account-name]
                                                [--description]
                                                [--id]
                                                [--ids]
                                                [--name]
                                                [--resource-group]
                                                [--subscription]

Examples

Approve the specified private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection approve --account-name MyAccount --name MyPrivateEndpoint --resource-group MyResourceGroup --description "Approved"

Optional Parameters

--account-name -a

Name of the Cosmos DB database account. Required if --connection-id is not specified.

--description

Comments for the approve operation.

--id

The ID of the private endpoint connection associated with Azure Cosmos DB. If specified --account-name --resource-group/-g and --name/-n, this should be omitted.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

The name of the private endpoint connection associated with Azure Cosmos DB. Required if --connection-id is not specified.

--resource-group -g

The resource group name of specified Cosmos DB account. Required if --connection-id is not specified.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az cosmosdb private-endpoint-connection delete

Delete the specified private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection delete [--account-name]
                                               [--id]
                                               [--ids]
                                               [--name]
                                               [--resource-group]
                                               [--subscription]

Examples

Delete the specified private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection delete --account-name MyAccount --name MyPrivateEndpoint --resource-group MyResourceGroup

Optional Parameters

--account-name -a

Name of the Cosmos DB database account. Required if --connection-id is not specified.

--id

The ID of the private endpoint connection associated with Azure Cosmos DB. If specified --account-name --resource-group/-g and --name/-n, this should be omitted.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

The name of the private endpoint connection associated with Azure Cosmos DB. Required if --connection-id is not specified.

--resource-group -g

The resource group name of specified Cosmos DB account. Required if --connection-id is not specified.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az cosmosdb private-endpoint-connection reject

Reject the specified private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection reject [--account-name]
                                               [--description]
                                               [--id]
                                               [--ids]
                                               [--name]
                                               [--resource-group]
                                               [--subscription]

Examples

Reject the specified private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection reject --account-name MyAccount --name MyPrivateEndpoint --resource-group MyResourceGroup --description "Rejected"

Optional Parameters

--account-name -a

Name of the Cosmos DB database account. Required if --connection-id is not specified.

--description

Comments for the reject operation.

--id

The ID of the private endpoint connection associated with Azure Cosmos DB. If specified --account-name --resource-group/-g and --name/-n, this should be omitted.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

The name of the private endpoint connection associated with Azure Cosmos DB. Required if --connection-id is not specified.

--resource-group -g

The resource group name of specified Cosmos DB account. Required if --connection-id is not specified.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az cosmosdb private-endpoint-connection show

Show details of a private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection show [--account-name]
                                             [--id]
                                             [--ids]
                                             [--name]
                                             [--query-examples]
                                             [--resource-group]
                                             [--subscription]

Examples

Show details of a private endpoint connection associated with Azure Comsos DB.

az cosmosdb private-endpoint-connection show --account-name MyAccount --name MyPrivateEndpoint --resource-group MyResourceGroup

Optional Parameters

--account-name -a

Name of the Cosmos DB database account. Required if --connection-id is not specified.

--id

The ID of the private endpoint connection associated with Azure Cosmos DB. If specified --account-name --resource-group/-g and --name/-n, this should be omitted.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

The name of the private endpoint connection associated with Azure Cosmos DB. Required if --connection-id is not specified.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

The resource group name of specified Cosmos DB account. Required if --connection-id is not specified.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.