From 1532de3d96419b4b08c8f29969daedcdf78bb42f Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 31 May 2018 08:59:13 -0700 Subject: [PATCH] Generated from 4abedb1c096796557fdd029401f3d317f99c7f61 (#1334) removing resourceUpdate, adding contents to disk and snapshot --- azure_sdk/lib/azure_sdk.rb | 2 +- .../latest/modules/compute_profile_module.rb | 68 ++- .../azure_mgmt_compute/availability_sets.rb | 57 ++- .../compute_management_client.rb | 7 +- .../models/additional_unattend_content.rb | 5 - .../models/api_entity_reference.rb | 2 - .../azure_mgmt_compute/models/api_error.rb | 7 - .../models/api_error_base.rb | 4 - .../models/availability_set.rb | 13 - .../models/availability_set_list_result.rb | 3 - .../models/boot_diagnostics.rb | 3 - .../models/boot_diagnostics_instance_view.rb | 3 - ...mpute_long_running_operation_properties.rb | 2 - .../azure_mgmt_compute/models/data_disk.rb | 8 - .../models/data_disk_image.rb | 2 - .../models/diagnostics_profile.rb | 2 - .../models/disk_encryption_settings.rb | 4 - .../models/disk_instance_view.rb | 4 - .../models/hardware_profile.rb | 2 - .../models/image_reference.rb | 5 - .../azure_mgmt_compute/models/inner_error.rb | 3 - .../models/instance_view_status.rb | 6 - .../models/key_vault_key_reference.rb | 3 - .../models/key_vault_secret_reference.rb | 3 - .../models/linux_configuration.rb | 3 - .../models/list_usages_result.rb | 4 - .../models/network_interface_reference.rb | 3 - .../models/network_profile.rb | 3 - .../models/operation_status_response.rb | 6 - .../azure_mgmt_compute/models/osdisk.rb | 9 - .../azure_mgmt_compute/models/osdisk_image.rb | 2 - .../azure_mgmt_compute/models/osprofile.rb | 9 - .../azure_mgmt_compute/models/plan.rb | 5 - .../models/purchase_plan.rb | 4 - .../azure_mgmt_compute/models/resource.rb | 7 - .../azure_mgmt_compute/models/sku.rb | 4 - .../models/ssh_configuration.rb | 3 - .../models/ssh_public_key.rb | 3 - .../models/storage_profile.rb | 5 - .../azure_mgmt_compute/models/sub_resource.rb | 2 - .../models/update_resource.rb | 3 - .../models/upgrade_policy.rb | 2 - .../azure_mgmt_compute/models/usage.rb | 5 - .../azure_mgmt_compute/models/usage_name.rb | 3 - .../models/vault_certificate.rb | 3 - .../models/vault_secret_group.rb | 4 - .../models/virtual_hard_disk.rb | 2 - .../models/virtual_machine.rb | 19 - .../virtual_machine_agent_instance_view.rb | 6 - .../virtual_machine_capture_parameters.rb | 4 - .../models/virtual_machine_capture_result.rb | 3 - .../models/virtual_machine_extension.rb | 16 - ...machine_extension_handler_instance_view.rb | 4 - .../models/virtual_machine_extension_image.rb | 12 - ...virtual_machine_extension_instance_view.rb | 8 - .../virtual_machine_extension_update.rb | 10 - .../models/virtual_machine_image.rb | 10 - .../models/virtual_machine_image_resource.rb | 6 - .../models/virtual_machine_instance_view.rb | 12 - .../models/virtual_machine_list_result.rb | 4 - .../models/virtual_machine_scale_set.rb | 12 - .../virtual_machine_scale_set_extension.rb | 10 - ...ual_machine_scale_set_extension_profile.rb | 3 - ...virtual_machine_scale_set_instance_view.rb | 6 - ...cale_set_instance_view_statuses_summary.rb | 3 - ...rtual_machine_scale_set_ipconfiguration.rb | 8 - .../virtual_machine_scale_set_list_result.rb | 4 - ...tual_machine_scale_set_list_skus_result.rb | 4 - ...machine_scale_set_list_with_link_result.rb | 4 - ...machine_scale_set_network_configuration.rb | 6 - ...rtual_machine_scale_set_network_profile.rb | 3 - .../virtual_machine_scale_set_osdisk.rb | 8 - .../virtual_machine_scale_set_osprofile.rb | 9 - .../models/virtual_machine_scale_set_sku.rb | 4 - .../virtual_machine_scale_set_sku_capacity.rb | 5 - ...rtual_machine_scale_set_storage_profile.rb | 3 - .../models/virtual_machine_scale_set_vm.rb | 22 - ..._machine_scale_set_vmextensions_summary.rb | 4 - ...irtual_machine_scale_set_vminstance_ids.rb | 3 - ...chine_scale_set_vminstance_required_ids.rb | 3 - ...rtual_machine_scale_set_vminstance_view.rb | 12 - ...virtual_machine_scale_set_vmlist_result.rb | 4 - .../virtual_machine_scale_set_vmprofile.rb | 5 - .../models/virtual_machine_size.rb | 7 - .../virtual_machine_size_list_result.rb | 3 - .../virtual_machine_status_code_count.rb | 3 - .../models/win_rmconfiguration.rb | 3 - .../models/win_rmlistener.rb | 3 - .../models/windows_configuration.rb | 7 - .../azure_mgmt_compute/usage_operations.rb | 29 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../virtual_machine_extension_images.rb | 37 +- .../virtual_machine_extensions.rb | 72 +-- .../virtual_machine_images.rb | 63 ++- .../virtual_machine_scale_set_vms.rb | 164 ++++--- .../virtual_machine_scale_sets.rb | 291 ++++++------ .../virtual_machine_sizes.rb | 12 +- .../azure_mgmt_compute/virtual_machines.rb | 245 +++++------ .../azure_mgmt_compute/availability_sets.rb | 57 ++- .../compute_management_client.rb | 7 +- .../models/additional_unattend_content.rb | 5 - .../models/api_entity_reference.rb | 2 - .../azure_mgmt_compute/models/api_error.rb | 7 - .../models/api_error_base.rb | 4 - .../models/availability_set.rb | 13 - .../models/availability_set_list_result.rb | 3 - .../models/boot_diagnostics.rb | 3 - .../models/boot_diagnostics_instance_view.rb | 3 - ...mpute_long_running_operation_properties.rb | 2 - .../azure_mgmt_compute/models/data_disk.rb | 8 - .../models/data_disk_image.rb | 2 - .../models/diagnostics_profile.rb | 2 - .../models/disk_encryption_settings.rb | 4 - .../models/disk_instance_view.rb | 4 - .../models/hardware_profile.rb | 2 - .../models/image_reference.rb | 5 - .../azure_mgmt_compute/models/inner_error.rb | 3 - .../models/instance_view_status.rb | 6 - .../models/key_vault_key_reference.rb | 3 - .../models/key_vault_secret_reference.rb | 3 - .../models/linux_configuration.rb | 3 - .../models/list_usages_result.rb | 4 - .../models/network_interface_reference.rb | 3 - .../models/network_profile.rb | 3 - .../models/operation_status_response.rb | 6 - .../azure_mgmt_compute/models/osdisk.rb | 9 - .../azure_mgmt_compute/models/osdisk_image.rb | 2 - .../azure_mgmt_compute/models/osprofile.rb | 9 - .../azure_mgmt_compute/models/plan.rb | 5 - .../models/purchase_plan.rb | 4 - .../azure_mgmt_compute/models/resource.rb | 7 - .../azure_mgmt_compute/models/sku.rb | 4 - .../models/ssh_configuration.rb | 3 - .../models/ssh_public_key.rb | 3 - .../models/storage_profile.rb | 5 - .../azure_mgmt_compute/models/sub_resource.rb | 2 - .../models/update_resource.rb | 3 - .../models/upgrade_policy.rb | 2 - .../azure_mgmt_compute/models/usage.rb | 5 - .../azure_mgmt_compute/models/usage_name.rb | 3 - .../models/vault_certificate.rb | 3 - .../models/vault_secret_group.rb | 4 - .../models/virtual_hard_disk.rb | 2 - .../models/virtual_machine.rb | 21 - .../virtual_machine_agent_instance_view.rb | 6 - .../virtual_machine_capture_parameters.rb | 4 - .../models/virtual_machine_capture_result.rb | 3 - .../models/virtual_machine_extension.rb | 16 - ...machine_extension_handler_instance_view.rb | 4 - .../models/virtual_machine_extension_image.rb | 12 - ...virtual_machine_extension_instance_view.rb | 8 - .../virtual_machine_extension_update.rb | 10 - .../virtual_machine_extensions_list_result.rb | 3 - .../models/virtual_machine_identity.rb | 4 - .../models/virtual_machine_image.rb | 10 - .../models/virtual_machine_image_resource.rb | 6 - .../models/virtual_machine_instance_view.rb | 12 - .../models/virtual_machine_list_result.rb | 4 - .../models/virtual_machine_scale_set.rb | 13 - .../virtual_machine_scale_set_extension.rb | 10 - ...ual_machine_scale_set_extension_profile.rb | 3 - .../virtual_machine_scale_set_identity.rb | 4 - ...virtual_machine_scale_set_instance_view.rb | 6 - ...cale_set_instance_view_statuses_summary.rb | 3 - ...rtual_machine_scale_set_ipconfiguration.rb | 10 - .../virtual_machine_scale_set_list_result.rb | 4 - ...tual_machine_scale_set_list_skus_result.rb | 4 - ...machine_scale_set_list_with_link_result.rb | 4 - ...machine_scale_set_network_configuration.rb | 6 - ...rtual_machine_scale_set_network_profile.rb | 3 - .../virtual_machine_scale_set_osdisk.rb | 8 - .../virtual_machine_scale_set_osprofile.rb | 9 - .../models/virtual_machine_scale_set_sku.rb | 4 - .../virtual_machine_scale_set_sku_capacity.rb | 5 - ...rtual_machine_scale_set_storage_profile.rb | 3 - .../models/virtual_machine_scale_set_vm.rb | 23 - ..._machine_scale_set_vmextensions_summary.rb | 4 - ...irtual_machine_scale_set_vminstance_ids.rb | 3 - ...chine_scale_set_vminstance_required_ids.rb | 3 - ...rtual_machine_scale_set_vminstance_view.rb | 12 - ...virtual_machine_scale_set_vmlist_result.rb | 4 - .../virtual_machine_scale_set_vmprofile.rb | 5 - .../models/virtual_machine_size.rb | 7 - .../virtual_machine_size_list_result.rb | 3 - .../virtual_machine_status_code_count.rb | 3 - .../models/win_rmconfiguration.rb | 3 - .../models/win_rmlistener.rb | 3 - .../models/windows_configuration.rb | 7 - .../azure_mgmt_compute/usage_operations.rb | 29 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../virtual_machine_extension_images.rb | 37 +- .../virtual_machine_extensions.rb | 72 +-- .../virtual_machine_images.rb | 63 ++- .../virtual_machine_scale_set_vms.rb | 164 ++++--- .../virtual_machine_scale_sets.rb | 291 ++++++------ .../virtual_machine_sizes.rb | 12 +- .../azure_mgmt_compute/virtual_machines.rb | 256 +++++------ .../azure_mgmt_compute/availability_sets.rb | 57 ++- .../compute_management_client.rb | 7 +- .../generated/azure_mgmt_compute/disks.rb | 168 ++++--- .../generated/azure_mgmt_compute/images.rb | 107 +++-- .../azure_mgmt_compute/models/access_uri.rb | 2 - .../models/additional_unattend_content.rb | 5 - .../models/api_entity_reference.rb | 2 - .../azure_mgmt_compute/models/api_error.rb | 7 - .../models/api_error_base.rb | 4 - .../models/availability_set.rb | 15 - .../models/availability_set_list_result.rb | 3 - .../models/boot_diagnostics.rb | 3 - .../models/boot_diagnostics_instance_view.rb | 3 - ...mpute_long_running_operation_properties.rb | 2 - .../models/creation_data.rb | 6 - .../azure_mgmt_compute/models/data_disk.rb | 9 - .../models/data_disk_image.rb | 2 - .../models/diagnostics_profile.rb | 2 - .../azure_mgmt_compute/models/disk.rb | 15 - .../models/disk_encryption_settings.rb | 4 - .../models/disk_instance_view.rb | 4 - .../azure_mgmt_compute/models/disk_list.rb | 4 - .../azure_mgmt_compute/models/disk_update.rb | 8 - .../models/encryption_settings.rb | 4 - .../models/grant_access_data.rb | 3 - .../models/hardware_profile.rb | 2 - .../azure_mgmt_compute/models/image.rb | 10 - .../models/image_data_disk.rb | 7 - .../models/image_disk_reference.rb | 3 - .../models/image_list_result.rb | 4 - .../azure_mgmt_compute/models/image_osdisk.rb | 8 - .../models/image_reference.rb | 6 - .../models/image_storage_profile.rb | 4 - .../azure_mgmt_compute/models/inner_error.rb | 3 - .../models/instance_view_status.rb | 6 - .../models/key_vault_and_key_reference.rb | 3 - .../models/key_vault_and_secret_reference.rb | 3 - .../models/key_vault_key_reference.rb | 3 - .../models/key_vault_secret_reference.rb | 3 - .../models/linux_configuration.rb | 3 - .../models/list_usages_result.rb | 4 - .../models/managed_disk_parameters.rb | 3 - .../models/network_interface_reference.rb | 3 - .../models/network_profile.rb | 3 - .../models/operation_status_response.rb | 6 - .../azure_mgmt_compute/models/osdisk.rb | 10 - .../azure_mgmt_compute/models/osdisk_image.rb | 2 - .../azure_mgmt_compute/models/osprofile.rb | 9 - .../azure_mgmt_compute/models/plan.rb | 5 - .../models/purchase_plan.rb | 4 - .../azure_mgmt_compute/models/resource.rb | 7 - .../models/resource_update.rb | 3 - .../azure_mgmt_compute/models/sku.rb | 4 - .../azure_mgmt_compute/models/snapshot.rb | 15 - .../models/snapshot_list.rb | 4 - .../models/snapshot_update.rb | 8 - .../azure_mgmt_compute/models/source_vault.rb | 2 - .../models/ssh_configuration.rb | 3 - .../models/ssh_public_key.rb | 3 - .../models/storage_profile.rb | 5 - .../azure_mgmt_compute/models/sub_resource.rb | 2 - .../models/sub_resource_read_only.rb | 2 - .../models/update_resource.rb | 3 - .../models/upgrade_policy.rb | 2 - .../azure_mgmt_compute/models/usage.rb | 5 - .../azure_mgmt_compute/models/usage_name.rb | 3 - .../models/vault_certificate.rb | 3 - .../models/vault_secret_group.rb | 4 - .../models/virtual_hard_disk.rb | 2 - .../models/virtual_machine.rb | 21 - .../virtual_machine_agent_instance_view.rb | 6 - .../virtual_machine_capture_parameters.rb | 4 - .../models/virtual_machine_capture_result.rb | 3 - .../models/virtual_machine_extension.rb | 16 - ...machine_extension_handler_instance_view.rb | 4 - .../models/virtual_machine_extension_image.rb | 12 - ...virtual_machine_extension_instance_view.rb | 8 - .../virtual_machine_extension_update.rb | 10 - .../virtual_machine_extensions_list_result.rb | 3 - .../models/virtual_machine_identity.rb | 4 - .../models/virtual_machine_image.rb | 10 - .../models/virtual_machine_image_resource.rb | 6 - .../models/virtual_machine_instance_view.rb | 12 - .../models/virtual_machine_list_result.rb | 4 - .../models/virtual_machine_scale_set.rb | 15 - .../virtual_machine_scale_set_data_disk.rb | 7 - .../virtual_machine_scale_set_extension.rb | 10 - ...ual_machine_scale_set_extension_profile.rb | 3 - .../virtual_machine_scale_set_identity.rb | 4 - ...virtual_machine_scale_set_instance_view.rb | 6 - ...cale_set_instance_view_statuses_summary.rb | 3 - ...rtual_machine_scale_set_ipconfiguration.rb | 10 - .../virtual_machine_scale_set_list_result.rb | 4 - ...tual_machine_scale_set_list_skus_result.rb | 4 - ...machine_scale_set_list_with_link_result.rb | 4 - ...chine_scale_set_managed_disk_parameters.rb | 2 - ...machine_scale_set_network_configuration.rb | 6 - ...rtual_machine_scale_set_network_profile.rb | 3 - .../virtual_machine_scale_set_osdisk.rb | 9 - .../virtual_machine_scale_set_osprofile.rb | 9 - .../models/virtual_machine_scale_set_sku.rb | 4 - .../virtual_machine_scale_set_sku_capacity.rb | 5 - ...rtual_machine_scale_set_storage_profile.rb | 5 - .../models/virtual_machine_scale_set_vm.rb | 23 - ..._machine_scale_set_vmextensions_summary.rb | 4 - ...irtual_machine_scale_set_vminstance_ids.rb | 3 - ...chine_scale_set_vminstance_required_ids.rb | 3 - ...rtual_machine_scale_set_vminstance_view.rb | 13 - ...virtual_machine_scale_set_vmlist_result.rb | 4 - .../virtual_machine_scale_set_vmprofile.rb | 5 - .../models/virtual_machine_size.rb | 7 - .../virtual_machine_size_list_result.rb | 3 - .../virtual_machine_status_code_count.rb | 3 - .../models/win_rmconfiguration.rb | 3 - .../models/win_rmlistener.rb | 3 - .../models/windows_configuration.rb | 7 - .../generated/azure_mgmt_compute/snapshots.rb | 168 ++++--- .../azure_mgmt_compute/usage_operations.rb | 29 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../virtual_machine_extension_images.rb | 37 +- .../virtual_machine_extensions.rb | 72 +-- .../virtual_machine_images.rb | 63 ++- .../virtual_machine_scale_set_vms.rb | 183 ++++---- .../virtual_machine_scale_sets.rb | 310 +++++++------ .../virtual_machine_sizes.rb | 12 +- .../azure_mgmt_compute/virtual_machines.rb | 275 ++++++------ .../azure_mgmt_compute/availability_sets.rb | 57 ++- .../compute_management_client.rb | 7 +- .../generated/azure_mgmt_compute/disks.rb | 168 ++++--- .../generated/azure_mgmt_compute/images.rb | 107 +++-- .../azure_mgmt_compute/models/access_uri.rb | 2 - .../models/additional_unattend_content.rb | 5 - .../models/api_entity_reference.rb | 2 - .../azure_mgmt_compute/models/api_error.rb | 7 - .../models/api_error_base.rb | 4 - .../models/availability_set.rb | 14 - .../models/availability_set_list_result.rb | 3 - .../models/boot_diagnostics.rb | 3 - .../models/boot_diagnostics_instance_view.rb | 3 - ...mpute_long_running_operation_properties.rb | 2 - .../models/creation_data.rb | 6 - .../azure_mgmt_compute/models/data_disk.rb | 9 - .../models/data_disk_image.rb | 2 - .../models/diagnostics_profile.rb | 2 - .../azure_mgmt_compute/models/disk.rb | 17 - .../models/disk_encryption_settings.rb | 4 - .../models/disk_instance_view.rb | 6 - .../azure_mgmt_compute/models/disk_list.rb | 4 - .../azure_mgmt_compute/models/disk_sku.rb | 3 - .../azure_mgmt_compute/models/disk_update.rb | 7 - .../models/encryption_settings.rb | 4 - .../models/grant_access_data.rb | 3 - .../models/hardware_profile.rb | 2 - .../azure_mgmt_compute/models/image.rb | 10 - .../models/image_data_disk.rb | 8 - .../models/image_disk_reference.rb | 3 - .../models/image_list_result.rb | 4 - .../azure_mgmt_compute/models/image_osdisk.rb | 9 - .../models/image_reference.rb | 6 - .../models/image_storage_profile.rb | 4 - .../azure_mgmt_compute/models/inner_error.rb | 3 - .../models/instance_view_status.rb | 6 - .../models/key_vault_and_key_reference.rb | 3 - .../models/key_vault_and_secret_reference.rb | 3 - .../models/key_vault_key_reference.rb | 3 - .../models/key_vault_secret_reference.rb | 3 - .../models/linux_configuration.rb | 3 - .../models/list_usages_result.rb | 4 - .../models/maintenance_redeploy_status.rb | 8 - .../models/managed_disk_parameters.rb | 3 - .../models/network_interface_reference.rb | 3 - .../models/network_profile.rb | 3 - .../models/operation_status_response.rb | 6 - .../azure_mgmt_compute/models/osdisk.rb | 10 - .../azure_mgmt_compute/models/osdisk_image.rb | 2 - .../azure_mgmt_compute/models/osprofile.rb | 9 - .../azure_mgmt_compute/models/plan.rb | 5 - .../models/purchase_plan.rb | 4 - .../azure_mgmt_compute/models/resource.rb | 7 - .../azure_mgmt_compute/models/resource_sku.rb | 18 - .../models/resource_sku_capabilities.rb | 3 - .../models/resource_sku_capacity.rb | 5 - .../models/resource_sku_costs.rb | 4 - .../models/resource_sku_restrictions.rb | 5 - .../models/resource_skus_result.rb | 4 - .../models/resource_update.rb | 4 - .../models/rolling_upgrade_policy.rb | 5 - .../models/rolling_upgrade_progress_info.rb | 5 - .../models/rolling_upgrade_running_status.rb | 5 - .../models/rolling_upgrade_status_info.rb | 11 - .../models/run_command_document.rb | 10 - .../models/run_command_document_base.rb | 6 - .../models/run_command_input.rb | 6 - .../models/run_command_input_parameter.rb | 3 - .../models/run_command_list_result.rb | 4 - .../run_command_parameter_definition.rb | 5 - .../models/run_command_result.rb | 7 - .../azure_mgmt_compute/models/sku.rb | 4 - .../azure_mgmt_compute/models/snapshot.rb | 15 - .../models/snapshot_list.rb | 4 - .../models/snapshot_update.rb | 7 - .../azure_mgmt_compute/models/source_vault.rb | 2 - .../models/ssh_configuration.rb | 3 - .../models/ssh_public_key.rb | 3 - .../models/storage_profile.rb | 5 - .../azure_mgmt_compute/models/sub_resource.rb | 2 - .../models/sub_resource_read_only.rb | 2 - .../models/update_resource.rb | 3 - .../models/upgrade_policy.rb | 4 - .../azure_mgmt_compute/models/usage.rb | 5 - .../azure_mgmt_compute/models/usage_name.rb | 3 - .../models/vault_certificate.rb | 3 - .../models/vault_secret_group.rb | 4 - .../models/virtual_hard_disk.rb | 2 - .../models/virtual_machine.rb | 23 - .../virtual_machine_agent_instance_view.rb | 6 - .../virtual_machine_capture_parameters.rb | 4 - .../models/virtual_machine_capture_result.rb | 3 - .../models/virtual_machine_extension.rb | 16 - ...machine_extension_handler_instance_view.rb | 4 - .../models/virtual_machine_extension_image.rb | 12 - ...virtual_machine_extension_instance_view.rb | 8 - .../virtual_machine_extension_update.rb | 10 - .../virtual_machine_extensions_list_result.rb | 3 - .../models/virtual_machine_health_status.rb | 2 - .../models/virtual_machine_identity.rb | 4 - .../models/virtual_machine_image.rb | 10 - .../models/virtual_machine_image_resource.rb | 6 - .../models/virtual_machine_instance_view.rb | 13 - .../models/virtual_machine_list_result.rb | 4 - .../models/virtual_machine_scale_set.rb | 18 - .../virtual_machine_scale_set_data_disk.rb | 7 - .../virtual_machine_scale_set_extension.rb | 11 - ...machine_scale_set_extension_list_result.rb | 4 - ...ual_machine_scale_set_extension_profile.rb | 3 - .../virtual_machine_scale_set_identity.rb | 4 - ...virtual_machine_scale_set_instance_view.rb | 6 - ...cale_set_instance_view_statuses_summary.rb | 3 - ...rtual_machine_scale_set_ipconfiguration.rb | 13 - .../virtual_machine_scale_set_list_result.rb | 4 - ...tual_machine_scale_set_list_skus_result.rb | 4 - ...machine_scale_set_list_with_link_result.rb | 4 - ...chine_scale_set_managed_disk_parameters.rb | 2 - ...machine_scale_set_network_configuration.rb | 9 - ..._set_network_configuration_dns_settings.rb | 3 - ...rtual_machine_scale_set_network_profile.rb | 4 - .../virtual_machine_scale_set_osdisk.rb | 9 - .../virtual_machine_scale_set_osprofile.rb | 9 - ...cale_set_public_ipaddress_configuration.rb | 4 - ...ic_ipaddress_configuration_dns_settings.rb | 2 - .../models/virtual_machine_scale_set_sku.rb | 4 - .../virtual_machine_scale_set_sku_capacity.rb | 5 - ...rtual_machine_scale_set_storage_profile.rb | 5 - .../virtual_machine_scale_set_update.rb | 10 - ...achine_scale_set_update_ipconfiguration.rb | 13 - ..._scale_set_update_network_configuration.rb | 9 - ...achine_scale_set_update_network_profile.rb | 3 - ...virtual_machine_scale_set_update_osdisk.rb | 6 - ...tual_machine_scale_set_update_osprofile.rb | 6 - ...t_update_public_ipaddress_configuration.rb | 4 - ...achine_scale_set_update_storage_profile.rb | 5 - ...tual_machine_scale_set_update_vmprofile.rb | 7 - .../models/virtual_machine_scale_set_vm.rb | 23 - ..._machine_scale_set_vmextensions_summary.rb | 4 - ...irtual_machine_scale_set_vminstance_ids.rb | 3 - ...chine_scale_set_vminstance_required_ids.rb | 3 - ...rtual_machine_scale_set_vminstance_view.rb | 14 - ...virtual_machine_scale_set_vmlist_result.rb | 4 - .../virtual_machine_scale_set_vmprofile.rb | 7 - .../models/virtual_machine_size.rb | 7 - .../virtual_machine_size_list_result.rb | 3 - .../virtual_machine_status_code_count.rb | 3 - .../models/win_rmconfiguration.rb | 3 - .../models/win_rmlistener.rb | 3 - .../models/windows_configuration.rb | 7 - .../azure_mgmt_compute/resource_skus.rb | 28 +- .../generated/azure_mgmt_compute/snapshots.rb | 168 ++++--- .../azure_mgmt_compute/usage_operations.rb | 29 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../virtual_machine_extension_images.rb | 37 +- .../virtual_machine_extensions.rb | 72 +-- .../virtual_machine_images.rb | 63 ++- .../virtual_machine_run_commands.rb | 41 +- .../virtual_machine_scale_set_extensions.rb | 79 ++-- ...tual_machine_scale_set_rolling_upgrades.rb | 49 +-- .../virtual_machine_scale_set_vms.rb | 183 ++++---- .../virtual_machine_scale_sets.rb | 335 +++++++------- .../virtual_machine_sizes.rb | 12 +- .../azure_mgmt_compute/virtual_machines.rb | 326 +++++++------- .../compute_management_client.rb | 7 +- .../azure_mgmt_compute/models/resource_sku.rb | 20 - .../models/resource_sku_capabilities.rb | 3 - .../models/resource_sku_capacity.rb | 5 - .../models/resource_sku_costs.rb | 4 - .../models/resource_sku_location_info.rb | 4 - .../models/resource_sku_restriction_info.rb | 5 - .../models/resource_sku_restrictions.rb | 6 - .../models/resource_skus_result.rb | 4 - .../azure_mgmt_compute/resource_skus.rb | 28 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../azure_mgmt_compute/availability_sets.rb | 70 ++- .../compute_management_client.rb | 7 +- .../generated/azure_mgmt_compute/images.rb | 128 +++--- .../azure_mgmt_compute/log_analytics.rb | 44 +- .../models/additional_unattend_content.rb | 5 - .../models/api_entity_reference.rb | 2 - .../azure_mgmt_compute/models/api_error.rb | 7 - .../models/api_error_base.rb | 4 - .../models/auto_osupgrade_policy.rb | 2 - .../models/availability_set.rb | 14 - .../models/availability_set_list_result.rb | 3 - .../models/availability_set_update.rb | 10 - .../models/boot_diagnostics.rb | 3 - .../models/boot_diagnostics_instance_view.rb | 3 - ...mpute_long_running_operation_properties.rb | 2 - .../models/compute_operation_list_result.rb | 3 - .../models/compute_operation_value.rb | 7 - .../azure_mgmt_compute/models/data_disk.rb | 10 - .../models/data_disk_image.rb | 2 - .../models/diagnostics_profile.rb | 2 - .../models/disk_encryption_settings.rb | 4 - .../models/disk_instance_view.rb | 6 - .../models/hardware_profile.rb | 2 - .../azure_mgmt_compute/models/image.rb | 10 - .../models/image_data_disk.rb | 8 - .../models/image_list_result.rb | 4 - .../azure_mgmt_compute/models/image_osdisk.rb | 9 - .../models/image_reference.rb | 6 - .../models/image_storage_profile.rb | 5 - .../azure_mgmt_compute/models/image_update.rb | 6 - .../azure_mgmt_compute/models/inner_error.rb | 3 - .../models/instance_view_status.rb | 6 - .../models/key_vault_key_reference.rb | 3 - .../models/key_vault_secret_reference.rb | 3 - .../models/linux_configuration.rb | 3 - .../models/list_usages_result.rb | 4 - .../models/log_analytics_input_base.rb | 7 - .../models/log_analytics_operation_result.rb | 7 - .../models/log_analytics_output.rb | 2 - .../models/maintenance_redeploy_status.rb | 8 - .../models/managed_disk_parameters.rb | 3 - .../models/network_interface_reference.rb | 3 - .../models/network_profile.rb | 3 - .../models/operation_status_response.rb | 6 - .../azure_mgmt_compute/models/osdisk.rb | 11 - .../azure_mgmt_compute/models/osdisk_image.rb | 2 - .../azure_mgmt_compute/models/osprofile.rb | 9 - .../azure_mgmt_compute/models/plan.rb | 5 - .../models/purchase_plan.rb | 4 - .../models/recovery_walk_response.rb | 3 - .../models/request_rate_by_interval_input.rb | 8 - .../azure_mgmt_compute/models/resource.rb | 7 - .../models/rollback_status_info.rb | 4 - .../models/rolling_upgrade_policy.rb | 5 - .../models/rolling_upgrade_progress_info.rb | 5 - .../models/rolling_upgrade_running_status.rb | 5 - .../models/rolling_upgrade_status_info.rb | 11 - .../models/run_command_document.rb | 10 - .../models/run_command_document_base.rb | 6 - .../models/run_command_input.rb | 6 - .../models/run_command_input_parameter.rb | 3 - .../models/run_command_list_result.rb | 4 - .../run_command_parameter_definition.rb | 5 - .../models/run_command_result.rb | 7 - .../azure_mgmt_compute/models/sku.rb | 4 - .../models/ssh_configuration.rb | 3 - .../models/ssh_public_key.rb | 3 - .../models/storage_profile.rb | 5 - .../azure_mgmt_compute/models/sub_resource.rb | 2 - .../models/sub_resource_read_only.rb | 2 - .../models/throttled_requests_input.rb | 7 - .../models/update_resource.rb | 3 - ...pgrade_operation_historical_status_info.rb | 4 - ...ation_historical_status_info_properties.rb | 7 - .../upgrade_operation_history_status.rb | 4 - .../models/upgrade_policy.rb | 5 - .../azure_mgmt_compute/models/usage.rb | 5 - .../azure_mgmt_compute/models/usage_name.rb | 3 - .../models/vault_certificate.rb | 3 - .../models/vault_secret_group.rb | 4 - .../models/virtual_hard_disk.rb | 2 - .../models/virtual_machine.rb | 23 - .../virtual_machine_agent_instance_view.rb | 6 - .../virtual_machine_capture_parameters.rb | 4 - .../models/virtual_machine_capture_result.rb | 3 - .../models/virtual_machine_extension.rb | 16 - ...machine_extension_handler_instance_view.rb | 4 - .../models/virtual_machine_extension_image.rb | 12 - ...virtual_machine_extension_instance_view.rb | 8 - .../virtual_machine_extension_update.rb | 10 - .../virtual_machine_extensions_list_result.rb | 3 - .../models/virtual_machine_health_status.rb | 2 - .../models/virtual_machine_identity.rb | 6 - .../models/virtual_machine_image.rb | 10 - .../models/virtual_machine_image_resource.rb | 6 - .../models/virtual_machine_instance_view.rb | 16 - .../models/virtual_machine_list_result.rb | 4 - .../models/virtual_machine_scale_set.rb | 20 - .../virtual_machine_scale_set_data_disk.rb | 8 - .../virtual_machine_scale_set_extension.rb | 11 - ...machine_scale_set_extension_list_result.rb | 4 - ...ual_machine_scale_set_extension_profile.rb | 3 - .../virtual_machine_scale_set_identity.rb | 6 - ...virtual_machine_scale_set_instance_view.rb | 6 - ...cale_set_instance_view_statuses_summary.rb | 3 - ...rtual_machine_scale_set_ipconfiguration.rb | 13 - ...achine_scale_set_list_osupgrade_history.rb | 4 - .../virtual_machine_scale_set_list_result.rb | 4 - ...tual_machine_scale_set_list_skus_result.rb | 4 - ...machine_scale_set_list_with_link_result.rb | 4 - ...chine_scale_set_managed_disk_parameters.rb | 2 - ...machine_scale_set_network_configuration.rb | 10 - ..._set_network_configuration_dns_settings.rb | 3 - ...rtual_machine_scale_set_network_profile.rb | 4 - .../virtual_machine_scale_set_osdisk.rb | 10 - .../virtual_machine_scale_set_osprofile.rb | 9 - ...cale_set_public_ipaddress_configuration.rb | 4 - ...ic_ipaddress_configuration_dns_settings.rb | 2 - .../models/virtual_machine_scale_set_sku.rb | 4 - .../virtual_machine_scale_set_sku_capacity.rb | 5 - ...rtual_machine_scale_set_storage_profile.rb | 5 - .../virtual_machine_scale_set_update.rb | 10 - ...achine_scale_set_update_ipconfiguration.rb | 13 - ..._scale_set_update_network_configuration.rb | 10 - ...achine_scale_set_update_network_profile.rb | 3 - ...virtual_machine_scale_set_update_osdisk.rb | 7 - ...tual_machine_scale_set_update_osprofile.rb | 6 - ...t_update_public_ipaddress_configuration.rb | 4 - ...achine_scale_set_update_storage_profile.rb | 5 - ...tual_machine_scale_set_update_vmprofile.rb | 7 - .../models/virtual_machine_scale_set_vm.rb | 23 - ..._machine_scale_set_vmextensions_summary.rb | 4 - ...irtual_machine_scale_set_vminstance_ids.rb | 3 - ...chine_scale_set_vminstance_required_ids.rb | 3 - ...rtual_machine_scale_set_vminstance_view.rb | 15 - ...virtual_machine_scale_set_vmlist_result.rb | 4 - .../virtual_machine_scale_set_vmprofile.rb | 9 - .../models/virtual_machine_size.rb | 7 - .../virtual_machine_size_list_result.rb | 3 - .../virtual_machine_status_code_count.rb | 3 - .../models/virtual_machine_update.rb | 17 - .../models/win_rmconfiguration.rb | 3 - .../models/win_rmlistener.rb | 3 - .../models/windows_configuration.rb | 7 - .../azure_mgmt_compute/operations.rb | 11 +- .../azure_mgmt_compute/usage_operations.rb | 29 +- .../generated/azure_mgmt_compute/version.rb | 8 + .../virtual_machine_extension_images.rb | 37 +- .../virtual_machine_extensions.rb | 72 +-- .../virtual_machine_images.rb | 63 ++- .../virtual_machine_run_commands.rb | 41 +- .../virtual_machine_scale_set_extensions.rb | 79 ++-- ...tual_machine_scale_set_rolling_upgrades.rb | 49 +-- .../virtual_machine_scale_set_vms.rb | 242 +++++----- .../virtual_machine_scale_sets.rb | 416 +++++++++--------- .../virtual_machine_sizes.rb | 12 +- .../azure_mgmt_compute/virtual_machines.rb | 347 +++++++-------- .../generated/azure_mgmt_compute.rb | 25 +- .../compute_management_client.rb | 7 +- .../generated/azure_mgmt_compute/disks.rb | 206 ++++----- .../azure_mgmt_compute/models/access_uri.rb | 4 +- .../models/creation_data.rb | 6 - .../azure_mgmt_compute/models/disk.rb | 17 - .../azure_mgmt_compute/models/disk_list.rb | 4 - .../azure_mgmt_compute/models/disk_sku.rb | 3 - .../azure_mgmt_compute/models/disk_update.rb | 59 ++- .../models/encryption_settings.rb | 4 - .../models/grant_access_data.rb | 3 - .../models/image_disk_reference.rb | 3 - .../models/key_vault_and_key_reference.rb | 3 - .../models/key_vault_and_secret_reference.rb | 3 - .../azure_mgmt_compute/models/resource.rb | 7 - .../azure_mgmt_compute/models/snapshot.rb | 15 - .../models/snapshot_list.rb | 4 - .../azure_mgmt_compute/models/snapshot_sku.rb | 3 - .../models/snapshot_update.rb | 59 ++- .../azure_mgmt_compute/models/source_vault.rb | 2 - .../generated/azure_mgmt_compute/snapshots.rb | 206 ++++----- .../generated/azure_mgmt_compute/version.rb | 8 + .../lib/azure_mgmt_compute.rb | 8 +- .../latest/modules/compute_profile_module.rb | 68 ++- 678 files changed, 3653 insertions(+), 7378 deletions(-) create mode 100644 management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/version.rb create mode 100644 management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/version.rb diff --git a/azure_sdk/lib/azure_sdk.rb b/azure_sdk/lib/azure_sdk.rb index 4de13c3d8b..3d3eabaa94 100644 --- a/azure_sdk/lib/azure_sdk.rb +++ b/azure_sdk/lib/azure_sdk.rb @@ -2,5 +2,5 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require 'latest/latest_profile_client' require 'v2017_03_09/v2017_03_09_profile_client' +require 'latest/latest_profile_client' diff --git a/azure_sdk/lib/latest/modules/compute_profile_module.rb b/azure_sdk/lib/latest/modules/compute_profile_module.rb index 7b38fcdc57..be64c5e0c4 100644 --- a/azure_sdk/lib/latest/modules/compute_profile_module.rb +++ b/azure_sdk/lib/latest/modules/compute_profile_module.rb @@ -27,23 +27,22 @@ module Mgmt VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineRunCommands module Models + EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate + CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData DiskList = Azure::Compute::Mgmt::V2018_04_01::Models::DiskList + KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference SnapshotSku = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku - ResourceUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::ResourceUpdate GrantAccessData = Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData - CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData - AccessUri = Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri - KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference - KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference - EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings - DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku SourceVault = Azure::Compute::Mgmt::V2018_04_01::Models::SourceVault - SnapshotList = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + AccessUri = Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri ImageDiskReference = Azure::Compute::Mgmt::V2018_04_01::Models::ImageDiskReference + SnapshotList = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference + SnapshotUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate Disk = Azure::Compute::Mgmt::V2018_04_01::Models::Disk - DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate Snapshot = Azure::Compute::Mgmt::V2018_04_01::Models::Snapshot - SnapshotUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate DiskCreateOption = Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption SnapshotStorageAccountTypes = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotStorageAccountTypes AccessLevel = Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel @@ -287,57 +286,54 @@ def method_missing(method, *args) end class ModelClasses - def disk_list - Azure::Compute::Mgmt::V2018_04_01::Models::DiskList - end - def snapshot_sku - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku + def encryption_settings + Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings end - def resource_update - Azure::Compute::Mgmt::V2018_04_01::Models::ResourceUpdate + def disk_sku + Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku end - def grant_access_data - Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData + def disk_update + Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate end def creation_data Azure::Compute::Mgmt::V2018_04_01::Models::CreationData end - def access_uri - Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri + def disk_list + Azure::Compute::Mgmt::V2018_04_01::Models::DiskList end def key_vault_and_secret_reference Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference end - def key_vault_and_key_reference - Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference - end - def encryption_settings - Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + def snapshot_sku + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku end - def disk_sku - Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + def grant_access_data + Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData end def source_vault Azure::Compute::Mgmt::V2018_04_01::Models::SourceVault end - def snapshot_list - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + def access_uri + Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri end def image_disk_reference Azure::Compute::Mgmt::V2018_04_01::Models::ImageDiskReference end + def snapshot_list + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + end + def key_vault_and_key_reference + Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference + end + def snapshot_update + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate + end def disk Azure::Compute::Mgmt::V2018_04_01::Models::Disk end - def disk_update - Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate - end def snapshot Azure::Compute::Mgmt::V2018_04_01::Models::Snapshot end - def snapshot_update - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate - end def disk_create_option Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb index 76ef20946a..36e7985a74 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [AvailabilitySet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::AvailabilitySet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -137,8 +138,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, availability_set_name, custom_headers:nil) - response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, availability_set_name, custom_headers = nil) + response = delete_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +153,8 @@ def delete(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + delete_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -166,7 +167,7 @@ def delete_with_http_info(resource_group_name, availability_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, availability_set_name, custom_headers:nil) + def delete_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -174,7 +175,6 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -229,8 +229,8 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySet] operation results. # - def get(resource_group_name, availability_set_name, custom_headers:nil) - response = get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, availability_set_name, custom_headers = nil) + response = get_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -244,8 +244,8 @@ def get(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + get_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -258,7 +258,7 @@ def get_with_http_info(resource_group_name, availability_set_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, availability_set_name, custom_headers:nil) + def get_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -266,7 +266,6 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -320,8 +319,8 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySetListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -334,8 +333,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -347,14 +346,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -410,8 +408,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, availability_set_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, availability_set_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -426,8 +424,8 @@ def list_available_sizes(resource_group_name, availability_set_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -441,7 +439,7 @@ def list_available_sizes_with_http_info(resource_group_name, availability_set_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -449,7 +447,6 @@ def list_available_sizes_async(resource_group_name, availability_set_name, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb index 3a0e3dadd9..7a65d7da58 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb @@ -138,9 +138,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -157,7 +154,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2015_06_15::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2015_06_15::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/additional_unattend_content.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/additional_unattend_content.rb index 54ef57d8d9..ced94450b4 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/additional_unattend_content.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/additional_unattend_content.rb @@ -42,7 +42,6 @@ class AdditionalUnattendContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContent', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AdditionalUnattendContent', model_properties: { pass_name: { - client_side_validation: true, required: false, serialized_name: 'passName', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, component_name: { - client_side_validation: true, required: false, serialized_name: 'componentName', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, setting_name: { - client_side_validation: true, required: false, serialized_name: 'settingName', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_entity_reference.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_entity_reference.rb index f6e6f4d261..2012be88f5 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_entity_reference.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_entity_reference.rb @@ -23,7 +23,6 @@ class ApiEntityReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiEntityReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ApiEntityReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error.rb index 786ea0f239..9644ad5d87 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error.rb @@ -34,7 +34,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'ApiError', model_properties: { details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBaseElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, innererror: { - client_side_validation: true, required: false, serialized_name: 'innererror', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error_base.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error_base.rb index 01a8697e1a..a69d281a52 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error_base.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/api_error_base.rb @@ -28,7 +28,6 @@ class ApiErrorBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBase', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApiErrorBase', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb index 15593b084f..8885002e80 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb @@ -42,7 +42,6 @@ class AvailabilitySet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySet', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AvailabilitySet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -59,7 +57,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -68,7 +65,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -77,7 +73,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -85,13 +80,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -117,13 +108,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,14 +123,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set_list_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set_list_result.rb index c40fa7c32e..a31a6b8e75 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set_list_result.rb @@ -22,7 +22,6 @@ class AvailabilitySetListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AvailabilitySetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb index c1d169978f..97d8aa0822 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb @@ -31,7 +31,6 @@ class BootDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnostics', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BootDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, serialized_name: 'storageUri', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb index 40a23cb5d1..34103182f2 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb @@ -25,7 +25,6 @@ class BootDiagnosticsInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnosticsInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BootDiagnosticsInstanceView', model_properties: { console_screenshot_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'consoleScreenshotBlobUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, serial_console_log_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'serialConsoleLogBlobUri', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb index d6b7bff229..30fa8549ef 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb @@ -22,7 +22,6 @@ class ComputeLongRunningOperationProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeLongRunningOperationProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ComputeLongRunningOperationProperties', model_properties: { output: { - client_side_validation: true, required: false, serialized_name: 'output', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb index 10659bd3fc..3a346792d1 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb @@ -60,7 +60,6 @@ class DataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDisk', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'DataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: true, serialized_name: 'vhd', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -111,7 +105,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -120,7 +113,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk_image.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk_image.rb index 85819c7256..15fdf33383 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk_image.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk_image.rb @@ -24,7 +24,6 @@ class DataDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDiskImage', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'DataDiskImage', model_properties: { lun: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb index 949308d837..83bafbce0e 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb @@ -28,7 +28,6 @@ class DiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiagnosticsProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'DiagnosticsProfile', model_properties: { boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_encryption_settings.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_encryption_settings.rb index c693b6e7c2..07826581cc 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_encryption_settings.rb @@ -31,7 +31,6 @@ class DiskEncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'DiskEncryptionSettings', model_properties: { disk_encryption_key: { - client_side_validation: true, required: true, serialized_name: 'diskEncryptionKey', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb index 94accd0eb5..6daa2440b8 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb @@ -25,7 +25,6 @@ class DiskInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'DiskInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb index e5b178e1b0..ba9afbc2bf 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb @@ -46,7 +46,6 @@ class HardwareProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HardwareProfile', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'HardwareProfile', model_properties: { vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/image_reference.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/image_reference.rb index 5443a7ffbf..708dfdaba2 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/image_reference.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/image_reference.rb @@ -42,7 +42,6 @@ class ImageReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageReference', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ImageReference', model_properties: { publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/inner_error.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/inner_error.rb index f3659f2345..3cf9fc379e 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/inner_error.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/inner_error.rb @@ -25,7 +25,6 @@ class InnerError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InnerError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'InnerError', model_properties: { exceptiontype: { - client_side_validation: true, required: false, serialized_name: 'exceptiontype', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, errordetail: { - client_side_validation: true, required: false, serialized_name: 'errordetail', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/instance_view_status.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/instance_view_status.rb index b5a2eb4587..36ffab7004 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/instance_view_status.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/instance_view_status.rb @@ -36,7 +36,6 @@ class InstanceViewStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatus', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'InstanceViewStatus', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, level: { - client_side_validation: true, required: false, serialized_name: 'level', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_key_reference.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_key_reference.rb index 1d8dd95b9d..e8a8b26e80 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_key_reference.rb @@ -26,7 +26,6 @@ class KeyVaultKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultKeyReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultKeyReference', model_properties: { key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb index 2e5ebd97f7..4d44d27aa9 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultSecretReference', model_properties: { secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/linux_configuration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/linux_configuration.rb index d786811c4c..239a746b06 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/linux_configuration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/linux_configuration.rb @@ -33,7 +33,6 @@ class LinuxConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinuxConfiguration', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'LinuxConfiguration', model_properties: { disable_password_authentication: { - client_side_validation: true, required: false, serialized_name: 'disablePasswordAuthentication', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: false, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/list_usages_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/list_usages_result.rb index 21ae97ec21..9f98be54d9 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/list_usages_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/list_usages_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListUsagesResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ListUsagesResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_interface_reference.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_interface_reference.rb index 38fe916133..66d490c067 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_interface_reference.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_interface_reference.rb @@ -23,7 +23,6 @@ class NetworkInterfaceReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'NetworkInterfaceReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -39,7 +37,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_profile.rb index 568128b882..7e71e08270 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/network_profile.rb @@ -24,7 +24,6 @@ class NetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'NetworkProfile', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReferenceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/operation_status_response.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/operation_status_response.rb index 9c6031f3de..f2c82e10e4 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/operation_status_response.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/operation_status_response.rb @@ -34,7 +34,6 @@ class OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationStatusResponse', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'OperationStatusResponse', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -60,7 +57,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -69,7 +65,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -78,7 +73,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb index c3601a0fab..9eb4450822 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb @@ -69,7 +69,6 @@ class OSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDisk', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'OSDisk', model_properties: { os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { @@ -95,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -103,7 +99,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: true, serialized_name: 'vhd', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -121,7 +115,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -130,7 +123,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -139,7 +131,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk_image.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk_image.rb index 695522d6fa..5701ad55b8 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk_image.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk_image.rb @@ -23,7 +23,6 @@ class OSDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDiskImage', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'OSDiskImage', model_properties: { operating_system: { - client_side_validation: true, required: true, serialized_name: 'operatingSystem', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb index 88ad6fa88e..3f8a1becab 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb @@ -86,7 +86,6 @@ class OSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSProfile', type: { @@ -94,7 +93,6 @@ def self.mapper() class_name: 'OSProfile', model_properties: { computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -144,13 +137,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/plan.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/plan.rb index fa63eb9d45..a4bd9c130c 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/plan.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/plan.rb @@ -38,7 +38,6 @@ class Plan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Plan', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Plan', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, serialized_name: 'product', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, promotion_code: { - client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/purchase_plan.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/purchase_plan.rb index 4c322a768b..a3eafc445a 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/purchase_plan.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/purchase_plan.rb @@ -31,7 +31,6 @@ class PurchasePlan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PurchasePlan', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'PurchasePlan', model_properties: { publisher: { - client_side_validation: true, required: true, serialized_name: 'publisher', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: true, serialized_name: 'product', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/resource.rb index 94fff363fa..dc9f9b4ce2 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sku.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sku.rb index 86d4c7cfb1..3269449ccf 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sku.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sku.rb @@ -31,7 +31,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_configuration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_configuration.rb index 440a120759..1bab3c1885 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_configuration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_configuration.rb @@ -23,7 +23,6 @@ class SshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: false, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_public_key.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_public_key.rb index 8709df1b24..cb6a6c675e 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_public_key.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_public_key.rb @@ -32,7 +32,6 @@ class SshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshPublicKey', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'SshPublicKey', model_properties: { path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_data: { - client_side_validation: true, required: false, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/storage_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/storage_profile.rb index 83e93c687b..ec2e4dd8f6 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/storage_profile.rb @@ -38,7 +38,6 @@ class StorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageProfile', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'StorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -64,13 +61,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sub_resource.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sub_resource.rb index 7a03021a06..c912d03555 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sub_resource.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/update_resource.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/update_resource.rb index dadab0f9f2..18c5e55b96 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/update_resource.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/update_resource.rb @@ -22,7 +22,6 @@ class UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpdateResource', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UpdateResource', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_policy.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_policy.rb index 9a474152f9..164adc83c9 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_policy.rb @@ -28,7 +28,6 @@ class UpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradePolicy', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'UpgradePolicy', model_properties: { mode: { - client_side_validation: true, required: false, serialized_name: 'mode', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage.rb index a0e7e29205..168e97e71a 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage_name.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage_name.rb index d99e1a762e..b5792b0e95 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage_name.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb index 1436ca0f7d..c9ce651cfd 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb @@ -40,7 +40,6 @@ class VaultCertificate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VaultCertificate', model_properties: { certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, certificate_store: { - client_side_validation: true, required: false, serialized_name: 'certificateStore', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_secret_group.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_secret_group.rb index e332ffc2aa..bfaca71c41 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_secret_group.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_secret_group.rb @@ -27,7 +27,6 @@ class VaultSecretGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VaultSecretGroup', model_properties: { source_vault: { - client_side_validation: true, required: false, serialized_name: 'sourceVault', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, vault_certificates: { - client_side_validation: true, required: false, serialized_name: 'vaultCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultCertificateElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_hard_disk.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_hard_disk.rb index 7701bcfc8a..7569a5c875 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_hard_disk.rb @@ -22,7 +22,6 @@ class VirtualHardDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualHardDisk', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualHardDisk', model_properties: { uri: { - client_side_validation: true, required: false, serialized_name: 'uri', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb index 34dd42ae11..3adf34123b 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb @@ -83,7 +83,6 @@ class VirtualMachine < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachine', type: { @@ -91,7 +90,6 @@ def self.mapper() class_name: 'VirtualMachine', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -100,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -109,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -118,7 +114,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -126,13 +121,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -142,7 +135,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -151,7 +143,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -160,7 +151,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -169,7 +159,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -178,7 +167,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -187,7 +175,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -196,7 +183,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -214,7 +199,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -224,7 +208,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -232,14 +215,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb index 18d5453eed..92cc68bacb 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb @@ -29,7 +29,6 @@ class VirtualMachineAgentInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineAgentInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineAgentInstanceView', model_properties: { vm_agent_version: { - client_side_validation: true, required: false, serialized_name: 'vmAgentVersion', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, extension_handlers: { - client_side_validation: true, required: false, serialized_name: 'extensionHandlers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb index 619d1c97e3..8a1c8b4651 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb @@ -29,7 +29,6 @@ class VirtualMachineCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureParameters', model_properties: { vhd_prefix: { - client_side_validation: true, required: true, serialized_name: 'vhdPrefix', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, destination_container_name: { - client_side_validation: true, required: true, serialized_name: 'destinationContainerName', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, overwrite_vhds: { - client_side_validation: true, required: true, serialized_name: 'overwriteVhds', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb index 017832ff33..6560bfa3ea 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb @@ -22,7 +22,6 @@ class VirtualMachineCaptureResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -38,7 +36,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension.rb index 1aa71ccf8c..8d8dc5bb17 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineExtension < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineExtension', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, virtual_machine_extension_type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -178,7 +163,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, serialized_name: 'properties.instanceView', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb index 351ba5188e..a198e298df 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineExtensionHandlerInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionHandlerInstanceView', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb index a90351359d..a8e84fd021 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb @@ -39,7 +39,6 @@ class VirtualMachineExtensionImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImage', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionImage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, operating_system: { - client_side_validation: true, required: true, serialized_name: 'properties.operatingSystem', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, compute_role: { - client_side_validation: true, required: true, serialized_name: 'properties.computeRole', type: { @@ -114,7 +105,6 @@ def self.mapper() } }, handler_schema: { - client_side_validation: true, required: true, serialized_name: 'properties.handlerSchema', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, vm_scale_set_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.vmScaleSetEnabled', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, supports_multiple_extensions: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsMultipleExtensions', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb index d06c7c4f8e..549ac5ed32 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb @@ -35,7 +35,6 @@ class VirtualMachineExtensionInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceView', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, substatuses: { - client_side_validation: true, required: false, serialized_name: 'substatuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -84,13 +78,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb index ed274e6238..0ef079f35f 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb @@ -46,7 +46,6 @@ class VirtualMachineExtensionUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionUpdate', type: { @@ -54,13 +53,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image.rb index f0d2c21e82..74fd7129e2 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image.rb @@ -28,7 +28,6 @@ class VirtualMachineImage < VirtualMachineImageResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImage', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineImage', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -60,13 +56,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -76,7 +70,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'properties.plan', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, os_disk_image: { - client_side_validation: true, required: false, serialized_name: 'properties.osDiskImage', type: { @@ -94,13 +86,11 @@ def self.mapper() } }, data_disk_images: { - client_side_validation: true, required: false, serialized_name: 'properties.dataDiskImages', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb index 72b3b860eb..94d6eea715 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb @@ -31,7 +31,6 @@ class VirtualMachineImageResource < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineImageResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -63,13 +59,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb index cc96ed0eaa..049b7ccdc6 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb @@ -50,7 +50,6 @@ class VirtualMachineInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineInstanceView', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -91,13 +86,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -134,13 +124,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb index a8bb84f9b3..e7ff932bd5 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualMachineListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb index 5ca37655ea..ec1658e3d8 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb @@ -36,7 +36,6 @@ class VirtualMachineScaleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSet', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -53,7 +51,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -62,7 +59,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -71,7 +67,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -79,13 +74,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -95,7 +88,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -113,7 +104,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, over_provision: { - client_side_validation: true, required: false, serialized_name: 'properties.overProvision', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb index 97b3623c4d..cc33aa5714 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb @@ -45,7 +45,6 @@ class VirtualMachineScaleSetExtension < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtension', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtension', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -117,7 +108,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb index 1abff26c07..002fbc83d3 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetExtensionProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionProfile', model_properties: { extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb index e1f74114a7..fd482714c5 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineScaleSetInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceView', model_properties: { virtual_machine: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'virtualMachine', @@ -48,14 +46,12 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummaryElementType', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb index 38caa7c24d..61b74951ce 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetInstanceViewStatusesSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', type: { @@ -33,14 +32,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', model_properties: { statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb index 02111c88b7..83116ae101 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: true, serialized_name: 'properties.subnet', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -81,13 +75,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb index c659a3aab9..d31a9a4f73 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb index 7c5646f656..e9412c47e2 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListSkusResult', type: { @@ -68,14 +67,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListSkusResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb index a83a2dd94d..1e1b660560 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListWithLinkResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListWithLinkResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb index 1b2ec654e8..2e8ea03a88 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -63,13 +59,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb index 99a30053c0..05da3c24d8 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkProfile', model_properties: { network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb index d4cd8cbfed..eaf8e280f3 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb @@ -54,7 +54,6 @@ class VirtualMachineScaleSetOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSDisk', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSDisk', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -106,13 +100,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb index ef48af1a5d..da571cd809 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb @@ -73,7 +73,6 @@ class VirtualMachineScaleSetOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSProfile', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSProfile', model_properties: { computer_name_prefix: { - client_side_validation: true, required: false, serialized_name: 'computerNamePrefix', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -97,7 +94,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -105,7 +101,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -113,7 +108,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -122,7 +116,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -131,13 +124,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb index 892fa051c7..67f244e463 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -46,7 +44,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb index 47d8faf4df..d458aca83e 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb @@ -32,7 +32,6 @@ class VirtualMachineScaleSetSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default_capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultCapacity', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb index b26f204829..37a49e107c 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetStorageProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb index 7c5f97effb..3306bd0397 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb @@ -93,7 +93,6 @@ class VirtualMachineScaleSetVM < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVM', type: { @@ -101,7 +100,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVM', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -110,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -119,7 +116,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -128,7 +124,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -136,13 +131,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -152,7 +145,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceId', @@ -161,7 +153,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -171,7 +162,6 @@ def self.mapper() } }, latest_model_applied: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.latestModelApplied', @@ -180,7 +170,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -190,7 +179,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -199,7 +187,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -208,7 +195,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -217,7 +203,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -226,7 +211,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -235,7 +219,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -244,7 +227,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -252,7 +234,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -260,7 +241,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -269,14 +249,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb index 7a55bf52c9..42c88e8b45 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetVMExtensionsSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummary', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMExtensionsSummary', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -44,14 +42,12 @@ def self.mapper() } }, statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb index cc010d3397..d5c9890918 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetVMInstanceIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceIDs', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceIDs', model_properties: { instance_ids: { - client_side_validation: true, required: false, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb index 98530f392b..a7feed227b 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetVMInstanceRequiredIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', model_properties: { instance_ids: { - client_side_validation: true, required: true, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb index f434357f5a..3e4fefbe44 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb @@ -50,7 +50,6 @@ class VirtualMachineScaleSetVMInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -91,13 +86,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -134,13 +124,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb index 3c312e64dc..899b2a2861 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb index fa814bcce4..3a756245d9 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb @@ -35,7 +35,6 @@ class VirtualMachineScaleSetVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMProfile', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size.rb index b54177dc88..fcc6ef1e25 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size.rb @@ -42,7 +42,6 @@ class VirtualMachineSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSize', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineSize', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, number_of_cores: { - client_side_validation: true, required: false, serialized_name: 'numberOfCores', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, os_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'osDiskSizeInMB', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, resource_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'resourceDiskSizeInMB', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, memory_in_mb: { - client_side_validation: true, required: false, serialized_name: 'memoryInMB', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, max_data_disk_count: { - client_side_validation: true, required: false, serialized_name: 'maxDataDiskCount', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb index 6b12aebfd8..e978d8189d 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineSizeListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineSizeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb index d8ea31cdf0..9768e30dd6 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb @@ -27,7 +27,6 @@ class VirtualMachineStatusCodeCount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCount', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineStatusCodeCount', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -44,7 +42,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmconfiguration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmconfiguration.rb index cac431b8b8..7454547099 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmconfiguration.rb @@ -23,7 +23,6 @@ class WinRMConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WinRMConfiguration', model_properties: { listeners: { - client_side_validation: true, required: false, serialized_name: 'listeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WinRMListenerElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmlistener.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmlistener.rb index d4a7dbfc85..d3b9290a35 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmlistener.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmlistener.rb @@ -34,7 +34,6 @@ class WinRMListener # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMListener', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WinRMListener', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/windows_configuration.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/windows_configuration.rb index 965e8b8919..b6037889f3 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/windows_configuration.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/models/windows_configuration.rb @@ -43,7 +43,6 @@ class WindowsConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WindowsConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'WindowsConfiguration', model_properties: { provision_vmagent: { - client_side_validation: true, required: false, serialized_name: 'provisionVMAgent', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, enable_automatic_updates: { - client_side_validation: true, required: false, serialized_name: 'enableAutomaticUpdates', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'timeZone', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, additional_unattend_content: { - client_side_validation: true, required: false, serialized_name: 'additionalUnattendContent', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContentElementType', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, win_rm: { - client_side_validation: true, required: false, serialized_name: 'winRM', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/usage_operations.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/usage_operations.rb index 451e9a7974..502b750c7f 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/usage_operations.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/usage_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -48,8 +48,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -63,15 +63,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +126,8 @@ def list_async(location, custom_headers:nil) # # @return [ListUsagesResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -145,8 +143,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -161,12 +159,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,12 +219,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ListUsagesResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..6ca28bde5b --- /dev/null +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/version.rb @@ -0,0 +1,8 @@ +# 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. + +module Azure::Compute::Mgmt::V2015_06_15 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extension_images.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extension_images.rb index d9e0b1deab..8b6ec1ee98 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extension_images.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionImage] operation results. # - def get(location, publisher_name, type, version, custom_headers:nil) - response = get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get(location, publisher_name, type, version, custom_headers = nil) + response = get_async(location, publisher_name, type, version, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(location, publisher_name, type, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, type, version, custom_headers:nil) - get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, type, version, custom_headers = nil) + get_async(location, publisher_name, type, version, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_with_http_info(location, publisher_name, type, version, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, type, version, custom_headers:nil) + def get_async(location, publisher_name, type, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -76,7 +76,6 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -131,8 +130,8 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) # # @return [Array] operation results. # - def list_types(location, publisher_name, custom_headers:nil) - response = list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types(location, publisher_name, custom_headers = nil) + response = list_types_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -146,8 +145,8 @@ def list_types(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_types_with_http_info(location, publisher_name, custom_headers:nil) - list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types_with_http_info(location, publisher_name, custom_headers = nil) + list_types_async(location, publisher_name, custom_headers).value! end # @@ -160,7 +159,7 @@ def list_types_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_types_async(location, publisher_name, custom_headers:nil) + def list_types_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -168,7 +167,6 @@ def list_types_async(location, publisher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -201,13 +199,11 @@ def list_types_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { @@ -243,8 +239,8 @@ def list_types_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -262,8 +258,8 @@ def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_versions_with_http_info(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions_with_http_info(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! end # @@ -280,7 +276,7 @@ def list_versions_with_http_info(location, publisher_name, type, filter:nil, top # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_versions_async(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_versions_async(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -289,7 +285,6 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -322,13 +317,11 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extensions.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extensions.rb index 118c21451a..ac2c2defea 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extensions.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineExtension] operation results. # - def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, vm_name, vm_extension_name, exte # # @return [VirtualMachineExtension] operation results. # - def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, vm_name, vm_extension_name, extension_parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -149,9 +149,9 @@ def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -180,8 +180,8 @@ def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [VirtualMachineExtension] operation results. # - def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -198,8 +198,8 @@ def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! end # @@ -215,7 +215,7 @@ def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -224,7 +224,6 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -283,8 +282,8 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo # # @return [VirtualMachineExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -302,8 +301,8 @@ def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, exte # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -320,7 +319,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_exten # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -330,12 +329,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::VirtualMachineExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -406,8 +406,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name # # @return [VirtualMachineExtension] operation results. # - def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -425,8 +425,8 @@ def begin_update(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -443,7 +443,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -453,12 +453,13 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::VirtualMachineExtensionUpdate.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -517,8 +518,8 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -534,8 +535,8 @@ def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! end # @@ -550,7 +551,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -559,7 +560,6 @@ def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_images.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_images.rb index 6ebffb470b..273573a738 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_images.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_images.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineImage] operation results. # - def get(location, publisher_name, offer, skus, version, custom_headers:nil) - response = get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get(location, publisher_name, offer, skus, version, custom_headers = nil) + response = get_async(location, publisher_name, offer, skus, version, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(location, publisher_name, offer, skus, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers:nil) - get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers = nil) + get_async(location, publisher_name, offer, skus, version, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(location, publisher_name, offer, skus, version, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, offer, skus, version, custom_headers:nil) + def get_async(location, publisher_name, offer, skus, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -80,7 +80,6 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -141,8 +140,8 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil # # @return [Array] operation results. # - def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -162,8 +161,8 @@ def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! end # @@ -182,7 +181,7 @@ def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -192,7 +191,6 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,13 +223,11 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -264,8 +260,8 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order # # @return [Array] operation results. # - def list_offers(location, publisher_name, custom_headers:nil) - response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers(location, publisher_name, custom_headers = nil) + response = list_offers_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -280,8 +276,8 @@ def list_offers(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_offers_with_http_info(location, publisher_name, custom_headers:nil) - list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers_with_http_info(location, publisher_name, custom_headers = nil) + list_offers_async(location, publisher_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_offers_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_offers_async(location, publisher_name, custom_headers:nil) + def list_offers_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_offers_async(location, publisher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -336,13 +331,11 @@ def list_offers_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -374,8 +367,8 @@ def list_offers_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_publishers(location, custom_headers:nil) - response = list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers(location, custom_headers = nil) + response = list_publishers_async(location, custom_headers).value! response.body unless response.nil? end @@ -389,8 +382,8 @@ def list_publishers(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_publishers_with_http_info(location, custom_headers:nil) - list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers_with_http_info(location, custom_headers = nil) + list_publishers_async(location, custom_headers).value! end # @@ -403,14 +396,13 @@ def list_publishers_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_publishers_async(location, custom_headers:nil) + def list_publishers_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,13 +435,11 @@ def list_publishers_async(location, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -483,8 +473,8 @@ def list_publishers_async(location, custom_headers:nil) # # @return [Array] operation results. # - def list_skus(location, publisher_name, offer, custom_headers:nil) - response = list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus(location, publisher_name, offer, custom_headers = nil) + response = list_skus_async(location, publisher_name, offer, custom_headers).value! response.body unless response.nil? end @@ -500,8 +490,8 @@ def list_skus(location, publisher_name, offer, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil) - list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus_with_http_info(location, publisher_name, offer, custom_headers = nil) + list_skus_async(location, publisher_name, offer, custom_headers).value! end # @@ -516,7 +506,7 @@ def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(location, publisher_name, offer, custom_headers:nil) + def list_skus_async(location, publisher_name, offer, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -525,7 +515,6 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -558,13 +547,11 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb index 8ec5e53f44..3168db0c04 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -48,9 +48,9 @@ def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -95,9 +95,9 @@ def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -124,8 +124,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -139,9 +139,9 @@ def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +168,8 @@ def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [VirtualMachineScaleSetVM] operation results. # - def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -184,8 +184,8 @@ def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -199,7 +199,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -208,7 +208,6 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -264,8 +263,8 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header # # @return [VirtualMachineScaleSetVMInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -280,8 +279,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -295,7 +294,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -304,7 +303,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -362,8 +360,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [Array] operation results. # - def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers) + def list(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers) first_page.get_all_items end @@ -380,8 +378,8 @@ def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! end # @@ -397,7 +395,7 @@ def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, fil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) + def list_async(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -405,7 +403,6 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -463,8 +460,8 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -478,9 +475,9 @@ def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +504,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -522,9 +519,9 @@ def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -551,8 +548,8 @@ def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -566,9 +563,9 @@ def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -596,8 +593,8 @@ def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -613,8 +610,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -629,7 +626,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -638,7 +635,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -697,8 +693,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -716,8 +712,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -734,7 +730,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -743,7 +739,6 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -799,8 +794,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -815,8 +810,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -830,7 +825,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -839,7 +834,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -897,8 +891,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -915,8 +909,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -932,7 +926,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, insta # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -941,7 +935,6 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -997,8 +990,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1013,8 +1006,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1028,7 +1021,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1037,7 +1030,6 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1093,8 +1085,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1109,8 +1101,8 @@ def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1124,7 +1116,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1133,7 +1125,6 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1188,8 +1179,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [VirtualMachineScaleSetVMListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1203,8 +1194,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1217,12 +1208,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1280,12 +1270,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetVMListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - response = list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + response = list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb index f2f012491f..3da8712ace 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [VirtualMachineScaleSet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -117,8 +117,8 @@ def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def get(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -132,8 +132,8 @@ def get(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -146,7 +146,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -154,7 +154,6 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -213,8 +212,8 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -229,9 +228,9 @@ def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +258,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [OperationStatusResponse] operation results. # - def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -275,9 +274,9 @@ def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -303,8 +302,8 @@ def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [VirtualMachineScaleSetInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -318,8 +317,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -332,7 +331,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -340,7 +339,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -394,8 +392,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -408,8 +406,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -421,14 +419,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -484,8 +481,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -500,8 +497,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -515,13 +512,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -577,8 +573,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list_skus(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -593,8 +589,8 @@ def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -608,7 +604,7 @@ def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -616,7 +612,6 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -675,8 +670,8 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -691,9 +686,9 @@ def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -721,8 +716,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -737,9 +732,9 @@ def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -767,8 +762,8 @@ def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -783,9 +778,9 @@ def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -814,8 +809,8 @@ def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [OperationStatusResponse] operation results. # - def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -830,9 +825,9 @@ def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -859,8 +854,8 @@ def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -873,9 +868,9 @@ def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -902,8 +897,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def begin_create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -918,8 +913,8 @@ def begin_create_or_update(resource_group_name, name, parameters, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -933,7 +928,7 @@ def begin_create_or_update_with_http_info(resource_group_name, name, parameters, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -942,12 +937,13 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1014,8 +1010,8 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1029,8 +1025,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1043,7 +1039,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1051,7 +1047,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1110,8 +1105,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1129,8 +1124,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1147,7 +1142,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1155,12 +1150,13 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1219,8 +1215,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1236,8 +1232,8 @@ def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1252,7 +1248,7 @@ def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1261,12 +1257,13 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1327,8 +1324,8 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1346,8 +1343,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1364,7 +1361,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_in # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1372,12 +1369,13 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1436,8 +1434,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1453,8 +1451,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1469,7 +1467,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1477,12 +1475,13 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1541,8 +1540,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1558,8 +1557,8 @@ def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1574,7 +1573,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1582,12 +1581,13 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1647,8 +1647,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [OperationStatusResponse] operation results. # - def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1665,8 +1665,8 @@ def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1682,7 +1682,7 @@ def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1691,12 +1691,13 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1754,8 +1755,8 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1770,8 +1771,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1785,7 +1786,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1793,7 +1794,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1848,8 +1848,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n # # @return [VirtualMachineScaleSetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1863,8 +1863,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1877,12 +1877,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1939,8 +1938,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListWithLinkResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1957,8 +1956,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1974,12 +1973,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2034,8 +2032,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListSkusResult] operation results. # - def list_skus_next(next_page_link, custom_headers:nil) - response = list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next(next_page_link, custom_headers = nil) + response = list_skus_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2050,8 +2048,8 @@ def list_skus_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_next_with_http_info(next_page_link, custom_headers:nil) - list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next_with_http_info(next_page_link, custom_headers = nil) + list_skus_next_async(next_page_link, custom_headers).value! end # @@ -2065,12 +2063,11 @@ def list_skus_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_next_async(next_page_link, custom_headers:nil) + def list_skus_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2124,12 +2121,12 @@ def list_skus_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2147,12 +2144,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineScaleSetListWithLinkResult] which provide lazy access # to pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -2170,12 +2167,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualMachineScaleSetListSkusResult] which provide lazy access to # pages of the response. # - def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_skus_next_async(next_page_link, custom_headers:custom_headers) + list_skus_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_sizes.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_sizes.rb index 64dac9100d..9ce6f8e922 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_sizes.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_sizes.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [VirtualMachineSizeListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +60,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb index af1f83d3c0..c7bd956336 100644 --- a/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb +++ b/management/azure_mgmt_compute/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineCaptureResult] operation results. # - def capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,9 +50,9 @@ def capture(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -96,9 +96,9 @@ def create_or_update(resource_group_name, vm_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -124,8 +124,8 @@ def create_or_update_async(resource_group_name, vm_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -138,9 +138,9 @@ def delete(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -169,8 +169,8 @@ def delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -187,8 +187,8 @@ def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -204,7 +204,7 @@ def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -212,7 +212,6 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -268,8 +267,8 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_name, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_name, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -282,9 +281,9 @@ def deallocate(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def deallocate_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -310,8 +309,8 @@ def deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def generalize(resource_group_name, vm_name, custom_headers:nil) - response = generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize(resource_group_name, vm_name, custom_headers = nil) + response = generalize_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -325,8 +324,8 @@ def generalize(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) - generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize_with_http_info(resource_group_name, vm_name, custom_headers = nil) + generalize_async(resource_group_name, vm_name, custom_headers).value! end # @@ -339,7 +338,7 @@ def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generalize_async(resource_group_name, vm_name, custom_headers:nil) + def generalize_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -347,7 +346,6 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -402,8 +400,8 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -417,8 +415,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -431,14 +429,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -492,8 +489,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -506,8 +503,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -519,13 +516,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -581,8 +577,8 @@ def list_all_async(custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, vm_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -597,8 +593,8 @@ def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! end # @@ -612,7 +608,7 @@ def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -620,7 +616,6 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -677,8 +672,8 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_name, custom_headers:nil) - response = power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_name, custom_headers = nil) + response = power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -691,9 +686,9 @@ def power_off(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_name, custom_headers:nil) + def power_off_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -719,8 +714,8 @@ def power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_name, custom_headers:nil) - response = restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_name, custom_headers = nil) + response = restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -733,9 +728,9 @@ def restart(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_name, custom_headers:nil) + def restart_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -761,8 +756,8 @@ def restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_name, custom_headers:nil) - response = start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def start(resource_group_name, vm_name, custom_headers = nil) + response = start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -775,9 +770,9 @@ def start(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_name, custom_headers:nil) + def start_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -803,8 +798,8 @@ def start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_name, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_name, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -817,9 +812,9 @@ def redeploy(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def redeploy_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -848,8 +843,8 @@ def redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineCaptureResult] operation results. # - def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -866,8 +861,8 @@ def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -883,7 +878,7 @@ def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -892,12 +887,13 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::VirtualMachineCaptureParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -956,8 +952,8 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers # # @return [VirtualMachine] operation results. # - def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -973,8 +969,8 @@ def begin_create_or_update(resource_group_name, vm_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -989,7 +985,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -998,12 +994,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::VirtualMachine.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1070,8 +1067,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1085,8 +1082,8 @@ def begin_delete(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1099,7 +1096,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1107,7 +1104,6 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1163,8 +1159,8 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_name, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1179,8 +1175,8 @@ def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1194,7 +1190,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1202,7 +1198,6 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1259,8 +1254,8 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_name, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_name, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1276,8 +1271,8 @@ def begin_power_off(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1292,7 +1287,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1300,7 +1295,6 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1355,8 +1349,8 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_name, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1370,8 +1364,8 @@ def begin_restart(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_restart_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1384,7 +1378,7 @@ def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1392,7 +1386,6 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1447,8 +1440,8 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_name, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_name, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1462,8 +1455,8 @@ def begin_start(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_start_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1476,7 +1469,7 @@ def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_name, custom_headers:nil) + def begin_start_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1484,7 +1477,6 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1539,8 +1531,8 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_name, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1554,8 +1546,8 @@ def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1568,7 +1560,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1576,7 +1568,6 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1632,8 +1623,8 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1648,8 +1639,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1663,12 +1654,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1723,8 +1713,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1739,8 +1729,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1754,12 +1744,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1814,12 +1803,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1835,12 +1824,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb index 14bdcaadaf..109a0cecff 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [AvailabilitySet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -137,8 +138,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, availability_set_name, custom_headers:nil) - response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, availability_set_name, custom_headers = nil) + response = delete_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +153,8 @@ def delete(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + delete_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -166,7 +167,7 @@ def delete_with_http_info(resource_group_name, availability_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, availability_set_name, custom_headers:nil) + def delete_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -174,7 +175,6 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -229,8 +229,8 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySet] operation results. # - def get(resource_group_name, availability_set_name, custom_headers:nil) - response = get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, availability_set_name, custom_headers = nil) + response = get_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -244,8 +244,8 @@ def get(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + get_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -258,7 +258,7 @@ def get_with_http_info(resource_group_name, availability_set_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, availability_set_name, custom_headers:nil) + def get_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -266,7 +266,6 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -320,8 +319,8 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySetListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -334,8 +333,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -347,14 +346,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -410,8 +408,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, availability_set_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, availability_set_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -426,8 +424,8 @@ def list_available_sizes(resource_group_name, availability_set_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -441,7 +439,7 @@ def list_available_sizes_with_http_info(resource_group_name, availability_set_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -449,7 +447,6 @@ def list_available_sizes_async(resource_group_name, availability_set_name, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb index 214967e6bf..f689e5f708 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb @@ -138,9 +138,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -157,7 +154,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2016_03_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2016_03_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb index 207648f57d..64c17f8ead 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb @@ -42,7 +42,6 @@ class AdditionalUnattendContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContent', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AdditionalUnattendContent', model_properties: { pass_name: { - client_side_validation: true, required: false, serialized_name: 'passName', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, component_name: { - client_side_validation: true, required: false, serialized_name: 'componentName', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, setting_name: { - client_side_validation: true, required: false, serialized_name: 'settingName', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb index a12e598989..979eaaffbf 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb @@ -23,7 +23,6 @@ class ApiEntityReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiEntityReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ApiEntityReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error.rb index bdc41fb8cb..b8ed1c8a46 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error.rb @@ -34,7 +34,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'ApiError', model_properties: { details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBaseElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, innererror: { - client_side_validation: true, required: false, serialized_name: 'innererror', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb index 3b9c4022c2..5c0839eab8 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb @@ -28,7 +28,6 @@ class ApiErrorBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBase', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApiErrorBase', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb index e5d8ad1065..3f8be1e5e5 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb @@ -42,7 +42,6 @@ class AvailabilitySet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySet', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AvailabilitySet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -59,7 +57,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -68,7 +65,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -77,7 +73,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -85,13 +80,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -117,13 +108,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,14 +123,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb index a221596f82..ca61ffdf35 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb @@ -22,7 +22,6 @@ class AvailabilitySetListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AvailabilitySetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb index 513f0554be..6442e80cc2 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb @@ -31,7 +31,6 @@ class BootDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnostics', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BootDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, serialized_name: 'storageUri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb index 340e9d0a07..41a87d3660 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb @@ -25,7 +25,6 @@ class BootDiagnosticsInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnosticsInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BootDiagnosticsInstanceView', model_properties: { console_screenshot_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'consoleScreenshotBlobUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, serial_console_log_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'serialConsoleLogBlobUri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb index 39e2302500..7472ac310d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb @@ -22,7 +22,6 @@ class ComputeLongRunningOperationProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeLongRunningOperationProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ComputeLongRunningOperationProperties', model_properties: { output: { - client_side_validation: true, required: false, serialized_name: 'output', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb index 0fc4987dd5..9805db2793 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb @@ -60,7 +60,6 @@ class DataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDisk', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'DataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: true, serialized_name: 'vhd', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -111,7 +105,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -120,7 +113,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb index 22a2eba151..7cc0079e6a 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb @@ -24,7 +24,6 @@ class DataDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDiskImage', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'DataDiskImage', model_properties: { lun: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb index 9e66420996..1a09023be5 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb @@ -28,7 +28,6 @@ class DiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiagnosticsProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'DiagnosticsProfile', model_properties: { boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb index 485c8a185b..a8c85402e4 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb @@ -31,7 +31,6 @@ class DiskEncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'DiskEncryptionSettings', model_properties: { disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb index 57a1d71599..aefa32a3a0 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb @@ -25,7 +25,6 @@ class DiskInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'DiskInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb index 05e93fc71f..57878509ca 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb @@ -50,7 +50,6 @@ class HardwareProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HardwareProfile', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'HardwareProfile', model_properties: { vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/image_reference.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/image_reference.rb index 02061188b7..d2e9f485d4 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/image_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/image_reference.rb @@ -42,7 +42,6 @@ class ImageReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageReference', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ImageReference', model_properties: { publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/inner_error.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/inner_error.rb index 5c6c62f507..8aa1d29c67 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/inner_error.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/inner_error.rb @@ -25,7 +25,6 @@ class InnerError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InnerError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'InnerError', model_properties: { exceptiontype: { - client_side_validation: true, required: false, serialized_name: 'exceptiontype', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, errordetail: { - client_side_validation: true, required: false, serialized_name: 'errordetail', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb index 89ea20a15b..6222581337 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb @@ -36,7 +36,6 @@ class InstanceViewStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatus', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'InstanceViewStatus', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, level: { - client_side_validation: true, required: false, serialized_name: 'level', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb index 14676e5149..e24a39de05 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb @@ -26,7 +26,6 @@ class KeyVaultKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultKeyReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultKeyReference', model_properties: { key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb index cd3705f018..a8bd800e83 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultSecretReference', model_properties: { secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb index 6205ed604c..71c0d90ca4 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb @@ -33,7 +33,6 @@ class LinuxConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinuxConfiguration', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'LinuxConfiguration', model_properties: { disable_password_authentication: { - client_side_validation: true, required: false, serialized_name: 'disablePasswordAuthentication', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: false, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb index f00ac175a4..55fa031367 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListUsagesResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ListUsagesResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb index 1d1d1f4520..36dff80175 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb @@ -23,7 +23,6 @@ class NetworkInterfaceReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'NetworkInterfaceReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -39,7 +37,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_profile.rb index 0c915996bd..f21a037efd 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/network_profile.rb @@ -24,7 +24,6 @@ class NetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'NetworkProfile', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReferenceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb index eed03d1056..d488d0ffd9 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb @@ -34,7 +34,6 @@ class OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationStatusResponse', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'OperationStatusResponse', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -60,7 +57,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -69,7 +65,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -78,7 +73,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb index ad6febb401..dbc1e4e2fd 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb @@ -69,7 +69,6 @@ class OSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDisk', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'OSDisk', model_properties: { os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { @@ -95,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -103,7 +99,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: true, serialized_name: 'vhd', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -121,7 +115,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -130,7 +123,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -139,7 +131,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb index 3fe132eadf..c338681175 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb @@ -23,7 +23,6 @@ class OSDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDiskImage', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'OSDiskImage', model_properties: { operating_system: { - client_side_validation: true, required: true, serialized_name: 'operatingSystem', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb index 2d19661cf2..83f9e989d9 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb @@ -86,7 +86,6 @@ class OSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSProfile', type: { @@ -94,7 +93,6 @@ def self.mapper() class_name: 'OSProfile', model_properties: { computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -144,13 +137,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/plan.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/plan.rb index 61eadd2c37..b2f51766a2 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/plan.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/plan.rb @@ -38,7 +38,6 @@ class Plan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Plan', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Plan', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, serialized_name: 'product', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, promotion_code: { - client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb index 11bbe4df43..6ae65f6f53 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb @@ -31,7 +31,6 @@ class PurchasePlan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PurchasePlan', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'PurchasePlan', model_properties: { publisher: { - client_side_validation: true, required: true, serialized_name: 'publisher', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: true, serialized_name: 'product', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/resource.rb index d83dc05520..f3b2a1532a 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb index 239e032240..c12837fba7 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb @@ -31,7 +31,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb index a6f919d9a7..8ca791f2c6 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb @@ -23,7 +23,6 @@ class SshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: false, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb index a926f1fc3c..ebb6e0c869 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb @@ -32,7 +32,6 @@ class SshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshPublicKey', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'SshPublicKey', model_properties: { path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_data: { - client_side_validation: true, required: false, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/storage_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/storage_profile.rb index 2a36507a9f..ae9e0b7080 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/storage_profile.rb @@ -38,7 +38,6 @@ class StorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageProfile', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'StorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -64,13 +61,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sub_resource.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sub_resource.rb index 3a6d0af9ae..eeb6bc0a03 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sub_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/update_resource.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/update_resource.rb index abc2c226c1..142df30faa 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/update_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/update_resource.rb @@ -22,7 +22,6 @@ class UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpdateResource', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UpdateResource', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb index c1d641f026..b3edbdbf0c 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb @@ -28,7 +28,6 @@ class UpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradePolicy', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'UpgradePolicy', model_properties: { mode: { - client_side_validation: true, required: false, serialized_name: 'mode', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage.rb index 0adfdbec69..e6c48c071a 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage_name.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage_name.rb index 8f107f734b..4ee06a9965 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage_name.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb index b2a46fcf62..0a7f4bc916 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb @@ -40,7 +40,6 @@ class VaultCertificate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VaultCertificate', model_properties: { certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, certificate_store: { - client_side_validation: true, required: false, serialized_name: 'certificateStore', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb index f1727c4d31..78c61f971f 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb @@ -27,7 +27,6 @@ class VaultSecretGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VaultSecretGroup', model_properties: { source_vault: { - client_side_validation: true, required: false, serialized_name: 'sourceVault', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, vault_certificates: { - client_side_validation: true, required: false, serialized_name: 'vaultCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultCertificateElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb index c7293984f0..c48534002f 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb @@ -22,7 +22,6 @@ class VirtualHardDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualHardDisk', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualHardDisk', model_properties: { uri: { - client_side_validation: true, required: false, serialized_name: 'uri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb index b0c0a08528..20d4f934cd 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb @@ -92,7 +92,6 @@ class VirtualMachine < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachine', type: { @@ -100,7 +99,6 @@ def self.mapper() class_name: 'VirtualMachine', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -109,7 +107,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -118,7 +115,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -127,7 +123,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -135,13 +130,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +144,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -160,7 +152,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -169,7 +160,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -178,7 +168,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -187,7 +176,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -196,7 +184,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -205,7 +192,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -214,7 +200,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -223,7 +208,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -233,7 +217,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -241,7 +224,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -250,14 +232,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { @@ -268,7 +248,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb index 296cbb12da..b5a81fdb4a 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb @@ -29,7 +29,6 @@ class VirtualMachineAgentInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineAgentInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineAgentInstanceView', model_properties: { vm_agent_version: { - client_side_validation: true, required: false, serialized_name: 'vmAgentVersion', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, extension_handlers: { - client_side_validation: true, required: false, serialized_name: 'extensionHandlers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb index 38f73dbce4..c34613fd96 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb @@ -29,7 +29,6 @@ class VirtualMachineCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureParameters', model_properties: { vhd_prefix: { - client_side_validation: true, required: true, serialized_name: 'vhdPrefix', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, destination_container_name: { - client_side_validation: true, required: true, serialized_name: 'destinationContainerName', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, overwrite_vhds: { - client_side_validation: true, required: true, serialized_name: 'overwriteVhds', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb index 7e393d21ec..15391c7b6b 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb @@ -22,7 +22,6 @@ class VirtualMachineCaptureResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -38,7 +36,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb index 97cf15e5d4..6d859f1f54 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineExtension < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineExtension', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, virtual_machine_extension_type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -178,7 +163,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, serialized_name: 'properties.instanceView', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb index 7a97adf60b..de5bb70f0d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineExtensionHandlerInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionHandlerInstanceView', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb index 3c28568f02..b066774370 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb @@ -39,7 +39,6 @@ class VirtualMachineExtensionImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImage', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionImage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, operating_system: { - client_side_validation: true, required: true, serialized_name: 'properties.operatingSystem', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, compute_role: { - client_side_validation: true, required: true, serialized_name: 'properties.computeRole', type: { @@ -114,7 +105,6 @@ def self.mapper() } }, handler_schema: { - client_side_validation: true, required: true, serialized_name: 'properties.handlerSchema', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, vm_scale_set_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.vmScaleSetEnabled', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, supports_multiple_extensions: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsMultipleExtensions', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb index ab182bf80f..ff1d244809 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb @@ -35,7 +35,6 @@ class VirtualMachineExtensionInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceView', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, substatuses: { - client_side_validation: true, required: false, serialized_name: 'substatuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -84,13 +78,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb index 0d476e653c..db6412255d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb @@ -46,7 +46,6 @@ class VirtualMachineExtensionUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionUpdate', type: { @@ -54,13 +53,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb index 6e9bc8cff0..5869e8fe69 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineExtensionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb index 3facb55c08..0b6b973626 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb @@ -31,7 +31,6 @@ class VirtualMachineIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineIdentity', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -48,7 +46,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb index e686780781..62e4627505 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb @@ -28,7 +28,6 @@ class VirtualMachineImage < VirtualMachineImageResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImage', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineImage', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -60,13 +56,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -76,7 +70,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'properties.plan', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, os_disk_image: { - client_side_validation: true, required: false, serialized_name: 'properties.osDiskImage', type: { @@ -94,13 +86,11 @@ def self.mapper() } }, data_disk_images: { - client_side_validation: true, required: false, serialized_name: 'properties.dataDiskImages', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb index d4eccf7020..bd03848ab3 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb @@ -31,7 +31,6 @@ class VirtualMachineImageResource < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineImageResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -63,13 +59,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb index cea63a79dd..d025e2a47d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb @@ -50,7 +50,6 @@ class VirtualMachineInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineInstanceView', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -91,13 +86,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -134,13 +124,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb index 5128e02070..80ec1bb7ae 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualMachineListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb index f141adea2b..3ac24dfe0f 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb @@ -40,7 +40,6 @@ class VirtualMachineScaleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSet', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -57,7 +55,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -66,7 +63,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -75,7 +71,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -83,13 +78,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -117,7 +108,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -126,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -135,7 +124,6 @@ def self.mapper() } }, over_provision: { - client_side_validation: true, required: false, serialized_name: 'properties.overProvision', type: { @@ -143,7 +131,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb index 750457d91e..0613ec9d33 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb @@ -45,7 +45,6 @@ class VirtualMachineScaleSetExtension < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtension', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtension', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -117,7 +108,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb index 5530d29fe5..1a966ae3ff 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetExtensionProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionProfile', model_properties: { extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb index 9e28364a4b..d2c5fddfc5 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb @@ -33,7 +33,6 @@ class VirtualMachineScaleSetIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIdentity', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -50,7 +48,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb index 6254ce195b..f7a397323c 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineScaleSetInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceView', model_properties: { virtual_machine: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'virtualMachine', @@ -48,14 +46,12 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummaryElementType', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb index 0cd3831720..a0c6dd456b 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetInstanceViewStatusesSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', type: { @@ -33,14 +32,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', model_properties: { statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb index 503d8dcd82..2549eeb508 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb @@ -35,7 +35,6 @@ class VirtualMachineScaleSetIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfiguration', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: true, serialized_name: 'properties.subnet', type: { @@ -68,13 +64,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -85,13 +79,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -102,13 +94,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb index 8c9eac0ac0..1d2d382b3d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb index 30186044c5..d11d44ee5d 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListSkusResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb index 24f5e76444..eacc5f85d3 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListWithLinkResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListWithLinkResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb index 944fe5ae66..acafe40b46 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -63,13 +59,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb index 6ae36cb859..a1730f9a05 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkProfile', model_properties: { network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb index 4fc784a1e7..22390e07a2 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb @@ -54,7 +54,6 @@ class VirtualMachineScaleSetOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSDisk', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSDisk', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -106,13 +100,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb index b53ba965ce..90c94199f1 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb @@ -73,7 +73,6 @@ class VirtualMachineScaleSetOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSProfile', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSProfile', model_properties: { computer_name_prefix: { - client_side_validation: true, required: false, serialized_name: 'computerNamePrefix', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -97,7 +94,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -105,7 +101,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -113,7 +108,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -122,7 +116,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -131,13 +124,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb index a8c099b6f5..6aaad27691 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -46,7 +44,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb index 27778b2ed7..6f2386433a 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb @@ -32,7 +32,6 @@ class VirtualMachineScaleSetSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default_capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultCapacity', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb index 7eb39abcf9..b19842dcba 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetStorageProfile', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb index 3d3fe9be07..fb45ff54e7 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb @@ -96,7 +96,6 @@ class VirtualMachineScaleSetVM < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVM', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVM', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -113,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -122,7 +119,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,7 +127,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -139,13 +134,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -155,7 +148,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceId', @@ -164,7 +156,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -174,7 +165,6 @@ def self.mapper() } }, latest_model_applied: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.latestModelApplied', @@ -183,7 +173,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -192,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -202,7 +190,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -211,7 +198,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -220,7 +206,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -229,7 +214,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -238,7 +222,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -247,7 +230,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -256,7 +238,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -265,7 +246,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -273,7 +253,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -282,14 +261,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb index a4b1087b0a..d1e091d0a9 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetVMExtensionsSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummary', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMExtensionsSummary', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -44,14 +42,12 @@ def self.mapper() } }, statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb index 667df15282..36cb7e3287 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetVMInstanceIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceIDs', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceIDs', model_properties: { instance_ids: { - client_side_validation: true, required: false, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb index 27db0d08ef..928e581684 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetVMInstanceRequiredIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', model_properties: { instance_ids: { - client_side_validation: true, required: true, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb index 4ec3958fba..1e637a04f4 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb @@ -50,7 +50,6 @@ class VirtualMachineScaleSetVMInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -91,13 +86,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -134,13 +124,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb index aa20c9c592..d7203aafd5 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb index de0c9d51e8..8960fefe28 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb @@ -35,7 +35,6 @@ class VirtualMachineScaleSetVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMProfile', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb index 994ff1f220..be5b7ff09c 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb @@ -42,7 +42,6 @@ class VirtualMachineSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSize', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineSize', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, number_of_cores: { - client_side_validation: true, required: false, serialized_name: 'numberOfCores', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, os_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'osDiskSizeInMB', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, resource_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'resourceDiskSizeInMB', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, memory_in_mb: { - client_side_validation: true, required: false, serialized_name: 'memoryInMB', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, max_data_disk_count: { - client_side_validation: true, required: false, serialized_name: 'maxDataDiskCount', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb index fb363203e0..0a90f069e6 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineSizeListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineSizeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb index b9bf9e8c84..67334c4d15 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb @@ -27,7 +27,6 @@ class VirtualMachineStatusCodeCount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCount', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineStatusCodeCount', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -44,7 +42,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb index 6103cf4d9e..d7371e9b98 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb @@ -23,7 +23,6 @@ class WinRMConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WinRMConfiguration', model_properties: { listeners: { - client_side_validation: true, required: false, serialized_name: 'listeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WinRMListenerElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb index 04ea205aa2..d43622a455 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb @@ -34,7 +34,6 @@ class WinRMListener # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMListener', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WinRMListener', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb index 4c5f4c2ca4..d4c2016560 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb @@ -43,7 +43,6 @@ class WindowsConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WindowsConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'WindowsConfiguration', model_properties: { provision_vmagent: { - client_side_validation: true, required: false, serialized_name: 'provisionVMAgent', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, enable_automatic_updates: { - client_side_validation: true, required: false, serialized_name: 'enableAutomaticUpdates', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'timeZone', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, additional_unattend_content: { - client_side_validation: true, required: false, serialized_name: 'additionalUnattendContent', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContentElementType', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, win_rm: { - client_side_validation: true, required: false, serialized_name: 'winRM', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/usage_operations.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/usage_operations.rb index b713ca52b6..2ec061b097 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/usage_operations.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/usage_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -48,8 +48,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -63,15 +63,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +126,8 @@ def list_async(location, custom_headers:nil) # # @return [ListUsagesResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -145,8 +143,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -161,12 +159,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,12 +219,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ListUsagesResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..f1ced61a4a --- /dev/null +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/version.rb @@ -0,0 +1,8 @@ +# 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. + +module Azure::Compute::Mgmt::V2016_03_30 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb index d4b475fa81..fa62a2af24 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionImage] operation results. # - def get(location, publisher_name, type, version, custom_headers:nil) - response = get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get(location, publisher_name, type, version, custom_headers = nil) + response = get_async(location, publisher_name, type, version, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(location, publisher_name, type, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, type, version, custom_headers:nil) - get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, type, version, custom_headers = nil) + get_async(location, publisher_name, type, version, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_with_http_info(location, publisher_name, type, version, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, type, version, custom_headers:nil) + def get_async(location, publisher_name, type, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -76,7 +76,6 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -131,8 +130,8 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) # # @return [Array] operation results. # - def list_types(location, publisher_name, custom_headers:nil) - response = list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types(location, publisher_name, custom_headers = nil) + response = list_types_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -146,8 +145,8 @@ def list_types(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_types_with_http_info(location, publisher_name, custom_headers:nil) - list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types_with_http_info(location, publisher_name, custom_headers = nil) + list_types_async(location, publisher_name, custom_headers).value! end # @@ -160,7 +159,7 @@ def list_types_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_types_async(location, publisher_name, custom_headers:nil) + def list_types_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -168,7 +167,6 @@ def list_types_async(location, publisher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -201,13 +199,11 @@ def list_types_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { @@ -243,8 +239,8 @@ def list_types_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -262,8 +258,8 @@ def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_versions_with_http_info(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions_with_http_info(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! end # @@ -280,7 +276,7 @@ def list_versions_with_http_info(location, publisher_name, type, filter:nil, top # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_versions_async(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_versions_async(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -289,7 +285,6 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -322,13 +317,11 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb index 412bdc280a..83279ac8ac 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineExtension] operation results. # - def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, vm_name, vm_extension_name, exte # # @return [VirtualMachineExtension] operation results. # - def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, vm_name, vm_extension_name, extension_parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -149,9 +149,9 @@ def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -180,8 +180,8 @@ def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [VirtualMachineExtension] operation results. # - def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -198,8 +198,8 @@ def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! end # @@ -215,7 +215,7 @@ def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -224,7 +224,6 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -283,8 +282,8 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo # # @return [VirtualMachineExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -302,8 +301,8 @@ def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, exte # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -320,7 +319,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_exten # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -330,12 +329,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -406,8 +406,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name # # @return [VirtualMachineExtension] operation results. # - def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -425,8 +425,8 @@ def begin_update(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -443,7 +443,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -453,12 +453,13 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionUpdate.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -517,8 +518,8 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -534,8 +535,8 @@ def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! end # @@ -550,7 +551,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -559,7 +560,6 @@ def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb index f8eb86e35a..5bea1a63a3 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineImage] operation results. # - def get(location, publisher_name, offer, skus, version, custom_headers:nil) - response = get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get(location, publisher_name, offer, skus, version, custom_headers = nil) + response = get_async(location, publisher_name, offer, skus, version, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(location, publisher_name, offer, skus, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers:nil) - get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers = nil) + get_async(location, publisher_name, offer, skus, version, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(location, publisher_name, offer, skus, version, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, offer, skus, version, custom_headers:nil) + def get_async(location, publisher_name, offer, skus, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -80,7 +80,6 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -141,8 +140,8 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil # # @return [Array] operation results. # - def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -162,8 +161,8 @@ def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! end # @@ -182,7 +181,7 @@ def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -192,7 +191,6 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,13 +223,11 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -264,8 +260,8 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order # # @return [Array] operation results. # - def list_offers(location, publisher_name, custom_headers:nil) - response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers(location, publisher_name, custom_headers = nil) + response = list_offers_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -280,8 +276,8 @@ def list_offers(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_offers_with_http_info(location, publisher_name, custom_headers:nil) - list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers_with_http_info(location, publisher_name, custom_headers = nil) + list_offers_async(location, publisher_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_offers_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_offers_async(location, publisher_name, custom_headers:nil) + def list_offers_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_offers_async(location, publisher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -336,13 +331,11 @@ def list_offers_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -374,8 +367,8 @@ def list_offers_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_publishers(location, custom_headers:nil) - response = list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers(location, custom_headers = nil) + response = list_publishers_async(location, custom_headers).value! response.body unless response.nil? end @@ -389,8 +382,8 @@ def list_publishers(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_publishers_with_http_info(location, custom_headers:nil) - list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers_with_http_info(location, custom_headers = nil) + list_publishers_async(location, custom_headers).value! end # @@ -403,14 +396,13 @@ def list_publishers_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_publishers_async(location, custom_headers:nil) + def list_publishers_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,13 +435,11 @@ def list_publishers_async(location, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -483,8 +473,8 @@ def list_publishers_async(location, custom_headers:nil) # # @return [Array] operation results. # - def list_skus(location, publisher_name, offer, custom_headers:nil) - response = list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus(location, publisher_name, offer, custom_headers = nil) + response = list_skus_async(location, publisher_name, offer, custom_headers).value! response.body unless response.nil? end @@ -500,8 +490,8 @@ def list_skus(location, publisher_name, offer, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil) - list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus_with_http_info(location, publisher_name, offer, custom_headers = nil) + list_skus_async(location, publisher_name, offer, custom_headers).value! end # @@ -516,7 +506,7 @@ def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(location, publisher_name, offer, custom_headers:nil) + def list_skus_async(location, publisher_name, offer, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -525,7 +515,6 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -558,13 +547,11 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb index 9b36e5da20..115410d2e5 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -48,9 +48,9 @@ def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -95,9 +95,9 @@ def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -124,8 +124,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -139,9 +139,9 @@ def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +168,8 @@ def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [VirtualMachineScaleSetVM] operation results. # - def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -184,8 +184,8 @@ def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -199,7 +199,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -208,7 +208,6 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -264,8 +263,8 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header # # @return [VirtualMachineScaleSetVMInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -280,8 +279,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -295,7 +294,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -304,7 +303,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -362,8 +360,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [Array] operation results. # - def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers) + def list(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers) first_page.get_all_items end @@ -380,8 +378,8 @@ def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! end # @@ -397,7 +395,7 @@ def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, fil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) + def list_async(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -405,7 +403,6 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -463,8 +460,8 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -478,9 +475,9 @@ def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +504,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -522,9 +519,9 @@ def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -551,8 +548,8 @@ def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -566,9 +563,9 @@ def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -596,8 +593,8 @@ def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -613,8 +610,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -629,7 +626,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -638,7 +635,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -697,8 +693,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -716,8 +712,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -734,7 +730,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -743,7 +739,6 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -799,8 +794,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -815,8 +810,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -830,7 +825,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -839,7 +834,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -897,8 +891,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -915,8 +909,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -932,7 +926,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, insta # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -941,7 +935,6 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -997,8 +990,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1013,8 +1006,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1028,7 +1021,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1037,7 +1030,6 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1093,8 +1085,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1109,8 +1101,8 @@ def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1124,7 +1116,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1133,7 +1125,6 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1188,8 +1179,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [VirtualMachineScaleSetVMListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1203,8 +1194,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1217,12 +1208,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1280,12 +1270,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetVMListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - response = list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + response = list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb index cce33a4d82..b973fe4710 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [VirtualMachineScaleSet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -117,8 +117,8 @@ def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def get(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -132,8 +132,8 @@ def get(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -146,7 +146,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -154,7 +154,6 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -213,8 +212,8 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -229,9 +228,9 @@ def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +258,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [OperationStatusResponse] operation results. # - def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -275,9 +274,9 @@ def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -303,8 +302,8 @@ def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [VirtualMachineScaleSetInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -318,8 +317,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -332,7 +331,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -340,7 +339,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -394,8 +392,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -408,8 +406,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -421,14 +419,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -484,8 +481,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -500,8 +497,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -515,13 +512,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -577,8 +573,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list_skus(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -593,8 +589,8 @@ def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -608,7 +604,7 @@ def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -616,7 +612,6 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -675,8 +670,8 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -691,9 +686,9 @@ def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -721,8 +716,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -737,9 +732,9 @@ def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -767,8 +762,8 @@ def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -783,9 +778,9 @@ def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -814,8 +809,8 @@ def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [OperationStatusResponse] operation results. # - def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -830,9 +825,9 @@ def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -859,8 +854,8 @@ def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -873,9 +868,9 @@ def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -902,8 +897,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def begin_create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -918,8 +913,8 @@ def begin_create_or_update(resource_group_name, name, parameters, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -933,7 +928,7 @@ def begin_create_or_update_with_http_info(resource_group_name, name, parameters, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -942,12 +937,13 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1014,8 +1010,8 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1029,8 +1025,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1043,7 +1039,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1051,7 +1047,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1110,8 +1105,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1129,8 +1124,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1147,7 +1142,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1155,12 +1150,13 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1219,8 +1215,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1236,8 +1232,8 @@ def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1252,7 +1248,7 @@ def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1261,12 +1257,13 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1327,8 +1324,8 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1346,8 +1343,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1364,7 +1361,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_in # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1372,12 +1369,13 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1436,8 +1434,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1453,8 +1451,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1469,7 +1467,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1477,12 +1475,13 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1541,8 +1540,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1558,8 +1557,8 @@ def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1574,7 +1573,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1582,12 +1581,13 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1647,8 +1647,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [OperationStatusResponse] operation results. # - def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1665,8 +1665,8 @@ def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1682,7 +1682,7 @@ def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1691,12 +1691,13 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1754,8 +1755,8 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1770,8 +1771,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1785,7 +1786,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1793,7 +1794,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1848,8 +1848,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n # # @return [VirtualMachineScaleSetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1863,8 +1863,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1877,12 +1877,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1939,8 +1938,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListWithLinkResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1957,8 +1956,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1974,12 +1973,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2034,8 +2032,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListSkusResult] operation results. # - def list_skus_next(next_page_link, custom_headers:nil) - response = list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next(next_page_link, custom_headers = nil) + response = list_skus_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2050,8 +2048,8 @@ def list_skus_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_next_with_http_info(next_page_link, custom_headers:nil) - list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next_with_http_info(next_page_link, custom_headers = nil) + list_skus_next_async(next_page_link, custom_headers).value! end # @@ -2065,12 +2063,11 @@ def list_skus_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_next_async(next_page_link, custom_headers:nil) + def list_skus_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2124,12 +2121,12 @@ def list_skus_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2147,12 +2144,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineScaleSetListWithLinkResult] which provide lazy access # to pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -2170,12 +2167,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualMachineScaleSetListSkusResult] which provide lazy access to # pages of the response. # - def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_skus_next_async(next_page_link, custom_headers:custom_headers) + list_skus_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb index b1374bb23b..b79c3ae8ea 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [VirtualMachineSizeListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +60,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb index eec4b09daf..1055bccd78 100644 --- a/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb +++ b/management/azure_mgmt_compute/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionsListResult] operation results. # - def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_extensions_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +74,6 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +131,8 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header # # @return [VirtualMachineCaptureResult] operation results. # - def capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -148,9 +147,9 @@ def capture(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -178,8 +177,8 @@ def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, vm_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -222,8 +221,8 @@ def create_or_update_async(resource_group_name, vm_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -236,9 +235,9 @@ def delete(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -267,8 +266,8 @@ def delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -285,8 +284,8 @@ def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -302,7 +301,7 @@ def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -310,7 +309,6 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -366,8 +364,8 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_name, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_name, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -380,9 +378,9 @@ def deallocate(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def deallocate_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -408,8 +406,8 @@ def deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def generalize(resource_group_name, vm_name, custom_headers:nil) - response = generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize(resource_group_name, vm_name, custom_headers = nil) + response = generalize_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -423,8 +421,8 @@ def generalize(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) - generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize_with_http_info(resource_group_name, vm_name, custom_headers = nil) + generalize_async(resource_group_name, vm_name, custom_headers).value! end # @@ -437,7 +435,7 @@ def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generalize_async(resource_group_name, vm_name, custom_headers:nil) + def generalize_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -445,7 +443,6 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -500,8 +497,8 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -515,8 +512,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -529,14 +526,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -590,8 +586,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -604,8 +600,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -617,13 +613,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -679,8 +674,8 @@ def list_all_async(custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, vm_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -695,8 +690,8 @@ def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! end # @@ -710,7 +705,7 @@ def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -718,7 +713,6 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -775,8 +769,8 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_name, custom_headers:nil) - response = power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_name, custom_headers = nil) + response = power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -789,9 +783,9 @@ def power_off(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_name, custom_headers:nil) + def power_off_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -817,8 +811,8 @@ def power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_name, custom_headers:nil) - response = restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_name, custom_headers = nil) + response = restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -831,9 +825,9 @@ def restart(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_name, custom_headers:nil) + def restart_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -859,8 +853,8 @@ def restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_name, custom_headers:nil) - response = start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def start(resource_group_name, vm_name, custom_headers = nil) + response = start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -873,9 +867,9 @@ def start(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_name, custom_headers:nil) + def start_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -901,8 +895,8 @@ def start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_name, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_name, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -915,9 +909,9 @@ def redeploy(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def redeploy_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -946,8 +940,8 @@ def redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineCaptureResult] operation results. # - def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -964,8 +958,8 @@ def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -981,7 +975,7 @@ def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -990,12 +984,13 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1054,8 +1049,8 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers # # @return [VirtualMachine] operation results. # - def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1071,8 +1066,8 @@ def begin_create_or_update(resource_group_name, vm_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1087,7 +1082,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1096,12 +1091,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachine.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1168,8 +1164,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1183,8 +1179,8 @@ def begin_delete(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1197,7 +1193,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1205,7 +1201,6 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1261,8 +1256,8 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_name, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1277,8 +1272,8 @@ def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1292,7 +1287,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1300,7 +1295,6 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1357,8 +1351,8 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_name, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_name, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1374,8 +1368,8 @@ def begin_power_off(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1390,7 +1384,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1398,7 +1392,6 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1453,8 +1446,8 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_name, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1468,8 +1461,8 @@ def begin_restart(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_restart_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1482,7 +1475,7 @@ def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1490,7 +1483,6 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,8 +1537,8 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_name, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_name, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1560,8 +1552,8 @@ def begin_start(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_start_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1574,7 +1566,7 @@ def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_name, custom_headers:nil) + def begin_start_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1582,7 +1574,6 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1637,8 +1628,8 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_name, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1652,8 +1643,8 @@ def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1666,7 +1657,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1674,7 +1665,6 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1730,8 +1720,8 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1746,8 +1736,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1761,12 +1751,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1821,8 +1810,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1837,8 +1826,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1852,12 +1841,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1912,12 +1900,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1933,12 +1921,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb index 8eb4ce9bf0..0455443abe 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [AvailabilitySet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::AvailabilitySet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -137,8 +138,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, availability_set_name, custom_headers:nil) - response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, availability_set_name, custom_headers = nil) + response = delete_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +153,8 @@ def delete(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + delete_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -166,7 +167,7 @@ def delete_with_http_info(resource_group_name, availability_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, availability_set_name, custom_headers:nil) + def delete_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -174,7 +175,6 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -229,8 +229,8 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySet] operation results. # - def get(resource_group_name, availability_set_name, custom_headers:nil) - response = get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, availability_set_name, custom_headers = nil) + response = get_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -244,8 +244,8 @@ def get(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + get_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -258,7 +258,7 @@ def get_with_http_info(resource_group_name, availability_set_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, availability_set_name, custom_headers:nil) + def get_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -266,7 +266,6 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -320,8 +319,8 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySetListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -334,8 +333,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -347,14 +346,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -410,8 +408,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, availability_set_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, availability_set_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -426,8 +424,8 @@ def list_available_sizes(resource_group_name, availability_set_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -441,7 +439,7 @@ def list_available_sizes_with_http_info(resource_group_name, availability_set_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -449,7 +447,6 @@ def list_available_sizes_async(resource_group_name, availability_set_name, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb index adfedd5c69..f87029cc1b 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb @@ -150,9 +150,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -169,7 +166,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2016_04_30_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2016_04_30_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb index ee990c16ae..ec015524a4 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [Disk] operation results. # - def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def create_or_update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, disk_name, disk, custom_headers: # # @return [Disk] operation results. # - def update(resource_group_name, disk_name, disk, custom_headers:nil) - response = update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def update(resource_group_name, disk_name, disk, custom_headers = nil) + response = update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [Disk] operation results. # - def get(resource_group_name, disk_name, custom_headers:nil) - response = get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get(resource_group_name, disk_name, custom_headers = nil) + response = get_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +150,8 @@ def get(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) - get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, disk_name, custom_headers = nil) + get_async(resource_group_name, disk_name, custom_headers).value! end # @@ -166,7 +166,7 @@ def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, disk_name, custom_headers:nil) + def get_async(resource_group_name, disk_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, disk_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +230,8 @@ def get_async(resource_group_name, disk_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, disk_name, custom_headers:nil) - response = delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def delete(resource_group_name, disk_name, custom_headers = nil) + response = delete_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -247,9 +246,9 @@ def delete(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, disk_name, custom_headers:nil) + def delete_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -274,8 +273,8 @@ def delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -288,8 +287,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -301,14 +300,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -361,8 +359,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -374,8 +372,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -386,13 +384,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -451,8 +448,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -469,9 +466,9 @@ def grant_access(resource_group_name, disk_name, grant_access_data, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -499,8 +496,8 @@ def grant_access_async(resource_group_name, disk_name, grant_access_data, custom # # @return [OperationStatusResponse] operation results. # - def revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -515,9 +512,9 @@ def revoke_access(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def revoke_access_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -547,8 +544,8 @@ def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Disk] operation results. # - def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -566,8 +563,8 @@ def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -584,7 +581,7 @@ def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -593,12 +590,13 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Disk.mapper() request_content = @client.serialize(request_mapper, disk) @@ -669,8 +667,8 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he # # @return [Disk] operation results. # - def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -688,8 +686,8 @@ def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -706,7 +704,7 @@ def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_update_async(resource_group_name, disk_name, disk, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -715,12 +713,13 @@ def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::DiskUpdate.mapper() request_content = @client.serialize(request_mapper, disk) @@ -789,8 +788,8 @@ def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, disk_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, disk_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -806,8 +805,8 @@ def begin_delete(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_delete_async(resource_group_name, disk_name, custom_headers).value! end # @@ -822,7 +821,7 @@ def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) + def begin_delete_async(resource_group_name, disk_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -830,7 +829,6 @@ def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -889,8 +887,8 @@ def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -908,8 +906,8 @@ def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! end # @@ -926,7 +924,7 @@ def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_acce # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -935,12 +933,13 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -999,8 +998,8 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, # # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -1016,8 +1015,8 @@ def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! end # @@ -1032,7 +1031,7 @@ def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, disk_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -1040,7 +1039,6 @@ def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1095,8 +1093,8 @@ def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil # # @return [DiskList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1110,8 +1108,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1124,12 +1122,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1183,8 +1180,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1198,8 +1195,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1212,12 +1209,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1270,12 +1266,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1285,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/images.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/images.rb index 9a4bb37121..ed599c57ed 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/images.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/images.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Image] operation results. # - def create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, image_name, parameters, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def create_or_update_async(resource_group_name, image_name, parameters, custom_h # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, image_name, custom_headers:nil) - response = delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def delete(resource_group_name, image_name, custom_headers = nil) + response = delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def delete(resource_group_name, image_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, image_name, custom_headers:nil) + def delete_async(resource_group_name, image_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, image_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -118,8 +118,8 @@ def delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [Image] operation results. # - def get(resource_group_name, image_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, image_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, image_name, expand, custom_headers).value! response.body unless response.nil? end @@ -134,8 +134,8 @@ def get(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, image_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, image_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, image_name, expand, custom_headers).value! end # @@ -149,7 +149,7 @@ def get_with_http_info(resource_group_name, image_name, expand:nil, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, image_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -157,7 +157,6 @@ def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,8 +210,8 @@ def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -225,8 +224,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -238,14 +237,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -329,13 +327,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -391,8 +388,8 @@ def list_async(custom_headers:nil) # # @return [Image] operation results. # - def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -407,8 +404,8 @@ def begin_create_or_update(resource_group_name, image_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! end # @@ -422,7 +419,7 @@ def begin_create_or_update_with_http_info(resource_group_name, image_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -431,12 +428,13 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -503,8 +501,8 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, cu # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, image_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, image_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -518,8 +516,8 @@ def begin_delete(resource_group_name, image_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, image_name, custom_headers:nil) - begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, image_name, custom_headers = nil) + begin_delete_async(resource_group_name, image_name, custom_headers).value! end # @@ -532,7 +530,7 @@ def begin_delete_with_http_info(resource_group_name, image_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, image_name, custom_headers:nil) + def begin_delete_async(resource_group_name, image_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -540,7 +538,6 @@ def begin_delete_async(resource_group_name, image_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -595,8 +592,8 @@ def begin_delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -610,8 +607,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -624,12 +621,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -685,8 +681,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -702,8 +698,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -718,12 +714,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -776,12 +771,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -797,12 +792,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb index 38c593c2bd..9409edbcb9 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb @@ -22,7 +22,6 @@ class AccessUri # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AccessUri', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'AccessUri', model_properties: { access_sas: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.output.accessSAS', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb index 3dde80d154..099735ddbc 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb @@ -42,7 +42,6 @@ class AdditionalUnattendContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContent', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AdditionalUnattendContent', model_properties: { pass_name: { - client_side_validation: true, required: false, serialized_name: 'passName', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, component_name: { - client_side_validation: true, required: false, serialized_name: 'componentName', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, setting_name: { - client_side_validation: true, required: false, serialized_name: 'settingName', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb index de04e8903a..97f1222369 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb @@ -23,7 +23,6 @@ class ApiEntityReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiEntityReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ApiEntityReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb index 017a9ccda5..911950ddf1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb @@ -34,7 +34,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'ApiError', model_properties: { details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBaseElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, innererror: { - client_side_validation: true, required: false, serialized_name: 'innererror', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb index e4c41c18d0..f1e3971617 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb @@ -28,7 +28,6 @@ class ApiErrorBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBase', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApiErrorBase', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb index e8adc5034e..45889ed79c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb @@ -48,7 +48,6 @@ class AvailabilitySet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySet', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'AvailabilitySet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -65,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -74,7 +71,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -83,7 +79,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -91,13 +86,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -123,13 +114,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -140,14 +129,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -158,7 +145,6 @@ def self.mapper() } }, managed: { - client_side_validation: true, required: false, serialized_name: 'properties.managed', type: { @@ -166,7 +152,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb index eb95278278..8fd3e72cd3 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb @@ -22,7 +22,6 @@ class AvailabilitySetListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AvailabilitySetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb index 53917f57be..94fa8e7d18 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb @@ -31,7 +31,6 @@ class BootDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnostics', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BootDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, serialized_name: 'storageUri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb index e31cde7462..c01d301c15 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb @@ -25,7 +25,6 @@ class BootDiagnosticsInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnosticsInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BootDiagnosticsInstanceView', model_properties: { console_screenshot_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'consoleScreenshotBlobUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, serial_console_log_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'serialConsoleLogBlobUri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb index 13925ae3f0..3ce99cfb84 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb @@ -22,7 +22,6 @@ class ComputeLongRunningOperationProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeLongRunningOperationProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ComputeLongRunningOperationProperties', model_properties: { output: { - client_side_validation: true, required: false, serialized_name: 'output', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb index f9432126f5..bad1a58a5e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb @@ -43,7 +43,6 @@ class CreationData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CreationData', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'CreationData', model_properties: { create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, storage_account_id: { - client_side_validation: true, required: false, serialized_name: 'storageAccountId', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, source_uri: { - client_side_validation: true, required: false, serialized_name: 'sourceUri', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, source_resource_id: { - client_side_validation: true, required: false, serialized_name: 'sourceResourceId', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb index cdd3795dce..f33a1a5a71 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb @@ -63,7 +63,6 @@ class DataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDisk', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'DataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -96,7 +92,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -123,7 +116,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb index c06e2161aa..5fee487141 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb @@ -24,7 +24,6 @@ class DataDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDiskImage', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'DataDiskImage', model_properties: { lun: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb index 16dee888c3..958e8631f7 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb @@ -28,7 +28,6 @@ class DiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiagnosticsProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'DiagnosticsProfile', model_properties: { boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb index e23c1a5b46..c4ec8aedd0 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb @@ -51,7 +51,6 @@ class Disk < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Disk', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'Disk', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -128,7 +119,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, owner_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ownerId', @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb index 42fef0f70e..60e3e4fde0 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb @@ -31,7 +31,6 @@ class DiskEncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'DiskEncryptionSettings', model_properties: { disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb index f4ccdfa346..ee0c21fe1d 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb @@ -25,7 +25,6 @@ class DiskInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'DiskInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb index 26fa6d4fce..a63327e86b 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'DiskList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb index a95c4c0981..379b1a7521 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb @@ -41,7 +41,6 @@ class DiskUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskUpdate', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'DiskUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: false, serialized_name: 'properties.creationData', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb index 437fec4473..6cd715061f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb @@ -34,7 +34,6 @@ class EncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionSettings', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EncryptionSettings', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb index 09f84d0825..09e89ad624 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb @@ -26,7 +26,6 @@ class GrantAccessData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GrantAccessData', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'GrantAccessData', model_properties: { access: { - client_side_validation: true, required: true, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, duration_in_seconds: { - client_side_validation: true, required: true, serialized_name: 'durationInSeconds', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb index b4616a7115..e5f766c958 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb @@ -50,7 +50,6 @@ class HardwareProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HardwareProfile', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'HardwareProfile', model_properties: { vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb index 25a1aac80c..131185a69e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb @@ -32,7 +32,6 @@ class Image < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Image', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Image', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, source_virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceVirtualMachine', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -109,7 +100,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb index 5a4994f92d..23dff9b635 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb @@ -45,7 +45,6 @@ class ImageDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDataDisk', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'ImageDataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb index 630ad130b6..1a380fc298 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb @@ -28,7 +28,6 @@ class ImageDiskReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDiskReference', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ImageDiskReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: false, serialized_name: 'lun', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb index 726aa52fab..e5c0b4d231 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ImageListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb index a05716260f..e17e9c9273 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb @@ -50,7 +50,6 @@ class ImageOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageOSDisk', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ImageOSDisk', model_properties: { os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, os_state: { - client_side_validation: true, required: true, serialized_name: 'osState', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb index 9256977f4e..915330189f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb @@ -42,7 +42,6 @@ class ImageReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageReference', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ImageReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb index b585b95346..ea571d5302 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb @@ -31,7 +31,6 @@ class ImageStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageStorageProfile', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ImageStorageProfile', model_properties: { os_disk: { - client_side_validation: true, required: true, serialized_name: 'osDisk', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb index 7770ef8bc3..d716394f53 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb @@ -25,7 +25,6 @@ class InnerError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InnerError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'InnerError', model_properties: { exceptiontype: { - client_side_validation: true, required: false, serialized_name: 'exceptiontype', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, errordetail: { - client_side_validation: true, required: false, serialized_name: 'errordetail', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb index 5c2610c59b..46d4322927 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb @@ -36,7 +36,6 @@ class InstanceViewStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatus', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'InstanceViewStatus', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, level: { - client_side_validation: true, required: false, serialized_name: 'level', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb index 6153aa141c..7f6612ba0f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb @@ -27,7 +27,6 @@ class KeyVaultAndKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndKeyReference', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'KeyVaultAndKeyReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb index d2d269d149..7082934a64 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultAndSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultAndSecretReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb index b3ba49f15f..de3720717e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb @@ -26,7 +26,6 @@ class KeyVaultKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultKeyReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultKeyReference', model_properties: { key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb index 422ba757b6..83b7213b35 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultSecretReference', model_properties: { secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb index 413b3f98d7..9a9a55b016 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb @@ -33,7 +33,6 @@ class LinuxConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinuxConfiguration', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'LinuxConfiguration', model_properties: { disable_password_authentication: { - client_side_validation: true, required: false, serialized_name: 'disablePasswordAuthentication', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: false, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb index 94f99d6b8a..1bcdb81164 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListUsagesResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ListUsagesResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb index 403e337319..bb89d03023 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb @@ -24,7 +24,6 @@ class ManagedDiskParameters < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ManagedDiskParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ManagedDiskParameters', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -40,7 +38,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb index 0cfb0f5951..e9bf9541f6 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb @@ -23,7 +23,6 @@ class NetworkInterfaceReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'NetworkInterfaceReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -39,7 +37,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb index 4f415453e5..70473a0138 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb @@ -24,7 +24,6 @@ class NetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'NetworkProfile', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReferenceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb index 67df3a906d..4c9d753aa7 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb @@ -34,7 +34,6 @@ class OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationStatusResponse', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'OperationStatusResponse', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -60,7 +57,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -69,7 +65,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -78,7 +73,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb index 628d984911..7d121a972a 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb @@ -72,7 +72,6 @@ class OSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDisk', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'OSDisk', model_properties: { os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +102,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -115,7 +110,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -133,7 +126,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -142,7 +134,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -150,7 +141,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb index 690bc7403a..74995f879f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb @@ -23,7 +23,6 @@ class OSDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDiskImage', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'OSDiskImage', model_properties: { operating_system: { - client_side_validation: true, required: true, serialized_name: 'operatingSystem', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb index 7ffd1a5b42..1338f079d2 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb @@ -86,7 +86,6 @@ class OSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSProfile', type: { @@ -94,7 +93,6 @@ def self.mapper() class_name: 'OSProfile', model_properties: { computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -144,13 +137,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb index 614b86fd55..3d164fb33c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb @@ -38,7 +38,6 @@ class Plan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Plan', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Plan', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, serialized_name: 'product', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, promotion_code: { - client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb index 839d2224a3..02bb03f6e9 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb @@ -31,7 +31,6 @@ class PurchasePlan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PurchasePlan', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'PurchasePlan', model_properties: { publisher: { - client_side_validation: true, required: true, serialized_name: 'publisher', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: true, serialized_name: 'product', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb index e57476fa38..93a8fe4fa1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb index 4375478894..5dd0d798c6 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb @@ -22,7 +22,6 @@ class ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceUpdate', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ResourceUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb index 3d80ae1795..3e33fd3c7b 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb @@ -31,7 +31,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb index 0615a89099..3423df4a8a 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb @@ -51,7 +51,6 @@ class Snapshot < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Snapshot', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'Snapshot', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -128,7 +119,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, owner_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ownerId', @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb index f3e58e6703..db3ffe84c5 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SnapshotList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SnapshotElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb index 1ecda9cdd6..91838ddab2 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb @@ -41,7 +41,6 @@ class SnapshotUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotUpdate', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'SnapshotUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, account_type: { - client_side_validation: true, required: false, serialized_name: 'properties.accountType', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: false, serialized_name: 'properties.creationData', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb index fda4184c71..38e7a0245a 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb @@ -23,7 +23,6 @@ class SourceVault # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SourceVault', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SourceVault', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb index 5a5921e99f..bf1ac42408 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb @@ -23,7 +23,6 @@ class SshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: false, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb index 3a37084af2..1fc4f42614 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb @@ -32,7 +32,6 @@ class SshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshPublicKey', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'SshPublicKey', model_properties: { path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_data: { - client_side_validation: true, required: false, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb index 1b973a9cab..0155c88b45 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb @@ -38,7 +38,6 @@ class StorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageProfile', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'StorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -64,13 +61,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb index c5b2a3eef8..6b82409e64 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb index 1e51540e9b..28ddd479c2 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb @@ -23,7 +23,6 @@ class SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResourceReadOnly', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResourceReadOnly', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/update_resource.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/update_resource.rb index b4b5a9b905..816ef0ae6f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/update_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/update_resource.rb @@ -22,7 +22,6 @@ class UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpdateResource', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UpdateResource', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb index 4616a53c8c..3be2296a25 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb @@ -28,7 +28,6 @@ class UpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradePolicy', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'UpgradePolicy', model_properties: { mode: { - client_side_validation: true, required: false, serialized_name: 'mode', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb index e7c252f6bb..316ffbe30d 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb index 2822ce8061..c57fd1881f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb index a1f051aaec..ab9e5ffae3 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb @@ -40,7 +40,6 @@ class VaultCertificate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VaultCertificate', model_properties: { certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, certificate_store: { - client_side_validation: true, required: false, serialized_name: 'certificateStore', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb index 4486687437..d9f1ff6119 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb @@ -27,7 +27,6 @@ class VaultSecretGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VaultSecretGroup', model_properties: { source_vault: { - client_side_validation: true, required: false, serialized_name: 'sourceVault', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, vault_certificates: { - client_side_validation: true, required: false, serialized_name: 'vaultCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultCertificateElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb index 4e37b08f9b..ad624bf34f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb @@ -22,7 +22,6 @@ class VirtualHardDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualHardDisk', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualHardDisk', model_properties: { uri: { - client_side_validation: true, required: false, serialized_name: 'uri', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb index b82a400eb3..921a4d725b 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb @@ -92,7 +92,6 @@ class VirtualMachine < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachine', type: { @@ -100,7 +99,6 @@ def self.mapper() class_name: 'VirtualMachine', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -109,7 +107,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -118,7 +115,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -127,7 +123,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -135,13 +130,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +144,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -160,7 +152,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -169,7 +160,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -178,7 +168,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -187,7 +176,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -196,7 +184,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -205,7 +192,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -214,7 +200,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -223,7 +208,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -233,7 +217,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -241,7 +224,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -250,14 +232,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { @@ -268,7 +248,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb index 11c05b1cfb..4c069285ab 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb @@ -29,7 +29,6 @@ class VirtualMachineAgentInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineAgentInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineAgentInstanceView', model_properties: { vm_agent_version: { - client_side_validation: true, required: false, serialized_name: 'vmAgentVersion', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, extension_handlers: { - client_side_validation: true, required: false, serialized_name: 'extensionHandlers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb index f306758e5e..159441225f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb @@ -29,7 +29,6 @@ class VirtualMachineCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureParameters', model_properties: { vhd_prefix: { - client_side_validation: true, required: true, serialized_name: 'vhdPrefix', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, destination_container_name: { - client_side_validation: true, required: true, serialized_name: 'destinationContainerName', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, overwrite_vhds: { - client_side_validation: true, required: true, serialized_name: 'overwriteVhds', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb index 5686c42a65..731d65e907 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb @@ -22,7 +22,6 @@ class VirtualMachineCaptureResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -38,7 +36,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb index 332c036001..f1e7b97839 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineExtension < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineExtension', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, virtual_machine_extension_type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -178,7 +163,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, serialized_name: 'properties.instanceView', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb index 7d4b7dab81..7154ae9cc1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineExtensionHandlerInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionHandlerInstanceView', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb index 5d542c507d..cb86bacd20 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb @@ -39,7 +39,6 @@ class VirtualMachineExtensionImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImage', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionImage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, operating_system: { - client_side_validation: true, required: true, serialized_name: 'properties.operatingSystem', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, compute_role: { - client_side_validation: true, required: true, serialized_name: 'properties.computeRole', type: { @@ -114,7 +105,6 @@ def self.mapper() } }, handler_schema: { - client_side_validation: true, required: true, serialized_name: 'properties.handlerSchema', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, vm_scale_set_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.vmScaleSetEnabled', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, supports_multiple_extensions: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsMultipleExtensions', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb index 5b7c934aa2..24d8b0686c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb @@ -35,7 +35,6 @@ class VirtualMachineExtensionInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceView', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, substatuses: { - client_side_validation: true, required: false, serialized_name: 'substatuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -84,13 +78,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb index 63cbcb75c8..c5fc4c5262 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb @@ -46,7 +46,6 @@ class VirtualMachineExtensionUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionUpdate', type: { @@ -54,13 +53,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb index a4758acdd4..95627be4f7 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineExtensionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb index ad5172dff2..0a20017f54 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb @@ -31,7 +31,6 @@ class VirtualMachineIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineIdentity', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -48,7 +46,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb index 758d608323..8de6e0b3cc 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb @@ -28,7 +28,6 @@ class VirtualMachineImage < VirtualMachineImageResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImage', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineImage', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -60,13 +56,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -76,7 +70,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'properties.plan', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, os_disk_image: { - client_side_validation: true, required: false, serialized_name: 'properties.osDiskImage', type: { @@ -94,13 +86,11 @@ def self.mapper() } }, data_disk_images: { - client_side_validation: true, required: false, serialized_name: 'properties.dataDiskImages', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb index ed5d697d87..5c7eed53f8 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb @@ -31,7 +31,6 @@ class VirtualMachineImageResource < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineImageResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -63,13 +59,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb index 9d8d257996..1a509f683c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb @@ -50,7 +50,6 @@ class VirtualMachineInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineInstanceView', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -91,13 +86,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -134,13 +124,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb index 8fc754419e..06a691b1a1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualMachineListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb index 19dd627460..a7f0264a50 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb @@ -53,7 +53,6 @@ class VirtualMachineScaleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSet', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -96,13 +91,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -130,7 +121,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -148,7 +137,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -157,7 +145,6 @@ def self.mapper() } }, over_provision: { - client_side_validation: true, required: false, serialized_name: 'properties.overProvision', type: { @@ -165,7 +152,6 @@ def self.mapper() } }, single_placement_group: { - client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb index 8df89b9b64..53e3905f9f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb @@ -48,7 +48,6 @@ class VirtualMachineScaleSetDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDisk', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetDataDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb index 27cb3f2fe8..72f7439d1e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb @@ -49,7 +49,6 @@ class VirtualMachineScaleSetExtension < SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtension', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtension', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb index 9f878007bc..a520d51891 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetExtensionProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionProfile', model_properties: { extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb index 94ebc79b47..e903901144 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb @@ -33,7 +33,6 @@ class VirtualMachineScaleSetIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIdentity', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -50,7 +48,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb index de915d34b9..ffa3bb2f78 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineScaleSetInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceView', model_properties: { virtual_machine: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'virtualMachine', @@ -48,14 +46,12 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummaryElementType', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb index 6655d20c02..3b84fd4602 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetInstanceViewStatusesSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', type: { @@ -33,14 +32,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', model_properties: { statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb index 24f7a4f257..ae843ce487 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb @@ -35,7 +35,6 @@ class VirtualMachineScaleSetIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfiguration', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: true, serialized_name: 'properties.subnet', type: { @@ -68,13 +64,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -85,13 +79,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -102,13 +94,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb index b449fd5047..63294b6ffa 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb index 93f05ec10a..72c5d5dc99 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListSkusResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb index 19cf23a5fd..87abfc3c3d 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListWithLinkResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListWithLinkResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb index a37b898516..7b3e8f372c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetManagedDiskParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetManagedDiskParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetManagedDiskParameters', model_properties: { storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb index 22dc8ad159..b7ac736b65 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -63,13 +59,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb index a7ee420cde..071cdf8fc1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkProfile', model_properties: { network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb index 9a06be65df..4c573d0e68 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb @@ -58,7 +58,6 @@ class VirtualMachineScaleSetOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSDisk', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -92,7 +88,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -110,13 +104,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb index 739eecba2b..5f5cde6d24 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb @@ -73,7 +73,6 @@ class VirtualMachineScaleSetOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSProfile', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSProfile', model_properties: { computer_name_prefix: { - client_side_validation: true, required: false, serialized_name: 'computerNamePrefix', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -97,7 +94,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -105,7 +101,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -113,7 +108,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -122,7 +116,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -131,13 +124,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb index 8c936ec2a1..04c5a79513 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -46,7 +44,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb index 57d1d6eea1..4fded57bde 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb @@ -32,7 +32,6 @@ class VirtualMachineScaleSetSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default_capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultCapacity', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb index 98546f76db..b68e1a467c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb @@ -28,7 +28,6 @@ class VirtualMachineScaleSetStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetStorageProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb index d8e13d5fd1..a30a26d3b4 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb @@ -96,7 +96,6 @@ class VirtualMachineScaleSetVM < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVM', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVM', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -113,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -122,7 +119,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,7 +127,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -139,13 +134,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -155,7 +148,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceId', @@ -164,7 +156,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -174,7 +165,6 @@ def self.mapper() } }, latest_model_applied: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.latestModelApplied', @@ -183,7 +173,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -192,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -202,7 +190,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -211,7 +198,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -220,7 +206,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -229,7 +214,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -238,7 +222,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -247,7 +230,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -256,7 +238,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -265,7 +246,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -273,7 +253,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -282,14 +261,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb index 2ae5e6c8ba..ecc7d19f9e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetVMExtensionsSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummary', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMExtensionsSummary', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -44,14 +42,12 @@ def self.mapper() } }, statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb index 62f1765d9e..da93229cc1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetVMInstanceIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceIDs', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceIDs', model_properties: { instance_ids: { - client_side_validation: true, required: false, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb index 805bd33008..fb388d439e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetVMInstanceRequiredIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', model_properties: { instance_ids: { - client_side_validation: true, required: true, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb index 102e052d56..f3ef028b58 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb @@ -54,7 +54,6 @@ class VirtualMachineScaleSetVMInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -95,13 +90,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -112,13 +105,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -138,13 +128,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -155,7 +143,6 @@ def self.mapper() } }, placement_group_id: { - client_side_validation: true, required: false, serialized_name: 'placementGroupId', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb index 7eb2e22b98..af62bc8696 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb index e2ed978a91..2a835fa64f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb @@ -35,7 +35,6 @@ class VirtualMachineScaleSetVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMProfile', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb index ab88807c2d..5e6b12810d 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb @@ -42,7 +42,6 @@ class VirtualMachineSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSize', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineSize', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, number_of_cores: { - client_side_validation: true, required: false, serialized_name: 'numberOfCores', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, os_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'osDiskSizeInMB', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, resource_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'resourceDiskSizeInMB', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, memory_in_mb: { - client_side_validation: true, required: false, serialized_name: 'memoryInMB', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, max_data_disk_count: { - client_side_validation: true, required: false, serialized_name: 'maxDataDiskCount', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb index 4af9837ce9..e60c2c1b23 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineSizeListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineSizeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb index c606fe0334..8bf1b3d28c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb @@ -27,7 +27,6 @@ class VirtualMachineStatusCodeCount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCount', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineStatusCodeCount', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -44,7 +42,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb index 50466b48da..3f10818a9f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb @@ -23,7 +23,6 @@ class WinRMConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WinRMConfiguration', model_properties: { listeners: { - client_side_validation: true, required: false, serialized_name: 'listeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WinRMListenerElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb index a2869f223e..6f3e0834e3 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb @@ -34,7 +34,6 @@ class WinRMListener # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMListener', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WinRMListener', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb index 2c76f0503d..5dda2a4a8b 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb @@ -43,7 +43,6 @@ class WindowsConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WindowsConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'WindowsConfiguration', model_properties: { provision_vmagent: { - client_side_validation: true, required: false, serialized_name: 'provisionVMAgent', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, enable_automatic_updates: { - client_side_validation: true, required: false, serialized_name: 'enableAutomaticUpdates', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'timeZone', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, additional_unattend_content: { - client_side_validation: true, required: false, serialized_name: 'additionalUnattendContent', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContentElementType', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, win_rm: { - client_side_validation: true, required: false, serialized_name: 'winRM', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb index ce2edfceea..13a91cc553 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Snapshot] operation results. # - def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, snapshot_name, snapshot, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -82,8 +82,8 @@ def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_ # # @return [Snapshot] operation results. # - def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -99,9 +99,9 @@ def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -128,8 +128,8 @@ def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [Snapshot] operation results. # - def get(resource_group_name, snapshot_name, custom_headers:nil) - response = get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get(resource_group_name, snapshot_name, custom_headers = nil) + response = get_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -144,8 +144,8 @@ def get(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + get_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -159,7 +159,7 @@ def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, snapshot_name, custom_headers:nil) + def get_async(resource_group_name, snapshot_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -167,7 +167,6 @@ def get_async(resource_group_name, snapshot_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -223,8 +222,8 @@ def get_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, snapshot_name, custom_headers:nil) - response = delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def delete(resource_group_name, snapshot_name, custom_headers = nil) + response = delete_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -238,9 +237,9 @@ def delete(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def delete_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -265,8 +264,8 @@ def delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -279,8 +278,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -292,14 +291,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -352,8 +350,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -365,8 +363,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -377,13 +375,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -441,8 +438,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -458,9 +455,9 @@ def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -487,8 +484,8 @@ def grant_access_async(resource_group_name, snapshot_name, grant_access_data, cu # # @return [OperationStatusResponse] operation results. # - def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -502,9 +499,9 @@ def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def revoke_access_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -533,8 +530,8 @@ def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Snapshot] operation results. # - def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -551,8 +548,8 @@ def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -568,7 +565,7 @@ def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, sn # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -577,12 +574,13 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Snapshot.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -652,8 +650,8 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c # # @return [Snapshot] operation results. # - def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -670,8 +668,8 @@ def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -687,7 +685,7 @@ def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -696,12 +694,13 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::SnapshotUpdate.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -769,8 +768,8 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -785,8 +784,8 @@ def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -800,7 +799,7 @@ def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_delete_async(resource_group_name, snapshot_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -808,7 +807,6 @@ def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -866,8 +864,8 @@ def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -884,8 +882,8 @@ def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! end # @@ -901,7 +899,7 @@ def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -910,12 +908,13 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -973,8 +972,8 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da # # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -989,8 +988,8 @@ def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -1004,7 +1003,7 @@ def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -1012,7 +1011,6 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1067,8 +1065,8 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers # # @return [SnapshotList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1082,8 +1080,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1096,12 +1094,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1155,8 +1152,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1170,8 +1167,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1184,12 +1181,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1242,12 +1238,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1261,12 +1257,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb index f8d32a8fa3..1b20492b74 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -48,8 +48,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -63,15 +63,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +126,8 @@ def list_async(location, custom_headers:nil) # # @return [ListUsagesResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -145,8 +143,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -161,12 +159,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,12 +219,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ListUsagesResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..5b8b39c20f --- /dev/null +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/version.rb @@ -0,0 +1,8 @@ +# 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. + +module Azure::Compute::Mgmt::V2016_04_30_preview + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb index 67c99ff882..af4d2b70cb 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionImage] operation results. # - def get(location, publisher_name, type, version, custom_headers:nil) - response = get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get(location, publisher_name, type, version, custom_headers = nil) + response = get_async(location, publisher_name, type, version, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(location, publisher_name, type, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, type, version, custom_headers:nil) - get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, type, version, custom_headers = nil) + get_async(location, publisher_name, type, version, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_with_http_info(location, publisher_name, type, version, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, type, version, custom_headers:nil) + def get_async(location, publisher_name, type, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -76,7 +76,6 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -131,8 +130,8 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) # # @return [Array] operation results. # - def list_types(location, publisher_name, custom_headers:nil) - response = list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types(location, publisher_name, custom_headers = nil) + response = list_types_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -146,8 +145,8 @@ def list_types(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_types_with_http_info(location, publisher_name, custom_headers:nil) - list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types_with_http_info(location, publisher_name, custom_headers = nil) + list_types_async(location, publisher_name, custom_headers).value! end # @@ -160,7 +159,7 @@ def list_types_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_types_async(location, publisher_name, custom_headers:nil) + def list_types_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -168,7 +167,6 @@ def list_types_async(location, publisher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -201,13 +199,11 @@ def list_types_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { @@ -243,8 +239,8 @@ def list_types_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -262,8 +258,8 @@ def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_versions_with_http_info(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions_with_http_info(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! end # @@ -280,7 +276,7 @@ def list_versions_with_http_info(location, publisher_name, type, filter:nil, top # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_versions_async(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_versions_async(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -289,7 +285,6 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -322,13 +317,11 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb index ceeeb81baa..8a762959db 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineExtension] operation results. # - def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, vm_name, vm_extension_name, exte # # @return [VirtualMachineExtension] operation results. # - def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, vm_name, vm_extension_name, extension_parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -149,9 +149,9 @@ def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -180,8 +180,8 @@ def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [VirtualMachineExtension] operation results. # - def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -198,8 +198,8 @@ def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! end # @@ -215,7 +215,7 @@ def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -224,7 +224,6 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -283,8 +282,8 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo # # @return [VirtualMachineExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -302,8 +301,8 @@ def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, exte # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -320,7 +319,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_exten # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -330,12 +329,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -406,8 +406,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name # # @return [VirtualMachineExtension] operation results. # - def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -425,8 +425,8 @@ def begin_update(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -443,7 +443,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -453,12 +453,13 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineExtensionUpdate.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -517,8 +518,8 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -534,8 +535,8 @@ def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! end # @@ -550,7 +551,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -559,7 +560,6 @@ def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb index 1b9c9f750b..e93d64310e 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineImage] operation results. # - def get(location, publisher_name, offer, skus, version, custom_headers:nil) - response = get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get(location, publisher_name, offer, skus, version, custom_headers = nil) + response = get_async(location, publisher_name, offer, skus, version, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(location, publisher_name, offer, skus, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers:nil) - get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers = nil) + get_async(location, publisher_name, offer, skus, version, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(location, publisher_name, offer, skus, version, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, offer, skus, version, custom_headers:nil) + def get_async(location, publisher_name, offer, skus, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -80,7 +80,6 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -141,8 +140,8 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil # # @return [Array] operation results. # - def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -162,8 +161,8 @@ def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! end # @@ -182,7 +181,7 @@ def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -192,7 +191,6 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,13 +223,11 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -264,8 +260,8 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order # # @return [Array] operation results. # - def list_offers(location, publisher_name, custom_headers:nil) - response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers(location, publisher_name, custom_headers = nil) + response = list_offers_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -280,8 +276,8 @@ def list_offers(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_offers_with_http_info(location, publisher_name, custom_headers:nil) - list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers_with_http_info(location, publisher_name, custom_headers = nil) + list_offers_async(location, publisher_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_offers_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_offers_async(location, publisher_name, custom_headers:nil) + def list_offers_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_offers_async(location, publisher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -336,13 +331,11 @@ def list_offers_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -374,8 +367,8 @@ def list_offers_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_publishers(location, custom_headers:nil) - response = list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers(location, custom_headers = nil) + response = list_publishers_async(location, custom_headers).value! response.body unless response.nil? end @@ -389,8 +382,8 @@ def list_publishers(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_publishers_with_http_info(location, custom_headers:nil) - list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers_with_http_info(location, custom_headers = nil) + list_publishers_async(location, custom_headers).value! end # @@ -403,14 +396,13 @@ def list_publishers_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_publishers_async(location, custom_headers:nil) + def list_publishers_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,13 +435,11 @@ def list_publishers_async(location, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -483,8 +473,8 @@ def list_publishers_async(location, custom_headers:nil) # # @return [Array] operation results. # - def list_skus(location, publisher_name, offer, custom_headers:nil) - response = list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus(location, publisher_name, offer, custom_headers = nil) + response = list_skus_async(location, publisher_name, offer, custom_headers).value! response.body unless response.nil? end @@ -500,8 +490,8 @@ def list_skus(location, publisher_name, offer, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil) - list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus_with_http_info(location, publisher_name, offer, custom_headers = nil) + list_skus_async(location, publisher_name, offer, custom_headers).value! end # @@ -516,7 +506,7 @@ def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(location, publisher_name, offer, custom_headers:nil) + def list_skus_async(location, publisher_name, offer, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -525,7 +515,6 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -558,13 +547,11 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb index 90e0e5e607..a2d275807f 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -48,9 +48,9 @@ def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +78,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -93,9 +93,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -125,8 +125,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -140,9 +140,9 @@ def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -169,8 +169,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -184,9 +184,9 @@ def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +213,8 @@ def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [VirtualMachineScaleSetVM] operation results. # - def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -229,8 +229,8 @@ def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -244,7 +244,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -253,7 +253,6 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +308,8 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header # # @return [VirtualMachineScaleSetVMInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -325,8 +324,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -340,7 +339,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -349,7 +348,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +405,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [Array] operation results. # - def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers) + def list(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers) first_page.get_all_items end @@ -425,8 +423,8 @@ def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! end # @@ -442,7 +440,7 @@ def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, fil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) + def list_async(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -450,7 +448,6 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -508,8 +505,8 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -523,9 +520,9 @@ def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -552,8 +549,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -567,9 +564,9 @@ def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -596,8 +593,8 @@ def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -611,9 +608,9 @@ def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -641,8 +638,8 @@ def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -658,8 +655,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -674,7 +671,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -683,7 +680,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -740,8 +736,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -757,8 +753,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -773,7 +769,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -782,7 +778,6 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -841,8 +836,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -860,8 +855,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -878,7 +873,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -887,7 +882,6 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -943,8 +937,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -959,8 +953,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -974,7 +968,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -983,7 +977,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1041,8 +1034,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1059,8 +1052,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1076,7 +1069,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, insta # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1085,7 +1078,6 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1141,8 +1133,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1157,8 +1149,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1172,7 +1164,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1181,7 +1173,6 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1237,8 +1228,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1253,8 +1244,8 @@ def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1268,7 +1259,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1277,7 +1268,6 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1332,8 +1322,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [VirtualMachineScaleSetVMListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1347,8 +1337,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1361,12 +1351,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1424,12 +1413,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetVMListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - response = list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + response = list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb index f4a6dc93b9..709212adb1 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [VirtualMachineScaleSet] operation results. # - def create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def create_or_update_async(resource_group_name, name, parameters, custom_headers # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -117,8 +117,8 @@ def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def get(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -132,8 +132,8 @@ def get(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -146,7 +146,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -154,7 +154,6 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -213,8 +212,8 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -229,9 +228,9 @@ def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +258,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [OperationStatusResponse] operation results. # - def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -275,9 +274,9 @@ def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -303,8 +302,8 @@ def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [VirtualMachineScaleSetInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -318,8 +317,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -332,7 +331,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -340,7 +339,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -394,8 +392,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -408,8 +406,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -421,14 +419,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -484,8 +481,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -500,8 +497,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -515,13 +512,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -577,8 +573,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list_skus(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -593,8 +589,8 @@ def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -608,7 +604,7 @@ def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -616,7 +612,6 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -675,8 +670,8 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -691,9 +686,9 @@ def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -721,8 +716,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -737,9 +732,9 @@ def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -767,8 +762,8 @@ def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -783,9 +778,9 @@ def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -814,8 +809,8 @@ def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [OperationStatusResponse] operation results. # - def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -830,9 +825,9 @@ def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -859,8 +854,8 @@ def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -873,9 +868,9 @@ def reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -902,8 +897,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -916,9 +911,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -945,8 +940,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [VirtualMachineScaleSet] operation results. # - def begin_create_or_update(resource_group_name, name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! response.body unless response.nil? end @@ -961,8 +956,8 @@ def begin_create_or_update(resource_group_name, name, parameters, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, name, parameters, custom_headers).value! end # @@ -976,7 +971,7 @@ def begin_create_or_update_with_http_info(resource_group_name, name, parameters, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -985,12 +980,13 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1057,8 +1053,8 @@ def begin_create_or_update_async(resource_group_name, name, parameters, custom_h # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1072,8 +1068,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1086,7 +1082,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1094,7 +1090,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1153,8 +1148,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1172,8 +1167,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1190,7 +1185,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1198,12 +1193,13 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1262,8 +1258,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1279,8 +1275,8 @@ def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1295,7 +1291,7 @@ def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1304,12 +1300,13 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1370,8 +1367,8 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1389,8 +1386,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1407,7 +1404,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_in # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1415,12 +1412,13 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1479,8 +1477,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1496,8 +1494,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1512,7 +1510,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1520,12 +1518,13 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1584,8 +1583,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1601,8 +1600,8 @@ def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1617,7 +1616,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1625,12 +1624,13 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1690,8 +1690,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [OperationStatusResponse] operation results. # - def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1708,8 +1708,8 @@ def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1725,7 +1725,7 @@ def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1734,12 +1734,13 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1797,8 +1798,8 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1813,8 +1814,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1828,7 +1829,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1836,7 +1837,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1892,8 +1892,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, custom_headers:n # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1908,8 +1908,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1923,7 +1923,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1931,7 +1931,6 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1986,8 +1985,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [VirtualMachineScaleSetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2001,8 +2000,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2015,12 +2014,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2077,8 +2075,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListWithLinkResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2095,8 +2093,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -2112,12 +2110,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2172,8 +2169,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListSkusResult] operation results. # - def list_skus_next(next_page_link, custom_headers:nil) - response = list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next(next_page_link, custom_headers = nil) + response = list_skus_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2188,8 +2185,8 @@ def list_skus_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_next_with_http_info(next_page_link, custom_headers:nil) - list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next_with_http_info(next_page_link, custom_headers = nil) + list_skus_next_async(next_page_link, custom_headers).value! end # @@ -2203,12 +2200,11 @@ def list_skus_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_next_async(next_page_link, custom_headers:nil) + def list_skus_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2262,12 +2258,12 @@ def list_skus_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2285,12 +2281,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineScaleSetListWithLinkResult] which provide lazy access # to pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -2308,12 +2304,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualMachineScaleSetListSkusResult] which provide lazy access to # pages of the response. # - def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_skus_next_async(next_page_link, custom_headers:custom_headers) + list_skus_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb index 5cfd83a809..f70b20024c 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [VirtualMachineSizeListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +60,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb index f67fb65250..cecdd4bcec 100644 --- a/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb +++ b/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionsListResult] operation results. # - def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_extensions_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +74,6 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +131,8 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header # # @return [VirtualMachineCaptureResult] operation results. # - def capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -148,9 +147,9 @@ def capture(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -178,8 +177,8 @@ def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, vm_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -222,8 +221,8 @@ def create_or_update_async(resource_group_name, vm_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -236,9 +235,9 @@ def delete(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -267,8 +266,8 @@ def delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -285,8 +284,8 @@ def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -302,7 +301,7 @@ def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -310,7 +309,6 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -366,8 +364,8 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -380,9 +378,9 @@ def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -409,8 +407,8 @@ def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers: # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_name, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_name, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -423,9 +421,9 @@ def deallocate(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def deallocate_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -451,8 +449,8 @@ def deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def generalize(resource_group_name, vm_name, custom_headers:nil) - response = generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize(resource_group_name, vm_name, custom_headers = nil) + response = generalize_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -466,8 +464,8 @@ def generalize(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) - generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize_with_http_info(resource_group_name, vm_name, custom_headers = nil) + generalize_async(resource_group_name, vm_name, custom_headers).value! end # @@ -480,7 +478,7 @@ def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generalize_async(resource_group_name, vm_name, custom_headers:nil) + def generalize_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -488,7 +486,6 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -543,8 +540,8 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -558,8 +555,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -572,14 +569,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -633,8 +629,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -647,8 +643,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -660,13 +656,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -722,8 +717,8 @@ def list_all_async(custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, vm_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -738,8 +733,8 @@ def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! end # @@ -753,7 +748,7 @@ def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -761,7 +756,6 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -818,8 +812,8 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_name, custom_headers:nil) - response = power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_name, custom_headers = nil) + response = power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -832,9 +826,9 @@ def power_off(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_name, custom_headers:nil) + def power_off_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -860,8 +854,8 @@ def power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_name, custom_headers:nil) - response = restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_name, custom_headers = nil) + response = restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -874,9 +868,9 @@ def restart(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_name, custom_headers:nil) + def restart_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -902,8 +896,8 @@ def restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_name, custom_headers:nil) - response = start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def start(resource_group_name, vm_name, custom_headers = nil) + response = start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -916,9 +910,9 @@ def start(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_name, custom_headers:nil) + def start_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -944,8 +938,8 @@ def start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_name, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_name, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -958,9 +952,9 @@ def redeploy(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def redeploy_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -989,8 +983,8 @@ def redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineCaptureResult] operation results. # - def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1007,8 +1001,8 @@ def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1024,7 +1018,7 @@ def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1033,12 +1027,13 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineCaptureParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1097,8 +1092,8 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers # # @return [VirtualMachine] operation results. # - def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1114,8 +1109,8 @@ def begin_create_or_update(resource_group_name, vm_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1130,7 +1125,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1139,12 +1134,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachine.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1211,8 +1207,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1226,8 +1222,8 @@ def begin_delete(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1240,7 +1236,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1248,7 +1244,6 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1304,8 +1299,8 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1320,8 +1315,8 @@ def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1335,7 +1330,7 @@ def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1343,7 +1338,6 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1399,8 +1393,8 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_name, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1415,8 +1409,8 @@ def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1430,7 +1424,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1438,7 +1432,6 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1495,8 +1488,8 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_name, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_name, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1512,8 +1505,8 @@ def begin_power_off(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1528,7 +1521,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1536,7 +1529,6 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1591,8 +1583,8 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_name, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1606,8 +1598,8 @@ def begin_restart(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_restart_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1620,7 +1612,7 @@ def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1628,7 +1620,6 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1683,8 +1674,8 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_name, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_name, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1698,8 +1689,8 @@ def begin_start(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_start_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1712,7 +1703,7 @@ def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_name, custom_headers:nil) + def begin_start_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1720,7 +1711,6 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1775,8 +1765,8 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_name, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1790,8 +1780,8 @@ def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1804,7 +1794,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1812,7 +1802,6 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1868,8 +1857,8 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1884,8 +1873,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1899,12 +1888,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1959,8 +1947,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1975,8 +1963,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1990,12 +1978,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2050,12 +2037,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2071,12 +2058,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb index 0e3db0fc1c..6885f96e28 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [AvailabilitySet] operation results. # - def create_or_update(resource_group_name, availability_set_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, availability_set_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, availability_set_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, availability_set_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, availability_set_name, parameter request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::AvailabilitySet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -137,8 +138,8 @@ def create_or_update_async(resource_group_name, availability_set_name, parameter # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, availability_set_name, custom_headers:nil) - response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, availability_set_name, custom_headers = nil) + response = delete_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -152,8 +153,8 @@ def delete(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + delete_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -166,7 +167,7 @@ def delete_with_http_info(resource_group_name, availability_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, availability_set_name, custom_headers:nil) + def delete_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -174,7 +175,6 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -229,8 +229,8 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySet] operation results. # - def get(resource_group_name, availability_set_name, custom_headers:nil) - response = get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, availability_set_name, custom_headers = nil) + response = get_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -244,8 +244,8 @@ def get(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + get_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -258,7 +258,7 @@ def get_with_http_info(resource_group_name, availability_set_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, availability_set_name, custom_headers:nil) + def get_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -266,7 +266,6 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -320,8 +319,8 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySetListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -334,8 +333,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -347,14 +346,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -410,8 +408,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, availability_set_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, availability_set_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -426,8 +424,8 @@ def list_available_sizes(resource_group_name, availability_set_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -441,7 +439,7 @@ def list_available_sizes_with_http_info(resource_group_name, availability_set_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -449,7 +447,6 @@ def list_available_sizes_async(resource_group_name, availability_set_name, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb index b20d89508f..a059a7efba 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb @@ -168,9 +168,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -187,7 +184,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2017_03_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2017_03_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb index 70cea3ad59..21e612b4f0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [Disk] operation results. # - def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def create_or_update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, disk_name, disk, custom_headers: # # @return [Disk] operation results. # - def update(resource_group_name, disk_name, disk, custom_headers:nil) - response = update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def update(resource_group_name, disk_name, disk, custom_headers = nil) + response = update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [Disk] operation results. # - def get(resource_group_name, disk_name, custom_headers:nil) - response = get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get(resource_group_name, disk_name, custom_headers = nil) + response = get_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +150,8 @@ def get(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) - get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, disk_name, custom_headers = nil) + get_async(resource_group_name, disk_name, custom_headers).value! end # @@ -166,7 +166,7 @@ def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, disk_name, custom_headers:nil) + def get_async(resource_group_name, disk_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, disk_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +230,8 @@ def get_async(resource_group_name, disk_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, disk_name, custom_headers:nil) - response = delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def delete(resource_group_name, disk_name, custom_headers = nil) + response = delete_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -247,9 +246,9 @@ def delete(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, disk_name, custom_headers:nil) + def delete_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -274,8 +273,8 @@ def delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -288,8 +287,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -301,14 +300,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -361,8 +359,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -374,8 +372,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -386,13 +384,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -451,8 +448,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -469,9 +466,9 @@ def grant_access(resource_group_name, disk_name, grant_access_data, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -499,8 +496,8 @@ def grant_access_async(resource_group_name, disk_name, grant_access_data, custom # # @return [OperationStatusResponse] operation results. # - def revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -515,9 +512,9 @@ def revoke_access(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def revoke_access_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -547,8 +544,8 @@ def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Disk] operation results. # - def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -566,8 +563,8 @@ def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -584,7 +581,7 @@ def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -593,12 +590,13 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::Disk.mapper() request_content = @client.serialize(request_mapper, disk) @@ -669,8 +667,8 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he # # @return [Disk] operation results. # - def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -688,8 +686,8 @@ def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -706,7 +704,7 @@ def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_update_async(resource_group_name, disk_name, disk, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -715,12 +713,13 @@ def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::DiskUpdate.mapper() request_content = @client.serialize(request_mapper, disk) @@ -789,8 +788,8 @@ def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, disk_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, disk_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -806,8 +805,8 @@ def begin_delete(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_delete_async(resource_group_name, disk_name, custom_headers).value! end # @@ -822,7 +821,7 @@ def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) + def begin_delete_async(resource_group_name, disk_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -830,7 +829,6 @@ def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -889,8 +887,8 @@ def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -908,8 +906,8 @@ def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! end # @@ -926,7 +924,7 @@ def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_acce # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -935,12 +933,13 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -999,8 +998,8 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, # # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -1016,8 +1015,8 @@ def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! end # @@ -1032,7 +1031,7 @@ def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, disk_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -1040,7 +1039,6 @@ def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1095,8 +1093,8 @@ def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil # # @return [DiskList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1110,8 +1108,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1124,12 +1122,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1183,8 +1180,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1198,8 +1195,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1212,12 +1209,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1270,12 +1266,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1285,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/images.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/images.rb index 42ed70e4f4..419974f648 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/images.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/images.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Image] operation results. # - def create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, image_name, parameters, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def create_or_update_async(resource_group_name, image_name, parameters, custom_h # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, image_name, custom_headers:nil) - response = delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def delete(resource_group_name, image_name, custom_headers = nil) + response = delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def delete(resource_group_name, image_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, image_name, custom_headers:nil) + def delete_async(resource_group_name, image_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, image_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -118,8 +118,8 @@ def delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [Image] operation results. # - def get(resource_group_name, image_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, image_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, image_name, expand, custom_headers).value! response.body unless response.nil? end @@ -134,8 +134,8 @@ def get(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, image_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, image_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, image_name, expand, custom_headers).value! end # @@ -149,7 +149,7 @@ def get_with_http_info(resource_group_name, image_name, expand:nil, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, image_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -157,7 +157,6 @@ def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,8 +210,8 @@ def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -225,8 +224,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -238,14 +237,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -329,13 +327,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -391,8 +388,8 @@ def list_async(custom_headers:nil) # # @return [Image] operation results. # - def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -407,8 +404,8 @@ def begin_create_or_update(resource_group_name, image_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! end # @@ -422,7 +419,7 @@ def begin_create_or_update_with_http_info(resource_group_name, image_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -431,12 +428,13 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::Image.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -503,8 +501,8 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, cu # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, image_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, image_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -518,8 +516,8 @@ def begin_delete(resource_group_name, image_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, image_name, custom_headers:nil) - begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, image_name, custom_headers = nil) + begin_delete_async(resource_group_name, image_name, custom_headers).value! end # @@ -532,7 +530,7 @@ def begin_delete_with_http_info(resource_group_name, image_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, image_name, custom_headers:nil) + def begin_delete_async(resource_group_name, image_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -540,7 +538,6 @@ def begin_delete_async(resource_group_name, image_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -595,8 +592,8 @@ def begin_delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -610,8 +607,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -624,12 +621,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -685,8 +681,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -702,8 +698,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -718,12 +714,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -776,12 +771,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -797,12 +792,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/access_uri.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/access_uri.rb index 7c383bad9e..4407cc31e0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/access_uri.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/access_uri.rb @@ -22,7 +22,6 @@ class AccessUri # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AccessUri', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'AccessUri', model_properties: { access_sas: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.output.accessSAS', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb index 4f343cede4..114b117134 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb @@ -42,7 +42,6 @@ class AdditionalUnattendContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContent', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AdditionalUnattendContent', model_properties: { pass_name: { - client_side_validation: true, required: false, serialized_name: 'passName', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, component_name: { - client_side_validation: true, required: false, serialized_name: 'componentName', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, setting_name: { - client_side_validation: true, required: false, serialized_name: 'settingName', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb index f08c82913c..e3b4ddfece 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb @@ -23,7 +23,6 @@ class ApiEntityReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiEntityReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ApiEntityReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error.rb index 8a13cf0445..46a052d35d 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error.rb @@ -34,7 +34,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'ApiError', model_properties: { details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBaseElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, innererror: { - client_side_validation: true, required: false, serialized_name: 'innererror', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb index fcd60bc748..8cf0d71df9 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb @@ -28,7 +28,6 @@ class ApiErrorBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBase', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApiErrorBase', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set.rb index e5d70f0911..302e0fcf65 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set.rb @@ -45,7 +45,6 @@ class AvailabilitySet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySet', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'AvailabilitySet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -120,13 +111,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -137,14 +126,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -155,7 +142,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb index c3681de63b..810200133b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb @@ -22,7 +22,6 @@ class AvailabilitySetListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AvailabilitySetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb index 86ad0b74c6..779da8c95e 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb @@ -31,7 +31,6 @@ class BootDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnostics', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BootDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, serialized_name: 'storageUri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb index 49070ff458..0b39313a60 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb @@ -25,7 +25,6 @@ class BootDiagnosticsInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnosticsInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BootDiagnosticsInstanceView', model_properties: { console_screenshot_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'consoleScreenshotBlobUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, serial_console_log_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'serialConsoleLogBlobUri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb index d2e2ed2ce7..dfff79204c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb @@ -22,7 +22,6 @@ class ComputeLongRunningOperationProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeLongRunningOperationProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ComputeLongRunningOperationProperties', model_properties: { output: { - client_side_validation: true, required: false, serialized_name: 'output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/creation_data.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/creation_data.rb index 785a6a771d..b4b1883ea0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/creation_data.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/creation_data.rb @@ -40,7 +40,6 @@ class CreationData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CreationData', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'CreationData', model_properties: { create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, storage_account_id: { - client_side_validation: true, required: false, serialized_name: 'storageAccountId', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, source_uri: { - client_side_validation: true, required: false, serialized_name: 'sourceUri', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, source_resource_id: { - client_side_validation: true, required: false, serialized_name: 'sourceResourceId', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb index 90c224660d..c9b326a78a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb @@ -63,7 +63,6 @@ class DataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDisk', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'DataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -96,7 +92,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -123,7 +116,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb index 0483cf994d..de12dd6d03 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb @@ -24,7 +24,6 @@ class DataDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDiskImage', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'DataDiskImage', model_properties: { lun: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb index 54127d83f5..ff3da4aa8d 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb @@ -28,7 +28,6 @@ class DiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiagnosticsProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'DiagnosticsProfile', model_properties: { boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk.rb index 6aa4c10595..e83a0f06d5 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk.rb @@ -53,7 +53,6 @@ class Disk < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Disk', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'Disk', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -96,13 +91,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, managed_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'managedBy', @@ -121,7 +113,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -155,7 +143,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -181,7 +166,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb index bafd8844fa..520f7bd2d4 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb @@ -31,7 +31,6 @@ class DiskEncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'DiskEncryptionSettings', model_properties: { disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb index e68f6bc279..85381b7ebe 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb @@ -29,7 +29,6 @@ class DiskInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'DiskInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettingsElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_list.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_list.rb index 2f12107aa3..929fbf0f07 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_list.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'DiskList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb index 662e570de6..3928a5c6e9 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb @@ -26,7 +26,6 @@ class DiskSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskSku', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'DiskSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_update.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_update.rb index 3693935fc0..f2f5af9dbe 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_update.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_update.rb @@ -33,7 +33,6 @@ class DiskUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskUpdate', type: { @@ -41,13 +40,11 @@ def self.mapper() class_name: 'DiskUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/encryption_settings.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/encryption_settings.rb index ad3677e762..21667634a5 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/encryption_settings.rb @@ -34,7 +34,6 @@ class EncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionSettings', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EncryptionSettings', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/grant_access_data.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/grant_access_data.rb index e7a88a4051..b388203dcd 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/grant_access_data.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/grant_access_data.rb @@ -26,7 +26,6 @@ class GrantAccessData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GrantAccessData', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'GrantAccessData', model_properties: { access: { - client_side_validation: true, required: true, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, duration_in_seconds: { - client_side_validation: true, required: true, serialized_name: 'durationInSeconds', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb index fe73a823ed..c371e531ac 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb @@ -58,7 +58,6 @@ class HardwareProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HardwareProfile', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'HardwareProfile', model_properties: { vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image.rb index 71b66c5811..4bf3d3e02f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image.rb @@ -32,7 +32,6 @@ class Image < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Image', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Image', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, source_virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceVirtualMachine', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -109,7 +100,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb index a7b13b8644..6b1d0435e3 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb @@ -50,7 +50,6 @@ class ImageDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDataDisk', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ImageDataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -92,7 +87,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb index ab6ea2e3b7..953a692b08 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb @@ -28,7 +28,6 @@ class ImageDiskReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDiskReference', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ImageDiskReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: false, serialized_name: 'lun', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_list_result.rb index 9cf619eac2..1f088eaa2a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ImageListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb index e4e38c8ec3..c741a6ca0a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb @@ -55,7 +55,6 @@ class ImageOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageOSDisk', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'ImageOSDisk', model_properties: { os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, os_state: { - client_side_validation: true, required: true, serialized_name: 'osState', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -116,7 +109,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_reference.rb index 4c7204a642..799ccd66c9 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_reference.rb @@ -42,7 +42,6 @@ class ImageReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageReference', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ImageReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_storage_profile.rb index 6d0da65a1a..bbb4868859 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/image_storage_profile.rb @@ -31,7 +31,6 @@ class ImageStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageStorageProfile', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ImageStorageProfile', model_properties: { os_disk: { - client_side_validation: true, required: true, serialized_name: 'osDisk', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb index fab25bbaac..6056592e03 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb @@ -25,7 +25,6 @@ class InnerError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InnerError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'InnerError', model_properties: { exceptiontype: { - client_side_validation: true, required: false, serialized_name: 'exceptiontype', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, errordetail: { - client_side_validation: true, required: false, serialized_name: 'errordetail', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb index c6f244f419..e75649ca09 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb @@ -36,7 +36,6 @@ class InstanceViewStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatus', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'InstanceViewStatus', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, level: { - client_side_validation: true, required: false, serialized_name: 'level', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb index b463575db5..047ef0e427 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb @@ -27,7 +27,6 @@ class KeyVaultAndKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndKeyReference', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'KeyVaultAndKeyReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb index a1deb1ec73..023c75e7dd 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultAndSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultAndSecretReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb index e0f339cfd5..e0587ec4d2 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb @@ -26,7 +26,6 @@ class KeyVaultKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultKeyReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultKeyReference', model_properties: { key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb index c6f1f3fd35..9d0913ebc0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultSecretReference', model_properties: { secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb index 5b950c5bb6..8805053bf3 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb @@ -33,7 +33,6 @@ class LinuxConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinuxConfiguration', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'LinuxConfiguration', model_properties: { disable_password_authentication: { - client_side_validation: true, required: false, serialized_name: 'disablePasswordAuthentication', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: false, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb index dceb8bca5c..425abacf8c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListUsagesResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ListUsagesResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb index c54250bd86..354253cd80 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb @@ -42,7 +42,6 @@ class MaintenanceRedeployStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MaintenanceRedeployStatus', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'MaintenanceRedeployStatus', model_properties: { is_customer_initiated_maintenance_allowed: { - client_side_validation: true, required: false, serialized_name: 'isCustomerInitiatedMaintenanceAllowed', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, pre_maintenance_window_start_time: { - client_side_validation: true, required: false, serialized_name: 'preMaintenanceWindowStartTime', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, pre_maintenance_window_end_time: { - client_side_validation: true, required: false, serialized_name: 'preMaintenanceWindowEndTime', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, maintenance_window_start_time: { - client_side_validation: true, required: false, serialized_name: 'maintenanceWindowStartTime', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, maintenance_window_end_time: { - client_side_validation: true, required: false, serialized_name: 'maintenanceWindowEndTime', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, last_operation_result_code: { - client_side_validation: true, required: false, serialized_name: 'lastOperationResultCode', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, last_operation_message: { - client_side_validation: true, required: false, serialized_name: 'lastOperationMessage', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/managed_disk_parameters.rb index 87806abb88..db62958133 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/managed_disk_parameters.rb @@ -24,7 +24,6 @@ class ManagedDiskParameters < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ManagedDiskParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ManagedDiskParameters', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -40,7 +38,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb index 1b58f7068b..986d449e14 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb @@ -23,7 +23,6 @@ class NetworkInterfaceReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'NetworkInterfaceReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -39,7 +37,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_profile.rb index f5a9812346..8139cfa5bf 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/network_profile.rb @@ -24,7 +24,6 @@ class NetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'NetworkProfile', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReferenceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb index 25e3ccb3b5..698bd4eb66 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb @@ -34,7 +34,6 @@ class OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationStatusResponse', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'OperationStatusResponse', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -60,7 +57,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -69,7 +65,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -78,7 +73,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb index 0180d2751e..e57b7d603c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb @@ -72,7 +72,6 @@ class OSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDisk', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'OSDisk', model_properties: { os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +102,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -115,7 +110,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -133,7 +126,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -142,7 +134,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -150,7 +141,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb index 46ed8a7ec6..2bbe5fe136 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb @@ -23,7 +23,6 @@ class OSDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDiskImage', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'OSDiskImage', model_properties: { operating_system: { - client_side_validation: true, required: true, serialized_name: 'operatingSystem', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb index 3eeafe3543..9f88b91a75 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb @@ -86,7 +86,6 @@ class OSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSProfile', type: { @@ -94,7 +93,6 @@ def self.mapper() class_name: 'OSProfile', model_properties: { computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -144,13 +137,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/plan.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/plan.rb index ea342ede59..6cdd307d4c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/plan.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/plan.rb @@ -38,7 +38,6 @@ class Plan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Plan', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Plan', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, serialized_name: 'product', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, promotion_code: { - client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb index a5dc7e6db9..6775f38c90 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb @@ -31,7 +31,6 @@ class PurchasePlan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PurchasePlan', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'PurchasePlan', model_properties: { publisher: { - client_side_validation: true, required: true, serialized_name: 'publisher', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: true, serialized_name: 'product', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource.rb index 024a1cdf4f..adbdf30a5c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku.rb index c27cdf73c4..5c6d7d7209 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku.rb @@ -60,7 +60,6 @@ class ResourceSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSku', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'ResourceSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', @@ -95,7 +91,6 @@ def self.mapper() } }, size: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'size', @@ -104,7 +99,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'family', @@ -113,7 +107,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -122,7 +115,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', @@ -132,14 +124,12 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -149,14 +139,12 @@ def self.mapper() } }, api_versions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'apiVersions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -166,14 +154,12 @@ def self.mapper() } }, costs: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'costs', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCostsElementType', type: { @@ -184,14 +170,12 @@ def self.mapper() } }, capabilities: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapabilitiesElementType', type: { @@ -202,14 +186,12 @@ def self.mapper() } }, restrictions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restrictions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictionsElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb index 6fd25f536f..54ea037679 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb @@ -25,7 +25,6 @@ class ResourceSkuCapabilities # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapabilities', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceSkuCapabilities', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capacity.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capacity.rb index 4c9000ded6..4cb173fe4f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capacity.rb @@ -32,7 +32,6 @@ class ResourceSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ResourceSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'default', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_costs.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_costs.rb index 5a69cab228..5ce2c3000b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_costs.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_costs.rb @@ -29,7 +29,6 @@ class ResourceSkuCosts # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCosts', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ResourceSkuCosts', model_properties: { meter_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterID', @@ -46,7 +44,6 @@ def self.mapper() } }, quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'quantity', @@ -55,7 +52,6 @@ def self.mapper() } }, extended_unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extendedUnit', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb index 982126ff20..a3dce02cfb 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb @@ -32,7 +32,6 @@ class ResourceSkuRestrictions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictions', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ResourceSkuRestrictions', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -50,14 +48,12 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, reason_code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reasonCode', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_skus_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_skus_result.rb index a909418cb4..ea8eacd8b1 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_skus_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkusResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ResourceSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb index b8ff882663..78aaed4978 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb @@ -25,7 +25,6 @@ class ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceUpdate', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'ResourceUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -49,7 +46,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb index 9c13e6044c..9c2ea6a06d 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb @@ -48,7 +48,6 @@ class RollingUpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradePolicy', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'RollingUpgradePolicy', model_properties: { max_batch_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxBatchInstancePercent', constraints: { @@ -68,7 +66,6 @@ def self.mapper() } }, max_unhealthy_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxUnhealthyInstancePercent', constraints: { @@ -80,7 +77,6 @@ def self.mapper() } }, max_unhealthy_upgraded_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxUnhealthyUpgradedInstancePercent', constraints: { @@ -92,7 +88,6 @@ def self.mapper() } }, pause_time_between_batches: { - client_side_validation: true, required: false, serialized_name: 'pauseTimeBetweenBatches', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb index 4a575e5e3f..3c483017f7 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb @@ -36,7 +36,6 @@ class RollingUpgradeProgressInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeProgressInfo', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'RollingUpgradeProgressInfo', model_properties: { successful_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'successfulInstanceCount', @@ -53,7 +51,6 @@ def self.mapper() } }, failed_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'failedInstanceCount', @@ -62,7 +59,6 @@ def self.mapper() } }, in_progress_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'inProgressInstanceCount', @@ -71,7 +67,6 @@ def self.mapper() } }, pending_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'pendingInstanceCount', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb index 52973e7c53..2ab7a37034 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb @@ -34,7 +34,6 @@ class RollingUpgradeRunningStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeRunningStatus', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RollingUpgradeRunningStatus', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -52,7 +50,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -61,7 +58,6 @@ def self.mapper() } }, last_action: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastAction', @@ -71,7 +67,6 @@ def self.mapper() } }, last_action_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastActionTime', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb index 0de773b97d..c146a3240f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb @@ -34,7 +34,6 @@ class RollingUpgradeStatusInfo < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeStatusInfo', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RollingUpgradeStatusInfo', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,7 +86,6 @@ def self.mapper() } }, policy: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.policy', @@ -103,7 +95,6 @@ def self.mapper() } }, running_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.runningStatus', @@ -113,7 +104,6 @@ def self.mapper() } }, progress: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.progress', @@ -123,7 +113,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.error', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb index 9e4f780308..30a639c8cd 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb @@ -26,7 +26,6 @@ class RunCommandDocument < RunCommandDocumentBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocument', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RunCommandDocument', model_properties: { schema: { - client_side_validation: true, required: true, serialized_name: '$schema', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -59,7 +55,6 @@ def self.mapper() } }, label: { - client_side_validation: true, required: true, serialized_name: 'label', type: { @@ -67,7 +62,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: true, serialized_name: 'description', type: { @@ -75,13 +69,11 @@ def self.mapper() } }, script: { - client_side_validation: true, required: true, serialized_name: 'script', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandParameterDefinitionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb index f8c7e6012b..8f8bda1b89 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb @@ -35,7 +35,6 @@ class RunCommandDocumentBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocumentBase', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RunCommandDocumentBase', model_properties: { schema: { - client_side_validation: true, required: true, serialized_name: '$schema', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, label: { - client_side_validation: true, required: true, serialized_name: 'label', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: true, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input.rb index ad1de1d797..5905cf86fd 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input.rb @@ -30,7 +30,6 @@ class RunCommandInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandInput', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'RunCommandInput', model_properties: { command_id: { - client_side_validation: true, required: true, serialized_name: 'commandId', type: { @@ -46,13 +44,11 @@ def self.mapper() } }, script: { - client_side_validation: true, required: false, serialized_name: 'script', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandInputParameterElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input_parameter.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input_parameter.rb index bf7fd64b23..146169132f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_input_parameter.rb @@ -25,7 +25,6 @@ class RunCommandInputParameter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandInputParameter', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'RunCommandInputParameter', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_list_result.rb index 79adea28bb..19561eb3fc 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'RunCommandListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocumentBaseElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb index 5c86c8edad..5c011bab8d 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb @@ -32,7 +32,6 @@ class RunCommandParameterDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandParameterDefinition', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'RunCommandParameterDefinition', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, serialized_name: 'type', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, default_value: { - client_side_validation: true, required: false, serialized_name: 'defaultValue', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, required: { - client_side_validation: true, required: false, serialized_name: 'required', default_value: false, diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_result.rb index 5a7b743a6e..5ed89fac35 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_result.rb @@ -22,7 +22,6 @@ class RunCommandResult < OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'RunCommandResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -39,7 +37,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -48,7 +45,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -57,7 +53,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -66,7 +61,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', @@ -76,7 +70,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sku.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sku.rb index 975faaeff2..48aac93660 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sku.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sku.rb @@ -31,7 +31,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot.rb index 12fdc4cf8b..60533fd11f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot.rb @@ -49,7 +49,6 @@ class Snapshot < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Snapshot', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'Snapshot', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -75,7 +72,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -84,7 +80,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -92,13 +87,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, managed_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'managedBy', @@ -117,7 +109,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -135,7 +125,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -144,7 +133,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -170,7 +156,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_list.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_list.rb index 824287bf23..e4528dbbc6 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_list.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SnapshotList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SnapshotElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_update.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_update.rb index a4611fca66..484b44383f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_update.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/snapshot_update.rb @@ -33,7 +33,6 @@ class SnapshotUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotUpdate', type: { @@ -41,13 +40,11 @@ def self.mapper() class_name: 'SnapshotUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/source_vault.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/source_vault.rb index d3aedd96a5..b225ab58a2 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/source_vault.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/source_vault.rb @@ -23,7 +23,6 @@ class SourceVault # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SourceVault', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SourceVault', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb index 344e5fd3c7..ec0332f592 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb @@ -23,7 +23,6 @@ class SshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: false, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb index b4a3eb418a..ab1ed3a327 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb @@ -32,7 +32,6 @@ class SshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshPublicKey', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'SshPublicKey', model_properties: { path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_data: { - client_side_validation: true, required: false, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/storage_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/storage_profile.rb index a71e4ff912..0b2ef3da4c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/storage_profile.rb @@ -38,7 +38,6 @@ class StorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageProfile', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'StorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -64,13 +61,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb index b7a6a65364..e7b7b6763e 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource_read_only.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource_read_only.rb index d1da5df26e..9ad3e154d7 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource_read_only.rb @@ -23,7 +23,6 @@ class SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResourceReadOnly', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResourceReadOnly', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/update_resource.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/update_resource.rb index 46272b7c04..ecb1f09cad 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/update_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/update_resource.rb @@ -22,7 +22,6 @@ class UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpdateResource', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UpdateResource', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb index 39cb9d9084..40a6b89e67 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb @@ -37,7 +37,6 @@ class UpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradePolicy', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'UpgradePolicy', model_properties: { mode: { - client_side_validation: true, required: false, serialized_name: 'mode', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, rolling_upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'rollingUpgradePolicy', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, automatic_osupgrade: { - client_side_validation: true, required: false, serialized_name: 'automaticOSUpgrade', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage.rb index 8d37b71c1c..8e8db42f94 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb index f7a042df9a..015c6a16ea 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb index 2f7001c840..911c37c78e 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb @@ -40,7 +40,6 @@ class VaultCertificate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VaultCertificate', model_properties: { certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, certificate_store: { - client_side_validation: true, required: false, serialized_name: 'certificateStore', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb index 86af779c93..2fb7a75216 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb @@ -27,7 +27,6 @@ class VaultSecretGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VaultSecretGroup', model_properties: { source_vault: { - client_side_validation: true, required: false, serialized_name: 'sourceVault', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, vault_certificates: { - client_side_validation: true, required: false, serialized_name: 'vaultCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultCertificateElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb index bb61b12e63..6334126302 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb @@ -22,7 +22,6 @@ class VirtualHardDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualHardDisk', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualHardDisk', model_properties: { uri: { - client_side_validation: true, required: false, serialized_name: 'uri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb index f5d245d30f..a66d9af5d9 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb @@ -95,7 +95,6 @@ class VirtualMachine < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachine', type: { @@ -103,7 +102,6 @@ def self.mapper() class_name: 'VirtualMachine', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -112,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -121,7 +118,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -130,7 +126,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -138,13 +133,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -154,7 +147,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -163,7 +155,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -172,7 +163,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -181,7 +171,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -190,7 +179,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -199,7 +187,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -208,7 +195,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -217,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -226,7 +211,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -236,7 +220,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -244,7 +227,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -253,14 +235,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { @@ -271,7 +251,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -280,13 +259,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb index 52975f6d30..e567debbd1 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb @@ -29,7 +29,6 @@ class VirtualMachineAgentInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineAgentInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineAgentInstanceView', model_properties: { vm_agent_version: { - client_side_validation: true, required: false, serialized_name: 'vmAgentVersion', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, extension_handlers: { - client_side_validation: true, required: false, serialized_name: 'extensionHandlers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb index f17012e285..ebcc47d1af 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb @@ -29,7 +29,6 @@ class VirtualMachineCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureParameters', model_properties: { vhd_prefix: { - client_side_validation: true, required: true, serialized_name: 'vhdPrefix', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, destination_container_name: { - client_side_validation: true, required: true, serialized_name: 'destinationContainerName', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, overwrite_vhds: { - client_side_validation: true, required: true, serialized_name: 'overwriteVhds', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb index 976aa3cb95..8a8e5e8599 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb @@ -22,7 +22,6 @@ class VirtualMachineCaptureResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -38,7 +36,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb index 3dc79e6331..86afccca35 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineExtension < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineExtension', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, virtual_machine_extension_type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -178,7 +163,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, serialized_name: 'properties.instanceView', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb index 92d5955d9d..74e10c7d55 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineExtensionHandlerInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionHandlerInstanceView', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb index aa8164d5b9..ccd3d8c21a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb @@ -39,7 +39,6 @@ class VirtualMachineExtensionImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImage', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionImage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, operating_system: { - client_side_validation: true, required: true, serialized_name: 'properties.operatingSystem', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, compute_role: { - client_side_validation: true, required: true, serialized_name: 'properties.computeRole', type: { @@ -114,7 +105,6 @@ def self.mapper() } }, handler_schema: { - client_side_validation: true, required: true, serialized_name: 'properties.handlerSchema', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, vm_scale_set_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.vmScaleSetEnabled', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, supports_multiple_extensions: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsMultipleExtensions', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb index 8142f4d94b..3cf551b282 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb @@ -35,7 +35,6 @@ class VirtualMachineExtensionInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceView', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, substatuses: { - client_side_validation: true, required: false, serialized_name: 'substatuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -84,13 +78,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb index ec9ac65536..a41b5a6dbe 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb @@ -46,7 +46,6 @@ class VirtualMachineExtensionUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionUpdate', type: { @@ -54,13 +53,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb index 3286859415..2a0205a3af 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineExtensionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb index 91269aaaa0..0b665e1be5 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb @@ -22,7 +22,6 @@ class VirtualMachineHealthStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineHealthStatus', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineHealthStatus', model_properties: { status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb index d473f0435e..c6ca2be7ac 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb @@ -31,7 +31,6 @@ class VirtualMachineIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineIdentity', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -48,7 +46,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb index f966fc544b..6cf6defc6e 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb @@ -28,7 +28,6 @@ class VirtualMachineImage < VirtualMachineImageResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImage', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineImage', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -60,13 +56,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -76,7 +70,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'properties.plan', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, os_disk_image: { - client_side_validation: true, required: false, serialized_name: 'properties.osDiskImage', type: { @@ -94,13 +86,11 @@ def self.mapper() } }, data_disk_images: { - client_side_validation: true, required: false, serialized_name: 'properties.dataDiskImages', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb index 7e80d7955a..31b4930ebb 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb @@ -31,7 +31,6 @@ class VirtualMachineImageResource < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineImageResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -63,13 +59,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb index 5aec2ff69f..503f86cff0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb @@ -54,7 +54,6 @@ class VirtualMachineInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineInstanceView', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, maintenance_redeploy_status: { - client_side_validation: true, required: false, serialized_name: 'maintenanceRedeployStatus', type: { @@ -104,13 +98,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -121,13 +113,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -138,7 +128,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb index caa58cc060..16dc98d1d3 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualMachineListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb index 4ae94bb479..8a47162003 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb @@ -60,7 +60,6 @@ class VirtualMachineScaleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSet', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -155,7 +144,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -164,7 +152,6 @@ def self.mapper() } }, overprovision: { - client_side_validation: true, required: false, serialized_name: 'properties.overprovision', type: { @@ -172,7 +159,6 @@ def self.mapper() } }, unique_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.uniqueId', @@ -181,7 +167,6 @@ def self.mapper() } }, single_placement_group: { - client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { @@ -189,7 +174,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -198,13 +182,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb index 941c70b553..507e27d2d9 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb @@ -48,7 +48,6 @@ class VirtualMachineScaleSetDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDisk', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetDataDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb index 681c7bb4e9..a9c5f47bcb 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineScaleSetExtension < SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtension', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb index 41f160bd10..ca636ed2cb 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionListResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb index 10ef2e866f..bc3688c91a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetExtensionProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionProfile', model_properties: { extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb index b9f76170ec..759f2109b0 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb @@ -33,7 +33,6 @@ class VirtualMachineScaleSetIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIdentity', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -50,7 +48,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb index a1fa9bb3f5..2ba5c8aaa1 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineScaleSetInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceView', model_properties: { virtual_machine: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'virtualMachine', @@ -48,14 +46,12 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummaryElementType', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb index 8cf33087d5..93fc7642b7 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetInstanceViewStatusesSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', type: { @@ -33,14 +32,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', model_properties: { statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb index 32be5a28da..36acddad3d 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb @@ -57,7 +57,6 @@ class VirtualMachineScaleSetIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfiguration', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, public_ipaddress_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressConfiguration', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -132,13 +123,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,13 +138,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb index bfa33cba5d..f5801d4c51 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb index b1c1e45b6f..1df3f6a382 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListSkusResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb index e4babb36f5..ebf5cf4cfc 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListWithLinkResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListWithLinkResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb index 5397a19e0d..1ead603c6f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetManagedDiskParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetManagedDiskParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetManagedDiskParameters', model_properties: { storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb index 064b78d415..9205be9702 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb @@ -43,7 +43,6 @@ class VirtualMachineScaleSetNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -101,13 +94,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb index e3c4f191a3..eba2f91d8b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb @@ -24,7 +24,6 @@ class VirtualMachineScaleSetNetworkConfigurationDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb index 2a9362e0c7..7b42ea4549 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkProfile', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkProfile', model_properties: { health_probe: { - client_side_validation: true, required: false, serialized_name: 'healthProbe', type: { @@ -46,13 +44,11 @@ def self.mapper() } }, network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb index 9bd9d697fa..18561a980f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb @@ -57,7 +57,6 @@ class VirtualMachineScaleSetOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSDisk', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -91,7 +87,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -100,7 +95,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -109,13 +103,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -125,7 +117,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb index ad5ad0d25e..9de118d07a 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb @@ -84,7 +84,6 @@ class VirtualMachineScaleSetOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSProfile', type: { @@ -92,7 +91,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSProfile', model_properties: { computer_name_prefix: { - client_side_validation: true, required: false, serialized_name: 'computerNamePrefix', type: { @@ -100,7 +98,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -108,7 +105,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -116,7 +112,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -124,7 +119,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -133,7 +127,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -142,13 +135,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb index ade21538a6..9b3007b051 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetPublicIPAddressConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetPublicIPAddressConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetPublicIPAddressConfiguration', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb index 71ea531409..5a72d32b22 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: true, serialized_name: 'domainNameLabel', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb index e56a2812a6..0080400390 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -46,7 +44,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb index 54a2114c55..8836b204d5 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb @@ -32,7 +32,6 @@ class VirtualMachineScaleSetSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default_capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultCapacity', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb index 07e0fb6ed8..11c20f3550 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb @@ -40,7 +40,6 @@ class VirtualMachineScaleSetStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetStorageProfile', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb index 5579c5eeeb..09c2e01b1e 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb @@ -45,7 +45,6 @@ class VirtualMachineScaleSetUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdate', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, overprovision: { - client_side_validation: true, required: false, serialized_name: 'properties.overprovision', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, single_placement_group: { - client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb index 01f4c1d9b6..e02b3aa36b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb @@ -50,7 +50,6 @@ class VirtualMachineScaleSetUpdateIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateIPConfiguration', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, public_ipaddress_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressConfiguration', type: { @@ -100,7 +94,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -125,13 +116,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -142,13 +131,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb index 368c379b04..6d63e561c4 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb @@ -42,7 +42,6 @@ class VirtualMachineScaleSetUpdateNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -100,13 +93,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateIPConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb index 8731f6c52d..59cade732c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb @@ -24,7 +24,6 @@ class VirtualMachineScaleSetUpdateNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateNetworkProfile', model_properties: { network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb index 7d8e5d2b6c..22d78916c2 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb @@ -37,7 +37,6 @@ class VirtualMachineScaleSetUpdateOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateOSDisk', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateOSDisk', model_properties: { caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -63,13 +60,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb index 8eb888cf09..964353e1c7 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb @@ -33,7 +33,6 @@ class VirtualMachineScaleSetUpdateOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateOSProfile', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateOSProfile', model_properties: { custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb index 9f2f275074..6fdf6141e8 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetUpdatePublicIPAddressConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb index f2c64f1a4b..499abce90f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetUpdateStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateStorageProfile', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb index b4cc55259d..0f32e0f299 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb @@ -43,7 +43,6 @@ class VirtualMachineScaleSetUpdateVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateVMProfile', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'diagnosticsProfile', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'licenseType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb index 73cd16f0e4..bc056c248f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb @@ -96,7 +96,6 @@ class VirtualMachineScaleSetVM < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVM', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVM', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -113,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -122,7 +119,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,7 +127,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -139,13 +134,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -155,7 +148,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceId', @@ -164,7 +156,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -174,7 +165,6 @@ def self.mapper() } }, latest_model_applied: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.latestModelApplied', @@ -183,7 +173,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -192,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -202,7 +190,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -211,7 +198,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -220,7 +206,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -229,7 +214,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -238,7 +222,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -247,7 +230,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -256,7 +238,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -265,7 +246,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -273,7 +253,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -282,14 +261,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb index 32e4224da4..4120e54cc2 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetVMExtensionsSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummary', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMExtensionsSummary', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -44,14 +42,12 @@ def self.mapper() } }, statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb index 0ec71820da..6117f76fb4 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetVMInstanceIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceIDs', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceIDs', model_properties: { instance_ids: { - client_side_validation: true, required: false, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb index e5da26800d..4c8bd59fa3 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetVMInstanceRequiredIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', model_properties: { instance_ids: { - client_side_validation: true, required: true, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb index 0b2a645342..4c2c3eee3b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb @@ -57,7 +57,6 @@ class VirtualMachineScaleSetVMInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -89,7 +85,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -98,13 +93,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -132,7 +123,6 @@ def self.mapper() } }, vm_health: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'vmHealth', @@ -142,7 +132,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -151,13 +140,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, placement_group_id: { - client_side_validation: true, required: false, serialized_name: 'placementGroupId', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb index 90240c3168..8834744f3b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb index 4ed4fa1d34..36d1aa53a5 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb @@ -51,7 +51,6 @@ class VirtualMachineScaleSetVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMProfile', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'diagnosticsProfile', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'licenseType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb index aa414c178f..ba642990b1 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb @@ -42,7 +42,6 @@ class VirtualMachineSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSize', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineSize', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, number_of_cores: { - client_side_validation: true, required: false, serialized_name: 'numberOfCores', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, os_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'osDiskSizeInMB', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, resource_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'resourceDiskSizeInMB', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, memory_in_mb: { - client_side_validation: true, required: false, serialized_name: 'memoryInMB', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, max_data_disk_count: { - client_side_validation: true, required: false, serialized_name: 'maxDataDiskCount', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb index b054414a33..13abe033eb 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineSizeListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineSizeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb index 49123ad634..074e1ed05f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb @@ -27,7 +27,6 @@ class VirtualMachineStatusCodeCount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCount', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineStatusCodeCount', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -44,7 +42,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb index e5e8181c21..43694d9967 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb @@ -23,7 +23,6 @@ class WinRMConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WinRMConfiguration', model_properties: { listeners: { - client_side_validation: true, required: false, serialized_name: 'listeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WinRMListenerElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb index a258dca888..e73aa81981 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb @@ -34,7 +34,6 @@ class WinRMListener # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMListener', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WinRMListener', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb index 5477af72a0..8cb9f1736f 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb @@ -43,7 +43,6 @@ class WindowsConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WindowsConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'WindowsConfiguration', model_properties: { provision_vmagent: { - client_side_validation: true, required: false, serialized_name: 'provisionVMAgent', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, enable_automatic_updates: { - client_side_validation: true, required: false, serialized_name: 'enableAutomaticUpdates', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'timeZone', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, additional_unattend_content: { - client_side_validation: true, required: false, serialized_name: 'additionalUnattendContent', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContentElementType', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, win_rm: { - client_side_validation: true, required: false, serialized_name: 'winRM', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/resource_skus.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/resource_skus.rb index 3381c994f8..de699fd91c 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/resource_skus.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/resource_skus.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ResourceSkusResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResourceSkusResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb index 0297cb6566..6fdf909f01 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [Snapshot] operation results. # - def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, snapshot_name, snapshot, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_ # # @return [Snapshot] operation results. # - def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [Snapshot] operation results. # - def get(resource_group_name, snapshot_name, custom_headers:nil) - response = get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get(resource_group_name, snapshot_name, custom_headers = nil) + response = get_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +150,8 @@ def get(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + get_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -166,7 +166,7 @@ def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, snapshot_name, custom_headers:nil) + def get_async(resource_group_name, snapshot_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, snapshot_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +230,8 @@ def get_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, snapshot_name, custom_headers:nil) - response = delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def delete(resource_group_name, snapshot_name, custom_headers = nil) + response = delete_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -247,9 +246,9 @@ def delete(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def delete_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -274,8 +273,8 @@ def delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -288,8 +287,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -301,14 +300,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -361,8 +359,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -374,8 +372,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -386,13 +384,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -451,8 +448,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -469,9 +466,9 @@ def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -499,8 +496,8 @@ def grant_access_async(resource_group_name, snapshot_name, grant_access_data, cu # # @return [OperationStatusResponse] operation results. # - def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -515,9 +512,9 @@ def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def revoke_access_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -547,8 +544,8 @@ def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Snapshot] operation results. # - def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -566,8 +563,8 @@ def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -584,7 +581,7 @@ def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, sn # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -593,12 +590,13 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::Snapshot.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -669,8 +667,8 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c # # @return [Snapshot] operation results. # - def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -688,8 +686,8 @@ def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -706,7 +704,7 @@ def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -715,12 +713,13 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::SnapshotUpdate.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -789,8 +788,8 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -806,8 +805,8 @@ def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -822,7 +821,7 @@ def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_delete_async(resource_group_name, snapshot_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -830,7 +829,6 @@ def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -889,8 +887,8 @@ def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -908,8 +906,8 @@ def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! end # @@ -926,7 +924,7 @@ def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -935,12 +933,13 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -999,8 +998,8 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da # # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -1016,8 +1015,8 @@ def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -1032,7 +1031,7 @@ def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -1040,7 +1039,6 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1095,8 +1093,8 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers # # @return [SnapshotList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1110,8 +1108,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1124,12 +1122,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1183,8 +1180,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1198,8 +1195,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1212,12 +1209,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1270,12 +1266,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1285,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb index e6e9f5700e..ac33c72b99 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -48,8 +48,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -63,15 +63,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +126,8 @@ def list_async(location, custom_headers:nil) # # @return [ListUsagesResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -145,8 +143,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -161,12 +159,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,12 +219,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ListUsagesResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..471a1107f2 --- /dev/null +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/version.rb @@ -0,0 +1,8 @@ +# 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. + +module Azure::Compute::Mgmt::V2017_03_30 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb index d4dab7f99c..84598ad60b 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionImage] operation results. # - def get(location, publisher_name, type, version, custom_headers:nil) - response = get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get(location, publisher_name, type, version, custom_headers = nil) + response = get_async(location, publisher_name, type, version, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(location, publisher_name, type, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, type, version, custom_headers:nil) - get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, type, version, custom_headers = nil) + get_async(location, publisher_name, type, version, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_with_http_info(location, publisher_name, type, version, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, type, version, custom_headers:nil) + def get_async(location, publisher_name, type, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -76,7 +76,6 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -131,8 +130,8 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) # # @return [Array] operation results. # - def list_types(location, publisher_name, custom_headers:nil) - response = list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types(location, publisher_name, custom_headers = nil) + response = list_types_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -146,8 +145,8 @@ def list_types(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_types_with_http_info(location, publisher_name, custom_headers:nil) - list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types_with_http_info(location, publisher_name, custom_headers = nil) + list_types_async(location, publisher_name, custom_headers).value! end # @@ -160,7 +159,7 @@ def list_types_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_types_async(location, publisher_name, custom_headers:nil) + def list_types_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -168,7 +167,6 @@ def list_types_async(location, publisher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -201,13 +199,11 @@ def list_types_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { @@ -243,8 +239,8 @@ def list_types_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -262,8 +258,8 @@ def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_versions_with_http_info(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions_with_http_info(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! end # @@ -280,7 +276,7 @@ def list_versions_with_http_info(location, publisher_name, type, filter:nil, top # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_versions_async(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_versions_async(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -289,7 +285,6 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -322,13 +317,11 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb index e0b6e54a9c..93ab9adaba 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineExtension] operation results. # - def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, vm_name, vm_extension_name, exte # # @return [VirtualMachineExtension] operation results. # - def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, vm_name, vm_extension_name, extension_parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -149,9 +149,9 @@ def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -180,8 +180,8 @@ def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [VirtualMachineExtension] operation results. # - def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -198,8 +198,8 @@ def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! end # @@ -215,7 +215,7 @@ def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -224,7 +224,6 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -283,8 +282,8 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo # # @return [VirtualMachineExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -302,8 +301,8 @@ def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, exte # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -320,7 +319,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_exten # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -330,12 +329,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -406,8 +406,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name # # @return [VirtualMachineExtension] operation results. # - def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -425,8 +425,8 @@ def begin_update(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -443,7 +443,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -453,12 +453,13 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineExtensionUpdate.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -517,8 +518,8 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -534,8 +535,8 @@ def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! end # @@ -550,7 +551,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -559,7 +560,6 @@ def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb index 7c75c29f43..363e044a44 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineImage] operation results. # - def get(location, publisher_name, offer, skus, version, custom_headers:nil) - response = get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get(location, publisher_name, offer, skus, version, custom_headers = nil) + response = get_async(location, publisher_name, offer, skus, version, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(location, publisher_name, offer, skus, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers:nil) - get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers = nil) + get_async(location, publisher_name, offer, skus, version, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(location, publisher_name, offer, skus, version, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, offer, skus, version, custom_headers:nil) + def get_async(location, publisher_name, offer, skus, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -80,7 +80,6 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -141,8 +140,8 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil # # @return [Array] operation results. # - def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -162,8 +161,8 @@ def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! end # @@ -182,7 +181,7 @@ def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -192,7 +191,6 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,13 +223,11 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -264,8 +260,8 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order # # @return [Array] operation results. # - def list_offers(location, publisher_name, custom_headers:nil) - response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers(location, publisher_name, custom_headers = nil) + response = list_offers_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -280,8 +276,8 @@ def list_offers(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_offers_with_http_info(location, publisher_name, custom_headers:nil) - list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers_with_http_info(location, publisher_name, custom_headers = nil) + list_offers_async(location, publisher_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_offers_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_offers_async(location, publisher_name, custom_headers:nil) + def list_offers_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_offers_async(location, publisher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -336,13 +331,11 @@ def list_offers_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -374,8 +367,8 @@ def list_offers_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_publishers(location, custom_headers:nil) - response = list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers(location, custom_headers = nil) + response = list_publishers_async(location, custom_headers).value! response.body unless response.nil? end @@ -389,8 +382,8 @@ def list_publishers(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_publishers_with_http_info(location, custom_headers:nil) - list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers_with_http_info(location, custom_headers = nil) + list_publishers_async(location, custom_headers).value! end # @@ -403,14 +396,13 @@ def list_publishers_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_publishers_async(location, custom_headers:nil) + def list_publishers_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,13 +435,11 @@ def list_publishers_async(location, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -483,8 +473,8 @@ def list_publishers_async(location, custom_headers:nil) # # @return [Array] operation results. # - def list_skus(location, publisher_name, offer, custom_headers:nil) - response = list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus(location, publisher_name, offer, custom_headers = nil) + response = list_skus_async(location, publisher_name, offer, custom_headers).value! response.body unless response.nil? end @@ -500,8 +490,8 @@ def list_skus(location, publisher_name, offer, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil) - list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus_with_http_info(location, publisher_name, offer, custom_headers = nil) + list_skus_async(location, publisher_name, offer, custom_headers).value! end # @@ -516,7 +506,7 @@ def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(location, publisher_name, offer, custom_headers:nil) + def list_skus_async(location, publisher_name, offer, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -525,7 +515,6 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -558,13 +547,11 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_run_commands.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_run_commands.rb index 894112cd0a..133d948078 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_run_commands.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [RunCommandDocument] operation results. # - def get(location, command_id, custom_headers:nil) - response = get_async(location, command_id, custom_headers:custom_headers).value! + def get(location, command_id, custom_headers = nil) + response = get_async(location, command_id, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def get(location, command_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, command_id, custom_headers:nil) - get_async(location, command_id, custom_headers:custom_headers).value! + def get_with_http_info(location, command_id, custom_headers = nil) + get_async(location, command_id, custom_headers).value! end # @@ -149,16 +147,14 @@ def get_with_http_info(location, command_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, command_id, custom_headers:nil) + def get_async(location, command_id, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, 'command_id is nil' if command_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -213,8 +209,8 @@ def get_async(location, command_id, custom_headers:nil) # # @return [RunCommandListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -228,8 +224,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -242,12 +238,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,12 +296,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RunCommandListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb index c7b73b061c..b2e55af495 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineScaleSetExtension] operation results. # - def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +83,8 @@ def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extensio # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! response.body unless response.nil? end @@ -99,9 +99,9 @@ def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -130,8 +130,8 @@ def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, cu # # @return [VirtualMachineScaleSetExtension] operation results. # - def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -148,8 +148,8 @@ def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand, custom_headers).value! end # @@ -165,7 +165,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expan request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -230,8 +229,8 @@ def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expan # # @return [Array] operation results. # - def list(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -246,8 +245,8 @@ def list(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -261,7 +260,7 @@ def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -269,7 +268,6 @@ def list_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -328,8 +326,8 @@ def list_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSetExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -347,8 +345,8 @@ def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extensio # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! end # @@ -365,7 +363,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -375,12 +373,13 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -449,8 +448,8 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_ex # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! response.body unless response.nil? end @@ -466,8 +465,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! end # @@ -482,7 +481,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_ext # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -491,7 +490,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -546,8 +544,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_na # # @return [VirtualMachineScaleSetExtensionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -561,8 +559,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -575,12 +573,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -636,12 +633,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetExtensionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb index 1601956b6b..f2cef816ce 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def cancel(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -45,9 +45,9 @@ def cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def cancel_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -117,8 +117,8 @@ def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers # # @return [RollingUpgradeStatusInfo] operation results. # - def get_latest(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_latest(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_latest_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -132,8 +132,8 @@ def get_latest(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_latest_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -146,7 +146,7 @@ def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -154,7 +154,6 @@ def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -209,8 +208,8 @@ def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -224,8 +223,8 @@ def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -238,7 +237,7 @@ def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -246,7 +245,6 @@ def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -303,8 +301,8 @@ def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -320,8 +318,8 @@ def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -336,7 +334,7 @@ def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -344,7 +342,6 @@ def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb index 147dbe698d..4f0096dc02 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -48,9 +48,9 @@ def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +78,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -93,9 +93,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -125,8 +125,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -140,9 +140,9 @@ def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -169,8 +169,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -184,9 +184,9 @@ def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +213,8 @@ def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [VirtualMachineScaleSetVM] operation results. # - def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -229,8 +229,8 @@ def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -244,7 +244,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -253,7 +253,6 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +308,8 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header # # @return [VirtualMachineScaleSetVMInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -325,8 +324,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -340,7 +339,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -349,7 +348,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +405,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [Array] operation results. # - def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers) + def list(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers) first_page.get_all_items end @@ -425,8 +423,8 @@ def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! end # @@ -442,7 +440,7 @@ def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, fil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) + def list_async(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -450,7 +448,6 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -508,8 +505,8 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -523,9 +520,9 @@ def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -552,8 +549,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -567,9 +564,9 @@ def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -596,8 +593,8 @@ def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -611,9 +608,9 @@ def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -641,8 +638,8 @@ def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -658,8 +655,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -674,7 +671,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -683,7 +680,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -740,8 +736,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -757,8 +753,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -773,7 +769,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -782,7 +778,6 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -841,8 +836,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -860,8 +855,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -878,7 +873,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -887,7 +882,6 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -943,8 +937,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -959,8 +953,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -974,7 +968,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -983,7 +977,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1041,8 +1034,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1059,8 +1052,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1076,7 +1069,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, insta # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1085,7 +1078,6 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1141,8 +1133,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1157,8 +1149,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1172,7 +1164,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1181,7 +1173,6 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1237,8 +1228,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1253,8 +1244,8 @@ def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1268,7 +1259,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1277,7 +1268,6 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1332,8 +1322,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [VirtualMachineScaleSetVMListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1347,8 +1337,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1361,12 +1351,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1424,12 +1413,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetVMListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - response = list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + response = list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb index e763440a64..364814e704 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineScaleSet] operation results. # - def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -49,9 +49,9 @@ def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -79,8 +79,8 @@ def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, c # # @return [VirtualMachineScaleSet] operation results. # - def update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -95,9 +95,9 @@ def update(resource_group_name, vm_scale_set_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -123,8 +123,8 @@ def update_async(resource_group_name, vm_scale_set_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -137,9 +137,9 @@ def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -165,8 +165,8 @@ def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def get(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -180,8 +180,8 @@ def get(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -194,7 +194,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -202,7 +202,6 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -261,8 +260,8 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -277,9 +276,9 @@ def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +306,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [OperationStatusResponse] operation results. # - def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -323,9 +322,9 @@ def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -351,8 +350,8 @@ def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [VirtualMachineScaleSetInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -366,8 +365,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -380,7 +379,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -388,7 +387,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -442,8 +440,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -456,8 +454,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -469,14 +467,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -532,8 +529,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -548,8 +545,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -563,13 +560,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -625,8 +621,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list_skus(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -641,8 +637,8 @@ def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -656,7 +652,7 @@ def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -664,7 +660,6 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -723,8 +718,8 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -739,9 +734,9 @@ def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -769,8 +764,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -785,9 +780,9 @@ def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -815,8 +810,8 @@ def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -831,9 +826,9 @@ def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -862,8 +857,8 @@ def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [OperationStatusResponse] operation results. # - def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -878,9 +873,9 @@ def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -909,8 +904,8 @@ def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -925,9 +920,9 @@ def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -956,8 +951,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -972,9 +967,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1002,8 +997,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [VirtualMachineScaleSet] operation results. # - def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1019,8 +1014,8 @@ def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! end # @@ -1035,7 +1030,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1044,12 +1039,13 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1118,8 +1114,8 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, paramet # # @return [VirtualMachineScaleSet] operation results. # - def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1135,8 +1131,8 @@ def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! end # @@ -1151,7 +1147,7 @@ def begin_update_with_http_info(resource_group_name, vm_scale_set_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1160,12 +1156,13 @@ def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1222,8 +1219,8 @@ def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1237,8 +1234,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1251,7 +1248,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1259,7 +1256,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1318,8 +1314,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1337,8 +1333,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1355,7 +1351,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1363,12 +1359,13 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1427,8 +1424,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1444,8 +1441,8 @@ def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1460,7 +1457,7 @@ def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1469,12 +1466,13 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1535,8 +1533,8 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1554,8 +1552,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1572,7 +1570,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_in # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1580,12 +1578,13 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1644,8 +1643,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1661,8 +1660,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1677,7 +1676,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1685,12 +1684,13 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1749,8 +1749,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1766,8 +1766,8 @@ def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1782,7 +1782,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1790,12 +1790,13 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1855,8 +1856,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [OperationStatusResponse] operation results. # - def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1873,8 +1874,8 @@ def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1890,7 +1891,7 @@ def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1899,12 +1900,13 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1964,8 +1966,8 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1982,8 +1984,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1999,7 +2001,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2007,12 +2009,13 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2072,8 +2075,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2090,8 +2093,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2107,7 +2110,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2115,12 +2118,13 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2177,8 +2181,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ # # @return [VirtualMachineScaleSetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2192,8 +2196,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2206,12 +2210,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2268,8 +2271,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListWithLinkResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2286,8 +2289,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -2303,12 +2306,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2363,8 +2365,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListSkusResult] operation results. # - def list_skus_next(next_page_link, custom_headers:nil) - response = list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next(next_page_link, custom_headers = nil) + response = list_skus_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2379,8 +2381,8 @@ def list_skus_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_next_with_http_info(next_page_link, custom_headers:nil) - list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next_with_http_info(next_page_link, custom_headers = nil) + list_skus_next_async(next_page_link, custom_headers).value! end # @@ -2394,12 +2396,11 @@ def list_skus_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_next_async(next_page_link, custom_headers:nil) + def list_skus_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2453,12 +2454,12 @@ def list_skus_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2476,12 +2477,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineScaleSetListWithLinkResult] which provide lazy access # to pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -2499,12 +2500,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualMachineScaleSetListSkusResult] which provide lazy access to # pages of the response. # - def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_skus_next_async(next_page_link, custom_headers:custom_headers) + list_skus_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb index d4ac433a66..bb5248fb70 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [VirtualMachineSizeListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +60,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb index dba026b6df..debd02f529 100644 --- a/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb +++ b/management/azure_mgmt_compute/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionsListResult] operation results. # - def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_extensions_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +74,6 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +131,8 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header # # @return [VirtualMachineCaptureResult] operation results. # - def capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -148,9 +147,9 @@ def capture(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -178,8 +177,8 @@ def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, vm_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -222,8 +221,8 @@ def create_or_update_async(resource_group_name, vm_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -236,9 +235,9 @@ def delete(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -267,8 +266,8 @@ def delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -285,8 +284,8 @@ def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -302,7 +301,7 @@ def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -310,7 +309,6 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -365,8 +363,8 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [VirtualMachineInstanceView] operation results. # - def instance_view(resource_group_name, vm_name, custom_headers:nil) - response = instance_view_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def instance_view(resource_group_name, vm_name, custom_headers = nil) + response = instance_view_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -380,8 +378,8 @@ def instance_view(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def instance_view_with_http_info(resource_group_name, vm_name, custom_headers:nil) - instance_view_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def instance_view_with_http_info(resource_group_name, vm_name, custom_headers = nil) + instance_view_async(resource_group_name, vm_name, custom_headers).value! end # @@ -394,7 +392,7 @@ def instance_view_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def instance_view_async(resource_group_name, vm_name, custom_headers:nil) + def instance_view_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -402,7 +400,6 @@ def instance_view_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -458,8 +455,8 @@ def instance_view_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -472,9 +469,9 @@ def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +498,8 @@ def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers: # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_name, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_name, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -515,9 +512,9 @@ def deallocate(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def deallocate_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -543,8 +540,8 @@ def deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def generalize(resource_group_name, vm_name, custom_headers:nil) - response = generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize(resource_group_name, vm_name, custom_headers = nil) + response = generalize_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -558,8 +555,8 @@ def generalize(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) - generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize_with_http_info(resource_group_name, vm_name, custom_headers = nil) + generalize_async(resource_group_name, vm_name, custom_headers).value! end # @@ -572,7 +569,7 @@ def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generalize_async(resource_group_name, vm_name, custom_headers:nil) + def generalize_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -580,7 +577,6 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -635,8 +631,8 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -650,8 +646,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -664,14 +660,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -725,8 +720,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -739,8 +734,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -752,13 +747,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -814,8 +808,8 @@ def list_all_async(custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, vm_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -830,8 +824,8 @@ def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! end # @@ -845,7 +839,7 @@ def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -853,7 +847,6 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,8 +903,8 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_name, custom_headers:nil) - response = power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_name, custom_headers = nil) + response = power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -924,9 +917,9 @@ def power_off(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_name, custom_headers:nil) + def power_off_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -952,8 +945,8 @@ def power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_name, custom_headers:nil) - response = restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_name, custom_headers = nil) + response = restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -966,9 +959,9 @@ def restart(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_name, custom_headers:nil) + def restart_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -994,8 +987,8 @@ def restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_name, custom_headers:nil) - response = start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def start(resource_group_name, vm_name, custom_headers = nil) + response = start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1008,9 +1001,9 @@ def start(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_name, custom_headers:nil) + def start_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1036,8 +1029,8 @@ def start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_name, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_name, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1050,9 +1043,9 @@ def redeploy(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def redeploy_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1078,8 +1071,8 @@ def redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def perform_maintenance(resource_group_name, vm_name, custom_headers:nil) - response = perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def perform_maintenance(resource_group_name, vm_name, custom_headers = nil) + response = perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1092,9 +1085,9 @@ def perform_maintenance(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) + def perform_maintenance_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1122,8 +1115,8 @@ def perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) # # @return [RunCommandResult] operation results. # - def run_command(resource_group_name, vm_name, parameters, custom_headers:nil) - response = run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def run_command(resource_group_name, vm_name, parameters, custom_headers = nil) + response = run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1138,9 +1131,9 @@ def run_command(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def run_command_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def run_command_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1169,8 +1162,8 @@ def run_command_async(resource_group_name, vm_name, parameters, custom_headers:n # # @return [VirtualMachineCaptureResult] operation results. # - def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1187,8 +1180,8 @@ def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1204,7 +1197,7 @@ def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1213,12 +1206,13 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1277,8 +1271,8 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers # # @return [VirtualMachine] operation results. # - def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1294,8 +1288,8 @@ def begin_create_or_update(resource_group_name, vm_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1310,7 +1304,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1319,12 +1313,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1391,8 +1386,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1406,8 +1401,8 @@ def begin_delete(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1420,7 +1415,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1428,7 +1423,6 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1484,8 +1478,8 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1500,8 +1494,8 @@ def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1515,7 +1509,7 @@ def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1523,7 +1517,6 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1579,8 +1572,8 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_name, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1595,8 +1588,8 @@ def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1610,7 +1603,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1618,7 +1611,6 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1675,8 +1667,8 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_name, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_name, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1692,8 +1684,8 @@ def begin_power_off(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1708,7 +1700,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1716,7 +1708,6 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1771,8 +1762,8 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_name, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1786,8 +1777,8 @@ def begin_restart(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_restart_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1800,7 +1791,7 @@ def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1808,7 +1799,6 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1863,8 +1853,8 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_name, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_name, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1878,8 +1868,8 @@ def begin_start(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_start_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1892,7 +1882,7 @@ def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_name, custom_headers:nil) + def begin_start_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1900,7 +1890,6 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1955,8 +1944,8 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_name, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1970,8 +1959,8 @@ def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1984,7 +1973,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1992,7 +1981,6 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2047,8 +2035,8 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_perform_maintenance(resource_group_name, vm_name, custom_headers:nil) - response = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_perform_maintenance(resource_group_name, vm_name, custom_headers = nil) + response = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -2062,8 +2050,8 @@ def begin_perform_maintenance(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! end # @@ -2076,7 +2064,7 @@ def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) + def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2084,7 +2072,6 @@ def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2141,8 +2128,8 @@ def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers # # @return [RunCommandResult] operation results. # - def begin_run_command(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_run_command(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2158,8 +2145,8 @@ def begin_run_command(resource_group_name, vm_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -2174,7 +2161,7 @@ def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2183,12 +2170,13 @@ def begin_run_command_async(resource_group_name, vm_name, parameters, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandInput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2246,8 +2234,8 @@ def begin_run_command_async(resource_group_name, vm_name, parameters, custom_hea # # @return [VirtualMachineListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2262,8 +2250,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2277,12 +2265,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2337,8 +2324,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2353,8 +2340,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -2368,12 +2355,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2428,12 +2414,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2449,12 +2435,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb index 38e5c1c3c7..b4490ba3b8 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb @@ -106,9 +106,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -125,7 +122,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2017_09_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2017_09_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb index 22ba966805..6c834016b6 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku.rb @@ -64,7 +64,6 @@ class ResourceSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSku', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'ResourceSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -81,7 +79,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -90,7 +87,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', @@ -99,7 +95,6 @@ def self.mapper() } }, size: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'size', @@ -108,7 +103,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'family', @@ -117,7 +111,6 @@ def self.mapper() } }, kind: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', @@ -126,7 +119,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', @@ -136,14 +128,12 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -153,14 +143,12 @@ def self.mapper() } }, location_info: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'locationInfo', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuLocationInfoElementType', type: { @@ -171,14 +159,12 @@ def self.mapper() } }, api_versions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'apiVersions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -188,14 +174,12 @@ def self.mapper() } }, costs: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'costs', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCostsElementType', type: { @@ -206,14 +190,12 @@ def self.mapper() } }, capabilities: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapabilitiesElementType', type: { @@ -224,14 +206,12 @@ def self.mapper() } }, restrictions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restrictions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictionsElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb index 9321011737..0482a17f38 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb @@ -25,7 +25,6 @@ class ResourceSkuCapabilities # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapabilities', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceSkuCapabilities', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capacity.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capacity.rb index 986428dd7c..bcc5d1de0f 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capacity.rb @@ -32,7 +32,6 @@ class ResourceSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ResourceSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'default', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb index b098265533..71d1eb3a9f 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb @@ -29,7 +29,6 @@ class ResourceSkuCosts # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuCosts', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ResourceSkuCosts', model_properties: { meter_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'meterID', @@ -46,7 +44,6 @@ def self.mapper() } }, quantity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'quantity', @@ -55,7 +52,6 @@ def self.mapper() } }, extended_unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extendedUnit', diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_location_info.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_location_info.rb index 274c13f169..0116aaab1d 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_location_info.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_location_info.rb @@ -27,7 +27,6 @@ class ResourceSkuLocationInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuLocationInfo', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceSkuLocationInfo', model_properties: { location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', @@ -44,14 +42,12 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb index ef211e2a30..a2b547f630 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb @@ -27,7 +27,6 @@ class ResourceSkuRestrictionInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictionInfo', type: { @@ -35,14 +34,12 @@ def self.mapper() class_name: 'ResourceSkuRestrictionInfo', model_properties: { locations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -52,14 +49,12 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb index fa87e68583..3fd19b865c 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb @@ -36,7 +36,6 @@ class ResourceSkuRestrictions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuRestrictions', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ResourceSkuRestrictions', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,14 +52,12 @@ def self.mapper() } }, values: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'values', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, restriction_info: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restrictionInfo', @@ -81,7 +76,6 @@ def self.mapper() } }, reason_code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'reasonCode', diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_skus_result.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_skus_result.rb index 14ebf3fc27..22e9a6b557 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_skus_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceSkusResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ResourceSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceSkuElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/resource_skus.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/resource_skus.rb index 600bbbea45..cd3b2f7284 100644 --- a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/resource_skus.rb +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/resource_skus.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ResourceSkusResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResourceSkusResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..b751be732e --- /dev/null +++ b/management/azure_mgmt_compute/lib/2017-09-01/generated/azure_mgmt_compute/version.rb @@ -0,0 +1,8 @@ +# 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. + +module Azure::Compute::Mgmt::V2017_09_01 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/availability_sets.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/availability_sets.rb index 4379ce83fa..f64ae74e16 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/availability_sets.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/availability_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [AvailabilitySet] operation results. # - def create_or_update(resource_group_name, availability_set_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, availability_set_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, availability_set_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, availability_set_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, availability_set_name, parameter request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -139,8 +140,8 @@ def create_or_update_async(resource_group_name, availability_set_name, parameter # # @return [AvailabilitySet] operation results. # - def update(resource_group_name, availability_set_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, availability_set_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -156,8 +157,8 @@ def update(resource_group_name, availability_set_name, parameters, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil) - update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers = nil) + update_async(resource_group_name, availability_set_name, parameters, custom_headers).value! end # @@ -172,7 +173,7 @@ def update_with_http_info(resource_group_name, availability_set_name, parameters # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, availability_set_name, parameters, custom_headers:nil) + def update_async(resource_group_name, availability_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -181,12 +182,13 @@ def update_async(resource_group_name, availability_set_name, parameters, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -243,8 +245,8 @@ def update_async(resource_group_name, availability_set_name, parameters, custom_ # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, availability_set_name, custom_headers:nil) - response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, availability_set_name, custom_headers = nil) + response = delete_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -258,8 +260,8 @@ def delete(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + delete_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -272,7 +274,7 @@ def delete_with_http_info(resource_group_name, availability_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, availability_set_name, custom_headers:nil) + def delete_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -280,7 +282,6 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -335,8 +336,8 @@ def delete_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySet] operation results. # - def get(resource_group_name, availability_set_name, custom_headers:nil) - response = get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, availability_set_name, custom_headers = nil) + response = get_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -350,8 +351,8 @@ def get(resource_group_name, availability_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - get_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + get_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -364,7 +365,7 @@ def get_with_http_info(resource_group_name, availability_set_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, availability_set_name, custom_headers:nil) + def get_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -372,7 +373,6 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -426,8 +426,8 @@ def get_async(resource_group_name, availability_set_name, custom_headers:nil) # # @return [AvailabilitySetListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -440,8 +440,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -453,14 +453,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -516,8 +515,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, availability_set_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, availability_set_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! response.body unless response.nil? end @@ -532,8 +531,8 @@ def list_available_sizes(resource_group_name, availability_set_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value! end # @@ -547,7 +546,7 @@ def list_available_sizes_with_http_info(resource_group_name, availability_set_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -555,7 +554,6 @@ def list_available_sizes_async(resource_group_name, availability_set_name, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb index df181f02b3..e582f4bc9a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb @@ -164,9 +164,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -183,7 +180,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2017_12_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2017_12_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/images.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/images.rb index 9fcf4db60e..2f52dfe31a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/images.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/images.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Image] operation results. # - def create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -47,9 +47,9 @@ def create_or_update(resource_group_name, image_name, parameters, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -77,8 +77,8 @@ def create_or_update_async(resource_group_name, image_name, parameters, custom_h # # @return [Image] operation results. # - def update(resource_group_name, image_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, image_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -93,9 +93,9 @@ def update(resource_group_name, image_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def update_async(resource_group_name, image_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, image_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -121,8 +121,8 @@ def update_async(resource_group_name, image_name, parameters, custom_headers:nil # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, image_name, custom_headers:nil) - response = delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def delete(resource_group_name, image_name, custom_headers = nil) + response = delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -135,9 +135,9 @@ def delete(resource_group_name, image_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, image_name, custom_headers:nil) + def delete_async(resource_group_name, image_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, image_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -164,8 +164,8 @@ def delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [Image] operation results. # - def get(resource_group_name, image_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, image_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, image_name, expand, custom_headers).value! response.body unless response.nil? end @@ -180,8 +180,8 @@ def get(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, image_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, image_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, image_name, expand, custom_headers).value! end # @@ -195,7 +195,7 @@ def get_with_http_info(resource_group_name, image_name, expand:nil, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, image_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -203,7 +203,6 @@ def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -257,8 +256,8 @@ def get_async(resource_group_name, image_name, expand:nil, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -271,8 +270,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -284,14 +283,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -346,8 +344,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +359,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -375,13 +373,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -437,8 +434,8 @@ def list_async(custom_headers:nil) # # @return [Image] operation results. # - def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -453,8 +450,8 @@ def begin_create_or_update(resource_group_name, image_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value! end # @@ -468,7 +465,7 @@ def begin_create_or_update_with_http_info(resource_group_name, image_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -477,12 +474,13 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::Image.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -551,8 +549,8 @@ def begin_create_or_update_async(resource_group_name, image_name, parameters, cu # # @return [Image] operation results. # - def begin_update(resource_group_name, image_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, image_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, image_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -568,8 +566,8 @@ def begin_update(resource_group_name, image_name, parameters, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, image_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, image_name, parameters, custom_headers).value! end # @@ -584,7 +582,7 @@ def begin_update_with_http_info(resource_group_name, image_name, parameters, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, image_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, image_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -593,12 +591,13 @@ def begin_update_async(resource_group_name, image_name, parameters, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::ImageUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -665,8 +664,8 @@ def begin_update_async(resource_group_name, image_name, parameters, custom_heade # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, image_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, image_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, image_name, custom_headers).value! response.body unless response.nil? end @@ -680,8 +679,8 @@ def begin_delete(resource_group_name, image_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, image_name, custom_headers:nil) - begin_delete_async(resource_group_name, image_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, image_name, custom_headers = nil) + begin_delete_async(resource_group_name, image_name, custom_headers).value! end # @@ -694,7 +693,7 @@ def begin_delete_with_http_info(resource_group_name, image_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, image_name, custom_headers:nil) + def begin_delete_async(resource_group_name, image_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'image_name is nil' if image_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -702,7 +701,6 @@ def begin_delete_async(resource_group_name, image_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,8 +755,8 @@ def begin_delete_async(resource_group_name, image_name, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -772,8 +770,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -786,12 +784,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -847,8 +844,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -864,8 +861,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -880,12 +877,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -938,12 +934,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -959,12 +955,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [ImageListResult] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/log_analytics.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/log_analytics.rb index 5ee8fd0dd4..83486384c0 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/log_analytics.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/log_analytics.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [LogAnalyticsOperationResult] operation results. # - def export_request_rate_by_interval(parameters, location, custom_headers:nil) - response = export_request_rate_by_interval_async(parameters, location, custom_headers:custom_headers).value! + def export_request_rate_by_interval(parameters, location, custom_headers = nil) + response = export_request_rate_by_interval_async(parameters, location, custom_headers).value! response.body unless response.nil? end @@ -50,9 +50,9 @@ def export_request_rate_by_interval(parameters, location, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def export_request_rate_by_interval_async(parameters, location, custom_headers:nil) + def export_request_rate_by_interval_async(parameters, location, custom_headers = nil) # Send request - promise = begin_export_request_rate_by_interval_async(parameters, location, custom_headers:custom_headers) + promise = begin_export_request_rate_by_interval_async(parameters, location, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -81,8 +81,8 @@ def export_request_rate_by_interval_async(parameters, location, custom_headers:n # # @return [LogAnalyticsOperationResult] operation results. # - def export_throttled_requests(parameters, location, custom_headers:nil) - response = export_throttled_requests_async(parameters, location, custom_headers:custom_headers).value! + def export_throttled_requests(parameters, location, custom_headers = nil) + response = export_throttled_requests_async(parameters, location, custom_headers).value! response.body unless response.nil? end @@ -97,9 +97,9 @@ def export_throttled_requests(parameters, location, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def export_throttled_requests_async(parameters, location, custom_headers:nil) + def export_throttled_requests_async(parameters, location, custom_headers = nil) # Send request - promise = begin_export_throttled_requests_async(parameters, location, custom_headers:custom_headers) + promise = begin_export_throttled_requests_async(parameters, location, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -128,8 +128,8 @@ def export_throttled_requests_async(parameters, location, custom_headers:nil) # # @return [LogAnalyticsOperationResult] operation results. # - def begin_export_request_rate_by_interval(parameters, location, custom_headers:nil) - response = begin_export_request_rate_by_interval_async(parameters, location, custom_headers:custom_headers).value! + def begin_export_request_rate_by_interval(parameters, location, custom_headers = nil) + response = begin_export_request_rate_by_interval_async(parameters, location, custom_headers).value! response.body unless response.nil? end @@ -146,8 +146,8 @@ def begin_export_request_rate_by_interval(parameters, location, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_export_request_rate_by_interval_with_http_info(parameters, location, custom_headers:nil) - begin_export_request_rate_by_interval_async(parameters, location, custom_headers:custom_headers).value! + def begin_export_request_rate_by_interval_with_http_info(parameters, location, custom_headers = nil) + begin_export_request_rate_by_interval_async(parameters, location, custom_headers).value! end # @@ -163,21 +163,21 @@ def begin_export_request_rate_by_interval_with_http_info(parameters, location, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_export_request_rate_by_interval_async(parameters, location, custom_headers:nil) + def begin_export_request_rate_by_interval_async(parameters, location, custom_headers = nil) fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::RequestRateByIntervalInput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -237,8 +237,8 @@ def begin_export_request_rate_by_interval_async(parameters, location, custom_hea # # @return [LogAnalyticsOperationResult] operation results. # - def begin_export_throttled_requests(parameters, location, custom_headers:nil) - response = begin_export_throttled_requests_async(parameters, location, custom_headers:custom_headers).value! + def begin_export_throttled_requests(parameters, location, custom_headers = nil) + response = begin_export_throttled_requests_async(parameters, location, custom_headers).value! response.body unless response.nil? end @@ -255,8 +255,8 @@ def begin_export_throttled_requests(parameters, location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_export_throttled_requests_with_http_info(parameters, location, custom_headers:nil) - begin_export_throttled_requests_async(parameters, location, custom_headers:custom_headers).value! + def begin_export_throttled_requests_with_http_info(parameters, location, custom_headers = nil) + begin_export_throttled_requests_async(parameters, location, custom_headers).value! end # @@ -272,21 +272,21 @@ def begin_export_throttled_requests_with_http_info(parameters, location, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_export_throttled_requests_async(parameters, location, custom_headers:nil) + def begin_export_throttled_requests_async(parameters, location, custom_headers = nil) fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::ThrottledRequestsInput.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb index 29057d98a3..a307f5aab6 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb @@ -42,7 +42,6 @@ class AdditionalUnattendContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContent', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'AdditionalUnattendContent', model_properties: { pass_name: { - client_side_validation: true, required: false, serialized_name: 'passName', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, component_name: { - client_side_validation: true, required: false, serialized_name: 'componentName', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, setting_name: { - client_side_validation: true, required: false, serialized_name: 'settingName', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb index a9cd5a0329..4471c7e5ab 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb @@ -23,7 +23,6 @@ class ApiEntityReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiEntityReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ApiEntityReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error.rb index 9e9d411dfc..8f04052672 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error.rb @@ -34,7 +34,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'ApiError', model_properties: { details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBaseElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, innererror: { - client_side_validation: true, required: false, serialized_name: 'innererror', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb index 20daca2dd1..43759b3c64 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb @@ -28,7 +28,6 @@ class ApiErrorBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiErrorBase', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApiErrorBase', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb index cb4f3f4754..e11136cdc1 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb @@ -23,7 +23,6 @@ class AutoOSUpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AutoOSUpgradePolicy', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'AutoOSUpgradePolicy', model_properties: { disable_auto_rollback: { - client_side_validation: true, required: false, serialized_name: 'disableAutoRollback', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set.rb index 7486505c95..ca0cf97805 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set.rb @@ -45,7 +45,6 @@ class AvailabilitySet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySet', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'AvailabilitySet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -120,13 +111,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -137,14 +126,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -155,7 +142,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb index 4af8408879..fa3e30c28a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb @@ -22,7 +22,6 @@ class AvailabilitySetListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AvailabilitySetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb index 69e984acd2..8d4faf511a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb @@ -36,7 +36,6 @@ class AvailabilitySetUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailabilitySetUpdate', type: { @@ -44,13 +43,11 @@ def self.mapper() class_name: 'AvailabilitySetUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, platform_update_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformUpdateDomainCount', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, virtual_machines: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -93,14 +86,12 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb index bca6c962f9..c224806a78 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb @@ -31,7 +31,6 @@ class BootDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnostics', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BootDiagnostics', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, storage_uri: { - client_side_validation: true, required: false, serialized_name: 'storageUri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb index 4f55f41bbc..ace75d639c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb @@ -25,7 +25,6 @@ class BootDiagnosticsInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BootDiagnosticsInstanceView', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BootDiagnosticsInstanceView', model_properties: { console_screenshot_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'consoleScreenshotBlobUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, serial_console_log_blob_uri: { - client_side_validation: true, required: false, serialized_name: 'serialConsoleLogBlobUri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb index f679fe3a35..97402954f1 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb @@ -22,7 +22,6 @@ class ComputeLongRunningOperationProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeLongRunningOperationProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ComputeLongRunningOperationProperties', model_properties: { output: { - client_side_validation: true, required: false, serialized_name: 'output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb index 7a2ae7928c..a9ed543193 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb @@ -22,7 +22,6 @@ class ComputeOperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeOperationListResult', type: { @@ -30,14 +29,12 @@ def self.mapper() class_name: 'ComputeOperationListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ComputeOperationValueElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb index c6f91116ec..f97459b2b4 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb @@ -38,7 +38,6 @@ class ComputeOperationValue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeOperationValue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ComputeOperationValue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -64,7 +61,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'display.operation', @@ -73,7 +69,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'display.resource', @@ -82,7 +77,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'display.description', @@ -91,7 +85,6 @@ def self.mapper() } }, provider: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'display.provider', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb index a5c7ffeec1..1b60ad3e8a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb @@ -67,7 +67,6 @@ class DataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDisk', type: { @@ -75,7 +74,6 @@ def self.mapper() class_name: 'DataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -83,7 +81,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -91,7 +88,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -100,7 +96,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -109,7 +104,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -118,7 +112,6 @@ def self.mapper() } }, write_accelerator_enabled: { - client_side_validation: true, required: false, serialized_name: 'writeAcceleratorEnabled', type: { @@ -126,7 +119,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -134,7 +126,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -142,7 +133,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb index 1b5551654e..4c46c5c51b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb @@ -24,7 +24,6 @@ class DataDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDiskImage', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'DataDiskImage', model_properties: { lun: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb index 729f46287d..220f7cd410 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb @@ -28,7 +28,6 @@ class DiagnosticsProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiagnosticsProfile', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'DiagnosticsProfile', model_properties: { boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb index 7d5b722e99..6313546e62 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb @@ -31,7 +31,6 @@ class DiskEncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'DiskEncryptionSettings', model_properties: { disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb index b4a2bdc870..e24e5547bc 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb @@ -29,7 +29,6 @@ class DiskInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'DiskInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettingsElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb index 7149bc2a20..66c9efc6a7 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb @@ -80,7 +80,6 @@ class HardwareProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HardwareProfile', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'HardwareProfile', model_properties: { vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image.rb index 6550d424e9..8da7f7b55a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image.rb @@ -32,7 +32,6 @@ class Image < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Image', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Image', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, source_virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceVirtualMachine', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -109,7 +100,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb index 6e7581e36c..b97d0bbd7a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb @@ -50,7 +50,6 @@ class ImageDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDataDisk', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ImageDataDisk', model_properties: { lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -92,7 +87,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_list_result.rb index 3933ce0dae..9acdba23f9 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ImageListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb index 8d616e102a..4aaa64d464 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb @@ -55,7 +55,6 @@ class ImageOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageOSDisk', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'ImageOSDisk', model_properties: { os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, os_state: { - client_side_validation: true, required: true, serialized_name: 'osState', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, snapshot: { - client_side_validation: true, required: false, serialized_name: 'snapshot', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, blob_uri: { - client_side_validation: true, required: false, serialized_name: 'blobUri', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -116,7 +109,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_reference.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_reference.rb index 1c4e6a4dd4..f070ad42bb 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_reference.rb @@ -42,7 +42,6 @@ class ImageReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageReference', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ImageReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb index d0a87b5277..d310a3c0c8 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb @@ -36,7 +36,6 @@ class ImageStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageStorageProfile', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ImageStorageProfile', model_properties: { os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -53,13 +51,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageDataDiskElementType', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, zone_resilient: { - client_side_validation: true, required: false, serialized_name: 'zoneResilient', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_update.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_update.rb index 0f85064f0b..a4f545daa7 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_update.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/image_update.rb @@ -30,7 +30,6 @@ class ImageUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageUpdate', type: { @@ -38,13 +37,11 @@ def self.mapper() class_name: 'ImageUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, source_virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceVirtualMachine', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/inner_error.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/inner_error.rb index b5b3f28d32..c33c6be3db 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/inner_error.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/inner_error.rb @@ -25,7 +25,6 @@ class InnerError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InnerError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'InnerError', model_properties: { exceptiontype: { - client_side_validation: true, required: false, serialized_name: 'exceptiontype', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, errordetail: { - client_side_validation: true, required: false, serialized_name: 'errordetail', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb index 814b980359..5f5eb86fd0 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb @@ -36,7 +36,6 @@ class InstanceViewStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatus', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'InstanceViewStatus', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, level: { - client_side_validation: true, required: false, serialized_name: 'level', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb index 926e42f6b2..e1d39bca0b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb @@ -26,7 +26,6 @@ class KeyVaultKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultKeyReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultKeyReference', model_properties: { key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb index 5242e9c096..72f5c848f3 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultSecretReference', model_properties: { secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb index 81d88da736..1424c76c45 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb @@ -33,7 +33,6 @@ class LinuxConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinuxConfiguration', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'LinuxConfiguration', model_properties: { disable_password_authentication: { - client_side_validation: true, required: false, serialized_name: 'disablePasswordAuthentication', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, ssh: { - client_side_validation: true, required: false, serialized_name: 'ssh', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb index 7d435704e9..610421fd57 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListUsagesResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ListUsagesResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb index c67c71eda8..30473e042a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb @@ -38,7 +38,6 @@ class LogAnalyticsInputBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogAnalyticsInputBase', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'LogAnalyticsInputBase', model_properties: { blob_container_sas_uri: { - client_side_validation: true, required: true, serialized_name: 'blobContainerSasUri', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, from_time: { - client_side_validation: true, required: true, serialized_name: 'fromTime', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, to_time: { - client_side_validation: true, required: true, serialized_name: 'toTime', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, group_by_throttle_policy: { - client_side_validation: true, required: false, serialized_name: 'groupByThrottlePolicy', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, group_by_operation_name: { - client_side_validation: true, required: false, serialized_name: 'groupByOperationName', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, group_by_resource_name: { - client_side_validation: true, required: false, serialized_name: 'groupByResourceName', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb index d54b9410c2..61335d7005 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb @@ -22,7 +22,6 @@ class LogAnalyticsOperationResult < OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogAnalyticsOperationResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'LogAnalyticsOperationResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -39,7 +37,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -48,7 +45,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -57,7 +53,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -66,7 +61,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', @@ -76,7 +70,6 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb index 773665a097..15c245134c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb @@ -22,7 +22,6 @@ class LogAnalyticsOutput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogAnalyticsOutput', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'LogAnalyticsOutput', model_properties: { output: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'output', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb index 5cf79a23a8..1574d70f52 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb @@ -42,7 +42,6 @@ class MaintenanceRedeployStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MaintenanceRedeployStatus', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'MaintenanceRedeployStatus', model_properties: { is_customer_initiated_maintenance_allowed: { - client_side_validation: true, required: false, serialized_name: 'isCustomerInitiatedMaintenanceAllowed', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, pre_maintenance_window_start_time: { - client_side_validation: true, required: false, serialized_name: 'preMaintenanceWindowStartTime', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, pre_maintenance_window_end_time: { - client_side_validation: true, required: false, serialized_name: 'preMaintenanceWindowEndTime', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, maintenance_window_start_time: { - client_side_validation: true, required: false, serialized_name: 'maintenanceWindowStartTime', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, maintenance_window_end_time: { - client_side_validation: true, required: false, serialized_name: 'maintenanceWindowEndTime', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, last_operation_result_code: { - client_side_validation: true, required: false, serialized_name: 'lastOperationResultCode', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, last_operation_message: { - client_side_validation: true, required: false, serialized_name: 'lastOperationMessage', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb index 2fe869530b..8c8d9d2ccd 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb @@ -24,7 +24,6 @@ class ManagedDiskParameters < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ManagedDiskParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ManagedDiskParameters', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -40,7 +38,6 @@ def self.mapper() } }, storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb index 96ae238d0e..d3317e37a2 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb @@ -23,7 +23,6 @@ class NetworkInterfaceReference < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'NetworkInterfaceReference', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -39,7 +37,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_profile.rb index 44ad46e209..91ef84dc25 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/network_profile.rb @@ -24,7 +24,6 @@ class NetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'NetworkProfile', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceReferenceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/operation_status_response.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/operation_status_response.rb index 912ad00d83..cbef385b59 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/operation_status_response.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/operation_status_response.rb @@ -34,7 +34,6 @@ class OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationStatusResponse', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'OperationStatusResponse', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +49,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -60,7 +57,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -69,7 +65,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -78,7 +73,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb index c70e74a6b1..ce43f46fe1 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb @@ -76,7 +76,6 @@ class OSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDisk', type: { @@ -84,7 +83,6 @@ def self.mapper() class_name: 'OSDisk', model_properties: { os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -93,7 +91,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'vhd', type: { @@ -119,7 +114,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -128,7 +122,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -137,7 +130,6 @@ def self.mapper() } }, write_accelerator_enabled: { - client_side_validation: true, required: false, serialized_name: 'writeAcceleratorEnabled', type: { @@ -145,7 +137,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb index 9fc34d7ca4..f109540b08 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb @@ -23,7 +23,6 @@ class OSDiskImage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSDiskImage', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'OSDiskImage', model_properties: { operating_system: { - client_side_validation: true, required: true, serialized_name: 'operatingSystem', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osprofile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osprofile.rb index 2e74a9c1c3..a50ec20306 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/osprofile.rb @@ -86,7 +86,6 @@ class OSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OSProfile', type: { @@ -94,7 +93,6 @@ def self.mapper() class_name: 'OSProfile', model_properties: { computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -126,7 +121,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -144,13 +137,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/plan.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/plan.rb index 759aa9919c..cd7d5faf4c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/plan.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/plan.rb @@ -38,7 +38,6 @@ class Plan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Plan', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'Plan', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: false, serialized_name: 'product', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, promotion_code: { - client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb index 6d1ab296f6..91498c7f3f 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb @@ -31,7 +31,6 @@ class PurchasePlan # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PurchasePlan', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'PurchasePlan', model_properties: { publisher: { - client_side_validation: true, required: true, serialized_name: 'publisher', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, product: { - client_side_validation: true, required: true, serialized_name: 'product', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb index e8ae495219..22399f2fea 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb @@ -26,7 +26,6 @@ class RecoveryWalkResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RecoveryWalkResponse', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RecoveryWalkResponse', model_properties: { walk_performed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'walkPerformed', @@ -43,7 +41,6 @@ def self.mapper() } }, next_platform_update_domain: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextPlatformUpdateDomain', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb index f459e34514..d57ca2a63d 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb @@ -24,7 +24,6 @@ class RequestRateByIntervalInput < LogAnalyticsInputBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RequestRateByIntervalInput', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'RequestRateByIntervalInput', model_properties: { blob_container_sas_uri: { - client_side_validation: true, required: true, serialized_name: 'blobContainerSasUri', type: { @@ -40,7 +38,6 @@ def self.mapper() } }, from_time: { - client_side_validation: true, required: true, serialized_name: 'fromTime', type: { @@ -48,7 +45,6 @@ def self.mapper() } }, to_time: { - client_side_validation: true, required: true, serialized_name: 'toTime', type: { @@ -56,7 +52,6 @@ def self.mapper() } }, group_by_throttle_policy: { - client_side_validation: true, required: false, serialized_name: 'groupByThrottlePolicy', type: { @@ -64,7 +59,6 @@ def self.mapper() } }, group_by_operation_name: { - client_side_validation: true, required: false, serialized_name: 'groupByOperationName', type: { @@ -72,7 +66,6 @@ def self.mapper() } }, group_by_resource_name: { - client_side_validation: true, required: false, serialized_name: 'groupByResourceName', type: { @@ -80,7 +73,6 @@ def self.mapper() } }, interval_length: { - client_side_validation: true, required: true, serialized_name: 'intervalLength', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/resource.rb index 8982f79424..a90793e168 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb index 7e9f1e6eeb..1ae0175f3b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb @@ -30,7 +30,6 @@ class RollbackStatusInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollbackStatusInfo', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'RollbackStatusInfo', model_properties: { successfully_rolledback_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'successfullyRolledbackInstanceCount', @@ -47,7 +45,6 @@ def self.mapper() } }, failed_rolledback_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'failedRolledbackInstanceCount', @@ -56,7 +53,6 @@ def self.mapper() } }, rollback_error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'rollbackError', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb index 24faf4a251..c69d95c2f8 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb @@ -48,7 +48,6 @@ class RollingUpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradePolicy', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'RollingUpgradePolicy', model_properties: { max_batch_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxBatchInstancePercent', constraints: { @@ -68,7 +66,6 @@ def self.mapper() } }, max_unhealthy_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxUnhealthyInstancePercent', constraints: { @@ -80,7 +77,6 @@ def self.mapper() } }, max_unhealthy_upgraded_instance_percent: { - client_side_validation: true, required: false, serialized_name: 'maxUnhealthyUpgradedInstancePercent', constraints: { @@ -92,7 +88,6 @@ def self.mapper() } }, pause_time_between_batches: { - client_side_validation: true, required: false, serialized_name: 'pauseTimeBetweenBatches', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb index 1226fe2d37..ef4fd1826d 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb @@ -36,7 +36,6 @@ class RollingUpgradeProgressInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeProgressInfo', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'RollingUpgradeProgressInfo', model_properties: { successful_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'successfulInstanceCount', @@ -53,7 +51,6 @@ def self.mapper() } }, failed_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'failedInstanceCount', @@ -62,7 +59,6 @@ def self.mapper() } }, in_progress_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'inProgressInstanceCount', @@ -71,7 +67,6 @@ def self.mapper() } }, pending_instance_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'pendingInstanceCount', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb index aaa6866561..9ce42b870f 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb @@ -34,7 +34,6 @@ class RollingUpgradeRunningStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeRunningStatus', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RollingUpgradeRunningStatus', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -52,7 +50,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -61,7 +58,6 @@ def self.mapper() } }, last_action: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastAction', @@ -71,7 +67,6 @@ def self.mapper() } }, last_action_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastActionTime', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb index e7330fce0a..baf9edb6e3 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb @@ -34,7 +34,6 @@ class RollingUpgradeStatusInfo < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RollingUpgradeStatusInfo', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RollingUpgradeStatusInfo', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,7 +86,6 @@ def self.mapper() } }, policy: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.policy', @@ -103,7 +95,6 @@ def self.mapper() } }, running_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.runningStatus', @@ -113,7 +104,6 @@ def self.mapper() } }, progress: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.progress', @@ -123,7 +113,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.error', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document.rb index 86f1556efb..87cd093444 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document.rb @@ -26,7 +26,6 @@ class RunCommandDocument < RunCommandDocumentBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocument', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'RunCommandDocument', model_properties: { schema: { - client_side_validation: true, required: true, serialized_name: '$schema', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -59,7 +55,6 @@ def self.mapper() } }, label: { - client_side_validation: true, required: true, serialized_name: 'label', type: { @@ -67,7 +62,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: true, serialized_name: 'description', type: { @@ -75,13 +69,11 @@ def self.mapper() } }, script: { - client_side_validation: true, required: true, serialized_name: 'script', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandParameterDefinitionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb index a6fb20c8a5..550f7487ff 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb @@ -35,7 +35,6 @@ class RunCommandDocumentBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocumentBase', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RunCommandDocumentBase', model_properties: { schema: { - client_side_validation: true, required: true, serialized_name: '$schema', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, label: { - client_side_validation: true, required: true, serialized_name: 'label', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: true, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input.rb index 5476549734..fe39e0eabd 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input.rb @@ -30,7 +30,6 @@ class RunCommandInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandInput', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'RunCommandInput', model_properties: { command_id: { - client_side_validation: true, required: true, serialized_name: 'commandId', type: { @@ -46,13 +44,11 @@ def self.mapper() } }, script: { - client_side_validation: true, required: false, serialized_name: 'script', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandInputParameterElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb index 0d2c7fc043..5d8d794701 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb @@ -25,7 +25,6 @@ class RunCommandInputParameter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandInputParameter', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'RunCommandInputParameter', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb index be00d5b41c..1f6a3e9a7c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'RunCommandListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RunCommandDocumentBaseElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb index 2cb1c2b7ad..365e5bc8e6 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb @@ -32,7 +32,6 @@ class RunCommandParameterDefinition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandParameterDefinition', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'RunCommandParameterDefinition', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, serialized_name: 'type', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, default_value: { - client_side_validation: true, required: false, serialized_name: 'defaultValue', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, required: { - client_side_validation: true, required: false, serialized_name: 'required', default_value: false, diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_result.rb index 11298fb276..a6d720391a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/run_command_result.rb @@ -22,7 +22,6 @@ class RunCommandResult < OperationStatusResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RunCommandResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'RunCommandResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -39,7 +37,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', @@ -48,7 +45,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -57,7 +53,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', @@ -66,7 +61,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', @@ -76,7 +70,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sku.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sku.rb index e58940ab51..16babd6202 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sku.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sku.rb @@ -31,7 +31,6 @@ class Sku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Sku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Sku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb index 850c3e3b5b..1760f59b1c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb @@ -23,7 +23,6 @@ class SshConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SshConfiguration', model_properties: { public_keys: { - client_side_validation: true, required: false, serialized_name: 'publicKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SshPublicKeyElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb index e9050d0104..6358731d6e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb @@ -32,7 +32,6 @@ class SshPublicKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SshPublicKey', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'SshPublicKey', model_properties: { path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_data: { - client_side_validation: true, required: false, serialized_name: 'keyData', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/storage_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/storage_profile.rb index 48d7ecdbc8..1f4efa6937 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/storage_profile.rb @@ -38,7 +38,6 @@ class StorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageProfile', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'StorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -64,13 +61,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource.rb index ba7f72a62a..cd71c5e453 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb index b01b293ef5..d13021a5bf 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb @@ -23,7 +23,6 @@ class SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResourceReadOnly', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResourceReadOnly', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb index d76de244ad..ab271ef73a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb @@ -19,7 +19,6 @@ class ThrottledRequestsInput < LogAnalyticsInputBase # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ThrottledRequestsInput', type: { @@ -27,7 +26,6 @@ def self.mapper() class_name: 'ThrottledRequestsInput', model_properties: { blob_container_sas_uri: { - client_side_validation: true, required: true, serialized_name: 'blobContainerSasUri', type: { @@ -35,7 +33,6 @@ def self.mapper() } }, from_time: { - client_side_validation: true, required: true, serialized_name: 'fromTime', type: { @@ -43,7 +40,6 @@ def self.mapper() } }, to_time: { - client_side_validation: true, required: true, serialized_name: 'toTime', type: { @@ -51,7 +47,6 @@ def self.mapper() } }, group_by_throttle_policy: { - client_side_validation: true, required: false, serialized_name: 'groupByThrottlePolicy', type: { @@ -59,7 +54,6 @@ def self.mapper() } }, group_by_operation_name: { - client_side_validation: true, required: false, serialized_name: 'groupByOperationName', type: { @@ -67,7 +61,6 @@ def self.mapper() } }, group_by_resource_name: { - client_side_validation: true, required: false, serialized_name: 'groupByResourceName', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/update_resource.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/update_resource.rb index 40edceeac0..996ea559f5 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/update_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/update_resource.rb @@ -22,7 +22,6 @@ class UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpdateResource', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UpdateResource', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb index 457d4a90f4..87d34dd16b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb @@ -29,7 +29,6 @@ class UpgradeOperationHistoricalStatusInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradeOperationHistoricalStatusInfo', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'UpgradeOperationHistoricalStatusInfo', model_properties: { properties: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties', @@ -47,7 +45,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'location', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb index a8d67cff3a..896f12e7de 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb @@ -40,7 +40,6 @@ class UpgradeOperationHistoricalStatusInfoProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradeOperationHistoricalStatusInfoProperties', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'UpgradeOperationHistoricalStatusInfoProperties', model_properties: { running_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'runningStatus', @@ -58,7 +56,6 @@ def self.mapper() } }, progress: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'progress', @@ -68,7 +65,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', @@ -78,7 +74,6 @@ def self.mapper() } }, started_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startedBy', @@ -88,7 +83,6 @@ def self.mapper() } }, target_image_reference: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'targetImageReference', @@ -98,7 +92,6 @@ def self.mapper() } }, rollback_info: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'rollbackInfo', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb index 8d24be45e8..d812c37c9f 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb @@ -30,7 +30,6 @@ class UpgradeOperationHistoryStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradeOperationHistoryStatus', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'UpgradeOperationHistoryStatus', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -48,7 +46,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -57,7 +54,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb index d482fde570..78bb6b35f9 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb @@ -41,7 +41,6 @@ class UpgradePolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UpgradePolicy', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'UpgradePolicy', model_properties: { mode: { - client_side_validation: true, required: false, serialized_name: 'mode', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, rolling_upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'rollingUpgradePolicy', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, automatic_osupgrade: { - client_side_validation: true, required: false, serialized_name: 'automaticOSUpgrade', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, auto_osupgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'autoOSUpgradePolicy', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage.rb index 52caf08939..4974ac4b43 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage_name.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage_name.rb index 6609074b5e..eb019fdd93 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage_name.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb index e84dc8c592..982e0f6e1f 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb @@ -40,7 +40,6 @@ class VaultCertificate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VaultCertificate', model_properties: { certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, certificate_store: { - client_side_validation: true, required: false, serialized_name: 'certificateStore', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb index 147ff878c5..1567a9dee6 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb @@ -27,7 +27,6 @@ class VaultSecretGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VaultSecretGroup', model_properties: { source_vault: { - client_side_validation: true, required: false, serialized_name: 'sourceVault', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, vault_certificates: { - client_side_validation: true, required: false, serialized_name: 'vaultCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultCertificateElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb index 1e508f4939..4fe581f3af 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb @@ -22,7 +22,6 @@ class VirtualHardDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualHardDisk', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualHardDisk', model_properties: { uri: { - client_side_validation: true, required: false, serialized_name: 'uri', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb index b24b66c417..1572919182 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb @@ -95,7 +95,6 @@ class VirtualMachine < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachine', type: { @@ -103,7 +102,6 @@ def self.mapper() class_name: 'VirtualMachine', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -112,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -121,7 +118,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -130,7 +126,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -138,13 +133,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -154,7 +147,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -163,7 +155,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -172,7 +163,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -181,7 +171,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -190,7 +179,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -199,7 +187,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -208,7 +195,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -217,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -226,7 +211,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -236,7 +220,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -244,7 +227,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -253,14 +235,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { @@ -271,7 +251,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -280,13 +259,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb index 2d42d935d3..abf3afe72d 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb @@ -29,7 +29,6 @@ class VirtualMachineAgentInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineAgentInstanceView', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineAgentInstanceView', model_properties: { vm_agent_version: { - client_side_validation: true, required: false, serialized_name: 'vmAgentVersion', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, extension_handlers: { - client_side_validation: true, required: false, serialized_name: 'extensionHandlers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceViewElementType', type: { @@ -62,13 +58,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb index 8cde403a75..70c23fdaa3 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb @@ -29,7 +29,6 @@ class VirtualMachineCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureParameters', model_properties: { vhd_prefix: { - client_side_validation: true, required: true, serialized_name: 'vhdPrefix', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, destination_container_name: { - client_side_validation: true, required: true, serialized_name: 'destinationContainerName', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, overwrite_vhds: { - client_side_validation: true, required: true, serialized_name: 'overwriteVhds', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb index 4594de1f29..78145742c5 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb @@ -22,7 +22,6 @@ class VirtualMachineCaptureResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineCaptureResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineCaptureResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -38,7 +36,6 @@ def self.mapper() } }, output: { - client_side_validation: true, required: false, serialized_name: 'properties.output', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb index 7aa60fbfee..d20eaa19f3 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineExtension < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineExtension', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, virtual_machine_extension_type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -178,7 +163,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, serialized_name: 'properties.instanceView', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb index e217133514..9fb6431675 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineExtensionHandlerInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionHandlerInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionHandlerInstanceView', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb index 98ffbb836c..8afef97f9a 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb @@ -39,7 +39,6 @@ class VirtualMachineExtensionImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImage', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionImage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, operating_system: { - client_side_validation: true, required: true, serialized_name: 'properties.operatingSystem', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, compute_role: { - client_side_validation: true, required: true, serialized_name: 'properties.computeRole', type: { @@ -114,7 +105,6 @@ def self.mapper() } }, handler_schema: { - client_side_validation: true, required: true, serialized_name: 'properties.handlerSchema', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, vm_scale_set_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.vmScaleSetEnabled', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, supports_multiple_extensions: { - client_side_validation: true, required: false, serialized_name: 'properties.supportsMultipleExtensions', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb index 9dcdc2526e..1a08380111 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb @@ -35,7 +35,6 @@ class VirtualMachineExtensionInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceView', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualMachineExtensionInstanceView', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'typeHandlerVersion', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, substatuses: { - client_side_validation: true, required: false, serialized_name: 'substatuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -84,13 +78,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb index b89b6eb960..08a399cf0e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb @@ -46,7 +46,6 @@ class VirtualMachineExtensionUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionUpdate', type: { @@ -54,13 +53,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb index c8d9311672..d6deaea032 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineExtensionsListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionsListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineExtensionsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb index 3964e2f081..6480ad950b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb @@ -22,7 +22,6 @@ class VirtualMachineHealthStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineHealthStatus', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'VirtualMachineHealthStatus', model_properties: { status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'status', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb index 1dea56cbe1..5218a737c9 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb @@ -41,7 +41,6 @@ class VirtualMachineIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineIdentity', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'VirtualMachineIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -58,7 +56,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -67,7 +64,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -76,13 +72,11 @@ def self.mapper() } }, identity_ids: { - client_side_validation: true, required: false, serialized_name: 'identityIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb index 0905e105ea..667357e92e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb @@ -28,7 +28,6 @@ class VirtualMachineImage < VirtualMachineImageResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImage', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VirtualMachineImage', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -60,13 +56,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -76,7 +70,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'properties.plan', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, os_disk_image: { - client_side_validation: true, required: false, serialized_name: 'properties.osDiskImage', type: { @@ -94,13 +86,11 @@ def self.mapper() } }, data_disk_images: { - client_side_validation: true, required: false, serialized_name: 'properties.dataDiskImages', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DataDiskImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb index 168528c6b7..98665b8aad 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb @@ -31,7 +31,6 @@ class VirtualMachineImageResource < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResource', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineImageResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -63,13 +59,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb index 5f419073d3..2b40929b35 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb @@ -64,7 +64,6 @@ class VirtualMachineInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineInstanceView', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'VirtualMachineInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -80,7 +78,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -88,7 +85,6 @@ def self.mapper() } }, computer_name: { - client_side_validation: true, required: false, serialized_name: 'computerName', type: { @@ -96,7 +92,6 @@ def self.mapper() } }, os_name: { - client_side_validation: true, required: false, serialized_name: 'osName', type: { @@ -104,7 +99,6 @@ def self.mapper() } }, os_version: { - client_side_validation: true, required: false, serialized_name: 'osVersion', type: { @@ -112,7 +106,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -120,7 +113,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, maintenance_redeploy_status: { - client_side_validation: true, required: false, serialized_name: 'maintenanceRedeployStatus', type: { @@ -138,13 +129,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -155,13 +144,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -172,7 +159,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -181,13 +167,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb index 3523ae66cb..f015596f80 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualMachineListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb index 7b97057253..699e01d0a8 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb @@ -67,7 +67,6 @@ class VirtualMachineScaleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSet', type: { @@ -75,7 +74,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSet', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -84,7 +82,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -93,7 +90,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -102,7 +98,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -110,13 +105,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -126,7 +119,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -135,7 +127,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -162,7 +151,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -171,7 +159,6 @@ def self.mapper() } }, overprovision: { - client_side_validation: true, required: false, serialized_name: 'properties.overprovision', type: { @@ -179,7 +166,6 @@ def self.mapper() } }, unique_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.uniqueId', @@ -188,7 +174,6 @@ def self.mapper() } }, single_placement_group: { - client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { @@ -196,7 +181,6 @@ def self.mapper() } }, zone_balance: { - client_side_validation: true, required: false, serialized_name: 'properties.zoneBalance', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, platform_fault_domain_count: { - client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomainCount', type: { @@ -212,7 +195,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -221,13 +203,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb index c3929bb468..71e0de91ec 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb @@ -52,7 +52,6 @@ class VirtualMachineScaleSetDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDisk', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetDataDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: true, serialized_name: 'lun', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, write_accelerator_enabled: { - client_side_validation: true, required: false, serialized_name: 'writeAcceleratorEnabled', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb index c343c03bef..8f7e668e99 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb @@ -54,7 +54,6 @@ class VirtualMachineScaleSetExtension < SubResourceReadOnly # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtension', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtension', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, force_update_tag: { - client_side_validation: true, required: false, serialized_name: 'properties.forceUpdateTag', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'properties.publisher', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'properties.type', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, type_handler_version: { - client_side_validation: true, required: false, serialized_name: 'properties.typeHandlerVersion', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, auto_upgrade_minor_version: { - client_side_validation: true, required: false, serialized_name: 'properties.autoUpgradeMinorVersion', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, settings: { - client_side_validation: true, required: false, serialized_name: 'properties.settings', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, protected_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.protectedSettings', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb index c449441143..05241b9ceb 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionListResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb index 173d197fab..e25bc3069e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetExtensionProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionProfile', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetExtensionProfile', model_properties: { extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb index 48a07c92bf..814ca63339 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb @@ -43,7 +43,6 @@ class VirtualMachineScaleSetIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIdentity', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIdentity', model_properties: { principal_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'principalId', @@ -60,7 +58,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', @@ -69,7 +66,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, identity_ids: { - client_side_validation: true, required: false, serialized_name: 'identityIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb index 9db5079157..8f6dd2ae7b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb @@ -30,7 +30,6 @@ class VirtualMachineScaleSetInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceView', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceView', model_properties: { virtual_machine: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'virtualMachine', @@ -48,14 +46,12 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummaryElementType', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb index 8f007f5734..37d1d95d4d 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetInstanceViewStatusesSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', type: { @@ -33,14 +32,12 @@ def self.mapper() class_name: 'VirtualMachineScaleSetInstanceViewStatusesSummary', model_properties: { statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb index 55cdd56db5..fadc20af12 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb @@ -57,7 +57,6 @@ class VirtualMachineScaleSetIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfiguration', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, public_ipaddress_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressConfiguration', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -132,13 +123,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,13 +138,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb index e6f85ec57e..366f55a134 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb @@ -63,7 +63,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListOSUpgradeHistory', type: { @@ -71,13 +70,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListOSUpgradeHistory', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UpgradeOperationHistoricalStatusInfoElementType', type: { @@ -88,7 +85,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb index 6461fcf1fa..90755ee239 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb index 05989f843e..415aa0e9c9 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListSkusResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListSkusResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb index 9c4187d97a..1979dff9a4 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetListWithLinkResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetListWithLinkResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb index a52c2c3b27..1d3e395c1b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetManagedDiskParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetManagedDiskParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetManagedDiskParameters', model_properties: { storage_account_type: { - client_side_validation: true, required: false, serialized_name: 'storageAccountType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb index a2156417a3..3de0c443d2 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb @@ -46,7 +46,6 @@ class VirtualMachineScaleSetNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetIPConfigurationElementType', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb index 9273105cdb..af7e708248 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb @@ -24,7 +24,6 @@ class VirtualMachineScaleSetNetworkConfigurationDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkConfigurationDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb index 69008104e8..1812b9fa27 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkProfile', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetNetworkProfile', model_properties: { health_probe: { - client_side_validation: true, required: false, serialized_name: 'healthProbe', type: { @@ -46,13 +44,11 @@ def self.mapper() } }, network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb index f2cf3d5234..d519322d07 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb @@ -61,7 +61,6 @@ class VirtualMachineScaleSetOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSDisk', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, write_accelerator_enabled: { - client_side_validation: true, required: false, serialized_name: 'writeAcceleratorEnabled', type: { @@ -94,7 +90,6 @@ def self.mapper() } }, create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -111,7 +105,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -120,13 +113,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -136,7 +127,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb index 6d0cf455d3..3028efa3b4 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb @@ -84,7 +84,6 @@ class VirtualMachineScaleSetOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetOSProfile', type: { @@ -92,7 +91,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetOSProfile', model_properties: { computer_name_prefix: { - client_side_validation: true, required: false, serialized_name: 'computerNamePrefix', type: { @@ -100,7 +98,6 @@ def self.mapper() } }, admin_username: { - client_side_validation: true, required: false, serialized_name: 'adminUsername', type: { @@ -108,7 +105,6 @@ def self.mapper() } }, admin_password: { - client_side_validation: true, required: false, serialized_name: 'adminPassword', type: { @@ -116,7 +112,6 @@ def self.mapper() } }, custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -124,7 +119,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -133,7 +127,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -142,13 +135,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb index 26f9a31b8e..49c9ad2fcb 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetPublicIPAddressConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetPublicIPAddressConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetPublicIPAddressConfiguration', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb index 4d8a622359..e17c7f2f67 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: true, serialized_name: 'domainNameLabel', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb index 57e5b0266c..601f95b643 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSku', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSku', model_properties: { resource_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', @@ -46,7 +44,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'capacity', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb index 1e4a45bf7b..7e59c9afe6 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb @@ -32,7 +32,6 @@ class VirtualMachineScaleSetSkuCapacity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetSkuCapacity', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetSkuCapacity', model_properties: { minimum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minimum', @@ -49,7 +47,6 @@ def self.mapper() } }, maximum: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maximum', @@ -58,7 +55,6 @@ def self.mapper() } }, default_capacity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'defaultCapacity', @@ -67,7 +63,6 @@ def self.mapper() } }, scale_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'scaleType', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb index 80cee250a4..2885ef9a91 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb @@ -40,7 +40,6 @@ class VirtualMachineScaleSetStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetStorageProfile', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb index 086bf73c2e..6de29925da 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb @@ -45,7 +45,6 @@ class VirtualMachineScaleSetUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdate', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, upgrade_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.upgradePolicy', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, virtual_machine_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineProfile', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, overprovision: { - client_side_validation: true, required: false, serialized_name: 'properties.overprovision', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, single_placement_group: { - client_side_validation: true, required: false, serialized_name: 'properties.singlePlacementGroup', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb index 7e0329585e..75dd16062c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb @@ -50,7 +50,6 @@ class VirtualMachineScaleSetUpdateIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateIPConfiguration', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, public_ipaddress_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressConfiguration', type: { @@ -100,7 +94,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -125,13 +116,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -142,13 +131,11 @@ def self.mapper() } }, load_balancer_inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb index d0f5ead54e..eabcd74c61 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb @@ -45,7 +45,6 @@ class VirtualMachineScaleSetUpdateNetworkConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateNetworkConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -103,13 +96,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateIPConfigurationElementType', type: { @@ -120,7 +111,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb index 0f1cdf32ed..3f055735cf 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb @@ -24,7 +24,6 @@ class VirtualMachineScaleSetUpdateNetworkProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkProfile', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateNetworkProfile', model_properties: { network_interface_configurations: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateNetworkConfigurationElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb index ee0c047505..66ab45c4af 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb @@ -41,7 +41,6 @@ class VirtualMachineScaleSetUpdateOSDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateOSDisk', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateOSDisk', model_properties: { caching: { - client_side_validation: true, required: false, serialized_name: 'caching', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, write_accelerator_enabled: { - client_side_validation: true, required: false, serialized_name: 'writeAcceleratorEnabled', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: false, serialized_name: 'image', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, vhd_containers: { - client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, managed_disk: { - client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb index f9162a6c7c..8097474468 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb @@ -33,7 +33,6 @@ class VirtualMachineScaleSetUpdateOSProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateOSProfile', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateOSProfile', model_properties: { custom_data: { - client_side_validation: true, required: false, serialized_name: 'customData', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, windows_configuration: { - client_side_validation: true, required: false, serialized_name: 'windowsConfiguration', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, linux_configuration: { - client_side_validation: true, required: false, serialized_name: 'linuxConfiguration', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, secrets: { - client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VaultSecretGroupElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb index 49c4ff73da..5f75949cad 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb @@ -31,7 +31,6 @@ class VirtualMachineScaleSetUpdatePublicIPAddressConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdatePublicIPAddressConfiguration', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb index 33a2b159fa..76ea9b7538 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb @@ -29,7 +29,6 @@ class VirtualMachineScaleSetUpdateStorageProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateStorageProfile', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateStorageProfile', model_properties: { image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, os_disk: { - client_side_validation: true, required: false, serialized_name: 'osDisk', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDiskElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb index d578168ad8..583371c2ad 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb @@ -43,7 +43,6 @@ class VirtualMachineScaleSetUpdateVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateVMProfile', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetUpdateVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'diagnosticsProfile', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'licenseType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb index 2c571772a0..f90dca4797 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb @@ -96,7 +96,6 @@ class VirtualMachineScaleSetVM < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVM', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVM', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -113,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -122,7 +119,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,7 +127,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -139,13 +134,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -155,7 +148,6 @@ def self.mapper() } }, instance_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceId', @@ -164,7 +156,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sku', @@ -174,7 +165,6 @@ def self.mapper() } }, latest_model_applied: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.latestModelApplied', @@ -183,7 +173,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -192,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -202,7 +190,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -211,7 +198,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -220,7 +206,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -229,7 +214,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -238,7 +222,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -247,7 +230,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -256,7 +238,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -265,7 +246,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -273,7 +253,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -282,14 +261,12 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb index 7f76cb3cb2..a85418f1aa 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb @@ -27,7 +27,6 @@ class VirtualMachineScaleSetVMExtensionsSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMExtensionsSummary', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMExtensionsSummary', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -44,14 +42,12 @@ def self.mapper() } }, statuses_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'statusesSummary', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCountElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb index 298c70f3a3..38feebe885 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb @@ -25,7 +25,6 @@ class VirtualMachineScaleSetVMInstanceIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceIDs', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceIDs', model_properties: { instance_ids: { - client_side_validation: true, required: false, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb index d344c2b969..d9035aabd2 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb @@ -23,7 +23,6 @@ class VirtualMachineScaleSetVMInstanceRequiredIDs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceRequiredIDs', model_properties: { instance_ids: { - client_side_validation: true, required: true, serialized_name: 'instanceIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb index d4de3bb271..3faefc22cb 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb @@ -61,7 +61,6 @@ class VirtualMachineScaleSetVMInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMInstanceView', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMInstanceView', model_properties: { platform_update_domain: { - client_side_validation: true, required: false, serialized_name: 'platformUpdateDomain', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, platform_fault_domain: { - client_side_validation: true, required: false, serialized_name: 'platformFaultDomain', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, rdp_thumb_print: { - client_side_validation: true, required: false, serialized_name: 'rdpThumbPrint', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, vm_agent: { - client_side_validation: true, required: false, serialized_name: 'vmAgent', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, maintenance_redeploy_status: { - client_side_validation: true, required: false, serialized_name: 'maintenanceRedeployStatus', type: { @@ -111,13 +105,11 @@ def self.mapper() } }, disks: { - client_side_validation: true, required: false, serialized_name: 'disks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskInstanceViewElementType', type: { @@ -128,13 +120,11 @@ def self.mapper() } }, extensions: { - client_side_validation: true, required: false, serialized_name: 'extensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionInstanceViewElementType', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, vm_health: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'vmHealth', @@ -155,7 +144,6 @@ def self.mapper() } }, boot_diagnostics: { - client_side_validation: true, required: false, serialized_name: 'bootDiagnostics', type: { @@ -164,13 +152,11 @@ def self.mapper() } }, statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { @@ -181,7 +167,6 @@ def self.mapper() } }, placement_group_id: { - client_side_validation: true, required: false, serialized_name: 'placementGroupId', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb index b2846e2c66..8a4d39bdaf 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMListResult', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb index 20742ba485..2991a47978 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb @@ -62,7 +62,6 @@ class VirtualMachineScaleSetVMProfile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetVMProfile', type: { @@ -70,7 +69,6 @@ def self.mapper() class_name: 'VirtualMachineScaleSetVMProfile', model_properties: { os_profile: { - client_side_validation: true, required: false, serialized_name: 'osProfile', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { @@ -88,7 +85,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'diagnosticsProfile', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, extension_profile: { - client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { @@ -115,7 +109,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'licenseType', type: { @@ -123,7 +116,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, eviction_policy: { - client_side_validation: true, required: false, serialized_name: 'evictionPolicy', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb index ce41ca9a36..552bd6cf6b 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb @@ -42,7 +42,6 @@ class VirtualMachineSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSize', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualMachineSize', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, number_of_cores: { - client_side_validation: true, required: false, serialized_name: 'numberOfCores', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, os_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'osDiskSizeInMB', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, resource_disk_size_in_mb: { - client_side_validation: true, required: false, serialized_name: 'resourceDiskSizeInMB', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, memory_in_mb: { - client_side_validation: true, required: false, serialized_name: 'memoryInMB', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, max_data_disk_count: { - client_side_validation: true, required: false, serialized_name: 'maxDataDiskCount', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb index b4b9f3e66a..d23bec1552 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb @@ -22,7 +22,6 @@ class VirtualMachineSizeListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'VirtualMachineSizeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineSizeElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb index 23acd67d80..6117a3ec0c 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb @@ -27,7 +27,6 @@ class VirtualMachineStatusCodeCount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineStatusCodeCount', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VirtualMachineStatusCodeCount', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -44,7 +42,6 @@ def self.mapper() } }, count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb index a2f0f801eb..a88aea9a9e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb @@ -91,7 +91,6 @@ class VirtualMachineUpdate < UpdateResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineUpdate', type: { @@ -99,13 +98,11 @@ def self.mapper() class_name: 'VirtualMachineUpdate', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -115,7 +112,6 @@ def self.mapper() } }, plan: { - client_side_validation: true, required: false, serialized_name: 'plan', type: { @@ -124,7 +120,6 @@ def self.mapper() } }, hardware_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.hardwareProfile', type: { @@ -133,7 +128,6 @@ def self.mapper() } }, storage_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.storageProfile', type: { @@ -142,7 +136,6 @@ def self.mapper() } }, os_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.osProfile', type: { @@ -151,7 +144,6 @@ def self.mapper() } }, network_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.networkProfile', type: { @@ -160,7 +152,6 @@ def self.mapper() } }, diagnostics_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnosticsProfile', type: { @@ -169,7 +160,6 @@ def self.mapper() } }, availability_set: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySet', type: { @@ -178,7 +168,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -187,7 +176,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -197,7 +185,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { @@ -205,7 +192,6 @@ def self.mapper() } }, vm_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vmId', @@ -214,7 +200,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { @@ -223,13 +208,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb index 2a9793dcbf..208b1ee638 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb @@ -23,7 +23,6 @@ class WinRMConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'WinRMConfiguration', model_properties: { listeners: { - client_side_validation: true, required: false, serialized_name: 'listeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'WinRMListenerElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb index 28e2524f9f..beb89b7a75 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb @@ -34,7 +34,6 @@ class WinRMListener # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WinRMListener', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'WinRMListener', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, certificate_url: { - client_side_validation: true, required: false, serialized_name: 'certificateUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb index 484812e056..13b9e28bae 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb @@ -43,7 +43,6 @@ class WindowsConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WindowsConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'WindowsConfiguration', model_properties: { provision_vmagent: { - client_side_validation: true, required: false, serialized_name: 'provisionVMAgent', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, enable_automatic_updates: { - client_side_validation: true, required: false, serialized_name: 'enableAutomaticUpdates', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, time_zone: { - client_side_validation: true, required: false, serialized_name: 'timeZone', type: { @@ -75,13 +71,11 @@ def self.mapper() } }, additional_unattend_content: { - client_side_validation: true, required: false, serialized_name: 'additionalUnattendContent', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AdditionalUnattendContentElementType', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, win_rm: { - client_side_validation: true, required: false, serialized_name: 'winRM', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/operations.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/operations.rb index 8442fbaf9d..1b0999192d 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/operations.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [ComputeOperationListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/usage_operations.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/usage_operations.rb index bcf50e2c1d..ed7bcfad99 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/usage_operations.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/usage_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -48,8 +48,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -63,15 +63,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +126,8 @@ def list_async(location, custom_headers:nil) # # @return [ListUsagesResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -145,8 +143,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -161,12 +159,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,12 +219,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ListUsagesResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..16b70dc657 --- /dev/null +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/version.rb @@ -0,0 +1,8 @@ +# 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. + +module Azure::Compute::Mgmt::V2017_12_01 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb index 79420095d1..0241c68303 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionImage] operation results. # - def get(location, publisher_name, type, version, custom_headers:nil) - response = get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get(location, publisher_name, type, version, custom_headers = nil) + response = get_async(location, publisher_name, type, version, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get(location, publisher_name, type, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, type, version, custom_headers:nil) - get_async(location, publisher_name, type, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, type, version, custom_headers = nil) + get_async(location, publisher_name, type, version, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_with_http_info(location, publisher_name, type, version, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, type, version, custom_headers:nil) + def get_async(location, publisher_name, type, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -76,7 +76,6 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -131,8 +130,8 @@ def get_async(location, publisher_name, type, version, custom_headers:nil) # # @return [Array] operation results. # - def list_types(location, publisher_name, custom_headers:nil) - response = list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types(location, publisher_name, custom_headers = nil) + response = list_types_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -146,8 +145,8 @@ def list_types(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_types_with_http_info(location, publisher_name, custom_headers:nil) - list_types_async(location, publisher_name, custom_headers:custom_headers).value! + def list_types_with_http_info(location, publisher_name, custom_headers = nil) + list_types_async(location, publisher_name, custom_headers).value! end # @@ -160,7 +159,7 @@ def list_types_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_types_async(location, publisher_name, custom_headers:nil) + def list_types_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -168,7 +167,6 @@ def list_types_async(location, publisher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -201,13 +199,11 @@ def list_types_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { @@ -243,8 +239,8 @@ def list_types_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -262,8 +258,8 @@ def list_versions(location, publisher_name, type, filter:nil, top:nil, orderby:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_versions_with_http_info(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_versions_async(location, publisher_name, type, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_versions_with_http_info(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_versions_async(location, publisher_name, type, filter, top, orderby, custom_headers).value! end # @@ -280,7 +276,7 @@ def list_versions_with_http_info(location, publisher_name, type, filter:nil, top # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_versions_async(location, publisher_name, type, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_versions_async(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'type is nil' if type.nil? @@ -289,7 +285,6 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -322,13 +317,11 @@ def list_versions_async(location, publisher_name, type, filter:nil, top:nil, ord begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineExtensionImageElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb index 0738f61550..91f8d6d695 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineExtension] operation results. # - def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_name, vm_extension_name, extension_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, vm_name, vm_extension_name, exte # # @return [VirtualMachineExtension] operation results. # - def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, vm_name, vm_extension_name, extension_parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -149,9 +149,9 @@ def delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -180,8 +180,8 @@ def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [VirtualMachineExtension] operation results. # - def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -198,8 +198,8 @@ def get(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, vm_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value! end # @@ -215,7 +215,7 @@ def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -224,7 +224,6 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -283,8 +282,8 @@ def get_async(resource_group_name, vm_name, vm_extension_name, expand:nil, custo # # @return [VirtualMachineExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -302,8 +301,8 @@ def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, exte # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -320,7 +319,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_exten # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -330,12 +329,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -406,8 +406,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name # # @return [VirtualMachineExtension] operation results. # - def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -425,8 +425,8 @@ def begin_update(resource_group_name, vm_name, vm_extension_name, extension_para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value! end # @@ -443,7 +443,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -453,12 +453,13 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionUpdate.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -517,8 +518,8 @@ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extensio # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! response.body unless response.nil? end @@ -534,8 +535,8 @@ def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value! end # @@ -550,7 +551,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil? @@ -559,7 +560,6 @@ def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb index 1286c6f720..6816fa48ed 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualMachineImage] operation results. # - def get(location, publisher_name, offer, skus, version, custom_headers:nil) - response = get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get(location, publisher_name, offer, skus, version, custom_headers = nil) + response = get_async(location, publisher_name, offer, skus, version, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(location, publisher_name, offer, skus, version, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers:nil) - get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value! + def get_with_http_info(location, publisher_name, offer, skus, version, custom_headers = nil) + get_async(location, publisher_name, offer, skus, version, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(location, publisher_name, offer, skus, version, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, publisher_name, offer, skus, version, custom_headers:nil) + def get_async(location, publisher_name, offer, skus, version, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -80,7 +80,6 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -141,8 +140,8 @@ def get_async(location, publisher_name, offer, skus, version, custom_headers:nil # # @return [Array] operation results. # - def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! response.body unless response.nil? end @@ -162,8 +161,8 @@ def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(location, publisher_name, offer, skus, filter, top, orderby, custom_headers).value! end # @@ -182,7 +181,7 @@ def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(location, publisher_name, offer, skus, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -192,7 +191,6 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,13 +223,11 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -264,8 +260,8 @@ def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, order # # @return [Array] operation results. # - def list_offers(location, publisher_name, custom_headers:nil) - response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers(location, publisher_name, custom_headers = nil) + response = list_offers_async(location, publisher_name, custom_headers).value! response.body unless response.nil? end @@ -280,8 +276,8 @@ def list_offers(location, publisher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_offers_with_http_info(location, publisher_name, custom_headers:nil) - list_offers_async(location, publisher_name, custom_headers:custom_headers).value! + def list_offers_with_http_info(location, publisher_name, custom_headers = nil) + list_offers_async(location, publisher_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_offers_with_http_info(location, publisher_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_offers_async(location, publisher_name, custom_headers:nil) + def list_offers_async(location, publisher_name, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_offers_async(location, publisher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -336,13 +331,11 @@ def list_offers_async(location, publisher_name, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -374,8 +367,8 @@ def list_offers_async(location, publisher_name, custom_headers:nil) # # @return [Array] operation results. # - def list_publishers(location, custom_headers:nil) - response = list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers(location, custom_headers = nil) + response = list_publishers_async(location, custom_headers).value! response.body unless response.nil? end @@ -389,8 +382,8 @@ def list_publishers(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_publishers_with_http_info(location, custom_headers:nil) - list_publishers_async(location, custom_headers:custom_headers).value! + def list_publishers_with_http_info(location, custom_headers = nil) + list_publishers_async(location, custom_headers).value! end # @@ -403,14 +396,13 @@ def list_publishers_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_publishers_async(location, custom_headers:nil) + def list_publishers_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,13 +435,11 @@ def list_publishers_async(location, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { @@ -483,8 +473,8 @@ def list_publishers_async(location, custom_headers:nil) # # @return [Array] operation results. # - def list_skus(location, publisher_name, offer, custom_headers:nil) - response = list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus(location, publisher_name, offer, custom_headers = nil) + response = list_skus_async(location, publisher_name, offer, custom_headers).value! response.body unless response.nil? end @@ -500,8 +490,8 @@ def list_skus(location, publisher_name, offer, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil) - list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value! + def list_skus_with_http_info(location, publisher_name, offer, custom_headers = nil) + list_skus_async(location, publisher_name, offer, custom_headers).value! end # @@ -516,7 +506,7 @@ def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(location, publisher_name, offer, custom_headers:nil) + def list_skus_async(location, publisher_name, offer, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'publisher_name is nil' if publisher_name.nil? fail ArgumentError, 'offer is nil' if offer.nil? @@ -525,7 +515,6 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -558,13 +547,11 @@ def list_skus_async(location, publisher_name, offer, custom_headers:nil) begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualMachineImageResourceElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb index 0beace3ba6..f9956d635f 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [RunCommandDocument] operation results. # - def get(location, command_id, custom_headers:nil) - response = get_async(location, command_id, custom_headers:custom_headers).value! + def get(location, command_id, custom_headers = nil) + response = get_async(location, command_id, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def get(location, command_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location, command_id, custom_headers:nil) - get_async(location, command_id, custom_headers:custom_headers).value! + def get_with_http_info(location, command_id, custom_headers = nil) + get_async(location, command_id, custom_headers).value! end # @@ -149,16 +147,14 @@ def get_with_http_info(location, command_id, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location, command_id, custom_headers:nil) + def get_async(location, command_id, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, 'command_id is nil' if command_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -213,8 +209,8 @@ def get_async(location, command_id, custom_headers:nil) # # @return [RunCommandListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -228,8 +224,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -242,12 +238,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,12 +296,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RunCommandListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb index cc801f3997..cd6b53d2d0 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualMachineScaleSetExtension] operation results. # - def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +83,8 @@ def create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extensio # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! response.body unless response.nil? end @@ -99,9 +99,9 @@ def delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -130,8 +130,8 @@ def delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, cu # # @return [VirtualMachineScaleSetExtension] operation results. # - def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand, custom_headers).value! response.body unless response.nil? end @@ -148,8 +148,8 @@ def get(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand, custom_headers).value! end # @@ -165,7 +165,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expan request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -230,8 +229,8 @@ def get_async(resource_group_name, vm_scale_set_name, vmss_extension_name, expan # # @return [Array] operation results. # - def list(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -246,8 +245,8 @@ def list(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -261,7 +260,7 @@ def list_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -269,7 +268,6 @@ def list_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -328,8 +326,8 @@ def list_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSetExtension] operation results. # - def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! response.body unless response.nil? end @@ -347,8 +345,8 @@ def begin_create_or_update(resource_group_name, vm_scale_set_name, vmss_extensio # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers).value! end # @@ -365,7 +363,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_extension_name, extension_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -375,12 +373,13 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtension.mapper() request_content = @client.serialize(request_mapper, extension_parameters) @@ -449,8 +448,8 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, vmss_ex # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! response.body unless response.nil? end @@ -466,8 +465,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, vmss_extension_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers).value! end # @@ -482,7 +481,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, vmss_ext # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vmss_extension_name is nil' if vmss_extension_name.nil? @@ -491,7 +490,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -546,8 +544,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, vmss_extension_na # # @return [VirtualMachineScaleSetExtensionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -561,8 +559,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -575,12 +573,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -636,12 +633,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetExtensionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb index 855af228ea..5dfb2c4be0 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def cancel(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -45,9 +45,9 @@ def cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def cancel_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -89,9 +89,9 @@ def start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -117,8 +117,8 @@ def start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers # # @return [RollingUpgradeStatusInfo] operation results. # - def get_latest(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_latest(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_latest_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -132,8 +132,8 @@ def get_latest(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_latest_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -146,7 +146,7 @@ def get_latest_with_http_info(resource_group_name, vm_scale_set_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -154,7 +154,6 @@ def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -209,8 +208,8 @@ def get_latest_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -224,8 +223,8 @@ def begin_cancel(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -238,7 +237,7 @@ def begin_cancel_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -246,7 +245,6 @@ def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -303,8 +301,8 @@ def begin_cancel_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -320,8 +318,8 @@ def begin_start_osupgrade(resource_group_name, vm_scale_set_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -336,7 +334,7 @@ def begin_start_osupgrade_with_http_info(resource_group_name, vm_scale_set_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -344,7 +342,6 @@ def begin_start_osupgrade_async(resource_group_name, vm_scale_set_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb index 38fa5863c2..a8a9af8a4e 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -48,9 +48,9 @@ def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +78,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -93,9 +93,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -125,8 +125,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -140,9 +140,9 @@ def deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -172,8 +172,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [VirtualMachineScaleSetVM] operation results. # - def update(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +190,9 @@ def update(resource_group_name, vm_scale_set_name, instance_id, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:nil) + def update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +219,8 @@ def update_async(resource_group_name, vm_scale_set_name, instance_id, parameters # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -234,9 +234,9 @@ def delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -263,8 +263,8 @@ def delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [VirtualMachineScaleSetVM] operation results. # - def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -279,8 +279,8 @@ def get(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -294,7 +294,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -303,7 +303,6 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -359,8 +358,8 @@ def get_async(resource_group_name, vm_scale_set_name, instance_id, custom_header # # @return [VirtualMachineScaleSetVMInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -375,8 +374,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -390,7 +389,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -399,7 +398,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -457,8 +455,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [Array] operation results. # - def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers) + def list(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers) first_page.get_all_items end @@ -475,8 +473,8 @@ def list(resource_group_name, virtual_machine_scale_set_name, filter:nil, select # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! end # @@ -492,7 +490,7 @@ def list_with_http_info(resource_group_name, virtual_machine_scale_set_name, fil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) + def list_async(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -500,7 +498,6 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -558,8 +555,8 @@ def list_async(resource_group_name, virtual_machine_scale_set_name, filter:nil, # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -573,9 +570,9 @@ def power_off(resource_group_name, vm_scale_set_name, instance_id, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -602,8 +599,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -617,9 +614,9 @@ def restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -646,8 +643,8 @@ def restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -661,9 +658,9 @@ def start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -690,8 +687,8 @@ def start_async(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -705,9 +702,9 @@ def redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -734,8 +731,8 @@ def redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_h # # @return [OperationStatusResponse] operation results. # - def perform_maintenance(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def perform_maintenance(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -749,9 +746,9 @@ def perform_maintenance(resource_group_name, vm_scale_set_name, instance_id, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) # Send request - promise = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers) + promise = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -779,8 +776,8 @@ def perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_i # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -796,8 +793,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -812,7 +809,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -821,7 +818,6 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -878,8 +874,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -895,8 +891,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -911,7 +907,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -920,7 +916,6 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -979,8 +974,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -998,8 +993,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, instance_id, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1016,7 +1011,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1025,7 +1020,6 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1084,8 +1078,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, instance_id, # # @return [VirtualMachineScaleSetVM] operation results. # - def begin_update(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers).value! response.body unless response.nil? end @@ -1103,8 +1097,8 @@ def begin_update(resource_group_name, vm_scale_set_name, instance_id, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers).value! end # @@ -1121,7 +1115,7 @@ def begin_update_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_scale_set_name, instance_id, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1131,12 +1125,13 @@ def begin_update_async(resource_group_name, vm_scale_set_name, instance_id, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVM.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1204,8 +1199,8 @@ def begin_update_async(resource_group_name, vm_scale_set_name, instance_id, para # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1220,8 +1215,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, instance_id, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1235,7 +1230,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1244,7 +1239,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1302,8 +1296,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, cust # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1320,8 +1314,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, instance_id, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1337,7 +1331,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, insta # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1346,7 +1340,6 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1402,8 +1395,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, instance_id, c # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1418,8 +1411,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, instance_id, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1433,7 +1426,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, instanc # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1442,7 +1435,6 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1498,8 +1490,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, instance_id, cus # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1514,8 +1506,8 @@ def begin_start(resource_group_name, vm_scale_set_name, instance_id, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1529,7 +1521,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1538,7 +1530,6 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1594,8 +1585,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custo # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1610,8 +1601,8 @@ def begin_redeploy(resource_group_name, vm_scale_set_name, instance_id, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1625,7 +1616,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1634,7 +1625,6 @@ def begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1690,8 +1680,8 @@ def begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, cu # # @return [OperationStatusResponse] operation results. # - def begin_perform_maintenance(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - response = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_perform_maintenance(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + response = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! response.body unless response.nil? end @@ -1706,8 +1696,8 @@ def begin_perform_maintenance(resource_group_name, vm_scale_set_name, instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) - begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value! + def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) + begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers).value! end # @@ -1721,7 +1711,7 @@ def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil) + def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'instance_id is nil' if instance_id.nil? @@ -1730,7 +1720,6 @@ def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1785,8 +1774,8 @@ def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, inst # # @return [VirtualMachineScaleSetVMListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1800,8 +1789,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1814,12 +1803,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1877,12 +1865,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetVMListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter:nil, select:nil, expand:nil, custom_headers:nil) - response = list_async(resource_group_name, virtual_machine_scale_set_name, filter:filter, select:select, expand:expand, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_machine_scale_set_name, filter = nil, select = nil, expand = nil, custom_headers = nil) + response = list_async(resource_group_name, virtual_machine_scale_set_name, filter, select, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb index f423553b07..00f80eed70 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineScaleSet] operation results. # - def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -49,9 +49,9 @@ def create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -79,8 +79,8 @@ def create_or_update_async(resource_group_name, vm_scale_set_name, parameters, c # # @return [VirtualMachineScaleSet] operation results. # - def update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -95,9 +95,9 @@ def update(resource_group_name, vm_scale_set_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -123,8 +123,8 @@ def update_async(resource_group_name, vm_scale_set_name, parameters, custom_head # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -137,9 +137,9 @@ def delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -165,8 +165,8 @@ def delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [VirtualMachineScaleSet] operation results. # - def get(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -180,8 +180,8 @@ def get(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -194,7 +194,7 @@ def get_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -202,7 +202,6 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -261,8 +260,8 @@ def get_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -277,9 +276,9 @@ def deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +306,8 @@ def deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [OperationStatusResponse] operation results. # - def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -323,9 +322,9 @@ def delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -351,8 +350,8 @@ def delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [VirtualMachineScaleSetInstanceView] operation results. # - def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -366,8 +365,8 @@ def get_instance_view(resource_group_name, vm_scale_set_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -380,7 +379,7 @@ def get_instance_view_with_http_info(resource_group_name, vm_scale_set_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -388,7 +387,6 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -442,8 +440,8 @@ def get_instance_view_async(resource_group_name, vm_scale_set_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -456,8 +454,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -469,14 +467,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -532,8 +529,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -548,8 +545,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -563,13 +560,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -625,8 +621,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def list_skus(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -641,8 +637,8 @@ def list_skus(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -656,7 +652,7 @@ def list_skus_with_http_info(resource_group_name, vm_scale_set_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -664,7 +660,6 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -719,8 +714,8 @@ def list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [Array] operation results. # - def get_osupgrade_history(resource_group_name, vm_scale_set_name, custom_headers:nil) - first_page = get_osupgrade_history_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers) + def get_osupgrade_history(resource_group_name, vm_scale_set_name, custom_headers = nil) + first_page = get_osupgrade_history_as_lazy(resource_group_name, vm_scale_set_name, custom_headers) first_page.get_all_items end @@ -734,8 +729,8 @@ def get_osupgrade_history(resource_group_name, vm_scale_set_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_osupgrade_history_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_osupgrade_history_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -748,7 +743,7 @@ def get_osupgrade_history_with_http_info(resource_group_name, vm_scale_set_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -756,7 +751,6 @@ def get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -815,8 +809,8 @@ def get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_h # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -831,9 +825,9 @@ def power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -861,8 +855,8 @@ def power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -877,9 +871,9 @@ def restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -907,8 +901,8 @@ def restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -923,9 +917,9 @@ def start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -953,8 +947,8 @@ def start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -969,9 +963,9 @@ def redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -999,8 +993,8 @@ def redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [OperationStatusResponse] operation results. # - def perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1015,9 +1009,9 @@ def perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1046,8 +1040,8 @@ def perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instanc # # @return [OperationStatusResponse] operation results. # - def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1062,9 +1056,9 @@ def update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) # Send request - promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers) + promise = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1093,8 +1087,8 @@ def update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1109,9 +1103,9 @@ def reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1140,8 +1134,8 @@ def reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [OperationStatusResponse] operation results. # - def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1156,9 +1150,9 @@ def reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) # Send request - promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers) + promise = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1187,8 +1181,8 @@ def reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [RecoveryWalkResponse] operation results. # - def force_recovery_service_fabric_platform_update_domain_walk(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers:nil) - response = force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers:custom_headers).value! + def force_recovery_service_fabric_platform_update_domain_walk(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers = nil) + response = force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers).value! response.body unless response.nil? end @@ -1205,8 +1199,8 @@ def force_recovery_service_fabric_platform_update_domain_walk(resource_group_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def force_recovery_service_fabric_platform_update_domain_walk_with_http_info(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers:nil) - force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers:custom_headers).value! + def force_recovery_service_fabric_platform_update_domain_walk_with_http_info(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers = nil) + force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers).value! end # @@ -1222,7 +1216,7 @@ def force_recovery_service_fabric_platform_update_domain_walk_with_http_info(res # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers:nil) + def force_recovery_service_fabric_platform_update_domain_walk_async(resource_group_name, vm_scale_set_name, platform_update_domain, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1231,7 +1225,6 @@ def force_recovery_service_fabric_platform_update_domain_walk_async(resource_gro request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1288,8 +1281,8 @@ def force_recovery_service_fabric_platform_update_domain_walk_async(resource_gro # # @return [VirtualMachineScaleSet] operation results. # - def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1305,8 +1298,8 @@ def begin_create_or_update(resource_group_name, vm_scale_set_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! end # @@ -1321,7 +1314,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1330,12 +1323,13 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSet.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1404,8 +1398,8 @@ def begin_create_or_update_async(resource_group_name, vm_scale_set_name, paramet # # @return [VirtualMachineScaleSet] operation results. # - def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1421,8 +1415,8 @@ def begin_update(resource_group_name, vm_scale_set_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers).value! end # @@ -1437,7 +1431,7 @@ def begin_update_with_http_info(resource_group_name, vm_scale_set_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1446,12 +1440,13 @@ def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1508,8 +1503,8 @@ def begin_update_async(resource_group_name, vm_scale_set_name, parameters, custo # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! response.body unless response.nil? end @@ -1523,8 +1518,8 @@ def begin_delete(resource_group_name, vm_scale_set_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers).value! end # @@ -1537,7 +1532,7 @@ def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1545,7 +1540,6 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1604,8 +1598,8 @@ def begin_delete_async(resource_group_name, vm_scale_set_name, custom_headers:ni # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1623,8 +1617,8 @@ def begin_deallocate(resource_group_name, vm_scale_set_name, vm_instance_ids:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1641,7 +1635,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_scale_set_name, vm_i # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1649,12 +1643,13 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1713,8 +1708,8 @@ def begin_deallocate_async(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [OperationStatusResponse] operation results. # - def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1730,8 +1725,8 @@ def begin_delete_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1746,7 +1741,7 @@ def begin_delete_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -1755,12 +1750,13 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1821,8 +1817,8 @@ def begin_delete_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1840,8 +1836,8 @@ def begin_power_off(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1858,7 +1854,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_scale_set_name, vm_in # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1866,12 +1862,13 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -1930,8 +1927,8 @@ def begin_power_off_async(resource_group_name, vm_scale_set_name, vm_instance_id # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -1947,8 +1944,8 @@ def begin_restart(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -1963,7 +1960,7 @@ def begin_restart_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1971,12 +1968,13 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2035,8 +2033,8 @@ def begin_restart_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2052,8 +2050,8 @@ def begin_start(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2068,7 +2066,7 @@ def begin_start_with_http_info(resource_group_name, vm_scale_set_name, vm_instan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2076,12 +2074,13 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2140,8 +2139,8 @@ def begin_start_async(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2157,8 +2156,8 @@ def begin_redeploy(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2173,7 +2172,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, vm_ins # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2181,12 +2180,13 @@ def begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2245,8 +2245,8 @@ def begin_redeploy_async(resource_group_name, vm_scale_set_name, vm_instance_ids # # @return [OperationStatusResponse] operation results. # - def begin_perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_perform_maintenance(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2262,8 +2262,8 @@ def begin_perform_maintenance(resource_group_name, vm_scale_set_name, vm_instanc # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2278,7 +2278,7 @@ def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2286,12 +2286,13 @@ def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_i request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2351,8 +2352,8 @@ def begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, vm_i # # @return [OperationStatusResponse] operation results. # - def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + response = begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2369,8 +2370,8 @@ def begin_update_instances(resource_group_name, vm_scale_set_name, vm_instance_i # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) - begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:custom_headers).value! + def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) + begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2386,7 +2387,7 @@ def begin_update_instances_with_http_info(resource_group_name, vm_scale_set_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers:nil) + def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, 'vm_instance_ids is nil' if vm_instance_ids.nil? @@ -2395,12 +2396,13 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2460,8 +2462,8 @@ def begin_update_instances_async(resource_group_name, vm_scale_set_name, vm_inst # # @return [OperationStatusResponse] operation results. # - def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2478,8 +2480,8 @@ def begin_reimage(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2495,7 +2497,7 @@ def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_inst # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2503,12 +2505,13 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2568,8 +2571,8 @@ def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_instance_ids: # # @return [OperationStatusResponse] operation results. # - def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + response = begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! response.body unless response.nil? end @@ -2586,8 +2589,8 @@ def begin_reimage_all(resource_group_name, vm_scale_set_name, vm_instance_ids:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) - begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:vm_instance_ids, custom_headers:custom_headers).value! + def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) + begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids, custom_headers).value! end # @@ -2603,7 +2606,7 @@ def begin_reimage_all_with_http_info(resource_group_name, vm_scale_set_name, vm_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids:nil, custom_headers:nil) + def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ids = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2611,12 +2614,13 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs.mapper() request_content = @client.serialize(request_mapper, vm_instance_ids) @@ -2673,8 +2677,8 @@ def begin_reimage_all_async(resource_group_name, vm_scale_set_name, vm_instance_ # # @return [VirtualMachineScaleSetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2688,8 +2692,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2702,12 +2706,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2764,8 +2767,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListWithLinkResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2782,8 +2785,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -2799,12 +2802,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2859,8 +2861,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListSkusResult] operation results. # - def list_skus_next(next_page_link, custom_headers:nil) - response = list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next(next_page_link, custom_headers = nil) + response = list_skus_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2875,8 +2877,8 @@ def list_skus_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_skus_next_with_http_info(next_page_link, custom_headers:nil) - list_skus_next_async(next_page_link, custom_headers:custom_headers).value! + def list_skus_next_with_http_info(next_page_link, custom_headers = nil) + list_skus_next_async(next_page_link, custom_headers).value! end # @@ -2890,12 +2892,11 @@ def list_skus_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_skus_next_async(next_page_link, custom_headers:nil) + def list_skus_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2949,8 +2950,8 @@ def list_skus_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineScaleSetListOSUpgradeHistory] operation results. # - def get_osupgrade_history_next(next_page_link, custom_headers:nil) - response = get_osupgrade_history_next_async(next_page_link, custom_headers:custom_headers).value! + def get_osupgrade_history_next(next_page_link, custom_headers = nil) + response = get_osupgrade_history_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2964,8 +2965,8 @@ def get_osupgrade_history_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_osupgrade_history_next_with_http_info(next_page_link, custom_headers:nil) - get_osupgrade_history_next_async(next_page_link, custom_headers:custom_headers).value! + def get_osupgrade_history_next_with_http_info(next_page_link, custom_headers = nil) + get_osupgrade_history_next_async(next_page_link, custom_headers).value! end # @@ -2978,12 +2979,11 @@ def get_osupgrade_history_next_with_http_info(next_page_link, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_osupgrade_history_next_async(next_page_link, custom_headers:nil) + def get_osupgrade_history_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -3037,12 +3037,12 @@ def get_osupgrade_history_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineScaleSetListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -3060,12 +3060,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineScaleSetListWithLinkResult] which provide lazy access # to pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -3083,12 +3083,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualMachineScaleSetListSkusResult] which provide lazy access to # pages of the response. # - def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = list_skus_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_skus_next_async(next_page_link, custom_headers:custom_headers) + list_skus_next_async(next_page_link, custom_headers) end page end @@ -3105,12 +3105,12 @@ def list_skus_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil # @return [VirtualMachineScaleSetListOSUpgradeHistory] which provide lazy # access to pages of the response. # - def get_osupgrade_history_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:nil) - response = get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers:custom_headers).value! + def get_osupgrade_history_as_lazy(resource_group_name, vm_scale_set_name, custom_headers = nil) + response = get_osupgrade_history_async(resource_group_name, vm_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - get_osupgrade_history_next_async(next_page_link, custom_headers:custom_headers) + get_osupgrade_history_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb index 119184683d..2555f69b98 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [VirtualMachineSizeListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +60,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb index 3e4fdae81b..2fb1614158 100644 --- a/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb +++ b/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [VirtualMachineExtensionsListResult] operation results. # - def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_extensions_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_extensions_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -66,7 +66,7 @@ def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_extensions_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +74,6 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +131,8 @@ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_header # # @return [VirtualMachineCaptureResult] operation results. # - def capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -148,9 +147,9 @@ def capture(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -178,8 +177,8 @@ def capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, vm_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -224,8 +223,8 @@ def create_or_update_async(resource_group_name, vm_name, parameters, custom_head # # @return [VirtualMachine] operation results. # - def update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -240,9 +239,9 @@ def update(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def update_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -268,8 +267,8 @@ def update_async(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def delete(resource_group_name, vm_name, custom_headers:nil) - response = delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def delete(resource_group_name, vm_name, custom_headers = nil) + response = delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -282,9 +281,9 @@ def delete(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, vm_name, custom_headers:nil) + def delete_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -313,8 +312,8 @@ def delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [VirtualMachine] operation results. # - def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, vm_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, vm_name, expand, custom_headers).value! response.body unless response.nil? end @@ -331,8 +330,8 @@ def get(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, vm_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, vm_name, expand, custom_headers).value! end # @@ -348,7 +347,7 @@ def get_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -356,7 +355,6 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -411,8 +409,8 @@ def get_async(resource_group_name, vm_name, expand:nil, custom_headers:nil) # # @return [VirtualMachineInstanceView] operation results. # - def instance_view(resource_group_name, vm_name, custom_headers:nil) - response = instance_view_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def instance_view(resource_group_name, vm_name, custom_headers = nil) + response = instance_view_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -426,8 +424,8 @@ def instance_view(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def instance_view_with_http_info(resource_group_name, vm_name, custom_headers:nil) - instance_view_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def instance_view_with_http_info(resource_group_name, vm_name, custom_headers = nil) + instance_view_async(resource_group_name, vm_name, custom_headers).value! end # @@ -440,7 +438,7 @@ def instance_view_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def instance_view_async(resource_group_name, vm_name, custom_headers:nil) + def instance_view_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -448,7 +446,6 @@ def instance_view_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -504,8 +501,8 @@ def instance_view_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -518,9 +515,9 @@ def convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -547,8 +544,8 @@ def convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers: # # @return [OperationStatusResponse] operation results. # - def deallocate(resource_group_name, vm_name, custom_headers:nil) - response = deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def deallocate(resource_group_name, vm_name, custom_headers = nil) + response = deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -561,9 +558,9 @@ def deallocate(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def deallocate_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_deallocate_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -589,8 +586,8 @@ def deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def generalize(resource_group_name, vm_name, custom_headers:nil) - response = generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize(resource_group_name, vm_name, custom_headers = nil) + response = generalize_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -604,8 +601,8 @@ def generalize(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) - generalize_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def generalize_with_http_info(resource_group_name, vm_name, custom_headers = nil) + generalize_async(resource_group_name, vm_name, custom_headers).value! end # @@ -618,7 +615,7 @@ def generalize_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generalize_async(resource_group_name, vm_name, custom_headers:nil) + def generalize_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -626,7 +623,6 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -681,8 +677,8 @@ def generalize_async(resource_group_name, vm_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -696,8 +692,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -710,14 +706,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -771,8 +766,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -785,8 +780,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -798,13 +793,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -860,8 +854,8 @@ def list_all_async(custom_headers:nil) # # @return [VirtualMachineSizeListResult] operation results. # - def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) - response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes(resource_group_name, vm_name, custom_headers = nil) + response = list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -876,8 +870,8 @@ def list_available_sizes(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers:nil) - list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_headers = nil) + list_available_sizes_async(resource_group_name, vm_name, custom_headers).value! end # @@ -891,7 +885,7 @@ def list_available_sizes_with_http_info(resource_group_name, vm_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) + def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -899,7 +893,6 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -956,8 +949,8 @@ def list_available_sizes_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def power_off(resource_group_name, vm_name, custom_headers:nil) - response = power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def power_off(resource_group_name, vm_name, custom_headers = nil) + response = power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -970,9 +963,9 @@ def power_off(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def power_off_async(resource_group_name, vm_name, custom_headers:nil) + def power_off_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_power_off_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -998,8 +991,8 @@ def power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def restart(resource_group_name, vm_name, custom_headers:nil) - response = restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def restart(resource_group_name, vm_name, custom_headers = nil) + response = restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1012,9 +1005,9 @@ def restart(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def restart_async(resource_group_name, vm_name, custom_headers:nil) + def restart_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_restart_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1040,8 +1033,8 @@ def restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def start(resource_group_name, vm_name, custom_headers:nil) - response = start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def start(resource_group_name, vm_name, custom_headers = nil) + response = start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1054,9 +1047,9 @@ def start(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, vm_name, custom_headers:nil) + def start_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1082,8 +1075,8 @@ def start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def redeploy(resource_group_name, vm_name, custom_headers:nil) - response = redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def redeploy(resource_group_name, vm_name, custom_headers = nil) + response = redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1096,9 +1089,9 @@ def redeploy(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def redeploy_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_redeploy_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1124,8 +1117,8 @@ def redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def perform_maintenance(resource_group_name, vm_name, custom_headers:nil) - response = perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def perform_maintenance(resource_group_name, vm_name, custom_headers = nil) + response = perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1138,9 +1131,9 @@ def perform_maintenance(resource_group_name, vm_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) + def perform_maintenance_async(resource_group_name, vm_name, custom_headers = nil) # Send request - promise = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers) + promise = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1168,8 +1161,8 @@ def perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) # # @return [RunCommandResult] operation results. # - def run_command(resource_group_name, vm_name, parameters, custom_headers:nil) - response = run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def run_command(resource_group_name, vm_name, parameters, custom_headers = nil) + response = run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1184,9 +1177,9 @@ def run_command(resource_group_name, vm_name, parameters, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def run_command_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def run_command_async(resource_group_name, vm_name, parameters, custom_headers = nil) # Send request - promise = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers) + promise = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1215,8 +1208,8 @@ def run_command_async(resource_group_name, vm_name, parameters, custom_headers:n # # @return [VirtualMachineCaptureResult] operation results. # - def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1233,8 +1226,8 @@ def begin_capture(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_capture_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1250,7 +1243,7 @@ def begin_capture_with_http_info(resource_group_name, vm_name, parameters, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1259,12 +1252,13 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1323,8 +1317,8 @@ def begin_capture_async(resource_group_name, vm_name, parameters, custom_headers # # @return [VirtualMachine] operation results. # - def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1340,8 +1334,8 @@ def begin_create_or_update(resource_group_name, vm_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1356,7 +1350,7 @@ def begin_create_or_update_with_http_info(resource_group_name, vm_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1365,12 +1359,13 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachine.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1439,8 +1434,8 @@ def begin_create_or_update_async(resource_group_name, vm_name, parameters, custo # # @return [VirtualMachine] operation results. # - def begin_update(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1456,8 +1451,8 @@ def begin_update(resource_group_name, vm_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -1472,7 +1467,7 @@ def begin_update_with_http_info(resource_group_name, vm_name, parameters, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1481,12 +1476,13 @@ def begin_update_async(resource_group_name, vm_name, parameters, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineUpdate.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1553,8 +1549,8 @@ def begin_update_async(resource_group_name, vm_name, parameters, custom_headers: # # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, vm_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, vm_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1568,8 +1564,8 @@ def begin_delete(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_delete_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_delete_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1582,7 +1578,7 @@ def begin_delete_with_http_info(resource_group_name, vm_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) + def begin_delete_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1590,7 +1586,6 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1646,8 +1641,8 @@ def begin_delete_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers:nil) - response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers = nil) + response = begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1662,8 +1657,8 @@ def begin_convert_to_managed_disks(resource_group_name, vm_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1677,7 +1672,7 @@ def begin_convert_to_managed_disks_with_http_info(resource_group_name, vm_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers:nil) + def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1685,7 +1680,6 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1741,8 +1735,8 @@ def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_he # # @return [OperationStatusResponse] operation results. # - def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) - response = begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate(resource_group_name, vm_name, custom_headers = nil) + response = begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1757,8 +1751,8 @@ def begin_deallocate(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_deallocate_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_deallocate_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1772,7 +1766,7 @@ def begin_deallocate_with_http_info(resource_group_name, vm_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) + def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1780,7 +1774,6 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1837,8 +1830,8 @@ def begin_deallocate_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_power_off(resource_group_name, vm_name, custom_headers:nil) - response = begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off(resource_group_name, vm_name, custom_headers = nil) + response = begin_power_off_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1854,8 +1847,8 @@ def begin_power_off(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_power_off_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_power_off_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1870,7 +1863,7 @@ def begin_power_off_with_http_info(resource_group_name, vm_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) + def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1878,7 +1871,6 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1933,8 +1925,8 @@ def begin_power_off_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_restart(resource_group_name, vm_name, custom_headers:nil) - response = begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart(resource_group_name, vm_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -1948,8 +1940,8 @@ def begin_restart(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_restart_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_restart_async(resource_group_name, vm_name, custom_headers).value! end # @@ -1962,7 +1954,7 @@ def begin_restart_with_http_info(resource_group_name, vm_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) + def begin_restart_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1970,7 +1962,6 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2025,8 +2016,8 @@ def begin_restart_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_start(resource_group_name, vm_name, custom_headers:nil) - response = begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, vm_name, custom_headers = nil) + response = begin_start_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -2040,8 +2031,8 @@ def begin_start(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_start_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_start_async(resource_group_name, vm_name, custom_headers).value! end # @@ -2054,7 +2045,7 @@ def begin_start_with_http_info(resource_group_name, vm_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, vm_name, custom_headers:nil) + def begin_start_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2062,7 +2053,6 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2117,8 +2107,8 @@ def begin_start_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) - response = begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy(resource_group_name, vm_name, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -2132,8 +2122,8 @@ def begin_redeploy(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_redeploy_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_redeploy_async(resource_group_name, vm_name, custom_headers).value! end # @@ -2146,7 +2136,7 @@ def begin_redeploy_with_http_info(resource_group_name, vm_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) + def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2154,7 +2144,6 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2209,8 +2198,8 @@ def begin_redeploy_async(resource_group_name, vm_name, custom_headers:nil) # # @return [OperationStatusResponse] operation results. # - def begin_perform_maintenance(resource_group_name, vm_name, custom_headers:nil) - response = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_perform_maintenance(resource_group_name, vm_name, custom_headers = nil) + response = begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! response.body unless response.nil? end @@ -2224,8 +2213,8 @@ def begin_perform_maintenance(resource_group_name, vm_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custom_headers:nil) - begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:custom_headers).value! + def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custom_headers = nil) + begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers).value! end # @@ -2238,7 +2227,7 @@ def begin_perform_maintenance_with_http_info(resource_group_name, vm_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers:nil) + def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -2246,7 +2235,6 @@ def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2303,8 +2291,8 @@ def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers # # @return [RunCommandResult] operation results. # - def begin_run_command(resource_group_name, vm_name, parameters, custom_headers:nil) - response = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_run_command(resource_group_name, vm_name, parameters, custom_headers = nil) + response = begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2320,8 +2308,8 @@ def begin_run_command(resource_group_name, vm_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil) - begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value! + def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, custom_headers = nil) + begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers).value! end # @@ -2336,7 +2324,7 @@ def begin_run_command_with_http_info(resource_group_name, vm_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers:nil) + def begin_run_command_async(resource_group_name, vm_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'vm_name is nil' if vm_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2345,12 +2333,13 @@ def begin_run_command_async(resource_group_name, vm_name, parameters, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2408,8 +2397,8 @@ def begin_run_command_async(resource_group_name, vm_name, parameters, custom_hea # # @return [VirtualMachineListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2424,8 +2413,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2439,12 +2428,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2499,8 +2487,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualMachineListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2515,8 +2503,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -2530,12 +2518,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2590,12 +2577,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2611,12 +2598,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualMachineListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute.rb index ca58c65d58..575297b10a 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute.rb @@ -25,28 +25,23 @@ module Azure::Compute::Mgmt::V2018_04_01 autoload :ComputeManagementClient, '2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb' module Models + autoload :EncryptionSettings, '2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb' + autoload :DiskSku, '2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb' + autoload :DiskUpdate, '2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb' + autoload :CreationData, '2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb' autoload :DiskList, '2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb' - autoload :Resource, '2018-04-01/generated/azure_mgmt_compute/models/resource.rb' + autoload :KeyVaultAndSecretReference, '2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb' autoload :SnapshotSku, '2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb' - autoload :ResourceUpdate, '2018-04-01/generated/azure_mgmt_compute/models/resource_update.rb' + autoload :Resource, '2018-04-01/generated/azure_mgmt_compute/models/resource.rb' autoload :GrantAccessData, '2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb' - autoload :CreationData, '2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb' - autoload :AccessUri, '2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb' - autoload :KeyVaultAndSecretReference, '2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb' - autoload :KeyVaultAndKeyReference, '2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb' - autoload :EncryptionSettings, '2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb' - autoload :ApiError, '2018-04-01/generated/azure_mgmt_compute/models/api_error.rb' - autoload :DiskSku, '2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb' - autoload :OperationStatusResponse, '2018-04-01/generated/azure_mgmt_compute/models/operation_status_response.rb' autoload :SourceVault, '2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb' - autoload :SnapshotList, '2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb' + autoload :AccessUri, '2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb' autoload :ImageDiskReference, '2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb' - autoload :ApiErrorBase, '2018-04-01/generated/azure_mgmt_compute/models/api_error_base.rb' - autoload :InnerError, '2018-04-01/generated/azure_mgmt_compute/models/inner_error.rb' + autoload :SnapshotList, '2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb' + autoload :KeyVaultAndKeyReference, '2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb' + autoload :SnapshotUpdate, '2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb' autoload :Disk, '2018-04-01/generated/azure_mgmt_compute/models/disk.rb' - autoload :DiskUpdate, '2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb' autoload :Snapshot, '2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb' - autoload :SnapshotUpdate, '2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb' autoload :StorageAccountTypes, '2018-04-01/generated/azure_mgmt_compute/models/storage_account_types.rb' autoload :OperatingSystemTypes, '2018-04-01/generated/azure_mgmt_compute/models/operating_system_types.rb' autoload :DiskCreateOption, '2018-04-01/generated/azure_mgmt_compute/models/disk_create_option.rb' diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb index 4d9c22e298..f32bde5a30 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb @@ -110,9 +110,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -129,7 +126,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_compute' - sdk_information = "#{sdk_information}/0.17.0" + if defined? Azure::Compute::Mgmt::V2018_04_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2018_04_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb index a25472ce75..053d68c744 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [Disk] operation results. # - def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def create_or_update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, disk_name, disk, custom_headers: # # @return [Disk] operation results. # - def update(resource_group_name, disk_name, disk, custom_headers:nil) - response = update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def update(resource_group_name, disk_name, disk, custom_headers = nil) + response = update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, disk_name, disk, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def update_async(resource_group_name, disk_name, disk, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, disk_name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [Disk] operation results. # - def get(resource_group_name, disk_name, custom_headers:nil) - response = get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get(resource_group_name, disk_name, custom_headers = nil) + response = get_async(resource_group_name, disk_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +150,8 @@ def get(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) - get_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, disk_name, custom_headers = nil) + get_async(resource_group_name, disk_name, custom_headers).value! end # @@ -166,7 +166,7 @@ def get_with_http_info(resource_group_name, disk_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, disk_name, custom_headers:nil) + def get_async(resource_group_name, disk_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, disk_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -229,11 +228,9 @@ def get_async(resource_group_name, disk_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. - # - def delete(resource_group_name, disk_name, custom_headers:nil) - response = delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def delete(resource_group_name, disk_name, custom_headers = nil) + response = delete_async(resource_group_name, disk_name, custom_headers).value! + nil end # @@ -247,15 +244,13 @@ def delete(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, disk_name, custom_headers:nil) + def delete_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - parsed_response = @client.deserialize(result_mapper, parsed_response) end # Waiting for response. @@ -274,8 +269,8 @@ def delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -288,8 +283,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -301,14 +296,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -361,8 +355,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -374,8 +368,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -386,13 +380,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -451,8 +444,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -469,9 +462,9 @@ def grant_access(resource_group_name, disk_name, grant_access_data, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -497,11 +490,9 @@ def grant_access_async(resource_group_name, disk_name, grant_access_data, custom # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. - # - def revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, disk_name, custom_headers).value! + nil end # @@ -515,15 +506,13 @@ def revoke_access(resource_group_name, disk_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def revoke_access_async(resource_group_name, disk_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, disk_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - parsed_response = @client.deserialize(result_mapper, parsed_response) end # Waiting for response. @@ -547,8 +536,8 @@ def revoke_access_async(resource_group_name, disk_name, custom_headers:nil) # # @return [Disk] operation results. # - def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -566,8 +555,8 @@ def begin_create_or_update(resource_group_name, disk_name, disk, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -584,7 +573,7 @@ def begin_create_or_update_with_http_info(resource_group_name, disk_name, disk, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -593,12 +582,13 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::Disk.mapper() request_content = @client.serialize(request_mapper, disk) @@ -669,8 +659,8 @@ def begin_create_or_update_async(resource_group_name, disk_name, disk, custom_he # # @return [Disk] operation results. # - def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) - response = begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update(resource_group_name, disk_name, disk, custom_headers = nil) + response = begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! response.body unless response.nil? end @@ -688,8 +678,8 @@ def begin_update(resource_group_name, disk_name, disk, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers:nil) - begin_update_async(resource_group_name, disk_name, disk, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_headers = nil) + begin_update_async(resource_group_name, disk_name, disk, custom_headers).value! end # @@ -706,7 +696,7 @@ def begin_update_with_http_info(resource_group_name, disk_name, disk, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) + def begin_update_async(resource_group_name, disk_name, disk, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -715,12 +705,13 @@ def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate.mapper() request_content = @client.serialize(request_mapper, disk) @@ -787,11 +778,10 @@ def begin_update_async(resource_group_name, disk_name, disk, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, disk_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def begin_delete(resource_group_name, disk_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, disk_name, custom_headers).value! + nil end # @@ -806,8 +796,8 @@ def begin_delete(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_delete_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_delete_async(resource_group_name, disk_name, custom_headers).value! end # @@ -822,7 +812,7 @@ def begin_delete_with_http_info(resource_group_name, disk_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) + def begin_delete_async(resource_group_name, disk_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -830,7 +820,6 @@ def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -858,16 +847,6 @@ def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) end result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? - # Deserialize Response - if status_code == 200 - begin - parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - result.body = @client.deserialize(result_mapper, parsed_response) - rescue Exception => e - fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) - end - end result end @@ -889,8 +868,8 @@ def begin_delete_async(resource_group_name, disk_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -908,8 +887,8 @@ def begin_grant_access(resource_group_name, disk_name, grant_access_data, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers).value! end # @@ -926,7 +905,7 @@ def begin_grant_access_with_http_info(resource_group_name, disk_name, grant_acce # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -935,12 +914,13 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -997,11 +977,10 @@ def begin_grant_access_async(resource_group_name, disk_name, grant_access_data, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def begin_revoke_access(resource_group_name, disk_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! + nil end # @@ -1016,8 +995,8 @@ def begin_revoke_access(resource_group_name, disk_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, disk_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, disk_name, custom_headers).value! end # @@ -1032,7 +1011,7 @@ def begin_revoke_access_with_http_info(resource_group_name, disk_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, disk_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'disk_name is nil' if disk_name.nil? @@ -1040,7 +1019,6 @@ def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1068,16 +1046,6 @@ def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil end result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? - # Deserialize Response - if status_code == 200 - begin - parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - result.body = @client.deserialize(result_mapper, parsed_response) - rescue Exception => e - fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) - end - end result end @@ -1095,8 +1063,8 @@ def begin_revoke_access_async(resource_group_name, disk_name, custom_headers:nil # # @return [DiskList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1110,8 +1078,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1124,12 +1092,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1183,8 +1150,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1198,8 +1165,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1212,12 +1179,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1270,12 +1236,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1255,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [DiskList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb index 15f6a9df96..b7fd654b24 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb @@ -22,7 +22,6 @@ class AccessUri # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AccessUri', type: { @@ -30,10 +29,9 @@ def self.mapper() class_name: 'AccessUri', model_properties: { access_sas: { - client_side_validation: true, required: false, read_only: true, - serialized_name: 'properties.output.accessSAS', + serialized_name: 'accessSAS', type: { name: 'String' } diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb index 09989e9389..a1ed426dec 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb @@ -40,7 +40,6 @@ class CreationData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CreationData', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'CreationData', model_properties: { create_option: { - client_side_validation: true, required: true, serialized_name: 'createOption', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, storage_account_id: { - client_side_validation: true, required: false, serialized_name: 'storageAccountId', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, image_reference: { - client_side_validation: true, required: false, serialized_name: 'imageReference', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, source_uri: { - client_side_validation: true, required: false, serialized_name: 'sourceUri', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, source_resource_id: { - client_side_validation: true, required: false, serialized_name: 'sourceResourceId', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk.rb index 40483a21ec..2692d054fd 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk.rb @@ -53,7 +53,6 @@ class Disk < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Disk', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'Disk', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -96,13 +91,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, managed_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'managedBy', @@ -121,7 +113,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -155,7 +143,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -181,7 +166,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb index 00a7e27899..0b3dc77d01 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'DiskList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb index d13120ced2..5f24ed508b 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb @@ -26,7 +26,6 @@ class DiskSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskSku', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'DiskSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb index 1cccec3f11..e5ead29c40 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb @@ -8,7 +8,7 @@ module Models # # Disk update resource. # - class DiskUpdate < ResourceUpdate + class DiskUpdate include MsRestAzure @@ -26,6 +26,12 @@ class DiskUpdate < ResourceUpdate # @return [EncryptionSettings] Encryption settings for disk or snapshot attr_accessor :encryption_settings + # @return [Hash{String => String}] Resource tags + attr_accessor :tags + + # @return [DiskSku] + attr_accessor :sku + # # Mapper for DiskUpdate class as Ruby Hash. @@ -33,40 +39,13 @@ class DiskUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DiskUpdate', type: { name: 'Composite', class_name: 'DiskUpdate', model_properties: { - tags: { - client_side_validation: true, - required: false, - serialized_name: 'tags', - type: { - name: 'Dictionary', - value: { - client_side_validation: true, - required: false, - serialized_name: 'StringElementType', - type: { - name: 'String' - } - } - } - }, - sku: { - client_side_validation: true, - required: false, - serialized_name: 'sku', - type: { - name: 'Composite', - class_name: 'DiskSku' - } - }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -75,7 +54,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -83,13 +61,34 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { name: 'Composite', class_name: 'EncryptionSettings' } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + sku: { + required: false, + serialized_name: 'sku', + type: { + name: 'Composite', + class_name: 'DiskSku' + } } } } diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb index 112effd13d..4c81c6062f 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb @@ -34,7 +34,6 @@ class EncryptionSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EncryptionSettings', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EncryptionSettings', model_properties: { enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, disk_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'diskEncryptionKey', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, key_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'keyEncryptionKey', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb index 8fe9e09117..0023a14f1a 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb @@ -26,7 +26,6 @@ class GrantAccessData # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GrantAccessData', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'GrantAccessData', model_properties: { access: { - client_side_validation: true, required: true, serialized_name: 'access', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, duration_in_seconds: { - client_side_validation: true, required: true, serialized_name: 'durationInSeconds', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb index 418666c3a0..633ea4f415 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb @@ -28,7 +28,6 @@ class ImageDiskReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageDiskReference', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ImageDiskReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, lun: { - client_side_validation: true, required: false, serialized_name: 'lun', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb index e7870db247..b00138c63a 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb @@ -27,7 +27,6 @@ class KeyVaultAndKeyReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndKeyReference', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'KeyVaultAndKeyReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, key_url: { - client_side_validation: true, required: true, serialized_name: 'keyUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb index e1e0e176b0..5dc8dd9c64 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb @@ -26,7 +26,6 @@ class KeyVaultAndSecretReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'KeyVaultAndSecretReference', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'KeyVaultAndSecretReference', model_properties: { source_vault: { - client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, secret_url: { - client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/resource.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/resource.rb index a76b36bb06..2691fa6d31 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/resource.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb index 4a84c87018..0866d1855c 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb @@ -49,7 +49,6 @@ class Snapshot < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Snapshot', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'Snapshot', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -75,7 +72,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -84,7 +80,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -92,13 +87,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, managed_by: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'managedBy', @@ -117,7 +109,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, time_created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.timeCreated', @@ -135,7 +125,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -144,7 +133,6 @@ def self.mapper() } }, creation_data: { - client_side_validation: true, required: true, serialized_name: 'properties.creationData', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { @@ -170,7 +156,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb index 3755ab1bf7..732928d2f8 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotList', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SnapshotList', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SnapshotElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb index b0554c4355..e2ba185ec4 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb @@ -27,7 +27,6 @@ class SnapshotSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotSku', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'SnapshotSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb index 7ebddfbb43..e607aaeda0 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb @@ -8,7 +8,7 @@ module Models # # Snapshot update resource. # - class SnapshotUpdate < ResourceUpdate + class SnapshotUpdate include MsRestAzure @@ -26,6 +26,12 @@ class SnapshotUpdate < ResourceUpdate # @return [EncryptionSettings] Encryption settings for disk or snapshot attr_accessor :encryption_settings + # @return [Hash{String => String}] Resource tags + attr_accessor :tags + + # @return [SnapshotSku] + attr_accessor :sku + # # Mapper for SnapshotUpdate class as Ruby Hash. @@ -33,40 +39,13 @@ class SnapshotUpdate < ResourceUpdate # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SnapshotUpdate', type: { name: 'Composite', class_name: 'SnapshotUpdate', model_properties: { - tags: { - client_side_validation: true, - required: false, - serialized_name: 'tags', - type: { - name: 'Dictionary', - value: { - client_side_validation: true, - required: false, - serialized_name: 'StringElementType', - type: { - name: 'String' - } - } - } - }, - sku: { - client_side_validation: true, - required: false, - serialized_name: 'sku', - type: { - name: 'Composite', - class_name: 'DiskSku' - } - }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -75,7 +54,6 @@ def self.mapper() } }, disk_size_gb: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGB', type: { @@ -83,13 +61,34 @@ def self.mapper() } }, encryption_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { name: 'Composite', class_name: 'EncryptionSettings' } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + sku: { + required: false, + serialized_name: 'sku', + type: { + name: 'Composite', + class_name: 'SnapshotSku' + } } } } diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb index 3102280e7c..66cf0249b3 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb @@ -23,7 +23,6 @@ class SourceVault # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SourceVault', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SourceVault', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb index a9c7a15c62..07855fd198 100644 --- a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [Snapshot] operation results. # - def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -53,9 +53,9 @@ def create_or_update(resource_group_name, snapshot_name, snapshot, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -85,8 +85,8 @@ def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_ # # @return [Snapshot] operation results. # - def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -103,9 +103,9 @@ def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -133,8 +133,8 @@ def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [Snapshot] operation results. # - def get(resource_group_name, snapshot_name, custom_headers:nil) - response = get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get(resource_group_name, snapshot_name, custom_headers = nil) + response = get_async(resource_group_name, snapshot_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +150,8 @@ def get(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + get_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -166,7 +166,7 @@ def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, snapshot_name, custom_headers:nil) + def get_async(resource_group_name, snapshot_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -174,7 +174,6 @@ def get_async(resource_group_name, snapshot_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -229,11 +228,9 @@ def get_async(resource_group_name, snapshot_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. - # - def delete(resource_group_name, snapshot_name, custom_headers:nil) - response = delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def delete(resource_group_name, snapshot_name, custom_headers = nil) + response = delete_async(resource_group_name, snapshot_name, custom_headers).value! + nil end # @@ -247,15 +244,13 @@ def delete(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def delete_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - parsed_response = @client.deserialize(result_mapper, parsed_response) end # Waiting for response. @@ -274,8 +269,8 @@ def delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -288,8 +283,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -301,14 +296,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -361,8 +355,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -374,8 +368,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -386,13 +380,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -451,8 +444,8 @@ def list_async(custom_headers:nil) # # @return [AccessUri] operation results. # - def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -469,9 +462,9 @@ def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) # Send request - promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers) + promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -497,11 +490,9 @@ def grant_access_async(resource_group_name, snapshot_name, grant_access_data, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. - # - def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! + nil end # @@ -515,15 +506,13 @@ def revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def revoke_access_async(resource_group_name, snapshot_name, custom_headers = nil) # Send request - promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers) + promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - parsed_response = @client.deserialize(result_mapper, parsed_response) end # Waiting for response. @@ -547,8 +536,8 @@ def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [Snapshot] operation results. # - def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -566,8 +555,8 @@ def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -584,7 +573,7 @@ def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, sn # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -593,12 +582,13 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::Snapshot.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -669,8 +659,8 @@ def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, c # # @return [Snapshot] operation results. # - def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! response.body unless response.nil? end @@ -688,8 +678,8 @@ def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil) - begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers = nil) + begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers).value! end # @@ -706,7 +696,7 @@ def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil) + def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -715,12 +705,13 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate.mapper() request_content = @client.serialize(request_mapper, snapshot) @@ -787,11 +778,10 @@ def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_head # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. # - def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def begin_delete(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! + nil end # @@ -806,8 +796,8 @@ def begin_delete(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_delete_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -822,7 +812,7 @@ def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_delete_async(resource_group_name, snapshot_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -830,7 +820,6 @@ def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -858,16 +847,6 @@ def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) end result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? - # Deserialize Response - if status_code == 200 - begin - parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - result.body = @client.deserialize(result_mapper, parsed_response) - rescue Exception => e - fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) - end - end result end @@ -889,8 +868,8 @@ def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil) # # @return [AccessUri] operation results. # - def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! response.body unless response.nil? end @@ -908,8 +887,8 @@ def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) - begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value! + def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) + begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers).value! end # @@ -926,7 +905,7 @@ def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil) + def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -935,12 +914,13 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData.mapper() request_content = @client.serialize(request_mapper, grant_access_data) @@ -997,11 +977,10 @@ def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_da # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - # @return [OperationStatusResponse] operation results. # - def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) - response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! - response.body unless response.nil? + def begin_revoke_access(resource_group_name, snapshot_name, custom_headers = nil) + response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! + nil end # @@ -1016,8 +995,8 @@ def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers:nil) - begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value! + def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers = nil) + begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers).value! end # @@ -1032,7 +1011,7 @@ def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil) + def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil? @@ -1040,7 +1019,6 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1068,16 +1046,6 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers end result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? - # Deserialize Response - if status_code == 200 - begin - parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) - result_mapper = Azure::Compute::Mgmt::V2018_04_01::Models::OperationStatusResponse.mapper() - result.body = @client.deserialize(result_mapper, parsed_response) - rescue Exception => e - fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) - end - end result end @@ -1095,8 +1063,8 @@ def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers # # @return [SnapshotList] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1110,8 +1078,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1124,12 +1092,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1183,8 +1150,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1198,8 +1165,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1212,12 +1179,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1270,12 +1236,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1255,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # # @return [SnapshotList] which provide lazy access to pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/version.rb b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/version.rb new file mode 100644 index 0000000000..2d26ccc148 --- /dev/null +++ b/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/version.rb @@ -0,0 +1,8 @@ +# 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. + +module Azure::Compute::Mgmt::V2018_04_01 + VERSION = '0.17.1' +end diff --git a/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb b/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb index 6539a4557b..bfe3ca7332 100644 --- a/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb +++ b/management/azure_mgmt_compute/lib/azure_mgmt_compute.rb @@ -2,12 +2,12 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require '2015-06-15/generated/azure_mgmt_compute' +require 'profiles/latest/compute_latest_profile_client' require '2016-03-30/generated/azure_mgmt_compute' +require '2017-12-01/generated/azure_mgmt_compute' require '2016-04-30-preview/generated/azure_mgmt_compute' -require '2017-03-30/generated/azure_mgmt_compute' require '2017-09-01/generated/azure_mgmt_compute' -require '2017-12-01/generated/azure_mgmt_compute' require '2018-04-01/generated/azure_mgmt_compute' -require 'profiles/latest/compute_latest_profile_client' +require '2017-03-30/generated/azure_mgmt_compute' +require '2015-06-15/generated/azure_mgmt_compute' require 'profiles/v2017_03_09/compute_v2017_03_09_profile_client' diff --git a/management/azure_mgmt_compute/lib/profiles/latest/modules/compute_profile_module.rb b/management/azure_mgmt_compute/lib/profiles/latest/modules/compute_profile_module.rb index 108b95974d..110b6b9f21 100644 --- a/management/azure_mgmt_compute/lib/profiles/latest/modules/compute_profile_module.rb +++ b/management/azure_mgmt_compute/lib/profiles/latest/modules/compute_profile_module.rb @@ -26,23 +26,22 @@ module Mgmt VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineRunCommands module Models + EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate + CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData DiskList = Azure::Compute::Mgmt::V2018_04_01::Models::DiskList + KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference SnapshotSku = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku - ResourceUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::ResourceUpdate GrantAccessData = Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData - CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData - AccessUri = Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri - KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference - KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference - EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings - DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku SourceVault = Azure::Compute::Mgmt::V2018_04_01::Models::SourceVault - SnapshotList = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + AccessUri = Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri ImageDiskReference = Azure::Compute::Mgmt::V2018_04_01::Models::ImageDiskReference + SnapshotList = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference + SnapshotUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate Disk = Azure::Compute::Mgmt::V2018_04_01::Models::Disk - DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate Snapshot = Azure::Compute::Mgmt::V2018_04_01::Models::Snapshot - SnapshotUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate DiskCreateOption = Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption SnapshotStorageAccountTypes = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotStorageAccountTypes AccessLevel = Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel @@ -301,57 +300,54 @@ def method_missing(method, *args) end class ModelClasses - def disk_list - Azure::Compute::Mgmt::V2018_04_01::Models::DiskList - end - def snapshot_sku - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku + def encryption_settings + Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings end - def resource_update - Azure::Compute::Mgmt::V2018_04_01::Models::ResourceUpdate + def disk_sku + Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku end - def grant_access_data - Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData + def disk_update + Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate end def creation_data Azure::Compute::Mgmt::V2018_04_01::Models::CreationData end - def access_uri - Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri + def disk_list + Azure::Compute::Mgmt::V2018_04_01::Models::DiskList end def key_vault_and_secret_reference Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference end - def key_vault_and_key_reference - Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference - end - def encryption_settings - Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + def snapshot_sku + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotSku end - def disk_sku - Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + def grant_access_data + Azure::Compute::Mgmt::V2018_04_01::Models::GrantAccessData end def source_vault Azure::Compute::Mgmt::V2018_04_01::Models::SourceVault end - def snapshot_list - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + def access_uri + Azure::Compute::Mgmt::V2018_04_01::Models::AccessUri end def image_disk_reference Azure::Compute::Mgmt::V2018_04_01::Models::ImageDiskReference end + def snapshot_list + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotList + end + def key_vault_and_key_reference + Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference + end + def snapshot_update + Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate + end def disk Azure::Compute::Mgmt::V2018_04_01::Models::Disk end - def disk_update - Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate - end def snapshot Azure::Compute::Mgmt::V2018_04_01::Models::Snapshot end - def snapshot_update - Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotUpdate - end def disk_create_option Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption end