az cosmosdb private-endpoint-connection
Manage Azure Cosmos DB private endpoint connections.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az cosmosdb private-endpoint-connection approve |
Approve the specified private endpoint connection associated with Azure Cosmos DB. |
Core | GA |
| az cosmosdb private-endpoint-connection delete |
Delete the specified private endpoint connection associated with Azure Cosmos DB. |
Core | GA |
| az cosmosdb private-endpoint-connection reject |
Reject the specified private endpoint connection associated with Azure Cosmos DB. |
Core | GA |
| az cosmosdb private-endpoint-connection show |
Show details of a private endpoint connection associated with Azure Cosmos DB. |
Core | GA |
az cosmosdb private-endpoint-connection approve
Approve the specified private endpoint connection associated with Azure Cosmos 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 Cosmos DB.
az cosmosdb private-endpoint-connection approve --account-name MyAccount --name MyPrivateEndpoint --resource-group MyResourceGroup --description "Approved"
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of the Cosmos DB database account. Required if --connection-id is not specified.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Comments for the approve operation.
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.
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the private endpoint connection associated with Azure Cosmos DB. Required if --connection-id is not specified.
The resource group name of specified Cosmos DB account. Required if --connection-id is not specified.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az cosmosdb private-endpoint-connection delete
Delete the specified private endpoint connection associated with Azure Cosmos 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 Cosmos DB.
az cosmosdb private-endpoint-connection delete --account-name MyAccount --name MyPrivateEndpoint --resource-group MyResourceGroup
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of the Cosmos DB database account. Required if --connection-id is not specified.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
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.
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the private endpoint connection associated with Azure Cosmos DB. Required if --connection-id is not specified.
The resource group name of specified Cosmos DB account. Required if --connection-id is not specified.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az cosmosdb private-endpoint-connection reject
Reject the specified private endpoint connection associated with Azure Cosmos 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 Cosmos DB.
az cosmosdb private-endpoint-connection reject --account-name MyAccount --name MyPrivateEndpoint --resource-group MyResourceGroup --description "Rejected"
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of the Cosmos DB database account. Required if --connection-id is not specified.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Comments for the reject operation.
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.
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the private endpoint connection associated with Azure Cosmos DB. Required if --connection-id is not specified.
The resource group name of specified Cosmos DB account. Required if --connection-id is not specified.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az cosmosdb private-endpoint-connection show
Show details of a private endpoint connection associated with Azure Cosmos DB.
az cosmosdb private-endpoint-connection show [--account-name]
[--id]
[--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Show details of a private endpoint connection associated with Azure Cosmos DB.
az cosmosdb private-endpoint-connection show --account-name MyAccount --name MyPrivateEndpoint --resource-group MyResourceGroup
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of the Cosmos DB database account. Required if --connection-id is not specified.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
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.
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the private endpoint connection associated with Azure Cosmos DB. Required if --connection-id is not specified.
The resource group name of specified Cosmos DB account. Required if --connection-id is not specified.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |