MarketplaceClient class

Constructors

MarketplaceClient(TokenCredential, MarketplaceClientOptionalParams)

REST APIs for Private Marketplace

Properties

operations

The operation groups for operations

pipeline

The pipeline used by this client to make requests

privateStore

The operation groups for privateStore

privateStoreCollection

The operation groups for privateStoreCollection

privateStoreCollectionOffer

The operation groups for privateStoreCollectionOffer

Methods

queryRules(string, string, QueryRulesOptionalParams)

Get a list of all private store rules in the given private store and collection

queryUserRules(string, QueryUserRulesOptionalParams)

All rules approved in the private store that are relevant for user subscriptions

setCollectionRules(string, string, SetCollectionRulesOptionalParams)

Set rule for specific private store and collection

Constructor Details

MarketplaceClient(TokenCredential, MarketplaceClientOptionalParams)

REST APIs for Private Marketplace

new MarketplaceClient(credential: TokenCredential, options?: MarketplaceClientOptionalParams)

Parameters

credential
TokenCredential

Property Details

operations

The operation groups for operations

operations: OperationsOperations

Property Value

pipeline

The pipeline used by this client to make requests

pipeline: Pipeline

Property Value

privateStore

The operation groups for privateStore

privateStore: PrivateStoreOperations

Property Value

privateStoreCollection

The operation groups for privateStoreCollection

privateStoreCollection: PrivateStoreCollectionOperations

Property Value

privateStoreCollectionOffer

The operation groups for privateStoreCollectionOffer

privateStoreCollectionOffer: PrivateStoreCollectionOfferOperations

Property Value

Method Details

queryRules(string, string, QueryRulesOptionalParams)

Get a list of all private store rules in the given private store and collection

function queryRules(privateStoreId: string, collectionId: string, options?: QueryRulesOptionalParams): Promise<RuleListResponse>

Parameters

privateStoreId

string

collectionId

string

Returns

Promise<RuleListResponse>

queryUserRules(string, QueryUserRulesOptionalParams)

All rules approved in the private store that are relevant for user subscriptions

function queryUserRules(privateStoreId: string, options?: QueryUserRulesOptionalParams): Promise<RuleListResponse>

Parameters

privateStoreId

string

Returns

Promise<RuleListResponse>

setCollectionRules(string, string, SetCollectionRulesOptionalParams)

Set rule for specific private store and collection

function setCollectionRules(privateStoreId: string, collectionId: string, options?: SetCollectionRulesOptionalParams): Promise<void>

Parameters

privateStoreId

string

collectionId

string

Returns

Promise<void>