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.
Files changed (206) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2014-04-01/generated/azure_mgmt_sql.rb +62 -61
  3. data/lib/2014-04-01/generated/azure_mgmt_sql/models/database.rb +8 -8
  4. data/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool.rb +8 -8
  5. data/lib/2014-04-01/generated/azure_mgmt_sql/models/server.rb +8 -8
  6. data/lib/2014-04-01/generated/azure_mgmt_sql/models/tracked_resource.rb +11 -11
  7. data/lib/2014-04-01/generated/azure_mgmt_sql/server_advisors.rb +454 -0
  8. data/lib/2014-04-01/generated/azure_mgmt_sql/sql_management_client.rb +22 -17
  9. data/lib/2015-05-01-preview/generated/azure_mgmt_sql.rb +43 -25
  10. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_automatic_tuning_operations.rb +246 -0
  11. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb +6 -12
  12. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/firewall_rules.rb +666 -0
  13. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/managed_instances.rb +986 -0
  14. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_disabled_reason.rb +21 -0
  15. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_mode.rb +18 -0
  16. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb +16 -0
  17. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb +17 -0
  18. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_options.rb +91 -0
  19. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_automatic_tuning.rb +110 -0
  20. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb +72 -2
  21. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule.rb +86 -0
  22. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list.rb +55 -0
  23. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb +100 -0
  24. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb +206 -0
  25. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_list_result.rb +100 -0
  26. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance_update.rb +161 -0
  27. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/proxy_resource_with_writable_name.rb +61 -0
  28. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/resource_with_writable_name.rb +70 -0
  29. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sku.rb +97 -0
  30. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +20 -6
  31. data/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb +88 -11
  32. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb +402 -0
  33. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/data_warehouse_user_activities_operations.rb +134 -0
  34. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb +258 -0
  35. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_operations.rb +4 -4
  36. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_rule_baselines.rb +400 -0
  37. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessments.rb +356 -0
  38. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/databases.rb +4 -4
  39. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_database_blob_auditing_policies.rb +258 -0
  40. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/extended_server_blob_auditing_policies.rb +290 -0
  41. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb +816 -0
  42. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_credentials.rb +571 -0
  43. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_executions.rb +1101 -0
  44. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_step_executions.rb +415 -0
  45. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_steps.rb +927 -0
  46. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_executions.rb +697 -0
  47. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_groups.rb +571 -0
  48. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_versions.rb +358 -0
  49. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/jobs.rb +570 -0
  50. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/long_term_retention_backups.rb +925 -0
  51. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb +963 -0
  52. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb +110 -0
  53. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/blob_auditing_policy_state.rb +16 -0
  54. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/complete_database_restore_definition.rb +47 -0
  55. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb +1 -0
  56. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/data_warehouse_user_activities.rb +74 -0
  57. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database.rb +9 -9
  58. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb +238 -0
  59. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_operation.rb +36 -0
  60. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/{status.rb → database_status.rb} +2 -2
  61. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb +9 -9
  62. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment.rb +100 -0
  63. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline.rb +84 -0
  64. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_rule_baseline_item.rb +56 -0
  65. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_database_blob_auditing_policy.rb +238 -0
  66. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/extended_server_blob_auditing_policy.rb +238 -0
  67. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job.rb +99 -0
  68. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent.rb +122 -0
  69. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_list_result.rb +100 -0
  70. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_state.rb +19 -0
  71. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_agent_update.rb +54 -0
  72. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential.rb +85 -0
  73. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_credential_list_result.rb +100 -0
  74. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution.rb +224 -0
  75. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_lifecycle.rb +24 -0
  76. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_list_result.rb +100 -0
  77. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_execution_target.rb +73 -0
  78. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_list_result.rb +100 -0
  79. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule.rb +98 -0
  80. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_schedule_type.rb +16 -0
  81. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb +135 -0
  82. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action.rb +73 -0
  83. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_source.rb +15 -0
  84. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_action_type.rb +15 -0
  85. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_execution_options.rb +100 -0
  86. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_list_result.rb +100 -0
  87. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output.rb +127 -0
  88. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step_output_type.rb +15 -0
  89. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target.rb +121 -0
  90. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group.rb +82 -0
  91. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_list_result.rb +100 -0
  92. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_group_membership_type.rb +16 -0
  93. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_target_type.rb +19 -0
  94. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version.rb +62 -0
  95. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_version_list_result.rb +100 -0
  96. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_backup.rb +134 -0
  97. 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
  98. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/long_term_retention_database_state.rb +17 -0
  99. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database.rb +242 -0
  100. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_create_mode.rb +17 -0
  101. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_list_result.rb +100 -0
  102. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_status.rb +19 -0
  103. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/managed_database_update.rb +210 -0
  104. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/provisioning_state.rb +19 -0
  105. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/{database_restore_point.rb → restore_point.rb} +6 -5
  106. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_list_result.rb +68 -0
  107. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/security_alert_policy_state.rb +17 -0
  108. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sensitivity_label.rb +84 -0
  109. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sensitivity_label_list_result.rb +100 -0
  110. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sensitivity_label_source.rb +16 -0
  111. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_blob_auditing_policy.rb +226 -0
  112. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_security_alert_policy.rb +166 -0
  113. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/{arm_sku.rb → sku.rb} +16 -11
  114. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_policy_baseline_name.rb +16 -0
  115. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb +80 -0
  116. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/{database_restore_points.rb → restore_points.rb} +93 -111
  117. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/sensitivity_labels.rb +612 -0
  118. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb +4 -4
  119. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_blob_auditing_policies.rb +290 -0
  120. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb +4 -4
  121. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_security_alert_policies.rb +290 -0
  122. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +100 -9
  123. data/lib/2017-10-01-preview/generated/azure_mgmt_sql.rb +104 -0
  124. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/backup_short_term_retention_policies.rb +684 -0
  125. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/capabilities.rb +128 -0
  126. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/database_operations.rb +338 -0
  127. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_scans.rb +621 -0
  128. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/databases.rb +1566 -0
  129. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/elastic_pool_operations.rb +338 -0
  130. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/elastic_pools.rb +815 -0
  131. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/instance_failover_groups.rb +983 -0
  132. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_tde_certificates.rb +175 -0
  133. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/backup_short_term_retention_policy.rb +74 -0
  134. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/backup_short_term_retention_policy_list_result.rb +101 -0
  135. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/capability_group.rb +17 -0
  136. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/capability_status.rb +18 -0
  137. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/catalog_collation_type.rb +16 -0
  138. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/create_mode.rb +24 -0
  139. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database.rb +482 -0
  140. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_license_type.rb +16 -0
  141. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb +100 -0
  142. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_operation.rb +233 -0
  143. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_operation_list_result.rb +100 -0
  144. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_read_scale.rb +16 -0
  145. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_status.rb +32 -0
  146. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_update.rb +425 -0
  147. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment.rb +100 -0
  148. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/database_vulnerability_assessment_scans_export.rb +76 -0
  149. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/edition_capability.rb +107 -0
  150. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool.rb +187 -0
  151. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb +107 -0
  152. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_license_type.rb +16 -0
  153. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb +100 -0
  154. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_operation.rb +231 -0
  155. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_operation_list_result.rb +100 -0
  156. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_performance_level_capability.rb +108 -0
  157. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_min_performance_level_capability.rb +86 -0
  158. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_settings.rb +57 -0
  159. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_performance_level_capability.rb +200 -0
  160. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_state.rb +17 -0
  161. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_update.rb +116 -0
  162. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/instance_failover_group.rb +156 -0
  163. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/instance_failover_group_list_result.rb +100 -0
  164. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/instance_failover_group_read_only_endpoint.rb +48 -0
  165. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/instance_failover_group_read_write_endpoint.rb +62 -0
  166. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/instance_failover_group_replication_role.rb +16 -0
  167. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/license_type_capability.rb +72 -0
  168. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/location_capabilities.rb +116 -0
  169. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/log_size_capability.rb +61 -0
  170. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/log_size_unit.rb +19 -0
  171. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/managed_instance_edition_capability.rb +94 -0
  172. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/managed_instance_family_capability.rb +161 -0
  173. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/managed_instance_pair_info.rb +57 -0
  174. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/managed_instance_vcores_capability.rb +84 -0
  175. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/managed_instance_version_capability.rb +94 -0
  176. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/management_operation_state.rb +20 -0
  177. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/max_size_capability.rb +61 -0
  178. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/max_size_range_capability.rb +113 -0
  179. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/max_size_unit.rb +18 -0
  180. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/partner_region_info.rb +60 -0
  181. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/performance_level_capability.rb +60 -0
  182. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/performance_level_unit.rb +16 -0
  183. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/proxy_resource.rb +62 -0
  184. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/read_only_endpoint_failover_policy.rb +16 -0
  185. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/read_write_endpoint_failover_policy.rb +16 -0
  186. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/resource.rb +71 -0
  187. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb +46 -0
  188. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/sample_name.rb +17 -0
  189. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/server_version_capability.rb +116 -0
  190. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/service_objective_capability.rb +166 -0
  191. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/sku.rb +97 -0
  192. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/tde_certificate.rb +84 -0
  193. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb +92 -0
  194. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_recurring_scans_properties.rb +80 -0
  195. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_scan_error.rb +59 -0
  196. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_scan_record.rb +169 -0
  197. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_scan_record_list_result.rb +102 -0
  198. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_scan_state.rb +18 -0
  199. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/models/vulnerability_assessment_scan_trigger_type.rb +16 -0
  200. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/module_definition.rb +9 -0
  201. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +171 -0
  202. data/lib/2017-10-01-preview/generated/azure_mgmt_sql/tde_certificates.rb +175 -0
  203. data/lib/azure_mgmt_sql.rb +2 -1
  204. data/lib/profiles/latest/modules/sql_profile_module.rb +855 -411
  205. data/lib/version.rb +1 -1
  206. metadata +186 -10
