azure_mgmt_marketplace_ordering 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering.rb +12 -12
  3. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/marketplace_agreements.rb +4 -4
  4. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/marketplace_ordering_agreements.rb +3 -3
  5. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/models/agreement_terms.rb +1 -1
  6. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/models/error_response.rb +1 -1
  7. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/models/error_response_error.rb +1 -1
  8. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/models/operation.rb +1 -1
  9. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/models/operation_display.rb +1 -1
  10. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/models/operation_list_result.rb +1 -1
  11. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/models/resource.rb +1 -1
  12. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/module_definition.rb +3 -2
  13. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/operations.rb +3 -3
  14. data/lib/{generated → 2015-06-01/generated}/azure_mgmt_marketplace_ordering/version.rb +2 -2
  15. data/lib/azure_mgmt_marketplace_ordering.rb +2 -3
  16. data/lib/module_definition.rb +7 -0
  17. data/lib/profiles/common/configurable.rb +73 -0
  18. data/lib/profiles/common/default.rb +68 -0
  19. data/lib/profiles/latest/marketplaceordering_latest_profile_client.rb +33 -0
  20. data/lib/profiles/latest/marketplaceordering_module_definition.rb +9 -0
  21. data/lib/profiles/latest/modules/marketplaceordering_profile_module.rb +72 -0
  22. data/lib/version.rb +7 -0
  23. metadata +22 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9373f8b0be9b965f42872eceb31b31feeb463bf
4
- data.tar.gz: f04b8cb23245bf6206d08fbabd77bbd86c3d7d72
3
+ metadata.gz: af90f915fdd566e78f6b8f897df799542167052d
4
+ data.tar.gz: f35dec195fd45a43928476548429de47d4676722
5
5
  SHA512:
6
- metadata.gz: e0f822e50f48bc7830f702d43b37fbd07a9a71c664444640945d1ed3f2ff0fca0434d2ede6f5d9efabcef13f873609ad613cb20ad88572b3a08ce4cae11087c4
7
- data.tar.gz: 4fe500dc01e7437611af32da57c32398309c4c8079d1d25a36c344e6a4aa33e45fc410292201c36696d35226bb1fad1e2c1e0c13df7bec1892d8ea219a82bf7a
6
+ metadata.gz: e443c2228e92e750298949733ce610c35486a112d84b45a4adad72d5845c936686d3485a00049121652b50b21dcfde0067f096aabc5d13b75e10612e8c58fbdb
7
+ data.tar.gz: 3ea560f49dc9afb48f268da4ff63d9b5ed4b157c844d856503cfe21e874858e0eeeea606318399b90c4a60dbb97b13381b5520ba6bd59775a87a5474ca10e2b0
@@ -16,21 +16,21 @@ require 'faraday'
16
16
  require 'faraday-cookie_jar'
17
17
  require 'concurrent'
18
18
  require 'ms_rest'
19
- require 'generated/azure_mgmt_marketplace_ordering/module_definition'
19
+ require '2015-06-01/generated/azure_mgmt_marketplace_ordering/module_definition'
20
20
  require 'ms_rest_azure'
21
21
 
22
- module Azure::ARM::MarketplaceOrdering
23
- autoload :MarketplaceAgreements, 'generated/azure_mgmt_marketplace_ordering/marketplace_agreements.rb'
24
- autoload :Operations, 'generated/azure_mgmt_marketplace_ordering/operations.rb'
25
- autoload :MarketplaceOrderingAgreements, 'generated/azure_mgmt_marketplace_ordering/marketplace_ordering_agreements.rb'
22
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
23
+ autoload :MarketplaceAgreements, '2015-06-01/generated/azure_mgmt_marketplace_ordering/marketplace_agreements.rb'
24
+ autoload :Operations, '2015-06-01/generated/azure_mgmt_marketplace_ordering/operations.rb'
25
+ autoload :MarketplaceOrderingAgreements, '2015-06-01/generated/azure_mgmt_marketplace_ordering/marketplace_ordering_agreements.rb'
26
26
 
27
27
  module Models
