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
data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb
ADDED
@@ -0,0 +1,107 @@
|
|
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
|
+
# The elastic pool edition capability.
|
10
|
+
#
|
11
|
+
class ElasticPoolEditionCapability
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The elastic pool edition name.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [Array<ElasticPoolPerformanceLevelCapability>] The list of
|
19
|
+
# supported elastic pool DTU levels for the edition.
|
20
|
+
attr_accessor :supported_elastic_pool_performance_levels
|
21
|
+
|
22
|
+
# @return [Boolean] Whether or not zone redundancy is supported for the
|
23
|
+
# edition.
|
24
|
+
attr_accessor :zone_redundant
|
25
|
+
|
26
|
+
# @return [CapabilityStatus] The status of the capability. Possible
|
27
|
+
# values include: 'Visible', 'Available', 'Default', 'Disabled'
|
28
|
+
attr_accessor :status
|
29
|
+
|
30
|
+
# @return [String] The reason for the capability not being available.
|
31
|
+
attr_accessor :reason
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for ElasticPoolEditionCapability class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'ElasticPoolEditionCapability',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ElasticPoolEditionCapability',
|
46
|
+
model_properties: {
|
47
|
+
name: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'name',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
supported_elastic_pool_performance_levels: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'supportedElasticPoolPerformanceLevels',
|
61
|
+
type: {
|
62
|
+
name: 'Sequence',
|
63
|
+
element: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'ElasticPoolPerformanceLevelCapabilityElementType',
|
67
|
+
type: {
|
68
|
+
name: 'Composite',
|
69
|
+
class_name: 'ElasticPoolPerformanceLevelCapability'
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
},
|
74
|
+
zone_redundant: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'zoneRedundant',
|
79
|
+
type: {
|
80
|
+
name: 'Boolean'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
status: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'status',
|
88
|
+
type: {
|
89
|
+
name: 'Enum',
|
90
|
+
module: 'CapabilityStatus'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
reason: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'reason',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
@@ -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 ElasticPoolLicenseType
|
10
|
+
#
|
11
|
+
module ElasticPoolLicenseType
|
12
|
+
LicenseIncluded = "LicenseIncluded"
|
13
|
+
BasePrice = "BasePrice"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,100 @@
|
|
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
|
+
# The result of an elastic pool list request.
|
10
|
+
#
|
11
|
+
class ElasticPoolListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<ElasticPool>] Array of results.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] Link to retrieve next page of results.
|
20
|
+
attr_accessor :next_link
|
21
|
+
|
22
|
+
# return [Proc] with next page method call.
|
23
|
+
attr_accessor :next_method
|
24
|
+
|
25
|
+
#
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
27
|
+
#
|
28
|
+
# @return [Array<ElasticPool>] operation results.
|
29
|
+
#
|
30
|
+
def get_all_items
|
31
|
+
items = @value
|
32
|
+
page = self
|
33
|
+
while page.next_link != nil do
|
34
|
+
page = page.get_next_page
|
35
|
+
items.concat(page.value)
|
36
|
+
end
|
37
|
+
items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets the next page of results.
|
42
|
+
#
|
43
|
+
# @return [ElasticPoolListResult] with next page content.
|
44
|
+
#
|
45
|
+
def get_next_page
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
+
unless response.nil?
|
48
|
+
@next_link = response.body.next_link
|
49
|
+
@value = response.body.value
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for ElasticPoolListResult class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'ElasticPoolListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'ElasticPoolListResult',
|
66
|
+
model_properties: {
|
67
|
+
value: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'ElasticPoolElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'ElasticPool'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'nextLink',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
@@ -0,0 +1,231 @@
|
|
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 elastic pool operation.
|
10
|
+
#
|
11
|
+
class ElasticPoolOperation < ProxyResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the elastic pool the operation is being
|
16
|
+
# performed on.
|
17
|
+
attr_accessor :elastic_pool_name
|
18
|
+
|
19
|
+
# @return [String] The name of operation.
|
20
|
+
attr_accessor :operation
|
21
|
+
|
22
|
+
# @return [String] The friendly name of operation.
|
23
|
+
attr_accessor :operation_friendly_name
|
24
|
+
|
25
|
+
# @return [Integer] The percentage of the operation completed.
|
26
|
+
attr_accessor :percent_complete
|
27
|
+
|
28
|
+
# @return [String] The name of the server.
|
29
|
+
attr_accessor :server_name
|
30
|
+
|
31
|
+
# @return [DateTime] The operation start time.
|
32
|
+
attr_accessor :start_time
|
33
|
+
|
34
|
+
# @return [String] The operation state.
|
35
|
+
attr_accessor :state
|
36
|
+
|
37
|
+
# @return [Integer] The operation error code.
|
38
|
+
attr_accessor :error_code
|
39
|
+
|
40
|
+
# @return [String] The operation error description.
|
41
|
+
attr_accessor :error_description
|
42
|
+
|
43
|
+
# @return [Integer] The operation error severity.
|
44
|
+
attr_accessor :error_severity
|
45
|
+
|
46
|
+
# @return [Boolean] Whether or not the error is a user error.
|
47
|
+
attr_accessor :is_user_error
|
48
|
+
|
49
|
+
# @return [DateTime] The estimated completion time of the operation.
|
50
|
+
attr_accessor :estimated_completion_time
|
51
|
+
|
52
|
+
# @return [String] The operation description.
|
53
|
+
attr_accessor :description
|
54
|
+
|
55
|
+
# @return [Boolean] Whether the operation can be cancelled.
|
56
|
+
attr_accessor :is_cancellable
|
57
|
+
|
58
|
+
|
59
|
+
#
|
60
|
+
# Mapper for ElasticPoolOperation class as Ruby Hash.
|
61
|
+
# This will be used for serialization/deserialization.
|
62
|
+
#
|
63
|
+
def self.mapper()
|
64
|
+
{
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'ElasticPoolOperation',
|
68
|
+
type: {
|
69
|
+
name: 'Composite',
|
70
|
+
class_name: 'ElasticPoolOperation',
|
71
|
+
model_properties: {
|
72
|
+
id: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
read_only: true,
|
76
|
+
serialized_name: 'id',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
name: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
read_only: true,
|
85
|
+
serialized_name: 'name',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
type: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
read_only: true,
|
94
|
+
serialized_name: 'type',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
elastic_pool_name: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
read_only: true,
|
103
|
+
serialized_name: 'properties.elasticPoolName',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
operation: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
read_only: true,
|
112
|
+
serialized_name: 'properties.operation',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
operation_friendly_name: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: false,
|
120
|
+
read_only: true,
|
121
|
+
serialized_name: 'properties.operationFriendlyName',
|
122
|
+
type: {
|
123
|
+
name: 'String'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
percent_complete: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
read_only: true,
|
130
|
+
serialized_name: 'properties.percentComplete',
|
131
|
+
type: {
|
132
|
+
name: 'Number'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
server_name: {
|
136
|
+
client_side_validation: true,
|
137
|
+
required: false,
|
138
|
+
read_only: true,
|
139
|
+
serialized_name: 'properties.serverName',
|
140
|
+
type: {
|
141
|
+
name: 'String'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
start_time: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
read_only: true,
|
148
|
+
serialized_name: 'properties.startTime',
|
149
|
+
type: {
|
150
|
+
name: 'DateTime'
|
151
|
+
}
|
152
|
+
},
|
153
|
+
state: {
|
154
|
+
client_side_validation: true,
|
155
|
+
required: false,
|
156
|
+
read_only: true,
|
157
|
+
serialized_name: 'properties.state',
|
158
|
+
type: {
|
159
|
+
name: 'String'
|
160
|
+
}
|
161
|
+
},
|
162
|
+
error_code: {
|
163
|
+
client_side_validation: true,
|
164
|
+
required: false,
|
165
|
+
read_only: true,
|
166
|
+
serialized_name: 'properties.errorCode',
|
167
|
+
type: {
|
168
|
+
name: 'Number'
|
169
|
+
}
|
170
|
+
},
|
171
|
+
error_description: {
|
172
|
+
client_side_validation: true,
|
173
|
+
required: false,
|
174
|
+
read_only: true,
|
175
|
+
serialized_name: 'properties.errorDescription',
|
176
|
+
type: {
|
177
|
+
name: 'String'
|
178
|
+
}
|
179
|
+
},
|
180
|
+
error_severity: {
|
181
|
+
client_side_validation: true,
|
182
|
+
required: false,
|
183
|
+
read_only: true,
|
184
|
+
serialized_name: 'properties.errorSeverity',
|
185
|
+
type: {
|
186
|
+
name: 'Number'
|
187
|
+
}
|
188
|
+
},
|
189
|
+
is_user_error: {
|
190
|
+
client_side_validation: true,
|
191
|
+
required: false,
|
192
|
+
read_only: true,
|
193
|
+
serialized_name: 'properties.isUserError',
|
194
|
+
type: {
|
195
|
+
name: 'Boolean'
|
196
|
+
}
|
197
|
+
},
|
198
|
+
estimated_completion_time: {
|
199
|
+
client_side_validation: true,
|
200
|
+
required: false,
|
201
|
+
read_only: true,
|
202
|
+
serialized_name: 'properties.estimatedCompletionTime',
|
203
|
+
type: {
|
204
|
+
name: 'DateTime'
|
205
|
+
}
|
206
|
+
},
|
207
|
+
description: {
|
208
|
+
client_side_validation: true,
|
209
|
+
required: false,
|
210
|
+
read_only: true,
|
211
|
+
serialized_name: 'properties.description',
|
212
|
+
type: {
|
213
|
+
name: 'String'
|
214
|
+
}
|
215
|
+
},
|
216
|
+
is_cancellable: {
|
217
|
+
client_side_validation: true,
|
218
|
+
required: false,
|
219
|
+
read_only: true,
|
220
|
+
serialized_name: 'properties.isCancellable',
|
221
|
+
type: {
|
222
|
+
name: 'Boolean'
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
}
|
227
|
+
}
|
228
|
+
end
|
229
|
+
end
|
230
|
+
end
|
231
|
+
end
|