diff --git a/CHANGELOG.md b/CHANGELOG.md index e7a8c0c17..5dc767c2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG +## v12.1.0 + +### New Features + +- Added `to.ByteSlicePtr()`. +- Added blob/queue storage resource ID to `azure.ResourceIdentifier`. + ## v12.0.0 ### Breaking Changes diff --git a/autorest/azure/environments.go b/autorest/azure/environments.go index cdde41418..6c20b8179 100644 --- a/autorest/azure/environments.go +++ b/autorest/azure/environments.go @@ -45,6 +45,7 @@ type ResourceIdentifier struct { Datalake string `json:"datalake"` Batch string `json:"batch"` OperationalInsights string `json:"operationalInsights"` + Storage string `json:"storage"` } // Environment represents a set of endpoints for each of Azure's Clouds. @@ -103,6 +104,7 @@ var ( Datalake: "https://datalake.azure.net/", Batch: "https://batch.core.windows.net/", OperationalInsights: "https://api.loganalytics.io", + Storage: "https://storage.azure.com/", }, } @@ -135,6 +137,7 @@ var ( Datalake: NotAvailable, Batch: "https://batch.core.usgovcloudapi.net/", OperationalInsights: "https://api.loganalytics.us", + Storage: "https://storage.azure.com/", }, } @@ -167,6 +170,7 @@ var ( Datalake: NotAvailable, Batch: "https://batch.chinacloudapi.cn/", OperationalInsights: NotAvailable, + Storage: "https://storage.azure.com/", }, } @@ -199,6 +203,7 @@ var ( Datalake: NotAvailable, Batch: "https://batch.cloudapi.de/", OperationalInsights: NotAvailable, + Storage: "https://storage.azure.com/", }, } ) diff --git a/autorest/version.go b/autorest/version.go index 0c8d9d224..d3e57b509 100644 --- a/autorest/version.go +++ b/autorest/version.go @@ -19,7 +19,7 @@ import ( "runtime" ) -const number = "v12.0.0" +const number = "v12.1.0" var ( userAgent = fmt.Sprintf("Go/%s (%s-%s) go-autorest/%s",