azure_mgmt_reservations 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-11-01/generated/azure_mgmt_reservations/reservations_management_client.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/reservations_management_client.rb +1 -1
- data/lib/2019-04-01-preview/generated/azure_mgmt_reservations.rb +2 -3
- data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/catalog.rb +14 -7
- data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/reservations_management_client.rb +1 -1
- data/lib/profiles/latest/modules/reservations_profile_module.rb +6 -10
- data/lib/version.rb +1 -1
- metadata +2 -3
- data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/catalog_billing_plans_item.rb +0 -75
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b0142f30619367b39b46f2d802759736937511f79e4ee7d64132f7db15e04b6
|
4
|
+
data.tar.gz: fe1571c023d464d891581f16ed78ed697eb9daa469ee441fc84cd82b00fbcfef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0ff40a91388f4c1499e81b3deff872da10072efc3f19e9fbc2f6ce1b47ab0bf2a51edf711654478f1adcd422a929701968d3725c51362a80419c56ccfb3d930
|
7
|
+
data.tar.gz: f09cbc6b6e7f7a3b7589247d1dbaefa5454a4ce53b761cb4219b6342de2358185877dabd57a0d0ab8e7dfe2df99331a9c1dbaf2aa87383675c569b094e253090
|
@@ -332,7 +332,7 @@ module Azure::Reservations::Mgmt::V2017_11_01
|
|
332
332
|
#
|
333
333
|
def add_telemetry
|
334
334
|
sdk_information = 'azure_mgmt_reservations'
|
335
|
-
sdk_information = "#{sdk_information}/0.
|
335
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
336
336
|
add_user_agent_information(sdk_information)
|
337
337
|
end
|
338
338
|
end
|
data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/reservations_management_client.rb
CHANGED
@@ -345,7 +345,7 @@ module Azure::Reservations::Mgmt::V2018_06_01_preview
|
|
345
345
|
#
|
346
346
|
def add_telemetry
|
347
347
|
sdk_information = 'azure_mgmt_reservations'
|
348
|
-
sdk_information = "#{sdk_information}/0.
|
348
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
349
349
|
add_user_agent_information(sdk_information)
|
350
350
|
end
|
351
351
|
end
|
@@ -26,9 +26,8 @@ module Azure::Reservations::Mgmt::V2019_04_01_preview
|
|
26
26
|
autoload :ReservationsManagementClient, '2019-04-01-preview/generated/azure_mgmt_reservations/reservations_management_client.rb'
|
27
27
|
|
28
28
|
module Models
|
29
|
-
autoload :CalculatePriceResponsePropertiesBillingCurrencyTotal, '2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_billing_currency_total.rb'
|
30
29
|
autoload :CalculatePriceResponsePropertiesPricingCurrencyTotal, '2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_pricing_currency_total.rb'
|
31
|
-
autoload :
|
30
|
+
autoload :SkuName, '2019-04-01-preview/generated/azure_mgmt_reservations/models/sku_name.rb'
|
32
31
|
autoload :CalculatePriceResponseProperties, '2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties.rb'
|
33
32
|
autoload :SkuRestriction, '2019-04-01-preview/generated/azure_mgmt_reservations/models/sku_restriction.rb'
|
34
33
|
autoload :CalculatePriceResponse, '2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response.rb'
|
@@ -46,7 +45,7 @@ module Azure::Reservations::Mgmt::V2019_04_01_preview
|
|
46
45
|
autoload :Error, '2019-04-01-preview/generated/azure_mgmt_reservations/models/error.rb'
|
47
46
|
autoload :ReservationResponse, '2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_response.rb'
|
48
47
|
autoload :ReservationOrderList, '2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_order_list.rb'
|
49
|
-
autoload :
|
48
|
+
autoload :CalculatePriceResponsePropertiesBillingCurrencyTotal, '2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_billing_currency_total.rb'
|
50
49
|
autoload :ReservationList, '2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_list.rb'
|
51
50
|
autoload :Catalog, '2019-04-01-preview/generated/azure_mgmt_reservations/models/catalog.rb'
|
52
51
|
autoload :AppliedReservationList, '2019-04-01-preview/generated/azure_mgmt_reservations/models/applied_reservation_list.rb'
|
@@ -19,8 +19,8 @@ module Azure::Reservations::Mgmt::V2019_04_01_preview
|
|
19
19
|
# @return [String] The name of SKU
|
20
20
|
attr_accessor :name
|
21
21
|
|
22
|
-
# @return [Array<
|
23
|
-
# available for this SKU.
|
22
|
+
# @return [Hash{String => Array<ReservationBillingPlan>}] The billing
|
23
|
+
# plan options available for this SKU.
|
24
24
|
attr_accessor :billing_plans
|
25
25
|
|
26
26
|
# @return [Array<ReservationTerm>] Available reservation terms for this
|
@@ -73,14 +73,21 @@ module Azure::Reservations::Mgmt::V2019_04_01_preview
|
|
73
73
|
required: false,
|
74
74
|
serialized_name: 'billingPlans',
|
75
75
|
type: {
|
76
|
-
name: '
|
77
|
-
|
76
|
+
name: 'Dictionary',
|
77
|
+
value: {
|
78
78
|
client_side_validation: true,
|
79
79
|
required: false,
|
80
|
-
serialized_name: '
|
80
|
+
serialized_name: 'ArrayElementType',
|
81
81
|
type: {
|
82
|
-
name: '
|
83
|
-
|
82
|
+
name: 'Sequence',
|
83
|
+
element: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'ReservationBillingPlanElementType',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
}
|
84
91
|
}
|
85
92
|
}
|
86
93
|
}
|
data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/reservations_management_client.rb
CHANGED
@@ -348,7 +348,7 @@ module Azure::Reservations::Mgmt::V2019_04_01_preview
|
|
348
348
|
#
|
349
349
|
def add_telemetry
|
350
350
|
sdk_information = 'azure_mgmt_reservations'
|
351
|
-
sdk_information = "#{sdk_information}/0.
|
351
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
352
352
|
add_user_agent_information(sdk_information)
|
353
353
|
end
|
354
354
|
end
|
@@ -11,9 +11,8 @@ module Azure::Reservations::Profiles::Latest
|
|
11
11
|
Operation = Azure::Reservations::Mgmt::V2019_04_01_preview::Operation
|
12
12
|
|
13
13
|
module Models
|
14
|
-
CalculatePriceResponsePropertiesBillingCurrencyTotal = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponsePropertiesBillingCurrencyTotal
|
15
14
|
CalculatePriceResponsePropertiesPricingCurrencyTotal = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponsePropertiesPricingCurrencyTotal
|
16
|
-
|
15
|
+
SkuName = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SkuName
|
17
16
|
CalculatePriceResponseProperties = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponseProperties
|
18
17
|
SkuRestriction = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SkuRestriction
|
19
18
|
CalculatePriceResponse = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponse
|
@@ -31,7 +30,7 @@ module Azure::Reservations::Profiles::Latest
|
|
31
30
|
Error = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Error
|
32
31
|
ReservationResponse = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationResponse
|
33
32
|
ReservationOrderList = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationOrderList
|
34
|
-
|
33
|
+
CalculatePriceResponsePropertiesBillingCurrencyTotal = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponsePropertiesBillingCurrencyTotal
|
35
34
|
ReservationList = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationList
|
36
35
|
Catalog = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::Catalog
|
37
36
|
AppliedReservationList = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::AppliedReservationList
|
@@ -107,14 +106,11 @@ module Azure::Reservations::Profiles::Latest
|
|
107
106
|
end
|
108
107
|
|
109
108
|
class ModelClasses
|
110
|
-
def calculate_price_response_properties_billing_currency_total
|
111
|
-
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponsePropertiesBillingCurrencyTotal
|
112
|
-
end
|
113
109
|
def calculate_price_response_properties_pricing_currency_total
|
114
110
|
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponsePropertiesPricingCurrencyTotal
|
115
111
|
end
|
116
|
-
def
|
117
|
-
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::
|
112
|
+
def sku_name
|
113
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SkuName
|
118
114
|
end
|
119
115
|
def calculate_price_response_properties
|
120
116
|
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponseProperties
|
@@ -167,8 +163,8 @@ module Azure::Reservations::Profiles::Latest
|
|
167
163
|
def reservation_order_list
|
168
164
|
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationOrderList
|
169
165
|
end
|
170
|
-
def
|
171
|
-
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::
|
166
|
+
def calculate_price_response_properties_billing_currency_total
|
167
|
+
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CalculatePriceResponsePropertiesBillingCurrencyTotal
|
172
168
|
end
|
173
169
|
def reservation_list
|
174
170
|
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservationList
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_reservations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.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: 2019-
|
11
|
+
date: 2019-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -159,7 +159,6 @@ files:
|
|
159
159
|
- lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_billing_currency_total.rb
|
160
160
|
- lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_pricing_currency_total.rb
|
161
161
|
- lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/catalog.rb
|
162
|
-
- lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/catalog_billing_plans_item.rb
|
163
162
|
- lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/error.rb
|
164
163
|
- lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/error_response_code.rb
|
165
164
|
- lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/extended_error_info.rb
|
data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/catalog_billing_plans_item.rb
DELETED
@@ -1,75 +0,0 @@
|
|
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::Reservations::Mgmt::V2019_04_01_preview
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# Model object.
|
10
|
-
#
|
11
|
-
#
|
12
|
-
class CatalogBillingPlansItem
|
13
|
-
|
14
|
-
include MsRestAzure
|
15
|
-
|
16
|
-
# @return [Hash{String => Array<ReservationBillingPlan>}] Unmatched
|
17
|
-
# properties from the message are deserialized this collection
|
18
|
-
attr_accessor :additional_properties
|
19
|
-
|
20
|
-
# @return [ReservationTerm] The term for the billing SKU is available
|
21
|
-
# for. Possible values include: 'P1Y', 'P3Y'
|
22
|
-
attr_accessor :name
|
23
|
-
|
24
|
-
|
25
|
-
#
|
26
|
-
# Mapper for CatalogBillingPlansItem class as Ruby Hash.
|
27
|
-
# This will be used for serialization/deserialization.
|
28
|
-
#
|
29
|
-
def self.mapper()
|
30
|
-
{
|
31
|
-
client_side_validation: true,
|
32
|
-
required: false,
|
33
|
-
serialized_name: 'Catalog_billingPlansItem',
|
34
|
-
type: {
|
35
|
-
name: 'Composite',
|
36
|
-
class_name: 'CatalogBillingPlansItem',
|
37
|
-
model_properties: {
|
38
|
-
additional_properties: {
|
39
|
-
client_side_validation: true,
|
40
|
-
required: false,
|
41
|
-
type: {
|
42
|
-
name: 'Dictionary',
|
43
|
-
value: {
|
44
|
-
client_side_validation: true,
|
45
|
-
required: false,
|
46
|
-
serialized_name: 'ArrayElementType',
|
47
|
-
type: {
|
48
|
-
name: 'Sequence',
|
49
|
-
element: {
|
50
|
-
client_side_validation: true,
|
51
|
-
required: false,
|
52
|
-
serialized_name: 'ReservationBillingPlanElementType',
|
53
|
-
type: {
|
54
|
-
name: 'String'
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
60
|
-
},
|
61
|
-
name: {
|
62
|
-
client_side_validation: true,
|
63
|
-
required: false,
|
64
|
-
serialized_name: 'name',
|
65
|
-
type: {
|
66
|
-
name: 'String'
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
70
|
-
}
|
71
|
-
}
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|