共用方式為


PrivateStoreCollectionInfoResource.QueryRules(CancellationToken) Method

Definition

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

  • Request Path: /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/queryRules
  • Operation Id: QueryRules
public virtual Azure.Pageable<Azure.ResourceManager.Marketplace.Models.MarketplaceRule> QueryRules (System.Threading.CancellationToken cancellationToken = default);
abstract member QueryRules : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Marketplace.Models.MarketplaceRule>
override this.QueryRules : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Marketplace.Models.MarketplaceRule>
Public Overridable Function QueryRules (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