24 lines
1.3 KiB
TypeScript
24 lines
1.3 KiB
TypeScript
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
import { Location, SubscriptionsListLocationsOptionalParams, Subscription, SubscriptionsListOptionalParams, SubscriptionsGetOptionalParams, SubscriptionsGetResponse } from "../models";
|
|
/** Interface representing a Subscriptions. */
|
|
export interface Subscriptions {
|
|
/**
|
|
* This operation provides all the locations that are available for resource providers; however, each
|
|
* resource provider may support a subset of this list.
|
|
* @param subscriptionId The ID of the target subscription.
|
|
* @param options The options parameters.
|
|
*/
|
|
listLocations(subscriptionId: string, options?: SubscriptionsListLocationsOptionalParams): PagedAsyncIterableIterator<Location>;
|
|
/**
|
|
* Gets all subscriptions for a tenant.
|
|
* @param options The options parameters.
|
|
*/
|
|
list(options?: SubscriptionsListOptionalParams): PagedAsyncIterableIterator<Subscription>;
|
|
/**
|
|
* Gets details about a specified subscription.
|
|
* @param subscriptionId The ID of the target subscription.
|
|
* @param options The options parameters.
|
|
*/
|
|
get(subscriptionId: string, options?: SubscriptionsGetOptionalParams): Promise<SubscriptionsGetResponse>;
|
|
}
|
|
//# sourceMappingURL=subscriptions.d.ts.map
|