azure_mgmt_batch 0.17.2 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +20 -20
- data/lib/2015-12-01/generated/azure_mgmt_batch.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/application_operations.rb +12 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/application_package_operations.rb +8 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/batch_account_operations.rb +22 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
- data/lib/2015-12-01/generated/azure_mgmt_batch/location.rb +2 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/account_key_type.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/add_application_parameters.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/application.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/application_package.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/list_applications_result.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/package_state.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/provisioning_state.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/resource.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/update_application_parameters.rb +0 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/module_definition.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/application_operations.rb +12 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/application_package_operations.rb +8 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/batch_account_operations.rb +22 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
- data/lib/2017-01-01/generated/azure_mgmt_batch/location.rb +2 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/account_key_type.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/add_application_parameters.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/application_package.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/list_applications_result.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/package_state.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/provisioning_state.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/resource.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/update_application_parameters.rb +0 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/module_definition.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/application_operations.rb +12 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/application_package_operations.rb +8 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/batch_account_operations.rb +22 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
- data/lib/2017-05-01/generated/azure_mgmt_batch/location.rb +4 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/account_key_type.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/application.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/application_create_parameters.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/application_package.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/application_update_parameters.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/list_applications_result.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/operation.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/operation_display.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/operation_list_result.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/package_state.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/provisioning_state.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/resource.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/module_definition.rb +0 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/operations.rb +4 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/application_operations.rb +12 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/application_package_operations.rb +8 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/batch_account_operations.rb +22 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/batch_management_client.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_batch/certificate_operations.rb +14 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/location.rb +4 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/account_key_type.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/allocation_state.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/application.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_create_parameters.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_package.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_package_reference.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_update_parameters.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_run.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_run_error.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_scope.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_specification.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/caching_type.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_format.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_provisioning_state.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_reference.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_store_location.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_visibility.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/cloud_service_configuration.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/compute_node_deallocation_option.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/compute_node_fill_type.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/data_disk.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/deployment_configuration.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/elevation_level.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/environment_setting.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/fixed_scale_settings.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/image_reference.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/inbound_endpoint_protocol.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/inbound_nat_pool.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/inter_node_communication_state.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_applications_result.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_certificates_result.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_pools_result.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/metadata_item.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_configuration.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_security_group_rule.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_security_group_rule_access.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation_display.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation_list_result.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/osdisk.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/package_state.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_provisioning_state.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/provisioning_state.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/proxy_resource.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/resize_error.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/resize_operation_status.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/resource.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/resource_file.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/scale_settings.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/start_task.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/storage_account_type.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/user_account.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/user_identity.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/virtual_machine_configuration.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/windows_configuration.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/module_definition.rb +0 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/operations.rb +4 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/pool_operations.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch.rb +116 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/application_operations.rb +696 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/application_package_operations.rb +737 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/batch_account_operations.rb +1295 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/batch_management_client.rb +156 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/certificate_operations.rb +1023 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/location.rb +225 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +46 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/allocation_state.rb +17 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/application.rb +107 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/application_package.rb +137 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/application_package_reference.rb +64 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_run.rb +74 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_run_error.rb +80 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb +61 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +47 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +56 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_user_scope.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/auto_user_specification.rb +66 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account.rb +208 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +110 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +71 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +99 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +48 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +68 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +48 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/caching_type.rb +17 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate.rb +192 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb +75 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb +135 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_format.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_provisioning_state.rb +17 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_reference.rb +112 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_store_location.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/certificate_visibility.rb +17 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +61 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +78 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/cloud_service_configuration.rb +67 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/compute_node_deallocation_option.rb +18 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/compute_node_fill_type.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/container_configuration.rb +95 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/container_registry.rb +70 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/data_disk.rb +101 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb +92 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/deployment_configuration.rb +66 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/elevation_level.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/environment_setting.rb +58 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/fixed_scale_settings.rb +93 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/image_reference.rb +108 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/inbound_endpoint_protocol.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/inbound_nat_pool.rb +141 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/inter_node_communication_state.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +59 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb +81 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/list_application_packages_result.rb +98 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/list_applications_result.rb +98 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/list_certificates_result.rb +98 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/list_pools_result.rb +98 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/login_mode.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/metadata_item.rb +60 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/network_configuration.rb +86 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/network_security_group_rule.rb +82 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/network_security_group_rule_access.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/operation.rb +82 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/operation_display.rb +81 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/operation_list_result.rb +98 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/package_state.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/pool.rb +459 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb +60 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/pool_provisioning_state.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/proxy_resource.rb +84 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/resize_error.rb +80 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/resize_operation_status.rb +127 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/resource.rb +112 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/resource_file.rb +139 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/scale_settings.rb +69 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/start_task.rb +168 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/storage_account_type.rb +16 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/task_container_settings.rb +77 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb +49 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/user_account.rb +104 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/user_identity.rb +64 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/virtual_machine_configuration.rb +141 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/windows_configuration.rb +48 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/models/windows_user_configuration.rb +51 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/operations.rb +219 -0
- data/lib/2018-12-01/generated/azure_mgmt_batch/pool_operations.rb +1148 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch.rb +117 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/application_operations.rb +696 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/application_package_operations.rb +737 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/batch_account_operations.rb +1295 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/batch_management_client.rb +156 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/certificate_operations.rb +1023 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/location.rb +225 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +46 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/allocation_state.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/application.rb +107 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/application_package.rb +137 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/application_package_reference.rb +64 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_scale_run.rb +74 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_scale_run_error.rb +80 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb +61 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +47 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +56 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_user_scope.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/auto_user_specification.rb +66 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account.rb +257 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +110 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +71 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +99 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +48 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +68 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +48 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/caching_type.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate.rb +192 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb +75 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb +135 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_format.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_provisioning_state.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_reference.rb +112 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_store_location.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/certificate_visibility.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +61 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +78 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/cloud_service_configuration.rb +68 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/compute_node_deallocation_option.rb +18 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/compute_node_fill_type.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/container_configuration.rb +95 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/container_registry.rb +70 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/data_disk.rb +101 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb +92 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/deployment_configuration.rb +66 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/elevation_level.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/environment_setting.rb +58 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/fixed_scale_settings.rb +93 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/image_reference.rb +108 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/inbound_endpoint_protocol.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/inbound_nat_pool.rb +141 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/inter_node_communication_state.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +59 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb +81 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/list_application_packages_result.rb +98 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/list_applications_result.rb +98 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/list_certificates_result.rb +98 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/list_pools_result.rb +98 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/login_mode.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/metadata_item.rb +60 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/network_configuration.rb +86 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/network_security_group_rule.rb +82 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/network_security_group_rule_access.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/operation.rb +82 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/operation_display.rb +81 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/operation_list_result.rb +98 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/package_state.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/pool.rb +462 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb +60 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/pool_provisioning_state.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/proxy_resource.rb +84 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/resize_error.rb +80 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/resize_operation_status.rb +127 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/resource.rb +112 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/resource_file.rb +139 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/scale_settings.rb +69 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/start_task.rb +174 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/storage_account_type.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/task_container_settings.rb +77 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb +49 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/user_account.rb +104 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/user_identity.rb +64 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/virtual_machine_configuration.rb +141 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/virtual_machine_family_core_quota.rb +60 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/windows_configuration.rb +48 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/models/windows_user_configuration.rb +51 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/operations.rb +219 -0
- data/lib/2019-04-01/generated/azure_mgmt_batch/pool_operations.rb +1148 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch.rb +123 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/application_operations.rb +696 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/application_package_operations.rb +749 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/batch_account_operations.rb +1295 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/batch_management_client.rb +156 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/certificate_operations.rb +1023 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/location.rb +225 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +46 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/allocation_state.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/application.rb +107 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/application_package.rb +137 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/application_package_reference.rb +64 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_scale_run.rb +74 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_scale_run_error.rb +80 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb +61 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +47 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +56 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_user_scope.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/auto_user_specification.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/azure_blob_file_system_configuration.rb +109 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/azure_file_share_configuration.rb +97 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account.rb +257 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +110 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +71 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +99 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +48 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +48 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/caching_type.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate.rb +192 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb +75 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb +135 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_format.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_provisioning_state.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_reference.rb +112 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_store_location.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_visibility.rb +17 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +61 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +78 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/cifsmount_configuration.rb +98 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/cloud_service_configuration.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/compute_node_deallocation_option.rb +18 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/compute_node_fill_type.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/container_configuration.rb +95 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/container_registry.rb +70 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/container_working_directory.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/data_disk.rb +102 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb +92 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/deployment_configuration.rb +66 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/elevation_level.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/environment_setting.rb +58 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/fixed_scale_settings.rb +93 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/image_reference.rb +111 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/inbound_endpoint_protocol.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/inbound_nat_pool.rb +141 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/inter_node_communication_state.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +59 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb +81 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/list_application_packages_result.rb +98 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/list_applications_result.rb +98 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/list_certificates_result.rb +98 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/list_pools_result.rb +98 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/login_mode.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/metadata_item.rb +60 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/mount_configuration.rb +91 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/network_configuration.rb +111 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/network_security_group_rule.rb +106 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/network_security_group_rule_access.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/nfsmount_configuration.rb +74 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/operation.rb +82 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/operation_display.rb +81 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/operation_list_result.rb +98 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/package_state.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/pool.rb +484 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb +60 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/pool_provisioning_state.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/proxy_resource.rb +84 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/resize_error.rb +80 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/resize_operation_status.rb +127 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/resource.rb +112 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/resource_file.rb +139 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/scale_settings.rb +69 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/start_task.rb +174 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/storage_account_type.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/task_container_settings.rb +92 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb +49 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/user_account.rb +104 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/user_identity.rb +64 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/virtual_machine_configuration.rb +141 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/virtual_machine_family_core_quota.rb +60 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/windows_configuration.rb +48 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/models/windows_user_configuration.rb +51 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/operations.rb +219 -0
- data/lib/2019-08-01/generated/azure_mgmt_batch/pool_operations.rb +1148 -0
- data/lib/azure_mgmt_batch.rb +5 -2
- data/lib/module_definition.rb +7 -7
- data/lib/profiles/latest/batch_latest_profile_client.rb +40 -40
- data/lib/profiles/latest/batch_module_definition.rb +8 -8
- data/lib/profiles/latest/modules/batch_profile_module.rb +244 -204
- data/lib/version.rb +1 -1
- metadata +289 -5
@@ -0,0 +1,737 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Batch::Mgmt::V2018_12_01
|
7
|
+
#
|
8
|
+
# ApplicationPackageOperations
|
9
|
+
#
|
10
|
+
class ApplicationPackageOperations
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the ApplicationPackageOperations class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [BatchManagementClient] reference to the BatchManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Activates the specified application package.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group that
|
28
|
+
# contains the Batch account.
|
29
|
+
# @param account_name [String] The name of the Batch account.
|
30
|
+
# @param application_name [String] The name of the application. This must be
|
31
|
+
# unique within the account.
|
32
|
+
# @param version_name [String] The version of the application.
|
33
|
+
# @param parameters [ActivateApplicationPackageParameters] The parameters for
|
34
|
+
# the request.
|
35
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
36
|
+
# will be added to the HTTP request.
|
37
|
+
#
|
38
|
+
# @return [ApplicationPackage] operation results.
|
39
|
+
#
|
40
|
+
def activate(resource_group_name, account_name, application_name, version_name, parameters, custom_headers:nil)
|
41
|
+
response = activate_async(resource_group_name, account_name, application_name, version_name, parameters, custom_headers:custom_headers).value!
|
42
|
+
response.body unless response.nil?
|
43
|
+
end
|
44
|
+
|
45
|
+
#
|
46
|
+
# Activates the specified application package.
|
47
|
+
#
|
48
|
+
# @param resource_group_name [String] The name of the resource group that
|
49
|
+
# contains the Batch account.
|
50
|
+
# @param account_name [String] The name of the Batch account.
|
51
|
+
# @param application_name [String] The name of the application. This must be
|
52
|
+
# unique within the account.
|
53
|
+
# @param version_name [String] The version of the application.
|
54
|
+
# @param parameters [ActivateApplicationPackageParameters] The parameters for
|
55
|
+
# the request.
|
56
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
57
|
+
# will be added to the HTTP request.
|
58
|
+
#
|
59
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
60
|
+
#
|
61
|
+
def activate_with_http_info(resource_group_name, account_name, application_name, version_name, parameters, custom_headers:nil)
|
62
|
+
activate_async(resource_group_name, account_name, application_name, version_name, parameters, custom_headers:custom_headers).value!
|
63
|
+
end
|
64
|
+
|
65
|
+
#
|
66
|
+
# Activates the specified application package.
|
67
|
+
#
|
68
|
+
# @param resource_group_name [String] The name of the resource group that
|
69
|
+
# contains the Batch account.
|
70
|
+
# @param account_name [String] The name of the Batch account.
|
71
|
+
# @param application_name [String] The name of the application. This must be
|
72
|
+
# unique within the account.
|
73
|
+
# @param version_name [String] The version of the application.
|
74
|
+
# @param parameters [ActivateApplicationPackageParameters] The parameters for
|
75
|
+
# the request.
|
76
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
77
|
+
# to the HTTP request.
|
78
|
+
#
|
79
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
80
|
+
#
|
81
|
+
def activate_async(resource_group_name, account_name, application_name, version_name, parameters, custom_headers:nil)
|
82
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
83
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
84
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
85
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
86
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !account_name.nil? && account_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
87
|
+
fail ArgumentError, 'application_name is nil' if application_name.nil?
|
88
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'MaxLength': '64'" if !application_name.nil? && application_name.length > 64
|
89
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'MinLength': '1'" if !application_name.nil? && application_name.length < 1
|
90
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-]+$'" if !application_name.nil? && application_name.match(Regexp.new('^^[a-zA-Z0-9_-]+$$')).nil?
|
91
|
+
fail ArgumentError, 'version_name is nil' if version_name.nil?
|
92
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'MaxLength': '64'" if !version_name.nil? && version_name.length > 64
|
93
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'MinLength': '1'" if !version_name.nil? && version_name.length < 1
|
94
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$'" if !version_name.nil? && version_name.match(Regexp.new('^^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$$')).nil?
|
95
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
96
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
97
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
98
|
+
|
99
|
+
|
100
|
+
request_headers = {}
|
101
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
102
|
+
|
103
|
+
# Set Headers
|
104
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
105
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
106
|
+
|
107
|
+
# Serialize Request
|
108
|
+
request_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ActivateApplicationPackageParameters.mapper()
|
109
|
+
request_content = @client.serialize(request_mapper, parameters)
|
110
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
111
|
+
|
112
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}/activate'
|
113
|
+
|
114
|
+
request_url = @base_url || @client.base_url
|
115
|
+
|
116
|
+
options = {
|
117
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
118
|
+
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'applicationName' => application_name,'versionName' => version_name,'subscriptionId' => @client.subscription_id},
|
119
|
+
query_params: {'api-version' => @client.api_version},
|
120
|
+
body: request_content,
|
121
|
+
headers: request_headers.merge(custom_headers || {}),
|
122
|
+
base_url: request_url
|
123
|
+
}
|
124
|
+
promise = @client.make_request_async(:post, path_template, options)
|
125
|
+
|
126
|
+
promise = promise.then do |result|
|
127
|
+
http_response = result.response
|
128
|
+
status_code = http_response.status
|
129
|
+
response_content = http_response.body
|
130
|
+
unless status_code == 200
|
131
|
+
error_model = JSON.load(response_content)
|
132
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
133
|
+
end
|
134
|
+
|
135
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
136
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
137
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
138
|
+
# Deserialize Response
|
139
|
+
if status_code == 200
|
140
|
+
begin
|
141
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
142
|
+
result_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ApplicationPackage.mapper()
|
143
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
144
|
+
rescue Exception => e
|
145
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
result
|
150
|
+
end
|
151
|
+
|
152
|
+
promise.execute
|
153
|
+
end
|
154
|
+
|
155
|
+
#
|
156
|
+
# Creates an application package record.
|
157
|
+
#
|
158
|
+
# @param resource_group_name [String] The name of the resource group that
|
159
|
+
# contains the Batch account.
|
160
|
+
# @param account_name [String] The name of the Batch account.
|
161
|
+
# @param application_name [String] The name of the application. This must be
|
162
|
+
# unique within the account.
|
163
|
+
# @param version_name [String] The version of the application.
|
164
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
165
|
+
# will be added to the HTTP request.
|
166
|
+
#
|
167
|
+
# @return [ApplicationPackage] operation results.
|
168
|
+
#
|
169
|
+
def create(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
|
170
|
+
response = create_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
|
171
|
+
response.body unless response.nil?
|
172
|
+
end
|
173
|
+
|
174
|
+
#
|
175
|
+
# Creates an application package record.
|
176
|
+
#
|
177
|
+
# @param resource_group_name [String] The name of the resource group that
|
178
|
+
# contains the Batch account.
|
179
|
+
# @param account_name [String] The name of the Batch account.
|
180
|
+
# @param application_name [String] The name of the application. This must be
|
181
|
+
# unique within the account.
|
182
|
+
# @param version_name [String] The version of the application.
|
183
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
184
|
+
# will be added to the HTTP request.
|
185
|
+
#
|
186
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
187
|
+
#
|
188
|
+
def create_with_http_info(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
|
189
|
+
create_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
|
190
|
+
end
|
191
|
+
|
192
|
+
#
|
193
|
+
# Creates an application package record.
|
194
|
+
#
|
195
|
+
# @param resource_group_name [String] The name of the resource group that
|
196
|
+
# contains the Batch account.
|
197
|
+
# @param account_name [String] The name of the Batch account.
|
198
|
+
# @param application_name [String] The name of the application. This must be
|
199
|
+
# unique within the account.
|
200
|
+
# @param version_name [String] The version of the application.
|
201
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
202
|
+
# to the HTTP request.
|
203
|
+
#
|
204
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
205
|
+
#
|
206
|
+
def create_async(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
|
207
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
208
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
209
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
210
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
211
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !account_name.nil? && account_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
212
|
+
fail ArgumentError, 'application_name is nil' if application_name.nil?
|
213
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'MaxLength': '64'" if !application_name.nil? && application_name.length > 64
|
214
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'MinLength': '1'" if !application_name.nil? && application_name.length < 1
|
215
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-]+$'" if !application_name.nil? && application_name.match(Regexp.new('^^[a-zA-Z0-9_-]+$$')).nil?
|
216
|
+
fail ArgumentError, 'version_name is nil' if version_name.nil?
|
217
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'MaxLength': '64'" if !version_name.nil? && version_name.length > 64
|
218
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'MinLength': '1'" if !version_name.nil? && version_name.length < 1
|
219
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$'" if !version_name.nil? && version_name.match(Regexp.new('^^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$$')).nil?
|
220
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
221
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
222
|
+
|
223
|
+
parameters = nil
|
224
|
+
|
225
|
+
request_headers = {}
|
226
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
227
|
+
|
228
|
+
# Set Headers
|
229
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
230
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
231
|
+
|
232
|
+
# Serialize Request
|
233
|
+
request_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ApplicationPackage.mapper()
|
234
|
+
request_content = @client.serialize(request_mapper, parameters)
|
235
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
236
|
+
|
237
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}'
|
238
|
+
|
239
|
+
request_url = @base_url || @client.base_url
|
240
|
+
|
241
|
+
options = {
|
242
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
243
|
+
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'applicationName' => application_name,'versionName' => version_name,'subscriptionId' => @client.subscription_id},
|
244
|
+
query_params: {'api-version' => @client.api_version},
|
245
|
+
body: request_content,
|
246
|
+
headers: request_headers.merge(custom_headers || {}),
|
247
|
+
base_url: request_url
|
248
|
+
}
|
249
|
+
promise = @client.make_request_async(:put, path_template, options)
|
250
|
+
|
251
|
+
promise = promise.then do |result|
|
252
|
+
http_response = result.response
|
253
|
+
status_code = http_response.status
|
254
|
+
response_content = http_response.body
|
255
|
+
unless status_code == 200
|
256
|
+
error_model = JSON.load(response_content)
|
257
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
258
|
+
end
|
259
|
+
|
260
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
261
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
262
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
263
|
+
# Deserialize Response
|
264
|
+
if status_code == 200
|
265
|
+
begin
|
266
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
267
|
+
result_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ApplicationPackage.mapper()
|
268
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
269
|
+
rescue Exception => e
|
270
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
result
|
275
|
+
end
|
276
|
+
|
277
|
+
promise.execute
|
278
|
+
end
|
279
|
+
|
280
|
+
#
|
281
|
+
# Deletes an application package record and its associated binary file.
|
282
|
+
#
|
283
|
+
# @param resource_group_name [String] The name of the resource group that
|
284
|
+
# contains the Batch account.
|
285
|
+
# @param account_name [String] The name of the Batch account.
|
286
|
+
# @param application_name [String] The name of the application. This must be
|
287
|
+
# unique within the account.
|
288
|
+
# @param version_name [String] The version of the application.
|
289
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
290
|
+
# will be added to the HTTP request.
|
291
|
+
#
|
292
|
+
#
|
293
|
+
def delete(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
|
294
|
+
response = delete_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
|
295
|
+
nil
|
296
|
+
end
|
297
|
+
|
298
|
+
#
|
299
|
+
# Deletes an application package record and its associated binary file.
|
300
|
+
#
|
301
|
+
# @param resource_group_name [String] The name of the resource group that
|
302
|
+
# contains the Batch account.
|
303
|
+
# @param account_name [String] The name of the Batch account.
|
304
|
+
# @param application_name [String] The name of the application. This must be
|
305
|
+
# unique within the account.
|
306
|
+
# @param version_name [String] The version of the application.
|
307
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
308
|
+
# will be added to the HTTP request.
|
309
|
+
#
|
310
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
311
|
+
#
|
312
|
+
def delete_with_http_info(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
|
313
|
+
delete_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
|
314
|
+
end
|
315
|
+
|
316
|
+
#
|
317
|
+
# Deletes an application package record and its associated binary file.
|
318
|
+
#
|
319
|
+
# @param resource_group_name [String] The name of the resource group that
|
320
|
+
# contains the Batch account.
|
321
|
+
# @param account_name [String] The name of the Batch account.
|
322
|
+
# @param application_name [String] The name of the application. This must be
|
323
|
+
# unique within the account.
|
324
|
+
# @param version_name [String] The version of the application.
|
325
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
326
|
+
# to the HTTP request.
|
327
|
+
#
|
328
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
329
|
+
#
|
330
|
+
def delete_async(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
|
331
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
332
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
333
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
334
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
335
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !account_name.nil? && account_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
336
|
+
fail ArgumentError, 'application_name is nil' if application_name.nil?
|
337
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'MaxLength': '64'" if !application_name.nil? && application_name.length > 64
|
338
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'MinLength': '1'" if !application_name.nil? && application_name.length < 1
|
339
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-]+$'" if !application_name.nil? && application_name.match(Regexp.new('^^[a-zA-Z0-9_-]+$$')).nil?
|
340
|
+
fail ArgumentError, 'version_name is nil' if version_name.nil?
|
341
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'MaxLength': '64'" if !version_name.nil? && version_name.length > 64
|
342
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'MinLength': '1'" if !version_name.nil? && version_name.length < 1
|
343
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$'" if !version_name.nil? && version_name.match(Regexp.new('^^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$$')).nil?
|
344
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
345
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
346
|
+
|
347
|
+
|
348
|
+
request_headers = {}
|
349
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
350
|
+
|
351
|
+
# Set Headers
|
352
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
353
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
354
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}'
|
355
|
+
|
356
|
+
request_url = @base_url || @client.base_url
|
357
|
+
|
358
|
+
options = {
|
359
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
360
|
+
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'applicationName' => application_name,'versionName' => version_name,'subscriptionId' => @client.subscription_id},
|
361
|
+
query_params: {'api-version' => @client.api_version},
|
362
|
+
headers: request_headers.merge(custom_headers || {}),
|
363
|
+
base_url: request_url
|
364
|
+
}
|
365
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
366
|
+
|
367
|
+
promise = promise.then do |result|
|
368
|
+
http_response = result.response
|
369
|
+
status_code = http_response.status
|
370
|
+
response_content = http_response.body
|
371
|
+
unless status_code == 200 || status_code == 204
|
372
|
+
error_model = JSON.load(response_content)
|
373
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
374
|
+
end
|
375
|
+
|
376
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
377
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
378
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
379
|
+
|
380
|
+
result
|
381
|
+
end
|
382
|
+
|
383
|
+
promise.execute
|
384
|
+
end
|
385
|
+
|
386
|
+
#
|
387
|
+
# Gets information about the specified application package.
|
388
|
+
#
|
389
|
+
# @param resource_group_name [String] The name of the resource group that
|
390
|
+
# contains the Batch account.
|
391
|
+
# @param account_name [String] The name of the Batch account.
|
392
|
+
# @param application_name [String] The name of the application. This must be
|
393
|
+
# unique within the account.
|
394
|
+
# @param version_name [String] The version of the application.
|
395
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
396
|
+
# will be added to the HTTP request.
|
397
|
+
#
|
398
|
+
# @return [ApplicationPackage] operation results.
|
399
|
+
#
|
400
|
+
def get(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
|
401
|
+
response = get_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
|
402
|
+
response.body unless response.nil?
|
403
|
+
end
|
404
|
+
|
405
|
+
#
|
406
|
+
# Gets information about the specified application package.
|
407
|
+
#
|
408
|
+
# @param resource_group_name [String] The name of the resource group that
|
409
|
+
# contains the Batch account.
|
410
|
+
# @param account_name [String] The name of the Batch account.
|
411
|
+
# @param application_name [String] The name of the application. This must be
|
412
|
+
# unique within the account.
|
413
|
+
# @param version_name [String] The version of the application.
|
414
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
415
|
+
# will be added to the HTTP request.
|
416
|
+
#
|
417
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
418
|
+
#
|
419
|
+
def get_with_http_info(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
|
420
|
+
get_async(resource_group_name, account_name, application_name, version_name, custom_headers:custom_headers).value!
|
421
|
+
end
|
422
|
+
|
423
|
+
#
|
424
|
+
# Gets information about the specified application package.
|
425
|
+
#
|
426
|
+
# @param resource_group_name [String] The name of the resource group that
|
427
|
+
# contains the Batch account.
|
428
|
+
# @param account_name [String] The name of the Batch account.
|
429
|
+
# @param application_name [String] The name of the application. This must be
|
430
|
+
# unique within the account.
|
431
|
+
# @param version_name [String] The version of the application.
|
432
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
433
|
+
# to the HTTP request.
|
434
|
+
#
|
435
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
436
|
+
#
|
437
|
+
def get_async(resource_group_name, account_name, application_name, version_name, custom_headers:nil)
|
438
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
439
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
440
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
441
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
442
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !account_name.nil? && account_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
443
|
+
fail ArgumentError, 'application_name is nil' if application_name.nil?
|
444
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'MaxLength': '64'" if !application_name.nil? && application_name.length > 64
|
445
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'MinLength': '1'" if !application_name.nil? && application_name.length < 1
|
446
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-]+$'" if !application_name.nil? && application_name.match(Regexp.new('^^[a-zA-Z0-9_-]+$$')).nil?
|
447
|
+
fail ArgumentError, 'version_name is nil' if version_name.nil?
|
448
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'MaxLength': '64'" if !version_name.nil? && version_name.length > 64
|
449
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'MinLength': '1'" if !version_name.nil? && version_name.length < 1
|
450
|
+
fail ArgumentError, "'version_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$'" if !version_name.nil? && version_name.match(Regexp.new('^^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$$')).nil?
|
451
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
452
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
453
|
+
|
454
|
+
|
455
|
+
request_headers = {}
|
456
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
457
|
+
|
458
|
+
# Set Headers
|
459
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
460
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
461
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}'
|
462
|
+
|
463
|
+
request_url = @base_url || @client.base_url
|
464
|
+
|
465
|
+
options = {
|
466
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
467
|
+
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'applicationName' => application_name,'versionName' => version_name,'subscriptionId' => @client.subscription_id},
|
468
|
+
query_params: {'api-version' => @client.api_version},
|
469
|
+
headers: request_headers.merge(custom_headers || {}),
|
470
|
+
base_url: request_url
|
471
|
+
}
|
472
|
+
promise = @client.make_request_async(:get, path_template, options)
|
473
|
+
|
474
|
+
promise = promise.then do |result|
|
475
|
+
http_response = result.response
|
476
|
+
status_code = http_response.status
|
477
|
+
response_content = http_response.body
|
478
|
+
unless status_code == 200
|
479
|
+
error_model = JSON.load(response_content)
|
480
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
481
|
+
end
|
482
|
+
|
483
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
484
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
485
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
486
|
+
# Deserialize Response
|
487
|
+
if status_code == 200
|
488
|
+
begin
|
489
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
490
|
+
result_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ApplicationPackage.mapper()
|
491
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
492
|
+
rescue Exception => e
|
493
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
497
|
+
result
|
498
|
+
end
|
499
|
+
|
500
|
+
promise.execute
|
501
|
+
end
|
502
|
+
|
503
|
+
#
|
504
|
+
# Lists all of the application packages in the specified application.
|
505
|
+
#
|
506
|
+
# @param resource_group_name [String] The name of the resource group that
|
507
|
+
# contains the Batch account.
|
508
|
+
# @param account_name [String] The name of the Batch account.
|
509
|
+
# @param application_name [String] The name of the application. This must be
|
510
|
+
# unique within the account.
|
511
|
+
# @param maxresults [Integer] The maximum number of items to return in the
|
512
|
+
# response.
|
513
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
514
|
+
# will be added to the HTTP request.
|
515
|
+
#
|
516
|
+
# @return [Array<ApplicationPackage>] operation results.
|
517
|
+
#
|
518
|
+
def list(resource_group_name, account_name, application_name, maxresults:nil, custom_headers:nil)
|
519
|
+
first_page = list_as_lazy(resource_group_name, account_name, application_name, maxresults:maxresults, custom_headers:custom_headers)
|
520
|
+
first_page.get_all_items
|
521
|
+
end
|
522
|
+
|
523
|
+
#
|
524
|
+
# Lists all of the application packages in the specified application.
|
525
|
+
#
|
526
|
+
# @param resource_group_name [String] The name of the resource group that
|
527
|
+
# contains the Batch account.
|
528
|
+
# @param account_name [String] The name of the Batch account.
|
529
|
+
# @param application_name [String] The name of the application. This must be
|
530
|
+
# unique within the account.
|
531
|
+
# @param maxresults [Integer] The maximum number of items to return in the
|
532
|
+
# response.
|
533
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
534
|
+
# will be added to the HTTP request.
|
535
|
+
#
|
536
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
537
|
+
#
|
538
|
+
def list_with_http_info(resource_group_name, account_name, application_name, maxresults:nil, custom_headers:nil)
|
539
|
+
list_async(resource_group_name, account_name, application_name, maxresults:maxresults, custom_headers:custom_headers).value!
|
540
|
+
end
|
541
|
+
|
542
|
+
#
|
543
|
+
# Lists all of the application packages in the specified application.
|
544
|
+
#
|
545
|
+
# @param resource_group_name [String] The name of the resource group that
|
546
|
+
# contains the Batch account.
|
547
|
+
# @param account_name [String] The name of the Batch account.
|
548
|
+
# @param application_name [String] The name of the application. This must be
|
549
|
+
# unique within the account.
|
550
|
+
# @param maxresults [Integer] The maximum number of items to return in the
|
551
|
+
# response.
|
552
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
553
|
+
# to the HTTP request.
|
554
|
+
#
|
555
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
556
|
+
#
|
557
|
+
def list_async(resource_group_name, account_name, application_name, maxresults:nil, custom_headers:nil)
|
558
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
559
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
560
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
561
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
562
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !account_name.nil? && account_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
|
563
|
+
fail ArgumentError, 'application_name is nil' if application_name.nil?
|
564
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'MaxLength': '64'" if !application_name.nil? && application_name.length > 64
|
565
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'MinLength': '1'" if !application_name.nil? && application_name.length < 1
|
566
|
+
fail ArgumentError, "'application_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9_-]+$'" if !application_name.nil? && application_name.match(Regexp.new('^^[a-zA-Z0-9_-]+$$')).nil?
|
567
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
568
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
569
|
+
|
570
|
+
|
571
|
+
request_headers = {}
|
572
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
573
|
+
|
574
|
+
# Set Headers
|
575
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
576
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
577
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions'
|
578
|
+
|
579
|
+
request_url = @base_url || @client.base_url
|
580
|
+
|
581
|
+
options = {
|
582
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
583
|
+
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'applicationName' => application_name,'subscriptionId' => @client.subscription_id},
|
584
|
+
query_params: {'maxresults' => maxresults,'api-version' => @client.api_version},
|
585
|
+
headers: request_headers.merge(custom_headers || {}),
|
586
|
+
base_url: request_url
|
587
|
+
}
|
588
|
+
promise = @client.make_request_async(:get, path_template, options)
|
589
|
+
|
590
|
+
promise = promise.then do |result|
|
591
|
+
http_response = result.response
|
592
|
+
status_code = http_response.status
|
593
|
+
response_content = http_response.body
|
594
|
+
unless status_code == 200
|
595
|
+
error_model = JSON.load(response_content)
|
596
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
597
|
+
end
|
598
|
+
|
599
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
600
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
601
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
602
|
+
# Deserialize Response
|
603
|
+
if status_code == 200
|
604
|
+
begin
|
605
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
606
|
+
result_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ListApplicationPackagesResult.mapper()
|
607
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
608
|
+
rescue Exception => e
|
609
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
result
|
614
|
+
end
|
615
|
+
|
616
|
+
promise.execute
|
617
|
+
end
|
618
|
+
|
619
|
+
#
|
620
|
+
# Lists all of the application packages in the specified application.
|
621
|
+
#
|
622
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
623
|
+
# to List operation.
|
624
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
625
|
+
# will be added to the HTTP request.
|
626
|
+
#
|
627
|
+
# @return [ListApplicationPackagesResult] operation results.
|
628
|
+
#
|
629
|
+
def list_next(next_page_link, custom_headers:nil)
|
630
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
631
|
+
response.body unless response.nil?
|
632
|
+
end
|
633
|
+
|
634
|
+
#
|
635
|
+
# Lists all of the application packages in the specified application.
|
636
|
+
#
|
637
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
638
|
+
# to List operation.
|
639
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
640
|
+
# will be added to the HTTP request.
|
641
|
+
#
|
642
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
643
|
+
#
|
644
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
645
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
646
|
+
end
|
647
|
+
|
648
|
+
#
|
649
|
+
# Lists all of the application packages in the specified application.
|
650
|
+
#
|
651
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
652
|
+
# to List operation.
|
653
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
654
|
+
# to the HTTP request.
|
655
|
+
#
|
656
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
657
|
+
#
|
658
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
659
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
660
|
+
|
661
|
+
|
662
|
+
request_headers = {}
|
663
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
664
|
+
|
665
|
+
# Set Headers
|
666
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
667
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
668
|
+
path_template = '{nextLink}'
|
669
|
+
|
670
|
+
request_url = @base_url || @client.base_url
|
671
|
+
|
672
|
+
options = {
|
673
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
674
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
675
|
+
headers: request_headers.merge(custom_headers || {}),
|
676
|
+
base_url: request_url
|
677
|
+
}
|
678
|
+
promise = @client.make_request_async(:get, path_template, options)
|
679
|
+
|
680
|
+
promise = promise.then do |result|
|
681
|
+
http_response = result.response
|
682
|
+
status_code = http_response.status
|
683
|
+
response_content = http_response.body
|
684
|
+
unless status_code == 200
|
685
|
+
error_model = JSON.load(response_content)
|
686
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
687
|
+
end
|
688
|
+
|
689
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
690
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
691
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
692
|
+
# Deserialize Response
|
693
|
+
if status_code == 200
|
694
|
+
begin
|
695
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
696
|
+
result_mapper = Azure::Batch::Mgmt::V2018_12_01::Models::ListApplicationPackagesResult.mapper()
|
697
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
698
|
+
rescue Exception => e
|
699
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
700
|
+
end
|
701
|
+
end
|
702
|
+
|
703
|
+
result
|
704
|
+
end
|
705
|
+
|
706
|
+
promise.execute
|
707
|
+
end
|
708
|
+
|
709
|
+
#
|
710
|
+
# Lists all of the application packages in the specified application.
|
711
|
+
#
|
712
|
+
# @param resource_group_name [String] The name of the resource group that
|
713
|
+
# contains the Batch account.
|
714
|
+
# @param account_name [String] The name of the Batch account.
|
715
|
+
# @param application_name [String] The name of the application. This must be
|
716
|
+
# unique within the account.
|
717
|
+
# @param maxresults [Integer] The maximum number of items to return in the
|
718
|
+
# response.
|
719
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
720
|
+
# will be added to the HTTP request.
|
721
|
+
#
|
722
|
+
# @return [ListApplicationPackagesResult] which provide lazy access to pages of
|
723
|
+
# the response.
|
724
|
+
#
|
725
|
+
def list_as_lazy(resource_group_name, account_name, application_name, maxresults:nil, custom_headers:nil)
|
726
|
+
response = list_async(resource_group_name, account_name, application_name, maxresults:maxresults, custom_headers:custom_headers).value!
|
727
|
+
unless response.nil?
|
728
|
+
page = response.body
|
729
|
+
page.next_method = Proc.new do |next_page_link|
|
730
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
731
|
+
end
|
732
|
+
page
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
end
|
737
|
+
end
|