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,99 @@
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
7
+ module Models
8
+ #
9
+ # The properties used to create a new server by restoring from a backup.
10
+ #
11
+ class ServerPropertiesForRestore < ServerPropertiesForCreate
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @createMode = "PointInTimeRestore"
18
+ end
19
+
20
+ attr_accessor :createMode
21
+
22
+ # @return [String] The source server id to restore from.
23
+ attr_accessor :source_server_id
24
+
25
+ # @return [DateTime] Restore point creation time (ISO8601 format),
26
+ # specifying the time to restore from.
27
+ attr_accessor :restore_point_in_time
28
+
29
+
30
+ #
31
+ # Mapper for ServerPropertiesForRestore class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'PointInTimeRestore',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'ServerPropertiesForRestore',
42
+ model_properties: {
43
+ version: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'version',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ ssl_enforcement: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'sslEnforcement',
55
+ type: {
56
+ name: 'Enum',
57
+ module: 'SslEnforcementEnum'
58
+ }
59
+ },
60
+ storage_profile: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'storageProfile',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'StorageProfile'
67
+ }
68
+ },
69
+ createMode: {
70
+ client_side_validation: true,
71
+ required: true,
72
+ serialized_name: 'createMode',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ source_server_id: {
78
+ client_side_validation: true,
79
+ required: true,
80
+ serialized_name: 'sourceServerId',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ restore_point_in_time: {
86
+ client_side_validation: true,
87
+ required: true,
88
+ serialized_name: 'restorePointInTime',
89
+ type: {
90
+ name: 'DateTime'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -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
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
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
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,126 @@
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
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 [String] The replication role of the server.
33
+ attr_accessor :replication_role
34
+
35
+ # @return [Hash{String => String}] Application-specific metadata in the
36
+ # form of key-value pairs.
37
+ attr_accessor :tags
38
+
39
+
40
+ #
41
+ # Mapper for ServerUpdateParameters class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'ServerUpdateParameters',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'ServerUpdateParameters',
52
+ model_properties: {
53
+ sku: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'sku',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'Sku'
60
+ }
61
+ },
62
+ storage_profile: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'properties.storageProfile',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'StorageProfile'
69
+ }
70
+ },
71
+ administrator_login_password: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'properties.administratorLoginPassword',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ version: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'properties.version',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ ssl_enforcement: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'properties.sslEnforcement',
91
+ type: {
92
+ name: 'Enum',
93
+ module: 'SslEnforcementEnum'
94
+ }
95
+ },
96
+ replication_role: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'properties.replicationRole',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ tags: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ serialized_name: 'tags',
108
+ type: {
109
+ name: 'Dictionary',
110
+ value: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ serialized_name: 'StringElementType',
114
+ type: {
115
+ name: 'String'
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ }
123
+ end
124
+ end
125
+ end
126
+ 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
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
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