azure_mgmt_mariadb 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb.rb +76 -0
  4. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/check_name_availability.rb +123 -0
  5. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/configurations.rb +393 -0
  6. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/databases.rb +538 -0
  7. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/firewall_rules.rb +538 -0
  8. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/location_based_performance_tier.rb +113 -0
  9. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/log_files.rb +123 -0
  10. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/maria_dbmanagement_client.rb +168 -0
  11. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/configuration.rb +132 -0
  12. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/configuration_list_result.rb +55 -0
  13. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/database.rb +84 -0
  14. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/database_list_result.rb +55 -0
  15. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/firewall_rule.rb +92 -0
  16. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/firewall_rule_list_result.rb +55 -0
  17. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/geo_redundant_backup.rb +16 -0
  18. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/log_file.rb +120 -0
  19. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/log_file_list_result.rb +55 -0
  20. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/name_availability.rb +68 -0
  21. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/name_availability_request.rb +57 -0
  22. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/operation.rb +95 -0
  23. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/operation_display.rb +83 -0
  24. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/operation_list_result.rb +55 -0
  25. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/operation_origin.rb +17 -0
  26. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/performance_tier_list_result.rb +56 -0
  27. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/performance_tier_properties.rb +67 -0
  28. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/performance_tier_service_level_objectives.rb +126 -0
  29. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/proxy_resource.rb +71 -0
  30. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server.rb +183 -0
  31. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_for_create.rb +92 -0
  32. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_list_result.rb +55 -0
  33. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_properties_for_create.rb +85 -0
  34. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_properties_for_default_create.rb +100 -0
  35. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_properties_for_geo_restore.rb +88 -0
  36. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_properties_for_restore.rb +99 -0
  37. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_security_alert_policy.rb +166 -0
  38. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_security_alert_policy_state.rb +16 -0
  39. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_state.rb +17 -0
  40. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_update_parameters.rb +115 -0
  41. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_version.rb +16 -0
  42. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/sku.rb +97 -0
  43. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/sku_tier.rb +17 -0
  44. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/ssl_enforcement_enum.rb +16 -0
  45. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/storage_profile.rb +69 -0
  46. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/tracked_resource.rb +93 -0
  47. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/virtual_network_rule.rb +99 -0
  48. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/virtual_network_rule_list_result.rb +100 -0
  49. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/virtual_network_rule_state.rb +19 -0
  50. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/module_definition.rb +9 -0
  51. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/operations.rb +107 -0
  52. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/server_security_alert_policies.rb +287 -0
  53. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/servers.rb +772 -0
  54. data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/virtual_network_rules.rb +663 -0
  55. data/lib/2018-06-01/generated/azure_mgmt_mariadb.rb +78 -0
  56. data/lib/2018-06-01/generated/azure_mgmt_mariadb/check_name_availability.rb +123 -0
  57. data/lib/2018-06-01/generated/azure_mgmt_mariadb/configurations.rb +393 -0
  58. data/lib/2018-06-01/generated/azure_mgmt_mariadb/databases.rb +538 -0
  59. data/lib/2018-06-01/generated/azure_mgmt_mariadb/firewall_rules.rb +538 -0
  60. data/lib/2018-06-01/generated/azure_mgmt_mariadb/location_based_performance_tier.rb +113 -0
  61. data/lib/2018-06-01/generated/azure_mgmt_mariadb/log_files.rb +123 -0
  62. data/lib/2018-06-01/generated/azure_mgmt_mariadb/maria_dbmanagement_client.rb +172 -0
  63. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/configuration.rb +132 -0
  64. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/configuration_list_result.rb +55 -0
  65. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/database.rb +84 -0
  66. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/database_list_result.rb +55 -0
  67. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/firewall_rule.rb +92 -0
  68. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/firewall_rule_list_result.rb +55 -0
  69. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/geo_redundant_backup.rb +16 -0
  70. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/log_file.rb +120 -0
  71. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/log_file_list_result.rb +55 -0
  72. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/name_availability.rb +68 -0
  73. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/name_availability_request.rb +57 -0
  74. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/operation.rb +95 -0
  75. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/operation_display.rb +83 -0
  76. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/operation_list_result.rb +55 -0
  77. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/operation_origin.rb +17 -0
  78. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/performance_tier_list_result.rb +56 -0
  79. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/performance_tier_properties.rb +67 -0
  80. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/performance_tier_service_level_objectives.rb +126 -0
  81. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/proxy_resource.rb +71 -0
  82. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server.rb +220 -0
  83. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_for_create.rb +92 -0
  84. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_list_result.rb +55 -0
  85. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_properties_for_create.rb +86 -0
  86. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_properties_for_default_create.rb +100 -0
  87. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_properties_for_geo_restore.rb +88 -0
  88. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_properties_for_replica.rb +87 -0
  89. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_properties_for_restore.rb +99 -0
  90. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_security_alert_policy.rb +166 -0
  91. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_security_alert_policy_state.rb +16 -0
  92. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_state.rb +17 -0
  93. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_update_parameters.rb +126 -0
  94. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_version.rb +16 -0
  95. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/sku.rb +97 -0
  96. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/sku_tier.rb +17 -0
  97. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/ssl_enforcement_enum.rb +16 -0
  98. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/storage_profile.rb +69 -0
  99. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/tracked_resource.rb +93 -0
  100. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/virtual_network_rule.rb +99 -0
  101. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/virtual_network_rule_list_result.rb +100 -0
  102. data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/virtual_network_rule_state.rb +19 -0
  103. data/lib/2018-06-01/generated/azure_mgmt_mariadb/module_definition.rb +9 -0
  104. data/lib/2018-06-01/generated/azure_mgmt_mariadb/operations.rb +107 -0
  105. data/lib/2018-06-01/generated/azure_mgmt_mariadb/replicas.rb +123 -0
  106. data/lib/2018-06-01/generated/azure_mgmt_mariadb/server_security_alert_policies.rb +287 -0
  107. data/lib/2018-06-01/generated/azure_mgmt_mariadb/servers.rb +901 -0
  108. data/lib/2018-06-01/generated/azure_mgmt_mariadb/virtual_network_rules.rb +663 -0
  109. data/lib/azure_mgmt_mariadb.rb +7 -0
  110. data/lib/module_definition.rb +9 -0
  111. data/lib/profiles/latest/mariadb_latest_profile_client.rb +40 -0
  112. data/lib/profiles/latest/mariadb_module_definition.rb +8 -0
  113. data/lib/profiles/latest/modules/mariadb_profile_module.rb +241 -0
  114. data/lib/version.rb +7 -0
  115. metadata +231 -0
