Beispiel #1
0
 /// <summary>
 /// Initializes client properties.
 /// </summary>
 protected override void Initialize()
 {
     BackupLongTermRetentionPolicies = new BackupLongTermRetentionPoliciesOperations(this);
     BackupLongTermRetentionVaults   = new BackupLongTermRetentionVaultsOperations(this);
     RecoverableDatabases            = new RecoverableDatabasesOperations(this);
     RestorableDroppedDatabases      = new RestorableDroppedDatabasesOperations(this);
     Capabilities                                 = new CapabilitiesOperations(this);
     Servers                                      = new ServersOperations(this);
     ServerConnectionPolicies                     = new ServerConnectionPoliciesOperations(this);
     Databases                                    = new DatabasesOperations(this);
     DatabaseThreatDetectionPolicies              = new DatabaseThreatDetectionPoliciesOperations(this);
     DataMaskingPolicies                          = new DataMaskingPoliciesOperations(this);
     DataMaskingRules                             = new DataMaskingRulesOperations(this);
     ElasticPools                                 = new ElasticPoolsOperations(this);
     FirewallRules                                = new FirewallRulesOperations(this);
     GeoBackupPolicies                            = new GeoBackupPoliciesOperations(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);
     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);
     DatabaseOperations    = new DatabaseOperations(this);
     ElasticPoolOperations = new ElasticPoolOperations(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());
 }
Beispiel #2
0
 /// <summary>
 /// Initializes client properties.
 /// </summary>
 private void Initialize()
 {
     BackupLongTermRetentionPolicies = new BackupLongTermRetentionPoliciesOperations(this);
     BackupLongTermRetentionVaults   = new BackupLongTermRetentionVaultsOperations(this);
     RecoverableDatabases            = new RecoverableDatabasesOperations(this);
     RestorableDroppedDatabases      = new RestorableDroppedDatabasesOperations(this);
     RestorePoints                       = new RestorePointsOperations(this);
     Servers                             = new ServersOperations(this);
     ServerConnectionPolicies            = new ServerConnectionPoliciesOperations(this);
     Databases                           = new DatabasesOperations(this);
     DatabaseThreatDetectionPolicies     = new DatabaseThreatDetectionPoliciesOperations(this);
     DataMaskingPolicies                 = new DataMaskingPoliciesOperations(this);
     DataMaskingRules                    = new DataMaskingRulesOperations(this);
     ElasticPools                        = new ElasticPoolsOperations(this);
     FirewallRules                       = new FirewallRulesOperations(this);
     GeoBackupPolicies                   = new GeoBackupPoliciesOperations(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);
     RecommendedElasticPools             = new RecommendedElasticPoolsOperations(this);
     ServiceTierAdvisors                 = new ServiceTierAdvisorsOperations(this);
     TransparentDataEncryptions          = new TransparentDataEncryptionsOperations(this);
     TransparentDataEncryptionActivities = new TransparentDataEncryptionActivitiesOperations(this);
     ServerUsages                        = new ServerUsagesOperations(this);
     DatabaseUsages                      = new DatabaseUsagesOperations(this);
     Capabilities                        = new CapabilitiesOperations(this);
     DatabaseBlobAuditingPolicies        = new DatabaseBlobAuditingPoliciesOperations(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);
     VirtualNetworkRules                 = new VirtualNetworkRulesOperations(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());
 }