@@ -0,0 +1,175 @@
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
+ #
8
+ # The Azure SQL Database management API provides a RESTful set of web
9
+ # services that interact with Azure SQL Database services to manage your
10
+ # databases. The API enables you to create, retrieve, update, and delete
11
+ # databases.
12
+ #
13
+ class ManagedInstanceTdeCertificates
14
+ include MsRestAzure
15
+
16
+ #
17
+ # Creates and initializes a new instance of the ManagedInstanceTdeCertificates class.
18
+ # @param client service class for accessing basic functionality.
19
+ #
20
+ def initialize(client)
21
+ @client = client
22
+ end
23
+
24
+ # @return [SqlManagementClient] reference to the SqlManagementClient
25
+ attr_reader :client
26
+
27
+ #
28
+ # Creates a TDE certificate for a given server.
29
+ #
30
+ # @param resource_group_name [String] The name of the resource group that
31
+ # contains the resource. You can obtain this value from the Azure Resource
32
+ # Manager API or the portal.
33
+ # @param managed_instance_name [String] The name of the managed instance.
34
+ # @param parameters [TdeCertificate] The requested TDE certificate to be
35
+ # created or updated.
36
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
37
+ # will be added to the HTTP request.
38
+ #
39
+ def create(resource_group_name, managed_instance_name, parameters, custom_headers:nil)
40
+ response = create_async(resource_group_name, managed_instance_name, parameters, custom_headers:custom_headers).value!
41
+ nil
42
+ end
43
+
44
+ #
45
+ # @param resource_group_name [String] The name of the resource group that
46
+ # contains the resource. You can obtain this value from the Azure Resource
47
+ # Manager API or the portal.
48
+ # @param managed_instance_name [String] The name of the managed instance.
49
+ # @param parameters [TdeCertificate] The requested TDE certificate to be
50
+ # created or updated.
51
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
52
+ # will be added to the HTTP request.
53
+ #
54
+ # @return [Concurrent::Promise] promise which provides async access to http
55
+ # response.
56
+ #
57
+ def create_async(resource_group_name, managed_instance_name, parameters, custom_headers:nil)
58
+ # Send request
59
+ promise = begin_create_async(resource_group_name, managed_instance_name, parameters, custom_headers:custom_headers)
60
+
61
+ promise = promise.then do |response|
62
+ # Defining deserialization method.
63
+ deserialize_method = lambda do |parsed_response|
64
+ end
65
+
66
+ # Waiting for response.
67
+ @client.get_long_running_operation_result(response, deserialize_method)
68
+ end
69
+
70
+ promise
71
+ end
72
+
73
+ #
74
+ # Creates a TDE certificate for a given server.
75
+ #
76
+ # @param resource_group_name [String] The name of the resource group that
77
+ # contains the resource. You can obtain this value from the Azure Resource
78
+ # Manager API or the portal.
79
+ # @param managed_instance_name [String] The name of the managed instance.
80
+ # @param parameters [TdeCertificate] The requested TDE certificate to be
81
+ # created or updated.
82
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
83
+ # will be added to the HTTP request.
84
+ #
85
+ #
86
+ def begin_create(resource_group_name, managed_instance_name, parameters, custom_headers:nil)
87
+ response = begin_create_async(resource_group_name, managed_instance_name, parameters, custom_headers:custom_headers).value!
88
+ nil
89
+ end
90
+
91
+ #
92
+ # Creates a TDE certificate for a given server.
93
+ #
94
+ # @param resource_group_name [String] The name of the resource group that
95
+ # contains the resource. You can obtain this value from the Azure Resource
96
+ # Manager API or the portal.
97
+ # @param managed_instance_name [String] The name of the managed instance.
98
+ # @param parameters [TdeCertificate] The requested TDE certificate to be
99
+ # created or updated.
100
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
101
+ # will be added to the HTTP request.
102
+ #
103
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
104
+ #
105
+ def begin_create_with_http_info(resource_group_name, managed_instance_name, parameters, custom_headers:nil)
106
+ begin_create_async(resource_group_name, managed_instance_name, parameters, custom_headers:custom_headers).value!
107
+ end
108
+
109
+ #
110
+ # Creates a TDE certificate for a given server.
111
+ #
112
+ # @param resource_group_name [String] The name of the resource group that
113
+ # contains the resource. You can obtain this value from the Azure Resource
114
+ # Manager API or the portal.
115
+ # @param managed_instance_name [String] The name of the managed instance.
116
+ # @param parameters [TdeCertificate] The requested TDE certificate to be
117
+ # created or updated.
118
+ # @param [Hash{String => String}] A hash of custom headers that will be added
119
+ # to the HTTP request.
120
+ #
121
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
122
+ #
123
+ def begin_create_async(resource_group_name, managed_instance_name, parameters, custom_headers:nil)
124
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
125
+ fail ArgumentError, 'managed_instance_name is nil' if managed_instance_name.nil?
126
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
127
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
128
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
129
+
130
+
131
+ request_headers = {}
132
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
133
+
134
+ # Set Headers
135
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
136
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
137
+
138
+ # Serialize Request
139
+ request_mapper = Azure::SQL::Mgmt::V2017_10_01_preview::Models::TdeCertificate.mapper()
140
+ request_content = @client.serialize(request_mapper, parameters)
141
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
142
+
143
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/tdeCertificates'
144
+
145
+ request_url = @base_url || @client.base_url
146
+
147
+ options = {
148
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
149
+ path_params: {'resourceGroupName' => resource_group_name,'managedInstanceName' => managed_instance_name,'subscriptionId' => @client.subscription_id},
150
+ query_params: {'api-version' => @client.api_version},
151
+ body: request_content,
152
+ headers: request_headers.merge(custom_headers || {}),
153
+ base_url: request_url
154
+ }
155
+ promise = @client.make_request_async(:post, path_template, options)
156
+
157
+ promise = promise.then do |result|
158
+ http_response = result.response
159
+ status_code = http_response.status
160
+ response_content = http_response.body
161
+ unless status_code == 200 || status_code == 202
162
+ error_model = JSON.load(response_content)
163
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
164
+ end
165
+
166
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
167
+
168
+ result
169
+ end
170
+
171
+ promise.execute
172
+ end
173
+
174
+ end
175
+ end
@@ -0,0 +1,74 @@
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 short term retention policy.
10
+ #
11
+ class BackupShortTermRetentionPolicy < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] The backup retention period in days. This is how many
16
+ # days Point-in-Time Restore will be supported.
17
+ attr_accessor :retention_days
18
+
19
+
20
+ #
21
+ # Mapper for BackupShortTermRetentionPolicy class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'BackupShortTermRetentionPolicy',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'BackupShortTermRetentionPolicy',
32
+ model_properties: {
33
+ id: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'id',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ name: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ type: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'type',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ retention_days: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'properties.retentionDays',
64
+ type: {
65
+ name: 'Number'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,101 @@
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 list of short term retention policies.
10
+ #
11
+ class BackupShortTermRetentionPolicyListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<BackupShortTermRetentionPolicy>] 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<BackupShortTermRetentionPolicy>] 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 [BackupShortTermRetentionPolicyListResult] with next page
44
+ # content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for BackupShortTermRetentionPolicyListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'BackupShortTermRetentionPolicyListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'BackupShortTermRetentionPolicyListResult',
67
+ model_properties: {
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'value',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'BackupShortTermRetentionPolicyElementType',
79
+ type: {
80
+ name: 'Composite',
81
+ class_name: 'BackupShortTermRetentionPolicy'
82
+ }
83
+ }
84
+ }
85
+ },
86
+ next_link: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ read_only: true,
90
+ serialized_name: 'nextLink',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,17 @@
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 CapabilityGroup
10
+ #
11
+ module CapabilityGroup
12
+ SupportedEditions = "supportedEditions"
13
+ SupportedElasticPoolEditions = "supportedElasticPoolEditions"
14
+ SupportedManagedInstanceVersions = "supportedManagedInstanceVersions"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,18 @@
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 CapabilityStatus
10
+ #
11
+ module CapabilityStatus
12
+ Visible = "Visible"
13
+ Available = "Available"
14
+ Default = "Default"
15
+ Disabled = "Disabled"
16
+ end
17
+ end
18
+ 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 CatalogCollationType
10
+ #
11
+ module CatalogCollationType
12
+ DATABASEDEFAULT = "DATABASE_DEFAULT"
13
+ SQLLatin1GeneralCP1CIAS = "SQL_Latin1_General_CP1_CI_AS"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,24 @@
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 CreateMode
10
+ #
11
+ module CreateMode
12
+ Default = "Default"
13
+ Copy = "Copy"
14
+ Secondary = "Secondary"
15
+ PointInTimeRestore = "PointInTimeRestore"
16
+ Restore = "Restore"
17
+ Recovery = "Recovery"
18
+ RestoreExternalBackup = "RestoreExternalBackup"
19
+ RestoreExternalBackupSecondary = "RestoreExternalBackupSecondary"
20
+ RestoreLongTermRetentionBackup = "RestoreLongTermRetentionBackup"
21
+ OnlineSecondary = "OnlineSecondary"
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,482 @@
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 Database < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Sku] The name and tier of the SKU.
16
+ attr_accessor :sku
17
+
18
+ # @return [String] Kind of database. This is metadata used for the Azure
19
+ # portal experience.
20
+ attr_accessor :kind
21
+
22
+ # @return [String] Resource that manages the database.
23
+ attr_accessor :managed_by
24
+
25
+ # @return [CreateMode] Specifies the mode of database creation.
26
+ #
27
+ # Default: regular database creation.
28
+ #
29
+ # Copy: creates a database as a copy of an existing database.
30
+ # sourceDatabaseId must be specified as the resource ID of the source
31
+ # database.
32
+ #
33
+ # Secondary: creates a database as a secondary replica of an existing
34
+ # database. sourceDatabaseId must be specified as the resource ID of the
35
+ # existing primary database.
36
+ #
37
+ # PointInTimeRestore: Creates a database by restoring a point in time
38
+ # backup of an existing database. sourceDatabaseId must be specified as
39
+ # the resource ID of the existing database, and restorePointInTime must
40
+ # be specified.
41
+ #
42
+ # Recovery: Creates a database by restoring a geo-replicated backup.
43
+ # sourceDatabaseId must be specified as the recoverable database resource
44
+ # ID to restore.
45
+ #
46
+ # Restore: Creates a database by restoring a backup of a deleted
47
+ # database. sourceDatabaseId must be specified. If sourceDatabaseId is
48
+ # the database's original resource ID, then sourceDatabaseDeletionDate
49
+ # must be specified. Otherwise sourceDatabaseId must be the restorable
50
+ # dropped database resource ID and sourceDatabaseDeletionDate is ignored.
51
+ # restorePointInTime may also be specified to restore from an earlier
52
+ # point in time.
53
+ #
54
+ # RestoreLongTermRetentionBackup: Creates a database by restoring from a
55
+ # long term retention vault. recoveryServicesRecoveryPointResourceId must
56
+ # be specified as the recovery point resource ID.
57
+ #
58
+ # Copy, Secondary, and RestoreLongTermRetentionBackup are not supported
59
+ # for DataWarehouse edition. Possible values include: 'Default', 'Copy',
60
+ # 'Secondary', 'PointInTimeRestore', 'Restore', 'Recovery',
61
+ # 'RestoreExternalBackup', 'RestoreExternalBackupSecondary',
62
+ # 'RestoreLongTermRetentionBackup', 'OnlineSecondary'
63
+ attr_accessor :create_mode
64
+
65
+ # @return [String] The collation of the database.
66
+ attr_accessor :collation
67
+
68
+ # @return [Integer] The max size of the database expressed in bytes.
69
+ attr_accessor :max_size_bytes
70
+
71
+ # @return [SampleName] The name of the sample schema to apply when
72
+ # creating this database. Possible values include: 'AdventureWorksLT',
73
+ # 'WideWorldImportersStd', 'WideWorldImportersFull'
74
+ attr_accessor :sample_name
75
+
76
+ # @return [String] The resource identifier of the elastic pool containing
77
+ # this database.
78
+ attr_accessor :elastic_pool_id
79
+
80
+ # @return [String] The resource identifier of the source database
81
+ # associated with create operation of this database.
82
+ attr_accessor :source_database_id
83
+
84
+ # @return [DatabaseStatus] The status of the database. Possible values
85
+ # include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering',
86
+ # 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode',
87
+ # 'AutoClosed', 'Copying', 'Creating', 'Inaccessible',
88
+ # 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling'
89
+ attr_accessor :status
90
+
91
+ # @return The ID of the database.
92
+ attr_accessor :database_id
93
+
94
+ # @return [DateTime] The creation date of the database (ISO8601 format).
95
+ attr_accessor :creation_date
96
+
97
+ # @return [String] The current service level objective name of the
98
+ # database.
99
+ attr_accessor :current_service_objective_name
100
+
101
+ # @return [String] The requested service level objective name of the
102
+ # database.
103
+ attr_accessor :requested_service_objective_name
104
+
105
+ # @return [String] The default secondary region for this database.
106
+ attr_accessor :default_secondary_location
107
+
108
+ # @return [String] Failover Group resource identifier that this database
109
+ # belongs to.
110
+ attr_accessor :failover_group_id
111
+
112
+ # @return [DateTime] Specifies the point in time (ISO8601 format) of the
113
+ # source database that will be restored to create the new database.
114
+ attr_accessor :restore_point_in_time
115
+
116
+ # @return [DateTime] Specifies the time that the database was deleted.
117
+ attr_accessor :source_database_deletion_date
118
+
119
+ # @return [String] The resource identifier of the recovery point
120
+ # associated with create operation of this database.
121
+ attr_accessor :recovery_services_recovery_point_id
122
+
123
+ # @return [String] The resource identifier of the long term retention
124
+ # backup associated with create operation of this database.
125
+ attr_accessor :long_term_retention_backup_resource_id
126
+
127
+ # @return [String] The resource identifier of the recoverable database
128
+ # associated with create operation of this database.
129
+ attr_accessor :recoverable_database_id
130
+
131
+ # @return [String] The resource identifier of the restorable dropped
132
+ # database associated with create operation of this database.
133
+ attr_accessor :restorable_dropped_database_id
134
+
135
+ # @return [CatalogCollationType] Collation of the metadata catalog.
136
+ # Possible values include: 'DATABASE_DEFAULT',
137
+ # 'SQL_Latin1_General_CP1_CI_AS'
138
+ attr_accessor :catalog_collation
139
+
140
+ # @return [Boolean] Whether or not this database is zone redundant, which
141
+ # means the replicas of this database will be spread across multiple
142
+ # availability zones.
143
+ attr_accessor :zone_redundant
144
+
145
+ # @return [DatabaseLicenseType] The license type to apply for this
146
+ # database. Possible values include: 'LicenseIncluded', 'BasePrice'
147
+ attr_accessor :license_type
148
+
149
+ # @return [Integer] The max log size for this database.
150
+ attr_accessor :max_log_size_bytes
151
+
152
+ # @return [DateTime] This records the earliest start date and time that
153
+ # restore is available for this database (ISO8601 format).
154
+ attr_accessor :earliest_restore_date
155
+
156
+ # @return [DatabaseReadScale] The state of read-only routing. If enabled,
157
+ # connections that have application intent set to readonly in their
158
+ # connection string may be routed to a readonly secondary replica in the
159
+ # same region. Possible values include: 'Enabled', 'Disabled'
160
+ attr_accessor :read_scale
161
+
162
+ # @return [Sku] The name and tier of the SKU.
163
+ attr_accessor :current_sku
164
+
165
+
166
+ #
167
+ # Mapper for Database class as Ruby Hash.
168
+ # This will be used for serialization/deserialization.
169
+ #
170
+ def self.mapper()
171
+ {
172
+ client_side_validation: true,
173
+ required: false,
174
+ serialized_name: 'Database',
175
+ type: {
176
+ name: 'Composite',
177
+ class_name: 'Database',
178
+ model_properties: {
179
+ id: {
180
+ client_side_validation: true,
181
+ required: false,
182
+ read_only: true,
183
+ serialized_name: 'id',
184
+ type: {
185
+ name: 'String'
186
+ }
187
+ },
188
+ name: {
189
+ client_side_validation: true,
190
+ required: false,
191
+ read_only: true,
192
+ serialized_name: 'name',
193
+ type: {
194
+ name: 'String'
195
+ }
196
+ },
197
+ type: {
198
+ client_side_validation: true,
199
+ required: false,
200
+ read_only: true,
201
+ serialized_name: 'type',
202
+ type: {
203
+ name: 'String'
204
+ }
205
+ },
206
+ location: {
207
+ client_side_validation: true,
208
+ required: true,
209
+ serialized_name: 'location',
210
+ type: {
211
+ name: 'String'
212
+ }
213
+ },
214
+ tags: {
215
+ client_side_validation: true,
216
+ required: false,
217
+ serialized_name: 'tags',
218
+ type: {
219
+ name: 'Dictionary',
220
+ value: {
221
+ client_side_validation: true,
222
+ required: false,
223
+ serialized_name: 'StringElementType',
224
+ type: {
225
+ name: 'String'
226
+ }
227
+ }
228
+ }
229
+ },
230
+ sku: {
231
+ client_side_validation: true,
232
+ required: false,
233
+ serialized_name: 'sku',
234
+ type: {
235
+ name: 'Composite',
236
+ class_name: 'Sku'
237
+ }
238
+ },
239
+ kind: {
240
+ client_side_validation: true,
241
+ required: false,
242
+ read_only: true,
243
+ serialized_name: 'kind',
244
+ type: {
245
+ name: 'String'
246
+ }
247
+ },
248
+ managed_by: {
249
+ client_side_validation: true,
250
+ required: false,
251
+ read_only: true,
252
+ serialized_name: 'managedBy',
253
+ type: {
254
+ name: 'String'
255
+ }
256
+ },
257
+ create_mode: {
258
+ client_side_validation: true,
259
+ required: false,
260
+ serialized_name: 'properties.createMode',
261
+ type: {
262
+ name: 'String'
263
+ }
264
+ },
265
+ collation: {
266
+ client_side_validation: true,
267
+ required: false,
268
+ serialized_name: 'properties.collation',
269
+ type: {
270
+ name: 'String'
271
+ }
272
+ },
273
+ max_size_bytes: {
274
+ client_side_validation: true,
275
+ required: false,
276
+ serialized_name: 'properties.maxSizeBytes',
277
+ type: {
278
+ name: 'Number'
279
+ }
280
+ },
281
+ sample_name: {
282
+ client_side_validation: true,
283
+ required: false,
284
+ serialized_name: 'properties.sampleName',
285
+ type: {
286
+ name: 'String'
287
+ }
288
+ },
289
+ elastic_pool_id: {
290
+ client_side_validation: true,
291
+ required: false,
292
+ serialized_name: 'properties.elasticPoolId',
293
+ type: {
294
+ name: 'String'
295
+ }
296
+ },
297
+ source_database_id: {
298
+ client_side_validation: true,
299
+ required: false,
300
+ serialized_name: 'properties.sourceDatabaseId',
301
+ type: {
302
+ name: 'String'
303
+ }
304
+ },
305
+ status: {
306
+ client_side_validation: true,
307
+ required: false,
308
+ read_only: true,
309
+ serialized_name: 'properties.status',
310
+ type: {
311
+ name: 'String'
312
+ }
313
+ },
314
+ database_id: {
315
+ client_side_validation: true,
316
+ required: false,
317
+ read_only: true,
318
+ serialized_name: 'properties.databaseId',
319
+ type: {
320
+ name: 'String'
321
+ }
322
+ },
323
+ creation_date: {
324
+ client_side_validation: true,
325
+ required: false,
326
+ read_only: true,
327
+ serialized_name: 'properties.creationDate',
328
+ type: {
329
+ name: 'DateTime'
330
+ }
331
+ },
332
+ current_service_objective_name: {
333
+ client_side_validation: true,
334
+ required: false,
335
+ read_only: true,
336
+ serialized_name: 'properties.currentServiceObjectiveName',
337
+ type: {
338
+ name: 'String'
339
+ }
340
+ },
341
+ requested_service_objective_name: {
342
+ client_side_validation: true,
343
+ required: false,
344
+ read_only: true,
345
+ serialized_name: 'properties.requestedServiceObjectiveName',
346
+ type: {
347
+ name: 'String'
348
+ }
349
+ },
350
+ default_secondary_location: {
351
+ client_side_validation: true,
352
+ required: false,
353
+ read_only: true,
354
+ serialized_name: 'properties.defaultSecondaryLocation',
355
+ type: {
356
+ name: 'String'
357
+ }
358
+ },
359
+ failover_group_id: {
360
+ client_side_validation: true,
361
+ required: false,
362
+ read_only: true,
363
+ serialized_name: 'properties.failoverGroupId',
364
+ type: {
365
+ name: 'String'
366
+ }
367
+ },
368
+ restore_point_in_time: {
369
+ client_side_validation: true,
370
+ required: false,
371
+ serialized_name: 'properties.restorePointInTime',
372
+ type: {
373
+ name: 'DateTime'
374
+ }
375
+ },
376
+ source_database_deletion_date: {
377
+ client_side_validation: true,
378
+ required: false,
379
+ serialized_name: 'properties.sourceDatabaseDeletionDate',
380
+ type: {
381
+ name: 'DateTime'
382
+ }
383
+ },
384
+ recovery_services_recovery_point_id: {
385
+ client_side_validation: true,
386
+ required: false,
387
+ serialized_name: 'properties.recoveryServicesRecoveryPointId',
388
+ type: {
389
+ name: 'String'
390
+ }
391
+ },
392
+ long_term_retention_backup_resource_id: {
393
+ client_side_validation: true,
394
+ required: false,
395
+ serialized_name: 'properties.longTermRetentionBackupResourceId',
396
+ type: {
397
+ name: 'String'
398
+ }
399
+ },
400
+ recoverable_database_id: {
401
+ client_side_validation: true,
402
+ required: false,
403
+ serialized_name: 'properties.recoverableDatabaseId',
404
+ type: {
405
+ name: 'String'
406
+ }
407
+ },
408
+ restorable_dropped_database_id: {
409
+ client_side_validation: true,
410
+ required: false,
411
+ serialized_name: 'properties.restorableDroppedDatabaseId',
412
+ type: {
413
+ name: 'String'
414
+ }
415
+ },
416
+ catalog_collation: {
417
+ client_side_validation: true,
418
+ required: false,
419
+ serialized_name: 'properties.catalogCollation',
420
+ type: {
421
+ name: 'String'
422
+ }
423
+ },
424
+ zone_redundant: {
425
+ client_side_validation: true,
426
+ required: false,
427
+ serialized_name: 'properties.zoneRedundant',
428
+ type: {
429
+ name: 'Boolean'
430
+ }
431
+ },
432
+ license_type: {
433
+ client_side_validation: true,
434
+ required: false,
435
+ serialized_name: 'properties.licenseType',
436
+ type: {
437
+ name: 'String'
438
+ }
439
+ },
440
+ max_log_size_bytes: {
441
+ client_side_validation: true,
442
+ required: false,
443
+ read_only: true,
444
+ serialized_name: 'properties.maxLogSizeBytes',
445
+ type: {
446
+ name: 'Number'
447
+ }
448
+ },
449
+ earliest_restore_date: {
450
+ client_side_validation: true,
451
+ required: false,
452
+ read_only: true,
453
+ serialized_name: 'properties.earliestRestoreDate',
454
+ type: {
455
+ name: 'DateTime'
456
+ }
457
+ },
458
+ read_scale: {
459
+ client_side_validation: true,
460
+ required: false,
461
+ serialized_name: 'properties.readScale',
462
+ type: {
463
+ name: 'String'
464
+ }
465
+ },
466
+ current_sku: {
467
+ client_side_validation: true,
468
+ required: false,
469
+ read_only: true,
470
+ serialized_name: 'properties.currentSku',
471
+ type: {
472
+ name: 'Composite',
473
+ class_name: 'Sku'
474
+ }
475
+ }
476
+ }
477
+ }
478
+ }
479
+ end
480
+ end
481
+ end
482
+ end