共用方式為


Batch Account - List Outbound Network Dependencies Endpoints

清單 此 Batch 帳戶下 Batch 計算節點可能會呼叫的端點,作為 Batch 服務管理的一部分。 如果您要在指定的虛擬網路內部部署集區,您必須確定您的網路允許對這些端點的輸出存取。 無法允許存取這些端點可能會導致 Batch 將受影響的節點標示為無法使用。 如需在虛擬網路內建立集區的詳細資訊,請參閱 https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints?api-version=2024-02-01

URI 參數

名稱 位於 必要 類型 Description
accountName
path True

string

Batch 帳戶的名稱。

Regex pattern: ^[a-zA-Z0-9]+$

resourceGroupName
path True

string

包含 Batch 帳戶的資源組名。

subscriptionId
path True

string

Azure 訂用帳戶識別碼。 這是 GUID 格式字串 (例如 000000000-0000-0000-0000-00000-000000000000)

api-version
query True

string

要與 HTTP 要求搭配使用的 API 版本。

回應

名稱 類型 Description
200 OK

OutboundEnvironmentEndpointCollection

作業成功。 回應包含輸出網路相依性的清單。

Other Status Codes

CloudError

描述作業失敗原因的錯誤回應。

安全性

azure_auth

Microsoft Entra OAuth 2.0 驗證碼流程

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

ListOutboundNetworkDependencies

Sample Request

GET https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/outboundNetworkDependenciesEndpoints?api-version=2024-02-01

Sample Response

{
  "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://docs.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://docs.microsoft.com/azure/batch/disk-encryption. Learn more about encryption at host and supported VM sizes at https://docs.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal.",
          "endpointDetails": [
            {
              "port": 443
            }
          ]
        }
      ]
    }
  ]
}

定義

名稱 Description
CloudError

Batch 服務的錯誤回應。

CloudErrorBody

Batch 服務的錯誤回應。

EndpointDependency

用來存取相依性之功能變數名稱和連線詳細數據。

EndpointDetail

Batch 服務與端點之間連線的詳細數據。

OutboundEnvironmentEndpoint

Batch 服務需要輸出存取之相同服務的相關端點集合。

OutboundEnvironmentEndpointCollection

List 作業傳回的值。

CloudError

Batch 服務的錯誤回應。

名稱 類型 Description
error

CloudErrorBody

錯誤回應的本文。

CloudErrorBody

Batch 服務的錯誤回應。

名稱 類型 Description
code

string

錯誤的識別碼。 程式碼不變,且要以程式設計方式使用。

details

CloudErrorBody[]

錯誤的其他詳細數據清單。

message

string

描述錯誤的訊息,適用於在使用者介面中顯示。

target

string

特定錯誤的目標。 例如,錯誤中的屬性名稱。

EndpointDependency

用來存取相依性之功能變數名稱和連線詳細數據。

名稱 類型 Description
description

string

人類看得懂的相依性補充資訊,以及其適用時機。

domainName

string

相依性功能變數名稱。 功能變數名稱可能完整,或可能包含 * 通配符。

endpointDetails

EndpointDetail[]

此端點的連線詳細數據清單。

EndpointDetail

Batch 服務與端點之間連線的詳細數據。

名稱 類型 Description
port

integer

端點所連線的埠。

OutboundEnvironmentEndpoint

Batch 服務需要輸出存取之相同服務的相關端點集合。

名稱 類型 Description
category

string

Batch 服務所連線的服務類型。

endpoints

EndpointDependency[]

Batch 服務發出輸出呼叫之此服務的端點。

OutboundEnvironmentEndpointCollection

List 作業傳回的值。

名稱 類型 Description
nextLink

string

接續 Token。

value

OutboundEnvironmentEndpoint[]

清單作業所傳回之輸出網路相依性端點的集合。