azure_mgmt_consumption 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/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption.rb +14 -14
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/consumption_management_client.rb +3 -3
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/models/error_details.rb +1 -1
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/models/error_response.rb +1 -1
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/models/meter_details.rb +1 -1
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/models/operation.rb +1 -1
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/models/operation_display.rb +1 -1
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/models/operation_list_result.rb +1 -1
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/models/resource.rb +1 -1
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/models/usage_detail.rb +1 -1
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/models/usage_details_list_result.rb +1 -1
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/module_definition.rb +3 -2
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/operations.rb +3 -3
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/usage_details.rb +3 -3
- data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/version.rb +2 -2
- data/lib/azure_mgmt_consumption.rb +2 -2
- 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/consumption_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/consumption_module_definition.rb +9 -0
- data/lib/profiles/latest/modules/consumption_profile_module.rb +80 -0
- data/lib/version.rb +7 -0
- metadata +24 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35e441503e8261562e6655682a5bf07f0e89df34
|
4
|
+
data.tar.gz: 3d56c394b59c14c1101baa3e51988fc0c05ec7dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d0beb0e7ed088db0e2fd10958027df62102a4f9aaee34ecaeb85978c8f0a5e9c343466f9925a47ceb827e41a392743b47fb96ba6186ea1acd2f063923ec2be2
|
7
|
+
data.tar.gz: eba929d4ee79fe8baa4222dde686998941d36828206180e9bd275ba429ab51b6c981542037b1459a50bc051c92bc331126d3167ca5ef81aea6cf2e6843e5bd06
|
@@ -16,23 +16,23 @@ require 'faraday'
|
|
16
16
|
require 'faraday-cookie_jar'
|
17
17
|
require 'concurrent'
|
18
18
|
require 'ms_rest'
|
19
|
-
require 'generated/azure_mgmt_consumption/module_definition'
|
19
|
+
require '2017-04-24-preview/generated/azure_mgmt_consumption/module_definition'
|
20
20
|
require 'ms_rest_azure'
|
21
21
|
|
22
|
-
module Azure::
|
23
|
-
autoload :UsageDetails, 'generated/azure_mgmt_consumption/usage_details.rb'
|
24
|
-
autoload :Operations, 'generated/azure_mgmt_consumption/operations.rb'
|
25
|
-
autoload :ConsumptionManagementClient, 'generated/azure_mgmt_consumption/consumption_management_client.rb'
|
22
|
+
module Azure::Consumption::Mgmt::V2017_04_24_preview
|
23
|
+
autoload :UsageDetails, '2017-04-24-preview/generated/azure_mgmt_consumption/usage_details.rb'
|
24
|
+
autoload :Operations, '2017-04-24-preview/generated/azure_mgmt_consumption/operations.rb'
|
25
|
+
autoload :ConsumptionManagementClient, '2017-04-24-preview/generated/azure_mgmt_consumption/consumption_management_client.rb'
|
26
26
|
|
27
27
|
module Models
|
28
|
-
autoload :ErrorResponse, 'generated/azure_mgmt_consumption/models/error_response.rb'
|
29
|
-
autoload :OperationDisplay, 'generated/azure_mgmt_consumption/models/operation_display.rb'
|
30
|
-
autoload :UsageDetailsListResult, 'generated/azure_mgmt_consumption/models/usage_details_list_result.rb'
|
31
|
-
autoload :Operation, 'generated/azure_mgmt_consumption/models/operation.rb'
|
32
|
-
autoload :MeterDetails, 'generated/azure_mgmt_consumption/models/meter_details.rb'
|
33
|
-
autoload :OperationListResult, 'generated/azure_mgmt_consumption/models/operation_list_result.rb'
|
34
|
-
autoload :ErrorDetails, 'generated/azure_mgmt_consumption/models/error_details.rb'
|
35
|
-
autoload :Resource, 'generated/azure_mgmt_consumption/models/resource.rb'
|
36
|
-
autoload :UsageDetail, 'generated/azure_mgmt_consumption/models/usage_detail.rb'
|
28
|
+
autoload :ErrorResponse, '2017-04-24-preview/generated/azure_mgmt_consumption/models/error_response.rb'
|
29
|
+
autoload :OperationDisplay, '2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_display.rb'
|
30
|
+
autoload :UsageDetailsListResult, '2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_details_list_result.rb'
|
31
|
+
autoload :Operation, '2017-04-24-preview/generated/azure_mgmt_consumption/models/operation.rb'
|
32
|
+
autoload :MeterDetails, '2017-04-24-preview/generated/azure_mgmt_consumption/models/meter_details.rb'
|
33
|
+
autoload :OperationListResult, '2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_list_result.rb'
|
34
|
+
autoload :ErrorDetails, '2017-04-24-preview/generated/azure_mgmt_consumption/models/error_details.rb'
|
35
|
+
autoload :Resource, '2017-04-24-preview/generated/azure_mgmt_consumption/models/resource.rb'
|
36
|
+
autoload :UsageDetail, '2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_detail.rb'
|
37
37
|
end
|
38
38
|
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::Consumption::Mgmt::V2017_04_24_preview
|
7
7
|
#
|
8
8
|
# A service client - single point of access to the REST API.
|
9
9
|
#
|
@@ -125,8 +125,8 @@ module Azure::ARM::Consumption
|
|
125
125
|
#
|
126
126
|
def add_telemetry
|
127
127
|
sdk_information = 'azure_mgmt_consumption'
|
128
|
-
if defined? Azure::
|
129
|
-
sdk_information = "#{sdk_information}/#{Azure::
|
128
|
+
if defined? Azure::Consumption::Mgmt::V2017_04_24_preview::VERSION
|
129
|
+
sdk_information = "#{sdk_information}/#{Azure::Consumption::Mgmt::V2017_04_24_preview::VERSION}"
|
130
130
|
end
|
131
131
|
add_user_agent_information(sdk_information)
|
132
132
|
end
|
data/lib/{generated → 2017-04-24-preview/generated}/azure_mgmt_consumption/models/error_response.rb
RENAMED
@@ -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::Consumption::Mgmt::V2017_04_24_preview
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Error response indicates that the service is not able to process the
|
@@ -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::Consumption::Mgmt::V2017_04_24_preview
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Result of listing usage details. It contains a list of available usage
|
@@ -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::Consumption::Mgmt::V2017_04_24_preview
|
7
7
|
#
|
8
8
|
# Consumption management client provides access to consumption resources for
|
9
9
|
# Azure Web-Direct subscriptions. Other subscription types which were not
|
@@ -92,7 +92,7 @@ module Azure::ARM::Consumption
|
|
92
92
|
if status_code == 200
|
93
93
|
begin
|
94
94
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
95
|
-
result_mapper = Azure::
|
95
|
+
result_mapper = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::OperationListResult.mapper()
|
96
96
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
97
97
|
rescue Exception => e
|
98
98
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -179,7 +179,7 @@ module Azure::ARM::Consumption
|
|
179
179
|
if status_code == 200
|
180
180
|
begin
|
181
181
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
182
|
-
result_mapper = Azure::
|
182
|
+
result_mapper = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::OperationListResult.mapper()
|
183
183
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
184
184
|
rescue Exception => e
|
185
185
|
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::Consumption::Mgmt::V2017_04_24_preview
|
7
7
|
#
|
8
8
|
# Consumption management client provides access to consumption resources for
|
9
9
|
# Azure Web-Direct subscriptions. Other subscription types which were not
|
@@ -154,7 +154,7 @@ module Azure::ARM::Consumption
|
|
154
154
|
if status_code == 200
|
155
155
|
begin
|
156
156
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
157
|
-
result_mapper = Azure::
|
157
|
+
result_mapper = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::UsageDetailsListResult.mapper()
|
158
158
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
159
159
|
rescue Exception => e
|
160
160
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -247,7 +247,7 @@ module Azure::ARM::Consumption
|
|
247
247
|
if status_code == 200
|
248
248
|
begin
|
249
249
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
250
|
-
result_mapper = Azure::
|
250
|
+
result_mapper = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::UsageDetailsListResult.mapper()
|
251
251
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
252
252
|
rescue Exception => e
|
253
253
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -2,5 +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_consumption'
|
6
|
-
|
5
|
+
require '2017-04-24-preview/generated/azure_mgmt_consumption'
|
6
|
+
require 'profiles/latest/consumption_latest_profile_client'
|
@@ -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/consumption_module_definition'
|
6
|
+
require 'profiles/latest/modules/consumption_profile_module'
|
7
|
+
require 'profiles/common/configurable'
|
8
|
+
require 'profiles/common/default'
|
9
|
+
|
10
|
+
module Azure::Consumption::Profiles::Latest::Mgmt
|
11
|
+
#
|
12
|
+
# Client class for the Latest profile SDK.
|
13
|
+
#
|
14
|
+
class Client < ConsumptionClass
|
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::Consumption end
|
7
|
+
module Azure::Consumption::Profiles end
|
8
|
+
module Azure::Consumption::Profiles::Latest end
|
9
|
+
module Azure::Consumption::Profiles::Latest::Mgmt end
|
@@ -0,0 +1,80 @@
|
|
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_consumption'
|
6
|
+
|
7
|
+
module Azure::Consumption::Profiles::Latest::Mgmt
|
8
|
+
UsageDetails = Azure::Consumption::Mgmt::V2017_04_24_preview::UsageDetails
|
9
|
+
Operations = Azure::Consumption::Mgmt::V2017_04_24_preview::Operations
|
10
|
+
|
11
|
+
module Models
|
12
|
+
ErrorResponse = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::ErrorResponse
|
13
|
+
OperationDisplay = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::OperationDisplay
|
14
|
+
UsageDetailsListResult = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::UsageDetailsListResult
|
15
|
+
Operation = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::Operation
|
16
|
+
MeterDetails = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::MeterDetails
|
17
|
+
OperationListResult = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::OperationListResult
|
18
|
+
ErrorDetails = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::ErrorDetails
|
19
|
+
Resource = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::Resource
|
20
|
+
UsageDetail = Azure::Consumption::Mgmt::V2017_04_24_preview::Models::UsageDetail
|
21
|
+
end
|
22
|
+
|
23
|
+
#
|
24
|
+
# Consumption
|
25
|
+
#
|
26
|
+
class ConsumptionClass
|
27
|
+
attr_reader :usage_details, :operations, :configurable, :base_url, :options, :model_classes
|
28
|
+
|
29
|
+
def initialize(options = {})
|
30
|
+
if options.is_a?(Hash) && options.length == 0
|
31
|
+
@options = setup_options
|
32
|
+
else
|
33
|
+
@options = options
|
34
|
+
end
|
35
|
+
|
36
|
+
reset!(options)
|
37
|
+
|
38
|
+
@configurable, @base_url, @options = self, nil, nil
|
39
|
+
|
40
|
+
client_0 = Azure::Consumption::Mgmt::V2017_04_24_preview::ConsumptionManagementClient.new(configurable.credentials, base_url, options)
|
41
|
+
if(client_0.respond_to?(:subscription_id))
|
42
|
+
client_0.subscription_id = configurable.subscription_id
|
43
|
+
end
|
44
|
+
@usage_details = client_0.usage_details
|
45
|
+
@operations = client_0.operations
|
46
|
+
|
47
|
+
@model_classes = ModelClasses.new
|
48
|
+
end
|
49
|
+
|
50
|
+
class ModelClasses
|
51
|
+
def error_response
|
52
|
+
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::ErrorResponse
|
53
|
+
end
|
54
|
+
def operation_display
|
55
|
+
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::OperationDisplay
|
56
|
+
end
|
57
|
+
def usage_details_list_result
|
58
|
+
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::UsageDetailsListResult
|
59
|
+
end
|
60
|
+
def operation
|
61
|
+
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::Operation
|
62
|
+
end
|
63
|
+
def meter_details
|
64
|
+
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::MeterDetails
|
65
|
+
end
|
66
|
+
def operation_list_result
|
67
|
+
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::OperationListResult
|
68
|
+
end
|
69
|
+
def error_details
|
70
|
+
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::ErrorDetails
|
71
|
+
end
|
72
|
+
def resource
|
73
|
+
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::Resource
|
74
|
+
end
|
75
|
+
def usage_detail
|
76
|
+
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::UsageDetail
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
data/lib/version.rb
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_consumption
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
11
|
+
date: 2017-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -87,22 +87,29 @@ extensions: []
|
|
87
87
|
extra_rdoc_files: []
|
88
88
|
files:
|
89
89
|
- LICENSE.txt
|
90
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption.rb
|
91
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/consumption_management_client.rb
|
92
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/error_details.rb
|
93
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/error_response.rb
|
94
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/meter_details.rb
|
95
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation.rb
|
96
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_display.rb
|
97
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/operation_list_result.rb
|
98
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/resource.rb
|
99
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_detail.rb
|
100
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/models/usage_details_list_result.rb
|
101
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/module_definition.rb
|
102
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/operations.rb
|
103
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/usage_details.rb
|
104
|
+
- lib/2017-04-24-preview/generated/azure_mgmt_consumption/version.rb
|
90
105
|
- lib/azure_mgmt_consumption.rb
|
91
|
-
- lib/
|
92
|
-
- lib/
|
93
|
-
- lib/
|
94
|
-
- lib/
|
95
|
-
- lib/
|
96
|
-
- lib/
|
97
|
-
- lib/
|
98
|
-
- lib/generated/azure_mgmt_consumption/models/operation_list_result.rb
|
99
|
-
- lib/generated/azure_mgmt_consumption/models/resource.rb
|
100
|
-
- lib/generated/azure_mgmt_consumption/models/usage_detail.rb
|
101
|
-
- lib/generated/azure_mgmt_consumption/models/usage_details_list_result.rb
|
102
|
-
- lib/generated/azure_mgmt_consumption/module_definition.rb
|
103
|
-
- lib/generated/azure_mgmt_consumption/operations.rb
|
104
|
-
- lib/generated/azure_mgmt_consumption/usage_details.rb
|
105
|
-
- lib/generated/azure_mgmt_consumption/version.rb
|
106
|
+
- lib/module_definition.rb
|
107
|
+
- lib/profiles/common/configurable.rb
|
108
|
+
- lib/profiles/common/default.rb
|
109
|
+
- lib/profiles/latest/consumption_latest_profile_client.rb
|
110
|
+
- lib/profiles/latest/consumption_module_definition.rb
|
111
|
+
- lib/profiles/latest/modules/consumption_profile_module.rb
|
112
|
+
- lib/version.rb
|
106
113
|
homepage: https://aka.ms/azure-sdk-for-ruby
|
107
114
|
licenses:
|
108
115
|
- MIT
|