azure_mgmt_sql 0.15.2 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2014-04-01/generated/azure_mgmt_sql.rb +77 -63
  3. data/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_policies.rb +118 -16
  4. data/lib/2014-04-01/generated/azure_mgmt_sql/backup_long_term_retention_vaults.rb +114 -16
  5. data/lib/2014-04-01/generated/azure_mgmt_sql/capabilities.rb +6 -5
  6. data/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_policies.rb +12 -12
  7. data/lib/2014-04-01/generated/azure_mgmt_sql/data_masking_rules.rb +12 -12
  8. data/lib/2014-04-01/generated/azure_mgmt_sql/database_advisors.rb +18 -17
  9. data/lib/2014-04-01/generated/azure_mgmt_sql/database_connection_policies.rb +12 -12
  10. data/lib/2014-04-01/generated/azure_mgmt_sql/database_table_auditing_policies.rb +18 -17
  11. data/lib/2014-04-01/generated/azure_mgmt_sql/database_threat_detection_policies.rb +12 -12
  12. data/lib/2014-04-01/generated/azure_mgmt_sql/database_usages.rb +6 -5
  13. data/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb +649 -643
  14. data/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb +830 -0
  15. data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_activities.rb +6 -5
  16. data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pool_database_activities.rb +6 -5
  17. data/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb +216 -213
  18. data/lib/2014-04-01/generated/azure_mgmt_sql/extensions.rb +130 -0
  19. data/lib/2014-04-01/generated/azure_mgmt_sql/firewall_rules.rb +24 -22
  20. data/lib/2014-04-01/generated/azure_mgmt_sql/geo_backup_policies.rb +18 -17
  21. data/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_policy_list_result.rb +56 -0
  22. data/lib/2014-04-01/generated/azure_mgmt_sql/models/backup_long_term_retention_vault_list_result.rb +56 -0
  23. data/lib/2014-04-01/generated/azure_mgmt_sql/models/database.rb +43 -10
  24. data/lib/2014-04-01/generated/azure_mgmt_sql/models/database_edition.rb +1 -0
  25. data/lib/2014-04-01/generated/azure_mgmt_sql/models/database_update.rb +43 -10
  26. data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration.rb +164 -0
  27. data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_auto_failover.rb +16 -0
  28. data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_failover_policy.rb +16 -0
  29. data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_list_result.rb +57 -0
  30. data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_role.rb +17 -0
  31. data/lib/2014-04-01/generated/azure_mgmt_sql/models/disaster_recovery_configuration_status.rb +18 -0
  32. data/lib/2014-04-01/generated/azure_mgmt_sql/models/edition_capability.rb +13 -0
  33. data/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool.rb +13 -0
  34. data/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_edition_capability.rb +13 -0
  35. data/lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_update.rb +13 -0
  36. data/lib/2014-04-01/generated/azure_mgmt_sql/models/extension_list_result.rb +54 -0
  37. data/lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb +12 -4
  38. data/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text.rb +72 -0
  39. data/lib/2014-04-01/generated/azure_mgmt_sql/models/query_text_list_result.rb +55 -0
  40. data/lib/2014-04-01/generated/azure_mgmt_sql/models/service_objective_name.rb +52 -2
  41. data/lib/2014-04-01/generated/azure_mgmt_sql/models/slo_usage_metric.rb +10 -3
  42. data/lib/2014-04-01/generated/azure_mgmt_sql/operations.rb +6 -5
  43. data/lib/2014-04-01/generated/azure_mgmt_sql/queries.rb +6 -5
  44. data/lib/2014-04-01/generated/azure_mgmt_sql/query_statistics.rb +6 -5
  45. data/lib/2014-04-01/generated/azure_mgmt_sql/query_texts.rb +134 -0
  46. data/lib/2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb +18 -15
  47. data/lib/2014-04-01/generated/azure_mgmt_sql/recoverable_databases.rb +12 -10
  48. data/lib/2014-04-01/generated/azure_mgmt_sql/replication_links.rb +38 -33
  49. data/lib/2014-04-01/generated/azure_mgmt_sql/restorable_dropped_databases.rb +12 -10
  50. data/lib/2014-04-01/generated/azure_mgmt_sql/restore_points.rb +6 -5
  51. data/lib/2014-04-01/generated/azure_mgmt_sql/server_azure_adadministrators.rb +32 -30
  52. data/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb +28 -26
  53. data/lib/2014-04-01/generated/azure_mgmt_sql/server_connection_policies.rb +12 -12
  54. data/lib/2014-04-01/generated/azure_mgmt_sql/server_table_auditing_policies.rb +18 -17
  55. data/lib/2014-04-01/generated/azure_mgmt_sql/server_usages.rb +6 -5
  56. data/lib/2014-04-01/generated/azure_mgmt_sql/servers.rb +134 -133
  57. data/lib/2014-04-01/generated/azure_mgmt_sql/service_objectives.rb +12 -10
  58. data/lib/2014-04-01/generated/azure_mgmt_sql/service_tier_advisors.rb +12 -10
  59. data/lib/2014-04-01/generated/azure_mgmt_sql/sql_management_client.rb +32 -17
  60. data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_activities.rb +6 -5
  61. data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryption_configurations.rb +6 -5
  62. data/lib/2014-04-01/generated/azure_mgmt_sql/transparent_data_encryptions.rb +12 -12
  63. data/lib/2015-05-01-preview/generated/azure_mgmt_sql.rb +22 -19
  64. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_advisors.rb +18 -17
  65. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_blob_auditing_policies.rb +12 -12
  66. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_recommended_actions.rb +18 -17
  67. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/encryption_protectors.rb +31 -29
  68. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/failover_groups.rb +71 -67
  69. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage.rb +110 -0
  70. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/models/subscription_usage_list_result.rb +100 -0
  71. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/operations.rb +15 -13
  72. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_advisors.rb +18 -17
  73. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_keys.rb +41 -38
  74. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/servers.rb +66 -62
  75. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +8 -1
  76. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/subscription_usages.rb +324 -0
  77. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_agents.rb +62 -56
  78. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_groups.rb +118 -107
  79. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_members.rb +76 -71
  80. data/lib/2015-05-01-preview/generated/azure_mgmt_sql/virtual_network_rules.rb +41 -38
  81. data/lib/2017-03-01-preview/generated/azure_mgmt_sql.rb +30 -1
  82. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_operations.rb +21 -18
  83. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/database_restore_points.rb +527 -0
  84. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/databases.rb +1599 -0
  85. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/arm_sku.rb +92 -0
  86. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_actual.rb +16 -0
  87. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_option_mode_desired.rb +17 -0
  88. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_mode.rb +17 -0
  89. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_options.rb +90 -0
  90. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/automatic_tuning_server_reason.rb +17 -0
  91. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/catalog_collation_type.rb +16 -0
  92. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_database_restore_point_definition.rb +47 -0
  93. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/create_mode.rb +23 -0
  94. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database.rb +393 -0
  95. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_list_result.rb +100 -0
  96. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_restore_point.rb +124 -0
  97. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_restore_point_list_result.rb +100 -0
  98. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/database_update.rb +348 -0
  99. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_database_definition.rb +145 -0
  100. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/import_export_operation_result.rb +170 -0
  101. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/resource_move_definition.rb +46 -0
  102. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point_type.rb +16 -0
  103. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/sample_name.rb +17 -0
  104. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_automatic_tuning.rb +110 -0
  105. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias.rb +74 -0
  106. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_acquisition.rb +47 -0
  107. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/server_dns_alias_list_result.rb +100 -0
  108. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/status.rb +32 -0
  109. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/models/tracked_resource.rb +92 -0
  110. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_automatic_tuning_operations.rb +238 -0
  111. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/server_dns_aliases.rb +805 -0
  112. data/lib/2017-03-01-preview/generated/azure_mgmt_sql/sql_management_client.rb +21 -1
  113. data/lib/profiles/latest/modules/sql_profile_module.rb +912 -749
  114. data/lib/profiles/latest/sql_latest_profile_client.rb +28 -9
  115. data/lib/profiles/latest/sql_module_definition.rb +0 -1
  116. data/lib/version.rb +1 -1
  117. metadata +49 -3
