Manage server Active Directory administrators.
Commands az postgres flexible-server ad-admin createCreate an Active Directory 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 Active Directory administrator with user 'john@contoso.com', administrator ID '00000000-0000-0000-0000-000000000000' and type User.
az postgres flexible-server ad-admin create -g testgroup -s testsvr -u john@contoso.com -i 00000000-0000-0000-0000-000000000000 -t User
Required Parameters
Display name of the Azure AD administrator user or group.
The unique ID of the Azure AD 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 ParametersThe following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not wait for the long-running operation to finish.
Property Value Default value: FalseType of the Azure AD administrator.
Property Value Default value: User Accepted values: Group, ServicePrincipal, Unknown, User Global ParametersIncrease logging verbosity to show all debug logs.
Property Value Default value: FalseShow this help message and exit.
Only show errors, suppressing warnings.
Property Value Default value: FalseOutput format.
Property Value Default value: json Accepted values: json, jsonc, none, table, tsv, yaml, yamlcJMESPath 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 az postgres flexible-server ad-admin deleteDelete an Active Directory administrator.
az postgres flexible-server ad-admin delete --object-id
--resource-group
--server-name
[--no-wait]
[--yes]
Examples
Delete Active Directory 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 Azure AD 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 ParametersThe following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not wait for the long-running operation to finish.
Property Value Default value: FalseDo not prompt for confirmation.
Property Value Default value: False Global ParametersIncrease logging verbosity to show all debug logs.
Property Value Default value: FalseShow this help message and exit.
Only show errors, suppressing warnings.
Property Value Default value: FalseOutput format.
Property Value Default value: json Accepted values: json, jsonc, none, table, tsv, yaml, yamlcJMESPath 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 az postgres flexible-server ad-admin listList all Active Directory administrators.
az postgres flexible-server ad-admin list --resource-group
--server-name
Examples
List Active Directory 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 ParametersIncrease logging verbosity to show all debug logs.
Property Value Default value: FalseShow this help message and exit.
Only show errors, suppressing warnings.
Property Value Default value: FalseOutput format.
Property Value Default value: json Accepted values: json, jsonc, none, table, tsv, yaml, yamlcJMESPath 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 az postgres flexible-server ad-admin showGet an Active Directory administrator.
az postgres flexible-server ad-admin show --object-id
--resource-group
--server-name
Examples
Get Active Directory 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 Azure AD 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 ParametersIncrease logging verbosity to show all debug logs.
Property Value Default value: FalseShow this help message and exit.
Only show errors, suppressing warnings.
Property Value Default value: FalseOutput format.
Property Value Default value: json Accepted values: json, jsonc, none, table, tsv, yaml, yamlcJMESPath 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 az postgres flexible-server ad-admin waitWait for an Active Directory 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 an Active Directory administrator exists.
az postgres flexible-server ad-admin wait -g testgroup -s testsvr -i 00000000-0000-0000-0000-000000000000 --exists
Wait for an Active Directory 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 Azure AD 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 ParametersThe following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Wait until created with 'provisioningState' at 'Succeeded'.
Property Value Parameter group: Wait Condition Arguments Default value: FalseWait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Property Value Parameter group: Wait Condition ArgumentsWait until deleted.
Property Value Parameter group: Wait Condition Arguments Default value: FalseWait until the resource exists.
Property Value Parameter group: Wait Condition Arguments Default value: FalsePolling interval in seconds.
Property Value Parameter group: Wait Condition Arguments Default value: 30Maximum wait in seconds.
Property Value Parameter group: Wait Condition Arguments Default value: 3600Wait until updated with provisioningState at 'Succeeded'.
Property Value Parameter group: Wait Condition Arguments Default value: False Global ParametersIncrease logging verbosity to show all debug logs.
Property Value Default value: FalseShow this help message and exit.
Only show errors, suppressing warnings.
Property Value Default value: FalseOutput format.
Property Value Default value: json Accepted values: json, jsonc, none, table, tsv, yaml, yamlcJMESPath 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: FalseRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4