Skip to content

Commit

Permalink
[AutoPR billing/resource-manager] Corrected the enum value to match i…
Browse files Browse the repository at this point in the history
…t with actual implementation (#8642)

* Generated from f9b327c82d58e430b167e9426caf0cfcd91d0c87

Corrected the enum valure to match it with actual implementation

Corrected the enum valure to match it with actual implementation

* Generated from 84cbc8d8812f9626b729120ee70ba35b789610f4

Updated
  • Loading branch information
AutorestCI authored Nov 15, 2019
1 parent 0992f0f commit 93a4f4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class ReservationType(str, Enum):
class MarketplacePurchasesPolicy(str, Enum):

all_allowed = "AllAllowed"
free_allowed = "FreeAllowed"
only_free_allowed = "OnlyFreeAllowed"
not_allowed = "NotAllowed"


Expand All @@ -168,8 +168,8 @@ class ReservationPurchasesPolicy(str, Enum):

class ViewChargesPolicy(str, Enum):

none = "None"
subscription_owner = "SubscriptionOwner"
allowed = "Allowed"
not_allowed = "NotAllowed"


class ViewCharges(str, Enum):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Policy(Resource):
:ivar type: Resource type.
:vartype type: str
:param marketplace_purchases: The marketplace purchases are free, allowed
or not allowed. Possible values include: 'AllAllowed', 'FreeAllowed',
or not allowed. Possible values include: 'AllAllowed', 'OnlyFreeAllowed',
'NotAllowed'
:type marketplace_purchases: str or
~azure.mgmt.billing.models.MarketplacePurchasesPolicy
Expand All @@ -34,7 +34,7 @@ class Policy(Resource):
:type reservation_purchases: str or
~azure.mgmt.billing.models.ReservationPurchasesPolicy
:param view_charges: Who can view charges. Possible values include:
'None', 'SubscriptionOwner'
'Allowed', 'NotAllowed'
:type view_charges: str or ~azure.mgmt.billing.models.ViewChargesPolicy
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Policy(Resource):
:ivar type: Resource type.
:vartype type: str
:param marketplace_purchases: The marketplace purchases are free, allowed
or not allowed. Possible values include: 'AllAllowed', 'FreeAllowed',
or not allowed. Possible values include: 'AllAllowed', 'OnlyFreeAllowed',
'NotAllowed'
:type marketplace_purchases: str or
~azure.mgmt.billing.models.MarketplacePurchasesPolicy
Expand All @@ -34,7 +34,7 @@ class Policy(Resource):
:type reservation_purchases: str or
~azure.mgmt.billing.models.ReservationPurchasesPolicy
:param view_charges: Who can view charges. Possible values include:
'None', 'SubscriptionOwner'
'Allowed', 'NotAllowed'
:type view_charges: str or ~azure.mgmt.billing.models.ViewChargesPolicy
"""

Expand Down

0 comments on commit 93a4f4b

Please sign in to comment.