az postgres flexible-server private-endpoint-connection
管理 PostgreSQL 灵活服务器专用终结点连接。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az postgres flexible-server private-endpoint-connection approve |
批准与 PostgreSQL 灵活服务器关联的指定专用终结点连接。 |
Core | GA |
| az postgres flexible-server private-endpoint-connection delete |
删除与 PostgreSQL 灵活服务器关联的指定专用终结点连接。 |
Core | GA |
| az postgres flexible-server private-endpoint-connection list |
列出与 PostgreSQL 灵活服务器关联的所有专用终结点连接。 |
Core | GA |
| az postgres flexible-server private-endpoint-connection reject |
拒绝与 PostgreSQL 灵活服务器关联的指定专用终结点连接。 |
Core | GA |
| az postgres flexible-server private-endpoint-connection show |
显示与 PostgreSQL 灵活服务器关联的专用终结点连接的详细信息。 |
Core | GA |
az postgres flexible-server private-endpoint-connection approve
批准与 PostgreSQL 灵活服务器关联的指定专用终结点连接。
az postgres flexible-server private-endpoint-connection approve --description
[--id]
[--ids]
[--name]
[--resource-group]
[--server-name]
[--subscription]
示例
批准与 PostgreSQL 灵活服务器关联的专用终结点连接。
az postgres flexible-server private-endpoint-connection approve -g testgroup -s testsvr -n pec-connection.40e3d3a8-7d8f-41eb-8462-1cd05bc3e33b --description "Approve connection"
必需参数
审批作的注释。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
与服务器关联的专用终结点连接的 ID。 如果指定了 --server-name/-s 和 --name/-n,则应省略此值。
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
与服务器关联的专用终结点连接的名称。 如果未指定 --id,则为必需。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
服务器的名称。 如果未指定 --id,则为必需。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az postgres flexible-server private-endpoint-connection delete
删除与 PostgreSQL 灵活服务器关联的指定专用终结点连接。
az postgres flexible-server private-endpoint-connection delete [--id]
[--ids]
[--name]
[--resource-group]
[--server-name]
[--subscription]
示例
删除与 PostgreSQL 灵活服务器关联的专用终结点连接。
az postgres flexible-server private-endpoint-connection delete -g testgroup -s testsvr --id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testgroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testsvr/privateEndpointConnections/pec-connection.40e3d3a8-7d8f-41eb-8462-1cd05bc3e33b
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
与服务器关联的专用终结点连接的 ID。 如果指定了 --server-name/-s 和 --name/-n,则应省略此值。
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
与服务器关联的专用终结点连接的名称。 如果未指定 --id,则为必需。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
服务器的名称。 如果未指定 --id,则为必需。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az postgres flexible-server private-endpoint-connection list
列出与 PostgreSQL 灵活服务器关联的所有专用终结点连接。
az postgres flexible-server private-endpoint-connection list [--ids]
[--resource-group]
[--server-name]
[--subscription]
示例
列出与 PostgreSQL 灵活服务器关联的所有专用终结点连接。
az postgres flexible-server private-endpoint-connection list -g testgroup -s testsvr
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
服务器的名称。 名称只能包含小写字母、数字和连字符 (-)。 最少 3 个字符,最多 63 个字符。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az postgres flexible-server private-endpoint-connection reject
拒绝与 PostgreSQL 灵活服务器关联的指定专用终结点连接。
az postgres flexible-server private-endpoint-connection reject --description
[--id]
[--ids]
[--name]
[--resource-group]
[--server-name]
[--subscription]
示例
拒绝与 PostgreSQL 灵活服务器关联的专用终结点连接。
az postgres flexible-server private-endpoint-connection reject -g testgroup -s testsvr -n pec-connection.40e3d3a8-7d8f-41eb-8462-1cd05bc3e33b --description "Reject connection"
必需参数
拒绝作的注释。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
与服务器关联的专用终结点连接的 ID。 如果指定了 --server-name/-s 和 --name/-n,则应省略此值。
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
与服务器关联的专用终结点连接的名称。 如果未指定 --id,则为必需。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
服务器的名称。 如果未指定 --id,则为必需。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az postgres flexible-server private-endpoint-connection show
显示与 PostgreSQL 灵活服务器关联的专用终结点连接的详细信息。
az postgres flexible-server private-endpoint-connection show [--id]
[--ids]
[--name]
[--resource-group]
[--server-name]
[--subscription]
示例
显示与 PostgreSQL 灵活服务器关联的专用终结点连接的详细信息。
az postgres flexible-server private-endpoint-connection show -g testgroup -s testsvr -n pec-connection.40e3d3a8-7d8f-41eb-8462-1cd05bc3e33b
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
与服务器关联的专用终结点连接的 ID。 如果指定了 --server-name/-s 和 --name/-n,则应省略此值。
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
与服务器关联的专用终结点连接的名称。 如果未指定 --id,则为必需。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
服务器的名称。 如果未指定 --id,则为必需。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |