azure_mgmt_sql 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_sql.rb +63 -6
  3. data/lib/generated/azure_mgmt_sql/databases.rb +2170 -0
  4. data/lib/generated/azure_mgmt_sql/elastic_pools.rb +950 -0
  5. data/lib/generated/azure_mgmt_sql/models/column.rb +90 -0
  6. data/lib/generated/azure_mgmt_sql/models/create_mode.rb +21 -0
  7. data/lib/generated/azure_mgmt_sql/models/database.rb +366 -0
  8. data/lib/generated/azure_mgmt_sql/models/database_editions.rb +22 -0
  9. data/lib/generated/azure_mgmt_sql/models/database_list_result.rb +53 -0
  10. data/lib/generated/azure_mgmt_sql/models/database_metric.rb +100 -0
  11. data/lib/generated/azure_mgmt_sql/models/database_metric_list_result.rb +53 -0
  12. data/lib/generated/azure_mgmt_sql/models/elastic_pool.rb +158 -0
  13. data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity.rb +257 -0
  14. data/lib/generated/azure_mgmt_sql/models/elastic_pool_activity_list_result.rb +54 -0
  15. data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb +249 -0
  16. data/lib/generated/azure_mgmt_sql/models/elastic_pool_database_activity_list_result.rb +54 -0
  17. data/lib/generated/azure_mgmt_sql/models/elastic_pool_editions.rb +17 -0
  18. data/lib/generated/azure_mgmt_sql/models/elastic_pool_list_result.rb +53 -0
  19. data/lib/generated/azure_mgmt_sql/models/{state.rb → elastic_pool_state.rb} +5 -5
  20. data/lib/generated/azure_mgmt_sql/models/operation_impact.rb +80 -0
  21. data/lib/generated/azure_mgmt_sql/models/recommended_database_properties.rb +68 -0
  22. data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool.rb +216 -0
  23. data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_metrics_result.rb +54 -0
  24. data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_list_result.rb +54 -0
  25. data/lib/generated/azure_mgmt_sql/models/recommended_elastic_pool_metric.rb +65 -0
  26. data/lib/generated/azure_mgmt_sql/models/recommended_index.rb +260 -0
  27. data/lib/generated/azure_mgmt_sql/models/recommended_index_actions.rb +17 -0
  28. data/lib/generated/azure_mgmt_sql/models/recommended_index_states.rb +25 -0
  29. data/lib/generated/azure_mgmt_sql/models/recommended_index_types.rb +18 -0
  30. data/lib/generated/azure_mgmt_sql/models/replication_link.rb +149 -0
  31. data/lib/generated/azure_mgmt_sql/models/replication_link_list_result.rb +54 -0
  32. data/lib/generated/azure_mgmt_sql/models/replication_role.rb +19 -0
  33. data/lib/generated/azure_mgmt_sql/models/replication_state.rb +18 -0
  34. data/lib/generated/azure_mgmt_sql/models/restore_point.rb +117 -0
  35. data/lib/generated/azure_mgmt_sql/models/restore_point_list_result.rb +54 -0
  36. data/lib/generated/azure_mgmt_sql/models/restore_point_types.rb +16 -0
  37. data/lib/generated/azure_mgmt_sql/models/schema.rb +98 -0
  38. data/lib/generated/azure_mgmt_sql/models/{server_security_alert_policy.rb → server.rb} +32 -37
  39. data/lib/generated/azure_mgmt_sql/models/server_firewall_rule.rb +95 -0
  40. data/lib/generated/azure_mgmt_sql/models/server_firewall_rule_list_result.rb +53 -0
  41. data/lib/generated/azure_mgmt_sql/models/server_list_result.rb +52 -0
  42. data/lib/generated/azure_mgmt_sql/models/server_metric.rb +100 -0
  43. data/lib/generated/azure_mgmt_sql/models/server_metric_list_result.rb +53 -0
  44. data/lib/generated/azure_mgmt_sql/models/server_version.rb +16 -0
  45. data/lib/generated/azure_mgmt_sql/models/service_objective.rb +107 -0
  46. data/lib/generated/azure_mgmt_sql/models/service_objective_list_result.rb +54 -0
  47. data/lib/generated/azure_mgmt_sql/models/service_objective_name.rb +22 -0
  48. data/lib/generated/azure_mgmt_sql/models/service_tier_advisor.rb +282 -0
  49. data/lib/generated/azure_mgmt_sql/models/service_tier_advisor_list_result.rb +53 -0
  50. data/lib/generated/azure_mgmt_sql/models/slo_usage_metric.rb +111 -0
  51. data/lib/generated/azure_mgmt_sql/models/sql_sub_resource.rb +56 -0
  52. data/lib/generated/azure_mgmt_sql/models/table.rb +131 -0
  53. data/lib/generated/azure_mgmt_sql/models/table_type.rb +16 -0
  54. data/lib/generated/azure_mgmt_sql/models/target_database_editions.rb +20 -0
  55. data/lib/generated/azure_mgmt_sql/models/target_elastic_pool_editions.rb +17 -0
  56. data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption.rb +63 -0
  57. data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb +74 -0
  58. data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_list_result.rb +55 -0
  59. data/lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity_states.rb +16 -0
  60. data/lib/generated/azure_mgmt_sql/models/{email_account_admins.rb → transparent_data_encryption_states.rb} +3 -3
  61. data/lib/generated/azure_mgmt_sql/models/upgrade_hint.rb +99 -0
  62. data/lib/generated/azure_mgmt_sql/models/upgrade_recommended_elastic_pool_properties.rb +132 -0
  63. data/lib/generated/azure_mgmt_sql/module_definition.rb +1 -1
  64. data/lib/generated/azure_mgmt_sql/recommended_elastic_pools.rb +555 -0
  65. data/lib/generated/azure_mgmt_sql/servers.rb +1233 -0
  66. data/lib/generated/azure_mgmt_sql/sql_management_client.rb +31 -10
  67. data/lib/generated/azure_mgmt_sql/version.rb +2 -2
  68. metadata +66 -9
  69. data/lib/generated/azure_mgmt_sql/models/server_security_alert_policy_create_or_update_parameters.rb +0 -85
  70. data/lib/generated/azure_mgmt_sql/security_alert_policy.rb +0 -296