@@ -0,0 +1,56 @@
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::V2014_04_01
7
+ module Models
8
+ #
9
+ # Represents the response to a list vaults request.
10
+ #
11
+ class BackupLongTermRetentionVaultListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<BackupLongTermRetentionVault>] The list of vaults in the
16
+ # server.
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for BackupLongTermRetentionVaultListResult 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: 'BackupLongTermRetentionVaultListResult',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'BackupLongTermRetentionVaultListResult',
32
+ model_properties: {
33
+ value: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'BackupLongTermRetentionVaultElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'BackupLongTermRetentionVault'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -111,9 +111,11 @@ module Azure::SQL::Mgmt::V2014_04_01
111
111
  # createMode is NonReadableSecondary or OnlineSecondary, this value is
112
112
  # ignored. To see possible values, query the capabilities API
113
113
  # (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities)
114
- # referred to by operationId: "Capabilities_ListByLocation.". Possible
115
- # values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium',
116
- # 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2'
114
+ # referred to by operationId: "Capabilities_ListByLocation." or use the
115
+ # Azure CLI command `az sql db list-editions -l westus --query [].name`.
116
+ # Possible values include: 'Web', 'Business', 'Basic', 'Standard',
117
+ # 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System',
118
+ # 'System2'
117
119
  attr_accessor :edition
118
120
 
119
121
  # @return [String] The max size of the database expressed in bytes. If
@@ -132,7 +134,9 @@ module Azure::SQL::Mgmt::V2014_04_01
132
134
  # requestedServiceObjectiveName. To see possible values, query the
133
135
  # capabilities API
134
136
  # (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities)
135
- # referred to by operationId: "Capabilities_ListByLocation."
137
+ # referred to by operationId: "Capabilities_ListByLocation." or use the
138
+ # Azure CLI command `az sql db list-editions --location <location>
139
+ # --query [].supportedServiceLevelObjectives[].name` .
136
140
  attr_accessor :requested_service_objective_id
137
141
 
138
142
  # @return [ServiceObjectiveName] The name of the configured service level
@@ -141,15 +145,31 @@ module Azure::SQL::Mgmt::V2014_04_01
141
145
  # updated, it will match the value of serviceLevelObjective property. To
142
146
  # see possible values, query the capabilities API
143
147
  # (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities)
144
- # referred to by operationId: "Capabilities_ListByLocation.". Possible
145
- # values include: 'Basic', 'S0', 'S1', 'S2', 'S3', 'P1', 'P2', 'P3',
146
- # 'P4', 'P6', 'P11', 'P15', 'System', 'System2', 'ElasticPool'
148
+ # referred to by operationId: "Capabilities_ListByLocation." or use the
149
+ # Azure CLI command `az sql db list-editions --location <location>
150
+ # --query [].supportedServiceLevelObjectives[].name`. Possible values
151
+ # include: 'System', 'System0', 'System1', 'System2', 'System3',
152
+ # 'System4', 'System2L', 'System3L', 'System4L', 'Free', 'Basic', 'S0',
153
+ # 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', 'S9', 'S12', 'P1', 'P2', 'P3',
154
+ # 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6', 'DW100',
155
+ # 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200',
156
+ # 'DW1000c', 'DW1500', 'DW1500c', 'DW2000', 'DW2000c', 'DW3000',
157
+ # 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c', 'DW7500c',
158
+ # 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400',
159
+ # 'DS500', 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool'
147
160
  attr_accessor :requested_service_objective_name
148
161
 
149
162
  # @return [ServiceObjectiveName] The current service level objective of
150
- # the database. Possible values include: 'Basic', 'S0', 'S1', 'S2', 'S3',
151
- # 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'System', 'System2',
152
- # 'ElasticPool'
163
+ # the database. Possible values include: 'System', 'System0', 'System1',
164
+ # 'System2', 'System3', 'System4', 'System2L', 'System3L', 'System4L',
165
+ # 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', 'S9', 'S12',
166
+ # 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4',
167
+ # 'PRS6', 'DW100', 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000',
168
+ # 'DW1200', 'DW1000c', 'DW1500', 'DW1500c', 'DW2000', 'DW2000c',
169
+ # 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c',
170
+ # 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200',
171
+ # 'DS300', 'DS400', 'DS500', 'DS600', 'DS1000', 'DS1200', 'DS1500',
172
+ # 'DS2000', 'ElasticPool'
153
173
  attr_accessor :service_level_objective
154
174
 
155
175
  # @return [String] The status of the database.
@@ -192,6 +212,11 @@ module Azure::SQL::Mgmt::V2014_04_01
192
212
  # include: 'AdventureWorksLT'
193
213
  attr_accessor :sample_name
194
214
 
215
+ # @return [Boolean] Whether or not this database is zone redundant, which
216
+ # means the replicas of this database will be spread across multiple
217
+ # availability zones.
218
+ attr_accessor :zone_redundant
219
+
195
220
 
196
221
  #
197
222
  # Mapper for Database class as Ruby Hash.
@@ -505,6 +530,14 @@ module Azure::SQL::Mgmt::V2014_04_01
505
530
  type: {
506
531
  name: 'String'
507
532
  }
533
+ },
534
+ zone_redundant: {
535
+ client_side_validation: true,
536
+ required: false,
537
+ serialized_name: 'properties.zoneRedundant',
538
+ type: {
539
+ name: 'Boolean'
540
+ }
508
541
  }
