azure_mgmt_marketplace_ordering 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f9373f8b0be9b965f42872eceb31b31feeb463bf
4
+ data.tar.gz: f04b8cb23245bf6206d08fbabd77bbd86c3d7d72
5
+ SHA512:
6
+ metadata.gz: e0f822e50f48bc7830f702d43b37fbd07a9a71c664444640945d1ed3f2ff0fca0434d2ede6f5d9efabcef13f873609ad613cb20ad88572b3a08ce4cae11087c4
7
+ data.tar.gz: 4fe500dc01e7437611af32da57c32398309c4c8079d1d25a36c344e6a4aa33e45fc410292201c36696d35226bb1fad1e2c1e0c13df7bec1892d8ea219a82bf7a
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Microsoft Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -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
+ require 'generated/azure_mgmt_marketplace_ordering'
6
+
7
+
@@ -0,0 +1,36 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require 'generated/azure_mgmt_marketplace_ordering/module_definition'
20
+ require 'ms_rest_azure'
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'
26
+
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'
35
+ end
36
+ end
@@ -0,0 +1,239 @@
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::ARM::MarketplaceOrdering
7
+ #
8
+ # REST API for MarketplaceOrdering Agreements.
9
+ #
10
+ class MarketplaceAgreements
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the MarketplaceAgreements class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [MarketplaceOrderingAgreements] reference to the MarketplaceOrderingAgreements
22
+ attr_reader :client
23
+
24
+ #
25
+ # Get marketplace terms.
26
+ #
27
+ # @param publisher_id [String] Publisher identifier string of image being
28
+ # deployed.
29
+ # @param offer_id [String] Offer identifier string of image being deployed.
30
+ # @param plan_id [String] Plan identifier string of image being deployed.
31
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
+ # will be added to the HTTP request.
33
+ #
34
+ # @return [AgreementTerms] operation results.
35
+ #
36
+ def get(publisher_id, offer_id, plan_id, custom_headers = nil)
37
+ response = get_async(publisher_id, offer_id, plan_id, custom_headers).value!
38
+ response.body unless response.nil?
39
+ end
40
+
41
+ #
42
+ # Get marketplace terms.
43
+ #
44
+ # @param publisher_id [String] Publisher identifier string of image being
45
+ # deployed.
46
+ # @param offer_id [String] Offer identifier string of image being deployed.
47
+ # @param plan_id [String] Plan identifier string of image being deployed.
48
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
+ # will be added to the HTTP request.
50
+ #
51
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
+ #
53
+ def get_with_http_info(publisher_id, offer_id, plan_id, custom_headers = nil)
54
+ get_async(publisher_id, offer_id, plan_id, custom_headers).value!
55
+ end
56
+
57
+ #
58
+ # Get marketplace terms.
59
+ #
60
+ # @param publisher_id [String] Publisher identifier string of image being
61
+ # deployed.
62
+ # @param offer_id [String] Offer identifier string of image being deployed.
63
+ # @param plan_id [String] Plan identifier string of image being deployed.
64
+ # @param [Hash{String => String}] A hash of custom headers that will be added
65
+ # to the HTTP request.
66
+ #
67
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
+ #
69
+ def get_async(publisher_id, offer_id, plan_id, custom_headers = nil)
70
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
71
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
72
+ offer_type = 'virtualmachine'
73
+ fail ArgumentError, 'publisher_id is nil' if publisher_id.nil?
74
+ fail ArgumentError, 'offer_id is nil' if offer_id.nil?
75
+ fail ArgumentError, 'plan_id is nil' if plan_id.nil?
76
+
77
+
78
+ request_headers = {}
79
+
80
+ # Set Headers
81
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
82
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
83
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current'
84
+
85
+ request_url = @base_url || @client.base_url
86
+
87
+ options = {
88
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
89
+ path_params: {'subscriptionId' => @client.subscription_id,'offerType' => offer_type,'publisherId' => publisher_id,'offerId' => offer_id,'planId' => plan_id},
90
+ query_params: {'api-version' => @client.api_version},
91
+ headers: request_headers.merge(custom_headers || {}),
92
+ base_url: request_url
93
+ }
94
+ promise = @client.make_request_async(:get, path_template, options)
95
+
96
+ promise = promise.then do |result|
97
+ http_response = result.response
98
+ status_code = http_response.status
99
+ response_content = http_response.body
100
+ unless status_code == 200
101
+ error_model = JSON.load(response_content)
102
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
103
+ end
104
+
105
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
106
+ # Deserialize Response
107
+ if status_code == 200
108
+ begin
109
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
110
+ result_mapper = Azure::ARM::MarketplaceOrdering::Models::AgreementTerms.mapper()
111
+ result.body = @client.deserialize(result_mapper, parsed_response)
112
+ rescue Exception => e
113
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
114
+ end
115
+ end
116
+
117
+ result
118
+ end
119
+
120
+ promise.execute
121
+ end
122
+
123
+ #
124
+ # Save marketplace terms.
125
+ #
126
+ # @param publisher_id [String] Publisher identifier string of image being
127
+ # deployed.
128
+ # @param offer_id [String] Offer identifier string of image being deployed.
129
+ # @param plan_id [String] Plan identifier string of image being deployed.
130
+ # @param parameters [AgreementTerms] Parameters supplied to the Create
131
+ # Marketplace Terms operation.
132
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
133
+ # will be added to the HTTP request.
134
+ #
135
+ # @return [AgreementTerms] operation results.
136
+ #
137
+ def create(publisher_id, offer_id, plan_id, parameters, custom_headers = nil)
138
+ response = create_async(publisher_id, offer_id, plan_id, parameters, custom_headers).value!
139
+ response.body unless response.nil?
140
+ end
141
+
142
+ #
143
+ # Save marketplace terms.
144
+ #
145
+ # @param publisher_id [String] Publisher identifier string of image being
146
+ # deployed.
147
+ # @param offer_id [String] Offer identifier string of image being deployed.
148
+ # @param plan_id [String] Plan identifier string of image being deployed.
149
+ # @param parameters [AgreementTerms] Parameters supplied to the Create
150
+ # Marketplace Terms operation.
151
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
152
+ # will be added to the HTTP request.
153
+ #
154
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
155
+ #
156
+ def create_with_http_info(publisher_id, offer_id, plan_id, parameters, custom_headers = nil)
157
+ create_async(publisher_id, offer_id, plan_id, parameters, custom_headers).value!
158
+ end
159
+
160
+ #
161
+ # Save marketplace terms.
162
+ #
163
+ # @param publisher_id [String] Publisher identifier string of image being
164
+ # deployed.
165
+ # @param offer_id [String] Offer identifier string of image being deployed.
166
+ # @param plan_id [String] Plan identifier string of image being deployed.
167
+ # @param parameters [AgreementTerms] Parameters supplied to the Create
168
+ # Marketplace Terms operation.
169
+ # @param [Hash{String => String}] A hash of custom headers that will be added
170
+ # to the HTTP request.
171
+ #
172
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
173
+ #
174
+ def create_async(publisher_id, offer_id, plan_id, parameters, custom_headers = nil)
175
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
176
+ offer_type = 'virtualmachine'
177
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
178
+ fail ArgumentError, 'publisher_id is nil' if publisher_id.nil?
179
+ fail ArgumentError, 'offer_id is nil' if offer_id.nil?
180
+ fail ArgumentError, 'plan_id is nil' if plan_id.nil?
181
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
182
+
183
+
184
+ request_headers = {}
185
+
186
+ # Set Headers
187
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
188
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
189
+
190
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
191
+
192
+ # Serialize Request
193
+ request_mapper = Azure::ARM::MarketplaceOrdering::Models::AgreementTerms.mapper()
194
+ request_content = @client.serialize(request_mapper, parameters)
195
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
196
+
197
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current'
198
+
199
+ request_url = @base_url || @client.base_url
200
+
201
+ options = {
202
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
203
+ path_params: {'offerType' => offer_type,'subscriptionId' => @client.subscription_id,'publisherId' => publisher_id,'offerId' => offer_id,'planId' => plan_id},
204
+ query_params: {'api-version' => @client.api_version},
205
+ body: request_content,
206
+ headers: request_headers.merge(custom_headers || {}),
207
+ base_url: request_url
208
+ }
209
+ promise = @client.make_request_async(:put, path_template, options)
210
+
211
+ promise = promise.then do |result|
212
+ http_response = result.response
213
+ status_code = http_response.status
214
+ response_content = http_response.body
215
+ unless status_code == 200
216
+ error_model = JSON.load(response_content)
217
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
218
+ end
219
+
220
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
221
+ # Deserialize Response
222
+ if status_code == 200
223
+ begin
224
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
225
+ result_mapper = Azure::ARM::MarketplaceOrdering::Models::AgreementTerms.mapper()
226
+ result.body = @client.deserialize(result_mapper, parsed_response)
227
+ rescue Exception => e
228
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
229
+ end
230
+ end
231
+
232
+ result
233
+ end
234
+
235
+ promise.execute
236
+ end
237
+
238
+ end
239
+ end
@@ -0,0 +1,134 @@
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::ARM::MarketplaceOrdering
7
+ #
8
+ # A service client - single point of access to the REST API.
9
+ #
10
+ class MarketplaceOrderingAgreements < MsRestAzure::AzureServiceClient
11
+ include MsRestAzure
12
+ include MsRestAzure::Serialization
13
+
14
+ # @return [String] the base URI of the service.
15
+ attr_accessor :base_url
16
+
17
+ # @return Credentials needed for the client to connect to Azure.
18
+ attr_reader :credentials
19
+
20
+ # @return [String] The subscription ID that identifies an Azure
21
+ # subscription.
22
+ attr_accessor :subscription_id
23
+
24
+ # @return [String] The API version to use for the request.
25
+ attr_reader :api_version
26
+
27
+ # @return [String] Gets or sets the preferred language for the response.
28
+ attr_accessor :accept_language
29
+
30
+ # @return [Integer] Gets or sets the retry timeout in seconds for Long
31
+ # Running Operations. Default value is 30.
32
+ attr_accessor :long_running_operation_retry_timeout
33
+
34
+ # @return [Boolean] When set to true a unique x-ms-client-request-id value
35
+ # is generated and included in each request. Default is true.
36
+ attr_accessor :generate_client_request_id
37
+
38
+ # @return [MarketplaceAgreements] marketplace_agreements
39
+ attr_reader :marketplace_agreements
40
+
41
+ # @return [Operations] operations
42
+ attr_reader :operations
43
+
44
+ #
45
+ # Creates initializes a new instance of the MarketplaceOrderingAgreements class.
46
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
47
+ # @param base_url [String] the base URI of the service.
48
+ # @param options [Array] filters to be applied to the HTTP requests.
49
+ #
50
+ def initialize(credentials = nil, base_url = nil, options = nil)
51
+ super(credentials, options)
52
+ @base_url = base_url || 'https://management.azure.com'
53
+
54
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
55
+ @credentials = credentials
56
+
57
+ @marketplace_agreements = MarketplaceAgreements.new(self)
58
+ @operations = Operations.new(self)
59
+ @api_version = '2015-06-01'
60
+ @accept_language = 'en-US'
61
+ @long_running_operation_retry_timeout = 30
62
+ @generate_client_request_id = true
63
+ add_telemetry
64
+ end
65
+
66
+ #
67
+ # Makes a request and returns the body of the response.
68
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
69
+ # @param path [String] the path, relative to {base_url}.
70
+ # @param options [Hash{String=>String}] specifying any request options like :body.
71
+ # @return [Hash{String=>String}] containing the body of the response.
72
+ # Example:
73
+ #
74
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
75
+ # path = "/path"
76
+ # options = {
77
+ # body: request_content,
78
+ # query_params: {'api-version' => '2016-02-01'}
79
+ # }
80
+ # result = @client.make_request(:put, path, options)
81
+ #
82
+ def make_request(method, path, options = {})
83
+ result = make_request_with_http_info(method, path, options)
84
+ result.body unless result.nil?
85
+ end
86
+
87
+ #
88
+ # Makes a request and returns the operation response.
89
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
90
+ # @param path [String] the path, relative to {base_url}.
91
+ # @param options [Hash{String=>String}] specifying any request options like :body.
92
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
93
+ #
94
+ def make_request_with_http_info(method, path, options = {})
95
+ result = make_request_async(method, path, options).value!
96
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
97
+ result
98
+ end
99
+
100
+ #
101
+ # Makes a request asynchronously.
102
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
103
+ # @param path [String] the path, relative to {base_url}.
104
+ # @param options [Hash{String=>String}] specifying any request options like :body.
105
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
106
+ #
107
+ def make_request_async(method, path, options = {})
108
+ fail ArgumentError, 'method is nil' if method.nil?
109
+ fail ArgumentError, 'path is nil' if path.nil?
110
+
111
+ request_url = options[:base_url] || @base_url
112
+
113
+ request_headers = @request_headers
114
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
115
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
116
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
117
+
118
+ super(request_url, method, path, options)
119
+ end
120
+
121
+
122
+ private
123
+ #
124
+ # Adds telemetry information.
125
+ #
126
+ def add_telemetry
127
+ sdk_information = 'azure_mgmt_marketplace_ordering'
128
+ if defined? Azure::ARM::MarketplaceOrdering::VERSION
129
+ sdk_information = "#{sdk_information}/#{Azure::ARM::MarketplaceOrdering::VERSION}"
130
+ end
131
+ add_user_agent_information(sdk_information)
132
+ end
133
+ end
134
+ end
@@ -0,0 +1,140 @@
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::ARM::MarketplaceOrdering
7
+ module Models
8
+ #
9
+ # Terms properties for provided Publisher/Offer/Plan tuple
10
+ #
11
+ class AgreementTerms < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Publisher identifier string of image being deployed.
16
+ attr_accessor :publisher
17
+
18
+ # @return [String] Offer identifier string of image being deployed.
19
+ attr_accessor :product
20
+
21
+ # @return [String] Plan identifier string of image being deployed.
22
+ attr_accessor :plan
23
+
24
+ # @return [String] Link to HTML with Microsoft and Publisher terms.
25
+ attr_accessor :license_text_link
26
+
27
+ # @return [String] Link to the privacy policy of the publisher.
28
+ attr_accessor :privacy_policy_link
29
+
30
+ # @return [DateTime] Date and time in UTC of when the terms were
31
+ # accepted. This is empty if Accepted is false.
32
+ attr_accessor :retrieve_datetime
33
+
34
+ # @return [String] Terms signature.
35
+ attr_accessor :signature
36
+
37
+ # @return [Boolean] If any version of the terms have been accepted,
38
+ # otherwise false.
39
+ attr_accessor :accepted
40
+
41
+
42
+ #
43
+ # Mapper for AgreementTerms class as Ruby Hash.
44
+ # This will be used for serialization/deserialization.
45
+ #
46
+ def self.mapper()
47
+ {
48
+ required: false,
49
+ serialized_name: 'AgreementTerms',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'AgreementTerms',
53
+ model_properties: {
54
+ id: {
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'id',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ name: {
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'name',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ type: {
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'type',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ publisher: {
79
+ required: false,
80
+ serialized_name: 'properties.publisher',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ product: {
86
+ required: false,
87
+ serialized_name: 'properties.product',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ plan: {
93
+ required: false,
94
+ serialized_name: 'properties.plan',
95
+ type: {
96
+ name: 'String'
97
+ }
98
+ },
99
+ license_text_link: {
100
+ required: false,
101
+ serialized_name: 'properties.licenseTextLink',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ privacy_policy_link: {
107
+ required: false,
108
+ serialized_name: 'properties.privacyPolicyLink',
109
+ type: {
110
+ name: 'String'
111
+ }
112
+ },
113
+ retrieve_datetime: {
114
+ required: false,
115
+ serialized_name: 'properties.retrieveDatetime',
116
+ type: {
117
+ name: 'DateTime'
118
+ }
119
+ },
120
+ signature: {
121
+ required: false,
122
+ serialized_name: 'properties.signature',
123
+ type: {
124
+ name: 'String'
125
+ }
126
+ },
127
+ accepted: {
128
+ required: false,
129
+ serialized_name: 'properties.accepted',
130
+ type: {
131
+ name: 'Boolean'
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+ end
138
+ end
139
+ end
140
+ end
@@ -0,0 +1,47 @@
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::ARM::MarketplaceOrdering
7
+ module Models
8
+ #
9
+ # Error reponse indicates Microsoft.MarketplaceOrdering service is not able
10
+ # to process the incoming request. The reason is provided in the error
11
+ # message.
12
+ #
13
+ class ErrorResponse
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [ErrorResponseError] The details of the error.
18
+ attr_accessor :error
19
+
20
+
21
+ #
22
+ # Mapper for ErrorResponse class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ required: false,
28
+ serialized_name: 'ErrorResponse',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ErrorResponse',
32
+ model_properties: {
33
+ error: {
34
+ required: false,
35
+ serialized_name: 'error',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ErrorResponseError'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,56 @@
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::ARM::MarketplaceOrdering
7
+ module Models
8
+ #
9
+ # The details of the error.
10
+ #
11
+ class ErrorResponseError
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Error code.
16
+ attr_accessor :code
17
+
18
+ # @return [String] Error message indicating why the operation failed.
19
+ attr_accessor :message
20
+
21
+
22
+ #
23
+ # Mapper for ErrorResponseError class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'ErrorResponse_error',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'ErrorResponseError',
33
+ model_properties: {
34
+ code: {
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'code',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ message: {
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'message',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,55 @@
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::ARM::MarketplaceOrdering
7
+ module Models
8
+ #
9
+ # Microsoft.MarketplaceOrdering REST API operation
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Operation name: {provider}/{resource}/{operation}
16
+ attr_accessor :name
17
+
18
+ # @return [OperationDisplay] The object that represents the operation.
19
+ attr_accessor :display
20
+
21
+
22
+ #
23
+ # Mapper for Operation class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'Operation',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'Operation',
33
+ model_properties: {
34
+ name: {
35
+ required: false,
36
+ serialized_name: 'name',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ display: {
42
+ required: false,
43
+ serialized_name: 'display',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'OperationDisplay'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,66 @@
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::ARM::MarketplaceOrdering
7
+ module Models
8
+ #
9
+ # The object that represents the operation.
10
+ #
11
+ class OperationDisplay
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Service provider: Microsoft.MarketplaceOrdering
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Resource on which the operation is performed:
19
+ # Agreement, virtualmachine, etc.
20
+ attr_accessor :resource
21
+
22
+ # @return [String] Operation type: Get Agreement, Sign Agreement, Cancel
23
+ # Agreement etc.
24
+ attr_accessor :operation
25
+
26
+
27
+ #
28
+ # Mapper for OperationDisplay class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'Operation_display',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'OperationDisplay',
38
+ model_properties: {
39
+ provider: {
40
+ required: false,
41
+ serialized_name: 'provider',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ resource: {
47
+ required: false,
48
+ serialized_name: 'resource',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ operation: {
54
+ required: false,
55
+ serialized_name: 'operation',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,99 @@
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::ARM::MarketplaceOrdering
7
+ module Models
8
+ #
9
+ # Result of the request to list MarketplaceOrdering operations. It contains
10
+ # a list of operations and a URL link to get the next set of results.
11
+ #
12
+ class OperationListResult
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [Array<Operation>] List of Microsoft.MarketplaceOrdering
18
+ # operations supported by the Microsoft.MarketplaceOrdering resource
19
+ # provider.
20
+ attr_accessor :value
21
+
22
+ # @return [String] URL to get the next set of operation list results if
23
+ # there are any.
24
+ attr_accessor :next_link
25
+
26
+ # return [Proc] with next page method call.
27
+ attr_accessor :next_method
28
+
29
+ #
30
+ # Gets the rest of the items for the request, enabling auto-pagination.
31
+ #
32
+ # @return [Array<Operation>] operation results.
33
+ #
34
+ def get_all_items
35
+ items = @value
36
+ page = self
37
+ while page.next_link != nil do
38
+ page = page.get_next_page
39
+ items.concat(page.value)
40
+ end
41
+ items
42
+ end
43
+
44
+ #
45
+ # Gets the next page of results.
46
+ #
47
+ # @return [OperationListResult] with next page content.
48
+ #
49
+ def get_next_page
50
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
51
+ unless response.nil?
52
+ @next_link = response.body.next_link
53
+ @value = response.body.value
54
+ self
55
+ end
56
+ end
57
+
58
+ #
59
+ # Mapper for OperationListResult class as Ruby Hash.
60
+ # This will be used for serialization/deserialization.
61
+ #
62
+ def self.mapper()
63
+ {
64
+ required: false,
65
+ serialized_name: 'OperationListResult',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'OperationListResult',
69
+ model_properties: {
70
+ value: {
71
+ required: false,
72
+ serialized_name: 'value',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ required: false,
77
+ serialized_name: 'OperationElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'Operation'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'nextLink',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,67 @@
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::ARM::MarketplaceOrdering
7
+ module Models
8
+ #
9
+ # ARM resource.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource ID.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Resource name.
19
+ attr_accessor :name
20
+
21
+ # @return [String] Resource type.
22
+ attr_accessor :type
23
+
24
+
25
+ #
26
+ # Mapper for Resource class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'Resource',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'Resource',
36
+ model_properties: {
37
+ id: {
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'id',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ name: {
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ type: {
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'type',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,8 @@
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 end
7
+ module Azure::ARM end
8
+ module Azure::ARM::MarketplaceOrdering end
@@ -0,0 +1,213 @@
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::ARM::MarketplaceOrdering
7
+ #
8
+ # REST API for MarketplaceOrdering Agreements.
9
+ #
10
+ class Operations
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the Operations class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [MarketplaceOrderingAgreements] reference to the MarketplaceOrderingAgreements
22
+ attr_reader :client
23
+
24
+ #
25
+ # Lists all of the available Microsoft.MarketplaceOrdering REST API operations.
26
+ #
27
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
28
+ # will be added to the HTTP request.
29
+ #
30
+ # @return [Array<Operation>] operation results.
31
+ #
32
+ def list(custom_headers = nil)
33
+ first_page = list_as_lazy(custom_headers)
34
+ first_page.get_all_items
35
+ end
36
+
37
+ #
38
+ # Lists all of the available Microsoft.MarketplaceOrdering REST API operations.
39
+ #
40
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
41
+ # will be added to the HTTP request.
42
+ #
43
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
44
+ #
45
+ def list_with_http_info(custom_headers = nil)
46
+ list_async(custom_headers).value!
47
+ end
48
+
49
+ #
50
+ # Lists all of the available Microsoft.MarketplaceOrdering REST API operations.
51
+ #
52
+ # @param [Hash{String => String}] A hash of custom headers that will be added
53
+ # to the HTTP request.
54
+ #
55
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
56
+ #
57
+ def list_async(custom_headers = nil)
58
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
59
+
60
+
61
+ request_headers = {}
62
+
63
+ # Set Headers
64
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
65
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
66
+ path_template = 'providers/Microsoft.MarketplaceOrdering/operations'
67
+
68
+ request_url = @base_url || @client.base_url
69
+
70
+ options = {
71
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
72
+ query_params: {'api-version' => @client.api_version},
73
+ headers: request_headers.merge(custom_headers || {}),
74
+ base_url: request_url
75
+ }
76
+ promise = @client.make_request_async(:get, path_template, options)
77
+
78
+ promise = promise.then do |result|
79
+ http_response = result.response
80
+ status_code = http_response.status
81
+ response_content = http_response.body
82
+ unless status_code == 200
83
+ error_model = JSON.load(response_content)
84
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
85
+ end
86
+
87
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
88
+ # Deserialize Response
89
+ if status_code == 200
90
+ begin
91
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
92
+ result_mapper = Azure::ARM::MarketplaceOrdering::Models::OperationListResult.mapper()
93
+ result.body = @client.deserialize(result_mapper, parsed_response)
94
+ rescue Exception => e
95
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
96
+ end
97
+ end
98
+
99
+ result
100
+ end
101
+
102
+ promise.execute
103
+ end
104
+
105
+ #
106
+ # Lists all of the available Microsoft.MarketplaceOrdering REST API operations.
107
+ #
108
+ # @param next_page_link [String] The NextLink from the previous successful call
109
+ # to List operation.
110
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
111
+ # will be added to the HTTP request.
112
+ #
113
+ # @return [OperationListResult] operation results.
114
+ #
115
+ def list_next(next_page_link, custom_headers = nil)
116
+ response = list_next_async(next_page_link, custom_headers).value!
117
+ response.body unless response.nil?
118
+ end
119
+
120
+ #
121
+ # Lists all of the available Microsoft.MarketplaceOrdering REST API operations.
122
+ #
123
+ # @param next_page_link [String] The NextLink from the previous successful call
124
+ # to List operation.
125
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
126
+ # will be added to the HTTP request.
127
+ #
128
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
129
+ #
130
+ def list_next_with_http_info(next_page_link, custom_headers = nil)
131
+ list_next_async(next_page_link, custom_headers).value!
132
+ end
133
+
134
+ #
135
+ # Lists all of the available Microsoft.MarketplaceOrdering REST API operations.
136
+ #
137
+ # @param next_page_link [String] The NextLink from the previous successful call
138
+ # to List operation.
139
+ # @param [Hash{String => String}] A hash of custom headers that will be added
140
+ # to the HTTP request.
141
+ #
142
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
143
+ #
144
+ def list_next_async(next_page_link, custom_headers = nil)
145
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
146
+
147
+
148
+ request_headers = {}
149
+
150
+ # Set Headers
151
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
152
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
153
+ path_template = '{nextLink}'
154
+
155
+ request_url = @base_url || @client.base_url
156
+
157
+ options = {
158
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
159
+ skip_encoding_path_params: {'nextLink' => next_page_link},
160
+ headers: request_headers.merge(custom_headers || {}),
161
+ base_url: request_url
162
+ }
163
+ promise = @client.make_request_async(:get, path_template, options)
164
+
165
+ promise = promise.then do |result|
166
+ http_response = result.response
167
+ status_code = http_response.status
168
+ response_content = http_response.body
169
+ unless status_code == 200
170
+ error_model = JSON.load(response_content)
171
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
172
+ end
173
+
174
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
175
+ # Deserialize Response
176
+ if status_code == 200
177
+ begin
178
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
179
+ result_mapper = Azure::ARM::MarketplaceOrdering::Models::OperationListResult.mapper()
180
+ result.body = @client.deserialize(result_mapper, parsed_response)
181
+ rescue Exception => e
182
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
183
+ end
184
+ end
185
+
186
+ result
187
+ end
188
+
189
+ promise.execute
190
+ end
191
+
192
+ #
193
+ # Lists all of the available Microsoft.MarketplaceOrdering REST API operations.
194
+ #
195
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
196
+ # will be added to the HTTP request.
197
+ #
198
+ # @return [OperationListResult] which provide lazy access to pages of the
199
+ # response.
200
+ #
201
+ def list_as_lazy(custom_headers = nil)
202
+ response = list_async(custom_headers).value!
203
+ unless response.nil?
204
+ page = response.body
205
+ page.next_method = Proc.new do |next_page_link|
206
+ list_next_async(next_page_link, custom_headers)
207
+ end
208
+ page
209
+ end
210
+ end
211
+
212
+ end
213
+ end
@@ -0,0 +1,8 @@
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::ARM::MarketplaceOrdering
7
+ VERSION = '0.14.0'
8
+ end
metadata ADDED
@@ -0,0 +1,128 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: azure_mgmt_marketplace_ordering
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.14.0
5
+ platform: ruby
6
+ authors:
7
+ - Microsoft Corporation
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: dotenv
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ms_rest_azure
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.9.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.9.0
83
+ description: Microsoft Azure Marketplace Ordering Library for Ruby
84
+ email: azrubyteam@microsoft.com
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - LICENSE.txt
90
+ - 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
+ homepage: https://aka.ms/azure-sdk-for-ruby
105
+ licenses:
106
+ - MIT
107
+ metadata: {}
108
+ post_install_message:
109
+ rdoc_options: []
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: 2.0.0
117
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ requirements: []
123
+ rubyforge_project:
124
+ rubygems_version: 2.5.1
125
+ signing_key:
126
+ specification_version: 4
127
+ summary: Official Ruby client library to consume Microsoft Azure Marketplace Ordering.
128
+ test_files: []