azure_mgmt_compute 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +3 -0
  5. data/Gemfile +17 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +139 -0
  8. data/Rakefile +5 -0
  9. data/azure_mgmt_compute.gemspec +39 -0
  10. data/lib/azure_mgmt_compute.rb +103 -0
  11. data/lib/azure_mgmt_compute/Models/additional_unattend_content.rb +108 -0
  12. data/lib/azure_mgmt_compute/Models/api_error.rb +121 -0
  13. data/lib/azure_mgmt_compute/Models/api_error_base.rb +76 -0
  14. data/lib/azure_mgmt_compute/Models/availability_set.rb +94 -0
  15. data/lib/azure_mgmt_compute/Models/availability_set_list_result.rb +79 -0
  16. data/lib/azure_mgmt_compute/Models/availability_set_properties.rb +130 -0
  17. data/lib/azure_mgmt_compute/Models/caching_types.rb +17 -0
  18. data/lib/azure_mgmt_compute/Models/component_names.rb +15 -0
  19. data/lib/azure_mgmt_compute/Models/compute_long_running_operation_properties.rb +58 -0
  20. data/lib/azure_mgmt_compute/Models/compute_long_running_operation_result.rb +126 -0
  21. data/lib/azure_mgmt_compute/Models/compute_operation_status.rb +18 -0
  22. data/lib/azure_mgmt_compute/Models/data_disk.rb +142 -0
  23. data/lib/azure_mgmt_compute/Models/data_disk_image.rb +62 -0
  24. data/lib/azure_mgmt_compute/Models/delete_operation_result.rb +109 -0
  25. data/lib/azure_mgmt_compute/Models/disk_create_option_types.rb +17 -0
  26. data/lib/azure_mgmt_compute/Models/disk_instance_view.rb +88 -0
  27. data/lib/azure_mgmt_compute/Models/hardware_profile.rb +67 -0
  28. data/lib/azure_mgmt_compute/Models/image_reference.rb +87 -0
  29. data/lib/azure_mgmt_compute/Models/inner_error.rb +68 -0
  30. data/lib/azure_mgmt_compute/Models/instance_view_status.rb +102 -0
  31. data/lib/azure_mgmt_compute/Models/linux_configuration.rb +75 -0
  32. data/lib/azure_mgmt_compute/Models/list_usages_result.rb +78 -0
  33. data/lib/azure_mgmt_compute/Models/network_interface_reference.rb +70 -0
  34. data/lib/azure_mgmt_compute/Models/network_interface_reference_properties.rb +59 -0
  35. data/lib/azure_mgmt_compute/Models/network_profile.rb +79 -0
  36. data/lib/azure_mgmt_compute/Models/operating_system_types.rb +16 -0
  37. data/lib/azure_mgmt_compute/Models/operation_status.rb +17 -0
  38. data/lib/azure_mgmt_compute/Models/osdisk.rb +135 -0
  39. data/lib/azure_mgmt_compute/Models/osdisk_image.rb +63 -0
  40. data/lib/azure_mgmt_compute/Models/osprofile.rb +149 -0
  41. data/lib/azure_mgmt_compute/Models/pass_names.rb +15 -0
  42. data/lib/azure_mgmt_compute/Models/plan.rb +85 -0
  43. data/lib/azure_mgmt_compute/Models/protocol_types.rb +16 -0
  44. data/lib/azure_mgmt_compute/Models/purchase_plan.rb +77 -0
  45. data/lib/azure_mgmt_compute/Models/setting_names.rb +16 -0
  46. data/lib/azure_mgmt_compute/Models/ssh_configuration.rb +79 -0
  47. data/lib/azure_mgmt_compute/Models/ssh_public_key.rb +72 -0
  48. data/lib/azure_mgmt_compute/Models/status_level_types.rb +17 -0
  49. data/lib/azure_mgmt_compute/Models/storage_profile.rb +110 -0
  50. data/lib/azure_mgmt_compute/Models/usage.rb +98 -0
  51. data/lib/azure_mgmt_compute/Models/usage_name.rb +68 -0
  52. data/lib/azure_mgmt_compute/Models/usage_unit.rb +15 -0
  53. data/lib/azure_mgmt_compute/Models/vault_certificate.rb +70 -0
  54. data/lib/azure_mgmt_compute/Models/vault_secret_group.rb +96 -0
  55. data/lib/azure_mgmt_compute/Models/virtual_hard_disk.rb +59 -0
  56. data/lib/azure_mgmt_compute/Models/virtual_machine.rb +142 -0
  57. data/lib/azure_mgmt_compute/Models/virtual_machine_agent_instance_view.rb +119 -0
  58. data/lib/azure_mgmt_compute/Models/virtual_machine_capture_parameters.rb +78 -0
  59. data/lib/azure_mgmt_compute/Models/virtual_machine_extension.rb +94 -0
  60. data/lib/azure_mgmt_compute/Models/virtual_machine_extension_handler_instance_view.rb +85 -0
  61. data/lib/azure_mgmt_compute/Models/virtual_machine_extension_image.rb +99 -0
  62. data/lib/azure_mgmt_compute/Models/virtual_machine_extension_image_properties.rb +102 -0
  63. data/lib/azure_mgmt_compute/Models/virtual_machine_extension_instance_view.rb +139 -0
  64. data/lib/azure_mgmt_compute/Models/virtual_machine_extension_properties.rb +133 -0
  65. data/lib/azure_mgmt_compute/Models/virtual_machine_image.rb +99 -0
  66. data/lib/azure_mgmt_compute/Models/virtual_machine_image_properties.rb +110 -0
  67. data/lib/azure_mgmt_compute/Models/virtual_machine_image_resource.rb +83 -0
  68. data/lib/azure_mgmt_compute/Models/virtual_machine_instance_view.rb +188 -0
  69. data/lib/azure_mgmt_compute/Models/virtual_machine_list_result.rb +89 -0
  70. data/lib/azure_mgmt_compute/Models/virtual_machine_properties.rb +156 -0
  71. data/lib/azure_mgmt_compute/Models/virtual_machine_size.rb +111 -0
  72. data/lib/azure_mgmt_compute/Models/virtual_machine_size_list_result.rb +79 -0
  73. data/lib/azure_mgmt_compute/Models/virtual_machine_size_types.rb +34 -0
  74. data/lib/azure_mgmt_compute/Models/win_rmconfiguration.rb +79 -0
  75. data/lib/azure_mgmt_compute/Models/win_rmlistener.rb +73 -0
  76. data/lib/azure_mgmt_compute/Models/windows_configuration.rb +126 -0
  77. data/lib/azure_mgmt_compute/availability_sets.rb +473 -0
  78. data/lib/azure_mgmt_compute/compute_management_client.rb +85 -0
  79. data/lib/azure_mgmt_compute/module_definition.rb +6 -0
  80. data/lib/azure_mgmt_compute/usage_operations.rb +113 -0
  81. data/lib/azure_mgmt_compute/version.rb +6 -0
  82. data/lib/azure_mgmt_compute/virtual_machine_extension_images.rb +325 -0
  83. data/lib/azure_mgmt_compute/virtual_machine_extensions.rb +384 -0
  84. data/lib/azure_mgmt_compute/virtual_machine_images.rb +525 -0
  85. data/lib/azure_mgmt_compute/virtual_machine_sizes.rb +114 -0
  86. data/lib/azure_mgmt_compute/virtual_machines.rb +1412 -0
  87. metadata +303 -0