509
542
  }
510
543
  }
@@ -14,6 +14,7 @@ module Azure::SQL::Mgmt::V2014_04_01
14
14
  Basic = "Basic"
15
15
  Standard = "Standard"
16
16
  Premium = "Premium"
17
+ PremiumRS = "PremiumRS"
17
18
  Free = "Free"
18
19
  Stretch = "Stretch"
19
20
  DataWarehouse = "DataWarehouse"
@@ -110,9 +110,11 @@ module Azure::SQL::Mgmt::V2014_04_01
110
110
  # createMode is NonReadableSecondary or OnlineSecondary, this value is
111
111
  # ignored. To see possible values, query the capabilities API
112
112
  # (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities)
113
- # referred to by operationId: "Capabilities_ListByLocation.". Possible
114
- # values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium',
115
- # 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2'
113
+ # referred to by operationId: "Capabilities_ListByLocation." or use the
114
+ # Azure CLI command `az sql db list-editions -l westus --query [].name`.
115
+ # Possible values include: 'Web', 'Business', 'Basic', 'Standard',
116
+ # 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System',
117
+ # 'System2'
116
118
  attr_accessor :edition
117
119
 
118
120
  # @return [String] The max size of the database expressed in bytes. If
@@ -131,7 +133,9 @@ module Azure::SQL::Mgmt::V2014_04_01
131
133
  # requestedServiceObjectiveName. To see possible values, query the
