# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. require 'uri' require 'cgi' require 'date' require 'json' require 'base64' require 'erb' require 'securerandom' require 'time' require 'timeliness' require 'faraday' require 'faraday-cookie_jar' require 'concurrent' require 'ms_rest' require '2016-04-30-preview/generated/azure_mgmt_compute/module_definition' require 'ms_rest_azure' module Azure::Compute::Mgmt::V2016_04_30_preview autoload :AvailabilitySets, '2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb' autoload :VirtualMachineExtensionImages, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb' autoload :VirtualMachineExtensions, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb' autoload :VirtualMachineImages, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb' autoload :UsageOperations, '2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb' autoload :VirtualMachineSizes, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb' autoload :Images, '2016-04-30-preview/generated/azure_mgmt_compute/images.rb' autoload :VirtualMachines, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb' autoload :VirtualMachineScaleSets, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb' autoload :VirtualMachineScaleSetVMs, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb' autoload :Disks, '2016-04-30-preview/generated/azure_mgmt_compute/disks.rb' autoload :Snapshots, '2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb' autoload :ComputeManagementClient, '2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb' module Models autoload :ImageOSDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb' autoload :ImageDataDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb' autoload :SubResource, '2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb' autoload :ImageStorageProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb' autoload :VirtualMachineAgentInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb' autoload :DiskInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb' autoload :VirtualMachineSize, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb' autoload :BootDiagnosticsInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb' autoload :VirtualMachineIdentity, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb' autoload :VirtualMachineExtensionInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb' autoload :VirtualMachineInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb' autoload :PurchasePlan, '2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb' autoload :SourceVault, '2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb' autoload :DataDiskImage, '2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb' autoload :VirtualMachineListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb' autoload :UsageName, '2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb' autoload :UpgradePolicy, '2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb' autoload :ListUsagesResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb' autoload :InstanceViewStatus, '2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb' autoload :DiskList, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb' autoload :Sku, '2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb' autoload :HardwareProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb' autoload :CreationData, '2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb' autoload :KeyVaultSecretReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb' autoload :ImageDiskReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb' autoload :DiskEncryptionSettings, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb' autoload :ImageListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb' autoload :KeyVaultAndKeyReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb' autoload :VirtualMachineScaleSetIdentity, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb' autoload :DataDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb' autoload :VirtualMachineScaleSetOSProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb' autoload :AdditionalUnattendContent, '2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb' autoload :VirtualMachineScaleSetManagedDiskParameters, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb' autoload :WinRMConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb' autoload :VirtualMachineScaleSetOSDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb' autoload :SshPublicKey, '2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb' autoload :VirtualMachineScaleSetDataDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb' autoload :LinuxConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb' autoload :VirtualMachineScaleSetStorageProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb' autoload :VaultSecretGroup, '2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb' autoload :ApiEntityReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb' autoload :KeyVaultAndSecretReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb' autoload :ResourceUpdate, '2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb' autoload :BootDiagnostics, '2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb' autoload :OperationStatusResponse, '2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb' autoload :VirtualMachineExtensionHandlerInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb' autoload :VirtualMachineScaleSetNetworkProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb' autoload :VirtualMachineSizeListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb' autoload :SubResourceReadOnly, '2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb' autoload :AccessUri, '2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb' autoload :VirtualMachineScaleSetExtensionProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb' autoload :GrantAccessData, '2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb' autoload :VirtualMachineScaleSetVMProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb' autoload :VirtualMachineCaptureParameters, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb' autoload :Resource, '2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb' autoload :EncryptionSettings, '2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb' autoload :VirtualMachineScaleSetVMInstanceIDs, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb' autoload :VirtualHardDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb' autoload :VirtualMachineScaleSetVMInstanceRequiredIDs, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb' autoload :StorageProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb' autoload :VirtualMachineStatusCodeCount, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb' autoload :WindowsConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb' autoload :VirtualMachineScaleSetInstanceViewStatusesSummary, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb' autoload :VaultCertificate, '2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb' autoload :VirtualMachineScaleSetVMExtensionsSummary, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb' autoload :NetworkProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb' autoload :VirtualMachineScaleSetInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb' autoload :AvailabilitySetListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb' autoload :VirtualMachineScaleSetListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb' autoload :OSDiskImage, '2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb' autoload :VirtualMachineScaleSetListWithLinkResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb' autoload :Plan, '2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb' autoload :VirtualMachineScaleSetSkuCapacity, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb' autoload :OSDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb' autoload :VirtualMachineScaleSetSku, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb' autoload :SshConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb' autoload :VirtualMachineScaleSetListSkusResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb' autoload :DiagnosticsProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb' autoload :ComputeLongRunningOperationProperties, '2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb' autoload :Usage, '2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb' autoload :VirtualMachineScaleSetVMInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb' autoload :WinRMListener, '2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb' autoload :VirtualMachineScaleSetVMListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb' autoload :SnapshotList, '2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb' autoload :ApiErrorBase, '2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb' autoload :OSProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb' autoload :InnerError, '2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb' autoload :KeyVaultKeyReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb' autoload :ApiError, '2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb' autoload :AvailabilitySet, '2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb' autoload :VirtualMachineExtensionImage, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb' autoload :VirtualMachineImageResource, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb' autoload :VirtualMachineExtension, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb' autoload :VirtualMachineImage, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb' autoload :VirtualMachineCaptureResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb' autoload :ImageReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb' autoload :ManagedDiskParameters, '2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb' autoload :NetworkInterfaceReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb' autoload :VirtualMachine, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb' autoload :Image, '2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb' autoload :VirtualMachineScaleSetIPConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb' autoload :VirtualMachineScaleSetNetworkConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb' autoload :VirtualMachineScaleSetExtension, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb' autoload :VirtualMachineScaleSet, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb' autoload :VirtualMachineScaleSetVM, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb' autoload :Disk, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb' autoload :DiskUpdate, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb' autoload :Snapshot, '2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb' autoload :SnapshotUpdate, '2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb' autoload :StatusLevelTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/status_level_types.rb' autoload :OperatingSystemTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/operating_system_types.rb' autoload :VirtualMachineSizeTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb' autoload :CachingTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/caching_types.rb' autoload :DiskCreateOptionTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_create_option_types.rb' autoload :StorageAccountTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/storage_account_types.rb' autoload :PassNames, '2016-04-30-preview/generated/azure_mgmt_compute/models/pass_names.rb' autoload :ComponentNames, '2016-04-30-preview/generated/azure_mgmt_compute/models/component_names.rb' autoload :SettingNames, '2016-04-30-preview/generated/azure_mgmt_compute/models/setting_names.rb' autoload :ProtocolTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/protocol_types.rb' autoload :ResourceIdentityType, '2016-04-30-preview/generated/azure_mgmt_compute/models/resource_identity_type.rb' autoload :UpgradeMode, '2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_mode.rb' autoload :OperatingSystemStateTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/operating_system_state_types.rb' autoload :VirtualMachineScaleSetSkuScaleType, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb' autoload :DiskCreateOption, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_create_option.rb' autoload :AccessLevel, '2016-04-30-preview/generated/azure_mgmt_compute/models/access_level.rb' autoload :InstanceViewTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_types.rb' end end