Spring Cloud Azure 全域組態屬性
屬性 | 說明 |
---|---|
spring.cloud.azure.client-id | 使用 Azure 執行服務主體驗證時要使用的用戶端識別碼。 這是舊版屬性。 |
spring.cloud.azure.client-secret | 使用 Azure 執行服務主體驗證時要使用的客戶端密碼。 這是舊版屬性。 |
spring.cloud.azure.client.amqp.transport-type | AMQP 型用戶端的傳輸類型。 支援的型別包括:AMQP、AMQP_WEB_SOCKETS。 |
spring.cloud.azure.client.application-id | 表示目前的應用程式,並用於遙測/監視用途。 |
spring.cloud.azure.client.http.connect-timeout | 要求嘗試連線到遠端主機並解析連線的時間長度。 |
spring.cloud.azure.client.http.connection-idle-timeout | 閑置連線前的時間量(持續時間)。 |
spring.cloud.azure.client.http.headers | 套用至客戶端傳送之每個要求的標頭清單。 例如,'“myCustomHeader”、“myStaticValue”' 。 |
spring.cloud.azure.client.http.headers[0].name | 標頭的名稱。 |
spring.cloud.azure.client.http.headers[0].values | 標頭的值清單。 |
spring.cloud.azure.client.http.logging.allowed-header-names | 應該記錄的allowlist標頭逗號分隔清單。 預設值是 "x-ms-request-id","x-ms-client-request-id","x-ms-return-client-request-id","traceparent","MS-CV","Accept","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate" 。 |
spring.cloud.azure.client.http.logging.allowed-query-param-names | allowlist 查詢參數的逗號分隔清單。 預設值是 "api-version" 。 |
spring.cloud.azure.client.http.logging.level | 要登入 HTTP 訊息的詳細數據層級。 支援的類型包括:NONE、BASIC、HEADERS、BODY、BODY_AND_HEADERS。 預設值是 NONE 。 |
spring.cloud.azure.client.http.logging.pretty-print-body | 是否要列印訊息本文。 預設值是 false 。 |
spring.cloud.azure.client.http.maximum-connection-pool-size | 基礎 HTTP 用戶端所使用的連線集區大小上限。 |
spring.cloud.azure.client.http.read-timeout | 讀取伺服器回應時所使用的時間(持續時間)。 |
spring.cloud.azure.client.http.response-timeout | 等候伺服器回復時所使用的時間(持續時間)。 |
spring.cloud.azure.client.http.write-timeout | 每一個要求透過網路傳送的時間量(持續時間)。 |
spring.cloud.azure.credential.client-certificate-password | 憑證檔案的密碼。 |
spring.cloud.azure.credential.client-certificate-path | 使用 Azure 執行服務主體驗證時要使用的 PEM 憑證檔案路徑。 |
spring.cloud.azure.credential.client-id | 使用 Azure 執行服務主體驗證時要使用的用戶端識別碼。 |
spring.cloud.azure.credential.client-secret | 使用 Azure 執行服務主體驗證時要使用的客戶端密碼。 |
spring.cloud.azure.credential.managed-identity-enabled | 是否要讓受控識別向 Azure 進行驗證。 如果為 true 且已設定用戶端標識碼,則會使用用戶端識別碼作為使用者指派的受控識別用戶端標識碼。 預設值是 false 。 |
spring.cloud.azure.credential.password | 使用 Azure 執行使用者名稱/密碼驗證時要使用的密碼。 |
spring.cloud.azure.credential.username | 使用 Azure 執行使用者名稱/密碼驗證時要使用的用戶名稱。 |
spring.cloud.azure.profile.cloud-type | 要連線的 Azure 雲端名稱。 支援的類型包括:AZURE、AZURE_CHINA、AZURE_GERMANY、AZURE_US_GOVERNMENT、OTHER。 預設值是 AZURE 。 |
spring.cloud.azure.profile.environment.active-directory-endpoint | 要連接的 Microsoft Entra 端點。 |
spring.cloud.azure.profile.environment.active-directory-graph-api-version | Azure Active Directory 圖形 API 版本。 |
spring.cloud.azure.profile.environment.active-directory-graph-endpoint | Azure Active Directory Graph 端點。 |
spring.cloud.azure.profile.environment.active-directory-resource-id | Microsoft Entra 資源標識符。 |
spring.cloud.azure.profile.environment.azure-application-insights-endpoint | Azure 應用程式 Insights 端點。 |
spring.cloud.azure.profile.environment.azure-data-lake-analytics-catalog-and-job-endpoint-suffix | Data Lake Analytics 目錄和作業端點後綴。 |
spring.cloud.azure.profile.environment.azure-data-lake-store-file-system-endpoint-suffix | Data Lake storage 文件系統端點後綴。 |
spring.cloud.azure.profile.environment.azure-log-analytics-endpoint | Azure Log Analytics 端點。 |
spring.cloud.azure.profile.environment.data-lake-endpoint-resource-id | Data Lake 端點。 |
spring.cloud.azure.profile.environment.gallery-endpoint | 資源庫端點。 |
spring.cloud.azure.profile.environment.key-vault-dns-suffix | 金鑰保存庫 DNS 後綴。 |
spring.cloud.azure.profile.environment.management-endpoint | 管理服務端點。 |
spring.cloud.azure.profile.environment.microsoft-graph-endpoint | Microsoft Graph 端點。 |
spring.cloud.azure.profile.environment.portal | 管理入口網站 URL。 |
spring.cloud.azure.profile.environment.publishing-profile | 發佈配置檔URL。 |
spring.cloud.azure.profile.environment.resource-manager-endpoint | 資源管理端點。 |
spring.cloud.azure.profile.environment.service-bus-domain-name | 服務匯流排 的功能變數名稱。 |
spring.cloud.azure.profile.environment.sql-management-endpoint | SQL 管理端點。 |
spring.cloud.azure.profile.environment.sql-server-hostname-suffix | SQL Server 主機名後綴。 |
spring.cloud.azure.profile.environment.storage-endpoint-suffix | 儲存體 端點後綴。 |
spring.cloud.azure.profile.subscription-id | 線上到 Azure 資源時要使用的訂用帳戶標識碼。 |
spring.cloud.azure.profile.tenant-id | Azure 資源的租用戶標識碼。 允許 tenant-id 的值包括: common 、 organizations 、 consumers 或租用戶標識碼。 |
spring.cloud.azure.proxy.amqp.authentication-type | 針對 Proxy 使用的驗證類型。 例如,『none』、『basic』、『digest』。 預設值是 'none' 。 |
spring.cloud.azure.proxy.hostname | Proxy 的主機。 |
spring.cloud.azure.proxy.http.non-proxy-hosts | 主機或 CIDR 的清單,不會透過 使用 Proxy HTTP/HTTPS 連線。 |
spring.cloud.azure.proxy.password | 用來向 Proxy 進行驗證的密碼。 |
spring.cloud.azure.proxy.port | Proxy 的埠。 |
spring.cloud.azure.proxy.type | Proxy 的類型。 例如 HTTP、'http'、'socks4'、'socks5'。 例如amqp、『HTTP』、『socks』。 |
spring.cloud.azure.proxy.username | 用來向 Proxy 進行驗證的用戶名稱。 |
spring.cloud.azure.retry.amqp.try-timeout | 要等到逾時的時間量(持續時間)。 |
spring.cloud.azure.retry.exponential.base-delay | 重試嘗試之間等候的時間量(持續時間)。 |
spring.cloud.azure.retry.exponential.max-delay | 重試嘗試之間的允許時間(持續時間)上限。 |
spring.cloud.azure.retry.exponential.max-retries | 嘗試次數上限。 |
spring.cloud.azure.retry.fixed.delay | 重試嘗試之間等候的時間量(持續時間)。 |
spring.cloud.azure.retry.fixed.max-retries | 嘗試次數上限。 |
spring.cloud.azure.retry.mode | 重試時重試輪詢模式。 支援的型別為:FIXED、EXPONENTIAL。 |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應