azure_mgmt_compute 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute.rb +131 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb +495 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +163 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/additional_unattend_content.rb +87 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/api_error.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/api_error_base.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb +137 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/availability_set_list_result.rb +1 -1
- data/lib/{generated/azure_mgmt_compute/models/container_service_vmdiagnostics.rb → 2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb} +11 -12
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/caching_types.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/component_names.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb +114 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk_image.rb +47 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb +47 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb +58 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/image_reference.rb +76 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/inner_error.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/instance_view_status.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/instance_view_types.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/key_vault_secret_reference.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/list_usages_result.rb +84 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/network_interface_reference.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/network_profile.rb +54 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/operating_system_types.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/operation_status_response.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb +127 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/osdisk_image.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb +119 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/plan.rb +74 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/protocol_types.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/resource.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/setting_names.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/sku.rb +64 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/ssh_configuration.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/status_level_types.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/sub_resource.rb +44 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_mode.rb +16 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/usage.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/usage_name.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
- data/lib/{generated/azure_mgmt_compute/models/container_service.rb → 2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb} +93 -69
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_capture_result.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_extension_image.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_image.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
- data/lib/{generated/azure_mgmt_compute/models/container_service_list_result.rb → 2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb} +13 -13
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +134 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +124 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +98 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +85 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +86 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +98 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +111 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +56 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +247 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +142 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +85 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_size.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +1 -1
- data/lib/{generated/azure_mgmt_compute/models/container_service_vmsize_types.rb → 2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb} +13 -8
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/win_rmconfiguration.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmlistener.rb +57 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/windows_configuration.rb +99 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/usage_operations.rb +5 -5
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/version.rb +2 -2
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +347 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/virtual_machine_extensions.rb +14 -14
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/virtual_machine_images.rb +12 -12
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1285 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2182 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/virtual_machine_sizes.rb +4 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb +1839 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute.rb +134 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb +495 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +163 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb +87 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error.rb +93 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb +137 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb +56 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb +114 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb +47 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb +47 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb +61 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/image_reference.rb +76 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/list_usages_result.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb +52 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/network_profile.rb +54 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb +90 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb +127 -0
- data/lib/{generated/azure_mgmt_compute/models/container_service_custom_profile.rb → 2016-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb} +13 -11
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb +119 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/plan.rb +74 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/resource.rb +94 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/resource_identity_type.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb +64 -0
- data/lib/{generated/azure_mgmt_compute/models/container_service_ssh_configuration.rb → 2016-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb} +11 -11
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/sub_resource.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_mode.rb +16 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/usage.rb +78 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb +239 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_identity.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_list_result.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +147 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +124 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +117 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +1 -1
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +1 -1
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +111 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +56 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +259 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +142 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb +99 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +77 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb +57 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb +99 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/usage_operations.rb +234 -0
- data/lib/{generated/azure_mgmt_compute/module_definition.rb → 2016-03-30/generated/azure_mgmt_compute/version.rb} +3 -3
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +347 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +444 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +577 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1285 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2182 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +115 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb +1839 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute.rb +165 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb +495 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +175 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb +1272 -0
- data/lib/{generated/azure_mgmt_compute/container_services.rb → 2016-04-30-preview/generated/azure_mgmt_compute/images.rb} +235 -347
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_level.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb +45 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb +87 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb +93 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb +158 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb +94 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb +125 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb +47 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb +47 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb +174 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_create_option.rb +20 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb +95 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb +109 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb +72 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb +61 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb +113 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb +99 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb +57 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb +95 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb +113 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb +83 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb +63 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +57 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb +96 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +53 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb +52 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb +54 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb +90 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb +138 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb +46 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb +119 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb +74 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb +94 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_identity_type.rb +15 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb +51 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb +64 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb +174 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb +95 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb +109 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb +45 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb +53 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_account_types.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb +45 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +46 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_mode.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb +78 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb +239 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +70 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +95 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +170 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +101 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +125 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +72 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +117 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +96 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +97 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +98 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +47 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +123 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +74 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +259 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +153 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +97 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb +99 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +77 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb +57 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb +99 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb +1272 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb +234 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/version.rb +8 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +347 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb +444 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb +577 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1432 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2323 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb +115 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb +1976 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute.rb +210 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/availability_sets.rb +18 -18
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/compute_management_client.rb +7 -7
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/disks.rb +38 -38
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/images.rb +23 -23
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/access_level.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/access_uri.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/additional_unattend_content.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error.rb +93 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/availability_set.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/boot_diagnostics.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/creation_data.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/data_disk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/data_disk_image.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/diagnostics_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_create_option.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_create_option_types.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_encryption_settings.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_instance_view.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_list.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_sku.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_update.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/encryption_settings.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/grant_access_data.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/hardware_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_data_disk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_list_result.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_osdisk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_reference.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_storage_profile.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/ipversion.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/key_vault_and_key_reference.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/key_vault_key_reference.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/linux_configuration.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb +96 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/maintenance_redeploy_status.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/managed_disk_parameters.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb +52 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/network_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/operating_system_state_types.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb +90 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/osdisk.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb +46 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/osprofile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/pass_names.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/plan.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/purchase_plan.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/resource.rb +94 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_identity_type.rb +15 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_capabilities.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_capacity.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_capacity_scale_type.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_costs.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_restrictions.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_restrictions_reason_code.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_restrictions_type.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_skus_result.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_update.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_policy.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_document.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_document_base.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_input.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_input_parameter.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_list_result.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_parameter_definition.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_result.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/sku.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/snapshot.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/snapshot_list.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/snapshot_update.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/source_vault.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb +53 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/ssh_public_key.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/storage_account_types.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/storage_profile.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb +45 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/sub_resource_read_only.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/update_resource.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/upgrade_mode.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/upgrade_policy.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/usage.rb +78 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/vault_certificate.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/vault_secret_group.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_hard_disk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_extension.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_health_status.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +70 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_image_resource.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_instance_view.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +95 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +72 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +96 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +97 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +98 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +97 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb +99 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_size_types.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/win_rmlistener.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/windows_configuration.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/resource_skus.rb +6 -6
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/snapshots.rb +38 -38
- data/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb +234 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/version.rb +8 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_extension_images.rb +9 -9
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +444 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +577 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_run_commands.rb +9 -9
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +19 -19
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +13 -13
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +40 -40
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_sets.rb +75 -75
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +115 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machines.rb +70 -70
- data/lib/azure_mgmt_compute.rb +6 -1
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/compute_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/compute_module_definition.rb +9 -0
- data/lib/profiles/latest/modules/compute_profile_module.rb +740 -0
- data/lib/profiles/v2017_03_09/compute_module_definition.rb +9 -0
- data/lib/profiles/v2017_03_09/compute_v2017_03_09_profile_client.rb +33 -0
- data/lib/profiles/v2017_03_09/modules/compute_profile_module.rb +450 -0
- data/lib/version.rb +7 -0
- metadata +560 -205
- data/lib/generated/azure_mgmt_compute.rb +0 -226
- data/lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb +0 -107
- data/lib/generated/azure_mgmt_compute/models/container_service_diagnostics_profile.rb +0 -47
- data/lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb +0 -59
- data/lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb +0 -68
- data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_profile.rb +0 -48
- data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_types.rb +0 -18
- data/lib/generated/azure_mgmt_compute/models/container_service_service_principal_profile.rb +0 -56
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_public_key.rb +0 -46
- data/lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb +0 -60
@@ -0,0 +1,165 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2016-04-30-preview/generated/azure_mgmt_compute/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::Compute::Mgmt::V2016_04_30_preview
|
23
|
+
autoload :AvailabilitySets, '2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb'
|
24
|
+
autoload :VirtualMachineExtensionImages, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb'
|
25
|
+
autoload :VirtualMachineExtensions, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb'
|
26
|
+
autoload :VirtualMachineImages, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb'
|
27
|
+
autoload :UsageOperations, '2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb'
|
28
|
+
autoload :VirtualMachineSizes, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb'
|
29
|
+
autoload :Images, '2016-04-30-preview/generated/azure_mgmt_compute/images.rb'
|
30
|
+
autoload :VirtualMachines, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb'
|
31
|
+
autoload :VirtualMachineScaleSets, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb'
|
32
|
+
autoload :VirtualMachineScaleSetVMs, '2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb'
|
33
|
+
autoload :Disks, '2016-04-30-preview/generated/azure_mgmt_compute/disks.rb'
|
34
|
+
autoload :Snapshots, '2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb'
|
35
|
+
autoload :ComputeManagementClient, '2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb'
|
36
|
+
|
37
|
+
module Models
|
38
|
+
autoload :ImageOSDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb'
|
39
|
+
autoload :ImageDataDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb'
|
40
|
+
autoload :SubResource, '2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb'
|
41
|
+
autoload :ImageStorageProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb'
|
42
|
+
autoload :VirtualMachineAgentInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb'
|
43
|
+
autoload :DiskInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb'
|
44
|
+
autoload :VirtualMachineSize, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb'
|
45
|
+
autoload :BootDiagnosticsInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb'
|
46
|
+
autoload :VirtualMachineIdentity, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb'
|
47
|
+
autoload :VirtualMachineExtensionInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb'
|
48
|
+
autoload :VirtualMachineInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb'
|
49
|
+
autoload :PurchasePlan, '2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb'
|
50
|
+
autoload :SourceVault, '2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb'
|
51
|
+
autoload :DataDiskImage, '2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb'
|
52
|
+
autoload :VirtualMachineListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb'
|
53
|
+
autoload :UsageName, '2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb'
|
54
|
+
autoload :UpgradePolicy, '2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb'
|
55
|
+
autoload :ListUsagesResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb'
|
56
|
+
autoload :InstanceViewStatus, '2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb'
|
57
|
+
autoload :DiskList, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb'
|
58
|
+
autoload :Sku, '2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb'
|
59
|
+
autoload :HardwareProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb'
|
60
|
+
autoload :CreationData, '2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb'
|
61
|
+
autoload :KeyVaultSecretReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb'
|
62
|
+
autoload :ImageDiskReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb'
|
63
|
+
autoload :DiskEncryptionSettings, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb'
|
64
|
+
autoload :ImageListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb'
|
65
|
+
autoload :KeyVaultAndKeyReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb'
|
66
|
+
autoload :VirtualMachineScaleSetIdentity, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb'
|
67
|
+
autoload :DataDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb'
|
68
|
+
autoload :VirtualMachineScaleSetOSProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb'
|
69
|
+
autoload :AdditionalUnattendContent, '2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb'
|
70
|
+
autoload :VirtualMachineScaleSetManagedDiskParameters, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb'
|
71
|
+
autoload :WinRMConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb'
|
72
|
+
autoload :VirtualMachineScaleSetOSDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb'
|
73
|
+
autoload :SshPublicKey, '2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb'
|
74
|
+
autoload :VirtualMachineScaleSetDataDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb'
|
75
|
+
autoload :LinuxConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb'
|
76
|
+
autoload :VirtualMachineScaleSetStorageProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb'
|
77
|
+
autoload :VaultSecretGroup, '2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb'
|
78
|
+
autoload :ApiEntityReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb'
|
79
|
+
autoload :KeyVaultAndSecretReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb'
|
80
|
+
autoload :ResourceUpdate, '2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb'
|
81
|
+
autoload :BootDiagnostics, '2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb'
|
82
|
+
autoload :OperationStatusResponse, '2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb'
|
83
|
+
autoload :VirtualMachineExtensionHandlerInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb'
|
84
|
+
autoload :VirtualMachineScaleSetNetworkProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb'
|
85
|
+
autoload :VirtualMachineSizeListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb'
|
86
|
+
autoload :SubResourceReadOnly, '2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb'
|
87
|
+
autoload :AccessUri, '2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb'
|
88
|
+
autoload :VirtualMachineScaleSetExtensionProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb'
|
89
|
+
autoload :GrantAccessData, '2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb'
|
90
|
+
autoload :VirtualMachineScaleSetVMProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb'
|
91
|
+
autoload :VirtualMachineCaptureParameters, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb'
|
92
|
+
autoload :Resource, '2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb'
|
93
|
+
autoload :EncryptionSettings, '2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb'
|
94
|
+
autoload :VirtualMachineScaleSetVMInstanceIDs, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb'
|
95
|
+
autoload :VirtualHardDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb'
|
96
|
+
autoload :VirtualMachineScaleSetVMInstanceRequiredIDs, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb'
|
97
|
+
autoload :StorageProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb'
|
98
|
+
autoload :VirtualMachineStatusCodeCount, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb'
|
99
|
+
autoload :WindowsConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb'
|
100
|
+
autoload :VirtualMachineScaleSetInstanceViewStatusesSummary, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb'
|
101
|
+
autoload :VaultCertificate, '2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb'
|
102
|
+
autoload :VirtualMachineScaleSetVMExtensionsSummary, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb'
|
103
|
+
autoload :NetworkProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb'
|
104
|
+
autoload :VirtualMachineScaleSetInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb'
|
105
|
+
autoload :AvailabilitySetListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb'
|
106
|
+
autoload :VirtualMachineScaleSetListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb'
|
107
|
+
autoload :OSDiskImage, '2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb'
|
108
|
+
autoload :VirtualMachineScaleSetListWithLinkResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb'
|
109
|
+
autoload :Plan, '2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb'
|
110
|
+
autoload :VirtualMachineScaleSetSkuCapacity, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb'
|
111
|
+
autoload :OSDisk, '2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb'
|
112
|
+
autoload :VirtualMachineScaleSetSku, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb'
|
113
|
+
autoload :SshConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb'
|
114
|
+
autoload :VirtualMachineScaleSetListSkusResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb'
|
115
|
+
autoload :DiagnosticsProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb'
|
116
|
+
autoload :ComputeLongRunningOperationProperties, '2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb'
|
117
|
+
autoload :Usage, '2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb'
|
118
|
+
autoload :VirtualMachineScaleSetVMInstanceView, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb'
|
119
|
+
autoload :WinRMListener, '2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb'
|
120
|
+
autoload :VirtualMachineScaleSetVMListResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb'
|
121
|
+
autoload :SnapshotList, '2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb'
|
122
|
+
autoload :ApiErrorBase, '2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb'
|
123
|
+
autoload :OSProfile, '2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb'
|
124
|
+
autoload :InnerError, '2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb'
|
125
|
+
autoload :KeyVaultKeyReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb'
|
126
|
+
autoload :ApiError, '2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb'
|
127
|
+
autoload :AvailabilitySet, '2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb'
|
128
|
+
autoload :VirtualMachineExtensionImage, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb'
|
129
|
+
autoload :VirtualMachineImageResource, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb'
|
130
|
+
autoload :VirtualMachineExtension, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb'
|
131
|
+
autoload :VirtualMachineImage, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb'
|
132
|
+
autoload :VirtualMachineCaptureResult, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb'
|
133
|
+
autoload :ImageReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb'
|
134
|
+
autoload :ManagedDiskParameters, '2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb'
|
135
|
+
autoload :NetworkInterfaceReference, '2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb'
|
136
|
+
autoload :VirtualMachine, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb'
|
137
|
+
autoload :Image, '2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb'
|
138
|
+
autoload :VirtualMachineScaleSetIPConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb'
|
139
|
+
autoload :VirtualMachineScaleSetNetworkConfiguration, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb'
|
140
|
+
autoload :VirtualMachineScaleSetExtension, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb'
|
141
|
+
autoload :VirtualMachineScaleSet, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb'
|
142
|
+
autoload :VirtualMachineScaleSetVM, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb'
|
143
|
+
autoload :Disk, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb'
|
144
|
+
autoload :DiskUpdate, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb'
|
145
|
+
autoload :Snapshot, '2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb'
|
146
|
+
autoload :SnapshotUpdate, '2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb'
|
147
|
+
autoload :StatusLevelTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/status_level_types.rb'
|
148
|
+
autoload :OperatingSystemTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/operating_system_types.rb'
|
149
|
+
autoload :VirtualMachineSizeTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb'
|
150
|
+
autoload :CachingTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/caching_types.rb'
|
151
|
+
autoload :DiskCreateOptionTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_create_option_types.rb'
|
152
|
+
autoload :StorageAccountTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/storage_account_types.rb'
|
153
|
+
autoload :PassNames, '2016-04-30-preview/generated/azure_mgmt_compute/models/pass_names.rb'
|
154
|
+
autoload :ComponentNames, '2016-04-30-preview/generated/azure_mgmt_compute/models/component_names.rb'
|
155
|
+
autoload :SettingNames, '2016-04-30-preview/generated/azure_mgmt_compute/models/setting_names.rb'
|
156
|
+
autoload :ProtocolTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/protocol_types.rb'
|
157
|
+
autoload :ResourceIdentityType, '2016-04-30-preview/generated/azure_mgmt_compute/models/resource_identity_type.rb'
|
158
|
+
autoload :UpgradeMode, '2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_mode.rb'
|
159
|
+
autoload :OperatingSystemStateTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/operating_system_state_types.rb'
|
160
|
+
autoload :VirtualMachineScaleSetSkuScaleType, '2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb'
|
161
|
+
autoload :DiskCreateOption, '2016-04-30-preview/generated/azure_mgmt_compute/models/disk_create_option.rb'
|
162
|
+
autoload :AccessLevel, '2016-04-30-preview/generated/azure_mgmt_compute/models/access_level.rb'
|
163
|
+
autoload :InstanceViewTypes, '2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_types.rb'
|
164
|
+
end
|
165
|
+
end
|
@@ -0,0 +1,495 @@
|
|
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::V2016_04_30_preview
|
7
|
+
#
|
8
|
+
# Compute Client
|
9
|
+
#
|
10
|
+
class AvailabilitySets
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the AvailabilitySets class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [ComputeManagementClient] reference to the ComputeManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Create or update an availability set.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param name [String] The name of the availability set.
|
29
|
+
# @param parameters [AvailabilitySet] Parameters supplied to the Create
|
30
|
+
# Availability Set operation.
|
31
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
|
+
# will be added to the HTTP request.
|
33
|
+
#
|
34
|
+
# @return [AvailabilitySet] operation results.
|
35
|
+
#
|
36
|
+
def create_or_update(resource_group_name, name, parameters, custom_headers = nil)
|
37
|
+
response = create_or_update_async(resource_group_name, name, parameters, custom_headers).value!
|
38
|
+
response.body unless response.nil?
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Create or update an availability set.
|
43
|
+
#
|
44
|
+
# @param resource_group_name [String] The name of the resource group.
|
45
|
+
# @param name [String] The name of the availability set.
|
46
|
+
# @param parameters [AvailabilitySet] Parameters supplied to the Create
|
47
|
+
# Availability Set operation.
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
|
+
#
|
53
|
+
def create_or_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil)
|
54
|
+
create_or_update_async(resource_group_name, name, parameters, custom_headers).value!
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Create or update an availability set.
|
59
|
+
#
|
60
|
+
# @param resource_group_name [String] The name of the resource group.
|
61
|
+
# @param name [String] The name of the availability set.
|
62
|
+
# @param parameters [AvailabilitySet] Parameters supplied to the Create
|
63
|
+
# Availability Set operation.
|
64
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
65
|
+
# to the HTTP request.
|
66
|
+
#
|
67
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
|
+
#
|
69
|
+
def create_or_update_async(resource_group_name, name, parameters, custom_headers = nil)
|
70
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
71
|
+
fail ArgumentError, 'name is nil' if name.nil?
|
72
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
73
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
74
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
75
|
+
|
76
|
+
|
77
|
+
request_headers = {}
|
78
|
+
|
79
|
+
# Set Headers
|
80
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
81
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
82
|
+
|
83
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
84
|
+
|
85
|
+
# Serialize Request
|
86
|
+
request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::AvailabilitySet.mapper()
|
87
|
+
request_content = @client.serialize(request_mapper, parameters)
|
88
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
89
|
+
|
90
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{name}'
|
91
|
+
|
92
|
+
request_url = @base_url || @client.base_url
|
93
|
+
|
94
|
+
options = {
|
95
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
96
|
+
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
|
97
|
+
query_params: {'api-version' => @client.api_version},
|
98
|
+
body: request_content,
|
99
|
+
headers: request_headers.merge(custom_headers || {}),
|
100
|
+
base_url: request_url
|
101
|
+
}
|
102
|
+
promise = @client.make_request_async(:put, path_template, options)
|
103
|
+
|
104
|
+
promise = promise.then do |result|
|
105
|
+
http_response = result.response
|
106
|
+
status_code = http_response.status
|
107
|
+
response_content = http_response.body
|
108
|
+
unless status_code == 200
|
109
|
+
error_model = JSON.load(response_content)
|
110
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
111
|
+
end
|
112
|
+
|
113
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
114
|
+
# Deserialize Response
|
115
|
+
if status_code == 200
|
116
|
+
begin
|
117
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
118
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::AvailabilitySet.mapper()
|
119
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
120
|
+
rescue Exception => e
|
121
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
result
|
126
|
+
end
|
127
|
+
|
128
|
+
promise.execute
|
129
|
+
end
|
130
|
+
|
131
|
+
#
|
132
|
+
# Delete an availability set.
|
133
|
+
#
|
134
|
+
# @param resource_group_name [String] The name of the resource group.
|
135
|
+
# @param availability_set_name [String] The name of the availability set.
|
136
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
137
|
+
# will be added to the HTTP request.
|
138
|
+
#
|
139
|
+
# @return [OperationStatusResponse] operation results.
|
140
|
+
#
|
141
|
+
def delete(resource_group_name, availability_set_name, custom_headers = nil)
|
142
|
+
response = delete_async(resource_group_name, availability_set_name, custom_headers).value!
|
143
|
+
response.body unless response.nil?
|
144
|
+
end
|
145
|
+
|
146
|
+
#
|
147
|
+
# Delete an availability set.
|
148
|
+
#
|
149
|
+
# @param resource_group_name [String] The name of the resource group.
|
150
|
+
# @param availability_set_name [String] The name of the availability set.
|
151
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
152
|
+
# will be added to the HTTP request.
|
153
|
+
#
|
154
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
155
|
+
#
|
156
|
+
def delete_with_http_info(resource_group_name, availability_set_name, custom_headers = nil)
|
157
|
+
delete_async(resource_group_name, availability_set_name, custom_headers).value!
|
158
|
+
end
|
159
|
+
|
160
|
+
#
|
161
|
+
# Delete an availability set.
|
162
|
+
#
|
163
|
+
# @param resource_group_name [String] The name of the resource group.
|
164
|
+
# @param availability_set_name [String] The name of the availability set.
|
165
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
166
|
+
# to the HTTP request.
|
167
|
+
#
|
168
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
169
|
+
#
|
170
|
+
def delete_async(resource_group_name, availability_set_name, custom_headers = nil)
|
171
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
172
|
+
fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil?
|
173
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
174
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
175
|
+
|
176
|
+
|
177
|
+
request_headers = {}
|
178
|
+
|
179
|
+
# Set Headers
|
180
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
181
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
182
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'
|
183
|
+
|
184
|
+
request_url = @base_url || @client.base_url
|
185
|
+
|
186
|
+
options = {
|
187
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
188
|
+
path_params: {'resourceGroupName' => resource_group_name,'availabilitySetName' => availability_set_name,'subscriptionId' => @client.subscription_id},
|
189
|
+
query_params: {'api-version' => @client.api_version},
|
190
|
+
headers: request_headers.merge(custom_headers || {}),
|
191
|
+
base_url: request_url
|
192
|
+
}
|
193
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
194
|
+
|
195
|
+
promise = promise.then do |result|
|
196
|
+
http_response = result.response
|
197
|
+
status_code = http_response.status
|
198
|
+
response_content = http_response.body
|
199
|
+
unless status_code == 200 || status_code == 204
|
200
|
+
error_model = JSON.load(response_content)
|
201
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
202
|
+
end
|
203
|
+
|
204
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
205
|
+
# Deserialize Response
|
206
|
+
if status_code == 200
|
207
|
+
begin
|
208
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
209
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::OperationStatusResponse.mapper()
|
210
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
211
|
+
rescue Exception => e
|
212
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
result
|
217
|
+
end
|
218
|
+
|
219
|
+
promise.execute
|
220
|
+
end
|
221
|
+
|
222
|
+
#
|
223
|
+
# Retrieves information about an availability set.
|
224
|
+
#
|
225
|
+
# @param resource_group_name [String] The name of the resource group.
|
226
|
+
# @param availability_set_name [String] The name of the availability set.
|
227
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
228
|
+
# will be added to the HTTP request.
|
229
|
+
#
|
230
|
+
# @return [AvailabilitySet] operation results.
|
231
|
+
#
|
232
|
+
def get(resource_group_name, availability_set_name, custom_headers = nil)
|
233
|
+
response = get_async(resource_group_name, availability_set_name, custom_headers).value!
|
234
|
+
response.body unless response.nil?
|
235
|
+
end
|
236
|
+
|
237
|
+
#
|
238
|
+
# Retrieves information about an availability set.
|
239
|
+
#
|
240
|
+
# @param resource_group_name [String] The name of the resource group.
|
241
|
+
# @param availability_set_name [String] The name of the availability set.
|
242
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
243
|
+
# will be added to the HTTP request.
|
244
|
+
#
|
245
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
246
|
+
#
|
247
|
+
def get_with_http_info(resource_group_name, availability_set_name, custom_headers = nil)
|
248
|
+
get_async(resource_group_name, availability_set_name, custom_headers).value!
|
249
|
+
end
|
250
|
+
|
251
|
+
#
|
252
|
+
# Retrieves information about an availability set.
|
253
|
+
#
|
254
|
+
# @param resource_group_name [String] The name of the resource group.
|
255
|
+
# @param availability_set_name [String] The name of the availability set.
|
256
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
257
|
+
# to the HTTP request.
|
258
|
+
#
|
259
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
260
|
+
#
|
261
|
+
def get_async(resource_group_name, availability_set_name, custom_headers = nil)
|
262
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
263
|
+
fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil?
|
264
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
265
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
266
|
+
|
267
|
+
|
268
|
+
request_headers = {}
|
269
|
+
|
270
|
+
# Set Headers
|
271
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
272
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
273
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'
|
274
|
+
|
275
|
+
request_url = @base_url || @client.base_url
|
276
|
+
|
277
|
+
options = {
|
278
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
279
|
+
path_params: {'resourceGroupName' => resource_group_name,'availabilitySetName' => availability_set_name,'subscriptionId' => @client.subscription_id},
|
280
|
+
query_params: {'api-version' => @client.api_version},
|
281
|
+
headers: request_headers.merge(custom_headers || {}),
|
282
|
+
base_url: request_url
|
283
|
+
}
|
284
|
+
promise = @client.make_request_async(:get, path_template, options)
|
285
|
+
|
286
|
+
promise = promise.then do |result|
|
287
|
+
http_response = result.response
|
288
|
+
status_code = http_response.status
|
289
|
+
response_content = http_response.body
|
290
|
+
unless status_code == 200
|
291
|
+
error_model = JSON.load(response_content)
|
292
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
293
|
+
end
|
294
|
+
|
295
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
296
|
+
# Deserialize Response
|
297
|
+
if status_code == 200
|
298
|
+
begin
|
299
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
300
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::AvailabilitySet.mapper()
|
301
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
302
|
+
rescue Exception => e
|
303
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
result
|
308
|
+
end
|
309
|
+
|
310
|
+
promise.execute
|
311
|
+
end
|
312
|
+
|
313
|
+
#
|
314
|
+
# Lists all availability sets in a resource group.
|
315
|
+
#
|
316
|
+
# @param resource_group_name [String] The name of the resource group.
|
317
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
318
|
+
# will be added to the HTTP request.
|
319
|
+
#
|
320
|
+
# @return [AvailabilitySetListResult] operation results.
|
321
|
+
#
|
322
|
+
def list(resource_group_name, custom_headers = nil)
|
323
|
+
response = list_async(resource_group_name, custom_headers).value!
|
324
|
+
response.body unless response.nil?
|
325
|
+
end
|
326
|
+
|
327
|
+
#
|
328
|
+
# Lists all availability sets in a resource group.
|
329
|
+
#
|
330
|
+
# @param resource_group_name [String] The name of the resource group.
|
331
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
332
|
+
# will be added to the HTTP request.
|
333
|
+
#
|
334
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
335
|
+
#
|
336
|
+
def list_with_http_info(resource_group_name, custom_headers = nil)
|
337
|
+
list_async(resource_group_name, custom_headers).value!
|
338
|
+
end
|
339
|
+
|
340
|
+
#
|
341
|
+
# Lists all availability sets in a resource group.
|
342
|
+
#
|
343
|
+
# @param resource_group_name [String] The name of the resource group.
|
344
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
345
|
+
# to the HTTP request.
|
346
|
+
#
|
347
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
348
|
+
#
|
349
|
+
def list_async(resource_group_name, custom_headers = nil)
|
350
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
351
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
352
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
353
|
+
|
354
|
+
|
355
|
+
request_headers = {}
|
356
|
+
|
357
|
+
# Set Headers
|
358
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
359
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
360
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets'
|
361
|
+
|
362
|
+
request_url = @base_url || @client.base_url
|
363
|
+
|
364
|
+
options = {
|
365
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
366
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
367
|
+
query_params: {'api-version' => @client.api_version},
|
368
|
+
headers: request_headers.merge(custom_headers || {}),
|
369
|
+
base_url: request_url
|
370
|
+
}
|
371
|
+
promise = @client.make_request_async(:get, path_template, options)
|
372
|
+
|
373
|
+
promise = promise.then do |result|
|
374
|
+
http_response = result.response
|
375
|
+
status_code = http_response.status
|
376
|
+
response_content = http_response.body
|
377
|
+
unless status_code == 200
|
378
|
+
error_model = JSON.load(response_content)
|
379
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
380
|
+
end
|
381
|
+
|
382
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
383
|
+
# Deserialize Response
|
384
|
+
if status_code == 200
|
385
|
+
begin
|
386
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
387
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::AvailabilitySetListResult.mapper()
|
388
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
389
|
+
rescue Exception => e
|
390
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
result
|
395
|
+
end
|
396
|
+
|
397
|
+
promise.execute
|
398
|
+
end
|
399
|
+
|
400
|
+
#
|
401
|
+
# Lists all available virtual machine sizes that can be used to create a new
|
402
|
+
# virtual machine in an existing availability set.
|
403
|
+
#
|
404
|
+
# @param resource_group_name [String] The name of the resource group.
|
405
|
+
# @param availability_set_name [String] The name of the availability set.
|
406
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
407
|
+
# will be added to the HTTP request.
|
408
|
+
#
|
409
|
+
# @return [VirtualMachineSizeListResult] operation results.
|
410
|
+
#
|
411
|
+
def list_available_sizes(resource_group_name, availability_set_name, custom_headers = nil)
|
412
|
+
response = list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value!
|
413
|
+
response.body unless response.nil?
|
414
|
+
end
|
415
|
+
|
416
|
+
#
|
417
|
+
# Lists all available virtual machine sizes that can be used to create a new
|
418
|
+
# virtual machine in an existing availability set.
|
419
|
+
#
|
420
|
+
# @param resource_group_name [String] The name of the resource group.
|
421
|
+
# @param availability_set_name [String] The name of the availability set.
|
422
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
423
|
+
# will be added to the HTTP request.
|
424
|
+
#
|
425
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
426
|
+
#
|
427
|
+
def list_available_sizes_with_http_info(resource_group_name, availability_set_name, custom_headers = nil)
|
428
|
+
list_available_sizes_async(resource_group_name, availability_set_name, custom_headers).value!
|
429
|
+
end
|
430
|
+
|
431
|
+
#
|
432
|
+
# Lists all available virtual machine sizes that can be used to create a new
|
433
|
+
# virtual machine in an existing availability set.
|
434
|
+
#
|
435
|
+
# @param resource_group_name [String] The name of the resource group.
|
436
|
+
# @param availability_set_name [String] The name of the availability set.
|
437
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
438
|
+
# to the HTTP request.
|
439
|
+
#
|
440
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
441
|
+
#
|
442
|
+
def list_available_sizes_async(resource_group_name, availability_set_name, custom_headers = nil)
|
443
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
444
|
+
fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil?
|
445
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
446
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
447
|
+
|
448
|
+
|
449
|
+
request_headers = {}
|
450
|
+
|
451
|
+
# Set Headers
|
452
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
453
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
454
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes'
|
455
|
+
|
456
|
+
request_url = @base_url || @client.base_url
|
457
|
+
|
458
|
+
options = {
|
459
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
460
|
+
path_params: {'resourceGroupName' => resource_group_name,'availabilitySetName' => availability_set_name,'subscriptionId' => @client.subscription_id},
|
461
|
+
query_params: {'api-version' => @client.api_version},
|
462
|
+
headers: request_headers.merge(custom_headers || {}),
|
463
|
+
base_url: request_url
|
464
|
+
}
|
465
|
+
promise = @client.make_request_async(:get, path_template, options)
|
466
|
+
|
467
|
+
promise = promise.then do |result|
|
468
|
+
http_response = result.response
|
469
|
+
status_code = http_response.status
|
470
|
+
response_content = http_response.body
|
471
|
+
unless status_code == 200
|
472
|
+
error_model = JSON.load(response_content)
|
473
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
474
|
+
end
|
475
|
+
|
476
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
477
|
+
# Deserialize Response
|
478
|
+
if status_code == 200
|
479
|
+
begin
|
480
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
481
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineSizeListResult.mapper()
|
482
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
483
|
+
rescue Exception => e
|
484
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
485
|
+
end
|
486
|
+
end
|
487
|
+
|
488
|
+
result
|
489
|
+
end
|
490
|
+
|
491
|
+
promise.execute
|
492
|
+
end
|
493
|
+
|
494
|
+
end
|
495
|
+
end
|