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)