You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for accessing Azure repositories through a proxy (#23518)
You can define a proxy using the following settings:
```yml
azure.client.default.proxy.host: proxy.host
azure.client.default.proxy.port: 8888
azure.client.default.proxy.type: http
```
Supported values for `proxy.type` are `direct`, `http` or `socks`. Defaults to `direct` (no proxy).
Closes#23506
BTW I changed a test `testGetSelectedClientBackoffPolicyNbRetries` as it was using an old setting name `cloud.azure.storage.azure.max_retries` instead of `azure.client.azure1.max_retries`.
Copy file name to clipboardExpand all lines: docs/plugins/repository-azure.asciidoc
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,19 @@ The Azure Repository plugin works with all Standard storage accounts
67
67
https://azure.microsoft.com/en-gb/documentation/articles/storage-premium-storage[Premium Locally Redundant Storage] (`Premium_LRS`) is **not supported** as it is only usable as VM disk storage, not as general storage.
68
68
===============================================
69
69
70
+
You can register a proxy per client using the following settings:
71
+
72
+
[source,yaml]
73
+
----
74
+
azure.client.default.proxy.host: proxy.host
75
+
azure.client.default.proxy.port: 8888
76
+
azure.client.default.proxy.type: http
77
+
----
78
+
79
+
Supported values for `proxy.type` are `direct` (default), `http` or `socks`.
80
+
When `proxy.type` is set to `http` or `socks`, `proxy.host` and `proxy.port` must be provided.
Copy file name to clipboardExpand all lines: plugins/repository-azure/src/main/java/org/elasticsearch/plugin/repository/azure/AzureRepositoryPlugin.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,10 @@ public List<Setting<?>> getSettings() {
0 commit comments