コード例 #1
0
 /// <summary>
 /// Initializes client properties.
 /// </summary>
 private void Initialize()
 {
     BigDataPools                      = new BigDataPoolsOperations(this);
     Operations                        = new Operations(this);
     IpFirewallRules                   = new IpFirewallRulesOperations(this);
     IntegrationRuntimes               = new IntegrationRuntimesOperations(this);
     IntegrationRuntimeNodeIpAddress   = new IntegrationRuntimeNodeIpAddressOperations(this);
     IntegrationRuntimeObjectMetadata  = new IntegrationRuntimeObjectMetadataOperations(this);
     IntegrationRuntimeNodes           = new IntegrationRuntimeNodesOperations(this);
     IntegrationRuntimeCredentials     = new IntegrationRuntimeCredentialsOperations(this);
     IntegrationRuntimeConnectionInfos = new IntegrationRuntimeConnectionInfosOperations(this);
     IntegrationRuntimeAuthKeys        = new IntegrationRuntimeAuthKeysOperations(this);
     IntegrationRuntimeMonitoringData  = new IntegrationRuntimeMonitoringDataOperations(this);
     IntegrationRuntimeStatus          = new IntegrationRuntimeStatusOperations(this);
     Keys      = new KeysOperations(this);
     Library   = new LibraryOperations(this);
     Libraries = new LibrariesOperations(this);
     PrivateEndpointConnections         = new PrivateEndpointConnectionsOperations(this);
     PrivateLinkResources               = new PrivateLinkResourcesOperations(this);
     PrivateLinkHubPrivateLinkResources = new PrivateLinkHubPrivateLinkResourcesOperations(this);
     PrivateLinkHubs = new PrivateLinkHubsOperations(this);
     PrivateEndpointConnectionsPrivateLinkHub = new PrivateEndpointConnectionsPrivateLinkHubOperations(this);
     SqlPools = new SqlPoolsOperations(this);
     SqlPoolMetadataSyncConfigs         = new SqlPoolMetadataSyncConfigsOperations(this);
     SqlPoolOperationResults            = new SqlPoolOperationResultsOperations(this);
     SqlPoolGeoBackupPolicies           = new SqlPoolGeoBackupPoliciesOperations(this);
     SqlPoolDataWarehouseUserActivities = new SqlPoolDataWarehouseUserActivitiesOperations(this);
     SqlPoolRestorePoints              = new SqlPoolRestorePointsOperations(this);
     SqlPoolReplicationLinks           = new SqlPoolReplicationLinksOperations(this);
     SqlPoolMaintenanceWindows         = new SqlPoolMaintenanceWindowsOperations(this);
     SqlPoolMaintenanceWindowOptions   = new SqlPoolMaintenanceWindowOptionsOperations(this);
     SqlPoolTransparentDataEncryptions = new SqlPoolTransparentDataEncryptionsOperations(this);
     SqlPoolBlobAuditingPolicies       = new SqlPoolBlobAuditingPoliciesOperations(this);
     SqlPoolOperations                                     = new SqlPoolOperations(this);
     SqlPoolUsages                                         = new SqlPoolUsagesOperations(this);
     SqlPoolSensitivityLabels                              = new SqlPoolSensitivityLabelsOperations(this);
     SqlPoolRecommendedSensitivityLabels                   = new SqlPoolRecommendedSensitivityLabelsOperations(this);
     SqlPoolSchemas                                        = new SqlPoolSchemasOperations(this);
     SqlPoolTables                                         = new SqlPoolTablesOperations(this);
     SqlPoolTableColumns                                   = new SqlPoolTableColumnsOperations(this);
     SqlPoolConnectionPolicies                             = new SqlPoolConnectionPoliciesOperations(this);
     SqlPoolVulnerabilityAssessments                       = new SqlPoolVulnerabilityAssessmentsOperations(this);
     SqlPoolVulnerabilityAssessmentScans                   = new SqlPoolVulnerabilityAssessmentScansOperations(this);
     SqlPoolSecurityAlertPolicies                          = new SqlPoolSecurityAlertPoliciesOperations(this);
     SqlPoolVulnerabilityAssessmentRuleBaselines           = new SqlPoolVulnerabilityAssessmentRuleBaselinesOperations(this);
     ExtendedSqlPoolBlobAuditingPolicies                   = new ExtendedSqlPoolBlobAuditingPoliciesOperations(this);
     DataMaskingPolicies                                   = new DataMaskingPoliciesOperations(this);
     DataMaskingRules                                      = new DataMaskingRulesOperations(this);
     SqlPoolColumns                                        = new SqlPoolColumnsOperations(this);
     SqlPoolWorkloadGroup                                  = new SqlPoolWorkloadGroupOperations(this);
     SqlPoolWorkloadClassifier                             = new SqlPoolWorkloadClassifierOperations(this);
     WorkspaceManagedSqlServerBlobAuditingPolicies         = new WorkspaceManagedSqlServerBlobAuditingPoliciesOperations(this);
     WorkspaceManagedSqlServerExtendedBlobAuditingPolicies = new WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations(this);
     WorkspaceManagedSqlServerSecurityAlertPolicy          = new WorkspaceManagedSqlServerSecurityAlertPolicyOperations(this);
     WorkspaceManagedSqlServerVulnerabilityAssessments     = new WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations(this);
     WorkspaceManagedSqlServerEncryptionProtector          = new WorkspaceManagedSqlServerEncryptionProtectorOperations(this);
     WorkspaceManagedSqlServerUsages                       = new WorkspaceManagedSqlServerUsagesOperations(this);
     WorkspaceManagedSqlServerRecoverableSqlPools          = new WorkspaceManagedSqlServerRecoverableSqlPoolsOperations(this);
     Workspaces            = new WorkspacesOperations(this);
     WorkspaceAadAdmins    = new WorkspaceAadAdminsOperations(this);
     WorkspaceSqlAadAdmins = new WorkspaceSqlAadAdminsOperations(this);
     WorkspaceManagedIdentitySqlControlSettings = new WorkspaceManagedIdentitySqlControlSettingsOperations(this);
     RestorableDroppedSqlPools = new RestorableDroppedSqlPoolsOperations(this);
     BaseUri        = new System.Uri("https://management.azure.com");
     ApiVersion     = "2021-03-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()
         }
     };
     SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter <IntegrationRuntime>("type"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter <IntegrationRuntime>("type"));
     SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter <CustomSetupBase>("type"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter <CustomSetupBase>("type"));
     SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter <SecretBase>("type"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter <SecretBase>("type"));
     SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter <LinkedIntegrationRuntimeType>("authorizationType"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter <LinkedIntegrationRuntimeType>("authorizationType"));
     SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter <IntegrationRuntimeStatus>("type"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter <IntegrationRuntimeStatus>("type"));
     SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter <SsisObjectMetadata>("type"));
     DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter <SsisObjectMetadata>("type"));
     CustomInitialize();
     DeserializationSettings.Converters.Add(new TransformationJsonConverter());
     DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
 }