@@ -0,0 +1,94 @@
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::Compute
7
+ module Models
8
+ #
9
+ # Describes a Virtual Machine Extension.
10
+ #
11
+ class VirtualMachineExtension < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [VirtualMachineExtensionProperties]
16
+ attr_accessor :properties
17
+
18
+ #
19
+ # Validate the object. Throws ValidationError if validation fails.
20
+ #
21
+ def validate
22
+ @properties.validate unless @properties.nil?
23
+ end
24
+
25
+ #
26
+ # Serializes given Model object into Ruby Hash.
27
+ # @param object Model object to serialize.
28
+ # @return [Hash] Serialized object in form of Ruby Hash.
29
+ #
30
+ def self.serialize_object(object)
31
+ object.validate
32
+ output_object = {}
33
+
34
+ serialized_property = object.location
35
+ output_object['location'] = serialized_property unless serialized_property.nil?
36
+
37
+ serialized_property = object.id
38
+ output_object['id'] = serialized_property unless serialized_property.nil?
39
+
40
+ serialized_property = object.name
41
+ output_object['name'] = serialized_property unless serialized_property.nil?
42
+
43
+ serialized_property = object.type
44
+ output_object['type'] = serialized_property unless serialized_property.nil?
45
+
46
+ serialized_property = object.tags
47
+ output_object['tags'] = serialized_property unless serialized_property.nil?
48
+
49
+ serialized_property = object.properties
50
+ unless serialized_property.nil?
51
+ serialized_property = VirtualMachineExtensionProperties.serialize_object(serialized_property)
52
+ end
53
+ output_object['properties'] = 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 [VirtualMachineExtension] Deserialized object.
62
+ #
63
+ def self.deserialize_object(object)
64
+ return if object.nil?
65
+ output_object = VirtualMachineExtension.new
66
+
67
+ deserialized_property = object['location']
68
+ output_object.location = deserialized_property
69
+
70
+ deserialized_property = object['id']
71
+ output_object.id = deserialized_property
72
+
73
+ deserialized_property = object['name']
74
+ output_object.name = deserialized_property
75
+
76
+ deserialized_property = object['type']
77
+ output_object.type = deserialized_property
78
+
79
+ deserialized_property = object['tags']
80
+ output_object.tags = deserialized_property
81
+
82
+ deserialized_property = object['properties']
83
+ unless deserialized_property.nil?
84
+ deserialized_property = VirtualMachineExtensionProperties.deserialize_object(deserialized_property)
85
+ end
86
+ output_object.properties = deserialized_property
87
+
88
+ output_object.validate
89
+
90
+ output_object
91
+ end
92
+ end
93
+ end
94
+ 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::Compute
7
+ module Models
8
+ #
9
+ # The instance view of a virtual machine extension handler.
10
+ #
11
+ class VirtualMachineExtensionHandlerInstanceView
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets full type of the extension handler which
16
+ # includes both publisher and type.
17
+ attr_accessor :type
18
+
19
+ # @return [String] Gets or sets the type version of the extension
20
+ # handler.
21
+ attr_accessor :type_handler_version
22
+
23
+ # @return [InstanceViewStatus] Gets or sets the extension handler status.
24
+ attr_accessor :status
25
+
26
+ #
27
+ # Validate the object. Throws ValidationError if validation fails.
28
+ #
29
+ def validate
30
+ @status.validate unless @status.nil?
31
+ end
32
+
33
+ #
34
+ # Serializes given Model object into Ruby Hash.
35
+ # @param object Model object to serialize.
36
+ # @return [Hash] Serialized object in form of Ruby Hash.
37
+ #
38
+ def self.serialize_object(object)
39
+ object.validate
40
+ output_object = {}
41
+
42
+ serialized_property = object.type
43
+ output_object['type'] = serialized_property unless serialized_property.nil?
44
+
45
+ serialized_property = object.type_handler_version
46
+ output_object['typeHandlerVersion'] = serialized_property unless serialized_property.nil?
47
+
48
+ serialized_property = object.status
49
+ unless serialized_property.nil?
50
+ serialized_property = InstanceViewStatus.serialize_object(serialized_property)
51
+ end
52
+ output_object['status'] = 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 [VirtualMachineExtensionHandlerInstanceView] Deserialized
61
+ # object.
62
+ #
63
+ def self.deserialize_object(object)
64
+ return if object.nil?
65
+ output_object = VirtualMachineExtensionHandlerInstanceView.new
66
+
67
+ deserialized_property = object['type']
68
+ output_object.type = deserialized_property
69
+
70
+ deserialized_property = object['typeHandlerVersion']
71
+ output_object.type_handler_version = deserialized_property
72
+
73
+ deserialized_property = object['status']
74
+ unless deserialized_property.nil?
75
+ deserialized_property = InstanceViewStatus.deserialize_object(deserialized_property)
76
+ end
77
+ output_object.status = deserialized_property
78
+
79
+ output_object.validate
80
+
81
+ output_object
82
+ end
83
+ end
84
+ end
85
+ end
@@ -0,0 +1,99 @@
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::Compute
7
+ module Models
8
+ #
9
+ # Describes a Virtual Machine Extension Image.
10
+ #
11
+ class VirtualMachineExtensionImage < MsRestAzure::SubResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [VirtualMachineExtensionImageProperties]
16
+ attr_accessor :properties
17
+
18
+ # @return [String] Gets or sets the name of the resource.
19
+ attr_accessor :name
20
+
21
+ # @return [String] Gets or sets the location of the resource.
22
+ attr_accessor :location
23
+
24
+ # @return [Hash{String => String}] Gets or sets the tags attached to the
25
+ # resource.
26
+ attr_accessor :tags
27
+
28
+ #
29
+ # Validate the object. Throws ValidationError if validation fails.
30
+ #
31
+ def validate
32
+ @properties.validate unless @properties.nil?
33
+ @tags.each{ |e| e.validate if e.respond_to?(:validate) } unless @tags.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.id
46
+ output_object['id'] = serialized_property unless serialized_property.nil?
47
+
48
+ serialized_property = object.properties
49
+ unless serialized_property.nil?
50
+ serialized_property = VirtualMachineExtensionImageProperties.serialize_object(serialized_property)
51
+ end
52
+ output_object['properties'] = serialized_property unless serialized_property.nil?
53
+
54
+ serialized_property = object.name
55
+ output_object['name'] = serialized_property unless serialized_property.nil?
56
+
57
+ serialized_property = object.location
58
+ output_object['location'] = serialized_property unless serialized_property.nil?
59
+
60
+ serialized_property = object.tags
61
+ output_object['tags'] = serialized_property unless serialized_property.nil?
62
+
63
+ output_object
64
+ end
65
+
66
+ #
67
+ # Deserializes given Ruby Hash into Model object.
68
+ # @param object [Hash] Ruby Hash object to deserialize.
69
+ # @return [VirtualMachineExtensionImage] Deserialized object.
70
+ #
71
+ def self.deserialize_object(object)
72
+ return if object.nil?
73
+ output_object = VirtualMachineExtensionImage.new
74
+
75
+ deserialized_property = object['id']
76
+ output_object.id = deserialized_property
77
+
78
+ deserialized_property = object['properties']
79
+ unless deserialized_property.nil?
80
+ deserialized_property = VirtualMachineExtensionImageProperties.deserialize_object(deserialized_property)
81
+ end
82
+ output_object.properties = deserialized_property
83
+
84
+ deserialized_property = object['name']
85
+ output_object.name = deserialized_property
86
+
87
+ deserialized_property = object['location']
88
+ output_object.location = deserialized_property
89
+
90
+ deserialized_property = object['tags']
91
+ output_object.tags = deserialized_property
92
+
93
+ output_object.validate
94
+
95
+ output_object
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,102 @@
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::Compute
7
+ module Models
8
+ #
9
+ # Describes the properties of a Virtual Machine Extension Image.
10
+ #
11
+ class VirtualMachineExtensionImageProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the operating system this extension
16
+ # supports.
17
+ attr_accessor :operating_system
18
+
19
+ # @return [String] Gets or sets the type of role (IaaS or PaaS) this
20
+ # extension supports.
21
+ attr_accessor :compute_role
22
+
23
+ # @return [String] Gets or sets the schema defined by publisher, where
24
+ # extension consumers should provide settings in a matching schema.
25
+ attr_accessor :handler_schema
26
+
27
+ # @return [Boolean] Gets or sets whether the extension can be used on
28
+ # xRP VMScaleSets.By default existing extensions are usable on
29
+ # scalesets, but there might be cases where a publisher wants to
30
+ # explicitly indicate the extension is only enabled for CRP VMs but not
31
+ # VMSS.
32
+ attr_accessor :vm_scale_set_enabled
33
+
34
+ # @return [Boolean] Gets or sets whether the handler can support
35
+ # multiple extensions.
36
+ attr_accessor :supports_multiple_extensions
37
+
38
+ #
39
+ # Validate the object. Throws ValidationError if validation fails.
40
+ #
41
+ def validate
42
+ # Nothing to validate
43
+ end
44
+
45
+ #
46
+ # Serializes given Model object into Ruby Hash.
47
+ # @param object Model object to serialize.
48
+ # @return [Hash] Serialized object in form of Ruby Hash.
49
+ #
50
+ def self.serialize_object(object)
51
+ object.validate
52
+ output_object = {}
53
+
54
+ serialized_property = object.operating_system
55
+ output_object['operatingSystem'] = serialized_property unless serialized_property.nil?
56
+
57
+ serialized_property = object.compute_role
58
+ output_object['computeRole'] = serialized_property unless serialized_property.nil?
59
+
60
+ serialized_property = object.handler_schema
61
+ output_object['handlerSchema'] = serialized_property unless serialized_property.nil?
62
+
63
+ serialized_property = object.vm_scale_set_enabled
64
+ output_object['vmScaleSetEnabled'] = serialized_property unless serialized_property.nil?
65
+
66
+ serialized_property = object.supports_multiple_extensions
67
+ output_object['supportsMultipleExtensions'] = serialized_property unless serialized_property.nil?
68
+
69
+ output_object
70
+ end
71
+
72
+ #
73
+ # Deserializes given Ruby Hash into Model object.
74
+ # @param object [Hash] Ruby Hash object to deserialize.
75
+ # @return [VirtualMachineExtensionImageProperties] Deserialized object.
76
+ #
77
+ def self.deserialize_object(object)
78
+ return if object.nil?
79
+ output_object = VirtualMachineExtensionImageProperties.new
80
+
81
+ deserialized_property = object['operatingSystem']
82
+ output_object.operating_system = deserialized_property
83
+
84
+ deserialized_property = object['computeRole']
85
+ output_object.compute_role = deserialized_property
86
+
87
+ deserialized_property = object['handlerSchema']
88
+ output_object.handler_schema = deserialized_property
89
+
90
+ deserialized_property = object['vmScaleSetEnabled']
91
+ output_object.vm_scale_set_enabled = deserialized_property
92
+
93
+ deserialized_property = object['supportsMultipleExtensions']
94
+ output_object.supports_multiple_extensions = deserialized_property
95
+
96
+ output_object.validate
97
+
98
+ output_object
99
+ end
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,139 @@
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::Compute
7
+ module Models
8
+ #
9
+ # The instance view of a virtual machine extension.
10
+ #
11
+ class VirtualMachineExtensionInstanceView
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the virtual machine extension name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Gets or sets the full type of the extension handler
19
+ # which includes both publisher and type.
20
+ attr_accessor :type
21
+
22
+ # @return [String] Gets or sets the type version of the extension
23
+ # handler.
24
+ attr_accessor :type_handler_version
25
+
26
+ # @return [Array<InstanceViewStatus>] Gets or sets the resource status
27
+ # information.
28
+ attr_accessor :substatuses
29
+
30
+ # @return [Array<InstanceViewStatus>] Gets or sets the resource status
31
+ # information.
32
+ attr_accessor :statuses
33
+
34
+ #
35
+ # Validate the object. Throws ValidationError if validation fails.
36
+ #
37
+ def validate
38
+ @substatuses.each{ |e| e.validate if e.respond_to?(:validate) } unless @substatuses.nil?
39
+ @statuses.each{ |e| e.validate if e.respond_to?(:validate) } unless @statuses.nil?
40
+ end
41
+
42
+ #
43
+ # Serializes given Model object into Ruby Hash.
44
+ # @param object Model object to serialize.
45
+ # @return [Hash] Serialized object in form of Ruby Hash.
46
+ #
47
+ def self.serialize_object(object)
48
+ object.validate
49
+ output_object = {}
50
+
51
+ serialized_property = object.name
52
+ output_object['name'] = serialized_property unless serialized_property.nil?
53
+
54
+ serialized_property = object.type
55
+ output_object['type'] = serialized_property unless serialized_property.nil?
56
+
57
+ serialized_property = object.type_handler_version
58
+ output_object['typeHandlerVersion'] = serialized_property unless serialized_property.nil?
59
+
60
+ serialized_property = object.substatuses
61
+ unless serialized_property.nil?
62
+ serializedArray = []
63
+ serialized_property.each do |element|
64
+ unless element.nil?
65
+ element = InstanceViewStatus.serialize_object(element)
66
+ end
67
+ serializedArray.push(element)
68
+ end
69
+ serialized_property = serializedArray
70
+ end
71
+ output_object['substatuses'] = serialized_property unless serialized_property.nil?
72
+
73
+ serialized_property = object.statuses
74
+ unless serialized_property.nil?
75
+ serializedArray = []
76
+ serialized_property.each do |element1|
77
+ unless element1.nil?
78
+ element1 = InstanceViewStatus.serialize_object(element1)
79
+ end
80
+ serializedArray.push(element1)
81
+ end
82
+ serialized_property = serializedArray
83
+ end
84
+ output_object['statuses'] = serialized_property unless serialized_property.nil?
85
+
86
+ output_object
87
+ end
88
+
89
+ #
90
+ # Deserializes given Ruby Hash into Model object.
91
+ # @param object [Hash] Ruby Hash object to deserialize.
92
+ # @return [VirtualMachineExtensionInstanceView] Deserialized object.
93
+ #
94
+ def self.deserialize_object(object)
95
+ return if object.nil?
96
+ output_object = VirtualMachineExtensionInstanceView.new
97
+
98
+ deserialized_property = object['name']
99
+ output_object.name = deserialized_property
100
+
101
+ deserialized_property = object['type']
102
+ output_object.type = deserialized_property
103
+
104
+ deserialized_property = object['typeHandlerVersion']
105
+ output_object.type_handler_version = deserialized_property
106
+
107
+ deserialized_property = object['substatuses']
108
+ unless deserialized_property.nil?
109
+ deserializedArray = [];
110
+ deserialized_property.each do |element2|
111
+ unless element2.nil?
112
+ element2 = InstanceViewStatus.deserialize_object(element2)
113
+ end
114
+ deserializedArray.push(element2);
115
+ end
116
+ deserialized_property = deserializedArray;
117
+ end
118
+ output_object.substatuses = deserialized_property
119
+
120
+ deserialized_property = object['statuses']
121
+ unless deserialized_property.nil?
122
+ deserializedArray = [];
123
+ deserialized_property.each do |element3|
124
+ unless element3.nil?
125
+ element3 = InstanceViewStatus.deserialize_object(element3)
126
+ end
127
+ deserializedArray.push(element3);
128
+ end
129
+ deserialized_property = deserializedArray;
130
+ end
131
+ output_object.statuses = deserialized_property
132
+
133
+ output_object.validate
134
+
135
+ output_object
136
+ end
137
+ end
138
+ end
139
+ end