-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR reservations/resource-manager] [Hub Generated] Review request…
… for Microsoft.Capacity to add version 2019-04-01 (#4590) * Generated from 7dc9733827a5e8f86614319c9b6756ec8aa11dc8 long running operation * Packaging update of azure-mgmt-reservations * Generated from 286d851c9a3c7101d44152f7fa706369b31299d6 update api version * Generated from 4908a3829756b457cb0b7a0261a04dbd2598c7a2 fix ref * Generated from 78a2d4b2c9d236f784254c1d5dcb9ff1e3033bda change parameter name * Generated from 6afc6414e898ac8b2ae326f70ca82f5fc865bd34 descriptions * Generated from 71c3c06d880ad26fdf9bd0fb512096e110b897b7 updated description * Generated from b95fb24f7cf665582d599709c431aedbe20e824f minor description update * Packaging update of azure-mgmt-reservations
- Loading branch information
1 parent
62d9426
commit 9db8bf0
Showing
28 changed files
with
699 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
recursive-include tests *.py *.yaml | ||
include *.rst | ||
include azure/__init__.py | ||
include azure/mgmt/__init__.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
azure-mgmt-reservations/azure/mgmt/reservations/models/calculate_price_response.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class CalculatePriceResponse(Model): | ||
"""CalculatePriceResponse. | ||
:param properties: | ||
:type properties: | ||
~azure.mgmt.reservations.models.CalculatePriceResponseProperties | ||
""" | ||
|
||
_attribute_map = { | ||
'properties': {'key': 'properties', 'type': 'CalculatePriceResponseProperties'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(CalculatePriceResponse, self).__init__(**kwargs) | ||
self.properties = kwargs.get('properties', None) |
54 changes: 54 additions & 0 deletions
54
...e-mgmt-reservations/azure/mgmt/reservations/models/calculate_price_response_properties.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class CalculatePriceResponseProperties(Model): | ||
"""CalculatePriceResponseProperties. | ||
:param billing_currency_total: Currency and amount that customer will be | ||
charged in customer's local currency. Tax is not included. | ||
:type billing_currency_total: | ||
~azure.mgmt.reservations.models.CalculatePriceResponsePropertiesBillingCurrencyTotal | ||
:param is_billing_partner_managed: True if billing is managed by Microsoft | ||
Partner. Used only for CSP accounts. | ||
:type is_billing_partner_managed: bool | ||
:param reservation_order_id: GUID that represents reservation order that | ||
can be placed after calculating price. | ||
:type reservation_order_id: str | ||
:param sku_title: Title of SKU that is being purchased. | ||
:type sku_title: str | ||
:param sku_description: Description of SKU that is being purchased. | ||
:type sku_description: str | ||
:param pricing_currency_total: Amount that Microsoft uses for record. Used | ||
during refund for calculating refund limit. Tax is not included. | ||
:type pricing_currency_total: | ||
~azure.mgmt.reservations.models.CalculatePriceResponsePropertiesPricingCurrencyTotal | ||
""" | ||
|
||
_attribute_map = { | ||
'billing_currency_total': {'key': 'billingCurrencyTotal', 'type': 'CalculatePriceResponsePropertiesBillingCurrencyTotal'}, | ||
'is_billing_partner_managed': {'key': 'isBillingPartnerManaged', 'type': 'bool'}, | ||
'reservation_order_id': {'key': 'reservationOrderId', 'type': 'str'}, | ||
'sku_title': {'key': 'skuTitle', 'type': 'str'}, | ||
'sku_description': {'key': 'skuDescription', 'type': 'str'}, | ||
'pricing_currency_total': {'key': 'pricingCurrencyTotal', 'type': 'CalculatePriceResponsePropertiesPricingCurrencyTotal'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(CalculatePriceResponseProperties, self).__init__(**kwargs) | ||
self.billing_currency_total = kwargs.get('billing_currency_total', None) | ||
self.is_billing_partner_managed = kwargs.get('is_billing_partner_managed', None) | ||
self.reservation_order_id = kwargs.get('reservation_order_id', None) | ||
self.sku_title = kwargs.get('sku_title', None) | ||
self.sku_description = kwargs.get('sku_description', None) | ||
self.pricing_currency_total = kwargs.get('pricing_currency_total', None) |
33 changes: 33 additions & 0 deletions
33
...re/mgmt/reservations/models/calculate_price_response_properties_billing_currency_total.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class CalculatePriceResponsePropertiesBillingCurrencyTotal(Model): | ||
"""Currency and amount that customer will be charged in customer's local | ||
currency. Tax is not included. | ||
:param currency_code: | ||
:type currency_code: str | ||
:param amount: | ||
:type amount: float | ||
""" | ||
|
||
_attribute_map = { | ||
'currency_code': {'key': 'currencyCode', 'type': 'str'}, | ||
'amount': {'key': 'amount', 'type': 'float'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(CalculatePriceResponsePropertiesBillingCurrencyTotal, self).__init__(**kwargs) | ||
self.currency_code = kwargs.get('currency_code', None) | ||
self.amount = kwargs.get('amount', None) |
33 changes: 33 additions & 0 deletions
33
...gmt/reservations/models/calculate_price_response_properties_billing_currency_total_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class CalculatePriceResponsePropertiesBillingCurrencyTotal(Model): | ||
"""Currency and amount that customer will be charged in customer's local | ||
currency. Tax is not included. | ||
:param currency_code: | ||
:type currency_code: str | ||
:param amount: | ||
:type amount: float | ||
""" | ||
|
||
_attribute_map = { | ||
'currency_code': {'key': 'currencyCode', 'type': 'str'}, | ||
'amount': {'key': 'amount', 'type': 'float'}, | ||
} | ||
|
||
def __init__(self, *, currency_code: str=None, amount: float=None, **kwargs) -> None: | ||
super(CalculatePriceResponsePropertiesBillingCurrencyTotal, self).__init__(**kwargs) | ||
self.currency_code = currency_code | ||
self.amount = amount |
33 changes: 33 additions & 0 deletions
33
...re/mgmt/reservations/models/calculate_price_response_properties_pricing_currency_total.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class CalculatePriceResponsePropertiesPricingCurrencyTotal(Model): | ||
"""Amount that Microsoft uses for record. Used during refund for calculating | ||
refund limit. Tax is not included. | ||
:param currency_code: | ||
:type currency_code: str | ||
:param amount: | ||
:type amount: float | ||
""" | ||
|
||
_attribute_map = { | ||
'currency_code': {'key': 'currencyCode', 'type': 'str'}, | ||
'amount': {'key': 'amount', 'type': 'float'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(CalculatePriceResponsePropertiesPricingCurrencyTotal, self).__init__(**kwargs) | ||
self.currency_code = kwargs.get('currency_code', None) | ||
self.amount = kwargs.get('amount', None) |
33 changes: 33 additions & 0 deletions
33
...gmt/reservations/models/calculate_price_response_properties_pricing_currency_total_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class CalculatePriceResponsePropertiesPricingCurrencyTotal(Model): | ||
"""Amount that Microsoft uses for record. Used during refund for calculating | ||
refund limit. Tax is not included. | ||
:param currency_code: | ||
:type currency_code: str | ||
:param amount: | ||
:type amount: float | ||
""" | ||
|
||
_attribute_map = { | ||
'currency_code': {'key': 'currencyCode', 'type': 'str'}, | ||
'amount': {'key': 'amount', 'type': 'float'}, | ||
} | ||
|
||
def __init__(self, *, currency_code: str=None, amount: float=None, **kwargs) -> None: | ||
super(CalculatePriceResponsePropertiesPricingCurrencyTotal, self).__init__(**kwargs) | ||
self.currency_code = currency_code | ||
self.amount = amount |
54 changes: 54 additions & 0 deletions
54
...mt-reservations/azure/mgmt/reservations/models/calculate_price_response_properties_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class CalculatePriceResponseProperties(Model): | ||
"""CalculatePriceResponseProperties. | ||
:param billing_currency_total: Currency and amount that customer will be | ||
charged in customer's local currency. Tax is not included. | ||
:type billing_currency_total: | ||
~azure.mgmt.reservations.models.CalculatePriceResponsePropertiesBillingCurrencyTotal | ||
:param is_billing_partner_managed: True if billing is managed by Microsoft | ||
Partner. Used only for CSP accounts. | ||
:type is_billing_partner_managed: bool | ||
:param reservation_order_id: GUID that represents reservation order that | ||
can be placed after calculating price. | ||
:type reservation_order_id: str | ||
:param sku_title: Title of SKU that is being purchased. | ||
:type sku_title: str | ||
:param sku_description: Description of SKU that is being purchased. | ||
:type sku_description: str | ||
:param pricing_currency_total: Amount that Microsoft uses for record. Used | ||
during refund for calculating refund limit. Tax is not included. | ||
:type pricing_currency_total: | ||
~azure.mgmt.reservations.models.CalculatePriceResponsePropertiesPricingCurrencyTotal | ||
""" | ||
|
||
_attribute_map = { | ||
'billing_currency_total': {'key': 'billingCurrencyTotal', 'type': 'CalculatePriceResponsePropertiesBillingCurrencyTotal'}, | ||
'is_billing_partner_managed': {'key': 'isBillingPartnerManaged', 'type': 'bool'}, | ||
'reservation_order_id': {'key': 'reservationOrderId', 'type': 'str'}, | ||
'sku_title': {'key': 'skuTitle', 'type': 'str'}, | ||
'sku_description': {'key': 'skuDescription', 'type': 'str'}, | ||
'pricing_currency_total': {'key': 'pricingCurrencyTotal', 'type': 'CalculatePriceResponsePropertiesPricingCurrencyTotal'}, | ||
} | ||
|
||
def __init__(self, *, billing_currency_total=None, is_billing_partner_managed: bool=None, reservation_order_id: str=None, sku_title: str=None, sku_description: str=None, pricing_currency_total=None, **kwargs) -> None: | ||
super(CalculatePriceResponseProperties, self).__init__(**kwargs) | ||
self.billing_currency_total = billing_currency_total | ||
self.is_billing_partner_managed = is_billing_partner_managed | ||
self.reservation_order_id = reservation_order_id | ||
self.sku_title = sku_title | ||
self.sku_description = sku_description | ||
self.pricing_currency_total = pricing_currency_total |
Oops, something went wrong.