コード例 #2
0
 /// <summary>
 /// Initializes client properties.
 /// </summary>
 private void Initialize()
 {
     BigDataPools                                = new BigDataPoolsOperations(this);
     Operations                                  = new Operations(this);
     IpFirewallRules                             = new IpFirewallRulesOperations(this);
     SqlPools                                    = new SqlPoolsOperations(this);
     SqlPoolMetadataSyncConfigs                  = new SqlPoolMetadataSyncConfigsOperations(this);
     SqlPoolOperationResults                     = new SqlPoolOperationResultsOperations(this);
     SqlPoolGeoBackupPolicies                    = new SqlPoolGeoBackupPoliciesOperations(this);
     SqlPoolDataWarehouseUserActivities          = new SqlPoolDataWarehouseUserActivitiesOperations(this);
     SqlPoolRestorePoints                        = new SqlPoolRestorePointsOperations(this);
     SqlPoolReplicationLinks                     = new SqlPoolReplicationLinksOperations(this);
     SqlPoolTransparentDataEncryptions           = new SqlPoolTransparentDataEncryptionsOperations(this);
     SqlPoolBlobAuditingPolicies                 = new SqlPoolBlobAuditingPoliciesOperations(this);
     SqlPoolOperations                           = new SqlPoolOperations(this);
     SqlPoolUsages                               = new SqlPoolUsagesOperations(this);
     SqlPoolSensitivityLabels                    = new SqlPoolSensitivityLabelsOperations(this);
     SqlPoolSchemas                              = new SqlPoolSchemasOperations(this);
     SqlPoolTables                               = new SqlPoolTablesOperations(this);
     SqlPoolTableColumns                         = new SqlPoolTableColumnsOperations(this);
     SqlPoolConnectionPolicies                   = new SqlPoolConnectionPoliciesOperations(this);
     SqlPoolVulnerabilityAssessments             = new SqlPoolVulnerabilityAssessmentsOperations(this);
     SqlPoolVulnerabilityAssessmentScans         = new SqlPoolVulnerabilityAssessmentScansOperations(this);
     SqlPoolSecurityAlertPolicies                = new SqlPoolSecurityAlertPoliciesOperations(this);
     SqlPoolVulnerabilityAssessmentRuleBaselines = new SqlPoolVulnerabilityAssessmentRuleBaselinesOperations(this);
     Workspaces                                  = new WorkspacesOperations(this);
     WorkspaceAadAdmins                          = new WorkspaceAadAdminsOperations(this);
     WorkspaceManagedIdentitySqlControlSettings  = new WorkspaceManagedIdentitySqlControlSettingsOperations(this);
     BaseUri        = new System.Uri("https://management.azure.com");
     ApiVersion     = "2019-06-01-preview";
     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());
 }