{"action":"published","release":{"url":"https://api.github.com/repos/craigwi/elasticsearch-cloud-azure/releases/1469620","assets_url":"https://api.github.com/repos/craigwi/elasticsearch-cloud-azure/releases/1469620/assets","upload_url":"https://uploads.github.com/repos/craigwi/elasticsearch-cloud-azure/releases/1469620/assets{?name}","html_url":"https://github.com/craigwi/elasticsearch-cloud-azure/releases/tag/v2.7.1-craigwi","id":1469620,"tag_name":"v2.7.1-craigwi","target_commitish":"es-1.6","name":"Support multiple storage account and secondary endpoints ","draft":false,"author":{"login":"craigwi","id":6687101,"avatar_url":"https://avatars.githubusercontent.com/u/6687101?v=3","gravatar_id":"","url":"https://api.github.com/users/craigwi","html_url":"https://github.com/craigwi","followers_url":"https://api.github.com/users/craigwi/followers","following_url":"https://api.github.com/users/craigwi/following{/other_user}","gists_url":"https://api.github.com/users/craigwi/gists{/gist_id}","starred_url":"https://api.github.com/users/craigwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigwi/subscriptions","organizations_url":"https://api.github.com/users/craigwi/orgs","repos_url":"https://api.github.com/users/craigwi/repos","events_url":"https://api.github.com/users/craigwi/events{/privacy}","received_events_url":"https://api.github.com/users/craigwi/received_events","type":"User","site_admin":false},"prerelease":true,"created_at":"2015-06-22T15:50:43Z","published_at":"2015-06-28T05:06:31Z","assets":[{"url":"https://api.github.com/repos/craigwi/elasticsearch-cloud-azure/releases/assets/671881","id":671881,"name":"elasticsearch-cloud-azure-2.7.1-craigwi.zip","label":null,"uploader":{"login":"craigwi","id":6687101,"avatar_url":"https://avatars.githubusercontent.com/u/6687101?v=3","gravatar_id":"","url":"https://api.github.com/users/craigwi","html_url":"https://github.com/craigwi","followers_url":"https://api.github.com/users/craigwi/followers","following_url":"https://api.github.com/users/craigwi/following{/other_user}","gists_url":"https://api.github.com/users/craigwi/gists{/gist_id}","starred_url":"https://api.github.com/users/craigwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigwi/subscriptions","organizations_url":"https://api.github.com/users/craigwi/orgs","repos_url":"https://api.github.com/users/craigwi/repos","events_url":"https://api.github.com/users/craigwi/events{/privacy}","received_events_url":"https://api.github.com/users/craigwi/received_events","type":"User","site_admin":false},"content_type":"application/x-zip-compressed","state":"uploaded","size":6200296,"download_count":0,"created_at":"2015-06-28T05:01:35Z","updated_at":"2015-06-28T05:01:43Z","browser_download_url":"https://github.com/craigwi/elasticsearch-cloud-azure/releases/download/v2.7.1-craigwi/elasticsearch-cloud-azure-2.7.1-craigwi.zip"}],"tarball_url":"https://api.github.com/repos/craigwi/elasticsearch-cloud-azure/tarball/v2.7.1-craigwi","zipball_url":"https://api.github.com/repos/craigwi/elasticsearch-cloud-azure/zipball/v2.7.1-craigwi","body":"Enhancements as discussed on https://github.com/elastic/elasticsearch-cloud-azure/pull/93:\r\n\r\n1. supports multiple storage accounts; cloud.azure.storage.account and cloud.azure.storage.key may now be an array of accounts  / keys; the arrays must be the same length; the account at an index must match the key at the same index.\r\n\r\n2. an Azure repository specification (\"type\" : \"azure\") allows for two new settings.  \"account\" specifies the name of the account to be used and must be one of the items in cloud.azure.storage.account.  If \"account\" is not specified, the first item in the list of accounts is used.  The other new setting \"location_mode\" may be used to specify the endpoint.  This defaults to \"primary_only\" and may also be \"primary_then_secondary\", \"secondary_only\" or \"secondary_then_primary\".\r\n\r\n3. when a repository is registered using \"secondary_only\" or \"secondary_then_primary\" as the \"location_mode\", the verification of the repository is limited to checking that the container specified exists; in particular the tests-* files are not created because the secondary endpoint is read only.\r\n\r\nNOTE: for a given storage account, only one location_mode can be active at a time.\r\n\r\nAn example showing settings in elasticsearch.yml:\r\n\r\ncloud.azure.storage.account: [ \"azstorageaccount1\", \"mystorage2\" ]\r\ncloud.azure.storage.key: [ \"<key for azstorageaccount1>\", \"<key for mystorage2>\" ]\r\n\r\nA sample repository specification using the secondary endpoint:\r\n\r\n{ \"type\": \"azure\", \"settings\": { \"account\" : \"mystorage2\", \"container\": \"snapshots-20150701\", \r\n\"location_mode\": \"secondary_only\"}}\r\n\r\nEnjoy!\r\n"}}