28
- autoload :OperationDisplay, 'generated/azure_mgmt_marketplace_ordering/models/operation_display.rb'
29
- autoload :Operation, 'generated/azure_mgmt_marketplace_ordering/models/operation.rb'
30
- autoload :ErrorResponseError, 'generated/azure_mgmt_marketplace_ordering/models/error_response_error.rb'
31
- autoload :OperationListResult, 'generated/azure_mgmt_marketplace_ordering/models/operation_list_result.rb'
32
- autoload :ErrorResponse, 'generated/azure_mgmt_marketplace_ordering/models/error_response.rb'
33
- autoload :Resource, 'generated/azure_mgmt_marketplace_ordering/models/resource.rb'
34
- autoload :AgreementTerms, 'generated/azure_mgmt_marketplace_ordering/models/agreement_terms.rb'
28
+ autoload :OperationDisplay, '2015-06-01/generated/azure_mgmt_marketplace_ordering/models/operation_display.rb'
29
+ autoload :Operation, '2015-06-01/generated/azure_mgmt_marketplace_ordering/models/operation.rb'
30
+ autoload :ErrorResponseError, '2015-06-01/generated/azure_mgmt_marketplace_ordering/models/error_response_error.rb'
31
+ autoload :OperationListResult, '2015-06-01/generated/azure_mgmt_marketplace_ordering/models/operation_list_result.rb'
32
+ autoload :ErrorResponse, '2015-06-01/generated/azure_mgmt_marketplace_ordering/models/error_response.rb'
33
+ autoload :Resource, '2015-06-01/generated/azure_mgmt_marketplace_ordering/models/resource.rb'
34
+ autoload :AgreementTerms, '2015-06-01/generated/azure_mgmt_marketplace_ordering/models/agreement_terms.rb'
35
35
  end
36
36
  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::ARM::MarketplaceOrdering
6
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
7
7
  #
8
8
  # REST API for MarketplaceOrdering Agreements.
9
9
  #
@@ -107,7 +107,7 @@ module Azure::ARM::MarketplaceOrdering
107
107
  if status_code == 200
108
108
  begin
109
109
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
110
- result_mapper = Azure::ARM::MarketplaceOrdering::Models::AgreementTerms.mapper()
110
+ result_mapper = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms.mapper()
111
111
  result.body = @client.deserialize(result_mapper, parsed_response)
112
112
  rescue Exception => e
113
113
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -190,7 +190,7 @@ module Azure::ARM::MarketplaceOrdering
190
190
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
191
191
 
192
192
  # Serialize Request
193
- request_mapper = Azure::ARM::MarketplaceOrdering::Models::AgreementTerms.mapper()
193
+ request_mapper = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms.mapper()
194
194
  request_content = @client.serialize(request_mapper, parameters)
195
195
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
196
196
 
@@ -222,7 +222,7 @@ module Azure::ARM::MarketplaceOrdering
222
222
  if status_code == 200
223
223
  begin
224
224
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
225
- result_mapper = Azure::ARM::MarketplaceOrdering::Models::AgreementTerms.mapper()
225
+ result_mapper = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms.mapper()
226
226
  result.body = @client.deserialize(result_mapper, parsed_response)
227
227
  rescue Exception => e
228
228
  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::ARM::MarketplaceOrdering
6
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
7
7
  #
8
8
  # A service client - single point of access to the REST API.
9
9
  #
@@ -125,8 +125,8 @@ module Azure::ARM::MarketplaceOrdering
125
125
  #
126
126
  def add_telemetry
127
127
  sdk_information = 'azure_mgmt_marketplace_ordering'
128
- if defined? Azure::ARM::MarketplaceOrdering::VERSION
129
- sdk_information = "#{sdk_information}/#{Azure::ARM::MarketplaceOrdering::VERSION}"
128
+ if defined? Azure::MarketplaceOrdering::Mgmt::V2015_06_01::VERSION
129
+ sdk_information = "#{sdk_information}/#{Azure::MarketplaceOrdering::Mgmt::V2015_06_01::VERSION}"
130
130
  end
131
131
  add_user_agent_information(sdk_information)
132
132
  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::ARM::MarketplaceOrdering
6
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
7
7
  module Models
8
8
  #
