az postgres flexible-server ad-admin
This command group has been deprecated and will be removed in next breaking change release(2.73.0) scheduled for May 2025. Use 'microsoft-entra-admin' instead.
Manage server Microsoft Entra administrators.
Commands
Name | Description | Type | Status |
---|---|---|---|
az postgres flexible-server ad-admin create |
Create a Microsoft Entra administrator. |
Core | Deprecated |
az postgres flexible-server ad-admin delete |
Delete a Microsoft Entra administrator. |
Core | Deprecated |
az postgres flexible-server ad-admin list |
List all Microsoft Entra administrators. |
Core | Deprecated |
az postgres flexible-server ad-admin show |
Get a Microsoft Entra administrator. |
Core | Deprecated |
az postgres flexible-server ad-admin wait |
Wait for a Microsoft Entra administrator to satisfy certain conditions. |
Core | Deprecated |
az postgres flexible-server ad-admin create
This command is implicitly deprecated because command group 'postgres flexible-server ad-admin' is deprecated and will be removed in a future release. Use 'microsoft-entra-admin' instead.
Create a Microsoft Entra administrator.
az postgres flexible-server ad-admin create --display-name
--object-id
--resource-group
--server-name
[--no-wait]
[--type {Group, ServicePrincipal, Unknown, User}]
Examples
Create Microsoft Entra administrator with user '[email protected]', administrator ID '00000000-0000-0000-0000-000000000000' and type User.
az postgres flexible-server ad-admin create -g testgroup -s testsvr -u [email protected] -i 00000000-0000-0000-0000-000000000000 -t User
Required Parameters
Display name of the Microsoft Entra administrator user or group.
The unique ID of the Microsoft Entra administrator.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.
Optional Parameters
Do not wait for the long-running operation to finish.
Type of the Microsoft Entra administrator.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az postgres flexible-server ad-admin delete
This command is implicitly deprecated because command group 'postgres flexible-server ad-admin' is deprecated and will be removed in a future release. Use 'microsoft-entra-admin' instead.
Delete a Microsoft Entra administrator.
az postgres flexible-server ad-admin delete --object-id
--resource-group
--server-name
[--no-wait]
[--yes]
Examples
Delete Microsoft Entra administrator with ID '00000000-0000-0000-0000-000000000000'.
az postgres flexible-server ad-admin delete -g testgroup -s testsvr -i 00000000-0000-0000-0000-000000000000
Required Parameters
The unique ID of the Microsoft Entra administrator.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az postgres flexible-server ad-admin list
This command is implicitly deprecated because command group 'postgres flexible-server ad-admin' is deprecated and will be removed in a future release. Use 'microsoft-entra-admin' instead.
List all Microsoft Entra administrators.
az postgres flexible-server ad-admin list --resource-group
--server-name
Examples
List Microsoft Entra administrators.
az postgres flexible-server ad-admin list -g testgroup -s testsvr
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az postgres flexible-server ad-admin show
This command is implicitly deprecated because command group 'postgres flexible-server ad-admin' is deprecated and will be removed in a future release. Use 'microsoft-entra-admin' instead.
Get a Microsoft Entra administrator.
az postgres flexible-server ad-admin show --object-id
--resource-group
--server-name
Examples
Get Microsoft Entra administrator with ID '00000000-0000-0000-0000-000000000000'.
az postgres flexible-server ad-admin show -g testgroup -s testsvr -i 00000000-0000-0000-0000-000000000000
Required Parameters
The unique ID of the Microsoft Entra administrator.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az postgres flexible-server ad-admin wait
This command is implicitly deprecated because command group 'postgres flexible-server ad-admin' is deprecated and will be removed in a future release. Use 'microsoft-entra-admin' instead.
Wait for a Microsoft Entra administrator to satisfy certain conditions.
az postgres flexible-server ad-admin wait --object-id
--resource-group
--server-name
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Wait until a Microsoft Entra administrator exists.
az postgres flexible-server ad-admin wait -g testgroup -s testsvr -i 00000000-0000-0000-0000-000000000000 --exists
Wait for a Microsoft Entra administrator to be deleted.
az postgres flexible-server ad-admin wait -g testgroup -s testsvr -i 00000000-0000-0000-0000-000000000000 --deleted
Required Parameters
The unique ID of the Microsoft Entra administrator.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
Polling interval in seconds.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.