az postgres flexible-server private-link-resource
Get Private link resource for a PostgreSQL flexible server.
Commands
Name | Description | Type | Status |
---|---|---|---|
az postgres flexible-server private-link-resource list |
List private link resources associated with a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server private-link-resource show |
Get private link resource for a PostgreSQL flexible server. |
Core | GA |
az postgres flexible-server private-link-resource list
List private link resources associated with a PostgreSQL flexible server.
az postgres flexible-server private-link-resource list [--ids]
[--resource-group]
[--server-name]
[--subscription]
Examples
List private link resources associated with a PostgreSQL flexible server.
az postgres flexible-server private-link-resource list -g testgroup -s testsvr
Optional Parameters
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.
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 private-link-resource show
Get private link resource for a PostgreSQL flexible server.
az postgres flexible-server private-link-resource show [--ids]
[--resource-group]
[--server-name]
[--subscription]
Examples
Get the private link resource for a flexible server.
az postgres flexible-server private-link-resource show --resource-group testGroup --server-name testserver
Get the private link resource for a flexible server in a different subscription.
az postgres flexible-server private-link-resource show --subscription testSubscription --resource-group testGroup --server-name testserver
Get the private link resource for a flexible server using --ids parameter.
az postgres flexible-server private-link-resource show --ids /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testServer
Optional Parameters
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.
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.