/// <summary>
 /// Initializes client properties.
 /// </summary>
 private void Initialize()
 {
     Servers                      = new ServersOperations(this);
     Replicas                     = new ReplicasOperations(this);
     FirewallRules                = new FirewallRulesOperations(this);
     VirtualNetworkRules          = new VirtualNetworkRulesOperations(this);
     Databases                    = new DatabasesOperations(this);
     Configurations               = new ConfigurationsOperations(this);
     LogFiles                     = new LogFilesOperations(this);
     ServerAdministrators         = new ServerAdministratorsOperations(this);
     LocationBasedPerformanceTier = new LocationBasedPerformanceTierOperations(this);
     CheckNameAvailability        = new CheckNameAvailabilityOperations(this);
     Operations                   = new Operations(this);
     ServerSecurityAlertPolicies  = new ServerSecurityAlertPoliciesOperations(this);
     QueryTexts                   = new QueryTextsOperations(this);
     TopQueryStatistics           = new TopQueryStatisticsOperations(this);
     WaitStatistics               = new WaitStatisticsOperations(this);
     Advisors                     = new AdvisorsOperations(this);
     RecommendedActions           = new RecommendedActionsOperations(this);
     LocationBasedRecommendedActionSessionsOperationStatus = new LocationBasedRecommendedActionSessionsOperationStatusOperations(this);
     LocationBasedRecommendedActionSessionsResult          = new LocationBasedRecommendedActionSessionsResultOperations(this);
     PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this);
     PrivateLinkResources       = new PrivateLinkResourcesOperations(this);
     ServerKeys     = new ServerKeysOperations(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 <ServerPropertiesForCreate>("createMode"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter <ServerPropertiesForCreate>("createMode"));
     CustomInitialize();
     DeserializationSettings.Converters.Add(new TransformationJsonConverter());
     DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
 }
 /// <summary>
 /// Initializes client properties.
 /// </summary>
 private void Initialize()
 {
     Accounts            = new AccountsOperations(this);
     FirewallRules       = new FirewallRulesOperations(this);
     VirtualNetworkRules = new VirtualNetworkRulesOperations(this);
     TrustedIdProviders  = new TrustedIdProvidersOperations(this);
     Operations          = new Operations(this);
     Locations           = new LocationsOperations(this);
     BaseUri             = new System.Uri("https://management.azure.com");
     ApiVersion          = "2016-11-01";
     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()
         }
     };
     CustomInitialize();
     DeserializationSettings.Converters.Add(new TransformationJsonConverter());
     DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
 }
 /// <summary>
 /// Initializes client properties.
 /// </summary>
 private void Initialize()
 {
     RecoverableDatabases       = new RecoverableDatabasesOperations(this);
     RestorableDroppedDatabases = new RestorableDroppedDatabasesOperations(this);
     Servers = new ServersOperations(this);
     ServerConnectionPolicies        = new ServerConnectionPoliciesOperations(this);
     DatabaseThreatDetectionPolicies = new DatabaseThreatDetectionPoliciesOperations(this);
     DataMaskingPolicies             = new DataMaskingPoliciesOperations(this);
     DataMaskingRules                             = new DataMaskingRulesOperations(this);
     FirewallRules                                = new FirewallRulesOperations(this);
     GeoBackupPolicies                            = new GeoBackupPoliciesOperations(this);
     Databases                                    = new DatabasesOperations(this);
     ElasticPools                                 = new ElasticPoolsOperations(this);
     RecommendedElasticPools                      = new RecommendedElasticPoolsOperations(this);
     ReplicationLinks                             = new ReplicationLinksOperations(this);
     ServerAzureADAdministrators                  = new ServerAzureADAdministratorsOperations(this);
     ServerCommunicationLinks                     = new ServerCommunicationLinksOperations(this);
     ServiceObjectives                            = new ServiceObjectivesOperations(this);
     ElasticPoolActivities                        = new ElasticPoolActivitiesOperations(this);
     ElasticPoolDatabaseActivities                = new ElasticPoolDatabaseActivitiesOperations(this);
     ServiceTierAdvisors                          = new ServiceTierAdvisorsOperations(this);
     TransparentDataEncryptions                   = new TransparentDataEncryptionsOperations(this);
     TransparentDataEncryptionActivities          = new TransparentDataEncryptionActivitiesOperations(this);
     ServerUsages                                 = new ServerUsagesOperations(this);
     DatabaseUsages                               = new DatabaseUsagesOperations(this);
     DatabaseAutomaticTuning                      = new DatabaseAutomaticTuningOperations(this);
     EncryptionProtectors                         = new EncryptionProtectorsOperations(this);
     FailoverGroups                               = new FailoverGroupsOperations(this);
     Operations                                   = new Operations(this);
     ServerKeys                                   = new ServerKeysOperations(this);
     SyncAgents                                   = new SyncAgentsOperations(this);
     SyncGroups                                   = new SyncGroupsOperations(this);
     SyncMembers                                  = new SyncMembersOperations(this);
     SubscriptionUsages                           = new SubscriptionUsagesOperations(this);
     VirtualClusters                              = new VirtualClustersOperations(this);
     VirtualNetworkRules                          = new VirtualNetworkRulesOperations(this);
     ExtendedDatabaseBlobAuditingPolicies         = new ExtendedDatabaseBlobAuditingPoliciesOperations(this);
     ExtendedServerBlobAuditingPolicies           = new ExtendedServerBlobAuditingPoliciesOperations(this);
     ServerBlobAuditingPolicies                   = new ServerBlobAuditingPoliciesOperations(this);
     DatabaseBlobAuditingPolicies                 = new DatabaseBlobAuditingPoliciesOperations(this);
     DatabaseVulnerabilityAssessmentRuleBaselines = new DatabaseVulnerabilityAssessmentRuleBaselinesOperations(this);
     DatabaseVulnerabilityAssessments             = new DatabaseVulnerabilityAssessmentsOperations(this);
     JobAgents                                    = new JobAgentsOperations(this);
     JobCredentials                               = new JobCredentialsOperations(this);
     JobExecutions                                = new JobExecutionsOperations(this);
     Jobs = new JobsOperations(this);
     JobStepExecutions                       = new JobStepExecutionsOperations(this);
     JobSteps                                = new JobStepsOperations(this);
     JobTargetExecutions                     = new JobTargetExecutionsOperations(this);
     JobTargetGroups                         = new JobTargetGroupsOperations(this);
     JobVersions                             = new JobVersionsOperations(this);
     LongTermRetentionBackups                = new LongTermRetentionBackupsOperations(this);
     BackupLongTermRetentionPolicies         = new BackupLongTermRetentionPoliciesOperations(this);
     ManagedBackupShortTermRetentionPolicies = new ManagedBackupShortTermRetentionPoliciesOperations(this);
     ManagedDatabases                        = new ManagedDatabasesOperations(this);
     ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies = new ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations(this);
     ServerAutomaticTuning             = new ServerAutomaticTuningOperations(this);
     ServerDnsAliases                  = new ServerDnsAliasesOperations(this);
     ServerSecurityAlertPolicies       = new ServerSecurityAlertPoliciesOperations(this);
     RestorableDroppedManagedDatabases = new RestorableDroppedManagedDatabasesOperations(this);
     RestorePoints = new RestorePointsOperations(this);
     ManagedDatabaseSecurityAlertPolicies = new ManagedDatabaseSecurityAlertPoliciesOperations(this);
     ManagedServerSecurityAlertPolicies   = new ManagedServerSecurityAlertPoliciesOperations(this);
     SensitivityLabels             = new SensitivityLabelsOperations(this);
     ManagedInstanceAdministrators = new ManagedInstanceAdministratorsOperations(this);
     DatabaseOperations            = new DatabaseOperations(this);
     ElasticPoolOperations         = new ElasticPoolOperations(this);
     Capabilities = new CapabilitiesOperations(this);
     DatabaseVulnerabilityAssessmentScans = new DatabaseVulnerabilityAssessmentScansOperations(this);
     ManagedDatabaseVulnerabilityAssessmentRuleBaselines = new ManagedDatabaseVulnerabilityAssessmentRuleBaselinesOperations(this);
     ManagedDatabaseVulnerabilityAssessmentScans         = new ManagedDatabaseVulnerabilityAssessmentScansOperations(this);
     ManagedDatabaseVulnerabilityAssessments             = new ManagedDatabaseVulnerabilityAssessmentsOperations(this);
     InstanceFailoverGroups           = new InstanceFailoverGroupsOperations(this);
     BackupShortTermRetentionPolicies = new BackupShortTermRetentionPoliciesOperations(this);
     TdeCertificates = new TdeCertificatesOperations(this);
     ManagedInstanceTdeCertificates          = new ManagedInstanceTdeCertificatesOperations(this);
     ManagedInstanceKeys                     = new ManagedInstanceKeysOperations(this);
     ManagedInstanceEncryptionProtectors     = new ManagedInstanceEncryptionProtectorsOperations(this);
     RecoverableManagedDatabases             = new RecoverableManagedDatabasesOperations(this);
     ManagedInstanceVulnerabilityAssessments = new ManagedInstanceVulnerabilityAssessmentsOperations(this);
     ServerVulnerabilityAssessments          = new ServerVulnerabilityAssessmentsOperations(this);
     ManagedDatabaseSensitivityLabels        = new ManagedDatabaseSensitivityLabelsOperations(this);
     InstancePools    = new InstancePoolsOperations(this);
     Usages           = new UsagesOperations(this);
     ManagedInstances = new ManagedInstancesOperations(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()
         }
     };
     CustomInitialize();
     DeserializationSettings.Converters.Add(new TransformationJsonConverter());
     DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
 }