azure_mgmt_sql 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_sql.rb +61 -56
  3. data/lib/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb +1 -1
  4. data/lib/generated/azure_mgmt_sql/backup_long_term_retention_vaults.rb +1 -1
  5. data/lib/generated/azure_mgmt_sql/capabilities.rb +1 -1
  6. data/lib/generated/azure_mgmt_sql/data_masking_policies.rb +1 -1
  7. data/lib/generated/azure_mgmt_sql/data_masking_rules.rb +1 -1
  8. data/lib/generated/azure_mgmt_sql/database_blob_auditing_policies.rb +1 -1
  9. data/lib/generated/azure_mgmt_sql/database_operations.rb +335 -0
  10. data/lib/generated/azure_mgmt_sql/database_threat_detection_policies.rb +1 -1
  11. data/lib/generated/azure_mgmt_sql/database_usages.rb +1 -1
  12. data/lib/generated/azure_mgmt_sql/databases.rb +1 -1
  13. data/lib/generated/azure_mgmt_sql/elastic_pool_activities.rb +1 -1
  14. data/lib/generated/azure_mgmt_sql/elastic_pool_database_activities.rb +1 -1
  15. data/lib/generated/azure_mgmt_sql/elastic_pools.rb +1 -1
  16. data/lib/generated/azure_mgmt_sql/encryption_protectors.rb +1 -1
  17. data/lib/generated/azure_mgmt_sql/failover_groups.rb +1 -1
  18. data/lib/generated/azure_mgmt_sql/firewall_rules.rb +1 -1
  19. data/lib/generated/azure_mgmt_sql/geo_backup_policies.rb +1 -1
  20. data/lib/generated/azure_mgmt_sql/models/authentication_type.rb +1 -1
  21. data/lib/generated/azure_mgmt_sql/models/backup_long_term_retention_policy.rb +1 -1
  22. data/lib/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_state.rb +1 -1
  23. data/lib/generated/azure_mgmt_sql/models/backup_long_term_retention_vault.rb +1 -1
  24. data/lib/generated/azure_mgmt_sql/models/blob_auditing_policy_state.rb +1 -1
  25. data/lib/generated/azure_mgmt_sql/models/capability_status.rb +1 -1
  26. data/lib/generated/azure_mgmt_sql/models/check_name_availability_reason.rb +1 -1
  27. data/lib/generated/azure_mgmt_sql/models/check_name_availability_request.rb +1 -1
  28. data/lib/generated/azure_mgmt_sql/models/check_name_availability_response.rb +1 -1
  29. data/lib/generated/azure_mgmt_sql/models/create_mode.rb +1 -1
  30. data/lib/generated/azure_mgmt_sql/models/data_masking_function.rb +1 -1
  31. data/lib/generated/azure_mgmt_sql/models/data_masking_policy.rb +1 -1
  32. data/lib/generated/azure_mgmt_sql/models/data_masking_rule.rb +1 -1
  33. data/lib/generated/azure_mgmt_sql/models/data_masking_rule_list_result.rb +1 -1
  34. data/lib/generated/azure_mgmt_sql/models/data_masking_rule_state.rb +1 -1
  35. data/lib/generated/azure_mgmt_sql/models/data_masking_state.rb +1 -1
  36. data/lib/generated/azure_mgmt_sql/models/database.rb +1 -1
  37. data/lib/generated/azure_mgmt_sql/models/database_blob_auditing_policy.rb +1 -1
  38. data/lib/generated/azure_mgmt_sql/models/database_edition.rb +1 -1
  39. data/lib/generated/azure_mgmt_sql/models/database_list_result.rb +1 -1
  40. data/lib/generated/azure_mgmt_sql/models/database_operation.rb +183 -0
  41. data/lib/generated/azure_mgmt_sql/models/database_operation_list_result.rb +96 -0
  42. data/lib/generated/azure_mgmt_sql/models/database_security_alert_policy.rb +1 -1
  43. data/lib/generated/azure_mgmt_sql/models/database_update.rb +1 -1
  44. data/lib/generated/azure_mgmt_sql/models/database_usage.rb +1 -1
  45. data/lib/generated/azure_mgmt_sql/models/database_usage_list_result.rb +1 -1
  46. data/lib/generated/azure_mgmt_sql/models/edition_capability.rb +1 -1
  47. data/lib/generated/azure_mgmt_sql/models/elastic_pool.rb +1 -1
  48. data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity.rb +1 -1
  49. data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb +1 -1
  50. data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb +1 -1
  51. data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb +1 -1
  52. data/lib/generated/azure_mgmt_sql/models/elastic_pool_dtu_capability.rb +1 -1
  53. data/lib/generated/azure_mgmt_sql/models/elastic_pool_edition.rb +1 -1
  54. data/lib/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb +1 -1
  55. data/lib/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb +1 -1
  56. data/lib/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_dtu_capability.rb +1 -1
  57. data/lib/generated/azure_mgmt_sql/models/elastic_pool_per_database_min_dtu_capability.rb +1 -1
  58. data/lib/generated/azure_mgmt_sql/models/elastic_pool_state.rb +1 -1
  59. data/lib/generated/azure_mgmt_sql/models/elastic_pool_update.rb +1 -1
  60. data/lib/generated/azure_mgmt_sql/models/encryption_protector.rb +1 -1
  61. data/lib/generated/azure_mgmt_sql/models/encryption_protector_list_result.rb +1 -1
  62. data/lib/generated/azure_mgmt_sql/models/export_request.rb +1 -1
  63. data/lib/generated/azure_mgmt_sql/models/failover_group.rb +1 -1
  64. data/lib/generated/azure_mgmt_sql/models/failover_group_list_result.rb +1 -1
  65. data/lib/generated/azure_mgmt_sql/models/failover_group_read_only_endpoint.rb +1 -1
  66. data/lib/generated/azure_mgmt_sql/models/failover_group_read_write_endpoint.rb +1 -1
  67. data/lib/generated/azure_mgmt_sql/models/failover_group_replication_role.rb +1 -1
  68. data/lib/generated/azure_mgmt_sql/models/failover_group_update.rb +1 -1
  69. data/lib/generated/azure_mgmt_sql/models/firewall_rule.rb +1 -1
  70. data/lib/generated/azure_mgmt_sql/models/firewall_rule_list_result.rb +1 -1
  71. data/lib/generated/azure_mgmt_sql/models/geo_backup_policy.rb +1 -1
  72. data/lib/generated/azure_mgmt_sql/models/geo_backup_policy_list_result.rb +1 -1
  73. data/lib/generated/azure_mgmt_sql/models/geo_backup_policy_state.rb +1 -1
  74. data/lib/generated/azure_mgmt_sql/models/identity_type.rb +1 -1
  75. data/lib/generated/azure_mgmt_sql/models/import_export_response.rb +1 -1
  76. data/lib/generated/azure_mgmt_sql/models/import_extension_request.rb +1 -1
  77. data/lib/generated/azure_mgmt_sql/models/import_request.rb +1 -1
  78. data/lib/generated/azure_mgmt_sql/models/location_capabilities.rb +1 -1
  79. data/lib/generated/azure_mgmt_sql/models/management_operation_state.rb +20 -0
  80. data/lib/generated/azure_mgmt_sql/models/max_size_capability.rb +1 -1
  81. data/lib/generated/azure_mgmt_sql/models/max_size_units.rb +1 -1
  82. data/lib/generated/azure_mgmt_sql/models/metric.rb +1 -1
  83. data/lib/generated/azure_mgmt_sql/models/metric_availability.rb +1 -1
  84. data/lib/generated/azure_mgmt_sql/models/metric_definition.rb +1 -1
  85. data/lib/generated/azure_mgmt_sql/models/metric_definition_list_result.rb +1 -1
  86. data/lib/generated/azure_mgmt_sql/models/metric_list_result.rb +1 -1
  87. data/lib/generated/azure_mgmt_sql/models/metric_name.rb +1 -1
  88. data/lib/generated/azure_mgmt_sql/models/metric_value.rb +1 -1
  89. data/lib/generated/azure_mgmt_sql/models/operation.rb +1 -1
  90. data/lib/generated/azure_mgmt_sql/models/operation_display.rb +1 -1
  91. data/lib/generated/azure_mgmt_sql/models/operation_impact.rb +1 -1
  92. data/lib/generated/azure_mgmt_sql/models/operation_list_result.rb +1 -1
  93. data/lib/generated/azure_mgmt_sql/models/operation_origin.rb +1 -1
  94. data/lib/generated/azure_mgmt_sql/models/partner_info.rb +1 -1
  95. data/lib/generated/azure_mgmt_sql/models/performance_level_unit.rb +1 -1
  96. data/lib/generated/azure_mgmt_sql/models/primary_aggregation_type.rb +1 -1
  97. data/lib/generated/azure_mgmt_sql/models/proxy_resource.rb +1 -1
  98. data/lib/generated/azure_mgmt_sql/models/read_only_endpoint_failover_policy.rb +1 -1
  99. data/lib/generated/azure_mgmt_sql/models/read_scale.rb +1 -1
  100. data/lib/generated/azure_mgmt_sql/models/read_write_endpoint_failover_policy.rb +1 -1
  101. data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb +1 -1
  102. data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb +1 -1
  103. data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb +1 -1
  104. data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb +1 -1
  105. data/lib/generated/azure_mgmt_sql/models/recommended_index.rb +1 -1
  106. data/lib/generated/azure_mgmt_sql/models/recommended_index_action.rb +1 -1
  107. data/lib/generated/azure_mgmt_sql/models/recommended_index_state.rb +1 -1
  108. data/lib/generated/azure_mgmt_sql/models/recommended_index_type.rb +1 -1
  109. data/lib/generated/azure_mgmt_sql/models/recoverable_database.rb +1 -1
  110. data/lib/generated/azure_mgmt_sql/models/recoverable_database_list_result.rb +1 -1
  111. data/lib/generated/azure_mgmt_sql/models/replication_link.rb +1 -1
  112. data/lib/generated/azure_mgmt_sql/models/replication_link_list_result.rb +1 -1
  113. data/lib/generated/azure_mgmt_sql/models/replication_role.rb +1 -1
  114. data/lib/generated/azure_mgmt_sql/models/replication_state.rb +1 -1
  115. data/lib/generated/azure_mgmt_sql/models/resource_identity.rb +1 -1
  116. data/lib/generated/azure_mgmt_sql/models/restorable_dropped_database.rb +1 -1
  117. data/lib/generated/azure_mgmt_sql/models/restorable_dropped_database_list_result.rb +1 -1
  118. data/lib/generated/azure_mgmt_sql/models/restore_point.rb +1 -1
  119. data/lib/generated/azure_mgmt_sql/models/restore_point_list_result.rb +1 -1
  120. data/lib/generated/azure_mgmt_sql/models/restore_point_type.rb +1 -1
  121. data/lib/generated/azure_mgmt_sql/models/sample_name.rb +1 -1
  122. data/lib/generated/azure_mgmt_sql/models/security_alert_policy_email_account_admins.rb +1 -1
  123. data/lib/generated/azure_mgmt_sql/models/security_alert_policy_state.rb +1 -1
  124. data/lib/generated/azure_mgmt_sql/models/security_alert_policy_use_server_default.rb +1 -1
  125. data/lib/generated/azure_mgmt_sql/models/server.rb +1 -1
  126. data/lib/generated/azure_mgmt_sql/models/server_administrator_list_result.rb +1 -1
  127. data/lib/generated/azure_mgmt_sql/models/server_azure_adadministrator.rb +1 -1
  128. data/lib/generated/azure_mgmt_sql/models/server_communication_link.rb +1 -1
  129. data/lib/generated/azure_mgmt_sql/models/server_communication_link_list_result.rb +1 -1
  130. data/lib/generated/azure_mgmt_sql/models/server_connection_policy.rb +1 -1
  131. data/lib/generated/azure_mgmt_sql/models/server_connection_type.rb +1 -1
  132. data/lib/generated/azure_mgmt_sql/models/server_key.rb +1 -1
  133. data/lib/generated/azure_mgmt_sql/models/server_key_list_result.rb +1 -1
  134. data/lib/generated/azure_mgmt_sql/models/server_key_type.rb +1 -1
  135. data/lib/generated/azure_mgmt_sql/models/server_list_result.rb +1 -1
  136. data/lib/generated/azure_mgmt_sql/models/server_update.rb +1 -1
  137. data/lib/generated/azure_mgmt_sql/models/server_usage.rb +1 -1
  138. data/lib/generated/azure_mgmt_sql/models/server_usage_list_result.rb +1 -1
  139. data/lib/generated/azure_mgmt_sql/models/server_version_capability.rb +1 -1
  140. data/lib/generated/azure_mgmt_sql/models/service_objective.rb +1 -1
  141. data/lib/generated/azure_mgmt_sql/models/service_objective_capability.rb +1 -1
  142. data/lib/generated/azure_mgmt_sql/models/service_objective_list_result.rb +1 -1
  143. data/lib/generated/azure_mgmt_sql/models/service_objective_name.rb +1 -1
  144. data/lib/generated/azure_mgmt_sql/models/service_tier_advisor.rb +1 -1
  145. data/lib/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb +1 -1
  146. data/lib/generated/azure_mgmt_sql/models/slo_usage_metric.rb +1 -1
  147. data/lib/generated/azure_mgmt_sql/models/storage_key_type.rb +1 -1
  148. data/lib/generated/azure_mgmt_sql/models/sync_agent.rb +1 -1
  149. data/lib/generated/azure_mgmt_sql/models/sync_agent_key_properties.rb +1 -1
  150. data/lib/generated/azure_mgmt_sql/models/sync_agent_linked_database.rb +1 -1
  151. data/lib/generated/azure_mgmt_sql/models/sync_agent_linked_database_list_result.rb +1 -1
  152. data/lib/generated/azure_mgmt_sql/models/sync_agent_list_result.rb +1 -1
  153. data/lib/generated/azure_mgmt_sql/models/sync_agent_state.rb +1 -1
  154. data/lib/generated/azure_mgmt_sql/models/sync_conflict_resolution_policy.rb +1 -1
  155. data/lib/generated/azure_mgmt_sql/models/sync_database_id_list_result.rb +1 -1
  156. data/lib/generated/azure_mgmt_sql/models/sync_database_id_properties.rb +1 -1
  157. data/lib/generated/azure_mgmt_sql/models/sync_direction.rb +1 -1
  158. data/lib/generated/azure_mgmt_sql/models/sync_full_schema_properties.rb +1 -1
  159. data/lib/generated/azure_mgmt_sql/models/sync_full_schema_properties_list_result.rb +1 -1
  160. data/lib/generated/azure_mgmt_sql/models/sync_full_schema_table.rb +1 -1
  161. data/lib/generated/azure_mgmt_sql/models/sync_full_schema_table_column.rb +1 -1
  162. data/lib/generated/azure_mgmt_sql/models/sync_group.rb +1 -1
  163. data/lib/generated/azure_mgmt_sql/models/sync_group_list_result.rb +1 -1
  164. data/lib/generated/azure_mgmt_sql/models/sync_group_log_list_result.rb +1 -1
  165. data/lib/generated/azure_mgmt_sql/models/sync_group_log_properties.rb +1 -1
  166. data/lib/generated/azure_mgmt_sql/models/sync_group_log_type.rb +1 -1
  167. data/lib/generated/azure_mgmt_sql/models/sync_group_schema.rb +1 -1
  168. data/lib/generated/azure_mgmt_sql/models/sync_group_schema_table.rb +1 -1
  169. data/lib/generated/azure_mgmt_sql/models/sync_group_schema_table_column.rb +1 -1
  170. data/lib/generated/azure_mgmt_sql/models/sync_group_state.rb +1 -1
  171. data/lib/generated/azure_mgmt_sql/models/sync_member.rb +1 -1
  172. data/lib/generated/azure_mgmt_sql/models/sync_member_db_type.rb +1 -1
  173. data/lib/generated/azure_mgmt_sql/models/sync_member_list_result.rb +1 -1
  174. data/lib/generated/azure_mgmt_sql/models/sync_member_state.rb +1 -1
  175. data/lib/generated/azure_mgmt_sql/models/tracked_resource.rb +1 -1
  176. data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption.rb +1 -1
  177. data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb +1 -1
  178. data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb +1 -1
  179. data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_status.rb +1 -1
  180. data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_status.rb +1 -1
  181. data/lib/generated/azure_mgmt_sql/models/unit_definition_type.rb +1 -1
  182. data/lib/generated/azure_mgmt_sql/models/unit_type.rb +1 -1
  183. data/lib/generated/azure_mgmt_sql/models/virtual_network_rule.rb +25 -1
  184. data/lib/generated/azure_mgmt_sql/models/virtual_network_rule_list_result.rb +1 -1
  185. data/lib/generated/azure_mgmt_sql/models/virtual_network_rule_state.rb +19 -0
  186. data/lib/generated/azure_mgmt_sql/module_definition.rb +1 -1
  187. data/lib/generated/azure_mgmt_sql/operations.rb +1 -1
  188. data/lib/generated/azure_mgmt_sql/recommended_elastic_pools.rb +1 -1
  189. data/lib/generated/azure_mgmt_sql/recoverable_databases.rb +1 -1
  190. data/lib/generated/azure_mgmt_sql/replication_links.rb +1 -1
  191. data/lib/generated/azure_mgmt_sql/restorable_dropped_databases.rb +1 -1
  192. data/lib/generated/azure_mgmt_sql/restore_points.rb +1 -1
  193. data/lib/generated/azure_mgmt_sql/server_azure_adadministrators.rb +1 -1
  194. data/lib/generated/azure_mgmt_sql/server_communication_links.rb +1 -1
  195. data/lib/generated/azure_mgmt_sql/server_connection_policies.rb +1 -1
  196. data/lib/generated/azure_mgmt_sql/server_keys.rb +1 -1
  197. data/lib/generated/azure_mgmt_sql/server_usages.rb +1 -1
  198. data/lib/generated/azure_mgmt_sql/servers.rb +1 -1
  199. data/lib/generated/azure_mgmt_sql/service_objectives.rb +1 -1
  200. data/lib/generated/azure_mgmt_sql/service_tier_advisors.rb +1 -1
  201. data/lib/generated/azure_mgmt_sql/sql_management_client.rb +5 -1
  202. data/lib/generated/azure_mgmt_sql/sync_agents.rb +1 -1
  203. data/lib/generated/azure_mgmt_sql/sync_groups.rb +1 -1
  204. data/lib/generated/azure_mgmt_sql/sync_members.rb +1 -1
  205. data/lib/generated/azure_mgmt_sql/transparent_data_encryption_activities.rb +1 -1
  206. data/lib/generated/azure_mgmt_sql/transparent_data_encryptions.rb +1 -1
  207. data/lib/generated/azure_mgmt_sql/version.rb +2 -2
  208. data/lib/generated/azure_mgmt_sql/virtual_network_rules.rb +1 -1
  209. metadata +7 -2
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -0,0 +1,183 @@
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::ARM::SQL
7
+ module Models
8
+ #
9
+ # A database operation.
10
+ #
11
+ class DatabaseOperation < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The name of the database the operation is being
17
+ # performed on.
18
+ attr_accessor :database_name
19
+
20
+ # @return [String] The name of operation.
21
+ attr_accessor :operation
22
+
23
+ # @return [String] The friendly name of operation.
24
+ attr_accessor :operation_friendly_name
25
+
26
+ # @return [Integer] The percentage of the operation completed.
27
+ attr_accessor :percent_complete
28
+
29
+ # @return [String] The name of the server.
30
+ attr_accessor :server_name
31
+
32
+ # @return [DateTime] The operation start time.
33
+ attr_accessor :start_time
34
+
35
+ # @return [ManagementOperationState] The operation state. Possible values
36
+ # include: 'Pending', 'InProgress', 'Succeeded', 'Failed',
37
+ # 'CancelInProgress', 'Cancelled'
38
+ attr_accessor :state
39
+
40
+ # @return [Integer] The operation error code.
41
+ attr_accessor :error_code
42
+
43
+ # @return [String] The operation error description.
44
+ attr_accessor :error_description
45
+
46
+ # @return [Integer] The operation error severity.
47
+ attr_accessor :error_severity
48
+
49
+ # @return [Boolean] Whether or not the error is a user error.
50
+ attr_accessor :is_user_error
51
+
52
+
53
+ #
54
+ # Mapper for DatabaseOperation class as Ruby Hash.
55
+ # This will be used for serialization/deserialization.
56
+ #
57
+ def self.mapper()
58
+ {
59
+ required: false,
60
+ serialized_name: 'DatabaseOperation',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'DatabaseOperation',
64
+ model_properties: {
65
+ id: {
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'id',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ name: {
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'name',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ type: {
82
+ required: false,
83
+ read_only: true,
84
+ serialized_name: 'type',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ database_name: {
90
+ required: false,
91
+ read_only: true,
92
+ serialized_name: 'properties.databaseName',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ operation: {
98
+ required: false,
99
+ read_only: true,
100
+ serialized_name: 'properties.operation',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ },
105
+ operation_friendly_name: {
106
+ required: false,
107
+ read_only: true,
108
+ serialized_name: 'properties.operationFriendlyName',
109
+ type: {
110
+ name: 'String'
111
+ }
112
+ },
113
+ percent_complete: {
114
+ required: false,
115
+ read_only: true,
116
+ serialized_name: 'properties.percentComplete',
117
+ type: {
118
+ name: 'Number'
119
+ }
120
+ },
121
+ server_name: {
122
+ required: false,
123
+ read_only: true,
124
+ serialized_name: 'properties.serverName',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ },
129
+ start_time: {
130
+ required: false,
131
+ read_only: true,
132
+ serialized_name: 'properties.startTime',
133
+ type: {
134
+ name: 'DateTime'
135
+ }
136
+ },
137
+ state: {
138
+ required: false,
139
+ read_only: true,
140
+ serialized_name: 'properties.state',
141
+ type: {
142
+ name: 'String'
143
+ }
144
+ },
145
+ error_code: {
146
+ required: false,
147
+ read_only: true,
148
+ serialized_name: 'properties.errorCode',
149
+ type: {
150
+ name: 'Number'
151
+ }
152
+ },
153
+ error_description: {
154
+ required: false,
155
+ read_only: true,
156
+ serialized_name: 'properties.errorDescription',
157
+ type: {
158
+ name: 'String'
159
+ }
160
+ },
161
+ error_severity: {
162
+ required: false,
163
+ read_only: true,
164
+ serialized_name: 'properties.errorSeverity',
165
+ type: {
166
+ name: 'Number'
167
+ }
168
+ },
169
+ is_user_error: {
170
+ required: false,
171
+ read_only: true,
172
+ serialized_name: 'properties.isUserError',
173
+ type: {
174
+ name: 'Boolean'
175
+ }
176
+ }
177
+ }
178
+ }
179
+ }
180
+ end
181
+ end
182
+ end
183
+ end
@@ -0,0 +1,96 @@
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::ARM::SQL
7
+ module Models
8
+ #
9
+ # The response to a list database operations request
10
+ #
11
+ class DatabaseOperationListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<DatabaseOperation>] 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<DatabaseOperation>] 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 [DatabaseOperationListResult] 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 DatabaseOperationListResult class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ required: false,
61
+ serialized_name: 'DatabaseOperationListResult',
62
+ type: {
63
+ name: 'Composite',
64
+ class_name: 'DatabaseOperationListResult',
65
+ model_properties: {
66
+ value: {
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'value',
70
+ type: {
71
+ name: 'Sequence',
72
+ element: {
73
+ required: false,
74
+ serialized_name: 'DatabaseOperationElementType',
75
+ type: {
76
+ name: 'Composite',
77
+ class_name: 'DatabaseOperation'
78
+ }
79
+ }
80
+ }
81
+ },
82
+ next_link: {
83
+ required: false,
84
+ read_only: true,
85
+ serialized_name: 'nextLink',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ end
94
+ end
95
+ end
96
+ end