다음을 통해 공유


PrivateStoreCollectionInfoResource.QueryRulesAsync(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.AsyncPageable<Azure.ResourceManager.Marketplace.Models.MarketplaceRule> QueryRulesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member QueryRulesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Marketplace.Models.MarketplaceRule>
override this.QueryRulesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Marketplace.Models.MarketplaceRule>
Public Overridable Function QueryRulesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MarketplaceRule)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to