azure_mgmt_compute 0.17.1 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb +112 -3
- data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set_list_result.rb +46 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +3 -2
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +5 -5
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +7 -7
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb +6 -6
- data/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb +304 -3
- data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +46 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +3 -2
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +5 -5
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +7 -7
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb +6 -6
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute.rb +2 -2
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb +304 -3
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb +46 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +3 -2
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +6 -6
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +8 -8
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb +7 -7
- data/lib/2017-03-30/generated/azure_mgmt_compute.rb +3 -3
- data/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb +304 -3
- data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
- data/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +46 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +3 -2
- data/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +2 -2
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +6 -6
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +8 -8
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb +9 -9
- data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
- data/lib/2017-12-01/generated/azure_mgmt_compute.rb +55 -55
- data/lib/2017-12-01/generated/azure_mgmt_compute/availability_sets.rb +304 -3
- data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +7 -6
- data/lib/2017-12-01/generated/azure_mgmt_compute/log_analytics.rb +2 -2
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +46 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb +7 -7
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb +7 -7
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +2 -2
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +3 -2
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +3 -3
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +3 -2
- data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +2 -2
- data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +8 -8
- data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +22 -10
- data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb +9 -9
- data/lib/2018-04-01/generated/azure_mgmt_compute.rb +185 -15
- data/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb +894 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +69 -6
- data/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb +4 -34
- data/lib/2018-04-01/generated/azure_mgmt_compute/images.rb +959 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/log_analytics.rb +337 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/availability_set.rb +172 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/availability_set_update.rb +128 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +63 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/data_disk.rb +159 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +53 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb +2 -2
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb +32 -26
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/image.rb +126 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_data_disk.rb +126 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_osdisk.rb +141 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_reference.rb +98 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_update.rb +89 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/linux_configuration.rb +66 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/osdisk.rb +178 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/osprofile.rb +169 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/sku.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb +32 -26
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/storage_account_types.rb +1 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/{resource_update.rb → update_resource.rb} +5 -17
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +92 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine.rb +304 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +119 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +206 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +245 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +126 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +152 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +91 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +174 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +50 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +167 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +93 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +138 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +167 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +112 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +329 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +197 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +147 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +247 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/windows_configuration.rb +109 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/operations.rb +107 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb +4 -34
- data/lib/2018-04-01/generated/azure_mgmt_compute/usage_operations.rb +237 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +354 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +691 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_images.rb +590 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +316 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +636 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +363 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1915 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2967 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +117 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machines.rb +2397 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute.rb +237 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/availability_sets.rb +894 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +203 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/galleries.rb +795 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/gallery_image_versions.rb +676 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/gallery_images.rb +626 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/images.rb +959 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/log_analytics.rb +337 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/aggregated_replication_state.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set.rb +172 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set_update.rb +128 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +63 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/data_disk.rb +159 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +53 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/disallowed.rb +54 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery.rb +124 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb +62 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_identifier.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image.rb +233 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_list.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +140 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +108 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_list.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb +54 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/host_caching.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image.rb +126 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_data_disk.rb +126 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_osdisk.rb +141 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_reference.rb +98 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_update.rb +89 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/managed_artifact.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/osdisk.rb +178 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/osprofile.rb +182 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/regional_replication_status.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/replication_state.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/replication_status.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/replication_status_types.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
- data/lib/{2018-04-01/generated/azure_mgmt_compute/models/operation_status_response.rb → 2018-06-01/generated/azure_mgmt_compute/models/resource.rb} +38 -33
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/resource_range.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/scale_tier.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/sku.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/storage_account_types.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +92 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +304 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +119 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +206 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +245 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +126 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +152 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +91 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +50 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +93 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +138 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +188 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +108 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +112 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +309 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +197 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +147 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +247 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/windows_configuration.rb +109 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/operations.rb +107 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/usage_operations.rb +237 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +354 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +691 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_images.rb +590 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +316 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +636 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +363 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1915 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2955 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +117 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machines.rb +2397 -0
- data/lib/azure_mgmt_compute.rb +4 -3
- data/lib/profiles/latest/modules/compute_profile_module.rb +660 -530
- data/lib/version.rb +1 -1
- metadata +389 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 168feb63aae05cca8b0f2cc58c6e11c20fd00651
|
4
|
+
data.tar.gz: b7b60fef2a13ffe2c51714a3286826744d2dfe31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a692494e3436c80b9ce61a47927542484319cfe559bfee0d47728d388f1a26480d9c065f787a49234f223c5ad769c631c1ad71ae2363b96dcd24a49bc5fbd8b0
|
7
|
+
data.tar.gz: 9195b8b25b2d4a1cf9c22caaeb940304afecc87b38a89141596054e90d33e8877c4d88b78bd31f3e108e3acc7c8ef873aa96b5dd2ab3201d3260f24e9efb0ac2
|
@@ -318,11 +318,11 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
318
318
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
319
319
|
# will be added to the HTTP request.
|
320
320
|
#
|
321
|
-
# @return [
|
321
|
+
# @return [Array<AvailabilitySet>] operation results.
|
322
322
|
#
|
323
323
|
def list(resource_group_name, custom_headers:nil)
|
324
|
-
|
325
|
-
|
324
|
+
first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers)
|
325
|
+
first_page.get_all_items
|
326
326
|
end
|
327
327
|
|
328
328
|
#
|
@@ -494,5 +494,114 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
494
494
|
promise.execute
|
495
495
|
end
|
496
496
|
|
497
|
+
#
|
498
|
+
# Lists all availability sets in a resource group.
|
499
|
+
#
|
500
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
501
|
+
# to List operation.
|
502
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
503
|
+
# will be added to the HTTP request.
|
504
|
+
#
|
505
|
+
# @return [AvailabilitySetListResult] operation results.
|
506
|
+
#
|
507
|
+
def list_next(next_page_link, custom_headers:nil)
|
508
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
509
|
+
response.body unless response.nil?
|
510
|
+
end
|
511
|
+
|
512
|
+
#
|
513
|
+
# Lists all availability sets in a resource group.
|
514
|
+
#
|
515
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
516
|
+
# to List operation.
|
517
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
518
|
+
# will be added to the HTTP request.
|
519
|
+
#
|
520
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
521
|
+
#
|
522
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
523
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
524
|
+
end
|
525
|
+
|
526
|
+
#
|
527
|
+
# Lists all availability sets in a resource group.
|
528
|
+
#
|
529
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
530
|
+
# to List operation.
|
531
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
532
|
+
# to the HTTP request.
|
533
|
+
#
|
534
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
535
|
+
#
|
536
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
537
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
538
|
+
|
539
|
+
|
540
|
+
request_headers = {}
|
541
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
542
|
+
|
543
|
+
# Set Headers
|
544
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
545
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
546
|
+
path_template = '{nextLink}'
|
547
|
+
|
548
|
+
request_url = @base_url || @client.base_url
|
549
|
+
|
550
|
+
options = {
|
551
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
552
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
553
|
+
headers: request_headers.merge(custom_headers || {}),
|
554
|
+
base_url: request_url
|
555
|
+
}
|
556
|
+
promise = @client.make_request_async(:get, path_template, options)
|
557
|
+
|
558
|
+
promise = promise.then do |result|
|
559
|
+
http_response = result.response
|
560
|
+
status_code = http_response.status
|
561
|
+
response_content = http_response.body
|
562
|
+
unless status_code == 200
|
563
|
+
error_model = JSON.load(response_content)
|
564
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
565
|
+
end
|
566
|
+
|
567
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
568
|
+
# Deserialize Response
|
569
|
+
if status_code == 200
|
570
|
+
begin
|
571
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
572
|
+
result_mapper = Azure::Compute::Mgmt::V2015_06_15::Models::AvailabilitySetListResult.mapper()
|
573
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
574
|
+
rescue Exception => e
|
575
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
576
|
+
end
|
577
|
+
end
|
578
|
+
|
579
|
+
result
|
580
|
+
end
|
581
|
+
|
582
|
+
promise.execute
|
583
|
+
end
|
584
|
+
|
585
|
+
#
|
586
|
+
# Lists all availability sets in a resource group.
|
587
|
+
#
|
588
|
+
# @param resource_group_name [String] The name of the resource group.
|
589
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
590
|
+
# will be added to the HTTP request.
|
591
|
+
#
|
592
|
+
# @return [AvailabilitySetListResult] which provide lazy access to pages of the
|
593
|
+
# response.
|
594
|
+
#
|
595
|
+
def list_as_lazy(resource_group_name, custom_headers:nil)
|
596
|
+
response = list_async(resource_group_name, custom_headers:custom_headers).value!
|
597
|
+
unless response.nil?
|
598
|
+
page = response.body
|
599
|
+
page.next_method = Proc.new do |next_page_link|
|
600
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
601
|
+
end
|
602
|
+
page
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
497
606
|
end
|
498
607
|
end
|
@@ -25,15 +25,16 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
25
25
|
# @return [String] Client Api Version.
|
26
26
|
attr_reader :api_version
|
27
27
|
|
28
|
-
# @return [String]
|
28
|
+
# @return [String] The preferred language for the response.
|
29
29
|
attr_accessor :accept_language
|
30
30
|
|
31
|
-
# @return [Integer]
|
32
|
-
#
|
31
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
32
|
+
# Operations. Default value is 30.
|
33
33
|
attr_accessor :long_running_operation_retry_timeout
|
34
34
|
|
35
|
-
# @return [Boolean]
|
36
|
-
#
|
35
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
36
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
37
|
+
# generated and included in each request. Default is true.
|
37
38
|
attr_accessor :generate_client_request_id
|
38
39
|
|
39
40
|
# @return [AvailabilitySets] availability_sets
|
@@ -157,7 +158,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
157
158
|
#
|
158
159
|
def add_telemetry
|
159
160
|
sdk_information = 'azure_mgmt_compute'
|
160
|
-
sdk_information = "#{sdk_information}/0.
|
161
|
+
sdk_information = "#{sdk_information}/0.18.0"
|
161
162
|
add_user_agent_information(sdk_information)
|
162
163
|
end
|
163
164
|
end
|
@@ -12,9 +12,46 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [Array<AvailabilitySet>] The list of availability sets
|
16
17
|
attr_accessor :value
|
17
18
|
|
19
|
+
# @return [String] The URI to fetch the next page of AvailabilitySets.
|
20
|
+
# Call ListNext() with this URI to fetch the next page of
|
21
|
+
# AvailabilitySets.
|
22
|
+
attr_accessor :next_link
|
23
|
+
|
24
|
+
# return [Proc] with next page method call.
|
25
|
+
attr_accessor :next_method
|
26
|
+
|
27
|
+
#
|
28
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
29
|
+
#
|
30
|
+
# @return [Array<AvailabilitySet>] operation results.
|
31
|
+
#
|
32
|
+
def get_all_items
|
33
|
+
items = @value
|
34
|
+
page = self
|
35
|
+
while page.next_link != nil do
|
36
|
+
page = page.get_next_page
|
37
|
+
items.concat(page.value)
|
38
|
+
end
|
39
|
+
items
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Gets the next page of results.
|
44
|
+
#
|
45
|
+
# @return [AvailabilitySetListResult] with next page content.
|
46
|
+
#
|
47
|
+
def get_next_page
|
48
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
49
|
+
unless response.nil?
|
50
|
+
@next_link = response.body.next_link
|
51
|
+
@value = response.body.value
|
52
|
+
self
|
53
|
+
end
|
54
|
+
end
|
18
55
|
|
19
56
|
#
|
20
57
|
# Mapper for AvailabilitySetListResult class as Ruby Hash.
|
@@ -31,7 +68,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
31
68
|
model_properties: {
|
32
69
|
value: {
|
33
70
|
client_side_validation: true,
|
34
|
-
required:
|
71
|
+
required: true,
|
35
72
|
serialized_name: 'value',
|
36
73
|
type: {
|
37
74
|
name: 'Sequence',
|
@@ -45,6 +82,14 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
45
82
|
}
|
46
83
|
}
|
47
84
|
}
|
85
|
+
},
|
86
|
+
next_link: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'nextLink',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
48
93
|
}
|
49
94
|
}
|
50
95
|
}
|
@@ -22,7 +22,8 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
22
22
|
# to the virtual machine.
|
23
23
|
attr_accessor :latest_model_applied
|
24
24
|
|
25
|
-
# @return [
|
25
|
+
# @return [VirtualMachineScaleSetVMInstanceView] The virtual machine
|
26
|
+
# instance view.
|
26
27
|
attr_accessor :instance_view
|
27
28
|
|
28
29
|
# @return [HardwareProfile] Specifies the hardware settings for the
|
@@ -186,7 +187,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
186
187
|
serialized_name: 'properties.instanceView',
|
187
188
|
type: {
|
188
189
|
name: 'Composite',
|
189
|
-
class_name: '
|
190
|
+
class_name: 'VirtualMachineScaleSetVMInstanceView'
|
190
191
|
}
|
191
192
|
},
|
192
193
|
hardware_profile: {
|
@@ -60,7 +60,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
60
60
|
end
|
61
61
|
|
62
62
|
# Waiting for response.
|
63
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
63
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
64
64
|
end
|
65
65
|
|
66
66
|
promise
|
@@ -107,7 +107,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
107
107
|
end
|
108
108
|
|
109
109
|
# Waiting for response.
|
110
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
110
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
111
111
|
end
|
112
112
|
|
113
113
|
promise
|
@@ -490,7 +490,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
490
490
|
end
|
491
491
|
|
492
492
|
# Waiting for response.
|
493
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
493
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
494
494
|
end
|
495
495
|
|
496
496
|
promise
|
@@ -534,7 +534,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
534
534
|
end
|
535
535
|
|
536
536
|
# Waiting for response.
|
537
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
537
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
538
538
|
end
|
539
539
|
|
540
540
|
promise
|
@@ -578,7 +578,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
578
578
|
end
|
579
579
|
|
580
580
|
# Waiting for response.
|
581
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
581
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
582
582
|
end
|
583
583
|
|
584
584
|
promise
|
@@ -241,7 +241,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
241
241
|
end
|
242
242
|
|
243
243
|
# Waiting for response.
|
244
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
244
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
245
245
|
end
|
246
246
|
|
247
247
|
promise
|
@@ -287,7 +287,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
287
287
|
end
|
288
288
|
|
289
289
|
# Waiting for response.
|
290
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
290
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
291
291
|
end
|
292
292
|
|
293
293
|
promise
|
@@ -703,7 +703,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
703
703
|
end
|
704
704
|
|
705
705
|
# Waiting for response.
|
706
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
706
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
707
707
|
end
|
708
708
|
|
709
709
|
promise
|
@@ -749,7 +749,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
749
749
|
end
|
750
750
|
|
751
751
|
# Waiting for response.
|
752
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
752
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
753
753
|
end
|
754
754
|
|
755
755
|
promise
|
@@ -795,7 +795,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
795
795
|
end
|
796
796
|
|
797
797
|
# Waiting for response.
|
798
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
798
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
799
799
|
end
|
800
800
|
|
801
801
|
promise
|
@@ -842,7 +842,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
842
842
|
end
|
843
843
|
|
844
844
|
# Waiting for response.
|
845
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
845
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
846
846
|
end
|
847
847
|
|
848
848
|
promise
|
@@ -885,7 +885,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
885
885
|
end
|
886
886
|
|
887
887
|
# Waiting for response.
|
888
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
888
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
889
889
|
end
|
890
890
|
|
891
891
|
promise
|
@@ -62,7 +62,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
62
62
|
end
|
63
63
|
|
64
64
|
# Waiting for response.
|
65
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
65
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
66
66
|
end
|
67
67
|
|
68
68
|
promise
|
@@ -294,7 +294,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
294
294
|
end
|
295
295
|
|
296
296
|
# Waiting for response.
|
297
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
297
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
298
298
|
end
|
299
299
|
|
300
300
|
promise
|
@@ -703,7 +703,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
703
703
|
end
|
704
704
|
|
705
705
|
# Waiting for response.
|
706
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
706
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
707
707
|
end
|
708
708
|
|
709
709
|
promise
|
@@ -745,7 +745,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
745
745
|
end
|
746
746
|
|
747
747
|
# Waiting for response.
|
748
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
748
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
749
749
|
end
|
750
750
|
|
751
751
|
promise
|
@@ -787,7 +787,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
787
787
|
end
|
788
788
|
|
789
789
|
# Waiting for response.
|
790
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
790
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
791
791
|
end
|
792
792
|
|
793
793
|
promise
|
@@ -829,7 +829,7 @@ module Azure::Compute::Mgmt::V2015_06_15
|
|
829
829
|
end
|
830
830
|
|
831
831
|
# Waiting for response.
|
832
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
832
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
|
833
833
|
end
|
834
834
|
|
835
835
|
promise
|
@@ -311,6 +311,90 @@ module Azure::Compute::Mgmt::V2016_03_30
|
|
311
311
|
promise.execute
|
312
312
|
end
|
313
313
|
|
314
|
+
#
|
315
|
+
# Lists all availability sets in a subscription.
|
316
|
+
#
|
317
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
318
|
+
# will be added to the HTTP request.
|
319
|
+
#
|
320
|
+
# @return [Array<AvailabilitySet>] operation results.
|
321
|
+
#
|
322
|
+
def list_by_subscription(custom_headers:nil)
|
323
|
+
first_page = list_by_subscription_as_lazy(custom_headers:custom_headers)
|
324
|
+
first_page.get_all_items
|
325
|
+
end
|
326
|
+
|
327
|
+
#
|
328
|
+
# Lists all availability sets in a subscription.
|
329
|
+
#
|
330
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
331
|
+
# will be added to the HTTP request.
|
332
|
+
#
|
333
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
334
|
+
#
|
335
|
+
def list_by_subscription_with_http_info(custom_headers:nil)
|
336
|
+
list_by_subscription_async(custom_headers:custom_headers).value!
|
337
|
+
end
|
338
|
+
|
339
|
+
#
|
340
|
+
# Lists all availability sets in a subscription.
|
341
|
+
#
|
342
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
343
|
+
# to the HTTP request.
|
344
|
+
#
|
345
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
346
|
+
#
|
347
|
+
def list_by_subscription_async(custom_headers:nil)
|
348
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
349
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
350
|
+
|
351
|
+
|
352
|
+
request_headers = {}
|
353
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
354
|
+
|
355
|
+
# Set Headers
|
356
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
357
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
358
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets'
|
359
|
+
|
360
|
+
request_url = @base_url || @client.base_url
|
361
|
+
|
362
|
+
options = {
|
363
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
364
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
365
|
+
query_params: {'api-version' => @client.api_version},
|
366
|
+
headers: request_headers.merge(custom_headers || {}),
|
367
|
+
base_url: request_url
|
368
|
+
}
|
369
|
+
promise = @client.make_request_async(:get, path_template, options)
|
370
|
+
|
371
|
+
promise = promise.then do |result|
|
372
|
+
http_response = result.response
|
373
|
+
status_code = http_response.status
|
374
|
+
response_content = http_response.body
|
375
|
+
unless status_code == 200
|
376
|
+
error_model = JSON.load(response_content)
|
377
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
378
|
+
end
|
379
|
+
|
380
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
381
|
+
# Deserialize Response
|
382
|
+
if status_code == 200
|
383
|
+
begin
|
384
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
385
|
+
result_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult.mapper()
|
386
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
387
|
+
rescue Exception => e
|
388
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
result
|
393
|
+
end
|
394
|
+
|
395
|
+
promise.execute
|
396
|
+
end
|
397
|
+
|
314
398
|
#
|
315
399
|
# Lists all availability sets in a resource group.
|
316
400
|
#
|
@@ -318,11 +402,11 @@ module Azure::Compute::Mgmt::V2016_03_30
|
|
318
402
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
319
403
|
# will be added to the HTTP request.
|
320
404
|
#
|
321
|
-
# @return [
|
405
|
+
# @return [Array<AvailabilitySet>] operation results.
|
322
406
|
#
|
323
407
|
def list(resource_group_name, custom_headers:nil)
|
324
|
-
|
325
|
-
|
408
|
+
first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers)
|
409
|
+
first_page.get_all_items
|
326
410
|
end
|
327
411
|
|
328
412
|
#
|
@@ -494,5 +578,222 @@ module Azure::Compute::Mgmt::V2016_03_30
|
|
494
578
|
promise.execute
|
495
579
|
end
|
496
580
|
|
581
|
+
#
|
582
|
+
# Lists all availability sets in a subscription.
|
583
|
+
#
|
584
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
585
|
+
# to List operation.
|
586
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
587
|
+
# will be added to the HTTP request.
|
588
|
+
#
|
589
|
+
# @return [AvailabilitySetListResult] operation results.
|
590
|
+
#
|
591
|
+
def list_by_subscription_next(next_page_link, custom_headers:nil)
|
592
|
+
response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
|
593
|
+
response.body unless response.nil?
|
594
|
+
end
|
595
|
+
|
596
|
+
#
|
597
|
+
# Lists all availability sets in a subscription.
|
598
|
+
#
|
599
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
600
|
+
# to List operation.
|
601
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
602
|
+
# will be added to the HTTP request.
|
603
|
+
#
|
604
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
605
|
+
#
|
606
|
+
def list_by_subscription_next_with_http_info(next_page_link, custom_headers:nil)
|
607
|
+
list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
|
608
|
+
end
|
609
|
+
|
610
|
+
#
|
611
|
+
# Lists all availability sets in a subscription.
|
612
|
+
#
|
613
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
614
|
+
# to List operation.
|
615
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
616
|
+
# to the HTTP request.
|
617
|
+
#
|
618
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
619
|
+
#
|
620
|
+
def list_by_subscription_next_async(next_page_link, custom_headers:nil)
|
621
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
622
|
+
|
623
|
+
|
624
|
+
request_headers = {}
|
625
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
626
|
+
|
627
|
+
# Set Headers
|
628
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
629
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
630
|
+
path_template = '{nextLink}'
|
631
|
+
|
632
|
+
request_url = @base_url || @client.base_url
|
633
|
+
|
634
|
+
options = {
|
635
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
636
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
637
|
+
headers: request_headers.merge(custom_headers || {}),
|
638
|
+
base_url: request_url
|
639
|
+
}
|
640
|
+
promise = @client.make_request_async(:get, path_template, options)
|
641
|
+
|
642
|
+
promise = promise.then do |result|
|
643
|
+
http_response = result.response
|
644
|
+
status_code = http_response.status
|
645
|
+
response_content = http_response.body
|
646
|
+
unless status_code == 200
|
647
|
+
error_model = JSON.load(response_content)
|
648
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
649
|
+
end
|
650
|
+
|
651
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
652
|
+
# Deserialize Response
|
653
|
+
if status_code == 200
|
654
|
+
begin
|
655
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
656
|
+
result_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult.mapper()
|
657
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
658
|
+
rescue Exception => e
|
659
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
663
|
+
result
|
664
|
+
end
|
665
|
+
|
666
|
+
promise.execute
|
667
|
+
end
|
668
|
+
|
669
|
+
#
|
670
|
+
# Lists all availability sets in a resource group.
|
671
|
+
#
|
672
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
673
|
+
# to List operation.
|
674
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
675
|
+
# will be added to the HTTP request.
|
676
|
+
#
|
677
|
+
# @return [AvailabilitySetListResult] operation results.
|
678
|
+
#
|
679
|
+
def list_next(next_page_link, custom_headers:nil)
|
680
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
681
|
+
response.body unless response.nil?
|
682
|
+
end
|
683
|
+
|
684
|
+
#
|
685
|
+
# Lists all availability sets in a resource group.
|
686
|
+
#
|
687
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
688
|
+
# to List operation.
|
689
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
690
|
+
# will be added to the HTTP request.
|
691
|
+
#
|
692
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
693
|
+
#
|
694
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
695
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
696
|
+
end
|
697
|
+
|
698
|
+
#
|
699
|
+
# Lists all availability sets in a resource group.
|
700
|
+
#
|
701
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
702
|
+
# to List operation.
|
703
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
704
|
+
# to the HTTP request.
|
705
|
+
#
|
706
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
707
|
+
#
|
708
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
709
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
710
|
+
|
711
|
+
|
712
|
+
request_headers = {}
|
713
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
714
|
+
|
715
|
+
# Set Headers
|
716
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
717
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
718
|
+
path_template = '{nextLink}'
|
719
|
+
|
720
|
+
request_url = @base_url || @client.base_url
|
721
|
+
|
722
|
+
options = {
|
723
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
724
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
725
|
+
headers: request_headers.merge(custom_headers || {}),
|
726
|
+
base_url: request_url
|
727
|
+
}
|
728
|
+
promise = @client.make_request_async(:get, path_template, options)
|
729
|
+
|
730
|
+
promise = promise.then do |result|
|
731
|
+
http_response = result.response
|
732
|
+
status_code = http_response.status
|
733
|
+
response_content = http_response.body
|
734
|
+
unless status_code == 200
|
735
|
+
error_model = JSON.load(response_content)
|
736
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
737
|
+
end
|
738
|
+
|
739
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
740
|
+
# Deserialize Response
|
741
|
+
if status_code == 200
|
742
|
+
begin
|
743
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
744
|
+
result_mapper = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult.mapper()
|
745
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
746
|
+
rescue Exception => e
|
747
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
748
|
+
end
|
749
|
+
end
|
750
|
+
|
751
|
+
result
|
752
|
+
end
|
753
|
+
|
754
|
+
promise.execute
|
755
|
+
end
|
756
|
+
|
757
|
+
#
|
758
|
+
# Lists all availability sets in a subscription.
|
759
|
+
#
|
760
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
761
|
+
# will be added to the HTTP request.
|
762
|
+
#
|
763
|
+
# @return [AvailabilitySetListResult] which provide lazy access to pages of the
|
764
|
+
# response.
|
765
|
+
#
|
766
|
+
def list_by_subscription_as_lazy(custom_headers:nil)
|
767
|
+
response = list_by_subscription_async(custom_headers:custom_headers).value!
|
768
|
+
unless response.nil?
|
769
|
+
page = response.body
|
770
|
+
page.next_method = Proc.new do |next_page_link|
|
771
|
+
list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
|
772
|
+
end
|
773
|
+
page
|
774
|
+
end
|
775
|
+
end
|
776
|
+
|
777
|
+
#
|
778
|
+
# Lists all availability sets in a resource group.
|
779
|
+
#
|
780
|
+
# @param resource_group_name [String] The name of the resource group.
|
781
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
782
|
+
# will be added to the HTTP request.
|
783
|
+
#
|
784
|
+
# @return [AvailabilitySetListResult] which provide lazy access to pages of the
|
785
|
+
# response.
|
786
|
+
#
|
787
|
+
def list_as_lazy(resource_group_name, custom_headers:nil)
|
788
|
+
response = list_async(resource_group_name, custom_headers:custom_headers).value!
|
789
|
+
unless response.nil?
|
790
|
+
page = response.body
|
791
|
+
page.next_method = Proc.new do |next_page_link|
|
792
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
793
|
+
end
|
794
|
+
page
|
795
|
+
end
|
796
|
+
end
|
797
|
+
|
497
798
|
end
|
498
799
|
end
|