diff --git a/src/SDKs/Storage/Management.Storage/Generated/Models/Sku.cs b/src/SDKs/Storage/Management.Storage/Generated/Models/Sku.cs index 4534413517ba8..191aa99584c4d 100644 --- a/src/SDKs/Storage/Management.Storage/Generated/Models/Sku.cs +++ b/src/SDKs/Storage/Management.Storage/Generated/Models/Sku.cs @@ -36,7 +36,8 @@ public Sku() /// creation; optional for update. Note that in older versions, SKU /// name was called accountType. Possible values include: /// 'Standard_LRS', 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', - /// 'Premium_LRS', 'Premium_ZRS' + /// 'Premium_LRS', 'Premium_ZRS', 'Standard_GZRS', + /// 'Standard_RAGZRS' /// Gets the SKU tier. This is based on the SKU /// name. Possible values include: 'Standard', 'Premium' /// The type of the resource, usually it is @@ -74,7 +75,7 @@ public Sku(string name, SkuTier? tier = default(SkuTier?), string resourceType = /// for update. Note that in older versions, SKU name was called /// accountType. Possible values include: 'Standard_LRS', /// 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS', - /// 'Premium_ZRS' + /// 'Premium_ZRS', 'Standard_GZRS', 'Standard_RAGZRS' /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/src/SDKs/Storage/Management.Storage/Generated/Models/SkuName.cs b/src/SDKs/Storage/Management.Storage/Generated/Models/SkuName.cs index a5a388cf80979..bb05fc83241b5 100644 --- a/src/SDKs/Storage/Management.Storage/Generated/Models/SkuName.cs +++ b/src/SDKs/Storage/Management.Storage/Generated/Models/SkuName.cs @@ -22,5 +22,7 @@ public static class SkuName public const string StandardZRS = "Standard_ZRS"; public const string PremiumLRS = "Premium_LRS"; public const string PremiumZRS = "Premium_ZRS"; + public const string StandardGZRS = "Standard_GZRS"; + public const string StandardRAGZRS = "Standard_RAGZRS"; } } diff --git a/src/SDKs/Storage/Management.Storage/Generated/StorageManagementClient.cs b/src/SDKs/Storage/Management.Storage/Generated/StorageManagementClient.cs index 0b7c01863e56f..52c34d78383d5 100644 --- a/src/SDKs/Storage/Management.Storage/Generated/StorageManagementClient.cs +++ b/src/SDKs/Storage/Management.Storage/Generated/StorageManagementClient.cs @@ -109,6 +109,19 @@ public partial class StorageManagementClient : ServiceClient public virtual IBlobContainersOperations BlobContainers { get; private set; } + /// + /// Initializes a new instance of the StorageManagementClient class. + /// + /// + /// HttpClient to be used + /// + /// + /// True: will dispose the provided httpClient on calling StorageManagementClient.Dispose(). False: will not dispose provided httpClient + protected StorageManagementClient(HttpClient httpClient, bool disposeHttpClient) : base(httpClient, disposeHttpClient) + { + Initialize(); + } + /// /// Initializes a new instance of the StorageManagementClient class. /// @@ -204,6 +217,33 @@ public StorageManagementClient(ServiceClientCredentials credentials, params Dele } } + /// + /// Initializes a new instance of the StorageManagementClient class. + /// + /// + /// Required. Credentials needed for the client to connect to Azure. + /// + /// + /// HttpClient to be used + /// + /// + /// True: will dispose the provided httpClient on calling StorageManagementClient.Dispose(). False: will not dispose provided httpClient + /// + /// Thrown when a required parameter is null + /// + public StorageManagementClient(ServiceClientCredentials credentials, HttpClient httpClient, bool disposeHttpClient) : this(httpClient, disposeHttpClient) + { + if (credentials == null) + { + throw new System.ArgumentNullException("credentials"); + } + Credentials = credentials; + if (Credentials != null) + { + Credentials.InitializeServiceClient(this); + } + } + /// /// Initializes a new instance of the StorageManagementClient class. ///