9
9
  # Terms properties for provided Publisher/Offer/Plan tuple
@@ -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::ARM::MarketplaceOrdering
6
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
7
7
  module Models
8
8
  #
9
9
  # Error reponse indicates Microsoft.MarketplaceOrdering service is not able
@@ -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::ARM::MarketplaceOrdering
6
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
7
7
  module Models
8
8
  #
9
9
  # The details of the error.
@@ -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::ARM::MarketplaceOrdering
6
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
7
7
  module Models
8
8
  #
9
9
  # Microsoft.MarketplaceOrdering REST API operation
@@ -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::ARM::MarketplaceOrdering
6
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
7
7
  module Models
8
8
  #
9
9
  # The object that represents the operation.
@@ -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::ARM::MarketplaceOrdering
6
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
7
7
  module Models
8
8
  #
9
9
  # Result of the request to list MarketplaceOrdering operations. It contains
@@ -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::ARM::MarketplaceOrdering
6
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
7
7
  module Models
8
8
  #
9
9
  # ARM resource.
@@ -4,5 +4,6 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure end
7
- module Azure::ARM end
8
- module Azure::ARM::MarketplaceOrdering end
7
+ module Azure::MarketplaceOrdering end
8
+ module Azure::MarketplaceOrdering::Mgmt end
9
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01 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::ARM::MarketplaceOrdering
6
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
7
7
  #
8
8
  # REST API for MarketplaceOrdering Agreements.
9
9
  #
@@ -89,7 +89,7 @@ module Azure::ARM::MarketplaceOrdering
89
89
  if status_code == 200
90
90
  begin
91
91
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
92
- result_mapper = Azure::ARM::MarketplaceOrdering::Models::OperationListResult.mapper()
92
+ result_mapper = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult.mapper()
93
93
  result.body = @client.deserialize(result_mapper, parsed_response)
94
94
  rescue Exception => e
95
95
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -176,7 +176,7 @@ module Azure::ARM::MarketplaceOrdering
176
176
  if status_code == 200
177
177
  begin
178
178
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
179
- result_mapper = Azure::ARM::MarketplaceOrdering::Models::OperationListResult.mapper()
179
+ result_mapper = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult.mapper()
180
180
  result.body = @client.deserialize(result_mapper, parsed_response)
181
181
  rescue Exception => e
182
182
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,6 +3,6 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::MarketplaceOrdering
7
- VERSION = '0.14.0'
6
+ module Azure::MarketplaceOrdering::Mgmt::V2015_06_01
7
+ VERSION = '0.15.0'
8
8
  end
@@ -2,6 +2,5 @@
2
2
  # Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
