azure_mgmt_batch 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-12-01/generated/azure_mgmt_batch.rb +50 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/application_operations.rb +635 -0
- data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/application_package_operations.rb +4 -4
- data/lib/2015-12-01/generated/azure_mgmt_batch/batch_account_operations.rb +1229 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/batch_management_client.rb +142 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/location.rb +115 -0
- data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/models/account_key_type.rb +1 -1
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/activate_application_package_parameters.rb +45 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/add_application_parameters.rb +55 -0
- data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/models/application.rb +1 -1
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/application_package.rb +110 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/auto_storage_base_properties.rb +45 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/auto_storage_properties.rb +57 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb +147 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb +74 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_keys.rb +54 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_list_result.rb +95 -0
- data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +1 -1
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account_update_parameters.rb +64 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/batch_location_quota.rb +45 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/list_applications_result.rb +94 -0
- data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/models/package_state.rb +1 -1
- data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/models/provisioning_state.rb +1 -1
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/resource.rb +94 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/models/update_application_parameters.rb +66 -0
- data/lib/2015-12-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
- data/lib/{generated → 2015-12-01/generated}/azure_mgmt_batch/version.rb +2 -2
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch.rb +35 -35
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/application_operations.rb +7 -7
- data/lib/2017-05-01/generated/azure_mgmt_batch/application_package_operations.rb +427 -0
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/batch_account_operations.rb +14 -14
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/batch_management_client.rb +3 -3
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/location.rb +4 -4
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/account_key_type.rb +16 -0
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/activate_application_package_parameters.rb +1 -1
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/application.rb +96 -0
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/application_create_parameters.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/application_package.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/application_update_parameters.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/auto_storage_base_properties.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/auto_storage_properties.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_account.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_account_create_parameters.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_account_keys.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_account_list_result.rb +1 -1
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb +46 -0
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_account_update_parameters.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/batch_location_quota.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/check_name_availability_parameters.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/check_name_availability_result.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/key_vault_reference.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/list_applications_result.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/name_availability_reason.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/operation.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/operation_display.rb +1 -1
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/operation_list_result.rb +1 -1
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/package_state.rb +17 -0
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/pool_allocation_mode.rb +1 -1
- data/lib/2017-05-01/generated/azure_mgmt_batch/models/provisioning_state.rb +20 -0
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/models/resource.rb +1 -1
- data/lib/2017-05-01/generated/azure_mgmt_batch/module_definition.rb +9 -0
- data/lib/{generated → 2017-05-01/generated}/azure_mgmt_batch/operations.rb +3 -3
- data/lib/{generated/azure_mgmt_batch/module_definition.rb → 2017-05-01/generated/azure_mgmt_batch/version.rb} +3 -3
- data/lib/azure_mgmt_batch.rb +3 -1
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/batch_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/batch_module_definition.rb +9 -0
- data/lib/profiles/latest/modules/batch_profile_module.rb +158 -0
- data/lib/version.rb +7 -0
- metadata +72 -38
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Batch::Mgmt::V2017_05_01
|
7
7
|
#
|
8
8
|
# BatchAccountOperations
|
9
9
|
#
|
@@ -70,7 +70,7 @@ module Azure::ARM::Batch
|
|
70
70
|
promise = promise.then do |response|
|
71
71
|
# Defining deserialization method.
|
72
72
|
deserialize_method = lambda do |parsed_response|
|
73
|
-
result_mapper = Azure::
|
73
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccount.mapper()
|
74
74
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
75
75
|
end
|
76
76
|
|
@@ -146,7 +146,7 @@ module Azure::ARM::Batch
|
|
146
146
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
147
147
|
|
148
148
|
# Serialize Request
|
149
|
-
request_mapper = Azure::
|
149
|
+
request_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountUpdateParameters.mapper()
|
150
150
|
request_content = @client.serialize(request_mapper, parameters)
|
151
151
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
152
152
|
|
@@ -178,7 +178,7 @@ module Azure::ARM::Batch
|
|
178
178
|
if status_code == 200
|
179
179
|
begin
|
180
180
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
181
|
-
result_mapper = Azure::
|
181
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccount.mapper()
|
182
182
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
183
183
|
rescue Exception => e
|
184
184
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -312,7 +312,7 @@ module Azure::ARM::Batch
|
|
312
312
|
if status_code == 200
|
313
313
|
begin
|
314
314
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
315
|
-
result_mapper = Azure::
|
315
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccount.mapper()
|
316
316
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
317
317
|
rescue Exception => e
|
318
318
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -395,7 +395,7 @@ module Azure::ARM::Batch
|
|
395
395
|
if status_code == 200
|
396
396
|
begin
|
397
397
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
398
|
-
result_mapper = Azure::
|
398
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountListResult.mapper()
|
399
399
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
400
400
|
rescue Exception => e
|
401
401
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -488,7 +488,7 @@ module Azure::ARM::Batch
|
|
488
488
|
if status_code == 200
|
489
489
|
begin
|
490
490
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
491
|
-
result_mapper = Azure::
|
491
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountListResult.mapper()
|
492
492
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
493
493
|
rescue Exception => e
|
494
494
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -652,7 +652,7 @@ module Azure::ARM::Batch
|
|
652
652
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
653
653
|
|
654
654
|
# Serialize Request
|
655
|
-
request_mapper = Azure::
|
655
|
+
request_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountRegenerateKeyParameters.mapper()
|
656
656
|
request_content = @client.serialize(request_mapper, parameters)
|
657
657
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
658
658
|
|
@@ -684,7 +684,7 @@ module Azure::ARM::Batch
|
|
684
684
|
if status_code == 200
|
685
685
|
begin
|
686
686
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
687
|
-
result_mapper = Azure::
|
687
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountKeys.mapper()
|
688
688
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
689
689
|
rescue Exception => e
|
690
690
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -796,7 +796,7 @@ module Azure::ARM::Batch
|
|
796
796
|
if status_code == 200
|
797
797
|
begin
|
798
798
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
799
|
-
result_mapper = Azure::
|
799
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountKeys.mapper()
|
800
800
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
801
801
|
rescue Exception => e
|
802
802
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -895,7 +895,7 @@ module Azure::ARM::Batch
|
|
895
895
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
896
896
|
|
897
897
|
# Serialize Request
|
898
|
-
request_mapper = Azure::
|
898
|
+
request_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountCreateParameters.mapper()
|
899
899
|
request_content = @client.serialize(request_mapper, parameters)
|
900
900
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
901
901
|
|
@@ -927,7 +927,7 @@ module Azure::ARM::Batch
|
|
927
927
|
if status_code == 200
|
928
928
|
begin
|
929
929
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
930
|
-
result_mapper = Azure::
|
930
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccount.mapper()
|
931
931
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
932
932
|
rescue Exception => e
|
933
933
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1097,7 +1097,7 @@ module Azure::ARM::Batch
|
|
1097
1097
|
if status_code == 200
|
1098
1098
|
begin
|
1099
1099
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1100
|
-
result_mapper = Azure::
|
1100
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountListResult.mapper()
|
1101
1101
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1102
1102
|
rescue Exception => e
|
1103
1103
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1187,7 +1187,7 @@ module Azure::ARM::Batch
|
|
1187
1187
|
if status_code == 200
|
1188
1188
|
begin
|
1189
1189
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1190
|
-
result_mapper = Azure::
|
1190
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchAccountListResult.mapper()
|
1191
1191
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1192
1192
|
rescue Exception => e
|
1193
1193
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Batch::Mgmt::V2017_05_01
|
7
7
|
#
|
8
8
|
# A service client - single point of access to the REST API.
|
9
9
|
#
|
@@ -137,8 +137,8 @@ module Azure::ARM::Batch
|
|
137
137
|
#
|
138
138
|
def add_telemetry
|
139
139
|
sdk_information = 'azure_mgmt_batch'
|
140
|
-
if defined? Azure::
|
141
|
-
sdk_information = "#{sdk_information}/#{Azure::
|
140
|
+
if defined? Azure::Batch::Mgmt::V2017_05_01::VERSION
|
141
|
+
sdk_information = "#{sdk_information}/#{Azure::Batch::Mgmt::V2017_05_01::VERSION}"
|
142
142
|
end
|
143
143
|
add_user_agent_information(sdk_information)
|
144
144
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Batch::Mgmt::V2017_05_01
|
7
7
|
#
|
8
8
|
# Location
|
9
9
|
#
|
@@ -101,7 +101,7 @@ module Azure::ARM::Batch
|
|
101
101
|
if status_code == 200
|
102
102
|
begin
|
103
103
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
104
|
-
result_mapper = Azure::
|
104
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::BatchLocationQuota.mapper()
|
105
105
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
106
106
|
rescue Exception => e
|
107
107
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -172,7 +172,7 @@ module Azure::ARM::Batch
|
|
172
172
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
173
173
|
|
174
174
|
# Serialize Request
|
175
|
-
request_mapper = Azure::
|
175
|
+
request_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::CheckNameAvailabilityParameters.mapper()
|
176
176
|
request_content = @client.serialize(request_mapper, parameters)
|
177
177
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
178
178
|
|
@@ -204,7 +204,7 @@ module Azure::ARM::Batch
|
|
204
204
|
if status_code == 200
|
205
205
|
begin
|
206
206
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
207
|
-
result_mapper = Azure::
|
207
|
+
result_mapper = Azure::Batch::Mgmt::V2017_05_01::Models::CheckNameAvailabilityResult.mapper()
|
208
208
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
209
209
|
rescue Exception => e
|
210
210
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -0,0 +1,16 @@
|
|
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::V2017_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for AccountKeyType
|
10
|
+
#
|
11
|
+
module AccountKeyType
|
12
|
+
Primary = "Primary"
|
13
|
+
Secondary = "Secondary"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,96 @@
|
|
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::V2017_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Contains information about an application in a Batch account.
|
10
|
+
#
|
11
|
+
class Application
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] A string that uniquely identifies the application
|
16
|
+
# within the account.
|
17
|
+
attr_accessor :id
|
18
|
+
|
19
|
+
# @return [String] The display name for the application.
|
20
|
+
attr_accessor :display_name
|
21
|
+
|
22
|
+
# @return [Array<ApplicationPackage>] The list of packages under this
|
23
|
+
# application.
|
24
|
+
attr_accessor :packages
|
25
|
+
|
26
|
+
# @return [Boolean] A value indicating whether packages within the
|
27
|
+
# application may be overwritten using the same version string.
|
28
|
+
attr_accessor :allow_updates
|
29
|
+
|
30
|
+
# @return [String] The package to use if a client requests the
|
31
|
+
# application but does not specify a version.
|
32
|
+
attr_accessor :default_version
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for Application class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'Application',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'Application',
|
46
|
+
model_properties: {
|
47
|
+
id: {
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'id',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
display_name: {
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'displayName',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
packages: {
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'packages',
|
64
|
+
type: {
|
65
|
+
name: 'Sequence',
|
66
|
+
element: {
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'ApplicationPackageElementType',
|
69
|
+
type: {
|
70
|
+
name: 'Composite',
|
71
|
+
class_name: 'ApplicationPackage'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
},
|
76
|
+
allow_updates: {
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'allowUpdates',
|
79
|
+
type: {
|
80
|
+
name: 'Boolean'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
default_version: {
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'defaultVersion',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
data/lib/2017-05-01/generated/azure_mgmt_batch/models/batch_account_regenerate_key_parameters.rb
ADDED
@@ -0,0 +1,46 @@
|
|
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::V2017_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters supplied to the RegenerateKey operation.
|
10
|
+
#
|
11
|
+
class BatchAccountRegenerateKeyParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AccountKeyType] The type of account key to regenerate.
|
16
|
+
# Possible values include: 'Primary', 'Secondary'
|
17
|
+
attr_accessor :key_name
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for BatchAccountRegenerateKeyParameters class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'BatchAccountRegenerateKeyParameters',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'BatchAccountRegenerateKeyParameters',
|
31
|
+
model_properties: {
|
32
|
+
key_name: {
|
33
|
+
required: true,
|
34
|
+
serialized_name: 'keyName',
|
35
|
+
type: {
|
36
|
+
name: 'Enum',
|
37
|
+
module: 'AccountKeyType'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|