import type { CostManagementContext } from "../../api/costManagementContext.js"; import type { ViewsListByScopeOptionalParams, ViewsDeleteByScopeOptionalParams, ViewsCreateOrUpdateByScopeOptionalParams, ViewsGetByScopeOptionalParams, ViewsListOptionalParams, ViewsDeleteOptionalParams, ViewsCreateOrUpdateOptionalParams, ViewsGetOptionalParams } from "../../api/views/options.js"; import type { View } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; /** Interface representing a Views operations. */ export interface ViewsOperations { /** Lists all views at the given scope. */ listByScope: (scope: string, options?: ViewsListByScopeOptionalParams) => PagedAsyncIterableIterator; /** The operation to delete a view. */ deleteByScope: (scope: string, viewName: string, options?: ViewsDeleteByScopeOptionalParams) => Promise; /** The operation to create or update a view. Update operation requires latest eTag to be set in the request. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag. */ createOrUpdateByScope: (scope: string, viewName: string, parameters: View, options?: ViewsCreateOrUpdateByScopeOptionalParams) => Promise; /** Gets the view for the defined scope by view name. */ getByScope: (scope: string, viewName: string, options?: ViewsGetByScopeOptionalParams) => Promise; /** Lists all views by tenant and object. */ list: (options?: ViewsListOptionalParams) => PagedAsyncIterableIterator; /** The operation to delete a view. */ delete: (viewName: string, options?: ViewsDeleteOptionalParams) => Promise; /** The operation to create or update a view. Update operation requires latest eTag to be set in the request. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag. */ createOrUpdate: (viewName: string, parameters: View, options?: ViewsCreateOrUpdateOptionalParams) => Promise; /** Gets the view by view name. */ get: (viewName: string, options?: ViewsGetOptionalParams) => Promise; } export declare function _getViewsOperations(context: CostManagementContext): ViewsOperations; //# sourceMappingURL=index.d.ts.map