- require 'generated/azure_mgmt_marketplace_ordering'
6
-
7
-
5
+ require '2015-06-01/generated/azure_mgmt_marketplace_ordering'
6
+ require 'profiles/latest/marketplaceordering_latest_profile_client'
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::MarketplaceOrdering end
7
+ module Azure::MarketplaceOrdering::Mgmt end
@@ -0,0 +1,73 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::ARM
6
+ # The Azure::ARM::Configurable module provides basic configuration for Azure ARM activities.
7
+ module Configurable
8
+ # @return [String] Azure tenant id (also known as domain).
9
+ attr_accessor :tenant_id
10
+
11
+ # @return [String] Azure client id.
12
+ attr_accessor :client_id
13
+
14
+ # @return [String] Azure secret key.
15
+ attr_accessor :client_secret
16
+
17
+ # @return [String] Azure subscription id.
18
+ attr_accessor :subscription_id
19
+
20
+ # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
21
+ attr_accessor :active_directory_settings
22
+
23
+ # @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
24
+ attr_accessor :credentials
25
+
26
+ class << self
27
+ #
28
+ # List of configurable keys for {Azure::ARM::Client}.
29
+ # @return [Array] of option keys.
30
+ #
31
+ def keys
32
+ @keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings, :credentials]
33
+ end
34
+ end
35
+
36
+ #
37
+ # Set configuration options using a block.
38
+ #
39
+ def configure
40
+ yield self
41
+ end
42
+
43
+ #
44
+ # Resets the configurable options to provided options or defaults.
45
+ # This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
46
+ #
47
+ def reset!(options = {})
48
+ Azure::ARM::Configurable.keys.each do |key|
49
+ default_value = Azure::ARM::Default.options[key]
50
+ instance_variable_set(:"@#{key}", options.fetch(key, default_value))
51
+ end
52
+
53
+ self
54
+ end
55
+
56
+ def config
57
+ self
58
+ end
59
+
60
+ private
61
+
62
+ #
63
+ # configures configurable options to default values
64
+ #
65
+ def setup_options
66
+ opts = {}
67
+ Azure::ARM::Configurable.keys.map do |key|
68
+ opts[key] = Azure::ARM::Default.options[key]
69
+ end
70
+ opts
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,68 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::ARM
6
+ # Default configuration options for {Azure::ARM.Client}
7
+ module Default
8
+ class << self
9
+ #
10
+ # Default Azure Tenant Id.
11
+ # @return [String] Azure Tenant Id.
12
+ #
13
+ def tenant_id
14
+ ENV['AZURE_TENANT_ID']
15
+ end
16
+
17
+ #
18
+ # Default Azure Client Id.
19
+ # @return [String] Azure Client Id.
20
+ #
21
+ def client_id
22
+ ENV['AZURE_CLIENT_ID']
23
+ end
24
+
25
+ #
26
+ # Default Azure Client Secret.
27
+ # @return [String] Azure Client Secret.
28
+ #
29
+ def client_secret
30
+ ENV['AZURE_CLIENT_SECRET']
31
+ end
32
+
33
+ #
34
+ # Default Azure Subscription Id.
35
+ # @return [String] Azure Subscription Id.
36
+ #
37
+ def subscription_id
38
+ ENV['AZURE_SUBSCRIPTION_ID']
39
+ end
40
+
41
+ #
42
+ # Default Azure credentials to authorize HTTP requests made by the service client.
43
+ # @return [MsRest::ServiceClientCredentials] Azure credentials to authorize HTTP requests made by the service client.
44
+ #
45
+ def credentials
46
+ MsRest::TokenCredentials.new(
47
+ MsRestAzure::ApplicationTokenProvider.new(
48
+ self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
49
+ end
50
+
51
+ #
52
+ # Default Azure Active Directory Service Settings.
53
+ # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
54
+ #
55
+ def active_directory_settings
56
+ MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
57
+ end
58
+
59
+ #
60
+ # Configuration options.
61
+ # @return [Hash] Configuration options.
62
+ #
63
+ def options
64
+ Hash[Azure::ARM::Configurable.keys.map{|key| [key, send(key)]}]
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,33 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/latest/marketplaceordering_module_definition'
6
+ require 'profiles/latest/modules/marketplaceordering_profile_module'
7
+ require 'profiles/common/configurable'
8
+ require 'profiles/common/default'
9
+
10
+ module Azure::MarketplaceOrdering::Profiles::Latest::Mgmt
11
+ #
12
+ # Client class for the Latest profile SDK.
13
+ #
14
+ class Client < MarketplaceOrderingClass
15
+ include Azure::ARM::Configurable
16
+
17
+
18
+ def initialize(options = {})
19
+ super(options)
20
+ end
21
+
22
+ def credentials
23
+ if @credentials.nil?
24
+ self.active_directory_settings ||= Azure::ARM::Default.active_directory_settings
25
+
26
+ @credentials = MsRest::TokenCredentials.new(
27
+ MsRestAzure::ApplicationTokenProvider.new(
28
+ self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
29
+ end
30
+ @credentials
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::MarketplaceOrdering end
7
+ module Azure::MarketplaceOrdering::Profiles end
8
+ module Azure::MarketplaceOrdering::Profiles::Latest end
9
+ module Azure::MarketplaceOrdering::Profiles::Latest::Mgmt end
@@ -0,0 +1,72 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_marketplace_ordering'
6
+
7
+ module Azure::MarketplaceOrdering::Profiles::Latest::Mgmt
8
+ MarketplaceAgreements = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::MarketplaceAgreements
9
+ Operations = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Operations
10
+
11
+ module Models
12
+ OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay
13
+ Operation = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation
14
+ ErrorResponseError = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError
15
+ OperationListResult = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult
16
+ ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse
17
+ Resource = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource
18
+ AgreementTerms = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms
19
+ end
20
+
21
+ #
22
+ # MarketplaceOrdering
23
+ #
24
+ class MarketplaceOrderingClass
25
+ attr_reader :marketplace_agreements, :operations, :configurable, :base_url, :options, :model_classes
26
+
27
+ def initialize(options = {})
28
+ if options.is_a?(Hash) && options.length == 0
29
+ @options = setup_options
30
+ else
31
+ @options = options
32
+ end
33
+
34
+ reset!(options)
35
+
36
+ @configurable, @base_url, @options = self, nil, nil
37
+
38
+ client_0 = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::MarketplaceOrderingAgreements.new(configurable.credentials, base_url, options)
39
+ if(client_0.respond_to?(:subscription_id))
40
+ client_0.subscription_id = configurable.subscription_id
41
+ end
42
+ @marketplace_agreements = client_0.marketplace_agreements
43
+ @operations = client_0.operations
44
+
45
+ @model_classes = ModelClasses.new
46
+ end
47
+
48
+ class ModelClasses
49
+ def operation_display
50
+ Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay
51
+ end
52
+ def operation
53
+ Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation
54
+ end
55
+ def error_response_error
56
+ Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError
57
+ end
58
+ def operation_list_result
59
+ Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult
60
+ end
61
+ def error_response
62
+ Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse
63
+ end
64
+ def resource
65
+ Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource
66
+ end
67
+ def agreement_terms
68
+ Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::MarketplaceOrdering::Mgmt
6
+ VERSION = '0.15.0'
7
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_marketplace_ordering
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.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-10-09 00:00:00.000000000 Z
11
+ date: 2017-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -87,20 +87,27 @@ extensions: []
87
87
  extra_rdoc_files: []
88
88
  files:
89
89
  - LICENSE.txt
90
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering.rb
91
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/marketplace_agreements.rb
92
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/marketplace_ordering_agreements.rb
93
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/models/agreement_terms.rb
94
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/models/error_response.rb
95
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/models/error_response_error.rb
96
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/models/operation.rb
97
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/models/operation_display.rb
98
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/models/operation_list_result.rb
99
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/models/resource.rb
100
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/module_definition.rb
101
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/operations.rb
102
+ - lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/version.rb
90
103
  - lib/azure_mgmt_marketplace_ordering.rb
91
- - lib/generated/azure_mgmt_marketplace_ordering.rb
92
- - lib/generated/azure_mgmt_marketplace_ordering/marketplace_agreements.rb
93
- - lib/generated/azure_mgmt_marketplace_ordering/marketplace_ordering_agreements.rb
94
- - lib/generated/azure_mgmt_marketplace_ordering/models/agreement_terms.rb
95
- - lib/generated/azure_mgmt_marketplace_ordering/models/error_response.rb
96
- - lib/generated/azure_mgmt_marketplace_ordering/models/error_response_error.rb
97
- - lib/generated/azure_mgmt_marketplace_ordering/models/operation.rb
98
- - lib/generated/azure_mgmt_marketplace_ordering/models/operation_display.rb
99
- - lib/generated/azure_mgmt_marketplace_ordering/models/operation_list_result.rb
100
- - lib/generated/azure_mgmt_marketplace_ordering/models/resource.rb
101
- - lib/generated/azure_mgmt_marketplace_ordering/module_definition.rb
102
- - lib/generated/azure_mgmt_marketplace_ordering/operations.rb
103
- - lib/generated/azure_mgmt_marketplace_ordering/version.rb
104
+ - lib/module_definition.rb
105
+ - lib/profiles/common/configurable.rb
106
+ - lib/profiles/common/default.rb
107
+ - lib/profiles/latest/marketplaceordering_latest_profile_client.rb
108
+ - lib/profiles/latest/marketplaceordering_module_definition.rb
109
+ - lib/profiles/latest/modules/marketplaceordering_profile_module.rb
110
+ - lib/version.rb
104
111
  homepage: https://aka.ms/azure-sdk-for-ruby
105
112
  licenses:
106
113
  - MIT