132
134
  # capabilities API
133
135
  # (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities)
134
- # referred to by operationId: "Capabilities_ListByLocation."
136
+ # referred to by operationId: "Capabilities_ListByLocation." or use the
137
+ # Azure CLI command `az sql db list-editions --location <location>
138
+ # --query [].supportedServiceLevelObjectives[].name` .
135
139
  attr_accessor :requested_service_objective_id
136
140
 
137
141
  # @return [ServiceObjectiveName] The name of the configured service level
@@ -140,15 +144,31 @@ module Azure::SQL::Mgmt::V2014_04_01
140
144
  # updated, it will match the value of serviceLevelObjective property. To
141
145
  # see possible values, query the capabilities API
142
146
  # (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities)
143
- # referred to by operationId: "Capabilities_ListByLocation.". Possible
144
- # values include: 'Basic', 'S0', 'S1', 'S2', 'S3', 'P1', 'P2', 'P3',
145
- # 'P4', 'P6', 'P11', 'P15', 'System', 'System2', 'ElasticPool'
147
+ # referred to by operationId: "Capabilities_ListByLocation." or use the
148
+ # Azure CLI command `az sql db list-editions --location <location>
149
+ # --query [].supportedServiceLevelObjectives[].name`. Possible values
150
+ # include: 'System', 'System0', 'System1', 'System2', 'System3',
151
+ # 'System4', 'System2L', 'System3L', 'System4L', 'Free', 'Basic', 'S0',
152
+ # 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', 'S9', 'S12', 'P1', 'P2', 'P3',
153
+ # 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6', 'DW100',
154
+ # 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200',
155
+ # 'DW1000c', 'DW1500', 'DW1500c', 'DW2000', 'DW2000c', 'DW3000',
156
+ # 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c', 'DW7500c',
157
+ # 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400',
158
+ # 'DS500', 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool'
146
159
  attr_accessor :requested_service_objective_name
