Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

[AutoPR] sql/resource-manager #1382

Merged
merged 1 commit into from
Jun 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 63 additions & 57 deletions azure_sdk/lib/latest/modules/sql_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading