Share via


MarketplacesOperationsExtensions.ListByBillingPeriodAsync Method

Definition

Lists the marketplaces for a scope by billing period and subscripotionId. 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>> ListByBillingPeriodAsync (this Microsoft.Azure.Management.Consumption.IMarketplacesOperations operations, string billingPeriodName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Consumption.Models.Marketplace> odataQuery = default, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByBillingPeriodAsync : Microsoft.Azure.Management.Consumption.IMarketplacesOperations * string * 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 ListByBillingPeriodAsync (operations As IMarketplacesOperations, billingPeriodName As String, 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.

billingPeriodName
String

Billing Period Name.

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