147
160
 
148
161
  # @return [ServiceObjectiveName] The current service level objective of
149
- # the database. Possible values include: 'Basic', 'S0', 'S1', 'S2', 'S3',
150
- # 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'System', 'System2',
151
- # 'ElasticPool'
162
+ # the database. Possible values include: 'System', 'System0', 'System1',
163
+ # 'System2', 'System3', 'System4', 'System2L', 'System3L', 'System4L',
164
+ # 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', 'S9', 'S12',
165
+ # 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4',
166
+ # 'PRS6', 'DW100', 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000',
167
+ # 'DW1200', 'DW1000c', 'DW1500', 'DW1500c', 'DW2000', 'DW2000c',
168
+ # 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c',
169
+ # 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200',
170
+ # 'DS300', 'DS400', 'DS500', 'DS600', 'DS1000', 'DS1200', 'DS1500',
171
+ # 'DS2000', 'ElasticPool'
152
172
  attr_accessor :service_level_objective
153
173
 
154
174
  # @return [String] The status of the database.
@@ -191,6 +211,11 @@ module Azure::SQL::Mgmt::V2014_04_01
191
211
  # include: 'AdventureWorksLT'
192
212
  attr_accessor :sample_name
193
213
 
214
+ # @return [Boolean] Whether or not this database is zone redundant, which
215
+ # means the replicas of this database will be spread across multiple
216
+ # availability zones.
217
+ attr_accessor :zone_redundant
218
+
194
219
 
195
220
  #
196
221
  # Mapper for DatabaseUpdate class as Ruby Hash.
@@ -487,6 +512,14 @@ module Azure::SQL::Mgmt::V2014_04_01
487
512
  type: {
488
513
  name: 'String'
489
514
  }
515
+ },
516
+ zone_redundant: {
517
+ client_side_validation: true,
518
+ required: false,
519
+ serialized_name: 'properties.zoneRedundant',
520
+ type: {
521
+ name: 'Boolean'
522
+ }
490
523
  }
491
524
  }
492
525
  }
