你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
App Service Environments - Get Private Endpoint Connection List
获取与托管环境关联的专用终结点列表的说明
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/privateEndpointConnections?api-version=2022-03-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
name
|
path | True |
string |
应用服务环境的名称。 |
resource
|
path | True |
string |
资源所属的资源组的名称。 Regex pattern: |
subscription
|
path | True |
string |
Azure 订阅 ID。 这是 GUID 格式的字符串 (例如 00000000-0000-0000-0000-0000-0000000000000) 。 |
api-version
|
query | True |
string |
API 版本 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
确定 |
|
Other Status Codes |
App 服务错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 流
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
Gets the list of private endpoints associated with a hosting environment.
Sample Request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/privateEndpointConnections?api-version=2022-03-01
Sample Response
{
"value": [
{
"name": "fa38656c-034e-43d8-adce-fe06ce039c98",
"type": "Microsoft.Web/hostingEnvironments/privateEndpointConnections",
"properties": {
"provisioningState": "Pending",
"privateEndpoint": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/test-privateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Disconnecting",
"description": "Please approve my connection, thanks!",
"actionsRequired": "None"
},
"ipAddresses": []
}
}
]
}
定义
名称 | 说明 |
---|---|
Arm |
ARM 资源 ID 的包装器 |
Default |
App 服务错误响应。 |
Details | |
Error |
错误模型。 |
Private |
|
Private |
专用链接连接的状态 |
Remote |
远程专用终结点连接 ARM 资源。 |
ArmIdWrapper
ARM 资源 ID 的包装器
名称 | 类型 | 说明 |
---|---|---|
id |
string |
DefaultErrorResponse
App 服务错误响应。
名称 | 类型 | 说明 |
---|---|---|
error |
错误模型。 |
Details
名称 | 类型 | 说明 |
---|---|---|
code |
string |
用于以编程方式识别错误的标准化字符串。 |
message |
string |
详细的错误说明和调试信息。 |
target |
string |
详细的错误说明和调试信息。 |
Error
错误模型。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
用于以编程方式识别错误的标准化字符串。 |
details |
Details[] |
详细错误。 |
innererror |
string |
调试错误的详细信息。 |
message |
string |
详细的错误说明和调试信息。 |
target |
string |
详细的错误说明和调试信息。 |
PrivateEndpointConnectionCollection
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
指向下一页资源的链接。 |
value |
资源的集合。 |
PrivateLinkConnectionState
专用链接连接的状态
名称 | 类型 | 说明 |
---|---|---|
actionsRequired |
string |
Actions要求专用链接连接 |
description |
string |
专用链接连接的说明 |
status |
string |
专用链接连接的状态 |
RemotePrivateEndpointConnectionARMResource
远程专用终结点连接 ARM 资源。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |
kind |
string |
资源类型。 |
name |
string |
资源名称。 |
properties.ipAddresses |
string[] |
映射到远程专用终结点的专用 IPAddresses |
properties.privateEndpoint |
远程专用终结点连接的 PrivateEndpoint |
|
properties.privateLinkServiceConnectionState |
专用链接连接的状态 |
|
properties.provisioningState |
string |
|
type |
string |
资源类型。 |