azure_mgmt_compute 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/azure_mgmt_compute.gemspec +4 -4
- data/lib/azure_mgmt_compute.rb +3 -138
- data/lib/generated/azure_mgmt_compute.rb +128 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/availability_sets.rb +24 -22
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/compute_management_client.rb +12 -12
- data/lib/generated/azure_mgmt_compute/models/additional_unattend_content.rb +88 -0
- data/lib/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
- data/lib/generated/azure_mgmt_compute/models/api_error.rb +93 -0
- data/lib/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
- data/lib/generated/azure_mgmt_compute/models/availability_set.rb +136 -0
- data/lib/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/caching_types.rb +0 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/component_names.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
- data/lib/generated/azure_mgmt_compute/models/data_disk.rb +114 -0
- data/lib/generated/azure_mgmt_compute/models/data_disk_image.rb +48 -0
- data/lib/generated/azure_mgmt_compute/models/diagnostics_profile.rb +45 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/disk_create_option_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
- data/lib/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/hardware_profile.rb +20 -35
- data/lib/generated/azure_mgmt_compute/models/image_reference.rb +76 -0
- data/lib/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
- data/lib/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/instance_view_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/list_usages_result.rb +95 -0
- data/lib/generated/azure_mgmt_compute/models/network_interface_reference.rb +51 -0
- data/lib/generated/azure_mgmt_compute/models/network_profile.rb +52 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/operating_system_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/osdisk.rb +127 -0
- data/lib/generated/azure_mgmt_compute/models/osdisk_image.rb +46 -0
- data/lib/generated/azure_mgmt_compute/models/osprofile.rb +116 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/pass_names.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/plan.rb +74 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/protocol_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/setting_names.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/sku.rb +64 -0
- data/lib/generated/azure_mgmt_compute/models/ssh_configuration.rb +53 -0
- data/lib/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/status_level_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/upgrade_mode.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
- data/lib/generated/azure_mgmt_compute/models/usage.rb +78 -0
- data/lib/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
- data/lib/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
- data/lib/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine.rb +224 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +135 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +124 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +117 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +97 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +97 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +111 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/virtual_machine_scale_set_sku_scale_type.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +248 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +142 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +96 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size.rb +95 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/virtual_machine_size_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
- data/lib/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
- data/lib/generated/azure_mgmt_compute/models/win_rmlistener.rb +58 -0
- data/lib/generated/azure_mgmt_compute/models/windows_configuration.rb +98 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/module_definition.rb +0 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/usage_operations.rb +32 -11
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/version.rb +1 -1
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_extension_images.rb +40 -26
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_extensions.rb +59 -31
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_images.rb +76 -48
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_scale_set_vms.rb +169 -41
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_scale_sets.rb +341 -125
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_sizes.rb +4 -4
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machines.rb +340 -84
- metadata +126 -142
- data/lib/azure_mgmt_compute/models/additional_unattend_content.rb +0 -105
- data/lib/azure_mgmt_compute/models/api_entity_reference.rb +0 -57
- data/lib/azure_mgmt_compute/models/api_error.rb +0 -119
- data/lib/azure_mgmt_compute/models/api_error_base.rb +0 -74
- data/lib/azure_mgmt_compute/models/availability_set.rb +0 -92
- data/lib/azure_mgmt_compute/models/availability_set_list_result.rb +0 -77
- data/lib/azure_mgmt_compute/models/availability_set_properties.rb +0 -128
- data/lib/azure_mgmt_compute/models/boot_diagnostics.rb +0 -67
- data/lib/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +0 -65
- data/lib/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +0 -56
- data/lib/azure_mgmt_compute/models/data_disk.rb +0 -143
- data/lib/azure_mgmt_compute/models/data_disk_image.rb +0 -60
- data/lib/azure_mgmt_compute/models/diagnostics_profile.rb +0 -62
- data/lib/azure_mgmt_compute/models/disk_encryption_settings.rb +0 -90
- data/lib/azure_mgmt_compute/models/disk_instance_view.rb +0 -86
- data/lib/azure_mgmt_compute/models/image_reference.rb +0 -85
- data/lib/azure_mgmt_compute/models/inner_error.rb +0 -66
- data/lib/azure_mgmt_compute/models/instance_view_status.rb +0 -100
- data/lib/azure_mgmt_compute/models/key_vault_key_reference.rb +0 -74
- data/lib/azure_mgmt_compute/models/key_vault_secret_reference.rb +0 -75
- data/lib/azure_mgmt_compute/models/linux_configuration.rb +0 -73
- data/lib/azure_mgmt_compute/models/list_usages_result.rb +0 -76
- data/lib/azure_mgmt_compute/models/network_interface_reference.rb +0 -68
- data/lib/azure_mgmt_compute/models/network_interface_reference_properties.rb +0 -57
- data/lib/azure_mgmt_compute/models/network_profile.rb +0 -77
- data/lib/azure_mgmt_compute/models/osdisk.rb +0 -163
- data/lib/azure_mgmt_compute/models/osdisk_image.rb +0 -61
- data/lib/azure_mgmt_compute/models/osprofile.rb +0 -147
- data/lib/azure_mgmt_compute/models/plan.rb +0 -83
- data/lib/azure_mgmt_compute/models/purchase_plan.rb +0 -77
- data/lib/azure_mgmt_compute/models/sku.rb +0 -75
- data/lib/azure_mgmt_compute/models/ssh_configuration.rb +0 -77
- data/lib/azure_mgmt_compute/models/ssh_public_key.rb +0 -70
- data/lib/azure_mgmt_compute/models/storage_profile.rb +0 -108
- data/lib/azure_mgmt_compute/models/upgrade_policy.rb +0 -60
- data/lib/azure_mgmt_compute/models/usage.rb +0 -96
- data/lib/azure_mgmt_compute/models/usage_name.rb +0 -66
- data/lib/azure_mgmt_compute/models/vault_certificate.rb +0 -68
- data/lib/azure_mgmt_compute/models/vault_secret_group.rb +0 -94
- data/lib/azure_mgmt_compute/models/virtual_hard_disk.rb +0 -57
- data/lib/azure_mgmt_compute/models/virtual_machine.rb +0 -140
- data/lib/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +0 -117
- data/lib/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +0 -78
- data/lib/azure_mgmt_compute/models/virtual_machine_capture_result.rb +0 -68
- data/lib/azure_mgmt_compute/models/virtual_machine_capture_result_properties.rb +0 -56
- data/lib/azure_mgmt_compute/models/virtual_machine_extension.rb +0 -92
- data/lib/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +0 -83
- data/lib/azure_mgmt_compute/models/virtual_machine_extension_image.rb +0 -92
- data/lib/azure_mgmt_compute/models/virtual_machine_extension_image_properties.rb +0 -102
- data/lib/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +0 -137
- data/lib/azure_mgmt_compute/models/virtual_machine_extension_properties.rb +0 -141
- data/lib/azure_mgmt_compute/models/virtual_machine_image.rb +0 -86
- data/lib/azure_mgmt_compute/models/virtual_machine_image_properties.rb +0 -108
- data/lib/azure_mgmt_compute/models/virtual_machine_image_resource.rb +0 -83
- data/lib/azure_mgmt_compute/models/virtual_machine_instance_view.rb +0 -202
- data/lib/azure_mgmt_compute/models/virtual_machine_list_result.rb +0 -87
- data/lib/azure_mgmt_compute/models/virtual_machine_properties.rb +0 -189
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set.rb +0 -108
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_extension_properties.rb +0 -116
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +0 -125
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +0 -79
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +0 -78
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration_properties.rb +0 -158
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +0 -88
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +0 -80
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_properties.rb +0 -89
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +0 -129
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +0 -147
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_properties.rb +0 -99
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +0 -88
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +0 -90
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +0 -78
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +0 -165
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +0 -87
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +0 -57
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +0 -59
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +0 -202
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +0 -114
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmproperties.rb +0 -190
- data/lib/azure_mgmt_compute/models/virtual_machine_size.rb +0 -109
- data/lib/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +0 -68
- data/lib/azure_mgmt_compute/models/win_rmconfiguration.rb +0 -77
- data/lib/azure_mgmt_compute/models/win_rmlistener.rb +0 -71
- data/lib/azure_mgmt_compute/models/windows_configuration.rb +0 -124
@@ -1,116 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.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 Scale Set Extension.
|
10
|
-
#
|
11
|
-
class VirtualMachineScaleSetExtensionProperties
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] Gets or sets the name of the extension handler
|
16
|
-
# publisher.
|
17
|
-
attr_accessor :publisher
|
18
|
-
|
19
|
-
# @return [String] Gets or sets the type of the extension handler.
|
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 [Boolean] Gets or sets whether the extension handler should be
|
27
|
-
# automatically upgraded across minor versions.
|
28
|
-
attr_accessor :auto_upgrade_minor_version
|
29
|
-
|
30
|
-
# @return Gets or sets Json formatted public settings for the extension.
|
31
|
-
attr_accessor :settings
|
32
|
-
|
33
|
-
# @return Gets or sets Json formatted protected settings for the
|
34
|
-
# extension.
|
35
|
-
attr_accessor :protected_settings
|
36
|
-
|
37
|
-
# @return [String] Gets the provisioning state, which only appears in
|
38
|
-
# the response.
|
39
|
-
attr_accessor :provisioning_state
|
40
|
-
|
41
|
-
#
|
42
|
-
# Validate the object. Throws ValidationError if validation fails.
|
43
|
-
#
|
44
|
-
def validate
|
45
|
-
# Nothing to validate
|
46
|
-
end
|
47
|
-
|
48
|
-
#
|
49
|
-
# Serializes given Model object into Ruby Hash.
|
50
|
-
# @param object Model object to serialize.
|
51
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
52
|
-
#
|
53
|
-
def self.serialize_object(object)
|
54
|
-
object.validate
|
55
|
-
output_object = {}
|
56
|
-
|
57
|
-
serialized_property = object.publisher
|
58
|
-
output_object['publisher'] = serialized_property unless serialized_property.nil?
|
59
|
-
|
60
|
-
serialized_property = object.type
|
61
|
-
output_object['type'] = serialized_property unless serialized_property.nil?
|
62
|
-
|
63
|
-
serialized_property = object.type_handler_version
|
64
|
-
output_object['typeHandlerVersion'] = serialized_property unless serialized_property.nil?
|
65
|
-
|
66
|
-
serialized_property = object.auto_upgrade_minor_version
|
67
|
-
output_object['autoUpgradeMinorVersion'] = serialized_property unless serialized_property.nil?
|
68
|
-
|
69
|
-
serialized_property = object.settings
|
70
|
-
output_object['settings'] = serialized_property unless serialized_property.nil?
|
71
|
-
|
72
|
-
serialized_property = object.protected_settings
|
73
|
-
output_object['protectedSettings'] = serialized_property unless serialized_property.nil?
|
74
|
-
|
75
|
-
serialized_property = object.provisioning_state
|
76
|
-
output_object['provisioningState'] = serialized_property unless serialized_property.nil?
|
77
|
-
|
78
|
-
output_object
|
79
|
-
end
|
80
|
-
|
81
|
-
#
|
82
|
-
# Deserializes given Ruby Hash into Model object.
|
83
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
84
|
-
# @return [VirtualMachineScaleSetExtensionProperties] Deserialized
|
85
|
-
# object.
|
86
|
-
#
|
87
|
-
def self.deserialize_object(object)
|
88
|
-
return if object.nil?
|
89
|
-
output_object = VirtualMachineScaleSetExtensionProperties.new
|
90
|
-
|
91
|
-
deserialized_property = object['publisher']
|
92
|
-
output_object.publisher = deserialized_property
|
93
|
-
|
94
|
-
deserialized_property = object['type']
|
95
|
-
output_object.type = deserialized_property
|
96
|
-
|
97
|
-
deserialized_property = object['typeHandlerVersion']
|
98
|
-
output_object.type_handler_version = deserialized_property
|
99
|
-
|
100
|
-
deserialized_property = object['autoUpgradeMinorVersion']
|
101
|
-
output_object.auto_upgrade_minor_version = deserialized_property
|
102
|
-
|
103
|
-
deserialized_property = object['settings']
|
104
|
-
output_object.settings = deserialized_property
|
105
|
-
|
106
|
-
deserialized_property = object['protectedSettings']
|
107
|
-
output_object.protected_settings = deserialized_property
|
108
|
-
|
109
|
-
deserialized_property = object['provisioningState']
|
110
|
-
output_object.provisioning_state = deserialized_property
|
111
|
-
|
112
|
-
output_object
|
113
|
-
end
|
114
|
-
end
|
115
|
-
end
|
116
|
-
end
|
@@ -1,125 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.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 scale set.
|
10
|
-
#
|
11
|
-
class VirtualMachineScaleSetInstanceView
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [VirtualMachineScaleSetInstanceViewStatusesSummary] Gets the
|
16
|
-
# instance view status summary for the virtual machine scale set.
|
17
|
-
attr_accessor :virtual_machine
|
18
|
-
|
19
|
-
# @return [Array<VirtualMachineScaleSetVMExtensionsSummary>] Gets the
|
20
|
-
# extensions information.
|
21
|
-
attr_accessor :extensions
|
22
|
-
|
23
|
-
# @return [Array<InstanceViewStatus>] Gets or sets the resource status
|
24
|
-
# information.
|
25
|
-
attr_accessor :statuses
|
26
|
-
|
27
|
-
#
|
28
|
-
# Validate the object. Throws ValidationError if validation fails.
|
29
|
-
#
|
30
|
-
def validate
|
31
|
-
@virtual_machine.validate unless @virtual_machine.nil?
|
32
|
-
@extensions.each{ |e| e.validate if e.respond_to?(:validate) } unless @extensions.nil?
|
33
|
-
@statuses.each{ |e| e.validate if e.respond_to?(:validate) } unless @statuses.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.virtual_machine
|
46
|
-
unless serialized_property.nil?
|
47
|
-
serialized_property = VirtualMachineScaleSetInstanceViewStatusesSummary.serialize_object(serialized_property)
|
48
|
-
end
|
49
|
-
output_object['virtualMachine'] = serialized_property unless serialized_property.nil?
|
50
|
-
|
51
|
-
serialized_property = object.extensions
|
52
|
-
unless serialized_property.nil?
|
53
|
-
serializedArray = []
|
54
|
-
serialized_property.each do |element|
|
55
|
-
unless element.nil?
|
56
|
-
element = VirtualMachineScaleSetVMExtensionsSummary.serialize_object(element)
|
57
|
-
end
|
58
|
-
serializedArray.push(element)
|
59
|
-
end
|
60
|
-
serialized_property = serializedArray
|
61
|
-
end
|
62
|
-
output_object['extensions'] = serialized_property unless serialized_property.nil?
|
63
|
-
|
64
|
-
serialized_property = object.statuses
|
65
|
-
unless serialized_property.nil?
|
66
|
-
serializedArray = []
|
67
|
-
serialized_property.each do |element1|
|
68
|
-
unless element1.nil?
|
69
|
-
element1 = InstanceViewStatus.serialize_object(element1)
|
70
|
-
end
|
71
|
-
serializedArray.push(element1)
|
72
|
-
end
|
73
|
-
serialized_property = serializedArray
|
74
|
-
end
|
75
|
-
output_object['statuses'] = serialized_property unless serialized_property.nil?
|
76
|
-
|
77
|
-
output_object
|
78
|
-
end
|
79
|
-
|
80
|
-
#
|
81
|
-
# Deserializes given Ruby Hash into Model object.
|
82
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
83
|
-
# @return [VirtualMachineScaleSetInstanceView] Deserialized object.
|
84
|
-
#
|
85
|
-
def self.deserialize_object(object)
|
86
|
-
return if object.nil?
|
87
|
-
output_object = VirtualMachineScaleSetInstanceView.new
|
88
|
-
|
89
|
-
deserialized_property = object['virtualMachine']
|
90
|
-
unless deserialized_property.nil?
|
91
|
-
deserialized_property = VirtualMachineScaleSetInstanceViewStatusesSummary.deserialize_object(deserialized_property)
|
92
|
-
end
|
93
|
-
output_object.virtual_machine = deserialized_property
|
94
|
-
|
95
|
-
deserialized_property = object['extensions']
|
96
|
-
unless deserialized_property.nil?
|
97
|
-
deserialized_array = []
|
98
|
-
deserialized_property.each do |element2|
|
99
|
-
unless element2.nil?
|
100
|
-
element2 = VirtualMachineScaleSetVMExtensionsSummary.deserialize_object(element2)
|
101
|
-
end
|
102
|
-
deserialized_array.push(element2)
|
103
|
-
end
|
104
|
-
deserialized_property = deserialized_array
|
105
|
-
end
|
106
|
-
output_object.extensions = deserialized_property
|
107
|
-
|
108
|
-
deserialized_property = object['statuses']
|
109
|
-
unless deserialized_property.nil?
|
110
|
-
deserialized_array = []
|
111
|
-
deserialized_property.each do |element3|
|
112
|
-
unless element3.nil?
|
113
|
-
element3 = InstanceViewStatus.deserialize_object(element3)
|
114
|
-
end
|
115
|
-
deserialized_array.push(element3)
|
116
|
-
end
|
117
|
-
deserialized_property = deserialized_array
|
118
|
-
end
|
119
|
-
output_object.statuses = deserialized_property
|
120
|
-
|
121
|
-
output_object
|
122
|
-
end
|
123
|
-
end
|
124
|
-
end
|
125
|
-
end
|
data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb
DELETED
@@ -1,79 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
|
-
# Instance view statuses summary for virtual machines of a virtual machine
|
10
|
-
# scale set.
|
11
|
-
#
|
12
|
-
class VirtualMachineScaleSetInstanceViewStatusesSummary
|
13
|
-
|
14
|
-
include MsRestAzure
|
15
|
-
|
16
|
-
# @return [Array<VirtualMachineStatusCodeCount>] Gets the extensions
|
17
|
-
# information.
|
18
|
-
attr_accessor :statuses_summary
|
19
|
-
|
20
|
-
#
|
21
|
-
# Validate the object. Throws ValidationError if validation fails.
|
22
|
-
#
|
23
|
-
def validate
|
24
|
-
@statuses_summary.each{ |e| e.validate if e.respond_to?(:validate) } unless @statuses_summary.nil?
|
25
|
-
end
|
26
|
-
|
27
|
-
#
|
28
|
-
# Serializes given Model object into Ruby Hash.
|
29
|
-
# @param object Model object to serialize.
|
30
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
31
|
-
#
|
32
|
-
def self.serialize_object(object)
|
33
|
-
object.validate
|
34
|
-
output_object = {}
|
35
|
-
|
36
|
-
serialized_property = object.statuses_summary
|
37
|
-
unless serialized_property.nil?
|
38
|
-
serializedArray = []
|
39
|
-
serialized_property.each do |element|
|
40
|
-
unless element.nil?
|
41
|
-
element = VirtualMachineStatusCodeCount.serialize_object(element)
|
42
|
-
end
|
43
|
-
serializedArray.push(element)
|
44
|
-
end
|
45
|
-
serialized_property = serializedArray
|
46
|
-
end
|
47
|
-
output_object['statusesSummary'] = serialized_property unless serialized_property.nil?
|
48
|
-
|
49
|
-
output_object
|
50
|
-
end
|
51
|
-
|
52
|
-
#
|
53
|
-
# Deserializes given Ruby Hash into Model object.
|
54
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
55
|
-
# @return [VirtualMachineScaleSetInstanceViewStatusesSummary]
|
56
|
-
# Deserialized object.
|
57
|
-
#
|
58
|
-
def self.deserialize_object(object)
|
59
|
-
return if object.nil?
|
60
|
-
output_object = VirtualMachineScaleSetInstanceViewStatusesSummary.new
|
61
|
-
|
62
|
-
deserialized_property = object['statusesSummary']
|
63
|
-
unless deserialized_property.nil?
|
64
|
-
deserialized_array = []
|
65
|
-
deserialized_property.each do |element1|
|
66
|
-
unless element1.nil?
|
67
|
-
element1 = VirtualMachineStatusCodeCount.deserialize_object(element1)
|
68
|
-
end
|
69
|
-
deserialized_array.push(element1)
|
70
|
-
end
|
71
|
-
deserialized_property = deserialized_array
|
72
|
-
end
|
73
|
-
output_object.statuses_summary = deserialized_property
|
74
|
-
|
75
|
-
output_object
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
79
|
-
end
|
@@ -1,78 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.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 scale set network profile's IP configuration.
|
10
|
-
#
|
11
|
-
class VirtualMachineScaleSetIPConfiguration < MsRestAzure::SubResource
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] Gets or sets the IP configuration name.
|
16
|
-
attr_accessor :name
|
17
|
-
|
18
|
-
# @return [VirtualMachineScaleSetIPConfigurationProperties]
|
19
|
-
attr_accessor :properties
|
20
|
-
|
21
|
-
#
|
22
|
-
# Validate the object. Throws ValidationError if validation fails.
|
23
|
-
#
|
24
|
-
def validate
|
25
|
-
fail MsRest::ValidationError, 'property name is nil' if @name.nil?
|
26
|
-
@properties.validate unless @properties.nil?
|
27
|
-
end
|
28
|
-
|
29
|
-
#
|
30
|
-
# Serializes given Model object into Ruby Hash.
|
31
|
-
# @param object Model object to serialize.
|
32
|
-
# @return [Hash] Serialized object in form of Ruby Hash.
|
33
|
-
#
|
34
|
-
def self.serialize_object(object)
|
35
|
-
object.validate
|
36
|
-
output_object = {}
|
37
|
-
|
38
|
-
serialized_property = object.name
|
39
|
-
output_object['name'] = serialized_property unless serialized_property.nil?
|
40
|
-
|
41
|
-
serialized_property = object.id
|
42
|
-
output_object['id'] = serialized_property unless serialized_property.nil?
|
43
|
-
|
44
|
-
serialized_property = object.properties
|
45
|
-
unless serialized_property.nil?
|
46
|
-
serialized_property = VirtualMachineScaleSetIPConfigurationProperties.serialize_object(serialized_property)
|
47
|
-
end
|
48
|
-
output_object['properties'] = serialized_property unless serialized_property.nil?
|
49
|
-
|
50
|
-
output_object
|
51
|
-
end
|
52
|
-
|
53
|
-
#
|
54
|
-
# Deserializes given Ruby Hash into Model object.
|
55
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
56
|
-
# @return [VirtualMachineScaleSetIPConfiguration] Deserialized object.
|
57
|
-
#
|
58
|
-
def self.deserialize_object(object)
|
59
|
-
return if object.nil?
|
60
|
-
output_object = VirtualMachineScaleSetIPConfiguration.new
|
61
|
-
|
62
|
-
deserialized_property = object['name']
|
63
|
-
output_object.name = deserialized_property
|
64
|
-
|
65
|
-
deserialized_property = object['id']
|
66
|
-
output_object.id = deserialized_property
|
67
|
-
|
68
|
-
deserialized_property = object['properties']
|
69
|
-
unless deserialized_property.nil?
|
70
|
-
deserialized_property = VirtualMachineScaleSetIPConfigurationProperties.deserialize_object(deserialized_property)
|
71
|
-
end
|
72
|
-
output_object.properties = deserialized_property
|
73
|
-
|
74
|
-
output_object
|
75
|
-
end
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
@@ -1,158 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.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 scale set network profile's IP configuration
|
10
|
-
# properties.
|
11
|
-
#
|
12
|
-
class VirtualMachineScaleSetIPConfigurationProperties
|
13
|
-
|
14
|
-
include MsRestAzure
|
15
|
-
|
16
|
-
# @return [ApiEntityReference] Gets or sets the subnet.
|
17
|
-
attr_accessor :subnet
|
18
|
-
|
19
|
-
# @return [Array<SubResource>] Gets or sets the application gateway
|
20
|
-
# backend address pools.
|
21
|
-
attr_accessor :application_gateway_backend_address_pools
|
22
|
-
|
23
|
-
# @return [Array<SubResource>] Gets or sets the load balancer backend
|
24
|
-
# address pools.
|
25
|
-
attr_accessor :load_balancer_backend_address_pools
|
26
|
-
|
27
|
-
# @return [Array<SubResource>] Gets or sets the load balancer inbound
|
28
|
-
# nat pools.
|
29
|
-
attr_accessor :load_balancer_inbound_nat_pools
|
30
|
-
|
31
|
-
#
|
32
|
-
# Validate the object. Throws ValidationError if validation fails.
|
33
|
-
#
|
34
|
-
def validate
|
35
|
-
fail MsRest::ValidationError, 'property subnet is nil' if @subnet.nil?
|
36
|
-
@subnet.validate unless @subnet.nil?
|
37
|
-
@application_gateway_backend_address_pools.each{ |e| e.validate if e.respond_to?(:validate) } unless @application_gateway_backend_address_pools.nil?
|
38
|
-
@load_balancer_backend_address_pools.each{ |e| e.validate if e.respond_to?(:validate) } unless @load_balancer_backend_address_pools.nil?
|
39
|
-
@load_balancer_inbound_nat_pools.each{ |e| e.validate if e.respond_to?(:validate) } unless @load_balancer_inbound_nat_pools.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.subnet
|
52
|
-
unless serialized_property.nil?
|
53
|
-
serialized_property = ApiEntityReference.serialize_object(serialized_property)
|
54
|
-
end
|
55
|
-
output_object['subnet'] = serialized_property unless serialized_property.nil?
|
56
|
-
|
57
|
-
serialized_property = object.application_gateway_backend_address_pools
|
58
|
-
unless serialized_property.nil?
|
59
|
-
serializedArray = []
|
60
|
-
serialized_property.each do |element|
|
61
|
-
unless element.nil?
|
62
|
-
element = MsRestAzure::SubResource.serialize_object(element)
|
63
|
-
end
|
64
|
-
serializedArray.push(element)
|
65
|
-
end
|
66
|
-
serialized_property = serializedArray
|
67
|
-
end
|
68
|
-
output_object['applicationGatewayBackendAddressPools'] = serialized_property unless serialized_property.nil?
|
69
|
-
|
70
|
-
serialized_property = object.load_balancer_backend_address_pools
|
71
|
-
unless serialized_property.nil?
|
72
|
-
serializedArray = []
|
73
|
-
serialized_property.each do |element1|
|
74
|
-
unless element1.nil?
|
75
|
-
element1 = MsRestAzure::SubResource.serialize_object(element1)
|
76
|
-
end
|
77
|
-
serializedArray.push(element1)
|
78
|
-
end
|
79
|
-
serialized_property = serializedArray
|
80
|
-
end
|
81
|
-
output_object['loadBalancerBackendAddressPools'] = serialized_property unless serialized_property.nil?
|
82
|
-
|
83
|
-
serialized_property = object.load_balancer_inbound_nat_pools
|
84
|
-
unless serialized_property.nil?
|
85
|
-
serializedArray = []
|
86
|
-
serialized_property.each do |element2|
|
87
|
-
unless element2.nil?
|
88
|
-
element2 = MsRestAzure::SubResource.serialize_object(element2)
|
89
|
-
end
|
90
|
-
serializedArray.push(element2)
|
91
|
-
end
|
92
|
-
serialized_property = serializedArray
|
93
|
-
end
|
94
|
-
output_object['loadBalancerInboundNatPools'] = serialized_property unless serialized_property.nil?
|
95
|
-
|
96
|
-
output_object
|
97
|
-
end
|
98
|
-
|
99
|
-
#
|
100
|
-
# Deserializes given Ruby Hash into Model object.
|
101
|
-
# @param object [Hash] Ruby Hash object to deserialize.
|
102
|
-
# @return [VirtualMachineScaleSetIPConfigurationProperties] Deserialized
|
103
|
-
# object.
|
104
|
-
#
|
105
|
-
def self.deserialize_object(object)
|
106
|
-
return if object.nil?
|
107
|
-
output_object = VirtualMachineScaleSetIPConfigurationProperties.new
|
108
|
-
|
109
|
-
deserialized_property = object['subnet']
|
110
|
-
unless deserialized_property.nil?
|
111
|
-
deserialized_property = ApiEntityReference.deserialize_object(deserialized_property)
|
112
|
-
end
|
113
|
-
output_object.subnet = deserialized_property
|
114
|
-
|
115
|
-
deserialized_property = object['applicationGatewayBackendAddressPools']
|
116
|
-
unless deserialized_property.nil?
|
117
|
-
deserialized_array = []
|
118
|
-
deserialized_property.each do |element3|
|
119
|
-
unless element3.nil?
|
120
|
-
element3 = MsRestAzure::SubResource.deserialize_object(element3)
|
121
|
-
end
|
122
|
-
deserialized_array.push(element3)
|
123
|
-
end
|
124
|
-
deserialized_property = deserialized_array
|
125
|
-
end
|
126
|
-
output_object.application_gateway_backend_address_pools = deserialized_property
|
127
|
-
|
128
|
-
deserialized_property = object['loadBalancerBackendAddressPools']
|
129
|
-
unless deserialized_property.nil?
|
130
|
-
deserialized_array = []
|
131
|
-
deserialized_property.each do |element4|
|
132
|
-
unless element4.nil?
|
133
|
-
element4 = MsRestAzure::SubResource.deserialize_object(element4)
|
134
|
-
end
|
135
|
-
deserialized_array.push(element4)
|
136
|
-
end
|
137
|
-
deserialized_property = deserialized_array
|
138
|
-
end
|
139
|
-
output_object.load_balancer_backend_address_pools = deserialized_property
|
140
|
-
|
141
|
-
deserialized_property = object['loadBalancerInboundNatPools']
|
142
|
-
unless deserialized_property.nil?
|
143
|
-
deserialized_array = []
|
144
|
-
deserialized_property.each do |element5|
|
145
|
-
unless element5.nil?
|
146
|
-
element5 = MsRestAzure::SubResource.deserialize_object(element5)
|
147
|
-
end
|
148
|
-
deserialized_array.push(element5)
|
149
|
-
end
|
150
|
-
deserialized_property = deserialized_array
|
151
|
-
end
|
152
|
-
output_object.load_balancer_inbound_nat_pools = deserialized_property
|
153
|
-
|
154
|
-
output_object
|
155
|
-
end
|
156
|
-
end
|
157
|
-
end
|
158
|
-
end
|