azure_mgmt_sql 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2014-04-01/generated/azure_mgmt_sql.rb +62 -61
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/database.rb +8 -8
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool.rb +8 -8
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/server.rb +8 -8
- data/lib/2014-04-01/generated/azure_mgmt_sql/models/tracked_resource.rb +11 -11
- data/lib/2014-04-01/generated/azure_mgmt_sql/server_advisors.rb +454 -0
- data/lib/2014-04-01/generated/azure_mgmt_sql/sql_management_client.rb +22 -17
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql.rb +43 -25
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_automatic_tuning_operations.rb +246 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb +6 -12
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/firewall_rules.rb +666 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/managed_instances.rb +986 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_disabled_reason.rb +21 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_mode.rb +18 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb +16 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb +17 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_options.rb +91 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_automatic_tuning.rb +110 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb +72 -2
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule.rb +86 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list.rb +55 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb +100 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb +206 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_list_result.rb +100 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_update.rb +161 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource_with_writable_name.rb +61 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource_with_writable_name.rb +70 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sku.rb +97 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +20 -6
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb +88 -11
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb +402 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/data_warehouse_user_activities_operations.rb +134 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb +258 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_operations.rb +4 -4
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_rule_baselines.rb +400 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessments.rb +356 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/databases.rb +4 -4
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_database_blob_auditing_policies.rb +258 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_server_blob_auditing_policies.rb +290 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb +816 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_credentials.rb +571 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_executions.rb +1101 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_step_executions.rb +415 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_steps.rb +927 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_executions.rb +697 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_groups.rb +571 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_versions.rb +358 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/jobs.rb +570 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/long_term_retention_backups.rb +925 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb +963 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb +110 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/blob_auditing_policy_state.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/complete_database_restore_definition.rb +47 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb +1 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/data_warehouse_user_activities.rb +74 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database.rb +9 -9
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb +238 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation.rb +36 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/{status.rb → database_status.rb} +2 -2
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb +9 -9
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline.rb +84 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline_item.rb +56 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_database_blob_auditing_policy.rb +238 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_server_blob_auditing_policy.rb +238 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job.rb +99 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent.rb +122 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_state.rb +19 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_update.rb +54 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential.rb +85 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb +224 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_lifecycle.rb +24 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_target.rb +73 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule.rb +98 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule_type.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb +135 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action.rb +73 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_source.rb +15 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_type.rb +15 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_execution_options.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output.rb +127 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output_type.rb +15 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target.rb +121 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group.rb +82 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_membership_type.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_type.rb +19 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version.rb +62 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup.rb +134 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/{database_restore_point_list_result.rb → long_term_retention_backup_list_result.rb} +9 -9
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_database_state.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database.rb +242 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_create_mode.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_status.rb +19 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_update.rb +210 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/provisioning_state.rb +19 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/{database_restore_point.rb → restore_point.rb} +6 -5
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_list_result.rb +68 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb +17 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sensitivity_label.rb +84 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sensitivity_label_list_result.rb +100 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sensitivity_label_source.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_blob_auditing_policy.rb +226 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb +166 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/{arm_sku.rb → sku.rb} +16 -11
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_policy_baseline_name.rb +16 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb +80 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/{database_restore_points.rb → restore_points.rb} +93 -111
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/sensitivity_labels.rb +612 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb +4 -4
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_blob_auditing_policies.rb +290 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb +4 -4
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_security_alert_policies.rb +290 -0
- data/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +100 -9
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql.rb +104 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/backup_short_term_retention_policies.rb +684 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/capabilities.rb +128 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/database_operations.rb +338 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_scans.rb +621 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/databases.rb +1566 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/elastic_pool_operations.rb +338 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/elastic_pools.rb +815 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/instance_failover_groups.rb +983 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_tde_certificates.rb +175 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/backup_short_term_retention_policy.rb +74 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/backup_short_term_retention_policy_list_result.rb +101 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/capability_group.rb +17 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/capability_status.rb +18 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/catalog_collation_type.rb +16 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/create_mode.rb +24 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database.rb +482 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_license_type.rb +16 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb +100 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_operation.rb +233 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_operation_list_result.rb +100 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_read_scale.rb +16 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_status.rb +32 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_update.rb +425 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment.rb +100 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_scans_export.rb +76 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/edition_capability.rb +107 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool.rb +187 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb +107 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_license_type.rb +16 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb +100 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_operation.rb +231 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_operation_list_result.rb +100 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_performance_level_capability.rb +108 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_min_performance_level_capability.rb +86 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_settings.rb +57 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_performance_level_capability.rb +200 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_state.rb +17 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_update.rb +116 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/instance_failover_group.rb +156 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/instance_failover_group_list_result.rb +100 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/instance_failover_group_read_only_endpoint.rb +48 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/instance_failover_group_read_write_endpoint.rb +62 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/instance_failover_group_replication_role.rb +16 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/license_type_capability.rb +72 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/location_capabilities.rb +116 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/log_size_capability.rb +61 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/log_size_unit.rb +19 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/managed_instance_edition_capability.rb +94 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/managed_instance_family_capability.rb +161 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/managed_instance_pair_info.rb +57 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/managed_instance_vcores_capability.rb +84 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/managed_instance_version_capability.rb +94 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/management_operation_state.rb +20 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/max_size_capability.rb +61 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/max_size_range_capability.rb +113 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/max_size_unit.rb +18 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/partner_region_info.rb +60 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/performance_level_capability.rb +60 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/performance_level_unit.rb +16 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb +62 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/read_only_endpoint_failover_policy.rb +16 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/read_write_endpoint_failover_policy.rb +16 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/resource.rb +71 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb +46 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/sample_name.rb +17 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/server_version_capability.rb +116 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/service_objective_capability.rb +166 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/sku.rb +97 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/tde_certificate.rb +84 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb +92 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb +80 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_scan_error.rb +59 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_scan_record.rb +169 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_scan_record_list_result.rb +102 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_scan_state.rb +18 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_scan_trigger_type.rb +16 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/module_definition.rb +9 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +171 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_sql/tde_certificates.rb +175 -0
- data/lib/azure_mgmt_sql.rb +2 -1
- data/lib/profiles/latest/modules/sql_profile_module.rb +855 -411
- data/lib/version.rb +1 -1
- metadata +186 -10
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SQL::Mgmt::V2017_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for DatabaseReadScale
|
10
|
+
#
|
11
|
+
module DatabaseReadScale
|
12
|
+
Enabled = "Enabled"
|
13
|
+
Disabled = "Disabled"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SQL::Mgmt::V2017_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for DatabaseStatus
|
10
|
+
#
|
11
|
+
module DatabaseStatus
|
12
|
+
Online = "Online"
|
13
|
+
Restoring = "Restoring"
|
14
|
+
RecoveryPending = "RecoveryPending"
|
15
|
+
Recovering = "Recovering"
|
16
|
+
Suspect = "Suspect"
|
17
|
+
Offline = "Offline"
|
18
|
+
Standby = "Standby"
|
19
|
+
Shutdown = "Shutdown"
|
20
|
+
EmergencyMode = "EmergencyMode"
|
21
|
+
AutoClosed = "AutoClosed"
|
22
|
+
Copying = "Copying"
|
23
|
+
Creating = "Creating"
|
24
|
+
Inaccessible = "Inaccessible"
|
25
|
+
OfflineSecondary = "OfflineSecondary"
|
26
|
+
Pausing = "Pausing"
|
27
|
+
Paused = "Paused"
|
28
|
+
Resuming = "Resuming"
|
29
|
+
Scaling = "Scaling"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,425 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::SQL::Mgmt::V2017_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A database resource.
|
10
|
+
#
|
11
|
+
class DatabaseUpdate
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Sku] The name and tier of the SKU.
|
16
|
+
attr_accessor :sku
|
17
|
+
|
18
|
+
# @return [CreateMode] Specifies the mode of database creation.
|
19
|
+
#
|
20
|
+
# Default: regular database creation.
|
21
|
+
#
|
22
|
+
# Copy: creates a database as a copy of an existing database.
|
23
|
+
# sourceDatabaseId must be specified as the resource ID of the source
|
24
|
+
# database.
|
25
|
+
#
|
26
|
+
# Secondary: creates a database as a secondary replica of an existing
|
27
|
+
# database. sourceDatabaseId must be specified as the resource ID of the
|
28
|
+
# existing primary database.
|
29
|
+
#
|
30
|
+
# PointInTimeRestore: Creates a database by restoring a point in time
|
31
|
+
# backup of an existing database. sourceDatabaseId must be specified as
|
32
|
+
# the resource ID of the existing database, and restorePointInTime must
|
33
|
+
# be specified.
|
34
|
+
#
|
35
|
+
# Recovery: Creates a database by restoring a geo-replicated backup.
|
36
|
+
# sourceDatabaseId must be specified as the recoverable database resource
|
37
|
+
# ID to restore.
|
38
|
+
#
|
39
|
+
# Restore: Creates a database by restoring a backup of a deleted
|
40
|
+
# database. sourceDatabaseId must be specified. If sourceDatabaseId is
|
41
|
+
# the database's original resource ID, then sourceDatabaseDeletionDate
|
42
|
+
# must be specified. Otherwise sourceDatabaseId must be the restorable
|
43
|
+
# dropped database resource ID and sourceDatabaseDeletionDate is ignored.
|
44
|
+
# restorePointInTime may also be specified to restore from an earlier
|
45
|
+
# point in time.
|
46
|
+
#
|
47
|
+
# RestoreLongTermRetentionBackup: Creates a database by restoring from a
|
48
|
+
# long term retention vault. recoveryServicesRecoveryPointResourceId must
|
49
|
+
# be specified as the recovery point resource ID.
|
50
|
+
#
|
51
|
+
# Copy, Secondary, and RestoreLongTermRetentionBackup are not supported
|
52
|
+
# for DataWarehouse edition. Possible values include: 'Default', 'Copy',
|
53
|
+
# 'Secondary', 'PointInTimeRestore', 'Restore', 'Recovery',
|
54
|
+
# 'RestoreExternalBackup', 'RestoreExternalBackupSecondary',
|
55
|
+
# 'RestoreLongTermRetentionBackup', 'OnlineSecondary'
|
56
|
+
attr_accessor :create_mode
|
57
|
+
|
58
|
+
# @return [String] The collation of the database.
|
59
|
+
attr_accessor :collation
|
60
|
+
|
61
|
+
# @return [Integer] The max size of the database expressed in bytes.
|
62
|
+
attr_accessor :max_size_bytes
|
63
|
+
|
64
|
+
# @return [SampleName] The name of the sample schema to apply when
|
65
|
+
# creating this database. Possible values include: 'AdventureWorksLT',
|
66
|
+
# 'WideWorldImportersStd', 'WideWorldImportersFull'
|
67
|
+
attr_accessor :sample_name
|
68
|
+
|
69
|
+
# @return [String] The resource identifier of the elastic pool containing
|
70
|
+
# this database.
|
71
|
+
attr_accessor :elastic_pool_id
|
72
|
+
|
73
|
+
# @return [String] The resource identifier of the source database
|
74
|
+
# associated with create operation of this database.
|
75
|
+
attr_accessor :source_database_id
|
76
|
+
|
77
|
+
# @return [DatabaseStatus] The status of the database. Possible values
|
78
|
+
# include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering',
|
79
|
+
# 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode',
|
80
|
+
# 'AutoClosed', 'Copying', 'Creating', 'Inaccessible',
|
81
|
+
# 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling'
|
82
|
+
attr_accessor :status
|
83
|
+
|
84
|
+
# @return The ID of the database.
|
85
|
+
attr_accessor :database_id
|
86
|
+
|
87
|
+
# @return [DateTime] The creation date of the database (ISO8601 format).
|
88
|
+
attr_accessor :creation_date
|
89
|
+
|
90
|
+
# @return [String] The current service level objective name of the
|
91
|
+
# database.
|
92
|
+
attr_accessor :current_service_objective_name
|
93
|
+
|
94
|
+
# @return [String] The requested service level objective name of the
|
95
|
+
# database.
|
96
|
+
attr_accessor :requested_service_objective_name
|
97
|
+
|
98
|
+
# @return [String] The default secondary region for this database.
|
99
|
+
attr_accessor :default_secondary_location
|
100
|
+
|
101
|
+
# @return [String] Failover Group resource identifier that this database
|
102
|
+
# belongs to.
|
103
|
+
attr_accessor :failover_group_id
|
104
|
+
|
105
|
+
# @return [DateTime] Specifies the point in time (ISO8601 format) of the
|
106
|
+
# source database that will be restored to create the new database.
|
107
|
+
attr_accessor :restore_point_in_time
|
108
|
+
|
109
|
+
# @return [DateTime] Specifies the time that the database was deleted.
|
110
|
+
attr_accessor :source_database_deletion_date
|
111
|
+
|
112
|
+
# @return [String] The resource identifier of the recovery point
|
113
|
+
# associated with create operation of this database.
|
114
|
+
attr_accessor :recovery_services_recovery_point_id
|
115
|
+
|
116
|
+
# @return [String] The resource identifier of the long term retention
|
117
|
+
# backup associated with create operation of this database.
|
118
|
+
attr_accessor :long_term_retention_backup_resource_id
|
119
|
+
|
120
|
+
# @return [String] The resource identifier of the recoverable database
|
121
|
+
# associated with create operation of this database.
|
122
|
+
attr_accessor :recoverable_database_id
|
123
|
+
|
124
|
+
# @return [String] The resource identifier of the restorable dropped
|
125
|
+
# database associated with create operation of this database.
|
126
|
+
attr_accessor :restorable_dropped_database_id
|
127
|
+
|
128
|
+
# @return [CatalogCollationType] Collation of the metadata catalog.
|
129
|
+
# Possible values include: 'DATABASE_DEFAULT',
|
130
|
+
# 'SQL_Latin1_General_CP1_CI_AS'
|
131
|
+
attr_accessor :catalog_collation
|
132
|
+
|
133
|
+
# @return [Boolean] Whether or not this database is zone redundant, which
|
134
|
+
# means the replicas of this database will be spread across multiple
|
135
|
+
# availability zones.
|
136
|
+
attr_accessor :zone_redundant
|
137
|
+
|
138
|
+
# @return [DatabaseLicenseType] The license type to apply for this
|
139
|
+
# database. Possible values include: 'LicenseIncluded', 'BasePrice'
|
140
|
+
attr_accessor :license_type
|
141
|
+
|
142
|
+
# @return [Integer] The max log size for this database.
|
143
|
+
attr_accessor :max_log_size_bytes
|
144
|
+
|
145
|
+
# @return [DateTime] This records the earliest start date and time that
|
146
|
+
# restore is available for this database (ISO8601 format).
|
147
|
+
attr_accessor :earliest_restore_date
|
148
|
+
|
149
|
+
# @return [DatabaseReadScale] The state of read-only routing. If enabled,
|
150
|
+
# connections that have application intent set to readonly in their
|
151
|
+
# connection string may be routed to a readonly secondary replica in the
|
152
|
+
# same region. Possible values include: 'Enabled', 'Disabled'
|
153
|
+
attr_accessor :read_scale
|
154
|
+
|
155
|
+
# @return [Sku] The name and tier of the SKU.
|
156
|
+
attr_accessor :current_sku
|
157
|
+
|
158
|
+
# @return [Hash{String => String}] Resource tags.
|
159
|
+
attr_accessor :tags
|
160
|
+
|
161
|
+
|
162
|
+
#
|
163
|
+
# Mapper for DatabaseUpdate class as Ruby Hash.
|
164
|
+
# This will be used for serialization/deserialization.
|
165
|
+
#
|
166
|
+
def self.mapper()
|
167
|
+
{
|
168
|
+
client_side_validation: true,
|
169
|
+
required: false,
|
170
|
+
serialized_name: 'DatabaseUpdate',
|
171
|
+
type: {
|
172
|
+
name: 'Composite',
|
173
|
+
class_name: 'DatabaseUpdate',
|
174
|
+
model_properties: {
|
175
|
+
sku: {
|
176
|
+
client_side_validation: true,
|
177
|
+
required: false,
|
178
|
+
serialized_name: 'sku',
|
179
|
+
type: {
|
180
|
+
name: 'Composite',
|
181
|
+
class_name: 'Sku'
|
182
|
+
}
|
183
|
+
},
|
184
|
+
create_mode: {
|
185
|
+
client_side_validation: true,
|
186
|
+
required: false,
|
187
|
+
serialized_name: 'properties.createMode',
|
188
|
+
type: {
|
189
|
+
name: 'String'
|
190
|
+
}
|
191
|
+
},
|
192
|
+
collation: {
|
193
|
+
client_side_validation: true,
|
194
|
+
required: false,
|
195
|
+
serialized_name: 'properties.collation',
|
196
|
+
type: {
|
197
|
+
name: 'String'
|
198
|
+
}
|
199
|
+
},
|
200
|
+
max_size_bytes: {
|
201
|
+
client_side_validation: true,
|
202
|
+
required: false,
|
203
|
+
serialized_name: 'properties.maxSizeBytes',
|
204
|
+
type: {
|
205
|
+
name: 'Number'
|
206
|
+
}
|
207
|
+
},
|
208
|
+
sample_name: {
|
209
|
+
client_side_validation: true,
|
210
|
+
required: false,
|
211
|
+
serialized_name: 'properties.sampleName',
|
212
|
+
type: {
|
213
|
+
name: 'String'
|
214
|
+
}
|
215
|
+
},
|
216
|
+
elastic_pool_id: {
|
217
|
+
client_side_validation: true,
|
218
|
+
required: false,
|
219
|
+
serialized_name: 'properties.elasticPoolId',
|
220
|
+
type: {
|
221
|
+
name: 'String'
|
222
|
+
}
|
223
|
+
},
|
224
|
+
source_database_id: {
|
225
|
+
client_side_validation: true,
|
226
|
+
required: false,
|
227
|
+
serialized_name: 'properties.sourceDatabaseId',
|
228
|
+
type: {
|
229
|
+
name: 'String'
|
230
|
+
}
|
231
|
+
},
|
232
|
+
status: {
|
233
|
+
client_side_validation: true,
|
234
|
+
required: false,
|
235
|
+
read_only: true,
|
236
|
+
serialized_name: 'properties.status',
|
237
|
+
type: {
|
238
|
+
name: 'String'
|
239
|
+
}
|
240
|
+
},
|
241
|
+
database_id: {
|
242
|
+
client_side_validation: true,
|
243
|
+
required: false,
|
244
|
+
read_only: true,
|
245
|
+
serialized_name: 'properties.databaseId',
|
246
|
+
type: {
|
247
|
+
name: 'String'
|
248
|
+
}
|
249
|
+
},
|
250
|
+
creation_date: {
|
251
|
+
client_side_validation: true,
|
252
|
+
required: false,
|
253
|
+
read_only: true,
|
254
|
+
serialized_name: 'properties.creationDate',
|
255
|
+
type: {
|
256
|
+
name: 'DateTime'
|
257
|
+
}
|
258
|
+
},
|
259
|
+
current_service_objective_name: {
|
260
|
+
client_side_validation: true,
|
261
|
+
required: false,
|
262
|
+
read_only: true,
|
263
|
+
serialized_name: 'properties.currentServiceObjectiveName',
|
264
|
+
type: {
|
265
|
+
name: 'String'
|
266
|
+
}
|
267
|
+
},
|
268
|
+
requested_service_objective_name: {
|
269
|
+
client_side_validation: true,
|
270
|
+
required: false,
|
271
|
+
read_only: true,
|
272
|
+
serialized_name: 'properties.requestedServiceObjectiveName',
|
273
|
+
type: {
|
274
|
+
name: 'String'
|
275
|
+
}
|
276
|
+
},
|
277
|
+
default_secondary_location: {
|
278
|
+
client_side_validation: true,
|
279
|
+
required: false,
|
280
|
+
read_only: true,
|
281
|
+
serialized_name: 'properties.defaultSecondaryLocation',
|
282
|
+
type: {
|
283
|
+
name: 'String'
|
284
|
+
}
|
285
|
+
},
|
286
|
+
failover_group_id: {
|
287
|
+
client_side_validation: true,
|
288
|
+
required: false,
|
289
|
+
read_only: true,
|
290
|
+
serialized_name: 'properties.failoverGroupId',
|
291
|
+
type: {
|
292
|
+
name: 'String'
|
293
|
+
}
|
294
|
+
},
|
295
|
+
restore_point_in_time: {
|
296
|
+
client_side_validation: true,
|
297
|
+
required: false,
|
298
|
+
serialized_name: 'properties.restorePointInTime',
|
299
|
+
type: {
|
300
|
+
name: 'DateTime'
|
301
|
+
}
|
302
|
+
},
|
303
|
+
source_database_deletion_date: {
|
304
|
+
client_side_validation: true,
|
305
|
+
required: false,
|
306
|
+
serialized_name: 'properties.sourceDatabaseDeletionDate',
|
307
|
+
type: {
|
308
|
+
name: 'DateTime'
|
309
|
+
}
|
310
|
+
},
|
311
|
+
recovery_services_recovery_point_id: {
|
312
|
+
client_side_validation: true,
|
313
|
+
required: false,
|
314
|
+
serialized_name: 'properties.recoveryServicesRecoveryPointId',
|
315
|
+
type: {
|
316
|
+
name: 'String'
|
317
|
+
}
|
318
|
+
},
|
319
|
+
long_term_retention_backup_resource_id: {
|
320
|
+
client_side_validation: true,
|
321
|
+
required: false,
|
322
|
+
serialized_name: 'properties.longTermRetentionBackupResourceId',
|
323
|
+
type: {
|
324
|
+
name: 'String'
|
325
|
+
}
|
326
|
+
},
|
327
|
+
recoverable_database_id: {
|
328
|
+
client_side_validation: true,
|
329
|
+
required: false,
|
330
|
+
serialized_name: 'properties.recoverableDatabaseId',
|
331
|
+
type: {
|
332
|
+
name: 'String'
|
333
|
+
}
|
334
|
+
},
|
335
|
+
restorable_dropped_database_id: {
|
336
|
+
client_side_validation: true,
|
337
|
+
required: false,
|
338
|
+
serialized_name: 'properties.restorableDroppedDatabaseId',
|
339
|
+
type: {
|
340
|
+
name: 'String'
|
341
|
+
}
|
342
|
+
},
|
343
|
+
catalog_collation: {
|
344
|
+
client_side_validation: true,
|
345
|
+
required: false,
|
346
|
+
serialized_name: 'properties.catalogCollation',
|
347
|
+
type: {
|
348
|
+
name: 'String'
|
349
|
+
}
|
350
|
+
},
|
351
|
+
zone_redundant: {
|
352
|
+
client_side_validation: true,
|
353
|
+
required: false,
|
354
|
+
serialized_name: 'properties.zoneRedundant',
|
355
|
+
type: {
|
356
|
+
name: 'Boolean'
|
357
|
+
}
|
358
|
+
},
|
359
|
+
license_type: {
|
360
|
+
client_side_validation: true,
|
361
|
+
required: false,
|
362
|
+
serialized_name: 'properties.licenseType',
|
363
|
+
type: {
|
364
|
+
name: 'String'
|
365
|
+
}
|
366
|
+
},
|
367
|
+
max_log_size_bytes: {
|
368
|
+
client_side_validation: true,
|
369
|
+
required: false,
|
370
|
+
read_only: true,
|
371
|
+
serialized_name: 'properties.maxLogSizeBytes',
|
372
|
+
type: {
|
373
|
+
name: 'Number'
|
374
|
+
}
|
375
|
+
},
|
376
|
+
earliest_restore_date: {
|
377
|
+
client_side_validation: true,
|
378
|
+
required: false,
|
379
|
+
read_only: true,
|
380
|
+
serialized_name: 'properties.earliestRestoreDate',
|
381
|
+
type: {
|
382
|
+
name: 'DateTime'
|
383
|
+
}
|
384
|
+
},
|
385
|
+
read_scale: {
|
386
|
+
client_side_validation: true,
|
387
|
+
required: false,
|
388
|
+
serialized_name: 'properties.readScale',
|
389
|
+
type: {
|
390
|
+
name: 'String'
|
391
|
+
}
|
392
|
+
},
|
393
|
+
current_sku: {
|
394
|
+
client_side_validation: true,
|
395
|
+
required: false,
|
396
|
+
read_only: true,
|
397
|
+
serialized_name: 'properties.currentSku',
|
398
|
+
type: {
|
399
|
+
name: 'Composite',
|
400
|
+
class_name: 'Sku'
|
401
|
+
}
|
402
|
+
},
|
403
|
+
tags: {
|
404
|
+
client_side_validation: true,
|
405
|
+
required: false,
|
406
|
+
serialized_name: 'tags',
|
407
|
+
type: {
|
408
|
+
name: 'Dictionary',
|
409
|
+
value: {
|
410
|
+
client_side_validation: true,
|
411
|
+
required: false,
|
412
|
+
serialized_name: 'StringElementType',
|
413
|
+
type: {
|
414
|
+
name: 'String'
|
415
|
+
}
|
416
|
+
}
|
417
|
+
}
|
418
|
+
}
|
419
|
+
}
|
420
|
+
}
|
421
|
+
}
|
422
|
+
end
|
423
|
+
end
|
424
|
+
end
|
425
|
+
end
|