This release is a pre-release and may not be stable for production use.
Microsoft Azure SDK for Python
This is the Microsoft Azure Billingbenefits Management Client Library. This package has been tested with Python 3.9+. For a more complete view of Azure libraries, see the azure sdk python release.
Disclaimer
Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691
Getting started
Prerequisites
- Python 3.9+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-billingbenefits
pip install azure-identity
Authentication
By default, Azure Active Directory token authentication depends on correct configuration of the following environment variables.
AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.
In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.
With above configuration, client can be authenticated by following code:
from azure.identity import DefaultAzureCredential
from azure.mgmt.billingbenefits import BillingBenefitsMgmtClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = BillingBenefitsMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at:
- Search Billingbenefits Management on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
Troubleshooting
Next steps
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.
Release History
1.0.0b2 (2026-03-31)
Features Added
- Enum
CommitmentGrainadded memberFULL_TERM - Enum
CommitmentGrainadded memberUNKNOWN - Model
Skuadded propertytier - Model
Skuadded propertysize - Model
Skuadded propertyfamily - Model
Skuadded propertycapacity - Enum
Termadded memberP1M - Added model
ApplicableMacc - Added enum
ApplyDiscountOn - Added model
AutomaticShortfallSuppressReason - Added model
Award - Added enum
BenefitType - Added model
BenefitValidateModel - Added model
BenefitValidateRequest - Added model
BenefitValidateResponse - Added model
BenefitValidateResponseProperty - Added model
CatalogClaimsItem - Added model
ChargeShortfallRequest - Added model
ConditionalCredit - Added model
ConditionalCreditContributor - Added enum
ConditionalCreditEntityType - Added model
ConditionalCreditMilestone - Added model
ConditionalCreditMilestoneBase - Added model
ConditionalCreditPatchRequest - Added model
ConditionalCreditPatchRequestProperties - Added model
ConditionalCreditProperties - Added enum
ConditionalCreditStatus - Added enum
ConditionalCreditsProvisioningState - Added model
ConditionalCreditsValidateModel - Added model
ConditionsItem - Added model
Contributor - Added model
ContributorConditionalCreditMilestone - Added model
ContributorConditionalCreditProperties - Added model
Credit - Added model
CreditBreakdownItem - Added model
CreditDimension - Added enum
CreditExpirationPolicy - Added model
CreditPatchProperties - Added model
CreditPatchRequest - Added model
CreditPolicies - Added model
CreditProperties - Added model
CreditReason - Added enum
CreditRedemptionPolicy - Added model
CreditSource - Added model
CreditSourcePatchRequest - Added model
CreditSourceProperties - Added enum
CreditStatus - Added model
CreditsValidateModel - Added model
CustomPriceProperties - Added model
Discount - Added enum
DiscountAppliedScopeType - Added enum
DiscountCombinationRule - Added enum
DiscountEntityType - Added model
DiscountPatchRequest - Added model
DiscountPatchRequestProperties - Added model
DiscountProperties - Added enum
DiscountProvisioningState - Added enum
DiscountRuleType - Added enum
DiscountStatus - Added enum
DiscountType - Added model
DiscountTypeCustomPrice - Added model
DiscountTypeCustomPriceMultiCurrency - Added model
DiscountTypeProduct - Added model
DiscountTypeProductFamily - Added model
DiscountTypeProductSku - Added model
DiscountTypeProperties - Added enum
EnablementMode - Added model
EntityTypeAffiliateDiscount - Added model
EntityTypePrimaryDiscount - Added model
FreeServices - Added model
FreeServicesPatchRequest - Added model
FreeServicesPatchRequestProperties - Added model
FreeServicesProperties - Added enum
FreeServicesStatus - Added model
Macc - Added enum
MaccEntityType - Added model
MaccMilestone - Added enum
MaccMilestoneStatus - Added model
MaccModelProperties - Added model
MaccPatchRequest - Added model
MaccPatchRequestProperties - Added enum
MaccStatus - Added model
MaccValidateModel - Added model
ManagedServiceIdentity - Added enum
ManagedServiceIdentityType - Added model
MarketSetPricesItems - Added enum
MilestoneStatus - Added model
Plan - Added model
PriceGuaranteeProperties - Added enum
PricingPolicy - Added model
PrimaryConditionalCreditProperties - Added model
ProxyResource - Added model
ResourceSku - Added model
SavingsPlanValidateModel - Added model
SellerResourceListRequest - Added model
SellerResourceListRequestProperties - Added model
ServiceManagedIdentity - Added enum
ServiceManagedIdentityType - Added model
Shortfall - Added enum
SkuTier - Added model
TrackedResource - Added model
UserAssignedIdentity - Operation group
SavingsPlanOperationsadded methodbegin_update - Added operation group
ApplicableMaccsOperations - Added operation group
BenefitOperations - Added operation group
ConditionalCreditContributorsOperations - Added operation group
ConditionalCreditsOperations - Added operation group
ContributorsOperations - Added operation group
CreditsOperations - Added operation group
DiscountOperations - Added operation group
DiscountsOperations - Added operation group
FreeServicesOperations - Added operation group
MaccsOperations - Added operation group
SellerResourceOperations - Added operation group
SourcesOperations
Breaking Changes
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
- Renamed client
BillingBenefitsRPtoBillingBenefitsMgmtClient - Model
SavingsPlanOrderAliasModelmoved instance variabledisplay_name,savings_plan_order_id,provisioning_state,billing_scope_id,term,billing_plan,applied_scope_type,applied_scope_propertiesandcommitmentunder propertypropertieswhose type isSavingsPlanOrderAliasProperties - Deleted or renamed model
BillingInformation - Deleted or renamed model
OperationResultError - Deleted or renamed model
PricingCurrencyDuration - Deleted or renamed model
PricingCurrencyTotal - Deleted or renamed model
SavingsPlanPurchaseValidateRequest - Method
SavingsPlanOperations.list_allchanged its parameterorderby/refresh_summary/skiptoken/selected_state/takefrompositional_or_keywordtokeyword_only - Renamed method
SavingsPlanOperations.updatetoSavingsPlanOperations.begin_update
Other Changes
- Deleted model
SavingsPlanModelList/SavingsPlanOrderModelList/BillingBenefitsRPOperationsMixinwhich actually were not used by SDK users
1.0.0b1 (2022-12-14)
- Initial Release
Release files for azure-mgmt-billingbenefits 1.0.0b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| azure_mgmt_billingbenefits-1.0.0b2.tar.gz | 118.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| azure_mgmt_billingbenefits-1.0.0b2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 245.6 kB
Release files / azure_mgmt_billingbenefits-1.0.0b2.tar.gz
| Download URL | azure_mgmt_billingbenefits-1.0.0b2.tar.gz |
|---|---|
| Size | 118.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02650a5b38c5a0758add25022861be09ffb01f5952ec9f28b949927aae899fa2
|
|
BLAKE2b-256 checksum How to use checksums |
a085b3ffbb352d56ae08849db05b4029e2766d1710cd322dfed2750331a6b3db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / azure_mgmt_billingbenefits-1.0.0b2-py3-none-any.whl
| Download URL | azure_mgmt_billingbenefits-1.0.0b2-py3-none-any.whl |
|---|---|
| Size | 126.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b39185cb0c7e85fcb81e9da45b390b71b5b8c4f2119d6040274b2603579be5c
|
|
BLAKE2b-256 checksum How to use checksums |
30bf0797ad77c09641407f63d66b773b201090929104708afee8985ba8e42f02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|