@@ -0,0 +1,56 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
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
+ # Subresource properties
10
+ #
11
+ class SqlSubResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource name
16
+ attr_accessor :name
17
+
18
+ # @return [String] The resource ID.
19
+ attr_accessor :id
20
+
21
+
22
+ #
23
+ # Mapper for SqlSubResource class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'SqlSubResource',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'SqlSubResource',
33
+ model_properties: {
34
+ name: {
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'name',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ id: {
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'id',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,131 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
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
+ # Represents an Azure SQL Database table.
10
+ #
11
+ class Table < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [TableType] The type of Azure SQL Database table. Possible
16
+ # values include: 'BaseTable', 'View'
17
+ attr_accessor :table_type
18
+
19
+ # @return [Array<Column>] The columns from this table.
20
+ attr_accessor :columns
21
+
22
+ # @return [Array<RecommendedIndex>] The recommended indices for this
23
+ # table.
24
+ attr_accessor :recommended_indexes
25
+
26
+
27
+ #
28
+ # Mapper for Table class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'Table',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'Table',
38
+ model_properties: {
39
+ name: {
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ id: {
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'id',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ type: {
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'type',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ location: {
64
+ required: true,
65
+ serialized_name: 'location',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ tags: {
71
+ required: false,
72
+ serialized_name: 'tags',
73
+ type: {
74
+ name: 'Dictionary',
75
+ value: {
76
+ required: false,
77
+ serialized_name: 'StringElementType',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ table_type: {
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'properties.tableType',
88
+ type: {
89
+ name: 'Enum',
90
+ module: 'TableType'
91
+ }
92
+ },
93
+ columns: {
94
+ required: false,
95
+ read_only: true,
96
+ serialized_name: 'properties.columns',
97
+ type: {
98
+ name: 'Sequence',
99
+ element: {
100
+ required: false,
101
+ serialized_name: 'ColumnElementType',
102
+ type: {
103
+ name: 'Composite',
104
+ class_name: 'Column'
105
+ }
106
+ }
107
+ }
108
+ },
109
+ recommended_indexes: {
110
+ required: false,
111
+ read_only: true,
112
+ serialized_name: 'properties.recommendedIndexes',
113
+ type: {
114
+ name: 'Sequence',
115
+ element: {
116
+ required: false,
117
+ serialized_name: 'RecommendedIndexElementType',
118
+ type: {
119
+ name: 'Composite',
120
+ class_name: 'RecommendedIndex'
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ end
129
+ end
130
+ end
131
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
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
+ # Defines values for TableType
10
+ #
11
+ module TableType
12
+ BaseTable = "BaseTable"
13
+ View = "View"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,20 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
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
+ # Defines values for TargetDatabaseEditions
10
+ #
11
+ module TargetDatabaseEditions
12
+ Basic = "Basic"
13
+ Standard = "Standard"
14
+ Premium = "Premium"
15
+ Free = "Free"
16
+ Stretch = "Stretch"
17
+ DataWarehouse = "DataWarehouse"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
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
+ # Defines values for TargetElasticPoolEditions
10
+ #
11
+ module TargetElasticPoolEditions
12
+ Basic = "Basic"
13
+ Standard = "Standard"
14
+ Premium = "Premium"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,63 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
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
+ # Represents an Azure SQL Database Transparent Data Encryption .
10
+ #
11
+ class TransparentDataEncryption < SqlSubResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [TransparentDataEncryptionStates] The status of the Azure SQL
16
+ # Database Transparent Data Encryption. Possible values include:
17
+ # 'Enabled', 'Disabled'
18
+ attr_accessor :status
19
+
20
+
21
+ #
22
+ # Mapper for TransparentDataEncryption class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ required: false,
28
+ serialized_name: 'TransparentDataEncryption',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'TransparentDataEncryption',
32
+ model_properties: {
33
+ name: {
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'name',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ id: {
42
+ required: false,
43
+ read_only: true,
44
+ serialized_name: 'id',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ status: {
50
+ required: false,
51
+ serialized_name: 'properties.status',
52
+ type: {
53
+ name: 'Enum',
54
+ module: 'TransparentDataEncryptionStates'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,74 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
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
+ # Represents an Azure SQL Database Transparent Data Encryption Scan.
10
+ #
11
+ class TransparentDataEncryptionActivity < SqlSubResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [TransparentDataEncryptionActivityStates] The status of the
16
+ # Azure SQL database. Possible values include: 'Encrypting', 'Decrypting'
17
+ attr_accessor :status
18
+
19
+ # @return [Float] The percent complete of the transparent data encryption
20
+ # scan for a Azure SQL Database.
21
+ attr_accessor :percent_complete
22
+
23
+
24
+ #
25
+ # Mapper for TransparentDataEncryptionActivity class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'TransparentDataEncryptionActivity',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'TransparentDataEncryptionActivity',
35
+ model_properties: {
36
+ name: {
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ id: {
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'id',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ status: {
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'properties.status',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ percent_complete: {
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'properties.percentComplete',
64
+ type: {
65
+ name: 'Double'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,55 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
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
+ # Represents the response to a List Azure SQL Database Transparent Data
10
+ # Encryption Activity request.
11
+ #
12
+ class TransparentDataEncryptionActivityListResult
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Array<TransparentDataEncryptionActivity>] The list of Azure
17
+ # SQL Database Transparent Data Encryption Activities.
18
+ attr_accessor :value
19
+
20
+
21
+ #
22
+ # Mapper for TransparentDataEncryptionActivityListResult class as Ruby
23
+ # Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'TransparentDataEncryptionActivityListResult',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'TransparentDataEncryptionActivityListResult',
33
+ model_properties: {
34
+ value: {
35
+ required: true,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ required: false,
41
+ serialized_name: 'TransparentDataEncryptionActivityElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'TransparentDataEncryptionActivity'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
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
+ # Defines values for TransparentDataEncryptionActivityStates
10
+ #
11
+ module TransparentDataEncryptionActivityStates
12
+ Encrypting = "Encrypting"
13
+ Decrypting = "Decrypting"
14
+ end
15
+ end
16
+ end