diff --git a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/IKeyVaultManagementClient.cs b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/IKeyVaultManagementClient.cs
index 759827b2b70d..b1629f6a0bd3 100644
--- a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/IKeyVaultManagementClient.cs
+++ b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/IKeyVaultManagementClient.cs
@@ -54,19 +54,20 @@ public partial interface IKeyVaultManagementClient : System.IDisposable
string ApiVersion { get; }
///
- /// Gets or sets the preferred language for the response.
+ /// The preferred language for the response.
///
string AcceptLanguage { get; set; }
///
- /// Gets or sets the retry timeout in seconds for Long Running
- /// Operations. Default value is 30.
+ /// The retry timeout in seconds for Long Running Operations. Default
+ /// value is 30.
///
int? LongRunningOperationRetryTimeout { get; set; }
///
- /// When set to true a unique x-ms-client-request-id value is generated
- /// and included in each request. Default is true.
+ /// Whether a unique x-ms-client-request-id should be generated. When
+ /// set to true a unique x-ms-client-request-id value is generated and
+ /// included in each request. Default is true.
///
bool? GenerateClientRequestId { get; set; }
diff --git a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/KeyVaultManagementClient.cs b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/KeyVaultManagementClient.cs
index 1dd9593332d2..30be6cdeac29 100644
--- a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/KeyVaultManagementClient.cs
+++ b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/KeyVaultManagementClient.cs
@@ -60,19 +60,20 @@ public partial class KeyVaultManagementClient : ServiceClient
- /// Gets or sets the preferred language for the response.
+ /// The preferred language for the response.
///
public string AcceptLanguage { get; set; }
///
- /// Gets or sets the retry timeout in seconds for Long Running Operations.
- /// Default value is 30.
+ /// The retry timeout in seconds for Long Running Operations. Default value is
+ /// 30.
///
public int? LongRunningOperationRetryTimeout { get; set; }
///
- /// When set to true a unique x-ms-client-request-id value is generated and
- /// included in each request. Default is true.
+ /// Whether a unique x-ms-client-request-id should be generated. When set to
+ /// true a unique x-ms-client-request-id value is generated and included in
+ /// each request. Default is true.
///
public bool? GenerateClientRequestId { get; set; }
@@ -86,6 +87,19 @@ public partial class KeyVaultManagementClient : ServiceClient
public virtual IOperations Operations { get; private set; }
+ ///
+ /// Initializes a new instance of the KeyVaultManagementClient class.
+ ///
+ ///
+ /// HttpClient to be used
+ ///
+ ///
+ /// True: will dispose the provided httpClient on calling KeyVaultManagementClient.Dispose(). False: will not dispose provided httpClient
+ protected KeyVaultManagementClient(HttpClient httpClient, bool disposeHttpClient) : base(httpClient, disposeHttpClient)
+ {
+ Initialize();
+ }
+
///
/// Initializes a new instance of the KeyVaultManagementClient class.
///
@@ -181,6 +195,33 @@ public KeyVaultManagementClient(ServiceClientCredentials credentials, params Del
}
}
+ ///
+ /// Initializes a new instance of the KeyVaultManagementClient class.
+ ///
+ ///
+ /// Required. Credentials needed for the client to connect to Azure.
+ ///
+ ///
+ /// HttpClient to be used
+ ///
+ ///
+ /// True: will dispose the provided httpClient on calling KeyVaultManagementClient.Dispose(). False: will not dispose provided httpClient
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ public KeyVaultManagementClient(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 KeyVaultManagementClient class.
///
diff --git a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/IPRule.cs b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/IPRule.cs
index 8b9c9d5856a8..e29d68cefd25 100644
--- a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/IPRule.cs
+++ b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/IPRule.cs
@@ -15,8 +15,8 @@ namespace Microsoft.Azure.Management.KeyVault.Models
using System.Linq;
///
- /// A rule governing the accesibility of a vault from a specific ip address
- /// or ip range.
+ /// A rule governing the accessibility of a vault from a specific ip
+ /// address or ip range.
///
public partial class IPRule
{
diff --git a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/OperationDisplay.cs b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/OperationDisplay.cs
index c457e44011c7..301c97a55b97 100644
--- a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/OperationDisplay.cs
+++ b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/OperationDisplay.cs
@@ -35,7 +35,7 @@ public OperationDisplay()
/// etc.
/// Type of operation: get, read, delete,
/// etc.
- /// Decription of operation.
+ /// Description of operation.
public OperationDisplay(string provider = default(string), string resource = default(string), string operation = default(string), string description = default(string))
{
Provider = provider;
@@ -69,7 +69,7 @@ public OperationDisplay()
public string Operation { get; set; }
///
- /// Gets or sets decription of operation.
+ /// Gets or sets description of operation.
///
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
diff --git a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultAccessPolicyParameters.cs b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultAccessPolicyParameters.cs
index 79c5f41973e9..a5ab0cbe5dd2 100644
--- a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultAccessPolicyParameters.cs
+++ b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultAccessPolicyParameters.cs
@@ -37,7 +37,7 @@ public VaultAccessPolicyParameters()
/// The resource id of the access policy.
/// The resource name of the access policy.
/// The resource name of the access policy.
- /// The resource type of the the access
+ /// The resource type of the access
/// policy.
public VaultAccessPolicyParameters(VaultAccessPolicyProperties properties, string id = default(string), string name = default(string), string type = default(string), string location = default(string))
{
@@ -73,7 +73,7 @@ public VaultAccessPolicyParameters()
public string Type { get; private set; }
///
- /// Gets the resource type of the the access policy.
+ /// Gets the resource type of the access policy.
///
[JsonProperty(PropertyName = "location")]
public string Location { get; private set; }
diff --git a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultCheckNameAvailabilityParameters.cs b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultCheckNameAvailabilityParameters.cs
index 942f24de5968..f1b682459ba5 100644
--- a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultCheckNameAvailabilityParameters.cs
+++ b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultCheckNameAvailabilityParameters.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.Management.KeyVault.Models
using System.Linq;
///
- /// The parameters used to check the availabity of the vault name.
+ /// The parameters used to check the availability of the vault name.
///
public partial class VaultCheckNameAvailabilityParameters
{
diff --git a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultProperties.cs b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultProperties.cs
index 8038fbce583e..8eb8fea06f07 100644
--- a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultProperties.cs
+++ b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VaultProperties.cs
@@ -39,7 +39,9 @@ public VaultProperties()
/// SKU details
/// An array of 0 to 16 identities that
/// have access to the key vault. All identities in the array must use
- /// the same tenant ID as the key vault's tenant ID.
+ /// the same tenant ID as the key vault's tenant ID. When `createMode`
+ /// is set to `recover`, access policies are not required. Otherwise,
+ /// access policies are required.
/// The URI of the vault for performing
/// operations on keys and secrets.
/// Property to specify whether
@@ -103,7 +105,9 @@ public VaultProperties()
///
/// Gets or sets an array of 0 to 16 identities that have access to the
/// key vault. All identities in the array must use the same tenant ID
- /// as the key vault's tenant ID.
+ /// as the key vault's tenant ID. When `createMode` is set to
+ /// `recover`, access policies are not required. Otherwise, access
+ /// policies are required.
///
[JsonProperty(PropertyName = "accessPolicies")]
public IList AccessPolicies { get; set; }
diff --git a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VirtualNetworkRule.cs b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VirtualNetworkRule.cs
index 5ba84bcf70ab..618c3872a2b0 100644
--- a/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VirtualNetworkRule.cs
+++ b/src/SDKs/KeyVault/Management/Management.KeyVault/Generated/Models/VirtualNetworkRule.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.Management.KeyVault.Models
using System.Linq;
///
- /// A rule governing the accesibility of a vault from a specific virtual
+ /// A rule governing the accessibility of a vault from a specific virtual
/// network.
///
public partial class VirtualNetworkRule