azure_mgmt_storage 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +3 -0
- data/.travis.yml +3 -0
- data/Gemfile +15 -0
- data/LICENSE.txt +21 -0
- data/README.md +111 -0
- data/Rakefile +5 -0
- data/azure_mgmt_storage.gemspec +39 -0
- data/lib/azure_mgmt_storage.rb +54 -0
- data/lib/azure_mgmt_storage/models/account_status.rb +16 -0
- data/lib/azure_mgmt_storage/models/account_type.rb +19 -0
- data/lib/azure_mgmt_storage/models/check_name_availability_result.rb +85 -0
- data/lib/azure_mgmt_storage/models/custom_domain.rb +70 -0
- data/lib/azure_mgmt_storage/models/endpoints.rb +77 -0
- data/lib/azure_mgmt_storage/models/key_name.rb +16 -0
- data/lib/azure_mgmt_storage/models/provisioning_state.rb +17 -0
- data/lib/azure_mgmt_storage/models/reason.rb +16 -0
- data/lib/azure_mgmt_storage/models/storage_account.rb +94 -0
- data/lib/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +68 -0
- data/lib/azure_mgmt_storage/models/storage_account_create_parameters.rb +94 -0
- data/lib/azure_mgmt_storage/models/storage_account_keys.rb +67 -0
- data/lib/azure_mgmt_storage/models/storage_account_list_result.rb +89 -0
- data/lib/azure_mgmt_storage/models/storage_account_properties.rb +212 -0
- data/lib/azure_mgmt_storage/models/storage_account_properties_create_parameters.rb +63 -0
- data/lib/azure_mgmt_storage/models/storage_account_properties_update_parameters.rb +85 -0
- data/lib/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +62 -0
- data/lib/azure_mgmt_storage/models/storage_account_update_parameters.rb +94 -0
- data/lib/azure_mgmt_storage/models/usage.rb +101 -0
- data/lib/azure_mgmt_storage/models/usage_list_result.rb +78 -0
- data/lib/azure_mgmt_storage/models/usage_name.rb +67 -0
- data/lib/azure_mgmt_storage/models/usage_unit.rb +20 -0
- data/lib/azure_mgmt_storage/module_definition.rb +6 -0
- data/lib/azure_mgmt_storage/storage_accounts.rb +1105 -0
- data/lib/azure_mgmt_storage/storage_management_client.rb +65 -0
- data/lib/azure_mgmt_storage/usage_operations.rb +111 -0
- data/lib/azure_mgmt_storage/version.rb +6 -0
- metadata +226 -0
@@ -0,0 +1,89 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Storage
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The list storage accounts operation response.
|
10
|
+
#
|
11
|
+
class StorageAccountListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<StorageAccount>] Gets the list of storage accounts and
|
16
|
+
# their properties.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] Gets the link to the next set of results. Currently
|
20
|
+
# this will always be empty as the API does not support pagination.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
#
|
24
|
+
# Validate the object. Throws ValidationError if validation fails.
|
25
|
+
#
|
26
|
+
def validate
|
27
|
+
@value.each{ |e| e.validate if e.respond_to?(:validate) } unless @value.nil?
|
28
|
+
end
|
29
|
+
|
30
|
+
#
|
31
|
+
# Serializes given Model object into Ruby Hash.
|
32
|
+
# @param object Model object to serialize.
|
33
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
34
|
+
#
|
35
|
+
def self.serialize_object(object)
|
36
|
+
object.validate
|
37
|
+
output_object = {}
|
38
|
+
|
39
|
+
serialized_property = object.value
|
40
|
+
unless serialized_property.nil?
|
41
|
+
serializedArray = []
|
42
|
+
serialized_property.each do |element|
|
43
|
+
unless element.nil?
|
44
|
+
element = StorageAccount.serialize_object(element)
|
45
|
+
end
|
46
|
+
serializedArray.push(element)
|
47
|
+
end
|
48
|
+
serialized_property = serializedArray
|
49
|
+
end
|
50
|
+
output_object['value'] = serialized_property unless serialized_property.nil?
|
51
|
+
|
52
|
+
serialized_property = object.next_link
|
53
|
+
output_object['nextLink'] = serialized_property unless serialized_property.nil?
|
54
|
+
|
55
|
+
output_object
|
56
|
+
end
|
57
|
+
|
58
|
+
#
|
59
|
+
# Deserializes given Ruby Hash into Model object.
|
60
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
61
|
+
# @return [StorageAccountListResult] Deserialized object.
|
62
|
+
#
|
63
|
+
def self.deserialize_object(object)
|
64
|
+
return if object.nil?
|
65
|
+
output_object = StorageAccountListResult.new
|
66
|
+
|
67
|
+
deserialized_property = object['value']
|
68
|
+
unless deserialized_property.nil?
|
69
|
+
deserializedArray = [];
|
70
|
+
deserialized_property.each do |element1|
|
71
|
+
unless element1.nil?
|
72
|
+
element1 = StorageAccount.deserialize_object(element1)
|
73
|
+
end
|
74
|
+
deserializedArray.push(element1);
|
75
|
+
end
|
76
|
+
deserialized_property = deserializedArray;
|
77
|
+
end
|
78
|
+
output_object.value = deserialized_property
|
79
|
+
|
80
|
+
deserialized_property = object['nextLink']
|
81
|
+
output_object.next_link = deserialized_property
|
82
|
+
|
83
|
+
output_object.validate
|
84
|
+
|
85
|
+
output_object
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
@@ -0,0 +1,212 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Storage
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
class StorageAccountProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ProvisioningState] Gets the status of the storage account at
|
16
|
+
# the time the operation was called. Possible values for this property
|
17
|
+
# include: 'Creating', 'ResolvingDNS', 'Succeeded'.
|
18
|
+
attr_accessor :provisioning_state
|
19
|
+
|
20
|
+
# @return [AccountType] Gets the type of the storage account. Possible
|
21
|
+
# values for this property include: 'Standard_LRS', 'Standard_ZRS',
|
22
|
+
# 'Standard_GRS', 'Standard_RAGRS', 'Premium_LRS'.
|
23
|
+
attr_accessor :account_type
|
24
|
+
|
25
|
+
# @return [Endpoints] Gets the URLs that are used to perform a retrieval
|
26
|
+
# of a public blob, queue or table object.Note that StandardZRS and
|
27
|
+
# PremiumLRS accounts only return the blob endpoint.
|
28
|
+
attr_accessor :primary_endpoints
|
29
|
+
|
30
|
+
# @return [String] Gets the location of the primary for the storage
|
31
|
+
# account.
|
32
|
+
attr_accessor :primary_location
|
33
|
+
|
34
|
+
# @return [AccountStatus] Gets the status indicating whether the primary
|
35
|
+
# location of the storage account is available or unavailable. Possible
|
36
|
+
# values for this property include: 'Available', 'Unavailable'.
|
37
|
+
attr_accessor :status_of_primary
|
38
|
+
|
39
|
+
# @return [DateTime] Gets the timestamp of the most recent instance of a
|
40
|
+
# failover to the secondary location. Only the most recent timestamp is
|
41
|
+
# retained. This element is not returned if there has never been a
|
42
|
+
# failover instance. Only available if the accountType is StandardGRS
|
43
|
+
# or StandardRAGRS.
|
44
|
+
attr_accessor :last_geo_failover_time
|
45
|
+
|
46
|
+
# @return [String] Gets the location of the geo replicated secondary for
|
47
|
+
# the storage account. Only available if the accountType is StandardGRS
|
48
|
+
# or StandardRAGRS.
|
49
|
+
attr_accessor :secondary_location
|
50
|
+
|
51
|
+
# @return [AccountStatus] Gets the status indicating whether the
|
52
|
+
# secondary location of the storage account is available or
|
53
|
+
# unavailable. Only available if the accountType is StandardGRS or
|
54
|
+
# StandardRAGRS. Possible values for this property include:
|
55
|
+
# 'Available', 'Unavailable'.
|
56
|
+
attr_accessor :status_of_secondary
|
57
|
+
|
58
|
+
# @return [DateTime] Gets the creation date and time of the storage
|
59
|
+
# account in UTC.
|
60
|
+
attr_accessor :creation_time
|
61
|
+
|
62
|
+
# @return [CustomDomain] Gets the user assigned custom domain assigned
|
63
|
+
# to this storage account.
|
64
|
+
attr_accessor :custom_domain
|
65
|
+
|
66
|
+
# @return [Endpoints] Gets the URLs that are used to perform a retrieval
|
67
|
+
# of a public blob, queue or table object from the secondary location
|
68
|
+
# of the storage account. Only available if the accountType is
|
69
|
+
# StandardRAGRS.
|
70
|
+
attr_accessor :secondary_endpoints
|
71
|
+
|
72
|
+
#
|
73
|
+
# Validate the object. Throws ValidationError if validation fails.
|
74
|
+
#
|
75
|
+
def validate
|
76
|
+
@primary_endpoints.validate unless @primary_endpoints.nil?
|
77
|
+
@custom_domain.validate unless @custom_domain.nil?
|
78
|
+
@secondary_endpoints.validate unless @secondary_endpoints.nil?
|
79
|
+
end
|
80
|
+
|
81
|
+
#
|
82
|
+
# Serializes given Model object into Ruby Hash.
|
83
|
+
# @param object Model object to serialize.
|
84
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
85
|
+
#
|
86
|
+
def self.serialize_object(object)
|
87
|
+
object.validate
|
88
|
+
output_object = {}
|
89
|
+
|
90
|
+
serialized_property = object.provisioning_state
|
91
|
+
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
92
|
+
|
93
|
+
serialized_property = object.account_type
|
94
|
+
output_object['accountType'] = serialized_property unless serialized_property.nil?
|
95
|
+
|
96
|
+
serialized_property = object.primary_endpoints
|
97
|
+
unless serialized_property.nil?
|
98
|
+
serialized_property = Endpoints.serialize_object(serialized_property)
|
99
|
+
end
|
100
|
+
output_object['primaryEndpoints'] = serialized_property unless serialized_property.nil?
|
101
|
+
|
102
|
+
serialized_property = object.primary_location
|
103
|
+
output_object['primaryLocation'] = serialized_property unless serialized_property.nil?
|
104
|
+
|
105
|
+
serialized_property = object.status_of_primary
|
106
|
+
output_object['statusOfPrimary'] = serialized_property unless serialized_property.nil?
|
107
|
+
|
108
|
+
serialized_property = object.last_geo_failover_time
|
109
|
+
serialized_property = serialized_property.new_offset(0).strftime('%FT%TZ')
|
110
|
+
output_object['lastGeoFailoverTime'] = serialized_property unless serialized_property.nil?
|
111
|
+
|
112
|
+
serialized_property = object.secondary_location
|
113
|
+
output_object['secondaryLocation'] = serialized_property unless serialized_property.nil?
|
114
|
+
|
115
|
+
serialized_property = object.status_of_secondary
|
116
|
+
output_object['statusOfSecondary'] = serialized_property unless serialized_property.nil?
|
117
|
+
|
118
|
+
serialized_property = object.creation_time
|
119
|
+
serialized_property = serialized_property.new_offset(0).strftime('%FT%TZ')
|
120
|
+
output_object['creationTime'] = serialized_property unless serialized_property.nil?
|
121
|
+
|
122
|
+
serialized_property = object.custom_domain
|
123
|
+
unless serialized_property.nil?
|
124
|
+
serialized_property = CustomDomain.serialize_object(serialized_property)
|
125
|
+
end
|
126
|
+
output_object['customDomain'] = serialized_property unless serialized_property.nil?
|
127
|
+
|
128
|
+
serialized_property = object.secondary_endpoints
|
129
|
+
unless serialized_property.nil?
|
130
|
+
serialized_property = Endpoints.serialize_object(serialized_property)
|
131
|
+
end
|
132
|
+
output_object['secondaryEndpoints'] = serialized_property unless serialized_property.nil?
|
133
|
+
|
134
|
+
output_object
|
135
|
+
end
|
136
|
+
|
137
|
+
#
|
138
|
+
# Deserializes given Ruby Hash into Model object.
|
139
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
140
|
+
# @return [StorageAccountProperties] Deserialized object.
|
141
|
+
#
|
142
|
+
def self.deserialize_object(object)
|
143
|
+
return if object.nil?
|
144
|
+
output_object = StorageAccountProperties.new
|
145
|
+
|
146
|
+
deserialized_property = object['provisioningState']
|
147
|
+
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
148
|
+
enum_is_valid = ProvisioningState.constants.any? { |e| ProvisioningState.const_get(e).to_s.downcase == deserialized_property.downcase }
|
149
|
+
fail MsRest::DeserializationError.new('Error occured while deserializing the enum', nil, nil, nil) unless enum_is_valid
|
150
|
+
end
|
151
|
+
output_object.provisioning_state = deserialized_property
|
152
|
+
|
153
|
+
deserialized_property = object['accountType']
|
154
|
+
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
155
|
+
enum_is_valid = AccountType.constants.any? { |e| AccountType.const_get(e).to_s.downcase == deserialized_property.downcase }
|
156
|
+
fail MsRest::DeserializationError.new('Error occured while deserializing the enum', nil, nil, nil) unless enum_is_valid
|
157
|
+
end
|
158
|
+
output_object.account_type = deserialized_property
|
159
|
+
|
160
|
+
deserialized_property = object['primaryEndpoints']
|
161
|
+
unless deserialized_property.nil?
|
162
|
+
deserialized_property = Endpoints.deserialize_object(deserialized_property)
|
163
|
+
end
|
164
|
+
output_object.primary_endpoints = deserialized_property
|
165
|
+
|
166
|
+
deserialized_property = object['primaryLocation']
|
167
|
+
output_object.primary_location = deserialized_property
|
168
|
+
|
169
|
+
deserialized_property = object['statusOfPrimary']
|
170
|
+
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
171
|
+
enum_is_valid = AccountStatus.constants.any? { |e| AccountStatus.const_get(e).to_s.downcase == deserialized_property.downcase }
|
172
|
+
fail MsRest::DeserializationError.new('Error occured while deserializing the enum', nil, nil, nil) unless enum_is_valid
|
173
|
+
end
|
174
|
+
output_object.status_of_primary = deserialized_property
|
175
|
+
|
176
|
+
deserialized_property = object['lastGeoFailoverTime']
|
177
|
+
deserialized_property = DateTime.parse(deserialized_property) unless deserialized_property.to_s.empty?
|
178
|
+
output_object.last_geo_failover_time = deserialized_property
|
179
|
+
|
180
|
+
deserialized_property = object['secondaryLocation']
|
181
|
+
output_object.secondary_location = deserialized_property
|
182
|
+
|
183
|
+
deserialized_property = object['statusOfSecondary']
|
184
|
+
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
185
|
+
enum_is_valid = AccountStatus.constants.any? { |e| AccountStatus.const_get(e).to_s.downcase == deserialized_property.downcase }
|
186
|
+
fail MsRest::DeserializationError.new('Error occured while deserializing the enum', nil, nil, nil) unless enum_is_valid
|
187
|
+
end
|
188
|
+
output_object.status_of_secondary = deserialized_property
|
189
|
+
|
190
|
+
deserialized_property = object['creationTime']
|
191
|
+
deserialized_property = DateTime.parse(deserialized_property) unless deserialized_property.to_s.empty?
|
192
|
+
output_object.creation_time = deserialized_property
|
193
|
+
|
194
|
+
deserialized_property = object['customDomain']
|
195
|
+
unless deserialized_property.nil?
|
196
|
+
deserialized_property = CustomDomain.deserialize_object(deserialized_property)
|
197
|
+
end
|
198
|
+
output_object.custom_domain = deserialized_property
|
199
|
+
|
200
|
+
deserialized_property = object['secondaryEndpoints']
|
201
|
+
unless deserialized_property.nil?
|
202
|
+
deserialized_property = Endpoints.deserialize_object(deserialized_property)
|
203
|
+
end
|
204
|
+
output_object.secondary_endpoints = deserialized_property
|
205
|
+
|
206
|
+
output_object.validate
|
207
|
+
|
208
|
+
output_object
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|
212
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Storage
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
class StorageAccountPropertiesCreateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AccountType] Gets or sets the account type. Possible values
|
16
|
+
# for this property include: 'Standard_LRS', 'Standard_ZRS',
|
17
|
+
# 'Standard_GRS', 'Standard_RAGRS', 'Premium_LRS'.
|
18
|
+
attr_accessor :account_type
|
19
|
+
|
20
|
+
#
|
21
|
+
# Validate the object. Throws ValidationError if validation fails.
|
22
|
+
#
|
23
|
+
def validate
|
24
|
+
end
|
25
|
+
|
26
|
+
#
|
27
|
+
# Serializes given Model object into Ruby Hash.
|
28
|
+
# @param object Model object to serialize.
|
29
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
30
|
+
#
|
31
|
+
def self.serialize_object(object)
|
32
|
+
object.validate
|
33
|
+
output_object = {}
|
34
|
+
|
35
|
+
serialized_property = object.account_type
|
36
|
+
output_object['accountType'] = serialized_property unless serialized_property.nil?
|
37
|
+
|
38
|
+
output_object
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Deserializes given Ruby Hash into Model object.
|
43
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
44
|
+
# @return [StorageAccountPropertiesCreateParameters] Deserialized object.
|
45
|
+
#
|
46
|
+
def self.deserialize_object(object)
|
47
|
+
return if object.nil?
|
48
|
+
output_object = StorageAccountPropertiesCreateParameters.new
|
49
|
+
|
50
|
+
deserialized_property = object['accountType']
|
51
|
+
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
52
|
+
enum_is_valid = AccountType.constants.any? { |e| AccountType.const_get(e).to_s.downcase == deserialized_property.downcase }
|
53
|
+
fail MsRest::DeserializationError.new('Error occured while deserializing the enum', nil, nil, nil) unless enum_is_valid
|
54
|
+
end
|
55
|
+
output_object.account_type = deserialized_property
|
56
|
+
|
57
|
+
output_object.validate
|
58
|
+
|
59
|
+
output_object
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Storage
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
class StorageAccountPropertiesUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AccountType] Gets or sets the account type. Note that
|
16
|
+
# StandardZRS and PremiumLRS accounts cannot be changed to other
|
17
|
+
# account types, and other account types cannot be changed to
|
18
|
+
# StandardZRS or PremiumLRS. Possible values for this property include:
|
19
|
+
# 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS', 'Standard_RAGRS',
|
20
|
+
# 'Premium_LRS'.
|
21
|
+
attr_accessor :account_type
|
22
|
+
|
23
|
+
# @return [CustomDomain] User domain assigned to the storage account.
|
24
|
+
# Name is the CNAME source. Only one custom domain is supported per
|
25
|
+
# storage account at this time. To clear the existing custom domain,
|
26
|
+
# use an empty string for the custom domain name property.
|
27
|
+
attr_accessor :custom_domain
|
28
|
+
|
29
|
+
#
|
30
|
+
# Validate the object. Throws ValidationError if validation fails.
|
31
|
+
#
|
32
|
+
def validate
|
33
|
+
@custom_domain.validate unless @custom_domain.nil?
|
34
|
+
end
|
35
|
+
|
36
|
+
#
|
37
|
+
# Serializes given Model object into Ruby Hash.
|
38
|
+
# @param object Model object to serialize.
|
39
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
40
|
+
#
|
41
|
+
def self.serialize_object(object)
|
42
|
+
object.validate
|
43
|
+
output_object = {}
|
44
|
+
|
45
|
+
serialized_property = object.account_type
|
46
|
+
output_object['accountType'] = serialized_property unless serialized_property.nil?
|
47
|
+
|
48
|
+
serialized_property = object.custom_domain
|
49
|
+
unless serialized_property.nil?
|
50
|
+
serialized_property = CustomDomain.serialize_object(serialized_property)
|
51
|
+
end
|
52
|
+
output_object['customDomain'] = serialized_property unless serialized_property.nil?
|
53
|
+
|
54
|
+
output_object
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Deserializes given Ruby Hash into Model object.
|
59
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
60
|
+
# @return [StorageAccountPropertiesUpdateParameters] Deserialized object.
|
61
|
+
#
|
62
|
+
def self.deserialize_object(object)
|
63
|
+
return if object.nil?
|
64
|
+
output_object = StorageAccountPropertiesUpdateParameters.new
|
65
|
+
|
66
|
+
deserialized_property = object['accountType']
|
67
|
+
if (!deserialized_property.nil? && !deserialized_property.empty?)
|
68
|
+
enum_is_valid = AccountType.constants.any? { |e| AccountType.const_get(e).to_s.downcase == deserialized_property.downcase }
|
69
|
+
fail MsRest::DeserializationError.new('Error occured while deserializing the enum', nil, nil, nil) unless enum_is_valid
|
70
|
+
end
|
71
|
+
output_object.account_type = deserialized_property
|
72
|
+
|
73
|
+
deserialized_property = object['customDomain']
|
74
|
+
unless deserialized_property.nil?
|
75
|
+
deserialized_property = CustomDomain.deserialize_object(deserialized_property)
|
76
|
+
end
|
77
|
+
output_object.custom_domain = deserialized_property
|
78
|
+
|
79
|
+
output_object.validate
|
80
|
+
|
81
|
+
output_object
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|