azure_mgmt_compute 0.21.1 → 0.22.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/compute_management_client.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-09-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-03-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-07-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +3 -2
- data/lib/2020-06-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2020-06-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2020-09-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2020-12-01/generated/azure_mgmt_compute.rb +305 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/availability_sets.rb +920 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/compute_management_client.rb +221 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +861 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/images.rb +975 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +64 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/available_patch_summary.rb +143 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +63 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +78 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/data_disk.rb +224 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host.rb +219 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +178 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_instance_view.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +141 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view_with_name.rb +84 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +171 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/diff_disk_placement.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +69 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disallowed_configuration.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_detach_option_types.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/execution_state.rb +21 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/extended_location.rb +58 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/extended_location_types.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb +106 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image.rb +151 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_reference.rb +114 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb +179 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb +94 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_parameters.rb +107 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_patch_settings.rb +52 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_vmguest_patch_mode.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +124 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_mode.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_names.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_state.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_action.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb +61 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/osprofile.rb +204 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_assessment_state.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_installation_detail.rb +121 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_installation_state.rb +20 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_operation_status.rb +19 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_settings.rb +71 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +180 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +113 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/retrieve_boot_diagnostics_data_result.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +133 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/security_profile.rb +81 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/security_types.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/sku.rb +73 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key_generate_key_pair_result.rb +73 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key_resource.rb +102 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key_update_resource.rb +67 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_keys_group_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/sub_resource_with_colocation_status.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +99 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/uefi_settings.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +488 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb +152 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +208 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +147 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +184 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_feature.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_parameters.rb +87 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_result.rb +204 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +258 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb +83 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command.rb +241 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb +135 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_script_source.rb +68 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_update.rb +206 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_commands_list_result.rb +98 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +358 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +197 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +70 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_update.rb +198 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +113 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +63 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +149 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +210 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +190 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +148 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +151 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +398 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb +190 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension_update.rb +164 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_list_result.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +211 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +190 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb +172 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +418 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vm_disk_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_classification_linux.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_classification_windows.rb +22 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_reboot_behavior.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_reboot_setting.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_reboot_status.rb +20 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb +127 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb +117 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/windows_vmguest_patch_mode.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/operations.rb +109 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +846 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/ssh_public_keys.rb +939 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_images_edge_zone.rb +626 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +1112 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +821 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmrun_commands.rb +827 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +2230 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3523 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machines.rb +3446 -0
- data/lib/azure_mgmt_compute.rb +1 -0
- data/lib/profiles/latest/modules/compute_profile_module.rb +1010 -944
- data/lib/version.rb +1 -1
- metadata +283 -2
data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2020_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The List Proximity Placement Group operation response.
|
10
|
+
#
|
11
|
+
class ProximityPlacementGroupListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<ProximityPlacementGroup>] The list of proximity
|
17
|
+
# placement groups
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] The URI to fetch the next page of proximity placement
|
21
|
+
# groups.
|
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<ProximityPlacementGroup>] operation results.
|
31
|
+
#
|
32
|
+
def get_all_items
|
33
|
+
items = @value
|
34
|
+
page = self
|
35
|
+
while page.next_link != nil && !page.next_link.strip.empty? 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 [ProximityPlacementGroupListResult] 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
|
55
|
+
|
56
|
+
#
|
57
|
+
# Mapper for ProximityPlacementGroupListResult class as Ruby Hash.
|
58
|
+
# This will be used for serialization/deserialization.
|
59
|
+
#
|
60
|
+
def self.mapper()
|
61
|
+
{
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'ProximityPlacementGroupListResult',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'ProximityPlacementGroupListResult',
|
68
|
+
model_properties: {
|
69
|
+
value: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: true,
|
72
|
+
serialized_name: 'value',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'ProximityPlacementGroupElementType',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'ProximityPlacementGroup'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
next_link: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'nextLink',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2020_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ProximityPlacementGroupType
|
10
|
+
#
|
11
|
+
module ProximityPlacementGroupType
|
12
|
+
Standard = "Standard"
|
13
|
+
Ultra = "Ultra"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2020_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Specifies information about the proximity placement group.
|
10
|
+
#
|
11
|
+
class ProximityPlacementGroupUpdate < UpdateResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# Mapper for ProximityPlacementGroupUpdate class as Ruby Hash.
|
18
|
+
# This will be used for serialization/deserialization.
|
19
|
+
#
|
20
|
+
def self.mapper()
|
21
|
+
{
|
22
|
+
client_side_validation: true,
|
23
|
+
required: false,
|
24
|
+
serialized_name: 'ProximityPlacementGroupUpdate',
|
25
|
+
type: {
|
26
|
+
name: 'Composite',
|
27
|
+
class_name: 'ProximityPlacementGroupUpdate',
|
28
|
+
model_properties: {
|
29
|
+
tags: {
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'tags',
|
33
|
+
type: {
|
34
|
+
name: 'Dictionary',
|
35
|
+
value: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'StringElementType',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2020_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Used for establishing the purchase context of any 3rd Party artifact
|
10
|
+
# through MarketPlace.
|
11
|
+
#
|
12
|
+
class PurchasePlan
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The publisher ID.
|
17
|
+
attr_accessor :publisher
|
18
|
+
|
19
|
+
# @return [String] The plan ID.
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
# @return [String] Specifies the product of the image from the
|
23
|
+
# marketplace. This is the same value as Offer under the imageReference
|
24
|
+
# element.
|
25
|
+
attr_accessor :product
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for PurchasePlan class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'PurchasePlan',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'PurchasePlan',
|
40
|
+
model_properties: {
|
41
|
+
publisher: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: true,
|
44
|
+
serialized_name: 'publisher',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
name: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: true,
|
52
|
+
serialized_name: 'name',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
product: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: true,
|
60
|
+
serialized_name: 'product',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2020_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Response after calling a manual recovery walk
|
10
|
+
#
|
11
|
+
class RecoveryWalkResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Whether the recovery walk was performed
|
16
|
+
attr_accessor :walk_performed
|
17
|
+
|
18
|
+
# @return [Integer] The next update domain that needs to be walked. Null
|
19
|
+
# means walk spanning all update domains has been completed
|
20
|
+
attr_accessor :next_platform_update_domain
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for RecoveryWalkResponse class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'RecoveryWalkResponse',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'RecoveryWalkResponse',
|
35
|
+
model_properties: {
|
36
|
+
walk_performed: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
read_only: true,
|
40
|
+
serialized_name: 'walkPerformed',
|
41
|
+
type: {
|
42
|
+
name: 'Boolean'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
next_platform_update_domain: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'nextPlatformUpdateDomain',
|
50
|
+
type: {
|
51
|
+
name: 'Number'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,113 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2020_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Api request input for LogAnalytics getRequestRateByInterval Api.
|
10
|
+
#
|
11
|
+
class RequestRateByIntervalInput < LogAnalyticsInputBase
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [IntervalInMins] Interval value in minutes used to create
|
16
|
+
# LogAnalytics call rate logs. Possible values include: 'ThreeMins',
|
17
|
+
# 'FiveMins', 'ThirtyMins', 'SixtyMins'
|
18
|
+
attr_accessor :interval_length
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for RequestRateByIntervalInput class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'RequestRateByIntervalInput',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'RequestRateByIntervalInput',
|
33
|
+
model_properties: {
|
34
|
+
blob_container_sas_uri: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: true,
|
37
|
+
serialized_name: 'blobContainerSasUri',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
from_time: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: true,
|
45
|
+
serialized_name: 'fromTime',
|
46
|
+
type: {
|
47
|
+
name: 'DateTime'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
to_time: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'toTime',
|
54
|
+
type: {
|
55
|
+
name: 'DateTime'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
group_by_throttle_policy: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'groupByThrottlePolicy',
|
62
|
+
type: {
|
63
|
+
name: 'Boolean'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
group_by_operation_name: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'groupByOperationName',
|
70
|
+
type: {
|
71
|
+
name: 'Boolean'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
group_by_resource_name: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'groupByResourceName',
|
78
|
+
type: {
|
79
|
+
name: 'Boolean'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
group_by_client_application_id: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'groupByClientApplicationId',
|
86
|
+
type: {
|
87
|
+
name: 'Boolean'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
group_by_user_agent: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'groupByUserAgent',
|
94
|
+
type: {
|
95
|
+
name: 'Boolean'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
interval_length: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: true,
|
101
|
+
serialized_name: 'intervalLength',
|
102
|
+
type: {
|
103
|
+
name: 'Enum',
|
104
|
+
module: 'IntervalInMins'
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2020_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The Resource model definition.
|
10
|
+
#
|
11
|
+
class Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource Id
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Resource name
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Resource type
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [String] Resource location
|
25
|
+
attr_accessor :location
|
26
|
+
|
27
|
+
# @return [Hash{String => String}] Resource tags
|
28
|
+
attr_accessor :tags
|
29
|
+
|
30
|
+
|
31
|
+
# @return [String] the name of the resource group of the resource.
|
32
|
+
def resource_group
|
33
|
+
unless self.id.nil?
|
34
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
35
|
+
groups.captures[0].strip if groups
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Mapper for Resource class as Ruby Hash.
|
42
|
+
# This will be used for serialization/deserialization.
|
43
|
+
#
|
44
|
+
def self.mapper()
|
45
|
+
{
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'Resource',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
class_name: 'Resource',
|
52
|
+
model_properties: {
|
53
|
+
id: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'id',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
name: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'name',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
type: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'type',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
location: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: true,
|
83
|
+
serialized_name: 'location',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
tags: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'tags',
|
92
|
+
type: {
|
93
|
+
name: 'Dictionary',
|
94
|
+
value: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'StringElementType',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|