Share via


MarketplacesOperationsExtensions.ListAsync Method

Definition

Lists the marketplaces for a scope by subscriptionId. Marketplaces are available via this API only for May 1, 2014 or later. https://docs.microsoft.com/en-us/rest/api/consumption/

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Consumption.Models.Marketplace>> ListAsync (this Microsoft.Azure.Management.Consumption.IMarketplacesOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Consumption.Models.Marketplace> odataQuery = default, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Consumption.IMarketplacesOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Consumption.Models.Marketplace> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Consumption.Models.Marketplace>>
<Extension()>
Public Function ListAsync (operations As IMarketplacesOperations, Optional odataQuery As ODataQuery(Of Marketplace) = Nothing, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Marketplace))

Parameters

operations
IMarketplacesOperations

The operations group for this extension method.

odataQuery
ODataQuery<Marketplace>

OData parameters to apply to the operation.

skiptoken
String

Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to