PrivateStoreCollectionInfoResource.QueryRules(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.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.