diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/HealthcareApisManagementClient.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/HealthcareApisManagementClient.cs
index 91fcce4aeb28..95965c238bde 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/HealthcareApisManagementClient.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/HealthcareApisManagementClient.cs
@@ -334,7 +334,7 @@ private void Initialize()
Operations = new Operations(this);
OperationResults = new OperationResultsOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
- ApiVersion = "2019-09-16";
+ ApiVersion = "2020-03-15";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServiceCosmosDbConfigurationInfo.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServiceCosmosDbConfigurationInfo.cs
index e52f00eebe8d..63735c71f7ab 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServiceCosmosDbConfigurationInfo.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServiceCosmosDbConfigurationInfo.cs
@@ -34,9 +34,12 @@ public ServiceCosmosDbConfigurationInfo()
///
/// The provisioned throughput for the
/// backing database.
- public ServiceCosmosDbConfigurationInfo(int? offerThroughput = default(int?))
+ /// The URI of the customer-managed key
+ /// for the backing database.
+ public ServiceCosmosDbConfigurationInfo(int? offerThroughput = default(int?), string keyVaultKeyUri = default(string))
{
OfferThroughput = offerThroughput;
+ KeyVaultKeyUri = keyVaultKeyUri;
CustomInit();
}
@@ -51,6 +54,13 @@ public ServiceCosmosDbConfigurationInfo()
[JsonProperty(PropertyName = "offerThroughput")]
public int? OfferThroughput { get; set; }
+ ///
+ /// Gets or sets the URI of the customer-managed key for the backing
+ /// database.
+ ///
+ [JsonProperty(PropertyName = "keyVaultKeyUri")]
+ public string KeyVaultKeyUri { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesProperties.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesProperties.cs
index 22672851d446..146b9319e23f 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesProperties.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesProperties.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.HealthcareApis.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -32,12 +31,12 @@ public ServicesProperties()
///
/// Initializes a new instance of the ServicesProperties class.
///
- /// The access policies of the service
- /// instance.
/// The provisioning state. Possible
/// values include: 'Deleting', 'Succeeded', 'Creating', 'Accepted',
/// 'Verifying', 'Updating', 'Failed', 'Canceled',
/// 'Deprovisioned'
+ /// The access policies of the service
+ /// instance.
/// The settings for the Cosmos DB
/// database backing the service.
/// The authentication
@@ -46,7 +45,7 @@ public ServicesProperties()
/// configuration of the service instance.
/// The settings for the export
/// operation of the service instance.
- public ServicesProperties(IList accessPolicies, string provisioningState = default(string), ServiceCosmosDbConfigurationInfo cosmosDbConfiguration = default(ServiceCosmosDbConfigurationInfo), ServiceAuthenticationConfigurationInfo authenticationConfiguration = default(ServiceAuthenticationConfigurationInfo), ServiceCorsConfigurationInfo corsConfiguration = default(ServiceCorsConfigurationInfo), ServiceExportConfigurationInfo exportConfiguration = default(ServiceExportConfigurationInfo))
+ public ServicesProperties(string provisioningState = default(string), IList accessPolicies = default(IList), ServiceCosmosDbConfigurationInfo cosmosDbConfiguration = default(ServiceCosmosDbConfigurationInfo), ServiceAuthenticationConfigurationInfo authenticationConfiguration = default(ServiceAuthenticationConfigurationInfo), ServiceCorsConfigurationInfo corsConfiguration = default(ServiceCorsConfigurationInfo), ServiceExportConfigurationInfo exportConfiguration = default(ServiceExportConfigurationInfo))
{
ProvisioningState = provisioningState;
AccessPolicies = accessPolicies;
@@ -107,15 +106,11 @@ public ServicesProperties()
///
/// Validate the object.
///
- ///
+ ///
/// Thrown if validation fails
///
public virtual void Validate()
{
- if (AccessPolicies == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "AccessPolicies");
- }
if (AccessPolicies != null)
{
foreach (var element in AccessPolicies)
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs
index fda2927bef45..5231e32d51a7 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs
@@ -19,22 +19,11 @@ public static IEnumerable> ApiInfo_HealthcareApisM
{
return new Tuple[]
{
- new Tuple("HealthcareApis", "OperationResults", "2019-09-16"),
- new Tuple("HealthcareApis", "Operations", "2019-09-16"),
- new Tuple("HealthcareApis", "Services", "2019-09-16"),
+ new Tuple("HealthcareApis", "OperationResults", "2020-03-15"),
+ new Tuple("HealthcareApis", "Operations", "2020-03-15"),
+ new Tuple("HealthcareApis", "Services", "2020-03-15"),
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "v2";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/healthcareapis/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\Users\\rojo\\source\\repos\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "01735394bc1f2ccd9577ac6dd3ef547ab10f2d5c";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-