@@ -0,0 +1,166 @@
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::MariaDB::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # A server security alert policy.
10
+ #
11
+ class ServerSecurityAlertPolicy < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ServerSecurityAlertPolicyState] Specifies the state of the
16
+ # policy, whether it is enabled or disabled. Possible values include:
17
+ # 'Enabled', 'Disabled'
18
+ attr_accessor :state
19
+
20
+ # @return [Array<String>] Specifies an array of alerts that are disabled.
21
+ # Allowed values are: Sql_Injection, Sql_Injection_Vulnerability,
22
+ # Access_Anomaly
23
+ attr_accessor :disabled_alerts
24
+
25
+ # @return [Array<String>] Specifies an array of e-mail addresses to which
26
+ # the alert is sent.
27
+ attr_accessor :email_addresses
28
+
29
+ # @return [Boolean] Specifies that the alert is sent to the account
30
+ # administrators.
31
+ attr_accessor :email_account_admins
32
+
33
+ # @return [String] Specifies the blob storage endpoint (e.g.
34
+ # https://MyAccount.blob.core.windows.net). This blob storage will hold
35
+ # all Threat Detection audit logs.
36
+ attr_accessor :storage_endpoint
37
+
38
+ # @return [String] Specifies the identifier key of the Threat Detection
39
+ # audit storage account.
40
+ attr_accessor :storage_account_access_key
41
+
42
+ # @return [Integer] Specifies the number of days to keep in the Threat
43
+ # Detection audit logs.
44
+ attr_accessor :retention_days
45
+
46
+
47
+ #
48
+ # Mapper for ServerSecurityAlertPolicy class as Ruby Hash.
49
+ # This will be used for serialization/deserialization.
50
+ #
51
+ def self.mapper()
52
+ {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'ServerSecurityAlertPolicy',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'ServerSecurityAlertPolicy',
59
+ model_properties: {
60
+ id: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'id',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ name: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'name',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ type: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'type',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ state: {
88
+ client_side_validation: true,
89
+ required: true,
90
+ serialized_name: 'properties.state',
91
+ type: {
92
+ name: 'Enum',
93
+ module: 'ServerSecurityAlertPolicyState'
94
+ }
95
+ },
96
+ disabled_alerts: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'properties.disabledAlerts',
100
+ type: {
101
+ name: 'Sequence',
102
+ element: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ serialized_name: 'StringElementType',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ }
110
+ }
111
+ },
112
+ email_addresses: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'properties.emailAddresses',
116
+ type: {
117
+ name: 'Sequence',
118
+ element: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ serialized_name: 'StringElementType',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ }
126
+ }
127
+ },
128
+ email_account_admins: {
129
+ client_side_validation: true,
130
+ required: false,
131
+ serialized_name: 'properties.emailAccountAdmins',
132
+ type: {
133
+ name: 'Boolean'
134
+ }
135
+ },
136
+ storage_endpoint: {
137
+ client_side_validation: true,
138
+ required: false,
139
+ serialized_name: 'properties.storageEndpoint',
140
+ type: {
141
+ name: 'String'
142
+ }
143
+ },
144
+ storage_account_access_key: {
145
+ client_side_validation: true,
146
+ required: false,
147
+ serialized_name: 'properties.storageAccountAccessKey',
148
+ type: {
149
+ name: 'String'
150
+ }
151
+ },
152
+ retention_days: {
153
+ client_side_validation: true,
154
+ required: false,
155
+ serialized_name: 'properties.retentionDays',
156
+ type: {
157
+ name: 'Number'
158
+ }
159
+ }
160
+ }
161
+ }
162
+ }
163
+ end
164
+ end
165
+ end
166
+ 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::MariaDB::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ServerSecurityAlertPolicyState
10
+ #
11
+ module ServerSecurityAlertPolicyState
12
+ Enabled = "Enabled"
13
+ Disabled = "Disabled"
14
+ end
15
+ end
16
+ 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::MariaDB::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ServerState
10
+ #
11
+ module ServerState
12
+ Ready = "Ready"
13
+ Dropping = "Dropping"
14
+ Disabled = "Disabled"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,115 @@
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::MariaDB::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Parameters allowed to update for a server.
10
+ #
11
+ class ServerUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Sku] The SKU (pricing tier) of the server.
16
+ attr_accessor :sku
17
+
18
+ # @return [StorageProfile] Storage profile of a server.
19
+ attr_accessor :storage_profile
20
+
21
+ # @return [String] The password of the administrator login.
22
+ attr_accessor :administrator_login_password
23
+
24
+ # @return [ServerVersion] The version of a server. Possible values
25
+ # include: '5.6', '5.7'
26
+ attr_accessor :version
27
+
28
+ # @return [SslEnforcementEnum] Enable ssl enforcement or not when connect
29
+ # to server. Possible values include: 'Enabled', 'Disabled'
30
+ attr_accessor :ssl_enforcement
31
+
32
+ # @return [Hash{String => String}] Application-specific metadata in the
33
+ # form of key-value pairs.
34
+ attr_accessor :tags
35
+
36
+
37
+ #
38
+ # Mapper for ServerUpdateParameters class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'ServerUpdateParameters',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'ServerUpdateParameters',
49
+ model_properties: {
50
+ sku: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'sku',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'Sku'
57
+ }
58
+ },
59
+ storage_profile: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'properties.storageProfile',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'StorageProfile'
66
+ }
67
+ },
68
+ administrator_login_password: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'properties.administratorLoginPassword',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ version: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'properties.version',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ ssl_enforcement: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'properties.sslEnforcement',
88
+ type: {
89
+ name: 'Enum',
90
+ module: 'SslEnforcementEnum'
91
+ }
92
+ },
93
+ tags: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'tags',
97
+ type: {
98
+ name: 'Dictionary',
99
+ value: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ serialized_name: 'StringElementType',
103
+ type: {
104
+ name: 'String'
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ end
113
+ end
114
+ end
115
+ 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::MariaDB::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ServerVersion
10
+ #
11
+ module ServerVersion
12
+ FiveFullStopSix = "5.6"
13
+ FiveFullStopSeven = "5.7"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,97 @@
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::MariaDB::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Billing information related properties of a server.
10
+ #
11
+ class Sku
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the sku, typically, tier + family + cores,
16
+ # e.g. B_Gen4_1, GP_Gen5_8.
17
+ attr_accessor :name
18
+
19
+ # @return [SkuTier] The tier of the particular SKU, e.g. Basic. Possible
20
+ # values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized'
21
+ attr_accessor :tier
22
+
23
+ # @return [Integer] The scale up/out capacity, representing server's
24
+ # compute units.
25
+ attr_accessor :capacity
26
+
27
+ # @return [String] The size code, to be interpreted by resource as
28
+ # appropriate.
29
+ attr_accessor :size
30
+
31
+ # @return [String] The family of hardware.
32
+ attr_accessor :family
33
+
34
+
35
+ #
36
+ # Mapper for Sku class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'Sku',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'Sku',
47
+ model_properties: {
48
+ name: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'name',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ tier: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'tier',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ capacity: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'capacity',
68
+ constraints: {
69
+ InclusiveMinimum: 0
70
+ },
71
+ type: {
72
+ name: 'Number'
73
+ }
74
+ },
75
+ size: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'size',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ family: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'family',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ 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::MariaDB::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for SkuTier
10
+ #
11
+ module SkuTier
12
+ Basic = "Basic"
13
+ GeneralPurpose = "GeneralPurpose"
14
+ MemoryOptimized = "MemoryOptimized"
15
+ end
16
+ end
17
+ end