azure_mgmt_reservations 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43320469cdb52120afdf4b5b45255f47e1756c8f6593cac62fd45731a34ffda8
4
- data.tar.gz: 1c2241de685c25860a33938a10fed0128b738b06a41df39ff5ba0a13fe7a91d9
3
+ metadata.gz: 4b0142f30619367b39b46f2d802759736937511f79e4ee7d64132f7db15e04b6
4
+ data.tar.gz: fe1571c023d464d891581f16ed78ed697eb9daa469ee441fc84cd82b00fbcfef
5
5
  SHA512:
6
- metadata.gz: ab637fbe56cc650e53e51af2412084aba03ecbb5c907e3e4d95a45bcafb2d34c2d4b020624e76904b3d472773086bad9392f8ceb408e59a56a991294dbb9df59
7
- data.tar.gz: cf798adfc1d89859bb2b370b1b82b4e193032c6f1bc14734a69a28375e5c74855287d7a88f66257a36426f87e2c16ac33086d65c92fe26e18f432209b7bbcdb4
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.18.0"
335
+ sdk_information = "#{sdk_information}/0.19.0"
336
336
  add_user_agent_information(sdk_information)
337
337
  end
338
338
  end
@@ -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.18.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 :CatalogBillingPlansItem, '2019-04-01-preview/generated/azure_mgmt_reservations/models/catalog_billing_plans_item.rb'
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 :SkuName, '2019-04-01-preview/generated/azure_mgmt_reservations/models/sku_name.rb'
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<CatalogBillingPlansItem>] The billing plan options
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: 'Sequence',
77
- element: {
76
+ name: 'Dictionary',
77
+ value: {
78
78
  client_side_validation: true,
79
79
  required: false,
80
- serialized_name: 'CatalogBillingPlansItemElementType',
80
+ serialized_name: 'ArrayElementType',
81
81
  type: {
82
- name: 'Composite',
83
- class_name: 'CatalogBillingPlansItem'
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
  }
@@ -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.18.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
- CatalogBillingPlansItem = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CatalogBillingPlansItem
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
- SkuName = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SkuName
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 catalog_billing_plans_item
117
- Azure::Reservations::Mgmt::V2019_04_01_preview::Models::CatalogBillingPlansItem
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 sku_name
171
- Azure::Reservations::Mgmt::V2019_04_01_preview::Models::SkuName
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
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Reservations::Mgmt
6
- VERSION = '0.18.0'
6
+ VERSION = '0.19.0'
7
7
  end
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.18.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-09-23 00:00:00.000000000 Z
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
@@ -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