@@ -0,0 +1,164 @@
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::V2014_04_01
7
+ module Models
8
+ #
9
+ # Represents a disaster recovery configuration.
10
+ #
11
+ class DisasterRecoveryConfiguration < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DisasterRecoveryConfigurationStatus] The status of the
16
+ # disaster recovery configuration. Possible values include: 'Creating',
17
+ # 'Ready', 'FailingOver', 'Dropping'
18
+ attr_accessor :status
19
+
20
+ # @return [DisasterRecoveryConfigurationAutoFailover] Whether or not
21
+ # failover can be done automatically. Possible values include: 'Off',
22
+ # 'On'
23
+ attr_accessor :auto_failover
24
+
25
+ # @return [DisasterRecoveryConfigurationFailoverPolicy] How aggressive
26
+ # the automatic failover should be. Possible values include: 'Manual',
27
+ # 'Automatic'
28
+ attr_accessor :failover_policy
29
+
30
+ # @return [String] Id of the partner server.
31
+ attr_accessor :partner_server_id
32
+
33
+ # @return [String] Logical name of the server.
34
+ attr_accessor :logical_server_name
35
+
36
+ # @return [String] Logical name of the partner server.
37
+ attr_accessor :partner_logical_server_name
38
+
39
+ # @return [DisasterRecoveryConfigurationRole] The role of the current
40
+ # server in the disaster recovery configuration. Possible values include:
41
+ # 'None', 'Primary', 'Secondary'
42
+ attr_accessor :role
43
+
44
+ # @return [String] Location of the server that contains this disaster
45
+ # recovery configuration.
46
+ attr_accessor :location
47
+
48
+
49
+ #
50
+ # Mapper for DisasterRecoveryConfiguration class as Ruby Hash.
51
+ # This will be used for serialization/deserialization.
52
+ #
53
+ def self.mapper()
54
+ {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'DisasterRecoveryConfiguration',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'DisasterRecoveryConfiguration',
61
+ model_properties: {
62
+ id: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'id',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ name: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'name',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ type: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ read_only: true,
84
+ serialized_name: 'type',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ status: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ read_only: true,
93
+ serialized_name: 'properties.status',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ auto_failover: {
99
+ client_side_validation: true,
100
+ required: true,
101
+ serialized_name: 'properties.autoFailover',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ failover_policy: {
107
+ client_side_validation: true,
108
+ required: true,
109
+ serialized_name: 'properties.failoverPolicy',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ },
114
+ partner_server_id: {
115
+ client_side_validation: true,
116
+ required: true,
117
+ serialized_name: 'properties.partnerServerId',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ },
122
+ logical_server_name: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ read_only: true,
126
+ serialized_name: 'properties.logicalServerName',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ },
131
+ partner_logical_server_name: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ read_only: true,
135
+ serialized_name: 'properties.partnerLogicalServerName',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ role: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ read_only: true,
144
+ serialized_name: 'properties.role',
145
+ type: {
146
+ name: 'String'
147
+ }
148
+ },
149
+ location: {
150
+ client_side_validation: true,
151
+ required: false,
152
+ read_only: true,
153
+ serialized_name: 'location',
154
+ type: {
155
+ name: 'String'
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ end
162
+ end
163
+ end
164
+ 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::V2014_04_01
7
+ module Models
8
+ #
9
+ # Defines values for DisasterRecoveryConfigurationAutoFailover
10
+ #
11
+ module DisasterRecoveryConfigurationAutoFailover
12
+ Off = "Off"
13
+ On = "On"
14
+ end
15
+ end
16
+ 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::V2014_04_01
7
+ module Models
8
+ #
9
+ # Defines values for DisasterRecoveryConfigurationFailoverPolicy
10
+ #
11
+ module DisasterRecoveryConfigurationFailoverPolicy
12
+ Manual = "Manual"
13
+ Automatic = "Automatic"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,57 @@
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::V2014_04_01
7
+ module Models
8
+ #
9
+ # Represents the response to a List disaster recovery configuration
10
+ # request.
11
+ #
12
+ class DisasterRecoveryConfigurationListResult
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Array<DisasterRecoveryConfiguration>] The list of disaster
17
+ # recovery configurations housed under the server.
18
+ attr_accessor :value
19
+
20
+
21
+ #
22
+ # Mapper for DisasterRecoveryConfigurationListResult class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ client_side_validation: true,
28
+ required: false,
29
+ serialized_name: 'DisasterRecoveryConfigurationListResult',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'DisasterRecoveryConfigurationListResult',
33
+ model_properties: {
34
+ value: {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'value',
38
+ type: {
39
+ name: 'Sequence',
40
+ element: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'DisasterRecoveryConfigurationElementType',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'DisasterRecoveryConfiguration'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end