From d57321685f66923625606e13b3b7ab4e367495b9 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 14 Jun 2018 11:25:15 -0700 Subject: [PATCH] Generated from a82909eab07e7a383975701b09d09a5fd0dfb967 (#1381) adding new state value to keep backward competiblity adding new state value to keep backward competiblity --- .../lib/latest/modules/sql_profile_module.rb | 120 +++++++++--------- .../generated/azure_mgmt_sql.rb | 35 ++--- .../models/security_alert_policy_state.rb | 17 +++ .../models/server_security_alert_policy.rb | 8 +- .../azure_mgmt_sql/sql_management_client.rb | 4 + .../latest/modules/sql_profile_module.rb | 120 +++++++++--------- 6 files changed, 170 insertions(+), 134 deletions(-) create mode 100644 management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb diff --git a/azure_sdk/lib/latest/modules/sql_profile_module.rb b/azure_sdk/lib/latest/modules/sql_profile_module.rb index cc8451ce3c..d423ce40d6 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -78,6 +78,7 @@ module Mgmt RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases + ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies module Models MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue @@ -179,7 +180,6 @@ module Models RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState RecommendedIndexType = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType ReadScale = Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale - SecurityAlertPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault DataMaskingState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState @@ -287,32 +287,32 @@ module Models SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState - JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate - JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition - ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget - LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult - JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult - CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate - DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate + RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult - JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget - CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult Sku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource - ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult @@ -344,6 +344,7 @@ module Models RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias + ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState ManagementOperationState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState CreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode @@ -366,12 +367,13 @@ module Models AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + SecurityAlertPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName end class SQLManagementClass - attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :configurable, :base_url, :options, :model_classes + attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :server_security_alert_policies, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -464,6 +466,7 @@ def initialize(configurable, base_url=nil, options=nil) @restore_points = @client_2.restore_points @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations @server_dns_aliases = @client_2.server_dns_aliases + @server_security_alert_policies = @client_2.server_security_alert_policies @model_classes = ModelClasses.new end @@ -783,9 +786,6 @@ def recommended_index_type def read_scale Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale end - def security_alert_policy_state - Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState - end def security_alert_policy_email_account_admins Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins end @@ -1107,68 +1107,68 @@ def sync_member_state def virtual_network_rule_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState end - def job_schedule - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - end - def job_credential_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - end - def vulnerability_assessment_recurring_scans_properties - Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + def job_agent_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate end def managed_database_update Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate end - def job_target_group_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + def vulnerability_assessment_recurring_scans_properties + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties end def resource_move_definition Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition end - def server_dns_alias_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + def job_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget end def restore_point_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult end - def job_target - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + def job_step_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult end - def long_term_retention_backup_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + def create_database_restore_point_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + end + def server_dns_alias_acquisition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + end + def job_version_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult end def job_agent_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult end - def create_database_restore_point_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + def automatic_tuning_server_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions end - def job_agent_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + def resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource end def database_update Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate end - def job_step_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + def job_step_execution_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions end - def job_version_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + def job_target_group_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult end - def server_dns_alias_acquisition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + def job_credential_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult end - def automatic_tuning_server_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions + def server_dns_alias_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult end def job_execution_target Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget end - def complete_database_restore_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + def long_term_retention_backup_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult end - def job_step_execution_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + def managed_database_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult end def sku Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku @@ -1179,11 +1179,11 @@ def job_execution_list_result def import_export_database_definition Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition end - def resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + def job_schedule + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule end - def managed_database_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + def complete_database_restore_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition end def database_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult @@ -1278,6 +1278,9 @@ def server_automatic_tuning def server_dns_alias Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias end + def server_security_alert_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy + end def blob_auditing_policy_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState end @@ -1344,6 +1347,9 @@ def automatic_tuning_option_mode_actual def automatic_tuning_server_reason Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason end + def security_alert_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState + end def long_term_retention_database_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb index 347a03c6bb..90d6bad411 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb @@ -44,35 +44,36 @@ module Azure::SQL::Mgmt::V2017_03_01_preview autoload :RestorePoints, '2017-03-01-preview/generated/azure_mgmt_sql/restore_points.rb' autoload :ServerAutomaticTuningOperations, '2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb' autoload :ServerDnsAliases, '2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb' + autoload :ServerSecurityAlertPolicies, '2017-03-01-preview/generated/azure_mgmt_sql/server_security_alert_policies.rb' autoload :SqlManagementClient, '2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb' module Models - autoload :JobSchedule, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule.rb' - autoload :JobCredentialListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential_list_result.rb' - autoload :VulnerabilityAssessmentRecurringScansProperties, '2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb' + autoload :JobAgentUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_update.rb' autoload :ManagedDatabaseUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_update.rb' - autoload :JobTargetGroupListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_list_result.rb' + autoload :VulnerabilityAssessmentRecurringScansProperties, '2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb' autoload :ResourceMoveDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb' - autoload :ServerDnsAliasListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb' - autoload :RestorePointListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_list_result.rb' autoload :JobTarget, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_target.rb' - autoload :LongTermRetentionBackupListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup_list_result.rb' - autoload :JobAgentListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_list_result.rb' - autoload :CreateDatabaseRestorePointDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb' - autoload :JobAgentUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_update.rb' - autoload :DatabaseUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb' + autoload :RestorePointListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_list_result.rb' autoload :JobStepListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_list_result.rb' - autoload :JobVersionListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_version_list_result.rb' + autoload :CreateDatabaseRestorePointDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb' autoload :ServerDnsAliasAcquisition, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_acquisition.rb' + autoload :JobVersionListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_version_list_result.rb' + autoload :JobAgentListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_list_result.rb' autoload :AutomaticTuningServerOptions, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_options.rb' - autoload :JobExecutionTarget, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_target.rb' - autoload :CompleteDatabaseRestoreDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/complete_database_restore_definition.rb' + autoload :Resource, '2017-03-01-preview/generated/azure_mgmt_sql/models/resource.rb' + autoload :DatabaseUpdate, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb' autoload :JobStepExecutionOptions, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_execution_options.rb' + autoload :JobTargetGroupListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_list_result.rb' + autoload :JobCredentialListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential_list_result.rb' + autoload :ServerDnsAliasListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb' + autoload :JobExecutionTarget, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_target.rb' + autoload :LongTermRetentionBackupListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup_list_result.rb' + autoload :ManagedDatabaseListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_list_result.rb' autoload :Sku, '2017-03-01-preview/generated/azure_mgmt_sql/models/sku.rb' autoload :JobExecutionListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_list_result.rb' autoload :ImportExportDatabaseDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_database_definition.rb' - autoload :Resource, '2017-03-01-preview/generated/azure_mgmt_sql/models/resource.rb' - autoload :ManagedDatabaseListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_list_result.rb' + autoload :JobSchedule, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule.rb' + autoload :CompleteDatabaseRestoreDefinition, '2017-03-01-preview/generated/azure_mgmt_sql/models/complete_database_restore_definition.rb' autoload :DatabaseListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb' autoload :JobListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/job_list_result.rb' autoload :DatabaseOperationListResult, '2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation_list_result.rb' @@ -104,6 +105,7 @@ module Models autoload :RestorePoint, '2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb' autoload :ServerAutomaticTuning, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_automatic_tuning.rb' autoload :ServerDnsAlias, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias.rb' + autoload :ServerSecurityAlertPolicy, '2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb' autoload :BlobAuditingPolicyState, '2017-03-01-preview/generated/azure_mgmt_sql/models/blob_auditing_policy_state.rb' autoload :ManagementOperationState, '2017-03-01-preview/generated/azure_mgmt_sql/models/management_operation_state.rb' autoload :CreateMode, '2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb' @@ -126,6 +128,7 @@ module Models autoload :AutomaticTuningOptionModeDesired, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb' autoload :AutomaticTuningOptionModeActual, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb' autoload :AutomaticTuningServerReason, '2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_reason.rb' + autoload :SecurityAlertPolicyState, '2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb' autoload :LongTermRetentionDatabaseState, '2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_database_state.rb' autoload :VulnerabilityAssessmentPolicyBaselineName, '2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_policy_baseline_name.rb' end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb new file mode 100644 index 0000000000..1050444778 --- /dev/null +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb @@ -0,0 +1,17 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::SQL::Mgmt::V2017_03_01_preview + module Models + # + # Defines values for SecurityAlertPolicyState + # + module SecurityAlertPolicyState + New = "New" + Enabled = "Enabled" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb index ac1bb11483..709e342525 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb @@ -12,9 +12,9 @@ class ServerSecurityAlertPolicy < ProxyResource include MsRestAzure - # @return [SecurityAlertState] Specifies the state of the policy, whether - # it is enabled or disabled. Possible values include: 'Enabled', - # 'Disabled' + # @return [SecurityAlertPolicyState] Specifies the state of the policy, + # whether it is enabled or disabled. Possible values include: 'New', + # 'Enabled', 'Disabled' attr_accessor :state # @return [Array] Specifies an array of alerts that are disabled. @@ -85,7 +85,7 @@ def self.mapper() serialized_name: 'properties.state', type: { name: 'Enum', - module: 'SecurityAlertState' + module: 'SecurityAlertPolicyState' } }, disabled_alerts: { diff --git a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb index 1511fa7ef6..5ec15be873 100644 --- a/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +++ b/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb @@ -114,6 +114,9 @@ class SqlManagementClient < MsRestAzure::AzureServiceClient # @return [ServerDnsAliases] server_dns_aliases attr_reader :server_dns_aliases + # @return [ServerSecurityAlertPolicies] server_security_alert_policies + attr_reader :server_security_alert_policies + # # Creates initializes a new instance of the SqlManagementClient class. # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client. @@ -151,6 +154,7 @@ def initialize(credentials = nil, base_url = nil, options = nil) @restore_points = RestorePoints.new(self) @server_automatic_tuning_operations = ServerAutomaticTuningOperations.new(self) @server_dns_aliases = ServerDnsAliases.new(self) + @server_security_alert_policies = ServerSecurityAlertPolicies.new(self) @api_version = '2017-03-01-preview' @accept_language = 'en-US' @long_running_operation_retry_timeout = 30 diff --git a/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb b/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb index d3c876e218..78035940f0 100644 --- a/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb +++ b/management/azure_mgmt_sql/lib/profiles/latest/modules/sql_profile_module.rb @@ -77,6 +77,7 @@ module Mgmt RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases + ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies module Models MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue @@ -178,7 +179,6 @@ module Models RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState RecommendedIndexType = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType ReadScale = Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale - SecurityAlertPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault DataMaskingState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState @@ -286,32 +286,32 @@ module Models SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState - JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate - JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition - ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget - LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult - JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult - CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate - DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate + RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult - JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget - CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult Sku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource - ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult @@ -343,6 +343,7 @@ module Models RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias + ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState ManagementOperationState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState CreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode @@ -365,6 +366,7 @@ module Models AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + SecurityAlertPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName end @@ -373,7 +375,7 @@ module Models # SQLManagementClass # class SQLManagementClass - attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :configurable, :base_url, :options, :model_classes + attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :server_security_alert_policies, :configurable, :base_url, :options, :model_classes def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @@ -476,6 +478,7 @@ def initialize(options = {}) @restore_points = @client_2.restore_points @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations @server_dns_aliases = @client_2.server_dns_aliases + @server_security_alert_policies = @client_2.server_security_alert_policies @model_classes = ModelClasses.new end @@ -797,9 +800,6 @@ def recommended_index_type def read_scale Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale end - def security_alert_policy_state - Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyState - end def security_alert_policy_email_account_admins Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins end @@ -1121,68 +1121,68 @@ def sync_member_state def virtual_network_rule_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState end - def job_schedule - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - end - def job_credential_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - end - def vulnerability_assessment_recurring_scans_properties - Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + def job_agent_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate end def managed_database_update Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate end - def job_target_group_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + def vulnerability_assessment_recurring_scans_properties + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties end def resource_move_definition Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition end - def server_dns_alias_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + def job_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget end def restore_point_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult end - def job_target - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + def job_step_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult end - def long_term_retention_backup_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + def create_database_restore_point_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + end + def server_dns_alias_acquisition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + end + def job_version_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult end def job_agent_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult end - def create_database_restore_point_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + def automatic_tuning_server_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions end - def job_agent_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + def resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource end def database_update Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate end - def job_step_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + def job_step_execution_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions end - def job_version_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + def job_target_group_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult end - def server_dns_alias_acquisition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + def job_credential_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult end - def automatic_tuning_server_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions + def server_dns_alias_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult end def job_execution_target Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget end - def complete_database_restore_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + def long_term_retention_backup_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult end - def job_step_execution_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + def managed_database_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult end def sku Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku @@ -1193,11 +1193,11 @@ def job_execution_list_result def import_export_database_definition Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition end - def resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + def job_schedule + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule end - def managed_database_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + def complete_database_restore_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition end def database_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult @@ -1292,6 +1292,9 @@ def server_automatic_tuning def server_dns_alias Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias end + def server_security_alert_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy + end def blob_auditing_policy_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState end @@ -1358,6 +1361,9 @@ def automatic_tuning_option_mode_actual def automatic_tuning_server_reason Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason end + def security_alert_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState + end def long_term_retention_database_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState end