azure_mgmt_features 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d6fad181a616899318d8d6ea0cfb863727160b5
4
- data.tar.gz: 2e02b8ae97beba30aace5836be08b6654cc19753
3
+ metadata.gz: db624cf888b56e01060c396a6a3f0b6779b30b2f
4
+ data.tar.gz: a2334fa536fc04462a2b091a33438be73bb6d7a4
5
5
  SHA512:
6
- metadata.gz: 87eb4ea8540842ced2b8c86ed264dac6b7e46deea09e24d682869c4c24565dca035272da5e9378a4c935d31f32f0b36daa4f76666b43677ede7241a5e89629f9
7
- data.tar.gz: 79ca04205a9b66ca9fb4f7310cc72916bf5095573808189ed59842384f21c67b82dd6b821549aaac4de993dcd8edbe776df8e85f9284a784b816d526f0c1b821
6
+ metadata.gz: ee5131fb85c1a61ec26749d37bc2f691d5d88b7b526b4a8f238faf287df0511492a5b5f78352d02f860dce90262bb8fc2dcfa2707ad1afba197ee3c7957aad59
7
+ data.tar.gz: 72928f9937127b46d496d02d7fa6eef188b1dd96f715766463d37248192376b589954d2f237e81e98028b74a12a62995019feea0795058d55ae8180b60ddc271
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,7 +12,6 @@ module Azure::ARM::Features
12
12
  # register for AFEC features to get access to such functionality.
13
13
  #
14
14
  class Features
15
- include Azure::ARM::Features::Models
16
15
  include MsRestAzure
17
16
 
18
17
  #
@@ -72,7 +71,7 @@ module Azure::ARM::Features
72
71
  # Set Headers
73
72
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
74
73
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
75
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.Features/features'
74
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Features/features'
76
75
 
77
76
  request_url = @base_url || @client.base_url
78
77
 
@@ -99,8 +98,8 @@ module Azure::ARM::Features
99
98
  if status_code == 200
100
99
  begin
101
100
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
102
- result_mapper = FeatureOperationsListResult.mapper()
103
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
101
+ result_mapper = Azure::ARM::Features::Models::FeatureOperationsListResult.mapper()
102
+ result.body = @client.deserialize(result_mapper, parsed_response)
104
103
  rescue Exception => e
105
104
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
106
105
  end
@@ -165,7 +164,7 @@ module Azure::ARM::Features
165
164
  # Set Headers
166
165
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
167
166
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
168
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features'
167
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features'
169
168
 
170
169
  request_url = @base_url || @client.base_url
171
170
 
@@ -192,8 +191,8 @@ module Azure::ARM::Features
192
191
  if status_code == 200
193
192
  begin
194
193
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
195
- result_mapper = FeatureOperationsListResult.mapper()
196
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
194
+ result_mapper = Azure::ARM::Features::Models::FeatureOperationsListResult.mapper()
195
+ result.body = @client.deserialize(result_mapper, parsed_response)
197
196
  rescue Exception => e
198
197
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
199
198
  end
@@ -259,7 +258,7 @@ module Azure::ARM::Features
259
258
  # Set Headers
260
259
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
261
260
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
262
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}'
261
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}'
263
262
 
264
263
  request_url = @base_url || @client.base_url
265
264
 
@@ -286,8 +285,8 @@ module Azure::ARM::Features
286
285
  if status_code == 200
287
286
  begin
288
287
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
289
- result_mapper = FeatureResult.mapper()
290
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
288
+ result_mapper = Azure::ARM::Features::Models::FeatureResult.mapper()
289
+ result.body = @client.deserialize(result_mapper, parsed_response)
291
290
  rescue Exception => e
292
291
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
293
292
  end
@@ -353,7 +352,7 @@ module Azure::ARM::Features
353
352
  # Set Headers
354
353
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
355
354
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
356
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register'
355
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register'
357
356
 
358
357
  request_url = @base_url || @client.base_url
359
358
 
@@ -380,8 +379,8 @@ module Azure::ARM::Features
380
379
  if status_code == 200
381
380
  begin
382
381
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
383
- result_mapper = FeatureResult.mapper()
384
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
382
+ result_mapper = Azure::ARM::Features::Models::FeatureResult.mapper()
383
+ result.body = @client.deserialize(result_mapper, parsed_response)
385
384
  rescue Exception => e
386
385
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
387
386
  end
@@ -470,8 +469,8 @@ module Azure::ARM::Features
470
469
  if status_code == 200
471
470
  begin
472
471
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
473
- result_mapper = FeatureOperationsListResult.mapper()
474
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
472
+ result_mapper = Azure::ARM::Features::Models::FeatureOperationsListResult.mapper()
473
+ result.body = @client.deserialize(result_mapper, parsed_response)
475
474
  rescue Exception => e
476
475
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
477
476
  end
@@ -560,8 +559,8 @@ module Azure::ARM::Features
560
559
  if status_code == 200
561
560
  begin
562
561
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
563
- result_mapper = FeatureOperationsListResult.mapper()
564
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
562
+ result_mapper = Azure::ARM::Features::Models::FeatureOperationsListResult.mapper()
563
+ result.body = @client.deserialize(result_mapper, parsed_response)
565
564
  rescue Exception => e
566
565
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
567
566
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Features
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<FeatureResult>] The array of features.
16
17
  attr_accessor :value
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Features
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] The registration state of the feature for the
16
17
  # subscription.
17
18
  attr_accessor :state
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Features
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] The name of the feature.
16
17
  attr_accessor :name
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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::Features
7
- VERSION = '0.10.0'
7
+ VERSION = '0.11.0'
8
8
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_features
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.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-03-06 00:00:00.000000000 Z
11
+ date: 2017-07-19 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.7.0
75
+ version: 0.8.0
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.7.0
82
+ version: 0.8.0
83
83
  description: Microsoft Azure Resource Provider Feature Management Client Library for
84
84
  Ruby
85
85
  email: azrubyteam@microsoft.com