azure_mgmt_batch 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_batch.rb +11 -11
- data/lib/generated/azure_mgmt_batch/application_operations.rb +7 -7
- data/lib/generated/azure_mgmt_batch/application_package_operations.rb +5 -5
- data/lib/generated/azure_mgmt_batch/batch_account_operations.rb +30 -12
- data/lib/generated/azure_mgmt_batch/batch_management_client.rb +2 -2
- data/lib/generated/azure_mgmt_batch/location.rb +2 -2
- data/lib/generated/azure_mgmt_batch/models/account_key_type.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/add_application_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/application.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/application_package.rb +8 -1
- data/lib/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/auto_storage_properties.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/batch_account.rb +39 -5
- data/lib/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +30 -1
- data/lib/generated/azure_mgmt_batch/models/batch_account_keys.rb +3 -1
- data/lib/generated/azure_mgmt_batch/models/batch_account_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +30 -1
- data/lib/generated/azure_mgmt_batch/models/batch_location_quota.rb +2 -1
- data/lib/generated/azure_mgmt_batch/models/key_vault_reference.rb +56 -0
- data/lib/generated/azure_mgmt_batch/models/list_applications_result.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/package_state.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/pool_allocation_mode.rb +16 -0
- data/lib/generated/azure_mgmt_batch/models/provisioning_state.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/update_application_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_batch/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_batch/version.rb +2 -2
- metadata +4 -4
- data/lib/generated/azure_mgmt_batch/models/error_body.rb +0 -86
- data/lib/generated/azure_mgmt_batch/models/error_detail.rb +0 -67
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9d9758b28067479788e4e8ca13f03d01a340c9c
|
4
|
+
data.tar.gz: ba50c41edf252aa31604622ba4846b13cf680565
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e616ac3d0507c6c6befff9b46adc99251f6af3e00b2153b47c90c0ab3b0dab8c8d0d28e4ddb30fca1f96952d2bccf59ecf9d9a42b045c5343aea0b1b1c1eb9fb
|
7
|
+
data.tar.gz: a6cd1cc803c39741bbd2cd1f3da442a6b6ebc1d4d5895c6931a115ab2aee882871caba9c0ca644683a950b887a0032c8384c22cdcf2ef93b0ad44ff77e7de183
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -27,23 +27,23 @@ module Azure::ARM::Batch
|
|
27
27
|
autoload :BatchManagementClient, 'generated/azure_mgmt_batch/batch_management_client.rb'
|
28
28
|
|
29
29
|
module Models
|
30
|
+
autoload :BatchAccountKeys, 'generated/azure_mgmt_batch/models/batch_account_keys.rb'
|
31
|
+
autoload :ActivateApplicationPackageParameters, 'generated/azure_mgmt_batch/models/activate_application_package_parameters.rb'
|
32
|
+
autoload :KeyVaultReference, 'generated/azure_mgmt_batch/models/key_vault_reference.rb'
|
30
33
|
autoload :AddApplicationParameters, 'generated/azure_mgmt_batch/models/add_application_parameters.rb'
|
31
|
-
autoload :AutoStorageBaseProperties, 'generated/azure_mgmt_batch/models/auto_storage_base_properties.rb'
|
32
|
-
autoload :ApplicationPackage, 'generated/azure_mgmt_batch/models/application_package.rb'
|
33
34
|
autoload :AutoStorageProperties, 'generated/azure_mgmt_batch/models/auto_storage_properties.rb'
|
34
|
-
autoload :
|
35
|
+
autoload :ApplicationPackage, 'generated/azure_mgmt_batch/models/application_package.rb'
|
35
36
|
autoload :BatchAccountUpdateParameters, 'generated/azure_mgmt_batch/models/batch_account_update_parameters.rb'
|
36
|
-
autoload :
|
37
|
+
autoload :Application, 'generated/azure_mgmt_batch/models/application.rb'
|
37
38
|
autoload :BatchAccountRegenerateKeyParameters, 'generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb'
|
39
|
+
autoload :ListApplicationsResult, 'generated/azure_mgmt_batch/models/list_applications_result.rb'
|
40
|
+
autoload :BatchAccountCreateParameters, 'generated/azure_mgmt_batch/models/batch_account_create_parameters.rb'
|
38
41
|
autoload :UpdateApplicationParameters, 'generated/azure_mgmt_batch/models/update_application_parameters.rb'
|
39
|
-
autoload :ActivateApplicationPackageParameters, 'generated/azure_mgmt_batch/models/activate_application_package_parameters.rb'
|
40
|
-
autoload :BatchLocationQuota, 'generated/azure_mgmt_batch/models/batch_location_quota.rb'
|
41
42
|
autoload :BatchAccountListResult, 'generated/azure_mgmt_batch/models/batch_account_list_result.rb'
|
42
|
-
autoload :
|
43
|
-
autoload :
|
44
|
-
autoload :BatchAccountKeys, 'generated/azure_mgmt_batch/models/batch_account_keys.rb'
|
45
|
-
autoload :ErrorBody, 'generated/azure_mgmt_batch/models/error_body.rb'
|
43
|
+
autoload :BatchLocationQuota, 'generated/azure_mgmt_batch/models/batch_location_quota.rb'
|
44
|
+
autoload :AutoStorageBaseProperties, 'generated/azure_mgmt_batch/models/auto_storage_base_properties.rb'
|
46
45
|
autoload :BatchAccount, 'generated/azure_mgmt_batch/models/batch_account.rb'
|
46
|
+
autoload :PoolAllocationMode, 'generated/azure_mgmt_batch/models/pool_allocation_mode.rb'
|
47
47
|
autoload :ProvisioningState, 'generated/azure_mgmt_batch/models/provisioning_state.rb'
|
48
48
|
autoload :AccountKeyType, 'generated/azure_mgmt_batch/models/account_key_type.rb'
|
49
49
|
autoload :PackageState, 'generated/azure_mgmt_batch/models/package_state.rb'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -111,7 +111,7 @@ module Azure::ARM::Batch
|
|
111
111
|
response_content = http_response.body
|
112
112
|
unless status_code == 201
|
113
113
|
error_model = JSON.load(response_content)
|
114
|
-
fail
|
114
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
115
115
|
end
|
116
116
|
|
117
117
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -208,7 +208,7 @@ module Azure::ARM::Batch
|
|
208
208
|
response_content = http_response.body
|
209
209
|
unless status_code == 204
|
210
210
|
error_model = JSON.load(response_content)
|
211
|
-
fail
|
211
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
212
212
|
end
|
213
213
|
|
214
214
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -296,7 +296,7 @@ module Azure::ARM::Batch
|
|
296
296
|
response_content = http_response.body
|
297
297
|
unless status_code == 200
|
298
298
|
error_model = JSON.load(response_content)
|
299
|
-
fail
|
299
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
300
300
|
end
|
301
301
|
|
302
302
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -409,7 +409,7 @@ module Azure::ARM::Batch
|
|
409
409
|
response_content = http_response.body
|
410
410
|
unless status_code == 204
|
411
411
|
error_model = JSON.load(response_content)
|
412
|
-
fail
|
412
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
413
413
|
end
|
414
414
|
|
415
415
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -499,7 +499,7 @@ module Azure::ARM::Batch
|
|
499
499
|
response_content = http_response.body
|
500
500
|
unless status_code == 200
|
501
501
|
error_model = JSON.load(response_content)
|
502
|
-
fail
|
502
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
503
503
|
end
|
504
504
|
|
505
505
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -586,7 +586,7 @@ module Azure::ARM::Batch
|
|
586
586
|
response_content = http_response.body
|
587
587
|
unless status_code == 200
|
588
588
|
error_model = JSON.load(response_content)
|
589
|
-
fail
|
589
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
590
590
|
end
|
591
591
|
|
592
592
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -118,7 +118,7 @@ module Azure::ARM::Batch
|
|
118
118
|
response_content = http_response.body
|
119
119
|
unless status_code == 204
|
120
120
|
error_model = JSON.load(response_content)
|
121
|
-
fail
|
121
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
122
122
|
end
|
123
123
|
|
124
124
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -210,7 +210,7 @@ module Azure::ARM::Batch
|
|
210
210
|
response_content = http_response.body
|
211
211
|
unless status_code == 201
|
212
212
|
error_model = JSON.load(response_content)
|
213
|
-
fail
|
213
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
214
214
|
end
|
215
215
|
|
216
216
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -311,7 +311,7 @@ module Azure::ARM::Batch
|
|
311
311
|
response_content = http_response.body
|
312
312
|
unless status_code == 204
|
313
313
|
error_model = JSON.load(response_content)
|
314
|
-
fail
|
314
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
315
315
|
end
|
316
316
|
|
317
317
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -403,7 +403,7 @@ module Azure::ARM::Batch
|
|
403
403
|
response_content = http_response.body
|
404
404
|
unless status_code == 200
|
405
405
|
error_model = JSON.load(response_content)
|
406
|
-
fail
|
406
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
407
407
|
end
|
408
408
|
|
409
409
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -171,7 +171,7 @@ module Azure::ARM::Batch
|
|
171
171
|
response_content = http_response.body
|
172
172
|
unless status_code == 200
|
173
173
|
error_model = JSON.load(response_content)
|
174
|
-
fail
|
174
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
175
175
|
end
|
176
176
|
|
177
177
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -305,7 +305,7 @@ module Azure::ARM::Batch
|
|
305
305
|
response_content = http_response.body
|
306
306
|
unless status_code == 200
|
307
307
|
error_model = JSON.load(response_content)
|
308
|
-
fail
|
308
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
309
309
|
end
|
310
310
|
|
311
311
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -388,7 +388,7 @@ module Azure::ARM::Batch
|
|
388
388
|
response_content = http_response.body
|
389
389
|
unless status_code == 200
|
390
390
|
error_model = JSON.load(response_content)
|
391
|
-
fail
|
391
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
392
392
|
end
|
393
393
|
|
394
394
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -481,7 +481,7 @@ module Azure::ARM::Batch
|
|
481
481
|
response_content = http_response.body
|
482
482
|
unless status_code == 200
|
483
483
|
error_model = JSON.load(response_content)
|
484
|
-
fail
|
484
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
485
485
|
end
|
486
486
|
|
487
487
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -577,7 +577,7 @@ module Azure::ARM::Batch
|
|
577
577
|
response_content = http_response.body
|
578
578
|
unless status_code == 204
|
579
579
|
error_model = JSON.load(response_content)
|
580
|
-
fail
|
580
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
581
581
|
end
|
582
582
|
|
583
583
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -677,7 +677,7 @@ module Azure::ARM::Batch
|
|
677
677
|
response_content = http_response.body
|
678
678
|
unless status_code == 200
|
679
679
|
error_model = JSON.load(response_content)
|
680
|
-
fail
|
680
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
681
681
|
end
|
682
682
|
|
683
683
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -701,6 +701,12 @@ module Azure::ARM::Batch
|
|
701
701
|
#
|
702
702
|
# Gets the account keys for the specified Batch account.
|
703
703
|
#
|
704
|
+
# This operation applies only to Batch accounts created with a
|
705
|
+
# poolAllocationMode of 'BatchService'. If the Batch account was created with a
|
706
|
+
# poolAllocationMode of 'UserSubscription', clients cannot use access to keys
|
707
|
+
# to authenticate, and must use Azure Active Directory instead. In this case,
|
708
|
+
# getting the keys will fail.
|
709
|
+
#
|
704
710
|
# @param resource_group_name [String] The name of the resource group that
|
705
711
|
# contains the Batch account.
|
706
712
|
# @param account_name [String] The name of the account.
|
@@ -717,6 +723,12 @@ module Azure::ARM::Batch
|
|
717
723
|
#
|
718
724
|
# Gets the account keys for the specified Batch account.
|
719
725
|
#
|
726
|
+
# This operation applies only to Batch accounts created with a
|
727
|
+
# poolAllocationMode of 'BatchService'. If the Batch account was created with a
|
728
|
+
# poolAllocationMode of 'UserSubscription', clients cannot use access to keys
|
729
|
+
# to authenticate, and must use Azure Active Directory instead. In this case,
|
730
|
+
# getting the keys will fail.
|
731
|
+
#
|
720
732
|
# @param resource_group_name [String] The name of the resource group that
|
721
733
|
# contains the Batch account.
|
722
734
|
# @param account_name [String] The name of the account.
|
@@ -732,6 +744,12 @@ module Azure::ARM::Batch
|
|
732
744
|
#
|
733
745
|
# Gets the account keys for the specified Batch account.
|
734
746
|
#
|
747
|
+
# This operation applies only to Batch accounts created with a
|
748
|
+
# poolAllocationMode of 'BatchService'. If the Batch account was created with a
|
749
|
+
# poolAllocationMode of 'UserSubscription', clients cannot use access to keys
|
750
|
+
# to authenticate, and must use Azure Active Directory instead. In this case,
|
751
|
+
# getting the keys will fail.
|
752
|
+
#
|
735
753
|
# @param resource_group_name [String] The name of the resource group that
|
736
754
|
# contains the Batch account.
|
737
755
|
# @param account_name [String] The name of the account.
|
@@ -771,7 +789,7 @@ module Azure::ARM::Batch
|
|
771
789
|
response_content = http_response.body
|
772
790
|
unless status_code == 200
|
773
791
|
error_model = JSON.load(response_content)
|
774
|
-
fail
|
792
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
775
793
|
end
|
776
794
|
|
777
795
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -902,7 +920,7 @@ module Azure::ARM::Batch
|
|
902
920
|
response_content = http_response.body
|
903
921
|
unless status_code == 200 || status_code == 202
|
904
922
|
error_model = JSON.load(response_content)
|
905
|
-
fail
|
923
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
906
924
|
end
|
907
925
|
|
908
926
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -995,7 +1013,7 @@ module Azure::ARM::Batch
|
|
995
1013
|
response_content = http_response.body
|
996
1014
|
unless status_code == 200 || status_code == 202
|
997
1015
|
error_model = JSON.load(response_content)
|
998
|
-
fail
|
1016
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
999
1017
|
end
|
1000
1018
|
|
1001
1019
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -1072,7 +1090,7 @@ module Azure::ARM::Batch
|
|
1072
1090
|
response_content = http_response.body
|
1073
1091
|
unless status_code == 200
|
1074
1092
|
error_model = JSON.load(response_content)
|
1075
|
-
fail
|
1093
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1076
1094
|
end
|
1077
1095
|
|
1078
1096
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -1162,7 +1180,7 @@ module Azure::ARM::Batch
|
|
1162
1180
|
response_content = http_response.body
|
1163
1181
|
unless status_code == 200
|
1164
1182
|
error_model = JSON.load(response_content)
|
1165
|
-
fail
|
1183
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1166
1184
|
end
|
1167
1185
|
|
1168
1186
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -64,7 +64,7 @@ module Azure::ARM::Batch
|
|
64
64
|
@application_package_operations = ApplicationPackageOperations.new(self)
|
65
65
|
@application_operations = ApplicationOperations.new(self)
|
66
66
|
@location = Location.new(self)
|
67
|
-
@api_version = '
|
67
|
+
@api_version = '2017-01-01'
|
68
68
|
@accept_language = 'en-US'
|
69
69
|
@long_running_operation_retry_timeout = 30
|
70
70
|
@generate_client_request_id = true
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -91,7 +91,7 @@ module Azure::ARM::Batch
|
|
91
91
|
response_content = http_response.body
|
92
92
|
unless status_code == 200
|
93
93
|
error_model = JSON.load(response_content)
|
94
|
-
fail
|
94
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
95
95
|
end
|
96
96
|
|
97
97
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -53,6 +53,7 @@ module Azure::ARM::Batch
|
|
53
53
|
model_properties: {
|
54
54
|
id: {
|
55
55
|
required: false,
|
56
|
+
read_only: true,
|
56
57
|
serialized_name: 'id',
|
57
58
|
type: {
|
58
59
|
name: 'String'
|
@@ -60,6 +61,7 @@ module Azure::ARM::Batch
|
|
60
61
|
},
|
61
62
|
version: {
|
62
63
|
required: false,
|
64
|
+
read_only: true,
|
63
65
|
serialized_name: 'version',
|
64
66
|
type: {
|
65
67
|
name: 'String'
|
@@ -67,6 +69,7 @@ module Azure::ARM::Batch
|
|
67
69
|
},
|
68
70
|
state: {
|
69
71
|
required: false,
|
72
|
+
read_only: true,
|
70
73
|
serialized_name: 'state',
|
71
74
|
type: {
|
72
75
|
name: 'Enum',
|
@@ -75,6 +78,7 @@ module Azure::ARM::Batch
|
|
75
78
|
},
|
76
79
|
format: {
|
77
80
|
required: false,
|
81
|
+
read_only: true,
|
78
82
|
serialized_name: 'format',
|
79
83
|
type: {
|
80
84
|
name: 'String'
|
@@ -82,6 +86,7 @@ module Azure::ARM::Batch
|
|
82
86
|
},
|
83
87
|
storage_url: {
|
84
88
|
required: false,
|
89
|
+
read_only: true,
|
85
90
|
serialized_name: 'storageUrl',
|
86
91
|
type: {
|
87
92
|
name: 'String'
|
@@ -89,6 +94,7 @@ module Azure::ARM::Batch
|
|
89
94
|
},
|
90
95
|
storage_url_expiry: {
|
91
96
|
required: false,
|
97
|
+
read_only: true,
|
92
98
|
serialized_name: 'storageUrlExpiry',
|
93
99
|
type: {
|
94
100
|
name: 'DateTime'
|
@@ -96,6 +102,7 @@ module Azure::ARM::Batch
|
|
96
102
|
},
|
97
103
|
last_activation_time: {
|
98
104
|
required: false,
|
105
|
+
read_only: true,
|
99
106
|
serialized_name: 'lastActivationTime',
|
100
107
|
type: {
|
101
108
|
name: 'DateTime'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -21,8 +21,17 @@ module Azure::ARM::Batch
|
|
21
21
|
# 'Succeeded', 'Failed', 'Cancelled'
|
22
22
|
attr_accessor :provisioning_state
|
23
23
|
|
24
|
+
# @return [PoolAllocationMode] The allocation mode to use for creating
|
25
|
+
# pools in the Batch account. Possible values include: 'BatchService',
|
26
|
+
# 'UserSubscription'
|
27
|
+
attr_accessor :pool_allocation_mode
|
28
|
+
|
29
|
+
# @return [KeyVaultReference] A reference to the Azure key vault
|
30
|
+
# associated with the Batch account.
|
31
|
+
attr_accessor :key_vault_reference
|
32
|
+
|
24
33
|
# @return [AutoStorageProperties] The properties and status of any auto
|
25
|
-
# storage account associated with the account.
|
34
|
+
# storage account associated with the Batch account.
|
26
35
|
attr_accessor :auto_storage
|
27
36
|
|
28
37
|
# @return [Integer] The core quota for this Batch account.
|
@@ -74,6 +83,7 @@ module Azure::ARM::Batch
|
|
74
83
|
},
|
75
84
|
location: {
|
76
85
|
required: false,
|
86
|
+
read_only: true,
|
77
87
|
serialized_name: 'location',
|
78
88
|
type: {
|
79
89
|
name: 'String'
|
@@ -81,6 +91,7 @@ module Azure::ARM::Batch
|
|
81
91
|
},
|
82
92
|
tags: {
|
83
93
|
required: false,
|
94
|
+
read_only: true,
|
84
95
|
serialized_name: 'tags',
|
85
96
|
type: {
|
86
97
|
name: 'Dictionary',
|
@@ -103,14 +114,34 @@ module Azure::ARM::Batch
|
|
103
114
|
},
|
104
115
|
provisioning_state: {
|
105
116
|
required: false,
|
117
|
+
read_only: true,
|
106
118
|
serialized_name: 'properties.provisioningState',
|
107
119
|
type: {
|
108
120
|
name: 'Enum',
|
109
121
|
module: 'ProvisioningState'
|
110
122
|
}
|
111
123
|
},
|
124
|
+
pool_allocation_mode: {
|
125
|
+
required: false,
|
126
|
+
read_only: true,
|
127
|
+
serialized_name: 'properties.poolAllocationMode',
|
128
|
+
type: {
|
129
|
+
name: 'Enum',
|
130
|
+
module: 'PoolAllocationMode'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
key_vault_reference: {
|
134
|
+
required: false,
|
135
|
+
read_only: true,
|
136
|
+
serialized_name: 'properties.keyVaultReference',
|
137
|
+
type: {
|
138
|
+
name: 'Composite',
|
139
|
+
class_name: 'KeyVaultReference'
|
140
|
+
}
|
141
|
+
},
|
112
142
|
auto_storage: {
|
113
143
|
required: false,
|
144
|
+
read_only: true,
|
114
145
|
serialized_name: 'properties.autoStorage',
|
115
146
|
type: {
|
116
147
|
name: 'Composite',
|
@@ -118,21 +149,24 @@ module Azure::ARM::Batch
|
|
118
149
|
}
|
119
150
|
},
|
120
151
|
core_quota: {
|
121
|
-
required:
|
152
|
+
required: false,
|
153
|
+
read_only: true,
|
122
154
|
serialized_name: 'properties.coreQuota',
|
123
155
|
type: {
|
124
156
|
name: 'Number'
|
125
157
|
}
|
126
158
|
},
|
127
159
|
pool_quota: {
|
128
|
-
required:
|
160
|
+
required: false,
|
161
|
+
read_only: true,
|
129
162
|
serialized_name: 'properties.poolQuota',
|
130
163
|
type: {
|
131
164
|
name: 'Number'
|
132
165
|
}
|
133
166
|
},
|
134
167
|
active_job_and_job_schedule_quota: {
|
135
|
-
required:
|
168
|
+
required: false,
|
169
|
+
read_only: true,
|
136
170
|
serialized_name: 'properties.activeJobAndJobScheduleQuota',
|
137
171
|
type: {
|
138
172
|
name: 'Number'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -23,6 +23,19 @@ module Azure::ARM::Batch
|
|
23
23
|
# storage account.
|
24
24
|
attr_accessor :auto_storage
|
25
25
|
|
26
|
+
# @return [PoolAllocationMode] The allocation mode to use for creating
|
27
|
+
# pools in the Batch account. The pool allocation mode also affects how
|
28
|
+
# clients may authenticate to the Batch Service API. If the mode is
|
29
|
+
# BatchService, clients may authenticate using access keys or Azure
|
30
|
+
# Active Directory. If the mode is UserSubscription, clients must use
|
31
|
+
# Azure Active Directory. The default is BatchService. Possible values
|
32
|
+
# include: 'BatchService', 'UserSubscription'
|
33
|
+
attr_accessor :pool_allocation_mode
|
34
|
+
|
35
|
+
# @return [KeyVaultReference] A reference to the Azure key vault
|
36
|
+
# associated with the Batch account.
|
37
|
+
attr_accessor :key_vault_reference
|
38
|
+
|
26
39
|
|
27
40
|
#
|
28
41
|
# Mapper for BatchAccountCreateParameters class as Ruby Hash.
|
@@ -64,6 +77,22 @@ module Azure::ARM::Batch
|
|
64
77
|
name: 'Composite',
|
65
78
|
class_name: 'AutoStorageBaseProperties'
|
66
79
|
}
|
80
|
+
},
|
81
|
+
pool_allocation_mode: {
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'properties.poolAllocationMode',
|
84
|
+
type: {
|
85
|
+
name: 'Enum',
|
86
|
+
module: 'PoolAllocationMode'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
key_vault_reference: {
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'properties.keyVaultReference',
|
92
|
+
type: {
|
93
|
+
name: 'Composite',
|
94
|
+
class_name: 'KeyVaultReference'
|
95
|
+
}
|
67
96
|
}
|
68
97
|
}
|
69
98
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -33,6 +33,7 @@ module Azure::ARM::Batch
|
|
33
33
|
model_properties: {
|
34
34
|
primary: {
|
35
35
|
required: false,
|
36
|
+
read_only: true,
|
36
37
|
serialized_name: 'primary',
|
37
38
|
type: {
|
38
39
|
name: 'String'
|
@@ -40,6 +41,7 @@ module Azure::ARM::Batch
|
|
40
41
|
},
|
41
42
|
secondary: {
|
42
43
|
required: false,
|
44
|
+
read_only: true,
|
43
45
|
serialized_name: 'secondary',
|
44
46
|
type: {
|
45
47
|
name: 'String'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -20,6 +20,19 @@ module Azure::ARM::Batch
|
|
20
20
|
# storage account.
|
21
21
|
attr_accessor :auto_storage
|
22
22
|
|
23
|
+
# @return [PoolAllocationMode] The allocation mode to use for creating
|
24
|
+
# pools in the Batch account. The pool allocation mode also affects how
|
25
|
+
# clients may authenticate to the Batch Service API. If the mode is
|
26
|
+
# BatchService, clients may authenticate using access keys or Azure
|
27
|
+
# Active Directory. If the mode is UserSubscription, clients must use
|
28
|
+
# Azure Active Directory. The default is BatchService. Possible values
|
29
|
+
# include: 'BatchService', 'UserSubscription'
|
30
|
+
attr_accessor :pool_allocation_mode
|
31
|
+
|
32
|
+
# @return [KeyVaultReference] A reference to the Azure key vault
|
33
|
+
# associated with the Batch account.
|
34
|
+
attr_accessor :key_vault_reference
|
35
|
+
|
23
36
|
|
24
37
|
#
|
25
38
|
# Mapper for BatchAccountUpdateParameters class as Ruby Hash.
|
@@ -54,6 +67,22 @@ module Azure::ARM::Batch
|
|
54
67
|
name: 'Composite',
|
55
68
|
class_name: 'AutoStorageBaseProperties'
|
56
69
|
}
|
70
|
+
},
|
71
|
+
pool_allocation_mode: {
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'properties.poolAllocationMode',
|
74
|
+
type: {
|
75
|
+
name: 'Enum',
|
76
|
+
module: 'PoolAllocationMode'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
key_vault_reference: {
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'properties.keyVaultReference',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
class_name: 'KeyVaultReference'
|
85
|
+
}
|
57
86
|
}
|
58
87
|
}
|
59
88
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -31,6 +31,7 @@ module Azure::ARM::Batch
|
|
31
31
|
model_properties: {
|
32
32
|
account_quota: {
|
33
33
|
required: false,
|
34
|
+
read_only: true,
|
34
35
|
serialized_name: 'accountQuota',
|
35
36
|
type: {
|
36
37
|
name: 'Number'
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Batch
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Identifies the Azure key vault associated with a Batch account.
|
10
|
+
#
|
11
|
+
class KeyVaultReference
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The resource ID of the Azure key vault associated with
|
16
|
+
# the Batch account.
|
17
|
+
attr_accessor :id
|
18
|
+
|
19
|
+
# @return [String] The Url of the Azure key vault associated with the
|
20
|
+
# Batch account.
|
21
|
+
attr_accessor :url
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for KeyVaultReference class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'KeyVaultReference',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'KeyVaultReference',
|
35
|
+
model_properties: {
|
36
|
+
id: {
|
37
|
+
required: true,
|
38
|
+
serialized_name: 'id',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
url: {
|
44
|
+
required: true,
|
45
|
+
serialized_name: 'url',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Batch
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for PoolAllocationMode
|
10
|
+
#
|
11
|
+
module PoolAllocationMode
|
12
|
+
BatchService = "BatchService"
|
13
|
+
UserSubscription = "UserSubscription"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Batch
|
7
|
-
VERSION = '0.
|
7
|
+
VERSION = '0.10.0'
|
8
8
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -108,10 +108,10 @@ files:
|
|
108
108
|
- lib/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb
|
109
109
|
- lib/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb
|
110
110
|
- lib/generated/azure_mgmt_batch/models/batch_location_quota.rb
|
111
|
-
- lib/generated/azure_mgmt_batch/models/
|
112
|
-
- lib/generated/azure_mgmt_batch/models/error_detail.rb
|
111
|
+
- lib/generated/azure_mgmt_batch/models/key_vault_reference.rb
|
113
112
|
- lib/generated/azure_mgmt_batch/models/list_applications_result.rb
|
114
113
|
- lib/generated/azure_mgmt_batch/models/package_state.rb
|
114
|
+
- lib/generated/azure_mgmt_batch/models/pool_allocation_mode.rb
|
115
115
|
- lib/generated/azure_mgmt_batch/models/provisioning_state.rb
|
116
116
|
- lib/generated/azure_mgmt_batch/models/update_application_parameters.rb
|
117
117
|
- lib/generated/azure_mgmt_batch/module_definition.rb
|
@@ -1,86 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
-
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
-
# regenerated.
|
5
|
-
|
6
|
-
module Azure::ARM::Batch
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# An error response from the Batch service.
|
10
|
-
#
|
11
|
-
class ErrorBody
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] An identifier for the error. Codes are invariant and
|
16
|
-
# are intended to be consumed programmatically.
|
17
|
-
attr_accessor :code
|
18
|
-
|
19
|
-
# @return [String] A message describing the error, intended to be
|
20
|
-
# suitable for display in a user interface.
|
21
|
-
attr_accessor :message
|
22
|
-
|
23
|
-
# @return [String] The target of the particular error. For example, the
|
24
|
-
# name of the property in error.
|
25
|
-
attr_accessor :target
|
26
|
-
|
27
|
-
# @return [Array<ErrorDetail>] A list of additional details about the
|
28
|
-
# error.
|
29
|
-
attr_accessor :details
|
30
|
-
|
31
|
-
|
32
|
-
#
|
33
|
-
# Mapper for ErrorBody class as Ruby Hash.
|
34
|
-
# This will be used for serialization/deserialization.
|
35
|
-
#
|
36
|
-
def self.mapper()
|
37
|
-
{
|
38
|
-
required: false,
|
39
|
-
serialized_name: 'ErrorBody',
|
40
|
-
type: {
|
41
|
-
name: 'Composite',
|
42
|
-
class_name: 'ErrorBody',
|
43
|
-
model_properties: {
|
44
|
-
code: {
|
45
|
-
required: false,
|
46
|
-
serialized_name: 'code',
|
47
|
-
type: {
|
48
|
-
name: 'String'
|
49
|
-
}
|
50
|
-
},
|
51
|
-
message: {
|
52
|
-
required: false,
|
53
|
-
serialized_name: 'message',
|
54
|
-
type: {
|
55
|
-
name: 'String'
|
56
|
-
}
|
57
|
-
},
|
58
|
-
target: {
|
59
|
-
required: false,
|
60
|
-
serialized_name: 'target',
|
61
|
-
type: {
|
62
|
-
name: 'String'
|
63
|
-
}
|
64
|
-
},
|
65
|
-
details: {
|
66
|
-
required: false,
|
67
|
-
serialized_name: 'details',
|
68
|
-
type: {
|
69
|
-
name: 'Sequence',
|
70
|
-
element: {
|
71
|
-
required: false,
|
72
|
-
serialized_name: 'ErrorDetailElementType',
|
73
|
-
type: {
|
74
|
-
name: 'Composite',
|
75
|
-
class_name: 'ErrorDetail'
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
}
|
81
|
-
}
|
82
|
-
}
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
86
|
-
end
|
@@ -1,67 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
-
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
-
# regenerated.
|
5
|
-
|
6
|
-
module Azure::ARM::Batch
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# Specific detail about an error.
|
10
|
-
#
|
11
|
-
class ErrorDetail
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] An identifier for the error. Codes are invariant and
|
16
|
-
# are intended to be consumed programmatically.
|
17
|
-
attr_accessor :code
|
18
|
-
|
19
|
-
# @return [String] A message describing the error, intended to be
|
20
|
-
# suitable for display in a user interface.
|
21
|
-
attr_accessor :message
|
22
|
-
|
23
|
-
# @return [String] The target of the particular error. For example, the
|
24
|
-
# name of the property in error.
|
25
|
-
attr_accessor :target
|
26
|
-
|
27
|
-
|
28
|
-
#
|
29
|
-
# Mapper for ErrorDetail class as Ruby Hash.
|
30
|
-
# This will be used for serialization/deserialization.
|
31
|
-
#
|
32
|
-
def self.mapper()
|
33
|
-
{
|
34
|
-
required: false,
|
35
|
-
serialized_name: 'ErrorDetail',
|
36
|
-
type: {
|
37
|
-
name: 'Composite',
|
38
|
-
class_name: 'ErrorDetail',
|
39
|
-
model_properties: {
|
40
|
-
code: {
|
41
|
-
required: false,
|
42
|
-
serialized_name: 'code',
|
43
|
-
type: {
|
44
|
-
name: 'String'
|
45
|
-
}
|
46
|
-
},
|
47
|
-
message: {
|
48
|
-
required: false,
|
49
|
-
serialized_name: 'message',
|
50
|
-
type: {
|
51
|
-
name: 'String'
|
52
|
-
}
|
53
|
-
},
|
54
|
-
target: {
|
55
|
-
required: false,
|
56
|
-
serialized_name: 'target',
|
57
|
-
type: {
|
58
|
-
name: 'String'
|
59
|
-
}
|
60
|
-
}
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
64
|
-
end
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|