/// <summary>
 /// Initializes client properties.
 /// </summary>
 private void Initialize()
 {
     Pricings = new PricingsOperations(this);
     Alerts = new AlertsOperations(this);
     Settings = new SettingsOperations(this);
     AllowedConnections = new AllowedConnectionsOperations(this);
     DiscoveredSecuritySolutions = new DiscoveredSecuritySolutionsOperations(this);
     ExternalSecuritySolutions = new ExternalSecuritySolutionsOperations(this);
     JitNetworkAccessPolicies = new JitNetworkAccessPoliciesOperations(this);
     Locations = new LocationsOperations(this);
     Operations = new Operations(this);
     Tasks = new TasksOperations(this);
     Topology = new TopologyOperations(this);
     AdvancedThreatProtection = new AdvancedThreatProtectionOperations(this);
     AutoProvisioningSettings = new AutoProvisioningSettingsOperations(this);
     Compliances = new CompliancesOperations(this);
     InformationProtectionPolicies = new InformationProtectionPoliciesOperations(this);
     SecurityContacts = new SecurityContactsOperations(this);
     WorkspaceSettings = new WorkspaceSettingsOperations(this);
     BaseUri = new System.Uri("https://management.azure.com");
     AcceptLanguage = "en-US";
     LongRunningOperationRetryTimeout = 30;
     GenerateClientRequestId = true;
     SerializationSettings = new JsonSerializerSettings
     {
         Formatting = Newtonsoft.Json.Formatting.Indented,
         DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
         DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
         NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
         ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
         ContractResolver = new ReadOnlyJsonContractResolver(),
         Converters = new List<JsonConverter>
             {
                 new Iso8601TimeSpanConverter()
             }
     };
     SerializationSettings.Converters.Add(new TransformationJsonConverter());
     DeserializationSettings = new JsonSerializerSettings
     {
         DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
         DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
         NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
         ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
         ContractResolver = new ReadOnlyJsonContractResolver(),
         Converters = new List<JsonConverter>
             {
                 new Iso8601TimeSpanConverter()
             }
     };
     SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<ExternalSecuritySolution>("kind"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<ExternalSecuritySolution>("kind"));
     CustomInitialize();
     DeserializationSettings.Converters.Add(new TransformationJsonConverter());
     DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
 }
 /// <summary>
 /// Initializes client properties.
 /// </summary>
 private void Initialize()
 {
     ComplianceResults            = new ComplianceResultsOperations(this);
     Pricings                     = new PricingsOperations(this);
     Alerts                       = new AlertsOperations(this);
     Settings                     = new SettingsOperations(this);
     DeviceSecurityGroups         = new DeviceSecurityGroupsOperations(this);
     IotSecuritySolution          = new IotSecuritySolutionOperations(this);
     IotSecuritySolutionAnalytics = new IotSecuritySolutionAnalyticsOperations(this);
     IotSecuritySolutionsAnalyticsAggregatedAlert = new IotSecuritySolutionsAnalyticsAggregatedAlertOperations(this);
     IotSecuritySolutionsAnalyticsRecommendation  = new IotSecuritySolutionsAnalyticsRecommendationOperations(this);
     AllowedConnections          = new AllowedConnectionsOperations(this);
     DiscoveredSecuritySolutions = new DiscoveredSecuritySolutionsOperations(this);
     ExternalSecuritySolutions   = new ExternalSecuritySolutionsOperations(this);
     JitNetworkAccessPolicies    = new JitNetworkAccessPoliciesOperations(this);
     AdaptiveApplicationControls = new AdaptiveApplicationControlsOperations(this);
     Locations  = new LocationsOperations(this);
     Operations = new Operations(this);
     Tasks      = new TasksOperations(this);
     Topology   = new TopologyOperations(this);
     AdvancedThreatProtection = new AdvancedThreatProtectionOperations(this);
     AutoProvisioningSettings = new AutoProvisioningSettingsOperations(this);
     Compliances = new CompliancesOperations(this);
     InformationProtectionPolicies = new InformationProtectionPoliciesOperations(this);
     SecurityContacts                = new SecurityContactsOperations(this);
     WorkspaceSettings               = new WorkspaceSettingsOperations(this);
     RegulatoryComplianceStandards   = new RegulatoryComplianceStandardsOperations(this);
     RegulatoryComplianceControls    = new RegulatoryComplianceControlsOperations(this);
     RegulatoryComplianceAssessments = new RegulatoryComplianceAssessmentsOperations(this);
     ServerVulnerabilityAssessment   = new ServerVulnerabilityAssessmentOperations(this);
     SubAssessments = new SubAssessmentsOperations(this);
     BaseUri        = new System.Uri("https://management.azure.com");
     AcceptLanguage = "en-US";
     LongRunningOperationRetryTimeout = 30;
     GenerateClientRequestId          = true;
     SerializationSettings            = new JsonSerializerSettings
     {
         Formatting            = Newtonsoft.Json.Formatting.Indented,
         DateFormatHandling    = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
         DateTimeZoneHandling  = Newtonsoft.Json.DateTimeZoneHandling.Utc,
         NullValueHandling     = Newtonsoft.Json.NullValueHandling.Ignore,
         ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
         ContractResolver      = new ReadOnlyJsonContractResolver(),
         Converters            = new List <JsonConverter>
         {
             new Iso8601TimeSpanConverter()
         }
     };
     SerializationSettings.Converters.Add(new TransformationJsonConverter());
     DeserializationSettings = new JsonSerializerSettings
     {
         DateFormatHandling    = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
         DateTimeZoneHandling  = Newtonsoft.Json.DateTimeZoneHandling.Utc,
         NullValueHandling     = Newtonsoft.Json.NullValueHandling.Ignore,
         ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
         ContractResolver      = new ReadOnlyJsonContractResolver(),
         Converters            = new List <JsonConverter>
         {
             new Iso8601TimeSpanConverter()
         }
     };
     SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter <ExternalSecuritySolution>("kind"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter <ExternalSecuritySolution>("kind"));
     SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter <ResourceDetails>("source"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter <ResourceDetails>("source"));
     SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter <AdditionalData>("assessedResourceType"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter <AdditionalData>("assessedResourceType"));
     CustomInitialize();
     DeserializationSettings.Converters.Add(new TransformationJsonConverter());
     DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
 }