שתף באמצעות


az containerapp add-on postgres

Note

This reference is part of the containerapp extension for the Azure CLI (version 2.62.0 or higher). The extension will automatically install the first time you run an az containerapp add-on postgres command. Learn more about extensions.

Command group 'containerapp add-on' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Commands to manage the postgres add-on for the Container Apps environment.

Commands

Name Description Type Status
az containerapp add-on postgres create

Command to create the postgres add-on.

Extension Preview
az containerapp add-on postgres delete

Command to delete the postgres add-on.

Extension Preview

az containerapp add-on postgres create

Preview

Command group 'containerapp add-on' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Command to create the postgres add-on.

az containerapp add-on postgres create --environment
                                       --name
                                       --resource-group
                                       [--no-wait]

Required Parameters

--environment

The environment name.

--name -n

The service name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az containerapp add-on postgres delete

Preview

Command group 'containerapp add-on' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Command to delete the postgres add-on.

az containerapp add-on postgres delete --name
                                       --resource-group
                                       [--no-wait]
                                       [--yes]

Required Parameters

--name -n

The service name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
--yes -y

Do not prompt for confirmation.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.