github Azure/azure-sdk-for-go sdk/resourcemanager/marketplace/armmarketplace/v2.0.0-beta.1

pre-release6 hours ago

2.0.0-beta.1 (2026-03-09)

Breaking Changes

  • Function *PrivateStoreClient.CreateApprovalRequest parameter(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.CreateOrUpdate parameter(s) have been changed from (ctx context.Context, privateStoreID string, options *PrivateStoreClientCreateOrUpdateOptions) to (ctx context.Context, privateStoreID string, payload PrivateStore, options *PrivateStoreClientCreateOrUpdateOptions)
  • Function *PrivateStoreClient.UpdateAdminRequestApproval parameter(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.CreateOrUpdate parameter(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.CreateOrUpdate parameter(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.Delete parameter(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.Get parameter(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.Post parameter(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.CreatedByType has been changed from *IdentityType to *CreatedByType
  • Type of SystemData.LastModifiedByType has been changed from *IdentityType to *CreatedByType
  • Enum IdentityType has been removed
  • Operation *OperationsClient.List has supported pagination, use *OperationsClient.NewListPager instead.
  • Struct ErrorResponse has been removed
  • Struct ErrorResponseError has been removed
  • Struct Resource has been removed
  • Field Payload of struct PrivateStoreClientCreateApprovalRequestOptions has been removed
  • Field Payload of struct PrivateStoreClientCreateOrUpdateOptions has been removed
  • Field Payload of struct PrivateStoreClientUpdateAdminRequestApprovalOptions has been removed
  • Field Payload of struct PrivateStoreCollectionClientCreateOrUpdateOptions has been removed
  • Field Payload of struct PrivateStoreCollectionOfferClientCreateOrUpdateOptions has been removed

Features Added

  • New enum type CreatedByType with values CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser
  • New enum type RuleType with values RuleTypePrivateProducts, 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 Icon in struct AdminRequestApprovalProperties
  • New field AppliedRules, ApproveAllItems, ApproveAllItemsModifiedAt in struct CollectionProperties
  • New field IsStopSell in struct OfferProperties
  • New field IsStopSell in struct Plan
  • New field SubscriptionIDs in struct QueryApprovedPlans
  • New field ID in struct SingleOperation

Don't miss a new azure-sdk-for-go release

NewReleases is sending notifications on new releases.