@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
934 lines • 90 kB
TypeScript
import { BaseAPIRequestFactory } from "../../datadog-api-client-common/baseapi";
import { Configuration } from "../../datadog-api-client-common/configuration";
import { RequestContext, ResponseContext } from "../../datadog-api-client-common/http/http";
import { ArbitraryCostUpsertRequest } from "../models/ArbitraryCostUpsertRequest";
import { ArbitraryRuleResponse } from "../models/ArbitraryRuleResponse";
import { ArbitraryRuleResponseArray } from "../models/ArbitraryRuleResponseArray";
import { ArbitraryRuleStatusResponseArray } from "../models/ArbitraryRuleStatusResponseArray";
import { AwsCURConfigPatchRequest } from "../models/AwsCURConfigPatchRequest";
import { AwsCURConfigPostRequest } from "../models/AwsCURConfigPostRequest";
import { AwsCurConfigResponse } from "../models/AwsCurConfigResponse";
import { AwsCURConfigsResponse } from "../models/AwsCURConfigsResponse";
import { AzureUCConfigPairsResponse } from "../models/AzureUCConfigPairsResponse";
import { AzureUCConfigPatchRequest } from "../models/AzureUCConfigPatchRequest";
import { AzureUCConfigPostRequest } from "../models/AzureUCConfigPostRequest";
import { AzureUCConfigsResponse } from "../models/AzureUCConfigsResponse";
import { BudgetArray } from "../models/BudgetArray";
import { BudgetValidationRequest } from "../models/BudgetValidationRequest";
import { BudgetValidationResponse } from "../models/BudgetValidationResponse";
import { BudgetWithEntries } from "../models/BudgetWithEntries";
import { CommitmentsCommitmentType } from "../models/CommitmentsCommitmentType";
import { CommitmentsCoverageScalarResponse } from "../models/CommitmentsCoverageScalarResponse";
import { CommitmentsCoverageTimeseriesResponse } from "../models/CommitmentsCoverageTimeseriesResponse";
import { CommitmentsListResponse } from "../models/CommitmentsListResponse";
import { CommitmentsOnDemandHotspotsScalarResponse } from "../models/CommitmentsOnDemandHotspotsScalarResponse";
import { CommitmentsProvider } from "../models/CommitmentsProvider";
import { CommitmentsSavingsScalarResponse } from "../models/CommitmentsSavingsScalarResponse";
import { CommitmentsSavingsTimeseriesResponse } from "../models/CommitmentsSavingsTimeseriesResponse";
import { CommitmentsUtilizationScalarResponse } from "../models/CommitmentsUtilizationScalarResponse";
import { CommitmentsUtilizationTimeseriesResponse } from "../models/CommitmentsUtilizationTimeseriesResponse";
import { CostAnomaliesResponse } from "../models/CostAnomaliesResponse";
import { CostAnomalyResponse } from "../models/CostAnomalyResponse";
import { CostCurrencyResponse } from "../models/CostCurrencyResponse";
import { CostMetricsResponse } from "../models/CostMetricsResponse";
import { CostOrchestratorsResponse } from "../models/CostOrchestratorsResponse";
import { CostRecommendationArray } from "../models/CostRecommendationArray";
import { CostTagDescriptionResponse } from "../models/CostTagDescriptionResponse";
import { CostTagDescriptionsResponse } from "../models/CostTagDescriptionsResponse";
import { CostTagDescriptionUpsertRequest } from "../models/CostTagDescriptionUpsertRequest";
import { CostTagKeyMetadataResponse } from "../models/CostTagKeyMetadataResponse";
import { CostTagKeyResponse } from "../models/CostTagKeyResponse";
import { CostTagKeySourcesResponse } from "../models/CostTagKeySourcesResponse";
import { CostTagKeysResponse } from "../models/CostTagKeysResponse";
import { CostTagMetadataDailyFilter } from "../models/CostTagMetadataDailyFilter";
import { CostTagMetadataMonthsResponse } from "../models/CostTagMetadataMonthsResponse";
import { CostTagsResponse } from "../models/CostTagsResponse";
import { CreateRulesetRequest } from "../models/CreateRulesetRequest";
import { CustomCostsFileGetResponse } from "../models/CustomCostsFileGetResponse";
import { CustomCostsFileLineItem } from "../models/CustomCostsFileLineItem";
import { CustomCostsFileListResponse } from "../models/CustomCostsFileListResponse";
import { CustomCostsFileUploadResponse } from "../models/CustomCostsFileUploadResponse";
import { CustomForecastResponse } from "../models/CustomForecastResponse";
import { CustomForecastUpsertRequest } from "../models/CustomForecastUpsertRequest";
import { GcpUcConfigResponse } from "../models/GcpUcConfigResponse";
import { GCPUsageCostConfigPatchRequest } from "../models/GCPUsageCostConfigPatchRequest";
import { GCPUsageCostConfigPostRequest } from "../models/GCPUsageCostConfigPostRequest";
import { GCPUsageCostConfigResponse } from "../models/GCPUsageCostConfigResponse";
import { GCPUsageCostConfigsResponse } from "../models/GCPUsageCostConfigsResponse";
import { GenerateCostTagDescriptionResponse } from "../models/GenerateCostTagDescriptionResponse";
import { OCIConfigsResponse } from "../models/OCIConfigsResponse";
import { RecommendationsFilterRequest } from "../models/RecommendationsFilterRequest";
import { ReorderRuleResourceArray } from "../models/ReorderRuleResourceArray";
import { ReorderRulesetResourceArray } from "../models/ReorderRulesetResourceArray";
import { RulesetResp } from "../models/RulesetResp";
import { RulesetRespArray } from "../models/RulesetRespArray";
import { RulesetStatusRespArray } from "../models/RulesetStatusRespArray";
import { RulesValidateQueryRequest } from "../models/RulesValidateQueryRequest";
import { RulesValidateQueryResponse } from "../models/RulesValidateQueryResponse";
import { UCConfigPair } from "../models/UCConfigPair";
import { UpdateRulesetRequest } from "../models/UpdateRulesetRequest";
import { ValidationResponse } from "../models/ValidationResponse";
export declare class CloudCostManagementApiRequestFactory extends BaseAPIRequestFactory {
createCostAWSCURConfig(body: AwsCURConfigPostRequest, _options?: Configuration): Promise<RequestContext>;
createCostAzureUCConfigs(body: AzureUCConfigPostRequest, _options?: Configuration): Promise<RequestContext>;
createCostGCPUsageCostConfig(body: GCPUsageCostConfigPostRequest, _options?: Configuration): Promise<RequestContext>;
createCustomAllocationRule(body: ArbitraryCostUpsertRequest, _options?: Configuration): Promise<RequestContext>;
createTagPipelinesRuleset(body: CreateRulesetRequest, _options?: Configuration): Promise<RequestContext>;
deleteBudget(budgetId: string, _options?: Configuration): Promise<RequestContext>;
deleteCostAWSCURConfig(cloudAccountId: number, _options?: Configuration): Promise<RequestContext>;
deleteCostAzureUCConfig(cloudAccountId: number, _options?: Configuration): Promise<RequestContext>;
deleteCostGCPUsageCostConfig(cloudAccountId: number, _options?: Configuration): Promise<RequestContext>;
deleteCostTagDescriptionByKey(tagKey: string, cloud?: string, _options?: Configuration): Promise<RequestContext>;
deleteCustomAllocationRule(ruleId: number, _options?: Configuration): Promise<RequestContext>;
deleteCustomCostsFile(fileId: string, _options?: Configuration): Promise<RequestContext>;
deleteCustomForecast(budgetId: string, _options?: Configuration): Promise<RequestContext>;
deleteTagPipelinesRuleset(rulesetId: string, _options?: Configuration): Promise<RequestContext>;
generateCostTagDescriptionByKey(tagKey: string, _options?: Configuration): Promise<RequestContext>;
getBudget(budgetId: string, actual?: boolean, forecast?: boolean, start?: number, end?: number, _options?: Configuration): Promise<RequestContext>;
getCommitmentsCommitmentList(provider: CommitmentsProvider, product: string, start: number, end: number, filterBy?: string, commitmentType?: CommitmentsCommitmentType, _options?: Configuration): Promise<RequestContext>;
getCommitmentsCoverageScalar(provider: CommitmentsProvider, product: string, start: number, end: number, filterBy?: string, _options?: Configuration): Promise<RequestContext>;
getCommitmentsCoverageTimeseries(provider: CommitmentsProvider, product: string, start: number, end: number, filterBy?: string, _options?: Configuration): Promise<RequestContext>;
getCommitmentsOnDemandHotspotsScalar(provider: CommitmentsProvider, product: string, start: number, end: number, filterBy?: string, _options?: Configuration): Promise<RequestContext>;
getCommitmentsSavingsScalar(provider: CommitmentsProvider, product: string, start: number, end: number, filterBy?: string, _options?: Configuration): Promise<RequestContext>;
getCommitmentsSavingsTimeseries(provider: CommitmentsProvider, product: string, start: number, end: number, filterBy?: string, _options?: Configuration): Promise<RequestContext>;
getCommitmentsUtilizationScalar(provider: CommitmentsProvider, product: string, start: number, end: number, filterBy?: string, commitmentType?: CommitmentsCommitmentType, _options?: Configuration): Promise<RequestContext>;
getCommitmentsUtilizationTimeseries(provider: CommitmentsProvider, product: string, start: number, end: number, filterBy?: string, commitmentType?: CommitmentsCommitmentType, _options?: Configuration): Promise<RequestContext>;
getCostAnomaly(anomalyId: string, _options?: Configuration): Promise<RequestContext>;
getCostAWSCURConfig(cloudAccountId: number, _options?: Configuration): Promise<RequestContext>;
getCostAzureUCConfig(cloudAccountId: number, _options?: Configuration): Promise<RequestContext>;
getCostGCPUsageCostConfig(cloudAccountId: number, _options?: Configuration): Promise<RequestContext>;
getCostTagDescriptionByKey(tagKey: string, filterCloud?: string, _options?: Configuration): Promise<RequestContext>;
getCostTagKey(tagKey: string, filterMetric?: string, pageSize?: number, _options?: Configuration): Promise<RequestContext>;
getCostTagMetadataCurrency(filterMonth: string, filterProvider?: string, _options?: Configuration): Promise<RequestContext>;
getCustomAllocationRule(ruleId: number, _options?: Configuration): Promise<RequestContext>;
getCustomCostsFile(fileId: string, _options?: Configuration): Promise<RequestContext>;
getTagPipelinesRuleset(rulesetId: string, _options?: Configuration): Promise<RequestContext>;
listBudgets(_options?: Configuration): Promise<RequestContext>;
listCostAnomalies(start?: number, end?: number, filter?: string, minAnomalousThreshold?: string, minCostThreshold?: string, dismissalCause?: string, orderBy?: string, order?: string, limit?: number, offset?: number, providerIds?: Array<string>, _options?: Configuration): Promise<RequestContext>;
listCostAWSCURConfigs(_options?: Configuration): Promise<RequestContext>;
listCostAzureUCConfigs(_options?: Configuration): Promise<RequestContext>;
listCostGCPUsageCostConfigs(_options?: Configuration): Promise<RequestContext>;
listCostOCIConfigs(_options?: Configuration): Promise<RequestContext>;
listCostTagDescriptions(filterCloud?: string, _options?: Configuration): Promise<RequestContext>;
listCostTagKeys(filterMetric?: string, filterTags?: Array<string>, _options?: Configuration): Promise<RequestContext>;
listCostTagKeySources(filterMonth: string, filterProvider?: string, filterMetric?: string, _options?: Configuration): Promise<RequestContext>;
listCostTagMetadata(filterMonth: string, filterProvider?: string, filterMetric?: string, filterTagKey?: string, filterDaily?: CostTagMetadataDailyFilter, _options?: Configuration): Promise<RequestContext>;
listCostTagMetadataMetrics(filterMonth: string, filterProvider?: string, _options?: Configuration): Promise<RequestContext>;
listCostTagMetadataMonths(filterProvider: string, _options?: Configuration): Promise<RequestContext>;
listCostTagMetadataOrchestrators(filterMonth: string, filterProvider?: string, _options?: Configuration): Promise<RequestContext>;
listCostTags(filterMetric?: string, filterMatch?: string, filterTags?: Array<string>, filterTagKeys?: Array<string>, pageSize?: number, _options?: Configuration): Promise<RequestContext>;
listCustomAllocationRules(_options?: Configuration): Promise<RequestContext>;
listCustomAllocationRulesStatus(_options?: Configuration): Promise<RequestContext>;
listCustomCostsFiles(pageNumber?: number, pageSize?: number, filterStatus?: string, filterName?: string, filterProvider?: Array<string>, sort?: string, _options?: Configuration): Promise<RequestContext>;
listTagPipelinesRulesets(_options?: Configuration): Promise<RequestContext>;
listTagPipelinesRulesetsStatus(_options?: Configuration): Promise<RequestContext>;
reorderCustomAllocationRules(body: ReorderRuleResourceArray, _options?: Configuration): Promise<RequestContext>;
reorderTagPipelinesRulesets(body: ReorderRulesetResourceArray, _options?: Configuration): Promise<RequestContext>;
searchCostRecommendations(body: RecommendationsFilterRequest, pageSize?: string, pageToken?: string, _options?: Configuration): Promise<RequestContext>;
updateCostAWSCURConfig(cloudAccountId: number, body: AwsCURConfigPatchRequest, _options?: Configuration): Promise<RequestContext>;
updateCostAzureUCConfigs(cloudAccountId: number, body: AzureUCConfigPatchRequest, _options?: Configuration): Promise<RequestContext>;
updateCostGCPUsageCostConfig(cloudAccountId: number, body: GCPUsageCostConfigPatchRequest, _options?: Configuration): Promise<RequestContext>;
updateCustomAllocationRule(ruleId: number, body: ArbitraryCostUpsertRequest, _options?: Configuration): Promise<RequestContext>;
updateTagPipelinesRuleset(rulesetId: string, body: UpdateRulesetRequest, _options?: Configuration): Promise<RequestContext>;
uploadCustomCostsFile(body: Array<CustomCostsFileLineItem>, _options?: Configuration): Promise<RequestContext>;
upsertBudget(body: BudgetWithEntries, _options?: Configuration): Promise<RequestContext>;
upsertCostTagDescriptionByKey(tagKey: string, body: CostTagDescriptionUpsertRequest, _options?: Configuration): Promise<RequestContext>;
upsertCustomForecast(body: CustomForecastUpsertRequest, _options?: Configuration): Promise<RequestContext>;
validateBudget(body: BudgetValidationRequest, _options?: Configuration): Promise<RequestContext>;
validateCsvBudget(_options?: Configuration): Promise<RequestContext>;
validateQuery(body: RulesValidateQueryRequest, _options?: Configuration): Promise<RequestContext>;
}
export declare class CloudCostManagementApiResponseProcessor {
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to createCostAWSCURConfig
* @throws ApiException if the response code was not in [200, 299]
*/
createCostAWSCURConfig(response: ResponseContext): Promise<AwsCurConfigResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to createCostAzureUCConfigs
* @throws ApiException if the response code was not in [200, 299]
*/
createCostAzureUCConfigs(response: ResponseContext): Promise<AzureUCConfigPairsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to createCostGCPUsageCostConfig
* @throws ApiException if the response code was not in [200, 299]
*/
createCostGCPUsageCostConfig(response: ResponseContext): Promise<GCPUsageCostConfigResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to createCustomAllocationRule
* @throws ApiException if the response code was not in [200, 299]
*/
createCustomAllocationRule(response: ResponseContext): Promise<ArbitraryRuleResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to createTagPipelinesRuleset
* @throws ApiException if the response code was not in [200, 299]
*/
createTagPipelinesRuleset(response: ResponseContext): Promise<RulesetResp>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteBudget
* @throws ApiException if the response code was not in [200, 299]
*/
deleteBudget(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCostAWSCURConfig
* @throws ApiException if the response code was not in [200, 299]
*/
deleteCostAWSCURConfig(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCostAzureUCConfig
* @throws ApiException if the response code was not in [200, 299]
*/
deleteCostAzureUCConfig(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCostGCPUsageCostConfig
* @throws ApiException if the response code was not in [200, 299]
*/
deleteCostGCPUsageCostConfig(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCostTagDescriptionByKey
* @throws ApiException if the response code was not in [200, 299]
*/
deleteCostTagDescriptionByKey(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCustomAllocationRule
* @throws ApiException if the response code was not in [200, 299]
*/
deleteCustomAllocationRule(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCustomCostsFile
* @throws ApiException if the response code was not in [200, 299]
*/
deleteCustomCostsFile(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCustomForecast
* @throws ApiException if the response code was not in [200, 299]
*/
deleteCustomForecast(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteTagPipelinesRuleset
* @throws ApiException if the response code was not in [200, 299]
*/
deleteTagPipelinesRuleset(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to generateCostTagDescriptionByKey
* @throws ApiException if the response code was not in [200, 299]
*/
generateCostTagDescriptionByKey(response: ResponseContext): Promise<GenerateCostTagDescriptionResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getBudget
* @throws ApiException if the response code was not in [200, 299]
*/
getBudget(response: ResponseContext): Promise<BudgetWithEntries>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCommitmentsCommitmentList
* @throws ApiException if the response code was not in [200, 299]
*/
getCommitmentsCommitmentList(response: ResponseContext): Promise<CommitmentsListResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCommitmentsCoverageScalar
* @throws ApiException if the response code was not in [200, 299]
*/
getCommitmentsCoverageScalar(response: ResponseContext): Promise<CommitmentsCoverageScalarResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCommitmentsCoverageTimeseries
* @throws ApiException if the response code was not in [200, 299]
*/
getCommitmentsCoverageTimeseries(response: ResponseContext): Promise<CommitmentsCoverageTimeseriesResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCommitmentsOnDemandHotspotsScalar
* @throws ApiException if the response code was not in [200, 299]
*/
getCommitmentsOnDemandHotspotsScalar(response: ResponseContext): Promise<CommitmentsOnDemandHotspotsScalarResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCommitmentsSavingsScalar
* @throws ApiException if the response code was not in [200, 299]
*/
getCommitmentsSavingsScalar(response: ResponseContext): Promise<CommitmentsSavingsScalarResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCommitmentsSavingsTimeseries
* @throws ApiException if the response code was not in [200, 299]
*/
getCommitmentsSavingsTimeseries(response: ResponseContext): Promise<CommitmentsSavingsTimeseriesResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCommitmentsUtilizationScalar
* @throws ApiException if the response code was not in [200, 299]
*/
getCommitmentsUtilizationScalar(response: ResponseContext): Promise<CommitmentsUtilizationScalarResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCommitmentsUtilizationTimeseries
* @throws ApiException if the response code was not in [200, 299]
*/
getCommitmentsUtilizationTimeseries(response: ResponseContext): Promise<CommitmentsUtilizationTimeseriesResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCostAnomaly
* @throws ApiException if the response code was not in [200, 299]
*/
getCostAnomaly(response: ResponseContext): Promise<CostAnomalyResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCostAWSCURConfig
* @throws ApiException if the response code was not in [200, 299]
*/
getCostAWSCURConfig(response: ResponseContext): Promise<AwsCurConfigResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCostAzureUCConfig
* @throws ApiException if the response code was not in [200, 299]
*/
getCostAzureUCConfig(response: ResponseContext): Promise<UCConfigPair>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCostGCPUsageCostConfig
* @throws ApiException if the response code was not in [200, 299]
*/
getCostGCPUsageCostConfig(response: ResponseContext): Promise<GcpUcConfigResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCostTagDescriptionByKey
* @throws ApiException if the response code was not in [200, 299]
*/
getCostTagDescriptionByKey(response: ResponseContext): Promise<CostTagDescriptionResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCostTagKey
* @throws ApiException if the response code was not in [200, 299]
*/
getCostTagKey(response: ResponseContext): Promise<CostTagKeyResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCostTagMetadataCurrency
* @throws ApiException if the response code was not in [200, 299]
*/
getCostTagMetadataCurrency(response: ResponseContext): Promise<CostCurrencyResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCustomAllocationRule
* @throws ApiException if the response code was not in [200, 299]
*/
getCustomAllocationRule(response: ResponseContext): Promise<ArbitraryRuleResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCustomCostsFile
* @throws ApiException if the response code was not in [200, 299]
*/
getCustomCostsFile(response: ResponseContext): Promise<CustomCostsFileGetResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getTagPipelinesRuleset
* @throws ApiException if the response code was not in [200, 299]
*/
getTagPipelinesRuleset(response: ResponseContext): Promise<RulesetResp>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listBudgets
* @throws ApiException if the response code was not in [200, 299]
*/
listBudgets(response: ResponseContext): Promise<BudgetArray>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostAnomalies
* @throws ApiException if the response code was not in [200, 299]
*/
listCostAnomalies(response: ResponseContext): Promise<CostAnomaliesResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostAWSCURConfigs
* @throws ApiException if the response code was not in [200, 299]
*/
listCostAWSCURConfigs(response: ResponseContext): Promise<AwsCURConfigsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostAzureUCConfigs
* @throws ApiException if the response code was not in [200, 299]
*/
listCostAzureUCConfigs(response: ResponseContext): Promise<AzureUCConfigsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostGCPUsageCostConfigs
* @throws ApiException if the response code was not in [200, 299]
*/
listCostGCPUsageCostConfigs(response: ResponseContext): Promise<GCPUsageCostConfigsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostOCIConfigs
* @throws ApiException if the response code was not in [200, 299]
*/
listCostOCIConfigs(response: ResponseContext): Promise<OCIConfigsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostTagDescriptions
* @throws ApiException if the response code was not in [200, 299]
*/
listCostTagDescriptions(response: ResponseContext): Promise<CostTagDescriptionsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostTagKeys
* @throws ApiException if the response code was not in [200, 299]
*/
listCostTagKeys(response: ResponseContext): Promise<CostTagKeysResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostTagKeySources
* @throws ApiException if the response code was not in [200, 299]
*/
listCostTagKeySources(response: ResponseContext): Promise<CostTagKeySourcesResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostTagMetadata
* @throws ApiException if the response code was not in [200, 299]
*/
listCostTagMetadata(response: ResponseContext): Promise<CostTagKeyMetadataResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostTagMetadataMetrics
* @throws ApiException if the response code was not in [200, 299]
*/
listCostTagMetadataMetrics(response: ResponseContext): Promise<CostMetricsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostTagMetadataMonths
* @throws ApiException if the response code was not in [200, 299]
*/
listCostTagMetadataMonths(response: ResponseContext): Promise<CostTagMetadataMonthsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostTagMetadataOrchestrators
* @throws ApiException if the response code was not in [200, 299]
*/
listCostTagMetadataOrchestrators(response: ResponseContext): Promise<CostOrchestratorsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCostTags
* @throws ApiException if the response code was not in [200, 299]
*/
listCostTags(response: ResponseContext): Promise<CostTagsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCustomAllocationRules
* @throws ApiException if the response code was not in [200, 299]
*/
listCustomAllocationRules(response: ResponseContext): Promise<ArbitraryRuleResponseArray>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCustomAllocationRulesStatus
* @throws ApiException if the response code was not in [200, 299]
*/
listCustomAllocationRulesStatus(response: ResponseContext): Promise<ArbitraryRuleStatusResponseArray>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listCustomCostsFiles
* @throws ApiException if the response code was not in [200, 299]
*/
listCustomCostsFiles(response: ResponseContext): Promise<CustomCostsFileListResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listTagPipelinesRulesets
* @throws ApiException if the response code was not in [200, 299]
*/
listTagPipelinesRulesets(response: ResponseContext): Promise<RulesetRespArray>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listTagPipelinesRulesetsStatus
* @throws ApiException if the response code was not in [200, 299]
*/
listTagPipelinesRulesetsStatus(response: ResponseContext): Promise<RulesetStatusRespArray>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to reorderCustomAllocationRules
* @throws ApiException if the response code was not in [200, 299]
*/
reorderCustomAllocationRules(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to reorderTagPipelinesRulesets
* @throws ApiException if the response code was not in [200, 299]
*/
reorderTagPipelinesRulesets(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to searchCostRecommendations
* @throws ApiException if the response code was not in [200, 299]
*/
searchCostRecommendations(response: ResponseContext): Promise<CostRecommendationArray>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to updateCostAWSCURConfig
* @throws ApiException if the response code was not in [200, 299]
*/
updateCostAWSCURConfig(response: ResponseContext): Promise<AwsCURConfigsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to updateCostAzureUCConfigs
* @throws ApiException if the response code was not in [200, 299]
*/
updateCostAzureUCConfigs(response: ResponseContext): Promise<AzureUCConfigPairsResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to updateCostGCPUsageCostConfig
* @throws ApiException if the response code was not in [200, 299]
*/
updateCostGCPUsageCostConfig(response: ResponseContext): Promise<GCPUsageCostConfigResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to updateCustomAllocationRule
* @throws ApiException if the response code was not in [200, 299]
*/
updateCustomAllocationRule(response: ResponseContext): Promise<ArbitraryRuleResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to updateTagPipelinesRuleset
* @throws ApiException if the response code was not in [200, 299]
*/
updateTagPipelinesRuleset(response: ResponseContext): Promise<RulesetResp>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to uploadCustomCostsFile
* @throws ApiException if the response code was not in [200, 299]
*/
uploadCustomCostsFile(response: ResponseContext): Promise<CustomCostsFileUploadResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to upsertBudget
* @throws ApiException if the response code was not in [200, 299]
*/
upsertBudget(response: ResponseContext): Promise<BudgetWithEntries>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to upsertCostTagDescriptionByKey
* @throws ApiException if the response code was not in [200, 299]
*/
upsertCostTagDescriptionByKey(response: ResponseContext): Promise<void>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to upsertCustomForecast
* @throws ApiException if the response code was not in [200, 299]
*/
upsertCustomForecast(response: ResponseContext): Promise<CustomForecastResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to validateBudget
* @throws ApiException if the response code was not in [200, 299]
*/
validateBudget(response: ResponseContext): Promise<BudgetValidationResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to validateCsvBudget
* @throws ApiException if the response code was not in [200, 299]
*/
validateCsvBudget(response: ResponseContext): Promise<ValidationResponse>;
/**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to validateQuery
* @throws ApiException if the response code was not in [200, 299]
*/
validateQuery(response: ResponseContext): Promise<RulesValidateQueryResponse>;
}
export interface CloudCostManagementApiCreateCostAWSCURConfigRequest {
/**
* @type AwsCURConfigPostRequest
*/
body: AwsCURConfigPostRequest;
}
export interface CloudCostManagementApiCreateCostAzureUCConfigsRequest {
/**
* @type AzureUCConfigPostRequest
*/
body: AzureUCConfigPostRequest;
}
export interface CloudCostManagementApiCreateCostGCPUsageCostConfigRequest {
/**
* @type GCPUsageCostConfigPostRequest
*/
body: GCPUsageCostConfigPostRequest;
}
export interface CloudCostManagementApiCreateCustomAllocationRuleRequest {
/**
* @type ArbitraryCostUpsertRequest
*/
body: ArbitraryCostUpsertRequest;
}
export interface CloudCostManagementApiCreateTagPipelinesRulesetRequest {
/**
* @type CreateRulesetRequest
*/
body: CreateRulesetRequest;
}
export interface CloudCostManagementApiDeleteBudgetRequest {
/**
* Budget id.
* @type string
*/
budgetId: string;
}
export interface CloudCostManagementApiDeleteCostAWSCURConfigRequest {
/**
* Cloud Account id.
* @type number
*/
cloudAccountId: number;
}
export interface CloudCostManagementApiDeleteCostAzureUCConfigRequest {
/**
* Cloud Account id.
* @type number
*/
cloudAccountId: number;
}
export interface CloudCostManagementApiDeleteCostGCPUsageCostConfigRequest {
/**
* Cloud Account id.
* @type number
*/
cloudAccountId: number;
}
export interface CloudCostManagementApiDeleteCostTagDescriptionByKeyRequest {
/**
* The tag key whose description is being deleted.
* @type string
*/
tagKey: string;
/**
* Cloud provider to scope the deletion to (for example, `aws`). Omit to delete every description for the tag key.
* @type string
*/
cloud?: string;
}
export interface CloudCostManagementApiDeleteCustomAllocationRuleRequest {
/**
* The unique identifier of the custom allocation rule
* @type number
*/
ruleId: number;
}
export interface CloudCostManagementApiDeleteCustomCostsFileRequest {
/**
* File ID.
* @type string
*/
fileId: string;
}
export interface CloudCostManagementApiDeleteCustomForecastRequest {
/**
* Budget id.
* @type string
*/
budgetId: string;
}
export interface CloudCostManagementApiDeleteTagPipelinesRulesetRequest {
/**
* The unique identifier of the ruleset
* @type string
*/
rulesetId: string;
}
export interface CloudCostManagementApiGenerateCostTagDescriptionByKeyRequest {
/**
* The tag key to generate an AI description for.
* @type string
*/
tagKey: string;
}
export interface CloudCostManagementApiGetBudgetRequest {
/**
* Budget id.
* @type string
*/
budgetId: string;
/**
* When `true`, includes actual cost data in the response.
* @type boolean
*/
actual?: boolean;
/**
* When `true`, includes forecast cost data in the response, including `ootb_forecast` and `custom_forecast` per entry.
* @type boolean
*/
forecast?: boolean;
/**
* Start of the cost window in milliseconds since epoch. Must be used together with `end`.
* @type number
*/
start?: number;
/**
* End of the cost window in milliseconds since epoch. Must be used together with `start`.
* @type number
*/
end?: number;
}
export interface CloudCostManagementApiGetCommitmentsCommitmentListRequest {
/**
* Cloud provider for commitment programs (aws or azure).
* @type CommitmentsProvider
*/
provider: CommitmentsProvider;
/**
* Cloud product identifier (for example, ec2, rds, virtualmachines).
* @type string
*/
product: string;
/**
* Start of the query time range in Unix milliseconds.
* @type number
*/
start: number;
/**
* End of the query time range in Unix milliseconds.
* @type number
*/
end: number;
/**
* Optional filter expression to narrow down results.
* @type string
*/
filterBy?: string;
/**
* Type of commitment to query. ri for Reserved Instances, sp for Savings Plans. Defaults to ri.
* @type CommitmentsCommitmentType
*/
commitmentType?: CommitmentsCommitmentType;
}
export interface CloudCostManagementApiGetCommitmentsCoverageScalarRequest {
/**
* Cloud provider for commitment programs (aws or azure).
* @type CommitmentsProvider
*/
provider: CommitmentsProvider;
/**
* Cloud product identifier (for example, ec2, rds, virtualmachines).
* @type string
*/
product: string;
/**
* Start of the query time range in Unix milliseconds.
* @type number
*/
start: number;
/**
* End of the query time range in Unix milliseconds.
* @type number
*/
end: number;
/**
* Optional filter expression to narrow down results.
* @type string
*/
filterBy?: string;
}
export interface CloudCostManagementApiGetCommitmentsCoverageTimeseriesRequest {
/**
* Cloud provider for commitment programs (aws or azure).
* @type CommitmentsProvider
*/
provider: CommitmentsProvider;
/**
* Cloud product identifier (for example, ec2, rds, virtualmachines).
* @type string
*/
product: string;
/**
* Start of the query time range in Unix milliseconds.
* @type number
*/
start: number;
/**
* End of the query time range in Unix milliseconds.
* @type number
*/
end: number;
/**
* Optional filter expression to narrow down results.
* @type string
*/
filterBy?: string;
}
export interface CloudCostManagementApiGetCommitmentsOnDemandHotspotsScalarRequest {
/**
* Cloud provider for commitment programs (aws or azure).
* @type CommitmentsProvider
*/
provider: CommitmentsProvider;
/**
* Cloud product identifier (for example, ec2, rds, virtualmachines).
* @type string
*/
product: string;
/**
* Start of the query time range in Unix milliseconds.
* @type number
*/
start: number;
/**
* End of the query time range in Unix milliseconds.
* @type number
*/
end: number;
/**
* Optional filter expression to narrow down results.
* @type string
*/
filterBy?: string;
}
export interface CloudCostManagementApiGetCommitmentsSavingsScalarRequest {
/**
* Cloud provider for commitment programs (aws or azure)