Megosztás a következőn keresztül:


PrivateStoreResource.QueryUserRules Method

Definition

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

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/queryUserRules
  • Operation Id: QueryUserRules
public virtual Azure.Pageable<Azure.ResourceManager.Marketplace.Models.MarketplaceRule> QueryUserRules (Azure.ResourceManager.Marketplace.Models.QueryUserRulesContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member QueryUserRules : Azure.ResourceManager.Marketplace.Models.QueryUserRulesContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Marketplace.Models.MarketplaceRule>
override this.QueryUserRules : Azure.ResourceManager.Marketplace.Models.QueryUserRulesContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Marketplace.Models.MarketplaceRule>
Public Overridable Function QueryUserRules (Optional content As QueryUserRulesContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MarketplaceRule)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of MarketplaceRule that may take multiple service requests to iterate over.

Applies to