azure_mgmt_mariadb 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb.rb +76 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/check_name_availability.rb +123 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/configurations.rb +393 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/databases.rb +538 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/firewall_rules.rb +538 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/location_based_performance_tier.rb +113 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/log_files.rb +123 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/maria_dbmanagement_client.rb +168 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/configuration.rb +132 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/configuration_list_result.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/database.rb +84 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/database_list_result.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/firewall_rule.rb +92 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/firewall_rule_list_result.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/geo_redundant_backup.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/log_file.rb +120 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/log_file_list_result.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/name_availability.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/name_availability_request.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/operation.rb +95 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/operation_display.rb +83 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/operation_list_result.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/operation_origin.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/performance_tier_list_result.rb +56 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/performance_tier_properties.rb +67 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/performance_tier_service_level_objectives.rb +126 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/proxy_resource.rb +71 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server.rb +183 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_for_create.rb +92 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_list_result.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_properties_for_create.rb +85 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_properties_for_default_create.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_properties_for_geo_restore.rb +88 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_properties_for_restore.rb +99 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_security_alert_policy.rb +166 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_security_alert_policy_state.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_state.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_update_parameters.rb +115 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_version.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/sku.rb +97 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/sku_tier.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/ssl_enforcement_enum.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/storage_profile.rb +69 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/tracked_resource.rb +93 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/virtual_network_rule.rb +99 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/virtual_network_rule_list_result.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/virtual_network_rule_state.rb +19 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/module_definition.rb +9 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/operations.rb +107 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/server_security_alert_policies.rb +287 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/servers.rb +772 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/virtual_network_rules.rb +663 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb.rb +78 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/check_name_availability.rb +123 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/configurations.rb +393 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/databases.rb +538 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/firewall_rules.rb +538 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/location_based_performance_tier.rb +113 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/log_files.rb +123 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/maria_dbmanagement_client.rb +172 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/configuration.rb +132 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/configuration_list_result.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/database.rb +84 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/database_list_result.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/firewall_rule.rb +92 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/firewall_rule_list_result.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/geo_redundant_backup.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/log_file.rb +120 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/log_file_list_result.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/name_availability.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/name_availability_request.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/operation.rb +95 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/operation_display.rb +83 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/operation_list_result.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/operation_origin.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/performance_tier_list_result.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/performance_tier_properties.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/performance_tier_service_level_objectives.rb +126 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/proxy_resource.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server.rb +220 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_for_create.rb +92 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_list_result.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_properties_for_create.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_properties_for_default_create.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_properties_for_geo_restore.rb +88 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_properties_for_replica.rb +87 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_properties_for_restore.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_security_alert_policy.rb +166 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_security_alert_policy_state.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_state.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_update_parameters.rb +126 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_version.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/sku.rb +97 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/sku_tier.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/ssl_enforcement_enum.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/storage_profile.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/tracked_resource.rb +93 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/virtual_network_rule.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/virtual_network_rule_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/models/virtual_network_rule_state.rb +19 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/module_definition.rb +9 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/operations.rb +107 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/replicas.rb +123 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/server_security_alert_policies.rb +287 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/servers.rb +901 -0
- data/lib/2018-06-01/generated/azure_mgmt_mariadb/virtual_network_rules.rb +663 -0
- data/lib/azure_mgmt_mariadb.rb +7 -0
- data/lib/module_definition.rb +9 -0
- data/lib/profiles/latest/mariadb_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/mariadb_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/mariadb_profile_module.rb +241 -0
- data/lib/version.rb +7 -0
- metadata +231 -0
data/lib/2018-06-01-preview/generated/azure_mgmt_mariadb/models/server_security_alert_policy.rb
ADDED
@@ -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
|