az neon postgres neon-role
Note
This reference is part of the neon extension for the Azure CLI (version 2.70.0 or higher). The extension will automatically install the first time you run an az neon postgres neon-role command. Learn more about extensions.
Manage roles and permissions within Neon Postgres databases.
Commands
Name | Description | Type | Status |
---|---|---|---|
az neon postgres neon-role list |
List all roles and permissions associated with a specific branch in Neon Postgres. |
Extension | GA |
az neon postgres neon-role list
List all roles and permissions associated with a specific branch in Neon Postgres.
az neon postgres neon-role list --branch-id
--organization-name
--project-id
--resource-group
[--max-items]
[--next-token]
Examples
List Neon Roles under a Branch
az neon postgres neon-role list --resource-group rgneon --organization-name org-test-cli --project-id old-frost-16758796 --branch-id br-spring-field-a8vje3tr
Required Parameters
Id of the Neon branch.
Name of the Neon organization. If value is blank it's asked from the tty.
Id of the Neon project.
Name of the Azure resource group.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Property | Value |
---|---|
Parameter group: | Pagination Arguments |
Token to specify where to start paginating. This is the token value from a previously truncated response.
Property | Value |
---|---|
Parameter group: | Pagination 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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |