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/performance_tier_properties.rb
ADDED
@@ -0,0 +1,67 @@
|
|
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
|
+
# Performance tier properties
|
10
|
+
#
|
11
|
+
class PerformanceTierProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] ID of the performance tier.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [Array<PerformanceTierServiceLevelObjectives>] Service level
|
19
|
+
# objectives associated with the performance tier
|
20
|
+
attr_accessor :service_level_objectives
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for PerformanceTierProperties class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'PerformanceTierProperties',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'PerformanceTierProperties',
|
35
|
+
model_properties: {
|
36
|
+
id: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'id',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
service_level_objectives: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'serviceLevelObjectives',
|
48
|
+
type: {
|
49
|
+
name: 'Sequence',
|
50
|
+
element: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'PerformanceTierServiceLevelObjectivesElementType',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
class_name: 'PerformanceTierServiceLevelObjectives'
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
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_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Service level objectives for performance tier.
|
10
|
+
#
|
11
|
+
class PerformanceTierServiceLevelObjectives
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] ID for the service level objective.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Edition of the performance tier.
|
19
|
+
attr_accessor :edition
|
20
|
+
|
21
|
+
# @return [Integer] vCore associated with the service level objective
|
22
|
+
attr_accessor :v_core
|
23
|
+
|
24
|
+
# @return [String] Hardware generation associated with the service level
|
25
|
+
# objective
|
26
|
+
attr_accessor :hardware_generation
|
27
|
+
|
28
|
+
# @return [Integer] Maximum Backup retention in days for the performance
|
29
|
+
# tier edition
|
30
|
+
attr_accessor :max_backup_retention_days
|
31
|
+
|
32
|
+
# @return [Integer] Minimum Backup retention in days for the performance
|
33
|
+
# tier edition
|
34
|
+
attr_accessor :min_backup_retention_days
|
35
|
+
|
36
|
+
# @return [Integer] Max storage allowed for a server.
|
37
|
+
attr_accessor :max_storage_mb
|
38
|
+
|
39
|
+
# @return [Integer] Max storage allowed for a server.
|
40
|
+
attr_accessor :min_storage_mb
|
41
|
+
|
42
|
+
|
43
|
+
#
|
44
|
+
# Mapper for PerformanceTierServiceLevelObjectives class as Ruby Hash.
|
45
|
+
# This will be used for serialization/deserialization.
|
46
|
+
#
|
47
|
+
def self.mapper()
|
48
|
+
{
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'PerformanceTierServiceLevelObjectives',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'PerformanceTierServiceLevelObjectives',
|
55
|
+
model_properties: {
|
56
|
+
id: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'id',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
edition: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'edition',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
v_core: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'vCore',
|
76
|
+
type: {
|
77
|
+
name: 'Number'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
hardware_generation: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'hardwareGeneration',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
max_backup_retention_days: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'maxBackupRetentionDays',
|
92
|
+
type: {
|
93
|
+
name: 'Number'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
min_backup_retention_days: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'minBackupRetentionDays',
|
100
|
+
type: {
|
101
|
+
name: 'Number'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
max_storage_mb: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'maxStorageMB',
|
108
|
+
type: {
|
109
|
+
name: 'Number'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
min_storage_mb: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'minStorageMB',
|
116
|
+
type: {
|
117
|
+
name: 'Number'
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
@@ -0,0 +1,71 @@
|
|
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
|
+
# Resource properties.
|
10
|
+
#
|
11
|
+
class ProxyResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource ID
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Resource name.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Resource type.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for ProxyResource class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'ProxyResource',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ProxyResource',
|
37
|
+
model_properties: {
|
38
|
+
id: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'id',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
name: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'name',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
type: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'type',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,183 @@
|
|
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
|
+
# Represents a server.
|
10
|
+
#
|
11
|
+
class Server < TrackedResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Sku] The SKU (pricing tier) of the server.
|
16
|
+
attr_accessor :sku
|
17
|
+
|
18
|
+
# @return [String] The administrator's login name of a server. Can only
|
19
|
+
# be specified when the server is being created (and is required for
|
20
|
+
# creation).
|
21
|
+
attr_accessor :administrator_login
|
22
|
+
|
23
|
+
# @return [ServerVersion] Server version. Possible values include: '5.6',
|
24
|
+
# '5.7'
|
25
|
+
attr_accessor :version
|
26
|
+
|
27
|
+
# @return [SslEnforcementEnum] Enable ssl enforcement or not when connect
|
28
|
+
# to server. Possible values include: 'Enabled', 'Disabled'
|
29
|
+
attr_accessor :ssl_enforcement
|
30
|
+
|
31
|
+
# @return [ServerState] A state of a server that is visible to user.
|
32
|
+
# Possible values include: 'Ready', 'Dropping', 'Disabled'
|
33
|
+
attr_accessor :user_visible_state
|
34
|
+
|
35
|
+
# @return [String] The fully qualified domain name of a server.
|
36
|
+
attr_accessor :fully_qualified_domain_name
|
37
|
+
|
38
|
+
# @return [DateTime] Earliest restore point creation time (ISO8601
|
39
|
+
# format)
|
40
|
+
attr_accessor :earliest_restore_date
|
41
|
+
|
42
|
+
# @return [StorageProfile] Storage profile of a server.
|
43
|
+
attr_accessor :storage_profile
|
44
|
+
|
45
|
+
|
46
|
+
#
|
47
|
+
# Mapper for Server class as Ruby Hash.
|
48
|
+
# This will be used for serialization/deserialization.
|
49
|
+
#
|
50
|
+
def self.mapper()
|
51
|
+
{
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'Server',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'Server',
|
58
|
+
model_properties: {
|
59
|
+
id: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'id',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
name: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'name',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
type: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
read_only: true,
|
81
|
+
serialized_name: 'type',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
location: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: true,
|
89
|
+
serialized_name: 'location',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
tags: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'tags',
|
98
|
+
type: {
|
99
|
+
name: 'Dictionary',
|
100
|
+
value: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'StringElementType',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
},
|
110
|
+
sku: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
serialized_name: 'sku',
|
114
|
+
type: {
|
115
|
+
name: 'Composite',
|
116
|
+
class_name: 'Sku'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
administrator_login: {
|
120
|
+
client_side_validation: true,
|
121
|
+
required: false,
|
122
|
+
serialized_name: 'properties.administratorLogin',
|
123
|
+
type: {
|
124
|
+
name: 'String'
|
125
|
+
}
|
126
|
+
},
|
127
|
+
version: {
|
128
|
+
client_side_validation: true,
|
129
|
+
required: false,
|
130
|
+
serialized_name: 'properties.version',
|
131
|
+
type: {
|
132
|
+
name: 'String'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
ssl_enforcement: {
|
136
|
+
client_side_validation: true,
|
137
|
+
required: false,
|
138
|
+
serialized_name: 'properties.sslEnforcement',
|
139
|
+
type: {
|
140
|
+
name: 'Enum',
|
141
|
+
module: 'SslEnforcementEnum'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
user_visible_state: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
serialized_name: 'properties.userVisibleState',
|
148
|
+
type: {
|
149
|
+
name: 'String'
|
150
|
+
}
|
151
|
+
},
|
152
|
+
fully_qualified_domain_name: {
|
153
|
+
client_side_validation: true,
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'properties.fullyQualifiedDomainName',
|
156
|
+
type: {
|
157
|
+
name: 'String'
|
158
|
+
}
|
159
|
+
},
|
160
|
+
earliest_restore_date: {
|
161
|
+
client_side_validation: true,
|
162
|
+
required: false,
|
163
|
+
serialized_name: 'properties.earliestRestoreDate',
|
164
|
+
type: {
|
165
|
+
name: 'DateTime'
|
166
|
+
}
|
167
|
+
},
|
168
|
+
storage_profile: {
|
169
|
+
client_side_validation: true,
|
170
|
+
required: false,
|
171
|
+
serialized_name: 'properties.storageProfile',
|
172
|
+
type: {
|
173
|
+
name: 'Composite',
|
174
|
+
class_name: 'StorageProfile'
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|