|
1 | 1 | # Release History
|
2 | 2 |
|
| 3 | +## 3.0.0-beta.1 (2025-05-12) |
| 4 | +### Breaking Changes |
| 5 | + |
| 6 | +- Function `NewClientFactory` parameter(s) have been changed from `(azcore.TokenCredential, *arm.ClientOptions)` to `(string, azcore.TokenCredential, *arm.ClientOptions)` |
| 7 | +- Type of `PurchaseRequest.SKU` has been changed from `*SKU` to `*ResourceSKU` |
| 8 | +- Type of `ReservationOrderAliasRequest.SKU` has been changed from `*SKU` to `*ResourceSKU` |
| 9 | +- Type of `ReservationOrderAliasResponse.SKU` has been changed from `*SKU` to `*ResourceSKU` |
| 10 | +- Type of `SavingsPlanModel.SKU` has been changed from `*SKU` to `*ResourceSKU` |
| 11 | +- Type of `SavingsPlanOrderAliasModel.SKU` has been changed from `*SKU` to `*ResourceSKU` |
| 12 | +- Type of `SavingsPlanOrderModel.SKU` has been changed from `*SKU` to `*ResourceSKU` |
| 13 | +- Function `*ClientFactory.NewRPClient` has been removed |
| 14 | +- Function `*ClientFactory.NewReservationOrderAliasClient` has been removed |
| 15 | +- Function `*ClientFactory.NewSavingsPlanClient` has been removed |
| 16 | +- Function `*ClientFactory.NewSavingsPlanOrderAliasClient` has been removed |
| 17 | +- Function `*ClientFactory.NewSavingsPlanOrderClient` has been removed |
| 18 | +- Function `NewRPClient` has been removed |
| 19 | +- Function `*RPClient.ValidatePurchase` has been removed |
| 20 | +- Function `NewReservationOrderAliasClient` has been removed |
| 21 | +- Function `*ReservationOrderAliasClient.BeginCreate` has been removed |
| 22 | +- Function `*ReservationOrderAliasClient.Get` has been removed |
| 23 | +- Function `NewSavingsPlanClient` has been removed |
| 24 | +- Function `*SavingsPlanClient.Get` has been removed |
| 25 | +- Function `*SavingsPlanClient.NewListAllPager` has been removed |
| 26 | +- Function `*SavingsPlanClient.NewListPager` has been removed |
| 27 | +- Function `*SavingsPlanClient.Update` has been removed |
| 28 | +- Function `*SavingsPlanClient.ValidateUpdate` has been removed |
| 29 | +- Function `NewSavingsPlanOrderAliasClient` has been removed |
| 30 | +- Function `*SavingsPlanOrderAliasClient.BeginCreate` has been removed |
| 31 | +- Function `*SavingsPlanOrderAliasClient.Get` has been removed |
| 32 | +- Function `NewSavingsPlanOrderClient` has been removed |
| 33 | +- Function `*SavingsPlanOrderClient.Elevate` has been removed |
| 34 | +- Function `*SavingsPlanOrderClient.Get` has been removed |
| 35 | +- Function `*SavingsPlanOrderClient.NewListPager` has been removed |
| 36 | +- Struct `SKU` has been removed |
| 37 | + |
| 38 | +### Features Added |
| 39 | + |
| 40 | +- New value `CommitmentGrainFullTerm`, `CommitmentGrainUnknown` added to enum type `CommitmentGrain` |
| 41 | +- New enum type `ApplyDiscountOn` with values `ApplyDiscountOnConsume`, `ApplyDiscountOnPurchase`, `ApplyDiscountOnRenew` |
| 42 | +- New enum type `DiscountAppliedScopeType` with values `DiscountAppliedScopeTypeBillingAccount`, `DiscountAppliedScopeTypeBillingProfile`, `DiscountAppliedScopeTypeCustomer` |
| 43 | +- New enum type `DiscountCombinationRule` with values `DiscountCombinationRuleBestOf`, `DiscountCombinationRuleStackable` |
| 44 | +- New enum type `DiscountEntityType` with values `DiscountEntityTypeAffiliate`, `DiscountEntityTypePrimary` |
| 45 | +- New enum type `DiscountProvisioningState` with values `DiscountProvisioningStateCanceled`, `DiscountProvisioningStateFailed`, `DiscountProvisioningStatePending`, `DiscountProvisioningStateSucceeded`, `DiscountProvisioningStateUnknown` |
| 46 | +- New enum type `DiscountStatus` with values `DiscountStatusActive`, `DiscountStatusCanceled`, `DiscountStatusExpired`, `DiscountStatusFailed`, `DiscountStatusPending` |
| 47 | +- New enum type `DiscountType` with values `DiscountTypeCustomPrice`, `DiscountTypeCustomPriceMultiCurrency`, `DiscountTypeProduct`, `DiscountTypeProductFamily`, `DiscountTypeSKU` |
| 48 | +- New enum type `PricingPolicy` with values `PricingPolicyLocked`, `PricingPolicyProtected` |
| 49 | +- New function `*ClientFactory.NewDiscountsClient() *DiscountsClient` |
| 50 | +- New function `*ClientFactory.NewDiscountsOperationGroupClient() *DiscountsOperationGroupClient` |
| 51 | +- New function `*ClientFactory.NewReservationOrderAliasResponsesClient() *ReservationOrderAliasResponsesClient` |
| 52 | +- New function `*ClientFactory.NewSavingsPlanModelsClient() *SavingsPlanModelsClient` |
| 53 | +- New function `*ClientFactory.NewSavingsPlanOperationGroupClient() *SavingsPlanOperationGroupClient` |
| 54 | +- New function `*ClientFactory.NewSavingsPlanOrderAliasModelsClient() *SavingsPlanOrderAliasModelsClient` |
| 55 | +- New function `*ClientFactory.NewSavingsPlanOrderModelsClient() *SavingsPlanOrderModelsClient` |
| 56 | +- New function `*DiscountProperties.GetDiscountProperties() *DiscountProperties` |
| 57 | +- New function `*DiscountTypeProduct.GetDiscountTypeProperties() *DiscountTypeProperties` |
| 58 | +- New function `*DiscountTypeProductFamily.GetDiscountTypeProperties() *DiscountTypeProperties` |
| 59 | +- New function `*DiscountTypeProductSKU.GetDiscountTypeProperties() *DiscountTypeProperties` |
| 60 | +- New function `*DiscountTypeProperties.GetDiscountTypeProperties() *DiscountTypeProperties` |
| 61 | +- New function `NewDiscountsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*DiscountsClient, error)` |
| 62 | +- New function `*DiscountsClient.BeginCancel(context.Context, string, string, *DiscountsClientBeginCancelOptions) (*runtime.Poller[DiscountsClientCancelResponse], error)` |
| 63 | +- New function `*DiscountsClient.BeginCreate(context.Context, string, string, Discount, *DiscountsClientBeginCreateOptions) (*runtime.Poller[DiscountsClientCreateResponse], error)` |
| 64 | +- New function `*DiscountsClient.BeginDelete(context.Context, string, string, *DiscountsClientBeginDeleteOptions) (*runtime.Poller[DiscountsClientDeleteResponse], error)` |
| 65 | +- New function `*DiscountsClient.Get(context.Context, string, string, *DiscountsClientGetOptions) (DiscountsClientGetResponse, error)` |
| 66 | +- New function `*DiscountsClient.NewResourceGroupListPager(string, *DiscountsClientResourceGroupListOptions) *runtime.Pager[DiscountsClientResourceGroupListResponse]` |
| 67 | +- New function `*DiscountsClient.NewSubscriptionListPager(*DiscountsClientSubscriptionListOptions) *runtime.Pager[DiscountsClientSubscriptionListResponse]` |
| 68 | +- New function `*DiscountsClient.BeginUpdate(context.Context, string, string, DiscountPatchRequest, *DiscountsClientBeginUpdateOptions) (*runtime.Poller[DiscountsClientUpdateResponse], error)` |
| 69 | +- New function `NewDiscountsOperationGroupClient(azcore.TokenCredential, *arm.ClientOptions) (*DiscountsOperationGroupClient, error)` |
| 70 | +- New function `*DiscountsOperationGroupClient.NewScopeListPager(string, *DiscountsOperationGroupClientScopeListOptions) *runtime.Pager[DiscountsOperationGroupClientScopeListResponse]` |
| 71 | +- New function `*EntityTypeAffiliateDiscount.GetDiscountProperties() *DiscountProperties` |
| 72 | +- New function `*EntityTypePrimaryDiscount.GetDiscountProperties() *DiscountProperties` |
| 73 | +- New function `NewReservationOrderAliasResponsesClient(azcore.TokenCredential, *arm.ClientOptions) (*ReservationOrderAliasResponsesClient, error)` |
| 74 | +- New function `*ReservationOrderAliasResponsesClient.BeginCreate(context.Context, string, ReservationOrderAliasRequest, *ReservationOrderAliasResponsesClientBeginCreateOptions) (*runtime.Poller[ReservationOrderAliasResponsesClientCreateResponse], error)` |
| 75 | +- New function `*ReservationOrderAliasResponsesClient.Get(context.Context, string, *ReservationOrderAliasResponsesClientGetOptions) (ReservationOrderAliasResponsesClientGetResponse, error)` |
| 76 | +- New function `NewSavingsPlanModelsClient(azcore.TokenCredential, *arm.ClientOptions) (*SavingsPlanModelsClient, error)` |
| 77 | +- New function `*SavingsPlanModelsClient.Get(context.Context, string, string, *SavingsPlanModelsClientGetOptions) (SavingsPlanModelsClientGetResponse, error)` |
| 78 | +- New function `*SavingsPlanModelsClient.NewListPager(string, *SavingsPlanModelsClientListOptions) *runtime.Pager[SavingsPlanModelsClientListResponse]` |
| 79 | +- New function `*SavingsPlanModelsClient.BeginUpdate(context.Context, string, string, SavingsPlanUpdateRequest, *SavingsPlanModelsClientBeginUpdateOptions) (*runtime.Poller[SavingsPlanModelsClientUpdateResponse], error)` |
| 80 | +- New function `*SavingsPlanModelsClient.ValidateUpdate(context.Context, string, string, SavingsPlanUpdateValidateRequest, *SavingsPlanModelsClientValidateUpdateOptions) (SavingsPlanModelsClientValidateUpdateResponse, error)` |
| 81 | +- New function `NewSavingsPlanOperationGroupClient(azcore.TokenCredential, *arm.ClientOptions) (*SavingsPlanOperationGroupClient, error)` |
| 82 | +- New function `*SavingsPlanOperationGroupClient.NewListAllPager(*SavingsPlanOperationGroupClientListAllOptions) *runtime.Pager[SavingsPlanOperationGroupClientListAllResponse]` |
| 83 | +- New function `*SavingsPlanOperationGroupClient.ValidatePurchase(context.Context, SavingsPlanPurchaseValidateRequest, *SavingsPlanOperationGroupClientValidatePurchaseOptions) (SavingsPlanOperationGroupClientValidatePurchaseResponse, error)` |
| 84 | +- New function `NewSavingsPlanOrderAliasModelsClient(azcore.TokenCredential, *arm.ClientOptions) (*SavingsPlanOrderAliasModelsClient, error)` |
| 85 | +- New function `*SavingsPlanOrderAliasModelsClient.BeginCreate(context.Context, string, SavingsPlanOrderAliasModel, *SavingsPlanOrderAliasModelsClientBeginCreateOptions) (*runtime.Poller[SavingsPlanOrderAliasModelsClientCreateResponse], error)` |
| 86 | +- New function `*SavingsPlanOrderAliasModelsClient.Get(context.Context, string, *SavingsPlanOrderAliasModelsClientGetOptions) (SavingsPlanOrderAliasModelsClientGetResponse, error)` |
| 87 | +- New function `NewSavingsPlanOrderModelsClient(azcore.TokenCredential, *arm.ClientOptions) (*SavingsPlanOrderModelsClient, error)` |
| 88 | +- New function `*SavingsPlanOrderModelsClient.Elevate(context.Context, string, *SavingsPlanOrderModelsClientElevateOptions) (SavingsPlanOrderModelsClientElevateResponse, error)` |
| 89 | +- New function `*SavingsPlanOrderModelsClient.Get(context.Context, string, *SavingsPlanOrderModelsClientGetOptions) (SavingsPlanOrderModelsClientGetResponse, error)` |
| 90 | +- New function `*SavingsPlanOrderModelsClient.NewListPager(*SavingsPlanOrderModelsClientListOptions) *runtime.Pager[SavingsPlanOrderModelsClientListResponse]` |
| 91 | +- New struct `ConditionsItem` |
| 92 | +- New struct `Discount` |
| 93 | +- New struct `DiscountList` |
| 94 | +- New struct `DiscountPatchRequest` |
| 95 | +- New struct `DiscountPatchRequestProperties` |
| 96 | +- New struct `DiscountTypeProduct` |
| 97 | +- New struct `DiscountTypeProductFamily` |
| 98 | +- New struct `DiscountTypeProductSKU` |
| 99 | +- New struct `EntityTypeAffiliateDiscount` |
| 100 | +- New struct `EntityTypePrimaryDiscount` |
| 101 | +- New struct `PriceGuaranteeProperties` |
| 102 | +- New struct `ResourceSKU` |
| 103 | +- New field `Renew` in struct `SavingsPlanOrderAliasProperties` |
| 104 | + |
| 105 | + |
3 | 106 | ## 2.1.0 (2023-11-24)
|
4 | 107 | ### Features Added
|
5 | 108 |
|
|
0 commit comments