PrivateStoreCollectionInfoResource.QueryRulesAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.