import type { CostManagementContext } from "../../api/costManagementContext.js"; import type { CostAllocationRulesCheckNameAvailabilityOptionalParams, CostAllocationRulesListOptionalParams, CostAllocationRulesDeleteOptionalParams, CostAllocationRulesCreateOrUpdateOptionalParams, CostAllocationRulesGetOptionalParams } from "../../api/costAllocationRules/options.js"; import type { CostAllocationRuleDefinition, CostAllocationRuleCheckNameAvailabilityRequest, CostAllocationRuleCheckNameAvailabilityResponse } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; /** Interface representing a CostAllocationRules operations. */ export interface CostAllocationRulesOperations { /** Checks availability and correctness of a name for a cost allocation rule */ checkNameAvailability: (billingAccountId: string, costAllocationRuleCheckNameAvailabilityRequest: CostAllocationRuleCheckNameAvailabilityRequest, options?: CostAllocationRulesCheckNameAvailabilityOptionalParams) => Promise; /** Get the list of all cost allocation rules for a billing account or enterprise enrollment. */ list: (billingAccountId: string, options?: CostAllocationRulesListOptionalParams) => PagedAsyncIterableIterator; /** Delete cost allocation rule for billing account or enterprise enrollment. */ delete: (billingAccountId: string, ruleName: string, options?: CostAllocationRulesDeleteOptionalParams) => Promise; /** Create/Update a rule to allocate cost between different resources within a billing account or enterprise enrollment. */ createOrUpdate: (billingAccountId: string, ruleName: string, costAllocationRule: CostAllocationRuleDefinition, options?: CostAllocationRulesCreateOrUpdateOptionalParams) => Promise; /** Get a cost allocation rule by rule name and billing account or enterprise enrollment. */ get: (billingAccountId: string, ruleName: string, options?: CostAllocationRulesGetOptionalParams) => Promise; } export declare function _getCostAllocationRulesOperations(context: CostManagementContext): CostAllocationRulesOperations; //# sourceMappingURL=index.d.ts.map