你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Batch Account - List Outbound Network Dependencies Endpoints
列出此 Batch 帐户下 Batch 计算节点可以调用的终结点,作为 Batch 服务管理的一部分。 如果要在指定的虚拟网络内部署池,必须确保网络允许对这些终结点进行出站访问。 未能允许访问这些终结点可能会导致 Batch 将受影响的节点标记为不可用。 有关在虚拟网络中创建池的详细信息,请参阅 https://learn.microsoft.com/azure/batch/batch-virtual-network。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints?api-version=2024-07-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
account
|
path | True |
string |
Batch 帐户的名称。 正则表达式模式: |
resource
|
path | True |
string |
包含 Batch 帐户的资源组的名称。 |
subscription
|
path | True |
string |
Azure 订阅 ID。 这是 GUID 格式的字符串(例如 000000000-0000-0000-00000-000000000000000) |
api-version
|
query | True |
string |
要用于 HTTP 请求的 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
操作成功。 响应包含出站网络依赖项的列表。 |
|
Other Status Codes |
描述操作失败的原因的错误响应。 |
安全性
azure_auth
Microsoft Entra OAuth 2.0 身份验证代码流
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
ListOutboundNetworkDependencies
示例请求
示例响应
{
"value": [
{
"category": "Azure Batch",
"endpoints": [
{
"domainName": "sampleacct.japaneast.batch.azure.com",
"description": "Applicable to job manager tasks, tasks that use job scoped authentication, or any task that makes calls to Batch.",
"endpointDetails": [
{
"port": 443
}
]
},
{
"domainName": "japaneast.service.batch.azure.com",
"description": "Applicable to all Azure Batch pools.",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "Azure Storage",
"endpoints": [
{
"domainName": "autostorageaccountname.blob.core.windows.net",
"description": "AutoStorage endpoint for this Batch account. Applicable to all Azure Batch pools under this account.",
"endpointDetails": [
{
"port": 443
}
]
},
{
"domainName": "*.blob.core.windows.net",
"description": "Applicable to all Azure Batch pools.",
"endpointDetails": [
{
"port": 443
}
]
},
{
"domainName": "*.table.core.windows.net",
"description": "Applicable to all Azure Batch pools.",
"endpointDetails": [
{
"port": 443
}
]
},
{
"domainName": "*.queue.core.windows.net",
"description": "Applicable to all Azure Batch pools.",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "Microsoft Package Repository",
"endpoints": [
{
"domainName": "packages.microsoft.com",
"description": "Only applicable to pools containing a Mount Configuration. Learn about Mount Configurations in Batch at https://learn.microsoft.com/azure/batch/virtual-file-mount.",
"endpointDetails": [
{
"port": 443
}
]
}
]
},
{
"category": "Azure Key Vault",
"endpoints": [
{
"domainName": "*.vault.azure.net",
"description": "Only applicable to pools containing a Disk Encryption Configuration and whose VM size does not support encryption at host. Learn more about disk encryption in Azure Batch at https://learn.microsoft.com/azure/batch/disk-encryption. Learn more about encryption at host and supported VM sizes at https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal.",
"endpointDetails": [
{
"port": 443
}
]
}
]
}
]
}
定义
名称 | 说明 |
---|---|
Cloud |
Batch 服务的错误响应。 |
Cloud |
Batch 服务的错误响应。 |
Endpoint |
用于访问依赖项的域名和连接详细信息。 |
Endpoint |
有关 Batch 服务与终结点之间的连接的详细信息。 |
Outbound |
Batch 服务需要出站访问的同一服务中相关终结点的集合。 |
Outbound |
列表操作返回的值。 |
CloudError
Batch 服务的错误响应。
名称 | 类型 | 说明 |
---|---|---|
error |
错误响应的正文。 |
CloudErrorBody
Batch 服务的错误响应。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误的标识符。 代码是固定的,旨在以编程方式使用。 |
details |
有关错误的其他详细信息的列表。 |
|
message |
string |
描述错误的消息,旨在适合在用户界面中显示。 |
target |
string |
特定错误的目标。 例如,错误属性的名称。 |
EndpointDependency
用于访问依赖项的域名和连接详细信息。
名称 | 类型 | 说明 |
---|---|---|
description |
string |
有关依赖项的可读补充信息及其适用时间。 |
domainName |
string |
依赖项的域名。 域名可能完全限定,也可以包含 * 通配符。 |
endpointDetails |
此终结点的连接详细信息列表。 |
EndpointDetail
有关 Batch 服务与终结点之间的连接的详细信息。
名称 | 类型 | 说明 |
---|---|---|
port |
integer |
终结点连接到的端口。 |
OutboundEnvironmentEndpoint
Batch 服务需要出站访问的同一服务中相关终结点的集合。
名称 | 类型 | 说明 |
---|---|---|
category |
string |
Batch 服务连接到的服务类型。 |
endpoints |
Batch 服务向其发出出站调用的此服务的终结点。 |
OutboundEnvironmentEndpointCollection
列表操作返回的值。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
延续标记。 |
value |
列表操作返回的出站网络依赖项终结点的集合。 |