Managed Instance Private Endpoint Connections - Get
获取专用终结点连接。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateEndpointConnections/{privateEndpointConnectionName}?api-version=2023-08-01
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
managed
|
path | True |
string |
托管实例的名称。 |
|
private
|
path | True |
string |
专用终结点连接的名称。 |
|
resource
|
path | True |
string |
包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。 |
|
subscription
|
path | True |
string |
标识 Azure 订阅的订阅 ID。 |
|
api-version
|
query | True |
string |
要用于请求的 API 版本。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
已成功检索指定的专用终结点连接。 |
|
| Other Status Codes |
错误响应: ***
|
示例
Gets private endpoint connection.
示例请求
示例响应
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/test-cl/privateEndpointConnections/private-endpoint-connection-name",
"name": "private-endpoint-connection-name",
"type": "Microsoft.Sql/managedInstances/privateEndpointConnections",
"properties": {
"provisioningState": "Ready",
"privateEndpoint": {
"id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
"actionsRequired": "None"
}
}
}
定义
ErrorAdditionalInfo
资源管理错误附加信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| info |
object |
其他信息。 |
| type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| additionalInfo |
错误附加信息。 |
|
| code |
string |
错误代码。 |
| details |
错误详细信息。 |
|
| message |
string |
错误消息。 |
| target |
string |
错误目标。 |
ErrorResponse
错误响应
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误对象。 |
ManagedInstancePrivateEndpointConnection
专用终结点连接
| 名称 | 类型 | 说明 |
|---|---|---|
| id |
string |
资源 ID。 |
| name |
string |
资源名称。 |
| properties.privateEndpoint |
连接所属的专用终结点。 |
|
| properties.privateLinkServiceConnectionState |
专用终结点连接的连接状态。 |
|
| properties.provisioningState |
string |
专用终结点连接的状态。 |
| type |
string |
资源类型。 |
ManagedInstancePrivateEndpointProperty
| 名称 | 类型 | 说明 |
|---|---|---|
| id |
string |
专用终结点的资源 ID。 |
ManagedInstancePrivateLinkServiceConnectionStateProperty
| 名称 | 类型 | 说明 |
|---|---|---|
| actionsRequired |
string |
专用链接服务连接说明。 |
| description |
string |
专用链接服务连接说明。 |
| status |
string |
专用链接服务连接状态。 |