azure_mgmt_batch 0.7.0 → 0.8.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 -9
- data/lib/generated/azure_mgmt_batch/application_operations.rb +50 -50
- data/lib/generated/azure_mgmt_batch/application_package_operations.rb +17 -17
- data/lib/generated/azure_mgmt_batch/batch_account_operations.rb +288 -288
- data/lib/generated/azure_mgmt_batch/batch_management_client.rb +16 -3
- 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 +4 -4
- data/lib/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +2 -2
- data/lib/generated/azure_mgmt_batch/models/auto_storage_properties.rb +2 -2
- data/lib/generated/azure_mgmt_batch/models/batch_account.rb +3 -3
- data/lib/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/batch_account_keys.rb +1 -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 +1 -1
- data/lib/generated/azure_mgmt_batch/models/batch_location_quota.rb +1 -1
- data/lib/generated/azure_mgmt_batch/models/error_body.rb +86 -0
- data/lib/generated/azure_mgmt_batch/models/error_detail.rb +67 -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/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 +6 -4
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -18,10 +18,10 @@ module Azure::ARM::Batch
|
|
18
18
|
attr_reader :credentials
|
19
19
|
|
20
20
|
# @return [String] A unique identifier of a Microsoft Azure subscription.
|
21
|
-
# The subscription
|
21
|
+
# The subscription ID forms part of the URI for every service call.
|
22
22
|
attr_accessor :subscription_id
|
23
23
|
|
24
|
-
# @return [String]
|
24
|
+
# @return [String] The API version to be used with the HTTP request.
|
25
25
|
attr_reader :api_version
|
26
26
|
|
27
27
|
# @return [String] Gets or sets the preferred language for the response.
|
@@ -69,6 +69,7 @@ module Azure::ARM::Batch
|
|
69
69
|
@accept_language = 'en-US'
|
70
70
|
@long_running_operation_retry_timeout = 30
|
71
71
|
@generate_client_request_id = true
|
72
|
+
add_telemetry
|
72
73
|
end
|
73
74
|
|
74
75
|
#
|
@@ -126,5 +127,17 @@ module Azure::ARM::Batch
|
|
126
127
|
super(request_url, method, path, options)
|
127
128
|
end
|
128
129
|
|
130
|
+
|
131
|
+
private
|
132
|
+
#
|
133
|
+
# Adds telemetry information.
|
134
|
+
#
|
135
|
+
def add_telemetry
|
136
|
+
sdk_information = 'azure_mgmt_batch'
|
137
|
+
if defined? Azure::ARM::Batch::VERSION
|
138
|
+
sdk_information = "#{sdk_information}/#{Azure::ARM::Batch::VERSION}"
|
139
|
+
end
|
140
|
+
add_user_agent_information(sdk_information)
|
141
|
+
end
|
129
142
|
end
|
130
143
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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 MsRest::HttpOperationError.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 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,7 +13,7 @@ module Azure::ARM::Batch
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
-
# @return [String] The
|
16
|
+
# @return [String] The ID of the application.
|
17
17
|
attr_accessor :id
|
18
18
|
|
19
19
|
# @return [String] The version of the application package.
|
@@ -34,8 +34,8 @@ module Azure::ARM::Batch
|
|
34
34
|
# @return [DateTime] The UTC time at which the storage URL will expire.
|
35
35
|
attr_accessor :storage_url_expiry
|
36
36
|
|
37
|
-
# @return [DateTime] The time at which the package was last activated,
|
38
|
-
#
|
37
|
+
# @return [DateTime] The time at which the package was last activated, if
|
38
|
+
# the package is active.
|
39
39
|
attr_accessor :last_activation_time
|
40
40
|
|
41
41
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,7 +12,7 @@ module Azure::ARM::Batch
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The resource
|
15
|
+
# @return [String] The resource ID of the storage account to be used for
|
16
16
|
# auto storage account.
|
17
17
|
attr_accessor :storage_account_id
|
18
18
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,7 +13,7 @@ module Azure::ARM::Batch
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
-
# @return [String] The resource
|
16
|
+
# @return [String] The resource ID of the storage account to be used for
|
17
17
|
# auto storage account.
|
18
18
|
attr_accessor :storage_account_id
|
19
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,8 +12,8 @@ module Azure::ARM::Batch
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] The endpoint used by this account to interact with
|
16
|
-
#
|
15
|
+
# @return [String] The endpoint used by this account to interact with the
|
16
|
+
# Batch services.
|
17
17
|
attr_accessor :account_endpoint
|
18
18
|
|
19
19
|
# @return [ProvisioningState] The provisioned state of the resource.
|
@@ -0,0 +1,86 @@
|
|
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
|
@@ -0,0 +1,67 @@
|
|
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
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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.8.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.8.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: 2016-
|
11
|
+
date: 2016-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.6.
|
75
|
+
version: 0.6.2
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.6.
|
82
|
+
version: 0.6.2
|
83
83
|
description: Microsoft Azure Batch Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -108,6 +108,8 @@ 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/error_body.rb
|
112
|
+
- lib/generated/azure_mgmt_batch/models/error_detail.rb
|
111
113
|
- lib/generated/azure_mgmt_batch/models/list_applications_result.rb
|
112
114
|
- lib/generated/azure_mgmt_batch/models/package_state.rb
|
113
115
|
- lib/generated/azure_mgmt_batch/models/provisioning_state.rb
|