/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { Marketplace, MarketplacesListOptionalParams } from "../models";
///
/** Interface representing a Marketplaces. */
export interface Marketplaces {
/**
* Lists the marketplaces for a scope at the defined scope. Marketplaces are available via this API
* only for May 1, 2014 or later.
* @param scope The scope associated with marketplace operations. This includes
* '/subscriptions/{subscriptionId}/' for subscription scope,
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope,
* '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope,
* '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope
* and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group
* scope. For subscription, billing account, department, enrollment account and ManagementGroup, you
* can also add billing period to the scope using
* '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing
* period at department scope use
* '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'
* @param options The options parameters.
*/
list(
scope: string,
options?: MarketplacesListOptionalParams
): PagedAsyncIterableIterator;
}