azure_mgmt_batch 0.15.2 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-12-01/generated/azure_mgmt_batch/application_operations.rb +39 -37
- data/lib/2015-12-01/generated/azure_mgmt_batch/application_package_operations.rb +24 -22
- data/lib/2015-12-01/generated/azure_mgmt_batch/batch_account_operations.rb +80 -75
- data/lib/2015-12-01/generated/azure_mgmt_batch/batch_management_client.rb +4 -1
- data/lib/2015-12-01/generated/azure_mgmt_batch/location.rb +6 -5
- data/lib/2017-01-01/generated/azure_mgmt_batch.rb +52 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/application_operations.rb +657 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/application_package_operations.rb +445 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/batch_account_operations.rb +1281 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/batch_management_client.rb +143 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/location.rb +116 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +47 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/add_application_parameters.rb +58 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/application.rb +103 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/application_package.rb +125 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +47 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +60 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb +196 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +110 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +59 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +48 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +68 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +48 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +59 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/list_applications_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/package_state.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +16 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/resource.rb +103 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/models/update_application_parameters.rb +70 -0
- data/lib/2017-01-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
- data/lib/2017-05-01/generated/azure_mgmt_batch/application_operations.rb +39 -37
- data/lib/2017-05-01/generated/azure_mgmt_batch/application_package_operations.rb +24 -22
- data/lib/2017-05-01/generated/azure_mgmt_batch/batch_account_operations.rb +80 -75
- data/lib/2017-05-01/generated/azure_mgmt_batch/batch_management_client.rb +4 -1
- data/lib/2017-05-01/generated/azure_mgmt_batch/location.rb +12 -12
- data/lib/2017-05-01/generated/azure_mgmt_batch/operations.rb +15 -13
- data/lib/2017-09-01/generated/azure_mgmt_batch.rb +113 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/application_operations.rb +655 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/application_package_operations.rb +441 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/batch_account_operations.rb +1273 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/batch_management_client.rb +155 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/certificate_operations.rb +1009 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/location.rb +221 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +46 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/allocation_state.rb +17 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/application.rb +103 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_create_parameters.rb +58 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_package.rb +125 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_package_reference.rb +64 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/application_update_parameters.rb +70 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_run.rb +74 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_run_error.rb +80 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_scale_settings.rb +61 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +47 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +56 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_scope.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_specification.rb +69 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account.rb +208 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +110 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +71 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +99 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +48 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +68 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +48 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/caching_type.rb +17 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate.rb +205 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb +75 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_create_or_update_parameters.rb +135 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_format.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_provisioning_state.rb +17 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_reference.rb +120 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_store_location.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_visibility.rb +17 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_parameters.rb +61 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/check_name_availability_result.rb +78 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/cloud_service_configuration.rb +83 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/compute_node_deallocation_option.rb +18 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/compute_node_fill_type.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/data_disk.rb +101 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb +92 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/deployment_configuration.rb +66 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/elevation_level.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/environment_setting.rb +58 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/fixed_scale_settings.rb +93 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/image_reference.rb +108 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/inbound_endpoint_protocol.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/inbound_nat_pool.rb +141 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/inter_node_communication_state.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/key_vault_reference.rb +59 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb +81 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_applications_result.rb +98 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_certificates_result.rb +98 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/list_pools_result.rb +98 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/metadata_item.rb +60 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/name_availability_reason.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_configuration.rb +86 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_security_group_rule.rb +82 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/network_security_group_rule_access.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation.rb +82 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation_display.rb +81 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/operation_list_result.rb +98 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/osdisk.rb +52 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/package_state.rb +17 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool.rb +474 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_endpoint_configuration.rb +60 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/pool_provisioning_state.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/proxy_resource.rb +84 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/resize_error.rb +80 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/resize_operation_status.rb +127 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/resource.rb +103 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/resource_file.rb +79 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/scale_settings.rb +69 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/start_task.rb +151 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/storage_account_type.rb +16 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/task_scheduling_policy.rb +49 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/user_account.rb +89 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/user_identity.rb +64 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/virtual_machine_configuration.rb +138 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/models/windows_configuration.rb +48 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/operations.rb +215 -0
- data/lib/2017-09-01/generated/azure_mgmt_batch/pool_operations.rb +1132 -0
- data/lib/azure_mgmt_batch.rb +2 -0
- data/lib/profiles/latest/batch_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/batch_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/batch_profile_module.rb +357 -126
- data/lib/version.rb +1 -1
- metadata +119 -2
data/lib/azure_mgmt_batch.rb
CHANGED
@@ -3,5 +3,7 @@
|
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
5
|
require '2015-12-01/generated/azure_mgmt_batch'
|
6
|
+
require '2017-01-01/generated/azure_mgmt_batch'
|
6
7
|
require '2017-05-01/generated/azure_mgmt_batch'
|
8
|
+
require '2017-09-01/generated/azure_mgmt_batch'
|
7
9
|
require 'profiles/latest/batch_latest_profile_client'
|
@@ -5,17 +5,36 @@
|
|
5
5
|
require 'profiles/latest/batch_module_definition'
|
6
6
|
require 'profiles/latest/modules/batch_profile_module'
|
7
7
|
|
8
|
-
module Azure::Batch::Profiles::Latest
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
module Azure::Batch::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < BatchManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
14
15
|
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
15
37
|
|
16
|
-
def initialize(options = {})
|
17
|
-
super(options)
|
18
38
|
end
|
19
|
-
|
20
39
|
end
|
21
40
|
end
|
@@ -4,48 +4,103 @@
|
|
4
4
|
|
5
5
|
require 'azure_mgmt_batch'
|
6
6
|
|
7
|
-
module Azure::Batch::Profiles::Latest
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
7
|
+
module Azure::Batch::Profiles::Latest
|
8
|
+
module Mgmt
|
9
|
+
BatchAccountOperations = Azure::Batch::Mgmt::V2017_09_01::BatchAccountOperations
|
10
|
+
ApplicationPackageOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationPackageOperations
|
11
|
+
ApplicationOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationOperations
|
12
|
+
Location = Azure::Batch::Mgmt::V2017_09_01::Location
|
13
|
+
Operations = Azure::Batch::Mgmt::V2017_09_01::Operations
|
14
|
+
CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations
|
15
|
+
PoolOperations = Azure::Batch::Mgmt::V2017_09_01::PoolOperations
|
13
16
|
|
14
17
|
module Models
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
BatchAccountUpdateParameters = Azure::Batch::Mgmt::
|
22
|
-
|
23
|
-
BatchAccountRegenerateKeyParameters = Azure::Batch::Mgmt::
|
24
|
-
|
25
|
-
ActivateApplicationPackageParameters = Azure::Batch::Mgmt::
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
18
|
+
FixedScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings
|
19
|
+
AutoStorageBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties
|
20
|
+
AutoScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings
|
21
|
+
BatchAccountCreateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountCreateParameters
|
22
|
+
ScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings
|
23
|
+
KeyVaultReference = Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference
|
24
|
+
BatchAccountUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters
|
25
|
+
OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay
|
26
|
+
BatchAccountRegenerateKeyParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters
|
27
|
+
OperationListResult = Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult
|
28
|
+
ActivateApplicationPackageParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters
|
29
|
+
AutoScaleRunError = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError
|
30
|
+
ApplicationPackage = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage
|
31
|
+
AutoScaleRun = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun
|
32
|
+
ListApplicationsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult
|
33
|
+
NetworkSecurityGroupRule = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule
|
34
|
+
BatchLocationQuota = Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota
|
35
|
+
InboundNatPool = Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool
|
36
|
+
ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource
|
37
|
+
PoolEndpointConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration
|
38
|
+
DeleteCertificateError = Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError
|
39
|
+
NetworkConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration
|
40
|
+
CheckNameAvailabilityParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters
|
41
|
+
TaskSchedulingPolicy = Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy
|
42
|
+
CloudServiceConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration
|
43
|
+
LinuxUserConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration
|
44
|
+
OSDisk = Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk
|
45
|
+
UserAccount = Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount
|
46
|
+
DataDisk = Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk
|
47
|
+
MetadataItem = Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem
|
48
|
+
DeploymentConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration
|
49
|
+
ResourceFile = Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile
|
50
|
+
BatchAccountKeys = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountKeys
|
51
|
+
EnvironmentSetting = Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting
|
52
|
+
Application = Azure::Batch::Mgmt::V2017_09_01::Models::Application
|
53
|
+
AutoUserSpecification = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification
|
54
|
+
Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource
|
55
|
+
UserIdentity = Azure::Batch::Mgmt::V2017_09_01::Models::UserIdentity
|
56
|
+
CheckNameAvailabilityResult = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult
|
57
|
+
StartTask = Azure::Batch::Mgmt::V2017_09_01::Models::StartTask
|
58
|
+
ImageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference
|
59
|
+
CertificateReference = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference
|
60
|
+
VirtualMachineConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::VirtualMachineConfiguration
|
61
|
+
ApplicationPackageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference
|
62
|
+
ApplicationCreateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters
|
63
|
+
ResizeError = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError
|
64
|
+
CertificateBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties
|
65
|
+
ResizeOperationStatus = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus
|
66
|
+
WindowsConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration
|
67
|
+
Operation = Azure::Batch::Mgmt::V2017_09_01::Models::Operation
|
68
|
+
ApplicationUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters
|
69
|
+
ListPoolsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult
|
70
|
+
BatchAccountListResult = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult
|
71
|
+
ListCertificatesResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult
|
72
|
+
AutoStorageProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties
|
73
|
+
BatchAccount = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount
|
74
|
+
Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate
|
75
|
+
CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters
|
76
|
+
Pool = Azure::Batch::Mgmt::V2017_09_01::Models::Pool
|
77
|
+
PoolAllocationMode = Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode
|
78
|
+
ProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState
|
79
|
+
AccountKeyType = Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType
|
80
|
+
PackageState = Azure::Batch::Mgmt::V2017_09_01::Models::PackageState
|
81
|
+
CertificateFormat = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat
|
82
|
+
CertificateProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState
|
83
|
+
PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState
|
84
|
+
AllocationState = Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState
|
85
|
+
CachingType = Azure::Batch::Mgmt::V2017_09_01::Models::CachingType
|
86
|
+
StorageAccountType = Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType
|
87
|
+
ComputeNodeDeallocationOption = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption
|
88
|
+
InterNodeCommunicationState = Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState
|
89
|
+
InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol
|
90
|
+
NetworkSecurityGroupRuleAccess = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRuleAccess
|
91
|
+
ComputeNodeFillType = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType
|
92
|
+
ElevationLevel = Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel
|
93
|
+
AutoUserScope = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope
|
94
|
+
CertificateStoreLocation = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation
|
95
|
+
CertificateVisibility = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility
|
96
|
+
NameAvailabilityReason = Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason
|
42
97
|
end
|
43
98
|
|
44
99
|
#
|
45
|
-
#
|
100
|
+
# BatchManagementClass
|
46
101
|
#
|
47
|
-
class
|
48
|
-
attr_reader :batch_account_operations, :application_package_operations, :application_operations, :location, :operations, :configurable, :base_url, :options, :model_classes
|
102
|
+
class BatchManagementClass
|
103
|
+
attr_reader :batch_account_operations, :application_package_operations, :application_operations, :location, :operations, :certificate_operations, :pool_operations, :configurable, :base_url, :options, :model_classes
|
49
104
|
|
50
105
|
def initialize(options = {})
|
51
106
|
if options.is_a?(Hash) && options.length == 0
|
@@ -56,103 +111,279 @@ module Azure::Batch::Profiles::Latest::Mgmt
|
|
56
111
|
|
57
112
|
reset!(options)
|
58
113
|
|
59
|
-
@configurable
|
114
|
+
@configurable = self
|
115
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
116
|
+
@options = options[:options].nil? ? nil:options[:options]
|
60
117
|
|
61
|
-
client_0 = Azure::Batch::Mgmt::
|
62
|
-
if(client_0.respond_to?(:subscription_id))
|
63
|
-
client_0.subscription_id = configurable.subscription_id
|
118
|
+
@client_0 = Azure::Batch::Mgmt::V2017_09_01::BatchManagementClient.new(configurable.credentials, base_url, options)
|
119
|
+
if(@client_0.respond_to?(:subscription_id))
|
120
|
+
@client_0.subscription_id = configurable.subscription_id
|
64
121
|
end
|
65
|
-
@
|
66
|
-
@
|
67
|
-
@
|
68
|
-
@
|
69
|
-
@
|
122
|
+
add_telemetry(@client_0)
|
123
|
+
@batch_account_operations = @client_0.batch_account_operations
|
124
|
+
@application_package_operations = @client_0.application_package_operations
|
125
|
+
@application_operations = @client_0.application_operations
|
126
|
+
@location = @client_0.location
|
127
|
+
@operations = @client_0.operations
|
128
|
+
@certificate_operations = @client_0.certificate_operations
|
129
|
+
@pool_operations = @client_0.pool_operations
|
70
130
|
|
71
131
|
@model_classes = ModelClasses.new
|
72
132
|
end
|
73
133
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
def list_applications_result
|
85
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::ListApplicationsResult
|
86
|
-
end
|
87
|
-
def batch_account_create_parameters
|
88
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountCreateParameters
|
89
|
-
end
|
90
|
-
def check_name_availability_parameters
|
91
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::CheckNameAvailabilityParameters
|
92
|
-
end
|
93
|
-
def batch_account_update_parameters
|
94
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountUpdateParameters
|
95
|
-
end
|
96
|
-
def application_update_parameters
|
97
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::ApplicationUpdateParameters
|
98
|
-
end
|
99
|
-
def batch_account_regenerate_key_parameters
|
100
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountRegenerateKeyParameters
|
101
|
-
end
|
102
|
-
def batch_location_quota
|
103
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::BatchLocationQuota
|
104
|
-
end
|
105
|
-
def activate_application_package_parameters
|
106
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::ActivateApplicationPackageParameters
|
107
|
-
end
|
108
|
-
def resource
|
109
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::Resource
|
110
|
-
end
|
111
|
-
def auto_storage_base_properties
|
112
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::AutoStorageBaseProperties
|
113
|
-
end
|
114
|
-
def batch_account_list_result
|
115
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountListResult
|
116
|
-
end
|
117
|
-
def application_create_parameters
|
118
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::ApplicationCreateParameters
|
119
|
-
end
|
120
|
-
def operation_display
|
121
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::OperationDisplay
|
122
|
-
end
|
123
|
-
def batch_account_keys
|
124
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountKeys
|
125
|
-
end
|
126
|
-
def operation
|
127
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::Operation
|
128
|
-
end
|
129
|
-
def check_name_availability_result
|
130
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::CheckNameAvailabilityResult
|
131
|
-
end
|
132
|
-
def operation_list_result
|
133
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::OperationListResult
|
134
|
-
end
|
135
|
-
def auto_storage_properties
|
136
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::AutoStorageProperties
|
137
|
-
end
|
138
|
-
def batch_account
|
139
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccount
|
140
|
-
end
|
141
|
-
def pool_allocation_mode
|
142
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::PoolAllocationMode
|
143
|
-
end
|
144
|
-
def provisioning_state
|
145
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::ProvisioningState
|
146
|
-
end
|
147
|
-
def account_key_type
|
148
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::AccountKeyType
|
149
|
-
end
|
150
|
-
def package_state
|
151
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::PackageState
|
152
|
-
end
|
153
|
-
def name_availability_reason
|
154
|
-
Azure::Batch::Mgmt::V2017_05_01::Models::NameAvailabilityReason
|
134
|
+
def add_telemetry(client)
|
135
|
+
profile_information = 'Profiles/Latest/Batch/Mgmt'
|
136
|
+
client.add_user_agent_information(profile_information)
|
137
|
+
end
|
138
|
+
|
139
|
+
def method_missing(method, *args)
|
140
|
+
if @client_0.respond_to?method
|
141
|
+
@client_0.send(method, *args)
|
142
|
+
else
|
143
|
+
super
|
155
144
|
end
|
156
145
|
end
|
146
|
+
|
147
|
+
end
|
148
|
+
|
149
|
+
class ModelClasses
|
150
|
+
def fixed_scale_settings
|
151
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings
|
152
|
+
end
|
153
|
+
def auto_storage_base_properties
|
154
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties
|
155
|
+
end
|
156
|
+
def auto_scale_settings
|
157
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings
|
158
|
+
end
|
159
|
+
def batch_account_create_parameters
|
160
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountCreateParameters
|
161
|
+
end
|
162
|
+
def scale_settings
|
163
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings
|
164
|
+
end
|
165
|
+
def key_vault_reference
|
166
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference
|
167
|
+
end
|
168
|
+
def batch_account_update_parameters
|
169
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters
|
170
|
+
end
|
171
|
+
def operation_display
|
172
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay
|
173
|
+
end
|
174
|
+
def batch_account_regenerate_key_parameters
|
175
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters
|
176
|
+
end
|
177
|
+
def operation_list_result
|
178
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult
|
179
|
+
end
|
180
|
+
def activate_application_package_parameters
|
181
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters
|
182
|
+
end
|
183
|
+
def auto_scale_run_error
|
184
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError
|
185
|
+
end
|
186
|
+
def application_package
|
187
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage
|
188
|
+
end
|
189
|
+
def auto_scale_run
|
190
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun
|
191
|
+
end
|
192
|
+
def list_applications_result
|
193
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult
|
194
|
+
end
|
195
|
+
def network_security_group_rule
|
196
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule
|
197
|
+
end
|
198
|
+
def batch_location_quota
|
199
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota
|
200
|
+
end
|
201
|
+
def inbound_nat_pool
|
202
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool
|
203
|
+
end
|
204
|
+
def proxy_resource
|
205
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource
|
206
|
+
end
|
207
|
+
def pool_endpoint_configuration
|
208
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration
|
209
|
+
end
|
210
|
+
def delete_certificate_error
|
211
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError
|
212
|
+
end
|
213
|
+
def network_configuration
|
214
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration
|
215
|
+
end
|
216
|
+
def check_name_availability_parameters
|
217
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters
|
218
|
+
end
|
219
|
+
def task_scheduling_policy
|
220
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy
|
221
|
+
end
|
222
|
+
def cloud_service_configuration
|
223
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration
|
224
|
+
end
|
225
|
+
def linux_user_configuration
|
226
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration
|
227
|
+
end
|
228
|
+
def osdisk
|
229
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk
|
230
|
+
end
|
231
|
+
def user_account
|
232
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount
|
233
|
+
end
|
234
|
+
def data_disk
|
235
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk
|
236
|
+
end
|
237
|
+
def metadata_item
|
238
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem
|
239
|
+
end
|
240
|
+
def deployment_configuration
|
241
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration
|
242
|
+
end
|
243
|
+
def resource_file
|
244
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile
|
245
|
+
end
|
246
|
+
def batch_account_keys
|
247
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountKeys
|
248
|
+
end
|
249
|
+
def environment_setting
|
250
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting
|
251
|
+
end
|
252
|
+
def application
|
253
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::Application
|
254
|
+
end
|
255
|
+
def auto_user_specification
|
256
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification
|
257
|
+
end
|
258
|
+
def resource
|
259
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::Resource
|
260
|
+
end
|
261
|
+
def user_identity
|
262
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::UserIdentity
|
263
|
+
end
|
264
|
+
def check_name_availability_result
|
265
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult
|
266
|
+
end
|
267
|
+
def start_task
|
268
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::StartTask
|
269
|
+
end
|
270
|
+
def image_reference
|
271
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference
|
272
|
+
end
|
273
|
+
def certificate_reference
|
274
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference
|
275
|
+
end
|
276
|
+
def virtual_machine_configuration
|
277
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::VirtualMachineConfiguration
|
278
|
+
end
|
279
|
+
def application_package_reference
|
280
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference
|
281
|
+
end
|
282
|
+
def application_create_parameters
|
283
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters
|
284
|
+
end
|
285
|
+
def resize_error
|
286
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError
|
287
|
+
end
|
288
|
+
def certificate_base_properties
|
289
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties
|
290
|
+
end
|
291
|
+
def resize_operation_status
|
292
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus
|
293
|
+
end
|
294
|
+
def windows_configuration
|
295
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration
|
296
|
+
end
|
297
|
+
def operation
|
298
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::Operation
|
299
|
+
end
|
300
|
+
def application_update_parameters
|
301
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters
|
302
|
+
end
|
303
|
+
def list_pools_result
|
304
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult
|
305
|
+
end
|
306
|
+
def batch_account_list_result
|
307
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult
|
308
|
+
end
|
309
|
+
def list_certificates_result
|
310
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult
|
311
|
+
end
|
312
|
+
def auto_storage_properties
|
313
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties
|
314
|
+
end
|
315
|
+
def batch_account
|
316
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount
|
317
|
+
end
|
318
|
+
def certificate
|
319
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::Certificate
|
320
|
+
end
|
321
|
+
def certificate_create_or_update_parameters
|
322
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters
|
323
|
+
end
|
324
|
+
def pool
|
325
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::Pool
|
326
|
+
end
|
327
|
+
def pool_allocation_mode
|
328
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode
|
329
|
+
end
|
330
|
+
def provisioning_state
|
331
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState
|
332
|
+
end
|
333
|
+
def account_key_type
|
334
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType
|
335
|
+
end
|
336
|
+
def package_state
|
337
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::PackageState
|
338
|
+
end
|
339
|
+
def certificate_format
|
340
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat
|
341
|
+
end
|
342
|
+
def certificate_provisioning_state
|
343
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState
|
344
|
+
end
|
345
|
+
def pool_provisioning_state
|
346
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState
|
347
|
+
end
|
348
|
+
def allocation_state
|
349
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState
|
350
|
+
end
|
351
|
+
def caching_type
|
352
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::CachingType
|
353
|
+
end
|
354
|
+
def storage_account_type
|
355
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType
|
356
|
+
end
|
357
|
+
def compute_node_deallocation_option
|
358
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption
|
359
|
+
end
|
360
|
+
def inter_node_communication_state
|
361
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState
|
362
|
+
end
|
363
|
+
def inbound_endpoint_protocol
|
364
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol
|
365
|
+
end
|
366
|
+
def network_security_group_rule_access
|
367
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRuleAccess
|
368
|
+
end
|
369
|
+
def compute_node_fill_type
|
370
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType
|
371
|
+
end
|
372
|
+
def elevation_level
|
373
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel
|
374
|
+
end
|
375
|
+
def auto_user_scope
|
376
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope
|
377
|
+
end
|
378
|
+
def certificate_store_location
|
379
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation
|
380
|
+
end
|
381
|
+
def certificate_visibility
|
382
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility
|
383
|
+
end
|
384
|
+
def name_availability_reason
|
385
|
+
Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason
|
386
|
+
end
|
157
387
|
end
|
388
|
+
end
|
158
389
|
end
|