2.0.0-beta.1 (2026-03-09)
Breaking Changes
- Function
*PrivateStoreClient.CreateApprovalRequestparameter(s) have been changed from(ctx context.Context, privateStoreID string, requestApprovalID string, options *PrivateStoreClientCreateApprovalRequestOptions)to(ctx context.Context, privateStoreID string, requestApprovalID string, payload RequestApprovalResource, options *PrivateStoreClientCreateApprovalRequestOptions) - Function
*PrivateStoreClient.CreateOrUpdateparameter(s) have been changed from(ctx context.Context, privateStoreID string, options *PrivateStoreClientCreateOrUpdateOptions)to(ctx context.Context, privateStoreID string, payload PrivateStore, options *PrivateStoreClientCreateOrUpdateOptions) - Function
*PrivateStoreClient.UpdateAdminRequestApprovalparameter(s) have been changed from(ctx context.Context, privateStoreID string, adminRequestApprovalID string, options *PrivateStoreClientUpdateAdminRequestApprovalOptions)to(ctx context.Context, privateStoreID string, adminRequestApprovalID string, payload AdminRequestApprovalsResource, options *PrivateStoreClientUpdateAdminRequestApprovalOptions) - Function
*PrivateStoreCollectionClient.CreateOrUpdateparameter(s) have been changed from(ctx context.Context, privateStoreID string, collectionID string, options *PrivateStoreCollectionClientCreateOrUpdateOptions)to(ctx context.Context, privateStoreID string, collectionID string, payload Collection, options *PrivateStoreCollectionClientCreateOrUpdateOptions) - Function
*PrivateStoreCollectionOfferClient.CreateOrUpdateparameter(s) have been changed from(ctx context.Context, privateStoreID string, offerID string, collectionID string, options *PrivateStoreCollectionOfferClientCreateOrUpdateOptions)to(ctx context.Context, privateStoreID string, collectionID string, offerID string, payload Offer, options *PrivateStoreCollectionOfferClientCreateOrUpdateOptions) - Function
*PrivateStoreCollectionOfferClient.Deleteparameter(s) have been changed from(ctx context.Context, privateStoreID string, offerID string, collectionID string, options *PrivateStoreCollectionOfferClientDeleteOptions)to(ctx context.Context, privateStoreID string, collectionID string, offerID string, options *PrivateStoreCollectionOfferClientDeleteOptions) - Function
*PrivateStoreCollectionOfferClient.Getparameter(s) have been changed from(ctx context.Context, privateStoreID string, offerID string, collectionID string, options *PrivateStoreCollectionOfferClientGetOptions)to(ctx context.Context, privateStoreID string, collectionID string, offerID string, options *PrivateStoreCollectionOfferClientGetOptions) - Function
*PrivateStoreCollectionOfferClient.Postparameter(s) have been changed from(ctx context.Context, privateStoreID string, offerID string, collectionID string, options *PrivateStoreCollectionOfferClientPostOptions)to(ctx context.Context, privateStoreID string, collectionID string, offerID string, options *PrivateStoreCollectionOfferClientPostOptions) - Type of
SystemData.CreatedByTypehas been changed from*IdentityTypeto*CreatedByType - Type of
SystemData.LastModifiedByTypehas been changed from*IdentityTypeto*CreatedByType - Enum
IdentityTypehas been removed - Operation
*OperationsClient.Listhas supported pagination, use*OperationsClient.NewListPagerinstead. - Struct
ErrorResponsehas been removed - Struct
ErrorResponseErrorhas been removed - Struct
Resourcehas been removed - Field
Payloadof structPrivateStoreClientCreateApprovalRequestOptionshas been removed - Field
Payloadof structPrivateStoreClientCreateOrUpdateOptionshas been removed - Field
Payloadof structPrivateStoreClientUpdateAdminRequestApprovalOptionshas been removed - Field
Payloadof structPrivateStoreCollectionClientCreateOrUpdateOptionshas been removed - Field
Payloadof structPrivateStoreCollectionOfferClientCreateOrUpdateOptionshas been removed
Features Added
- New enum type
CreatedByTypewith valuesCreatedByTypeApplication,CreatedByTypeKey,CreatedByTypeManagedIdentity,CreatedByTypeUser - New enum type
RuleTypewith valuesRuleTypePrivateProducts,RuleTypeTermsAndCondition - New function
*ClientFactory.NewRPServiceClient() *RPServiceClient - New function
*PrivateStoreClient.AnyExistingOffersInTheCollections(ctx context.Context, privateStoreID string, options *PrivateStoreClientAnyExistingOffersInTheCollectionsOptions) (PrivateStoreClientAnyExistingOffersInTheCollectionsResponse, error) - New function
*PrivateStoreClient.QueryUserOffers(ctx context.Context, privateStoreID string, options *PrivateStoreClientQueryUserOffersOptions) (PrivateStoreClientQueryUserOffersResponse, error) - New function
*PrivateStoreCollectionClient.ApproveAllItems(ctx context.Context, privateStoreID string, collectionID string, options *PrivateStoreCollectionClientApproveAllItemsOptions) (PrivateStoreCollectionClientApproveAllItemsResponse, error) - New function
*PrivateStoreCollectionClient.DisableApproveAllItems(ctx context.Context, privateStoreID string, collectionID string, options *PrivateStoreCollectionClientDisableApproveAllItemsOptions) (PrivateStoreCollectionClientDisableApproveAllItemsResponse, error) - New function
*PrivateStoreCollectionOfferClient.ContextsView(ctx context.Context, privateStoreID string, collectionID string, offerID string, options *PrivateStoreCollectionOfferClientContextsViewOptions) (PrivateStoreCollectionOfferClientContextsViewResponse, error) - New function
*PrivateStoreCollectionOfferClient.NewListByContextsPager(privateStoreID string, collectionID string, options *PrivateStoreCollectionOfferClientListByContextsOptions) *runtime.Pager[PrivateStoreCollectionOfferClientListByContextsResponse] - New function
*PrivateStoreCollectionOfferClient.UpsertOfferWithMultiContext(ctx context.Context, privateStoreID string, collectionID string, offerID string, options *PrivateStoreCollectionOfferClientUpsertOfferWithMultiContextOptions) (PrivateStoreCollectionOfferClientUpsertOfferWithMultiContextResponse, error) - New function
NewRPServiceClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*RPServiceClient, error) - New function
*RPServiceClient.QueryRules(ctx context.Context, privateStoreID string, collectionID string, options *RPServiceClientQueryRulesOptions) (RPServiceClientQueryRulesResponse, error) - New function
*RPServiceClient.QueryUserRules(ctx context.Context, privateStoreID string, options *RPServiceClientQueryUserRulesOptions) (RPServiceClientQueryUserRulesResponse, error) - New function
*RPServiceClient.SetCollectionRules(ctx context.Context, privateStoreID string, collectionID string, options *RPServiceClientSetCollectionRulesOptions) (RPServiceClientSetCollectionRulesResponse, error) - New struct
AnyExistingOffersInTheCollectionsResponse - New struct
CollectionOffersByAllContextsPayload - New struct
CollectionOffersByAllContextsProperties - New struct
CollectionOffersByContext - New struct
CollectionOffersByContextList - New struct
CollectionOffersByContextOffers - New struct
ContextAndPlansDetails - New struct
MultiContextAndPlansPayload - New struct
MultiContextAndPlansProperties - New struct
QueryUserOffersDetails - New struct
QueryUserOffersProperties - New struct
QueryUserRulesDetails - New struct
QueryUserRulesProperties - New struct
Rule - New struct
RuleListResponse - New struct
SetRulesRequest - New field
Iconin structAdminRequestApprovalProperties - New field
AppliedRules,ApproveAllItems,ApproveAllItemsModifiedAtin structCollectionProperties - New field
IsStopSellin structOfferProperties - New field
IsStopSellin structPlan - New field
SubscriptionIDsin structQueryApprovedPlans - New field
IDin structSingleOperation