diff --git a/src/SDKs/Storage/Management.Storage/Generated/ISKUsOperations.cs b/src/SDKs/Storage/Management.Storage/Generated/ISKUsOperations.cs index e8d00341bbff..457c29c3e8f7 100644 --- a/src/SDKs/Storage/Management.Storage/Generated/ISKUsOperations.cs +++ b/src/SDKs/Storage/Management.Storage/Generated/ISKUsOperations.cs @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Management.Storage using System.Threading.Tasks; /// - /// SKUsOperations operations. + /// SkusOperations operations. /// - public partial interface ISKUsOperations + public partial interface ISkusOperations { /// /// Lists the available SKUs supported by Microsoft.Storage for given diff --git a/src/SDKs/Storage/Management.Storage/Generated/IStorageManagementClient.cs b/src/SDKs/Storage/Management.Storage/Generated/IStorageManagementClient.cs index 6f5f64e77359..5cbc914d3d9f 100644 --- a/src/SDKs/Storage/Management.Storage/Generated/IStorageManagementClient.cs +++ b/src/SDKs/Storage/Management.Storage/Generated/IStorageManagementClient.cs @@ -76,9 +76,9 @@ public partial interface IStorageManagementClient : System.IDisposable IOperations Operations { get; } /// - /// Gets the ISKUsOperations. + /// Gets the ISkusOperations. /// - ISKUsOperations SKUs { get; } + ISkusOperations Skus { get; } /// /// Gets the IStorageAccountsOperations. diff --git a/src/SDKs/Storage/Management.Storage/Generated/SKUsOperations.cs b/src/SDKs/Storage/Management.Storage/Generated/SKUsOperations.cs index 54dd3901b219..16c1387962c5 100644 --- a/src/SDKs/Storage/Management.Storage/Generated/SKUsOperations.cs +++ b/src/SDKs/Storage/Management.Storage/Generated/SKUsOperations.cs @@ -23,12 +23,12 @@ namespace Microsoft.Azure.Management.Storage using System.Threading.Tasks; /// - /// SKUsOperations operations. + /// SkusOperations operations. /// - internal partial class SKUsOperations : IServiceOperations, ISKUsOperations + internal partial class SkusOperations : IServiceOperations, ISkusOperations { /// - /// Initializes a new instance of the SKUsOperations class. + /// Initializes a new instance of the SkusOperations class. /// /// /// Reference to the service client. @@ -36,7 +36,7 @@ internal partial class SKUsOperations : IServiceOperations /// Thrown when a required parameter is null /// - internal SKUsOperations(StorageManagementClient client) + internal SkusOperations(StorageManagementClient client) { if (client == null) { diff --git a/src/SDKs/Storage/Management.Storage/Generated/SKUsOperationsExtensions.cs b/src/SDKs/Storage/Management.Storage/Generated/SKUsOperationsExtensions.cs index 1e8b40132a40..d2681d3cf2e8 100644 --- a/src/SDKs/Storage/Management.Storage/Generated/SKUsOperationsExtensions.cs +++ b/src/SDKs/Storage/Management.Storage/Generated/SKUsOperationsExtensions.cs @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Management.Storage using System.Threading.Tasks; /// - /// Extension methods for SKUsOperations. + /// Extension methods for SkusOperations. /// - public static partial class SKUsOperationsExtensions + public static partial class SkusOperationsExtensions { /// /// Lists the available SKUs supported by Microsoft.Storage for given @@ -30,7 +30,7 @@ public static partial class SKUsOperationsExtensions /// /// The operations group for this extension method. /// - public static IEnumerable List(this ISKUsOperations operations) + public static IEnumerable List(this ISkusOperations operations) { return operations.ListAsync().GetAwaiter().GetResult(); } @@ -45,7 +45,7 @@ public static IEnumerable List(this ISKUsOperations operations) /// /// The cancellation token. /// - public static async Task> ListAsync(this ISKUsOperations operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListAsync(this ISkusOperations operations, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { diff --git a/src/SDKs/Storage/Management.Storage/Generated/StorageManagementClient.cs b/src/SDKs/Storage/Management.Storage/Generated/StorageManagementClient.cs index b30db673614a..37813c7163c4 100644 --- a/src/SDKs/Storage/Management.Storage/Generated/StorageManagementClient.cs +++ b/src/SDKs/Storage/Management.Storage/Generated/StorageManagementClient.cs @@ -81,9 +81,9 @@ public partial class StorageManagementClient : ServiceClient - /// Gets the ISKUsOperations. + /// Gets the ISkusOperations. /// - public virtual ISKUsOperations SKUs { get; private set; } + public virtual ISkusOperations Skus { get; private set; } /// /// Gets the IStorageAccountsOperations. @@ -297,7 +297,7 @@ public StorageManagementClient(System.Uri baseUri, ServiceClientCredentials cred private void Initialize() { Operations = new Operations(this); - SKUs = new SKUsOperations(this); + Skus = new SkusOperations(this); StorageAccounts = new StorageAccountsOperations(this); Usage = new UsageOperations(this); BaseUri = new System.Uri("https://management.azure.com"); diff --git a/src/SDKs/Storage/Management.Storage/Microsoft.Azure.Management.Storage.csproj b/src/SDKs/Storage/Management.Storage/Microsoft.Azure.Management.Storage.csproj index 0ed96f961f64..b4c7f461be2d 100644 --- a/src/SDKs/Storage/Management.Storage/Microsoft.Azure.Management.Storage.csproj +++ b/src/SDKs/Storage/Management.Storage/Microsoft.Azure.Management.Storage.csproj @@ -6,6 +6,7 @@ Microsoft.Azure.Management.Storage 7.0.0-preview Microsoft Azure Storage management;Storage;Storage management + See https://aka.ms/asdotnetsdkchangelog for release notes. net452;netstandard1.4 diff --git a/src/SDKs/Storage/Storage.Tests/Tests/StorageAccountTests.cs b/src/SDKs/Storage/Storage.Tests/Tests/StorageAccountTests.cs index f2d25b9f4d6d..3c676557a078 100644 --- a/src/SDKs/Storage/Storage.Tests/Tests/StorageAccountTests.cs +++ b/src/SDKs/Storage/Storage.Tests/Tests/StorageAccountTests.cs @@ -1547,7 +1547,7 @@ public void StorageSKUListTest() var resourcesClient = StorageManagementTestUtilities.GetResourceManagementClient(context, handler); var storageMgmtClient = StorageManagementTestUtilities.GetStorageManagementClient(context, handler); - var skulist = storageMgmtClient.SKUs.List(); + var skulist = storageMgmtClient.Skus.List(); Assert.NotNull(skulist); Assert.Equal(@"storageAccounts", skulist.ElementAt(0).ResourceType); Assert.NotNull(skulist.ElementAt(0).Name); diff --git a/src/SDKs/Storage/changelog.md b/src/SDKs/Storage/changelog.md new file mode 100644 index 000000000000..13e8ffd31b50 --- /dev/null +++ b/src/SDKs/Storage/changelog.md @@ -0,0 +1,12 @@ +## Microsoft.Azure.Management.Storage release notes + +### Changes in 7.0.0-preview + +**Breaking changes** + +- When updating storage virtual networks, NetworkRuleSet is used instead of NetworkAcl. + +**Notes** + +- When updating storage virtual networks, virtualNetworkResourceId is limited to be resource ID of a subnet. +- Added Skus.list() operation, which could list all the available skus for the subscription. \ No newline at end of file diff --git a/src/SDKs/_metadata/storage_resource-manager.txt b/src/SDKs/_metadata/storage_resource-manager.txt index 7a4394144222..70e4c7bcdd68 100644 --- a/src/SDKs/_metadata/storage_resource-manager.txt +++ b/src/SDKs/_metadata/storage_resource-manager.txt @@ -1,9 +1,9 @@ -2017-08-31 08:01:39 UTC +2017-09-12 04:04:03 UTC 1) azure-rest-api-specs repository information GitHub user: Azure Branch: current -Commit: 21a810b65e7faed64040acf6cb0435ced80e6005 +Commit: b3f4823378bab4812792ad0b90da6e8a8385a2f1 2) AutoRest information Requested version: latest