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
@@ -3,15 +3,15 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Compute::Mgmt::V2016_04_30_preview
|
7
7
|
#
|
8
8
|
# Compute Client
|
9
9
|
#
|
10
|
-
class
|
10
|
+
class Images
|
11
11
|
include MsRestAzure
|
12
12
|
|
13
13
|
#
|
14
|
-
# Creates and initializes a new instance of the
|
14
|
+
# Creates and initializes a new instance of the Images class.
|
15
15
|
# @param client service class for accessing basic functionality.
|
16
16
|
#
|
17
17
|
def initialize(client)
|
@@ -22,141 +22,81 @@ module Azure::ARM::Compute
|
|
22
22
|
attr_reader :client
|
23
23
|
|
24
24
|
#
|
25
|
-
#
|
26
|
-
#
|
27
|
-
# Gets a list of container services in the specified subscription. The
|
28
|
-
# operation returns properties of each container service including state,
|
29
|
-
# orchestrator, number of masters and agents, and FQDNs of masters and agents.
|
25
|
+
# Create or update an image.
|
30
26
|
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param image_name [String] The name of the image.
|
29
|
+
# @param parameters [Image] Parameters supplied to the Create Image operation.
|
31
30
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
31
|
# will be added to the HTTP request.
|
33
32
|
#
|
34
|
-
# @return [
|
33
|
+
# @return [Image] operation results.
|
35
34
|
#
|
36
|
-
def
|
37
|
-
|
38
|
-
|
35
|
+
def create_or_update(resource_group_name, image_name, parameters, custom_headers = nil)
|
36
|
+
response = create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value!
|
37
|
+
response.body unless response.nil?
|
39
38
|
end
|
40
39
|
|
41
40
|
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
# operation returns properties of each container service including state,
|
46
|
-
# orchestrator, number of masters and agents, and FQDNs of masters and agents.
|
47
|
-
#
|
41
|
+
# @param resource_group_name [String] The name of the resource group.
|
42
|
+
# @param image_name [String] The name of the image.
|
43
|
+
# @param parameters [Image] Parameters supplied to the Create Image operation.
|
48
44
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
45
|
# will be added to the HTTP request.
|
50
46
|
#
|
51
|
-
# @return [
|
52
|
-
#
|
53
|
-
def list_with_http_info(custom_headers = nil)
|
54
|
-
list_async(custom_headers).value!
|
55
|
-
end
|
56
|
-
|
57
|
-
#
|
58
|
-
# Gets a list of container services in the specified subscription.
|
59
|
-
#
|
60
|
-
# Gets a list of container services in the specified subscription. The
|
61
|
-
# operation returns properties of each container service including state,
|
62
|
-
# orchestrator, number of masters and agents, and FQDNs of masters and agents.
|
63
|
-
#
|
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.
|
47
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
48
|
+
# response.
|
68
49
|
#
|
69
|
-
def
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
request_headers = {}
|
75
|
-
|
76
|
-
# Set Headers
|
77
|
-
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
78
|
-
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
79
|
-
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/containerServices'
|
80
|
-
|
81
|
-
request_url = @base_url || @client.base_url
|
82
|
-
|
83
|
-
options = {
|
84
|
-
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
85
|
-
path_params: {'subscriptionId' => @client.subscription_id},
|
86
|
-
query_params: {'api-version' => api_version},
|
87
|
-
headers: request_headers.merge(custom_headers || {}),
|
88
|
-
base_url: request_url
|
89
|
-
}
|
90
|
-
promise = @client.make_request_async(:get, path_template, options)
|
91
|
-
|
92
|
-
promise = promise.then do |result|
|
93
|
-
http_response = result.response
|
94
|
-
status_code = http_response.status
|
95
|
-
response_content = http_response.body
|
96
|
-
unless status_code == 200
|
97
|
-
error_model = JSON.load(response_content)
|
98
|
-
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
99
|
-
end
|
50
|
+
def create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil)
|
51
|
+
# Send request
|
52
|
+
promise = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers)
|
100
53
|
|
101
|
-
|
102
|
-
#
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
result_mapper = Azure::ARM::Compute::Models::ContainerServiceListResult.mapper()
|
107
|
-
result.body = @client.deserialize(result_mapper, parsed_response)
|
108
|
-
rescue Exception => e
|
109
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
110
|
-
end
|
54
|
+
promise = promise.then do |response|
|
55
|
+
# Defining deserialization method.
|
56
|
+
deserialize_method = lambda do |parsed_response|
|
57
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper()
|
58
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
111
59
|
end
|
112
60
|
|
113
|
-
|
61
|
+
# Waiting for response.
|
62
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
114
63
|
end
|
115
64
|
|
116
|
-
promise
|
65
|
+
promise
|
117
66
|
end
|
118
67
|
|
119
68
|
#
|
120
|
-
#
|
121
|
-
#
|
122
|
-
# Creates or updates a container service with the specified configuration of
|
123
|
-
# orchestrator, masters, and agents.
|
69
|
+
# Deletes an Image.
|
124
70
|
#
|
125
71
|
# @param resource_group_name [String] The name of the resource group.
|
126
|
-
# @param
|
127
|
-
# the specified subscription and resource group.
|
128
|
-
# @param parameters [ContainerService] Parameters supplied to the Create or
|
129
|
-
# Update a Container Service operation.
|
72
|
+
# @param image_name [String] The name of the image.
|
130
73
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
131
74
|
# will be added to the HTTP request.
|
132
75
|
#
|
133
|
-
# @return [
|
76
|
+
# @return [OperationStatusResponse] operation results.
|
134
77
|
#
|
135
|
-
def
|
136
|
-
response =
|
78
|
+
def delete(resource_group_name, image_name, custom_headers = nil)
|
79
|
+
response = delete_async(resource_group_name, image_name, custom_headers).value!
|
137
80
|
response.body unless response.nil?
|
138
81
|
end
|
139
82
|
|
140
83
|
#
|
141
84
|
# @param resource_group_name [String] The name of the resource group.
|
142
|
-
# @param
|
143
|
-
# the specified subscription and resource group.
|
144
|
-
# @param parameters [ContainerService] Parameters supplied to the Create or
|
145
|
-
# Update a Container Service operation.
|
85
|
+
# @param image_name [String] The name of the image.
|
146
86
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
147
87
|
# will be added to the HTTP request.
|
148
88
|
#
|
149
89
|
# @return [Concurrent::Promise] promise which provides async access to http
|
150
90
|
# response.
|
151
91
|
#
|
152
|
-
def
|
92
|
+
def delete_async(resource_group_name, image_name, custom_headers = nil)
|
153
93
|
# Send request
|
154
|
-
promise =
|
94
|
+
promise = begin_delete_async(resource_group_name, image_name, custom_headers)
|
155
95
|
|
156
96
|
promise = promise.then do |response|
|
157
97
|
# Defining deserialization method.
|
158
98
|
deserialize_method = lambda do |parsed_response|
|
159
|
-
result_mapper = Azure::
|
99
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::OperationStatusResponse.mapper()
|
160
100
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
161
101
|
end
|
162
102
|
|
@@ -168,66 +108,51 @@ module Azure::ARM::Compute
|
|
168
108
|
end
|
169
109
|
|
170
110
|
#
|
171
|
-
# Gets
|
172
|
-
#
|
173
|
-
# Gets the properties of the specified container service in the specified
|
174
|
-
# subscription and resource group. The operation returns the properties
|
175
|
-
# including state, orchestrator, number of masters and agents, and FQDNs of
|
176
|
-
# masters and agents.
|
111
|
+
# Gets an image.
|
177
112
|
#
|
178
113
|
# @param resource_group_name [String] The name of the resource group.
|
179
|
-
# @param
|
180
|
-
#
|
114
|
+
# @param image_name [String] The name of the image.
|
115
|
+
# @param expand [String] The expand expression to apply on the operation.
|
181
116
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
182
117
|
# will be added to the HTTP request.
|
183
118
|
#
|
184
|
-
# @return [
|
119
|
+
# @return [Image] operation results.
|
185
120
|
#
|
186
|
-
def get(resource_group_name,
|
187
|
-
response = get_async(resource_group_name,
|
121
|
+
def get(resource_group_name, image_name, expand = nil, custom_headers = nil)
|
122
|
+
response = get_async(resource_group_name, image_name, expand, custom_headers).value!
|
188
123
|
response.body unless response.nil?
|
189
124
|
end
|
190
125
|
|
191
126
|
#
|
192
|
-
# Gets
|
193
|
-
#
|
194
|
-
# Gets the properties of the specified container service in the specified
|
195
|
-
# subscription and resource group. The operation returns the properties
|
196
|
-
# including state, orchestrator, number of masters and agents, and FQDNs of
|
197
|
-
# masters and agents.
|
127
|
+
# Gets an image.
|
198
128
|
#
|
199
129
|
# @param resource_group_name [String] The name of the resource group.
|
200
|
-
# @param
|
201
|
-
#
|
130
|
+
# @param image_name [String] The name of the image.
|
131
|
+
# @param expand [String] The expand expression to apply on the operation.
|
202
132
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
203
133
|
# will be added to the HTTP request.
|
204
134
|
#
|
205
135
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
206
136
|
#
|
207
|
-
def get_with_http_info(resource_group_name,
|
208
|
-
get_async(resource_group_name,
|
137
|
+
def get_with_http_info(resource_group_name, image_name, expand = nil, custom_headers = nil)
|
138
|
+
get_async(resource_group_name, image_name, expand, custom_headers).value!
|
209
139
|
end
|
210
140
|
|
211
141
|
#
|
212
|
-
# Gets
|
213
|
-
#
|
214
|
-
# Gets the properties of the specified container service in the specified
|
215
|
-
# subscription and resource group. The operation returns the properties
|
216
|
-
# including state, orchestrator, number of masters and agents, and FQDNs of
|
217
|
-
# masters and agents.
|
142
|
+
# Gets an image.
|
218
143
|
#
|
219
144
|
# @param resource_group_name [String] The name of the resource group.
|
220
|
-
# @param
|
221
|
-
#
|
145
|
+
# @param image_name [String] The name of the image.
|
146
|
+
# @param expand [String] The expand expression to apply on the operation.
|
222
147
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
223
148
|
# to the HTTP request.
|
224
149
|
#
|
225
150
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
226
151
|
#
|
227
|
-
def get_async(resource_group_name,
|
152
|
+
def get_async(resource_group_name, image_name, expand = nil, custom_headers = nil)
|
228
153
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
229
|
-
fail ArgumentError, '
|
230
|
-
api_version
|
154
|
+
fail ArgumentError, 'image_name is nil' if image_name.nil?
|
155
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
231
156
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
232
157
|
|
233
158
|
|
@@ -236,14 +161,14 @@ module Azure::ARM::Compute
|
|
236
161
|
# Set Headers
|
237
162
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
238
163
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
239
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.
|
164
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'
|
240
165
|
|
241
166
|
request_url = @base_url || @client.base_url
|
242
167
|
|
243
168
|
options = {
|
244
169
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
245
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
246
|
-
query_params: {'api-version' => api_version},
|
170
|
+
path_params: {'resourceGroupName' => resource_group_name,'imageName' => image_name,'subscriptionId' => @client.subscription_id},
|
171
|
+
query_params: {'$expand' => expand,'api-version' => @client.api_version},
|
247
172
|
headers: request_headers.merge(custom_headers || {}),
|
248
173
|
base_url: request_url
|
249
174
|
}
|
@@ -263,7 +188,7 @@ module Azure::ARM::Compute
|
|
263
188
|
if status_code == 200
|
264
189
|
begin
|
265
190
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
266
|
-
result_mapper = Azure::
|
191
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper()
|
267
192
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
268
193
|
rescue Exception => e
|
269
194
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -277,105 +202,133 @@ module Azure::ARM::Compute
|
|
277
202
|
end
|
278
203
|
|
279
204
|
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
# Deletes the specified container service in the specified subscription and
|
283
|
-
# resource group. The operation does not delete other resources created as part
|
284
|
-
# of creating a container service, including storage accounts, VMs, and
|
285
|
-
# availability sets. All the other resources created with the container service
|
286
|
-
# are part of the same resource group and can be deleted individually.
|
205
|
+
# Gets the list of images under a resource group.
|
287
206
|
#
|
288
207
|
# @param resource_group_name [String] The name of the resource group.
|
289
|
-
# @param container_service_name [String] The name of the container service in
|
290
|
-
# the specified subscription and resource group.
|
291
208
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
292
209
|
# will be added to the HTTP request.
|
293
210
|
#
|
294
|
-
|
295
|
-
|
296
|
-
|
211
|
+
# @return [Array<Image>] operation results.
|
212
|
+
#
|
213
|
+
def list_by_resource_group(resource_group_name, custom_headers = nil)
|
214
|
+
first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers)
|
215
|
+
first_page.get_all_items
|
297
216
|
end
|
298
217
|
|
218
|
+
#
|
219
|
+
# Gets the list of images under a resource group.
|
299
220
|
#
|
300
221
|
# @param resource_group_name [String] The name of the resource group.
|
301
|
-
# @param container_service_name [String] The name of the container service in
|
302
|
-
# the specified subscription and resource group.
|
303
222
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
304
223
|
# will be added to the HTTP request.
|
305
224
|
#
|
306
|
-
# @return [
|
307
|
-
# response.
|
225
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
308
226
|
#
|
309
|
-
def
|
310
|
-
|
311
|
-
|
227
|
+
def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil)
|
228
|
+
list_by_resource_group_async(resource_group_name, custom_headers).value!
|
229
|
+
end
|
312
230
|
|
313
|
-
|
314
|
-
|
315
|
-
|
231
|
+
#
|
232
|
+
# Gets the list of images under a resource group.
|
233
|
+
#
|
234
|
+
# @param resource_group_name [String] The name of the resource group.
|
235
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
236
|
+
# to the HTTP request.
|
237
|
+
#
|
238
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
239
|
+
#
|
240
|
+
def list_by_resource_group_async(resource_group_name, custom_headers = nil)
|
241
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
242
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
243
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
244
|
+
|
245
|
+
|
246
|
+
request_headers = {}
|
247
|
+
|
248
|
+
# Set Headers
|
249
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
250
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
251
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images'
|
252
|
+
|
253
|
+
request_url = @base_url || @client.base_url
|
254
|
+
|
255
|
+
options = {
|
256
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
257
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
258
|
+
query_params: {'api-version' => @client.api_version},
|
259
|
+
headers: request_headers.merge(custom_headers || {}),
|
260
|
+
base_url: request_url
|
261
|
+
}
|
262
|
+
promise = @client.make_request_async(:get, path_template, options)
|
263
|
+
|
264
|
+
promise = promise.then do |result|
|
265
|
+
http_response = result.response
|
266
|
+
status_code = http_response.status
|
267
|
+
response_content = http_response.body
|
268
|
+
unless status_code == 200
|
269
|
+
error_model = JSON.load(response_content)
|
270
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
316
271
|
end
|
317
272
|
|
318
|
-
|
319
|
-
|
273
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
274
|
+
# Deserialize Response
|
275
|
+
if status_code == 200
|
276
|
+
begin
|
277
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
278
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::ImageListResult.mapper()
|
279
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
280
|
+
rescue Exception => e
|
281
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
result
|
320
286
|
end
|
321
287
|
|
322
|
-
promise
|
288
|
+
promise.execute
|
323
289
|
end
|
324
290
|
|
325
291
|
#
|
326
|
-
# Gets
|
292
|
+
# Gets the list of Images in the subscription. Use nextLink property in the
|
293
|
+
# response to get the next page of Images. Do this till nextLink is not null to
|
294
|
+
# fetch all the Images.
|
327
295
|
#
|
328
|
-
# Gets a list of container services in the specified subscription and resource
|
329
|
-
# group. The operation returns properties of each container service including
|
330
|
-
# state, orchestrator, number of masters and agents, and FQDNs of masters and
|
331
|
-
# agents.
|
332
|
-
#
|
333
|
-
# @param resource_group_name [String] The name of the resource group.
|
334
296
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
335
297
|
# will be added to the HTTP request.
|
336
298
|
#
|
337
|
-
# @return [Array<
|
299
|
+
# @return [Array<Image>] operation results.
|
338
300
|
#
|
339
|
-
def
|
340
|
-
first_page =
|
301
|
+
def list(custom_headers = nil)
|
302
|
+
first_page = list_as_lazy(custom_headers)
|
341
303
|
first_page.get_all_items
|
342
304
|
end
|
343
305
|
|
344
306
|
#
|
345
|
-
# Gets
|
346
|
-
#
|
347
|
-
#
|
348
|
-
# group. The operation returns properties of each container service including
|
349
|
-
# state, orchestrator, number of masters and agents, and FQDNs of masters and
|
350
|
-
# agents.
|
307
|
+
# Gets the list of Images in the subscription. Use nextLink property in the
|
308
|
+
# response to get the next page of Images. Do this till nextLink is not null to
|
309
|
+
# fetch all the Images.
|
351
310
|
#
|
352
|
-
# @param resource_group_name [String] The name of the resource group.
|
353
311
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
354
312
|
# will be added to the HTTP request.
|
355
313
|
#
|
356
314
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
357
315
|
#
|
358
|
-
def
|
359
|
-
|
316
|
+
def list_with_http_info(custom_headers = nil)
|
317
|
+
list_async(custom_headers).value!
|
360
318
|
end
|
361
319
|
|
362
320
|
#
|
363
|
-
# Gets
|
364
|
-
#
|
365
|
-
#
|
366
|
-
# group. The operation returns properties of each container service including
|
367
|
-
# state, orchestrator, number of masters and agents, and FQDNs of masters and
|
368
|
-
# agents.
|
321
|
+
# Gets the list of Images in the subscription. Use nextLink property in the
|
322
|
+
# response to get the next page of Images. Do this till nextLink is not null to
|
323
|
+
# fetch all the Images.
|
369
324
|
#
|
370
|
-
# @param resource_group_name [String] The name of the resource group.
|
371
325
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
372
326
|
# to the HTTP request.
|
373
327
|
#
|
374
328
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
375
329
|
#
|
376
|
-
def
|
377
|
-
fail ArgumentError, '
|
378
|
-
api_version = '2017-01-31'
|
330
|
+
def list_async(custom_headers = nil)
|
331
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
379
332
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
380
333
|
|
381
334
|
|
@@ -384,14 +337,14 @@ module Azure::ARM::Compute
|
|
384
337
|
# Set Headers
|
385
338
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
386
339
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
387
|
-
path_template = 'subscriptions/{subscriptionId}/
|
340
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/images'
|
388
341
|
|
389
342
|
request_url = @base_url || @client.base_url
|
390
343
|
|
391
344
|
options = {
|
392
345
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
393
|
-
path_params: {'
|
394
|
-
query_params: {'api-version' => api_version},
|
346
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
347
|
+
query_params: {'api-version' => @client.api_version},
|
395
348
|
headers: request_headers.merge(custom_headers || {}),
|
396
349
|
base_url: request_url
|
397
350
|
}
|
@@ -411,7 +364,7 @@ module Azure::ARM::Compute
|
|
411
364
|
if status_code == 200
|
412
365
|
begin
|
413
366
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
414
|
-
result_mapper = Azure::
|
367
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::ImageListResult.mapper()
|
415
368
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
416
369
|
rescue Exception => e
|
417
370
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -425,67 +378,52 @@ module Azure::ARM::Compute
|
|
425
378
|
end
|
426
379
|
|
427
380
|
#
|
428
|
-
#
|
429
|
-
#
|
430
|
-
# Creates or updates a container service with the specified configuration of
|
431
|
-
# orchestrator, masters, and agents.
|
381
|
+
# Create or update an image.
|
432
382
|
#
|
433
383
|
# @param resource_group_name [String] The name of the resource group.
|
434
|
-
# @param
|
435
|
-
#
|
436
|
-
# @param parameters [ContainerService] Parameters supplied to the Create or
|
437
|
-
# Update a Container Service operation.
|
384
|
+
# @param image_name [String] The name of the image.
|
385
|
+
# @param parameters [Image] Parameters supplied to the Create Image operation.
|
438
386
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
439
387
|
# will be added to the HTTP request.
|
440
388
|
#
|
441
|
-
# @return [
|
389
|
+
# @return [Image] operation results.
|
442
390
|
#
|
443
|
-
def begin_create_or_update(resource_group_name,
|
444
|
-
response = begin_create_or_update_async(resource_group_name,
|
391
|
+
def begin_create_or_update(resource_group_name, image_name, parameters, custom_headers = nil)
|
392
|
+
response = begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value!
|
445
393
|
response.body unless response.nil?
|
446
394
|
end
|
447
395
|
|
448
396
|
#
|
449
|
-
#
|
450
|
-
#
|
451
|
-
# Creates or updates a container service with the specified configuration of
|
452
|
-
# orchestrator, masters, and agents.
|
397
|
+
# Create or update an image.
|
453
398
|
#
|
454
399
|
# @param resource_group_name [String] The name of the resource group.
|
455
|
-
# @param
|
456
|
-
#
|
457
|
-
# @param parameters [ContainerService] Parameters supplied to the Create or
|
458
|
-
# Update a Container Service operation.
|
400
|
+
# @param image_name [String] The name of the image.
|
401
|
+
# @param parameters [Image] Parameters supplied to the Create Image operation.
|
459
402
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
460
403
|
# will be added to the HTTP request.
|
461
404
|
#
|
462
405
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
463
406
|
#
|
464
|
-
def begin_create_or_update_with_http_info(resource_group_name,
|
465
|
-
begin_create_or_update_async(resource_group_name,
|
407
|
+
def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers = nil)
|
408
|
+
begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers).value!
|
466
409
|
end
|
467
410
|
|
468
411
|
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
# Creates or updates a container service with the specified configuration of
|
472
|
-
# orchestrator, masters, and agents.
|
412
|
+
# Create or update an image.
|
473
413
|
#
|
474
414
|
# @param resource_group_name [String] The name of the resource group.
|
475
|
-
# @param
|
476
|
-
#
|
477
|
-
# @param parameters [ContainerService] Parameters supplied to the Create or
|
478
|
-
# Update a Container Service operation.
|
415
|
+
# @param image_name [String] The name of the image.
|
416
|
+
# @param parameters [Image] Parameters supplied to the Create Image operation.
|
479
417
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
480
418
|
# to the HTTP request.
|
481
419
|
#
|
482
420
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
483
421
|
#
|
484
|
-
def begin_create_or_update_async(resource_group_name,
|
422
|
+
def begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers = nil)
|
485
423
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
486
|
-
fail ArgumentError, '
|
424
|
+
fail ArgumentError, 'image_name is nil' if image_name.nil?
|
487
425
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
488
|
-
api_version
|
426
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
489
427
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
490
428
|
|
491
429
|
|
@@ -498,18 +436,18 @@ module Azure::ARM::Compute
|
|
498
436
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
499
437
|
|
500
438
|
# Serialize Request
|
501
|
-
request_mapper = Azure::
|
439
|
+
request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper()
|
502
440
|
request_content = @client.serialize(request_mapper, parameters)
|
503
441
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
504
442
|
|
505
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.
|
443
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'
|
506
444
|
|
507
445
|
request_url = @base_url || @client.base_url
|
508
446
|
|
509
447
|
options = {
|
510
448
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
511
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
512
|
-
query_params: {'api-version' => api_version},
|
449
|
+
path_params: {'resourceGroupName' => resource_group_name,'imageName' => image_name,'subscriptionId' => @client.subscription_id},
|
450
|
+
query_params: {'api-version' => @client.api_version},
|
513
451
|
body: request_content,
|
514
452
|
headers: request_headers.merge(custom_headers || {}),
|
515
453
|
base_url: request_url
|
@@ -520,7 +458,7 @@ module Azure::ARM::Compute
|
|
520
458
|
http_response = result.response
|
521
459
|
status_code = http_response.status
|
522
460
|
response_content = http_response.body
|
523
|
-
unless status_code == 200 || status_code == 201
|
461
|
+
unless status_code == 200 || status_code == 201
|
524
462
|
error_model = JSON.load(response_content)
|
525
463
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
526
464
|
end
|
@@ -530,7 +468,7 @@ module Azure::ARM::Compute
|
|
530
468
|
if status_code == 200
|
531
469
|
begin
|
532
470
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
533
|
-
result_mapper = Azure::
|
471
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper()
|
534
472
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
535
473
|
rescue Exception => e
|
536
474
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -540,17 +478,7 @@ module Azure::ARM::Compute
|
|
540
478
|
if status_code == 201
|
541
479
|
begin
|
542
480
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
543
|
-
result_mapper = Azure::
|
544
|
-
result.body = @client.deserialize(result_mapper, parsed_response)
|
545
|
-
rescue Exception => e
|
546
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
547
|
-
end
|
548
|
-
end
|
549
|
-
# Deserialize Response
|
550
|
-
if status_code == 202
|
551
|
-
begin
|
552
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
553
|
-
result_mapper = Azure::ARM::Compute::Models::ContainerService.mapper()
|
481
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::Image.mapper()
|
554
482
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
555
483
|
rescue Exception => e
|
556
484
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -564,68 +492,48 @@ module Azure::ARM::Compute
|
|
564
492
|
end
|
565
493
|
|
566
494
|
#
|
567
|
-
# Deletes
|
568
|
-
#
|
569
|
-
# Deletes the specified container service in the specified subscription and
|
570
|
-
# resource group. The operation does not delete other resources created as part
|
571
|
-
# of creating a container service, including storage accounts, VMs, and
|
572
|
-
# availability sets. All the other resources created with the container service
|
573
|
-
# are part of the same resource group and can be deleted individually.
|
495
|
+
# Deletes an Image.
|
574
496
|
#
|
575
497
|
# @param resource_group_name [String] The name of the resource group.
|
576
|
-
# @param
|
577
|
-
# the specified subscription and resource group.
|
498
|
+
# @param image_name [String] The name of the image.
|
578
499
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
579
500
|
# will be added to the HTTP request.
|
580
501
|
#
|
502
|
+
# @return [OperationStatusResponse] operation results.
|
581
503
|
#
|
582
|
-
def begin_delete(resource_group_name,
|
583
|
-
response = begin_delete_async(resource_group_name,
|
584
|
-
nil
|
504
|
+
def begin_delete(resource_group_name, image_name, custom_headers = nil)
|
505
|
+
response = begin_delete_async(resource_group_name, image_name, custom_headers).value!
|
506
|
+
response.body unless response.nil?
|
585
507
|
end
|
586
508
|
|
587
509
|
#
|
588
|
-
# Deletes
|
589
|
-
#
|
590
|
-
# Deletes the specified container service in the specified subscription and
|
591
|
-
# resource group. The operation does not delete other resources created as part
|
592
|
-
# of creating a container service, including storage accounts, VMs, and
|
593
|
-
# availability sets. All the other resources created with the container service
|
594
|
-
# are part of the same resource group and can be deleted individually.
|
510
|
+
# Deletes an Image.
|
595
511
|
#
|
596
512
|
# @param resource_group_name [String] The name of the resource group.
|
597
|
-
# @param
|
598
|
-
# the specified subscription and resource group.
|
513
|
+
# @param image_name [String] The name of the image.
|
599
514
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
600
515
|
# will be added to the HTTP request.
|
601
516
|
#
|
602
517
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
603
518
|
#
|
604
|
-
def begin_delete_with_http_info(resource_group_name,
|
605
|
-
begin_delete_async(resource_group_name,
|
519
|
+
def begin_delete_with_http_info(resource_group_name, image_name, custom_headers = nil)
|
520
|
+
begin_delete_async(resource_group_name, image_name, custom_headers).value!
|
606
521
|
end
|
607
522
|
|
608
523
|
#
|
609
|
-
# Deletes
|
610
|
-
#
|
611
|
-
# Deletes the specified container service in the specified subscription and
|
612
|
-
# resource group. The operation does not delete other resources created as part
|
613
|
-
# of creating a container service, including storage accounts, VMs, and
|
614
|
-
# availability sets. All the other resources created with the container service
|
615
|
-
# are part of the same resource group and can be deleted individually.
|
524
|
+
# Deletes an Image.
|
616
525
|
#
|
617
526
|
# @param resource_group_name [String] The name of the resource group.
|
618
|
-
# @param
|
619
|
-
# the specified subscription and resource group.
|
527
|
+
# @param image_name [String] The name of the image.
|
620
528
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
621
529
|
# to the HTTP request.
|
622
530
|
#
|
623
531
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
624
532
|
#
|
625
|
-
def begin_delete_async(resource_group_name,
|
533
|
+
def begin_delete_async(resource_group_name, image_name, custom_headers = nil)
|
626
534
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
627
|
-
fail ArgumentError, '
|
628
|
-
api_version
|
535
|
+
fail ArgumentError, 'image_name is nil' if image_name.nil?
|
536
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
629
537
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
630
538
|
|
631
539
|
|
@@ -634,14 +542,14 @@ module Azure::ARM::Compute
|
|
634
542
|
# Set Headers
|
635
543
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
636
544
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
637
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.
|
545
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'
|
638
546
|
|
639
547
|
request_url = @base_url || @client.base_url
|
640
548
|
|
641
549
|
options = {
|
642
550
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
643
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
644
|
-
query_params: {'api-version' => api_version},
|
551
|
+
path_params: {'resourceGroupName' => resource_group_name,'imageName' => image_name,'subscriptionId' => @client.subscription_id},
|
552
|
+
query_params: {'api-version' => @client.api_version},
|
645
553
|
headers: request_headers.merge(custom_headers || {}),
|
646
554
|
base_url: request_url
|
647
555
|
}
|
@@ -651,12 +559,22 @@ module Azure::ARM::Compute
|
|
651
559
|
http_response = result.response
|
652
560
|
status_code = http_response.status
|
653
561
|
response_content = http_response.body
|
654
|
-
unless status_code == 202 || status_code == 204
|
562
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
655
563
|
error_model = JSON.load(response_content)
|
656
564
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
657
565
|
end
|
658
566
|
|
659
567
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
568
|
+
# Deserialize Response
|
569
|
+
if status_code == 200
|
570
|
+
begin
|
571
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
572
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::OperationStatusResponse.mapper()
|
573
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
574
|
+
rescue Exception => e
|
575
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
576
|
+
end
|
577
|
+
end
|
660
578
|
|
661
579
|
result
|
662
580
|
end
|
@@ -665,30 +583,22 @@ module Azure::ARM::Compute
|
|
665
583
|
end
|
666
584
|
|
667
585
|
#
|
668
|
-
# Gets
|
669
|
-
#
|
670
|
-
# Gets a list of container services in the specified subscription. The
|
671
|
-
# operation returns properties of each container service including state,
|
672
|
-
# orchestrator, number of masters and agents, and FQDNs of masters and agents.
|
586
|
+
# Gets the list of images under a resource group.
|
673
587
|
#
|
674
588
|
# @param next_page_link [String] The NextLink from the previous successful call
|
675
589
|
# to List operation.
|
676
590
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
677
591
|
# will be added to the HTTP request.
|
678
592
|
#
|
679
|
-
# @return [
|
593
|
+
# @return [ImageListResult] operation results.
|
680
594
|
#
|
681
|
-
def
|
682
|
-
response =
|
595
|
+
def list_by_resource_group_next(next_page_link, custom_headers = nil)
|
596
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
|
683
597
|
response.body unless response.nil?
|
684
598
|
end
|
685
599
|
|
686
600
|
#
|
687
|
-
# Gets
|
688
|
-
#
|
689
|
-
# Gets a list of container services in the specified subscription. The
|
690
|
-
# operation returns properties of each container service including state,
|
691
|
-
# orchestrator, number of masters and agents, and FQDNs of masters and agents.
|
601
|
+
# Gets the list of images under a resource group.
|
692
602
|
#
|
693
603
|
# @param next_page_link [String] The NextLink from the previous successful call
|
694
604
|
# to List operation.
|
@@ -697,16 +607,12 @@ module Azure::ARM::Compute
|
|
697
607
|
#
|
698
608
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
699
609
|
#
|
700
|
-
def
|
701
|
-
|
610
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil)
|
611
|
+
list_by_resource_group_next_async(next_page_link, custom_headers).value!
|
702
612
|
end
|
703
613
|
|
704
614
|
#
|
705
|
-
# Gets
|
706
|
-
#
|
707
|
-
# Gets a list of container services in the specified subscription. The
|
708
|
-
# operation returns properties of each container service including state,
|
709
|
-
# orchestrator, number of masters and agents, and FQDNs of masters and agents.
|
615
|
+
# Gets the list of images under a resource group.
|
710
616
|
#
|
711
617
|
# @param next_page_link [String] The NextLink from the previous successful call
|
712
618
|
# to List operation.
|
@@ -715,7 +621,7 @@ module Azure::ARM::Compute
|
|
715
621
|
#
|
716
622
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
717
623
|
#
|
718
|
-
def
|
624
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
|
719
625
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
720
626
|
|
721
627
|
|
@@ -750,7 +656,7 @@ module Azure::ARM::Compute
|
|
750
656
|
if status_code == 200
|
751
657
|
begin
|
752
658
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
753
|
-
result_mapper = Azure::
|
659
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::ImageListResult.mapper()
|
754
660
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
755
661
|
rescue Exception => e
|
756
662
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -764,32 +670,26 @@ module Azure::ARM::Compute
|
|
764
670
|
end
|
765
671
|
|
766
672
|
#
|
767
|
-
# Gets
|
768
|
-
#
|
769
|
-
#
|
770
|
-
# group. The operation returns properties of each container service including
|
771
|
-
# state, orchestrator, number of masters and agents, and FQDNs of masters and
|
772
|
-
# agents.
|
673
|
+
# Gets the list of Images in the subscription. Use nextLink property in the
|
674
|
+
# response to get the next page of Images. Do this till nextLink is not null to
|
675
|
+
# fetch all the Images.
|
773
676
|
#
|
774
677
|
# @param next_page_link [String] The NextLink from the previous successful call
|
775
678
|
# to List operation.
|
776
679
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
777
680
|
# will be added to the HTTP request.
|
778
681
|
#
|
779
|
-
# @return [
|
682
|
+
# @return [ImageListResult] operation results.
|
780
683
|
#
|
781
|
-
def
|
782
|
-
response =
|
684
|
+
def list_next(next_page_link, custom_headers = nil)
|
685
|
+
response = list_next_async(next_page_link, custom_headers).value!
|
783
686
|
response.body unless response.nil?
|
784
687
|
end
|
785
688
|
|
786
689
|
#
|
787
|
-
# Gets
|
788
|
-
#
|
789
|
-
#
|
790
|
-
# group. The operation returns properties of each container service including
|
791
|
-
# state, orchestrator, number of masters and agents, and FQDNs of masters and
|
792
|
-
# agents.
|
690
|
+
# Gets the list of Images in the subscription. Use nextLink property in the
|
691
|
+
# response to get the next page of Images. Do this till nextLink is not null to
|
692
|
+
# fetch all the Images.
|
793
693
|
#
|
794
694
|
# @param next_page_link [String] The NextLink from the previous successful call
|
795
695
|
# to List operation.
|
@@ -798,17 +698,14 @@ module Azure::ARM::Compute
|
|
798
698
|
#
|
799
699
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
800
700
|
#
|
801
|
-
def
|
802
|
-
|
701
|
+
def list_next_with_http_info(next_page_link, custom_headers = nil)
|
702
|
+
list_next_async(next_page_link, custom_headers).value!
|
803
703
|
end
|
804
704
|
|
805
705
|
#
|
806
|
-
# Gets
|
807
|
-
#
|
808
|
-
#
|
809
|
-
# group. The operation returns properties of each container service including
|
810
|
-
# state, orchestrator, number of masters and agents, and FQDNs of masters and
|
811
|
-
# agents.
|
706
|
+
# Gets the list of Images in the subscription. Use nextLink property in the
|
707
|
+
# response to get the next page of Images. Do this till nextLink is not null to
|
708
|
+
# fetch all the Images.
|
812
709
|
#
|
813
710
|
# @param next_page_link [String] The NextLink from the previous successful call
|
814
711
|
# to List operation.
|
@@ -817,7 +714,7 @@ module Azure::ARM::Compute
|
|
817
714
|
#
|
818
715
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
819
716
|
#
|
820
|
-
def
|
717
|
+
def list_next_async(next_page_link, custom_headers = nil)
|
821
718
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
822
719
|
|
823
720
|
|
@@ -852,7 +749,7 @@ module Azure::ARM::Compute
|
|
852
749
|
if status_code == 200
|
853
750
|
begin
|
854
751
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
855
|
-
result_mapper = Azure::
|
752
|
+
result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::ImageListResult.mapper()
|
856
753
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
857
754
|
rescue Exception => e
|
858
755
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -866,50 +763,41 @@ module Azure::ARM::Compute
|
|
866
763
|
end
|
867
764
|
|
868
765
|
#
|
869
|
-
# Gets
|
870
|
-
#
|
871
|
-
# Gets a list of container services in the specified subscription. The
|
872
|
-
# operation returns properties of each container service including state,
|
873
|
-
# orchestrator, number of masters and agents, and FQDNs of masters and agents.
|
766
|
+
# Gets the list of images under a resource group.
|
874
767
|
#
|
768
|
+
# @param resource_group_name [String] The name of the resource group.
|
875
769
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
876
770
|
# will be added to the HTTP request.
|
877
771
|
#
|
878
|
-
# @return [
|
879
|
-
# the response.
|
772
|
+
# @return [ImageListResult] which provide lazy access to pages of the response.
|
880
773
|
#
|
881
|
-
def
|
882
|
-
response =
|
774
|
+
def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil)
|
775
|
+
response = list_by_resource_group_async(resource_group_name, custom_headers).value!
|
883
776
|
unless response.nil?
|
884
777
|
page = response.body
|
885
778
|
page.next_method = Proc.new do |next_page_link|
|
886
|
-
|
779
|
+
list_by_resource_group_next_async(next_page_link, custom_headers)
|
887
780
|
end
|
888
781
|
page
|
889
782
|
end
|
890
783
|
end
|
891
784
|
|
892
785
|
#
|
893
|
-
# Gets
|
894
|
-
#
|
895
|
-
#
|
896
|
-
# group. The operation returns properties of each container service including
|
897
|
-
# state, orchestrator, number of masters and agents, and FQDNs of masters and
|
898
|
-
# agents.
|
786
|
+
# Gets the list of Images in the subscription. Use nextLink property in the
|
787
|
+
# response to get the next page of Images. Do this till nextLink is not null to
|
788
|
+
# fetch all the Images.
|
899
789
|
#
|
900
|
-
# @param resource_group_name [String] The name of the resource group.
|
901
790
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
902
791
|
# will be added to the HTTP request.
|
903
792
|
#
|
904
|
-
# @return [
|
905
|
-
# the response.
|
793
|
+
# @return [ImageListResult] which provide lazy access to pages of the response.
|
906
794
|
#
|
907
|
-
def
|
908
|
-
response =
|
795
|
+
def list_as_lazy(custom_headers = nil)
|
796
|
+
response = list_async(custom_headers).value!
|
909
797
|
unless response.nil?
|
910
798
|
page = response.body
|
911
799
|
page.next_method = Proc.new do |next_page_link|
|
912
|
-
|
800
|
+
list_next_async(next_page_link, custom_headers)
|
913
801
|
end
|
914
802
|
page
|
915
803
|
end
|