@datadog/datadog-api-client 1.56.0 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/packages/datadog-api-client-common/configuration.js +60 -41
- package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
- package/dist/packages/datadog-api-client-common/servers.d.ts +2 -2
- package/dist/packages/datadog-api-client-common/servers.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/index.d.ts +11 -0
- package/dist/packages/datadog-api-client-v1/index.js +27 -15
- package/dist/packages/datadog-api-client-v1/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/AzureAccount.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/AzureAccount.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/AzureAccount.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/DataProjectionQuery.d.ts +48 -0
- package/dist/packages/datadog-api-client-v1/models/DataProjectionQuery.js +49 -0
- package/dist/packages/datadog-api-client-v1/models/DataProjectionQuery.js.map +1 -0
- package/dist/packages/{datadog-api-client-v2/models/IncidentTeamIncludedItems.d.ts → datadog-api-client-v1/models/DataProjectionRequestType.d.ts} +3 -3
- package/dist/packages/{datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsLearningDuration.js → datadog-api-client-v1/models/DataProjectionRequestType.js} +3 -5
- package/dist/packages/datadog-api-client-v1/models/DataProjectionRequestType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.js +3 -2
- package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.d.ts +3 -1
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.js +5 -3
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.d.ts +8 -0
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.js +10 -0
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js +22 -0
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/PointPlotDimension.d.ts +14 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotDimension.js +13 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotDimension.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotProjection.d.ts +46 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotProjection.js +40 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotProjection.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionDimension.d.ts +45 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionDimension.js +40 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionDimension.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionType.js +10 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotProjectionType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinition.d.ts +84 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinition.js +72 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinition.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinitionType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinitionType.js +10 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetDefinitionType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegend.d.ts +37 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegend.js +31 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegend.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegendType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegendType.js +11 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetLegendType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetRequest.d.ts +51 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetRequest.js +46 -0
- package/dist/packages/datadog-api-client-v1/models/PointPlotWidgetRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/SankeyRumDataSource.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SankeyRumQuery.d.ts +3 -3
- package/dist/packages/datadog-api-client-v1/models/SankeyRumQuery.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SankeyRumQueryMode.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SankeyRumRequest.d.ts +2 -2
- package/dist/packages/datadog-api-client-v1/models/SankeyRumRequest.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SunburstWidgetRequest.d.ts +5 -0
- package/dist/packages/datadog-api-client-v1/models/SunburstWidgetRequest.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/SunburstWidgetRequest.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/TreeMapWidgetRequest.d.ts +10 -0
- package/dist/packages/datadog-api-client-v1/models/TreeMapWidgetRequest.js +8 -0
- package/dist/packages/datadog-api-client-v1/models/TreeMapWidgetRequest.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.d.ts +48 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js +60 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.d.ts +48 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js +60 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.d.ts +48 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js +60 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/WidgetDefinition.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/apis/AppBuilderApi.d.ts +219 -0
- package/dist/packages/datadog-api-client-v2/apis/AppBuilderApi.js +816 -47
- package/dist/packages/datadog-api-client-v2/apis/AppBuilderApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.d.ts +630 -5
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js +2073 -405
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ComplianceApi.d.ts +66 -0
- package/dist/packages/datadog-api-client-v2/apis/ComplianceApi.js +147 -0
- package/dist/packages/datadog-api-client-v2/apis/ComplianceApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.d.ts +42 -9
- package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.js +172 -18
- package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/LLMObservabilityApi.d.ts +129 -5
- package/dist/packages/datadog-api-client-v2/apis/LLMObservabilityApi.js +485 -5
- package/dist/packages/datadog-api-client-v2/apis/LLMObservabilityApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.d.ts +14 -6
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js +9 -3
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/OrgGroupsApi.d.ts +43 -1
- package/dist/packages/datadog-api-client-v2/apis/OrgGroupsApi.js +184 -1
- package/dist/packages/datadog-api-client-v2/apis/OrgGroupsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.d.ts +22 -0
- package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.js +75 -0
- package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.d.ts +350 -101
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +1097 -271
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.d.ts +9 -9
- package/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.js +21 -21
- package/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/StatusPagesApi.d.ts +63 -1
- package/dist/packages/datadog-api-client-v2/apis/StatusPagesApi.js +177 -1
- package/dist/packages/datadog-api-client-v2/apis/StatusPagesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/StorageManagementApi.d.ts +35 -0
- package/dist/packages/datadog-api-client-v2/apis/StorageManagementApi.js +126 -0
- package/dist/packages/datadog-api-client-v2/apis/StorageManagementApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.d.ts +369 -0
- package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.js +1156 -83
- package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/TestOptimizationApi.js +0 -28
- package/dist/packages/datadog-api-client-v2/apis/TestOptimizationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/UsersApi.d.ts +87 -0
- package/dist/packages/datadog-api-client-v2/apis/UsersApi.js +320 -0
- package/dist/packages/datadog-api-client-v2/apis/UsersApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/WebIntegrationsApi.d.ts +145 -0
- package/dist/packages/datadog-api-client-v2/apis/{IncidentTeamsApi.js → WebIntegrationsApi.js} +141 -119
- package/dist/packages/datadog-api-client-v2/apis/WebIntegrationsApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/WidgetsApi.d.ts +27 -5
- package/dist/packages/datadog-api-client-v2/apis/WidgetsApi.js +10 -1
- package/dist/packages/datadog-api-client-v2/apis/WidgetsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/index.d.ts +389 -40
- package/dist/packages/datadog-api-client-v2/index.js +696 -128
- package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUserError.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUserError.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUserError.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamCreateRequest.js → AnonymizeUsersRequest.js} +8 -8
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestData.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseAttributes.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobResponseData.js → AnonymizeUsersResponseData.js} +9 -9
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatName.d.ts +17 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatName.js +16 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatName.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsQuery.d.ts +78 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsQuery.js +77 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsQuery.d.ts +87 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsQuery.js +81 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsSpanKind.d.ts +15 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsSpanKind.js +14 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsSpanKind.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsStat.d.ts +26 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsStat.js +25 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsStat.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatName.d.ts +22 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatName.js +21 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatName.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsQuery.d.ts +78 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsQuery.js +75 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AppFavoriteType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AppFavoriteType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/AppFavoriteType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AppProtectionLevel.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/AppProtectionLevel.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/AppProtectionLevel.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AppProtectionLevelType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AppProtectionLevelType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/AppProtectionLevelType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AppSelfServiceType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AppSelfServiceType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/AppSelfServiceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamType.d.ts → AppTagsType.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamType.js → AppTagsType.js} +3 -3
- package/dist/packages/datadog-api-client-v2/models/AppTagsType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersion.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersion.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersion.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersionAttributes.d.ts +68 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersionAttributes.js +73 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersionAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersionNameType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersionNameType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersionNameType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersionType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersionType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/AppVersionType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseArray.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseArray.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseArray.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseDataAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseDataAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ArbitraryRuleStatusResponseDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateAttributes.js +5 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderId.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderId.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderId.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderRequestType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderRequestType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventoryCloudProviderRequestType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAWSRequestAttributes.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAWSRequestAttributes.js +50 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAWSRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAttributes.d.ts +89 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAttributes.js +96 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAzureRequestAttributes.d.ts +56 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAzureRequestAttributes.js +61 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigAzureRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigGCPRequestAttributes.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigGCPRequestAttributes.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigGCPRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResourceType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResourceType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponseData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponseData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CloudInventorySyncConfigResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsEC2RICommitment.d.ts +84 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsEC2RICommitment.js +93 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsEC2RICommitment.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsElasticacheRICommitment.d.ts +76 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsElasticacheRICommitment.js +84 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsElasticacheRICommitment.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsRDSRICommitment.d.ts +80 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsRDSRICommitment.js +88 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsRDSRICommitment.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsSPCommitment.d.ts +64 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsSPCommitment.js +69 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAwsSPCommitment.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureComputeSPCommitment.d.ts +60 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureComputeSPCommitment.js +64 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureComputeSPCommitment.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRICommitment.d.ts +73 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRICommitment.js +74 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRICommitment.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRIStatus.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRIStatus.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsAzureVMRIStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsCommitmentType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsCommitmentType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsCommitmentType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageScalarResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageScalarResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageScalarResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageTimeseriesResponse.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageTimeseriesResponse.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsCoverageTimeseriesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsListItem.d.ts +16 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamIncludedItems.js → CommitmentsListItem.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/CommitmentsListItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsListMeta.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsListMeta.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsListMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsListResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsListResponse.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsListResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarMeta.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarMeta.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarResponse.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarResponse.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsOnDemandHotspotsScalarResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsProvider.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsProvider.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsProvider.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsScalarResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsScalarResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsScalarResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsTimeseriesResponse.d.ts +49 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsTimeseriesResponse.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsSavingsTimeseriesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumn.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumn.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumn.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnMeta.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnMeta.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsScalarColumnType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsTimeseriesMetric.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsTimeseriesMetric.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsTimeseriesMetric.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsUnit.d.ts +56 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsUnit.js +63 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsUnit.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamRelationships.d.ts → CommitmentsUtilizationScalarProductBreakdownEntry.d.ts} +6 -7
- package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationScalarProductBreakdownEntry.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationScalarProductBreakdownEntry.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationScalarResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationScalarResponse.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationScalarResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationTimeseriesResponse.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationTimeseriesResponse.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/CommitmentsUtilizationTimeseriesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerScalarQuery.d.ts +75 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerScalarQuery.js +70 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerScalarQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerTimeseriesQuery.d.ts +70 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerTimeseriesQuery.js +66 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerTimeseriesQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsAttributes.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsData.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsData.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsRequest.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsRequest.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataAttributes.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataAttributes.js +55 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaliesResponseDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaly.d.ts +81 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaly.js +85 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomaly.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomalyDismissal.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomalyDismissal.js +57 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomalyDismissal.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponseData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponseData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CostAnomalyResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTag.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/CostTag.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CostTag.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagAttributes.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagAttributes.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescription.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescription.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescription.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionAttributes.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionAttributes.js +56 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionSource.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionSource.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionsResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionsResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagDescriptionsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKey.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKey.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKey.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeyAttributes.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeyAttributes.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeyAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeyDetails.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeyDetails.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeyDetails.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeyResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamUpdateRequest.js → CostTagKeyResponse.js} +8 -8
- package/dist/packages/datadog-api-client-v2/models/CostTagKeyResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeyType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeyType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeyType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeysResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeysResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagKeysResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagsResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagsResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CostTagsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestData.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributes.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributesUpdatesItems.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributesUpdatesItems.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledDegradationRequestDataAttributesUpdatesItems.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestData.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributes.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributes.d.ts +2 -0
- package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItems.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItems.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItems.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItemsComponentsAffectedItems.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItemsComponentsAffectedItems.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/CreateDegradationRequestDataAttributesUpdatesItemsComponentsAffectedItems.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.d.ts +7 -5
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.js +9 -0
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItems.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItems.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItems.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsComponentsAffectedItems.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsComponentsAffectedItems.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsComponentsAffectedItems.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsStatus.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsStatus.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributesUpdatesItemsStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestDataAttributes.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestDataAttributes.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePublishRequestRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateStatusPageRequestDataAttributes.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/CreateStatusPageRequestDataAttributes.js +0 -5
- package/dist/packages/datadog-api-client-v2/models/CreateStatusPageRequestDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CustomCostListResponseMeta.d.ts +10 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostListResponseMeta.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostListResponseMeta.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunk.d.ts +4 -3
- package/dist/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunk.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunk.d.ts +4 -3
- package/dist/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunk.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/EventsDataSource.d.ts +12 -1
- package/dist/packages/datadog-api-client-v2/models/EventsDataSource.js +12 -1
- package/dist/packages/datadog-api-client-v2/models/EventsDataSource.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/EventsScalarQuery.d.ts +5 -1
- package/dist/packages/datadog-api-client-v2/models/EventsScalarQuery.js +5 -1
- package/dist/packages/datadog-api-client-v2/models/EventsScalarQuery.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.d.ts +5 -1
- package/dist/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.js +5 -1
- package/dist/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironment.d.ts +0 -10
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironment.js +0 -9
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironment.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironmentListItem.d.ts +77 -0
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironmentListItem.js +73 -0
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagEnvironmentListItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItem.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItem.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItemAttributes.d.ts +99 -0
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItemAttributes.js +100 -0
- package/dist/packages/datadog-api-client-v2/models/FeatureFlagListItemAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/FullPersonalAccessTokenAttributes.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/FullPersonalAccessTokenAttributes.js +0 -4
- package/dist/packages/datadog-api-client-v2/models/FullPersonalAccessTokenAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsDataAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsDataAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsInputUpdateDataAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsInputUpdateDataAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/GcpScanOptionsInputUpdateDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseAttributes.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseAttributes.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobDataType.d.ts → HistoricalJobDataType.d.ts} +1 -1
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobDataType.js → HistoricalJobDataType.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobListMeta.d.ts → HistoricalJobListMeta.d.ts} +1 -1
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobListMeta.js → HistoricalJobListMeta.js} +6 -6
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobListMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobOptions.d.ts → HistoricalJobOptions.d.ts} +1 -1
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobOptions.js → HistoricalJobOptions.js} +6 -6
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobQuery.d.ts → HistoricalJobQuery.d.ts} +2 -2
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobQuery.js → HistoricalJobQuery.js} +7 -7
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobResponseAttributes.d.ts → HistoricalJobResponseAttributes.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobResponseAttributes.js → HistoricalJobResponseAttributes.js} +7 -7
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobResponseData.d.ts → HistoricalJobResponseData.d.ts} +7 -7
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponseData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataAttributes.d.ts +1 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseAttributes.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseAttributes.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamCreateAttributes.d.ts → IoCExplorerListResponseMetadata.d.ts} +4 -4
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseMetadata.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseMetadata.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponsePaging.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponsePaging.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponsePaging.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCGeoLocation.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/IoCGeoLocation.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/IoCGeoLocation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicator.d.ts +119 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicator.js +116 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicator.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicatorDetailed.d.ts +164 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicatorDetailed.js +156 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicatorDetailed.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCScoreEffect.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/IoCScoreEffect.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/IoCScoreEffect.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCSignalSeverityCount.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/IoCSignalSeverityCount.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/IoCSignalSeverityCount.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCSource.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamCreateAttributes.js → IoCSource.js} +7 -8
- package/dist/packages/datadog-api-client-v2/models/IoCSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IssueAttributes.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/IssueAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/IssueAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/IssueRegression.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamResponseAttributes.js → IssueRegression.js} +17 -15
- package/dist/packages/datadog-api-client-v2/models/IssueRegression.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IssuesSearchRequestDataAttributes.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/IssuesSearchRequestDataAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/IssuesSearchRequestDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobCreateResponse.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobCreateResponse.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobCreateResponseData.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/JobCreateResponseData.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobCreateResponseData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobDefinition.d.ts +5 -5
- package/dist/packages/datadog-api-client-v2/models/JobDefinition.js +3 -3
- package/dist/packages/datadog-api-client-v2/models/JobDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobDefinitionFromRule.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobDefinitionFromRule.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotatedInteractionItem.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesRequest.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesRequest.js +4 -5
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesRequest.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesResponse.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesResponse.js +4 -5
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueDataAttributesResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueInteractionItem.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueInteractionResponseItem.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaAttributes.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaAttributes.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateAttributes.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateAttributes.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueLabelSchemaUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueUpdateDataAttributesRequest.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueUpdateDataAttributesRequest.js +4 -5
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationQueueUpdateDataAttributesRequest.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationSchema.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationSchema.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsAnnotationSchema.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAssessmentCriteria.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAssessmentCriteria.js +49 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAssessmentCriteria.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAttributes.d.ts +72 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAttributes.js +67 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigBedrockOptions.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigBedrockOptions.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigBedrockOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigEvalScope.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigEvalScope.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigEvalScope.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigInferenceParams.d.ts +56 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigInferenceParams.js +61 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigInferenceParams.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigIntegrationProvider.d.ts +16 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigIntegrationProvider.js +15 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigIntegrationProvider.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMJudgeConfig.d.ts +66 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMJudgeConfig.js +55 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMJudgeConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMProvider.d.ts +55 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMProvider.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMProvider.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigParsingType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigParsingType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigParsingType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContent.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContent.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContent.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContentValue.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContentValue.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContentValue.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptMessage.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptMessage.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptMessage.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolCall.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolCall.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolCall.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolResult.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolResult.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolResult.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigTarget.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigTarget.js +53 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigTarget.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateAttributes.d.ts +55 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateAttributes.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateData.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUser.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUser.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUser.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultFailure.d.ts → LLMObsCustomEvalConfigVertexAIOptions.d.ts} +6 -6
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigVertexAIOptions.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigVertexAIOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsInteractionType.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/LLMObsInteractionType.js +2 -1
- package/dist/packages/datadog-api-client-v2/models/LLMObsInteractionType.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchema.d.ts +81 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchema.js +78 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchema.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchemaType.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchemaType.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsLabelSchemaType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListAppVersionsResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ListAppVersionsResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/ListAppVersionsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListFeatureFlagsResponse.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/ListFeatureFlagsResponse.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ListFeatureFlagsResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/{ListThreatHuntingJobsResponse.d.ts → ListHistoricalJobsResponse.d.ts} +7 -7
- package/dist/packages/datadog-api-client-v2/models/ListHistoricalJobsResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/ListHistoricalJobsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributes.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributesCompressionMethod.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributesCompressionMethod.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributesCompressionMethod.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestAttributes.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsData.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrg.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrg.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrg.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrgs.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrgs.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationshipToOrgs.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationships.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationships.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsRelationships.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamResponse.js → ManagedOrgsResponse.js} +10 -9
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ManagedOrgsType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MetricsScalarQuery.d.ts +5 -1
- package/dist/packages/datadog-api-client-v2/models/MetricsScalarQuery.js +5 -1
- package/dist/packages/datadog-api-client-v2/models/MetricsScalarQuery.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.d.ts +5 -1
- package/dist/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.js +5 -1
- package/dist/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/MuteDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/MuteDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/MuteDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsMuteAttributes.d.ts +49 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsMuteAttributes.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsMuteAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsReason.d.ts +19 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsReason.js +18 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsReason.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamResponseData.d.ts → MuteFindingsRequestData.d.ts} +12 -12
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamUpdateData.js → MuteFindingsRequestData.js} +12 -10
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamUpdateRequest.d.ts → MuteFindingsRequestDataAttributes.d.ts} +5 -5
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestDataAttributes.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestDataRelationships.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestDataRelationships.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsRequestDataRelationships.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponseData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponseData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingsResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfig.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfig.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfigAttributes.d.ts +56 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfigAttributes.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfigAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfigType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfigType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfigType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfigsResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfigsResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/OCIConfigsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +816 -59
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigDestinationItem.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestination.d.ts +69 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestination.js +67 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestination.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationAuth.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationAuth.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationAuth.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatabricksZerobusDestinationType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgAttributes.d.ts +64 -0
- package/dist/packages/datadog-api-client-v2/models/OrgAttributes.js +73 -0
- package/dist/packages/datadog-api-client-v2/models/OrgAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/OrgData.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/OrgData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupListResponse.d.ts +6 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupListResponse.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupListResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupMembershipListResponse.d.ts +6 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupMembershipListResponse.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupMembershipListResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationLinks.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationLinks.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationLinks.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMeta.d.ts +3 -3
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMeta.js +1 -2
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMeta.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMetaPage.d.ts +31 -3
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMetaPage.js +37 -4
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPaginationMetaPage.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyAttributes.d.ts +8 -2
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyAttributes.js +8 -9
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyCreateAttributes.d.ts +11 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyCreateAttributes.js +9 -6
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyCreateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyCreateData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyEnforcementTier.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyEnforcementTier.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyEnforcementTier.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyListResponse.d.ts +6 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyListResponse.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyListResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideListResponse.d.ts +6 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideListResponse.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideListResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideUpdateAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideUpdateAttributes.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideUpdateData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyPolicyType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyPolicyType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyPolicyType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyUpdateAttributes.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyUpdateAttributes.js +4 -5
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyUpdateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgRelationshipData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/OrgRelationshipData.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/OrgRelationshipData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgResourceType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/OrgResourceType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/OrgResourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PersonalAccessTokenAttributes.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/PersonalAccessTokenAttributes.js +0 -4
- package/dist/packages/datadog-api-client-v2/models/PersonalAccessTokenAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ProcessDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessScalarQuery.d.ts +75 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessScalarQuery.js +70 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessScalarQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessTimeseriesQuery.d.ts +70 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessTimeseriesQuery.js +66 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessTimeseriesQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PublishRequestType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/PublishRequestType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/PublishRequestType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RoutingRuleAction.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewAttributes.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewAttributes.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewComplianceFramework.d.ts +56 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewComplianceFramework.js +55 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewComplianceFramework.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRule.d.ts +79 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRule.js +81 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRule.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleCategory.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleCategory.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleCategory.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleStats.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleStats.js +49 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewRuleStats.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/RuleBasedViewType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleTypesItems.d.ts +5 -2
- package/dist/packages/datadog-api-client-v2/models/RuleTypesItems.js +3 -1
- package/dist/packages/datadog-api-client-v2/models/RuleTypesItems.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespArray.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespArray.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespArray.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/RulesetStatusRespDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamCreateRequest.d.ts → RunHistoricalJobRequest.d.ts} +5 -5
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{RunThreatHuntingJobRequestAttributes.d.ts → RunHistoricalJobRequestAttributes.d.ts} +4 -4
- package/dist/packages/datadog-api-client-v2/models/{RunThreatHuntingJobRequestAttributes.js → RunHistoricalJobRequestAttributes.js} +7 -7
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{RunThreatHuntingJobRequestData.d.ts → RunHistoricalJobRequestData.d.ts} +7 -7
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{RunThreatHuntingJobRequestDataType.d.ts → RunHistoricalJobRequestDataType.d.ts} +1 -1
- package/dist/packages/datadog-api-client-v2/models/{RunThreatHuntingJobRequestDataType.js → RunHistoricalJobRequestDataType.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequestDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ScalarQuery.d.ts +7 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityEntityRiskScoreAttributes.js +2 -2
- package/dist/packages/datadog-api-client-v2/models/SecurityEntityRiskScoreAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackActivation.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackIntegrationStatus.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackStateAttributes.d.ts +7 -6
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackStateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackStateMeta.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackStatus.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackTimestampBucket.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeletePayload.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeletePayload.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeletePayload.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteRequestDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteRequestDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteRequestDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteResponse.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteResponse.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleBulkDeleteResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.d.ts +2 -4
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.js +2 -2
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSKU.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateAttributes.d.ts +55 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateAttributes.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateData.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateData.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertAttributes.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportAttributes.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportAttributes.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformResourceType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformResourceType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformResourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SloDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/SloDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/SloDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SloQuery.d.ts +68 -0
- package/dist/packages/datadog-api-client-v2/models/SloQuery.js +61 -0
- package/dist/packages/datadog-api-client-v2/models/SloQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SlosGroupMode.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/SlosGroupMode.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/SlosGroupMode.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SlosMeasure.d.ts +20 -0
- package/dist/packages/datadog-api-client-v2/models/SlosMeasure.js +19 -0
- package/dist/packages/datadog-api-client-v2/models/SlosMeasure.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SlosQueryType.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/SlosQueryType.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/SlosQueryType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesRequest.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesRequest.js +54 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesResponse.d.ts +81 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesResponse.js +88 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataAttributesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataRequest.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataRequest.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeDataRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeFrequency.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeFrequency.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeFrequency.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamCreateRequest.js.map → SyntheticsDowntimeRequest.js.map} +1 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeResourceType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeResourceType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeResourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotDate.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotDate.js +61 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotDate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceRequest.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceRequest.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceResponse.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceResponse.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRecurrenceResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRequest.d.ts +54 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRequest.js +50 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotResponse.d.ts +58 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotResponse.js +55 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeTimeSlotResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeWeekday.d.ts +17 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeWeekday.js +16 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimeWeekday.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimesResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimesResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsDowntimesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultAttributes.d.ts +9 -8
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultAttributes.js +3 -3
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultDetail.d.ts +21 -26
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultDetail.js +8 -8
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultDetail.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsPollTestResultsResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsPollTestResultsResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsPollTestResultsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestLatestResultsResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestLatestResultsResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestLatestResultsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAssertionResult.d.ts +72 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAssertionResult.js +71 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAssertionResult.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAttributes.d.ts +72 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAttributes.js +58 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBatch.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBatch.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBatch.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBounds.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBounds.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBounds.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamUpdateData.d.ts → SyntheticsTestResultBrowserError.d.ts} +20 -13
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBrowserError.js +56 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBrowserError.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBucketKeys.d.ts +76 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBucketKeys.js +75 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBucketKeys.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCI.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCI.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCI.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamResponseAttributes.d.ts → SyntheticsTestResultCIPipeline.d.ts} +12 -8
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIPipeline.js +48 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIPipeline.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIProvider.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamUpdateAttributes.js → SyntheticsTestResultCIProvider.js} +7 -8
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIProvider.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIStage.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIStage.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIStage.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnCacheStatus.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnCacheStatus.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnCacheStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnProviderInfo.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnProviderInfo.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnProviderInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnResource.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnResource.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnResource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificate.d.ts +85 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificate.js +76 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificateValidity.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificateValidity.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificateValidity.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamResponseData.js → SyntheticsTestResultData.js} +10 -10
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamResponseData.js.map → SyntheticsTestResultData.js.map} +1 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDetail.d.ts +216 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDetail.js +196 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDetail.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevice.d.ts +59 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevice.js +50 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevice.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceBrowser.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceBrowser.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceBrowser.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevicePlatform.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevicePlatform.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevicePlatform.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceResolution.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceResolution.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceResolution.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsRecord.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsRecord.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsRecord.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsResolution.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsResolution.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsResolution.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDuration.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDuration.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDuration.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultExecutionInfo.d.ts +59 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultExecutionInfo.js +50 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultExecutionInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFailure.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFailure.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFailure.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFileRef.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFileRef.js +52 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFileRef.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamResponse.d.ts → SyntheticsTestResultGit.d.ts} +11 -8
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGit.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGit.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitCommit.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitCommit.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitCommit.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitUser.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitUser.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitUser.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHandshake.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHandshake.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHandshake.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHealthCheck.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHealthCheck.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHealthCheck.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultIncludedItem.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultIncludedItem.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultIncludedItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultLocation.d.ts → SyntheticsTestResultLocation.d.ts} +5 -5
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultLocation.js → SyntheticsTestResultLocation.js} +7 -7
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultLocation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpath.d.ts +67 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpath.js +59 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpath.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathDestination.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathDestination.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathDestination.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathEndpoint.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathEndpoint.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathEndpoint.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathHop.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathHop.js +53 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathHop.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstats.d.ts +58 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstats.js +54 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstats.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstatsHops.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstatsHops.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstatsHops.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetworkLatency.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetworkLatency.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetworkLatency.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPCertificate.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPCertificate.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPCertificate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamsResponse.d.ts → SyntheticsTestResultOCSPResponse.d.ts} +10 -11
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPResponse.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPUpdates.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPUpdates.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPUpdates.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentStep.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentStep.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentStep.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentTest.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentTest.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentTest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRedirect.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRedirect.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRedirect.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationshipTest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationshipTest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationshipTest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultDevice.d.ts → SyntheticsTestResultRelationshipTestData.d.ts} +5 -5
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationshipTestData.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationshipTestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationships.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationships.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationships.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRequestInfo.d.ts +119 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRequestInfo.js +115 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRequestInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponseInfo.d.ts +115 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponseInfo.js +100 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponseInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRouter.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultFailure.js → SyntheticsTestResultRouter.js} +11 -11
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRouter.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRumContext.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRumContext.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRumContext.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRunType.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRunType.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRunType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStatus.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStatus.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStep.d.ts +228 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStep.js +202 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStep.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepAssertionResult.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepAssertionResult.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepAssertionResult.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepElementUpdates.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepElementUpdates.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepElementUpdates.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepsInfo.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepsInfo.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepsInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubStep.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubStep.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubStep.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubTest.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubTest.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubTest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryAttributes.d.ts +80 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryAttributes.js +68 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryData.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTab.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTab.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTab.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTrace.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultDevice.js → SyntheticsTestResultTrace.js} +9 -9
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTrace.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTracerouteHop.d.ts +66 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTracerouteHop.js +62 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTracerouteHop.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurn.d.ts +62 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurn.js +56 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurn.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurnStep.d.ts +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurnStep.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurnStep.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariable.d.ts +72 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariable.js +71 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariable.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariables.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariables.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariables.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVitalsMetrics.d.ts +56 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVitalsMetrics.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVitalsMetrics.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWarning.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWarning.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWarning.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWebSocketClose.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWebSocketClose.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWebSocketClose.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestSubType.d.ts +20 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestSubType.js +19 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestSubType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestType.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestType.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TimeseriesQuery.d.ts +7 -1
- package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationAction.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationAction.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationAction.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationActionType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationActionType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/TriggerWorkflowAutomationActionType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobResponse.js.map → UpdateAppFavoriteRequest.js.map} +1 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestDataAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestDataAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppFavoriteRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestDataAttributes.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestDataAttributes.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppProtectionLevelRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestDataAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestDataAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppSelfServiceRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestDataAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestDataAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppTagsRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamUpdateAttributes.d.ts → UpdateAppVersionNameRequestDataAttributes.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequestDataAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppVersionNameRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestAttributes.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestAttributes.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestData.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/UpsertCloudInventorySyncConfigRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UserAttributes.d.ts +18 -13
- package/dist/packages/datadog-api-client-v2/models/UserAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/UserAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/UserUpdateAttributes.d.ts +10 -3
- package/dist/packages/datadog-api-client-v2/models/UserUpdateAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/UserUpdateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyStatus.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyStatus.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateAPIKeyStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Attributes.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Attributes.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Attributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Data.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Data.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Data.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Response.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Response.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Response.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Type.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Type.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ValidateV2Type.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestAttributes.d.ts +49 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestAttributes.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountCreateRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponseAttributes.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponseAttributes.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentTeamCreateData.d.ts → WebIntegrationAccountResponseData.d.ts} +10 -11
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponseData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestAttributes.d.ts +49 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestAttributes.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountUpdateRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountsResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountsResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/WebIntegrationAccountsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WidgetAttributes.d.ts +5 -1
- package/dist/packages/datadog-api-client-v2/models/WidgetAttributes.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/packages/datadog-api-client-v2/apis/IncidentTeamsApi.d.ts +0 -149
- package/dist/packages/datadog-api-client-v2/apis/IncidentTeamsApi.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamCreateAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamCreateData.js +0 -39
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamCreateData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamIncludedItems.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamRelationships.js +0 -34
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamRelationships.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamResponse.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamResponseAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamUpdateAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamUpdateData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamUpdateRequest.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamsResponse.js +0 -39
- package/dist/packages/datadog-api-client-v2/models/IncidentTeamsResponse.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ListThreatHuntingJobsResponse.js +0 -34
- package/dist/packages/datadog-api-client-v2/models/ListThreatHuntingJobsResponse.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequest.d.ts +0 -37
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequest.js +0 -30
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequest.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequestAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequestData.js +0 -34
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequestData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequestDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsForgetAfter.d.ts +0 -16
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsForgetAfter.js +0 -15
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsForgetAfter.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsLearningDuration.d.ts +0 -14
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptionsLearningDuration.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultDevice.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultFailure.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultLocation.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobListMeta.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobOptions.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobQuery.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobResponse.d.ts +0 -37
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobResponse.js +0 -30
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobResponseAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobResponseData.js.map +0 -1
|
@@ -362,21 +362,56 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
362
362
|
return requestContext;
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
|
-
|
|
365
|
+
getCommitmentsCommitmentList(provider, product, start, end, filterBy, commitmentType, _options) {
|
|
366
366
|
return __awaiter(this, void 0, void 0, function* () {
|
|
367
367
|
const _config = _options || this.configuration;
|
|
368
|
-
|
|
369
|
-
if (
|
|
370
|
-
throw new
|
|
368
|
+
logger_1.logger.warn("Using unstable operation 'getCommitmentsCommitmentList'");
|
|
369
|
+
if (!_config.unstableOperations["v2.getCommitmentsCommitmentList"]) {
|
|
370
|
+
throw new Error("Unstable operation 'getCommitmentsCommitmentList' is disabled");
|
|
371
|
+
}
|
|
372
|
+
// verify required parameter 'provider' is not null or undefined
|
|
373
|
+
if (provider === null || provider === undefined) {
|
|
374
|
+
throw new baseapi_1.RequiredError("provider", "getCommitmentsCommitmentList");
|
|
375
|
+
}
|
|
376
|
+
// verify required parameter 'product' is not null or undefined
|
|
377
|
+
if (product === null || product === undefined) {
|
|
378
|
+
throw new baseapi_1.RequiredError("product", "getCommitmentsCommitmentList");
|
|
379
|
+
}
|
|
380
|
+
// verify required parameter 'start' is not null or undefined
|
|
381
|
+
if (start === null || start === undefined) {
|
|
382
|
+
throw new baseapi_1.RequiredError("start", "getCommitmentsCommitmentList");
|
|
383
|
+
}
|
|
384
|
+
// verify required parameter 'end' is not null or undefined
|
|
385
|
+
if (end === null || end === undefined) {
|
|
386
|
+
throw new baseapi_1.RequiredError("end", "getCommitmentsCommitmentList");
|
|
371
387
|
}
|
|
372
388
|
// Path Params
|
|
373
|
-
const localVarPath = "/api/v2/cost/
|
|
389
|
+
const localVarPath = "/api/v2/cost/commitments/commitment-list";
|
|
374
390
|
// Make Request Context
|
|
375
391
|
const requestContext = _config
|
|
376
|
-
.getServer("v2.CloudCostManagementApi.
|
|
392
|
+
.getServer("v2.CloudCostManagementApi.getCommitmentsCommitmentList")
|
|
377
393
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
378
394
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
379
395
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
396
|
+
// Query Params
|
|
397
|
+
if (provider !== undefined) {
|
|
398
|
+
requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
|
|
399
|
+
}
|
|
400
|
+
if (product !== undefined) {
|
|
401
|
+
requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
|
|
402
|
+
}
|
|
403
|
+
if (start !== undefined) {
|
|
404
|
+
requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
|
|
405
|
+
}
|
|
406
|
+
if (end !== undefined) {
|
|
407
|
+
requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
|
|
408
|
+
}
|
|
409
|
+
if (filterBy !== undefined) {
|
|
410
|
+
requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
|
|
411
|
+
}
|
|
412
|
+
if (commitmentType !== undefined) {
|
|
413
|
+
requestContext.setQueryParam("commitmentType", ObjectSerializer_1.ObjectSerializer.serialize(commitmentType, "CommitmentsCommitmentType", ""), "");
|
|
414
|
+
}
|
|
380
415
|
// Apply auth methods
|
|
381
416
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
382
417
|
"apiKeyAuth",
|
|
@@ -386,21 +421,53 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
386
421
|
return requestContext;
|
|
387
422
|
});
|
|
388
423
|
}
|
|
389
|
-
|
|
424
|
+
getCommitmentsCoverageScalar(provider, product, start, end, filterBy, _options) {
|
|
390
425
|
return __awaiter(this, void 0, void 0, function* () {
|
|
391
426
|
const _config = _options || this.configuration;
|
|
392
|
-
|
|
393
|
-
if (
|
|
394
|
-
throw new
|
|
427
|
+
logger_1.logger.warn("Using unstable operation 'getCommitmentsCoverageScalar'");
|
|
428
|
+
if (!_config.unstableOperations["v2.getCommitmentsCoverageScalar"]) {
|
|
429
|
+
throw new Error("Unstable operation 'getCommitmentsCoverageScalar' is disabled");
|
|
430
|
+
}
|
|
431
|
+
// verify required parameter 'provider' is not null or undefined
|
|
432
|
+
if (provider === null || provider === undefined) {
|
|
433
|
+
throw new baseapi_1.RequiredError("provider", "getCommitmentsCoverageScalar");
|
|
434
|
+
}
|
|
435
|
+
// verify required parameter 'product' is not null or undefined
|
|
436
|
+
if (product === null || product === undefined) {
|
|
437
|
+
throw new baseapi_1.RequiredError("product", "getCommitmentsCoverageScalar");
|
|
438
|
+
}
|
|
439
|
+
// verify required parameter 'start' is not null or undefined
|
|
440
|
+
if (start === null || start === undefined) {
|
|
441
|
+
throw new baseapi_1.RequiredError("start", "getCommitmentsCoverageScalar");
|
|
442
|
+
}
|
|
443
|
+
// verify required parameter 'end' is not null or undefined
|
|
444
|
+
if (end === null || end === undefined) {
|
|
445
|
+
throw new baseapi_1.RequiredError("end", "getCommitmentsCoverageScalar");
|
|
395
446
|
}
|
|
396
447
|
// Path Params
|
|
397
|
-
const localVarPath = "/api/v2/cost/
|
|
448
|
+
const localVarPath = "/api/v2/cost/commitments/coverage/scalar";
|
|
398
449
|
// Make Request Context
|
|
399
450
|
const requestContext = _config
|
|
400
|
-
.getServer("v2.CloudCostManagementApi.
|
|
451
|
+
.getServer("v2.CloudCostManagementApi.getCommitmentsCoverageScalar")
|
|
401
452
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
402
453
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
403
454
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
455
|
+
// Query Params
|
|
456
|
+
if (provider !== undefined) {
|
|
457
|
+
requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
|
|
458
|
+
}
|
|
459
|
+
if (product !== undefined) {
|
|
460
|
+
requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
|
|
461
|
+
}
|
|
462
|
+
if (start !== undefined) {
|
|
463
|
+
requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
|
|
464
|
+
}
|
|
465
|
+
if (end !== undefined) {
|
|
466
|
+
requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
|
|
467
|
+
}
|
|
468
|
+
if (filterBy !== undefined) {
|
|
469
|
+
requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
|
|
470
|
+
}
|
|
404
471
|
// Apply auth methods
|
|
405
472
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
406
473
|
"apiKeyAuth",
|
|
@@ -410,21 +477,53 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
410
477
|
return requestContext;
|
|
411
478
|
});
|
|
412
479
|
}
|
|
413
|
-
|
|
480
|
+
getCommitmentsCoverageTimeseries(provider, product, start, end, filterBy, _options) {
|
|
414
481
|
return __awaiter(this, void 0, void 0, function* () {
|
|
415
482
|
const _config = _options || this.configuration;
|
|
416
|
-
|
|
417
|
-
if (
|
|
418
|
-
throw new
|
|
483
|
+
logger_1.logger.warn("Using unstable operation 'getCommitmentsCoverageTimeseries'");
|
|
484
|
+
if (!_config.unstableOperations["v2.getCommitmentsCoverageTimeseries"]) {
|
|
485
|
+
throw new Error("Unstable operation 'getCommitmentsCoverageTimeseries' is disabled");
|
|
486
|
+
}
|
|
487
|
+
// verify required parameter 'provider' is not null or undefined
|
|
488
|
+
if (provider === null || provider === undefined) {
|
|
489
|
+
throw new baseapi_1.RequiredError("provider", "getCommitmentsCoverageTimeseries");
|
|
490
|
+
}
|
|
491
|
+
// verify required parameter 'product' is not null or undefined
|
|
492
|
+
if (product === null || product === undefined) {
|
|
493
|
+
throw new baseapi_1.RequiredError("product", "getCommitmentsCoverageTimeseries");
|
|
494
|
+
}
|
|
495
|
+
// verify required parameter 'start' is not null or undefined
|
|
496
|
+
if (start === null || start === undefined) {
|
|
497
|
+
throw new baseapi_1.RequiredError("start", "getCommitmentsCoverageTimeseries");
|
|
498
|
+
}
|
|
499
|
+
// verify required parameter 'end' is not null or undefined
|
|
500
|
+
if (end === null || end === undefined) {
|
|
501
|
+
throw new baseapi_1.RequiredError("end", "getCommitmentsCoverageTimeseries");
|
|
419
502
|
}
|
|
420
503
|
// Path Params
|
|
421
|
-
const localVarPath = "/api/v2/cost/
|
|
504
|
+
const localVarPath = "/api/v2/cost/commitments/coverage/timeseries";
|
|
422
505
|
// Make Request Context
|
|
423
506
|
const requestContext = _config
|
|
424
|
-
.getServer("v2.CloudCostManagementApi.
|
|
507
|
+
.getServer("v2.CloudCostManagementApi.getCommitmentsCoverageTimeseries")
|
|
425
508
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
426
509
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
427
510
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
511
|
+
// Query Params
|
|
512
|
+
if (provider !== undefined) {
|
|
513
|
+
requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
|
|
514
|
+
}
|
|
515
|
+
if (product !== undefined) {
|
|
516
|
+
requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
|
|
517
|
+
}
|
|
518
|
+
if (start !== undefined) {
|
|
519
|
+
requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
|
|
520
|
+
}
|
|
521
|
+
if (end !== undefined) {
|
|
522
|
+
requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
|
|
523
|
+
}
|
|
524
|
+
if (filterBy !== undefined) {
|
|
525
|
+
requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
|
|
526
|
+
}
|
|
428
527
|
// Apply auth methods
|
|
429
528
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
430
529
|
"apiKeyAuth",
|
|
@@ -434,21 +533,53 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
434
533
|
return requestContext;
|
|
435
534
|
});
|
|
436
535
|
}
|
|
437
|
-
|
|
536
|
+
getCommitmentsOnDemandHotspotsScalar(provider, product, start, end, filterBy, _options) {
|
|
438
537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
439
538
|
const _config = _options || this.configuration;
|
|
440
|
-
|
|
441
|
-
if (
|
|
442
|
-
throw new
|
|
539
|
+
logger_1.logger.warn("Using unstable operation 'getCommitmentsOnDemandHotspotsScalar'");
|
|
540
|
+
if (!_config.unstableOperations["v2.getCommitmentsOnDemandHotspotsScalar"]) {
|
|
541
|
+
throw new Error("Unstable operation 'getCommitmentsOnDemandHotspotsScalar' is disabled");
|
|
542
|
+
}
|
|
543
|
+
// verify required parameter 'provider' is not null or undefined
|
|
544
|
+
if (provider === null || provider === undefined) {
|
|
545
|
+
throw new baseapi_1.RequiredError("provider", "getCommitmentsOnDemandHotspotsScalar");
|
|
546
|
+
}
|
|
547
|
+
// verify required parameter 'product' is not null or undefined
|
|
548
|
+
if (product === null || product === undefined) {
|
|
549
|
+
throw new baseapi_1.RequiredError("product", "getCommitmentsOnDemandHotspotsScalar");
|
|
550
|
+
}
|
|
551
|
+
// verify required parameter 'start' is not null or undefined
|
|
552
|
+
if (start === null || start === undefined) {
|
|
553
|
+
throw new baseapi_1.RequiredError("start", "getCommitmentsOnDemandHotspotsScalar");
|
|
554
|
+
}
|
|
555
|
+
// verify required parameter 'end' is not null or undefined
|
|
556
|
+
if (end === null || end === undefined) {
|
|
557
|
+
throw new baseapi_1.RequiredError("end", "getCommitmentsOnDemandHotspotsScalar");
|
|
443
558
|
}
|
|
444
559
|
// Path Params
|
|
445
|
-
const localVarPath = "/api/v2/cost/
|
|
560
|
+
const localVarPath = "/api/v2/cost/commitments/on-demand-hot-spots/scalar";
|
|
446
561
|
// Make Request Context
|
|
447
562
|
const requestContext = _config
|
|
448
|
-
.getServer("v2.CloudCostManagementApi.
|
|
563
|
+
.getServer("v2.CloudCostManagementApi.getCommitmentsOnDemandHotspotsScalar")
|
|
449
564
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
450
565
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
451
566
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
567
|
+
// Query Params
|
|
568
|
+
if (provider !== undefined) {
|
|
569
|
+
requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
|
|
570
|
+
}
|
|
571
|
+
if (product !== undefined) {
|
|
572
|
+
requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
|
|
573
|
+
}
|
|
574
|
+
if (start !== undefined) {
|
|
575
|
+
requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
|
|
576
|
+
}
|
|
577
|
+
if (end !== undefined) {
|
|
578
|
+
requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
|
|
579
|
+
}
|
|
580
|
+
if (filterBy !== undefined) {
|
|
581
|
+
requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
|
|
582
|
+
}
|
|
452
583
|
// Apply auth methods
|
|
453
584
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
454
585
|
"apiKeyAuth",
|
|
@@ -458,21 +589,53 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
458
589
|
return requestContext;
|
|
459
590
|
});
|
|
460
591
|
}
|
|
461
|
-
|
|
592
|
+
getCommitmentsSavingsScalar(provider, product, start, end, filterBy, _options) {
|
|
462
593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
463
594
|
const _config = _options || this.configuration;
|
|
464
|
-
|
|
465
|
-
if (
|
|
466
|
-
throw new
|
|
595
|
+
logger_1.logger.warn("Using unstable operation 'getCommitmentsSavingsScalar'");
|
|
596
|
+
if (!_config.unstableOperations["v2.getCommitmentsSavingsScalar"]) {
|
|
597
|
+
throw new Error("Unstable operation 'getCommitmentsSavingsScalar' is disabled");
|
|
598
|
+
}
|
|
599
|
+
// verify required parameter 'provider' is not null or undefined
|
|
600
|
+
if (provider === null || provider === undefined) {
|
|
601
|
+
throw new baseapi_1.RequiredError("provider", "getCommitmentsSavingsScalar");
|
|
602
|
+
}
|
|
603
|
+
// verify required parameter 'product' is not null or undefined
|
|
604
|
+
if (product === null || product === undefined) {
|
|
605
|
+
throw new baseapi_1.RequiredError("product", "getCommitmentsSavingsScalar");
|
|
606
|
+
}
|
|
607
|
+
// verify required parameter 'start' is not null or undefined
|
|
608
|
+
if (start === null || start === undefined) {
|
|
609
|
+
throw new baseapi_1.RequiredError("start", "getCommitmentsSavingsScalar");
|
|
610
|
+
}
|
|
611
|
+
// verify required parameter 'end' is not null or undefined
|
|
612
|
+
if (end === null || end === undefined) {
|
|
613
|
+
throw new baseapi_1.RequiredError("end", "getCommitmentsSavingsScalar");
|
|
467
614
|
}
|
|
468
615
|
// Path Params
|
|
469
|
-
const localVarPath = "/api/v2/cost/
|
|
616
|
+
const localVarPath = "/api/v2/cost/commitments/savings/scalar";
|
|
470
617
|
// Make Request Context
|
|
471
618
|
const requestContext = _config
|
|
472
|
-
.getServer("v2.CloudCostManagementApi.
|
|
619
|
+
.getServer("v2.CloudCostManagementApi.getCommitmentsSavingsScalar")
|
|
473
620
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
474
621
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
475
622
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
623
|
+
// Query Params
|
|
624
|
+
if (provider !== undefined) {
|
|
625
|
+
requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
|
|
626
|
+
}
|
|
627
|
+
if (product !== undefined) {
|
|
628
|
+
requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
|
|
629
|
+
}
|
|
630
|
+
if (start !== undefined) {
|
|
631
|
+
requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
|
|
632
|
+
}
|
|
633
|
+
if (end !== undefined) {
|
|
634
|
+
requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
|
|
635
|
+
}
|
|
636
|
+
if (filterBy !== undefined) {
|
|
637
|
+
requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
|
|
638
|
+
}
|
|
476
639
|
// Apply auth methods
|
|
477
640
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
478
641
|
"apiKeyAuth",
|
|
@@ -482,21 +645,53 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
482
645
|
return requestContext;
|
|
483
646
|
});
|
|
484
647
|
}
|
|
485
|
-
|
|
648
|
+
getCommitmentsSavingsTimeseries(provider, product, start, end, filterBy, _options) {
|
|
486
649
|
return __awaiter(this, void 0, void 0, function* () {
|
|
487
650
|
const _config = _options || this.configuration;
|
|
488
|
-
|
|
489
|
-
if (
|
|
490
|
-
throw new
|
|
651
|
+
logger_1.logger.warn("Using unstable operation 'getCommitmentsSavingsTimeseries'");
|
|
652
|
+
if (!_config.unstableOperations["v2.getCommitmentsSavingsTimeseries"]) {
|
|
653
|
+
throw new Error("Unstable operation 'getCommitmentsSavingsTimeseries' is disabled");
|
|
654
|
+
}
|
|
655
|
+
// verify required parameter 'provider' is not null or undefined
|
|
656
|
+
if (provider === null || provider === undefined) {
|
|
657
|
+
throw new baseapi_1.RequiredError("provider", "getCommitmentsSavingsTimeseries");
|
|
658
|
+
}
|
|
659
|
+
// verify required parameter 'product' is not null or undefined
|
|
660
|
+
if (product === null || product === undefined) {
|
|
661
|
+
throw new baseapi_1.RequiredError("product", "getCommitmentsSavingsTimeseries");
|
|
662
|
+
}
|
|
663
|
+
// verify required parameter 'start' is not null or undefined
|
|
664
|
+
if (start === null || start === undefined) {
|
|
665
|
+
throw new baseapi_1.RequiredError("start", "getCommitmentsSavingsTimeseries");
|
|
666
|
+
}
|
|
667
|
+
// verify required parameter 'end' is not null or undefined
|
|
668
|
+
if (end === null || end === undefined) {
|
|
669
|
+
throw new baseapi_1.RequiredError("end", "getCommitmentsSavingsTimeseries");
|
|
491
670
|
}
|
|
492
671
|
// Path Params
|
|
493
|
-
const localVarPath = "/api/v2/
|
|
672
|
+
const localVarPath = "/api/v2/cost/commitments/savings/timeseries";
|
|
494
673
|
// Make Request Context
|
|
495
674
|
const requestContext = _config
|
|
496
|
-
.getServer("v2.CloudCostManagementApi.
|
|
675
|
+
.getServer("v2.CloudCostManagementApi.getCommitmentsSavingsTimeseries")
|
|
497
676
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
498
677
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
499
678
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
679
|
+
// Query Params
|
|
680
|
+
if (provider !== undefined) {
|
|
681
|
+
requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
|
|
682
|
+
}
|
|
683
|
+
if (product !== undefined) {
|
|
684
|
+
requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
|
|
685
|
+
}
|
|
686
|
+
if (start !== undefined) {
|
|
687
|
+
requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
|
|
688
|
+
}
|
|
689
|
+
if (end !== undefined) {
|
|
690
|
+
requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
|
|
691
|
+
}
|
|
692
|
+
if (filterBy !== undefined) {
|
|
693
|
+
requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
|
|
694
|
+
}
|
|
500
695
|
// Apply auth methods
|
|
501
696
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
502
697
|
"apiKeyAuth",
|
|
@@ -506,36 +701,115 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
506
701
|
return requestContext;
|
|
507
702
|
});
|
|
508
703
|
}
|
|
509
|
-
|
|
704
|
+
getCommitmentsUtilizationScalar(provider, product, start, end, filterBy, commitmentType, _options) {
|
|
510
705
|
return __awaiter(this, void 0, void 0, function* () {
|
|
511
706
|
const _config = _options || this.configuration;
|
|
707
|
+
logger_1.logger.warn("Using unstable operation 'getCommitmentsUtilizationScalar'");
|
|
708
|
+
if (!_config.unstableOperations["v2.getCommitmentsUtilizationScalar"]) {
|
|
709
|
+
throw new Error("Unstable operation 'getCommitmentsUtilizationScalar' is disabled");
|
|
710
|
+
}
|
|
711
|
+
// verify required parameter 'provider' is not null or undefined
|
|
712
|
+
if (provider === null || provider === undefined) {
|
|
713
|
+
throw new baseapi_1.RequiredError("provider", "getCommitmentsUtilizationScalar");
|
|
714
|
+
}
|
|
715
|
+
// verify required parameter 'product' is not null or undefined
|
|
716
|
+
if (product === null || product === undefined) {
|
|
717
|
+
throw new baseapi_1.RequiredError("product", "getCommitmentsUtilizationScalar");
|
|
718
|
+
}
|
|
719
|
+
// verify required parameter 'start' is not null or undefined
|
|
720
|
+
if (start === null || start === undefined) {
|
|
721
|
+
throw new baseapi_1.RequiredError("start", "getCommitmentsUtilizationScalar");
|
|
722
|
+
}
|
|
723
|
+
// verify required parameter 'end' is not null or undefined
|
|
724
|
+
if (end === null || end === undefined) {
|
|
725
|
+
throw new baseapi_1.RequiredError("end", "getCommitmentsUtilizationScalar");
|
|
726
|
+
}
|
|
512
727
|
// Path Params
|
|
513
|
-
const localVarPath = "/api/v2/cost/
|
|
728
|
+
const localVarPath = "/api/v2/cost/commitments/utilization/scalar";
|
|
514
729
|
// Make Request Context
|
|
515
730
|
const requestContext = _config
|
|
516
|
-
.getServer("v2.CloudCostManagementApi.
|
|
731
|
+
.getServer("v2.CloudCostManagementApi.getCommitmentsUtilizationScalar")
|
|
517
732
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
518
733
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
519
734
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
735
|
+
// Query Params
|
|
736
|
+
if (provider !== undefined) {
|
|
737
|
+
requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
|
|
738
|
+
}
|
|
739
|
+
if (product !== undefined) {
|
|
740
|
+
requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
|
|
741
|
+
}
|
|
742
|
+
if (start !== undefined) {
|
|
743
|
+
requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
|
|
744
|
+
}
|
|
745
|
+
if (end !== undefined) {
|
|
746
|
+
requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
|
|
747
|
+
}
|
|
748
|
+
if (filterBy !== undefined) {
|
|
749
|
+
requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
|
|
750
|
+
}
|
|
751
|
+
if (commitmentType !== undefined) {
|
|
752
|
+
requestContext.setQueryParam("commitmentType", ObjectSerializer_1.ObjectSerializer.serialize(commitmentType, "CommitmentsCommitmentType", ""), "");
|
|
753
|
+
}
|
|
520
754
|
// Apply auth methods
|
|
521
755
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
522
756
|
"apiKeyAuth",
|
|
523
757
|
"appKeyAuth",
|
|
758
|
+
"AuthZ",
|
|
524
759
|
]);
|
|
525
760
|
return requestContext;
|
|
526
761
|
});
|
|
527
762
|
}
|
|
528
|
-
|
|
763
|
+
getCommitmentsUtilizationTimeseries(provider, product, start, end, filterBy, commitmentType, _options) {
|
|
529
764
|
return __awaiter(this, void 0, void 0, function* () {
|
|
530
765
|
const _config = _options || this.configuration;
|
|
766
|
+
logger_1.logger.warn("Using unstable operation 'getCommitmentsUtilizationTimeseries'");
|
|
767
|
+
if (!_config.unstableOperations["v2.getCommitmentsUtilizationTimeseries"]) {
|
|
768
|
+
throw new Error("Unstable operation 'getCommitmentsUtilizationTimeseries' is disabled");
|
|
769
|
+
}
|
|
770
|
+
// verify required parameter 'provider' is not null or undefined
|
|
771
|
+
if (provider === null || provider === undefined) {
|
|
772
|
+
throw new baseapi_1.RequiredError("provider", "getCommitmentsUtilizationTimeseries");
|
|
773
|
+
}
|
|
774
|
+
// verify required parameter 'product' is not null or undefined
|
|
775
|
+
if (product === null || product === undefined) {
|
|
776
|
+
throw new baseapi_1.RequiredError("product", "getCommitmentsUtilizationTimeseries");
|
|
777
|
+
}
|
|
778
|
+
// verify required parameter 'start' is not null or undefined
|
|
779
|
+
if (start === null || start === undefined) {
|
|
780
|
+
throw new baseapi_1.RequiredError("start", "getCommitmentsUtilizationTimeseries");
|
|
781
|
+
}
|
|
782
|
+
// verify required parameter 'end' is not null or undefined
|
|
783
|
+
if (end === null || end === undefined) {
|
|
784
|
+
throw new baseapi_1.RequiredError("end", "getCommitmentsUtilizationTimeseries");
|
|
785
|
+
}
|
|
531
786
|
// Path Params
|
|
532
|
-
const localVarPath = "/api/v2/cost/
|
|
787
|
+
const localVarPath = "/api/v2/cost/commitments/utilization/timeseries";
|
|
533
788
|
// Make Request Context
|
|
534
789
|
const requestContext = _config
|
|
535
|
-
.getServer("v2.CloudCostManagementApi.
|
|
790
|
+
.getServer("v2.CloudCostManagementApi.getCommitmentsUtilizationTimeseries")
|
|
536
791
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
537
792
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
538
793
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
794
|
+
// Query Params
|
|
795
|
+
if (provider !== undefined) {
|
|
796
|
+
requestContext.setQueryParam("provider", ObjectSerializer_1.ObjectSerializer.serialize(provider, "CommitmentsProvider", ""), "");
|
|
797
|
+
}
|
|
798
|
+
if (product !== undefined) {
|
|
799
|
+
requestContext.setQueryParam("product", ObjectSerializer_1.ObjectSerializer.serialize(product, "string", ""), "");
|
|
800
|
+
}
|
|
801
|
+
if (start !== undefined) {
|
|
802
|
+
requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
|
|
803
|
+
}
|
|
804
|
+
if (end !== undefined) {
|
|
805
|
+
requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
|
|
806
|
+
}
|
|
807
|
+
if (filterBy !== undefined) {
|
|
808
|
+
requestContext.setQueryParam("filterBy", ObjectSerializer_1.ObjectSerializer.serialize(filterBy, "string", ""), "");
|
|
809
|
+
}
|
|
810
|
+
if (commitmentType !== undefined) {
|
|
811
|
+
requestContext.setQueryParam("commitmentType", ObjectSerializer_1.ObjectSerializer.serialize(commitmentType, "CommitmentsCommitmentType", ""), "");
|
|
812
|
+
}
|
|
539
813
|
// Apply auth methods
|
|
540
814
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
541
815
|
"apiKeyAuth",
|
|
@@ -545,14 +819,22 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
545
819
|
return requestContext;
|
|
546
820
|
});
|
|
547
821
|
}
|
|
548
|
-
|
|
822
|
+
getCostAnomaly(anomalyId, _options) {
|
|
549
823
|
return __awaiter(this, void 0, void 0, function* () {
|
|
550
824
|
const _config = _options || this.configuration;
|
|
825
|
+
logger_1.logger.warn("Using unstable operation 'getCostAnomaly'");
|
|
826
|
+
if (!_config.unstableOperations["v2.getCostAnomaly"]) {
|
|
827
|
+
throw new Error("Unstable operation 'getCostAnomaly' is disabled");
|
|
828
|
+
}
|
|
829
|
+
// verify required parameter 'anomalyId' is not null or undefined
|
|
830
|
+
if (anomalyId === null || anomalyId === undefined) {
|
|
831
|
+
throw new baseapi_1.RequiredError("anomalyId", "getCostAnomaly");
|
|
832
|
+
}
|
|
551
833
|
// Path Params
|
|
552
|
-
const localVarPath = "/api/v2/cost/
|
|
834
|
+
const localVarPath = "/api/v2/cost/anomalies/{anomaly_id}".replace("{anomaly_id}", encodeURIComponent(String(anomalyId)));
|
|
553
835
|
// Make Request Context
|
|
554
836
|
const requestContext = _config
|
|
555
|
-
.getServer("v2.CloudCostManagementApi.
|
|
837
|
+
.getServer("v2.CloudCostManagementApi.getCostAnomaly")
|
|
556
838
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
557
839
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
558
840
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
@@ -565,14 +847,18 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
565
847
|
return requestContext;
|
|
566
848
|
});
|
|
567
849
|
}
|
|
568
|
-
|
|
850
|
+
getCostAWSCURConfig(cloudAccountId, _options) {
|
|
569
851
|
return __awaiter(this, void 0, void 0, function* () {
|
|
570
852
|
const _config = _options || this.configuration;
|
|
853
|
+
// verify required parameter 'cloudAccountId' is not null or undefined
|
|
854
|
+
if (cloudAccountId === null || cloudAccountId === undefined) {
|
|
855
|
+
throw new baseapi_1.RequiredError("cloudAccountId", "getCostAWSCURConfig");
|
|
856
|
+
}
|
|
571
857
|
// Path Params
|
|
572
|
-
const localVarPath = "/api/v2/cost/
|
|
858
|
+
const localVarPath = "/api/v2/cost/aws_cur_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
|
|
573
859
|
// Make Request Context
|
|
574
860
|
const requestContext = _config
|
|
575
|
-
.getServer("v2.CloudCostManagementApi.
|
|
861
|
+
.getServer("v2.CloudCostManagementApi.getCostAWSCURConfig")
|
|
576
862
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
577
863
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
578
864
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
@@ -585,14 +871,18 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
585
871
|
return requestContext;
|
|
586
872
|
});
|
|
587
873
|
}
|
|
588
|
-
|
|
874
|
+
getCostAzureUCConfig(cloudAccountId, _options) {
|
|
589
875
|
return __awaiter(this, void 0, void 0, function* () {
|
|
590
876
|
const _config = _options || this.configuration;
|
|
877
|
+
// verify required parameter 'cloudAccountId' is not null or undefined
|
|
878
|
+
if (cloudAccountId === null || cloudAccountId === undefined) {
|
|
879
|
+
throw new baseapi_1.RequiredError("cloudAccountId", "getCostAzureUCConfig");
|
|
880
|
+
}
|
|
591
881
|
// Path Params
|
|
592
|
-
const localVarPath = "/api/v2/cost/
|
|
882
|
+
const localVarPath = "/api/v2/cost/azure_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
|
|
593
883
|
// Make Request Context
|
|
594
884
|
const requestContext = _config
|
|
595
|
-
.getServer("v2.CloudCostManagementApi.
|
|
885
|
+
.getServer("v2.CloudCostManagementApi.getCostAzureUCConfig")
|
|
596
886
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
597
887
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
598
888
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
@@ -605,30 +895,21 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
605
895
|
return requestContext;
|
|
606
896
|
});
|
|
607
897
|
}
|
|
608
|
-
|
|
898
|
+
getCostGCPUsageCostConfig(cloudAccountId, _options) {
|
|
609
899
|
return __awaiter(this, void 0, void 0, function* () {
|
|
610
900
|
const _config = _options || this.configuration;
|
|
901
|
+
// verify required parameter 'cloudAccountId' is not null or undefined
|
|
902
|
+
if (cloudAccountId === null || cloudAccountId === undefined) {
|
|
903
|
+
throw new baseapi_1.RequiredError("cloudAccountId", "getCostGCPUsageCostConfig");
|
|
904
|
+
}
|
|
611
905
|
// Path Params
|
|
612
|
-
const localVarPath = "/api/v2/cost/
|
|
906
|
+
const localVarPath = "/api/v2/cost/gcp_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
|
|
613
907
|
// Make Request Context
|
|
614
908
|
const requestContext = _config
|
|
615
|
-
.getServer("v2.CloudCostManagementApi.
|
|
909
|
+
.getServer("v2.CloudCostManagementApi.getCostGCPUsageCostConfig")
|
|
616
910
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
617
911
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
618
912
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
619
|
-
// Query Params
|
|
620
|
-
if (pageNumber !== undefined) {
|
|
621
|
-
requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
|
|
622
|
-
}
|
|
623
|
-
if (pageSize !== undefined) {
|
|
624
|
-
requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"), "");
|
|
625
|
-
}
|
|
626
|
-
if (filterStatus !== undefined) {
|
|
627
|
-
requestContext.setQueryParam("filter[status]", ObjectSerializer_1.ObjectSerializer.serialize(filterStatus, "string", ""), "");
|
|
628
|
-
}
|
|
629
|
-
if (sort !== undefined) {
|
|
630
|
-
requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", ""), "");
|
|
631
|
-
}
|
|
632
913
|
// Apply auth methods
|
|
633
914
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
634
915
|
"apiKeyAuth",
|
|
@@ -638,17 +919,28 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
638
919
|
return requestContext;
|
|
639
920
|
});
|
|
640
921
|
}
|
|
641
|
-
|
|
922
|
+
getCostTagKey(tagKey, filterMetric, pageSize, _options) {
|
|
642
923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
643
924
|
const _config = _options || this.configuration;
|
|
925
|
+
// verify required parameter 'tagKey' is not null or undefined
|
|
926
|
+
if (tagKey === null || tagKey === undefined) {
|
|
927
|
+
throw new baseapi_1.RequiredError("tagKey", "getCostTagKey");
|
|
928
|
+
}
|
|
644
929
|
// Path Params
|
|
645
|
-
const localVarPath = "/api/v2/
|
|
930
|
+
const localVarPath = "/api/v2/cost/tag_keys/{tag_key}".replace("{tag_key}", encodeURIComponent(String(tagKey)));
|
|
646
931
|
// Make Request Context
|
|
647
932
|
const requestContext = _config
|
|
648
|
-
.getServer("v2.CloudCostManagementApi.
|
|
933
|
+
.getServer("v2.CloudCostManagementApi.getCostTagKey")
|
|
649
934
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
650
935
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
651
936
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
937
|
+
// Query Params
|
|
938
|
+
if (filterMetric !== undefined) {
|
|
939
|
+
requestContext.setQueryParam("filter[metric]", ObjectSerializer_1.ObjectSerializer.serialize(filterMetric, "string", ""), "");
|
|
940
|
+
}
|
|
941
|
+
if (pageSize !== undefined) {
|
|
942
|
+
requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int32"), "");
|
|
943
|
+
}
|
|
652
944
|
// Apply auth methods
|
|
653
945
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
654
946
|
"apiKeyAuth",
|
|
@@ -658,28 +950,21 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
658
950
|
return requestContext;
|
|
659
951
|
});
|
|
660
952
|
}
|
|
661
|
-
|
|
953
|
+
getCustomAllocationRule(ruleId, _options) {
|
|
662
954
|
return __awaiter(this, void 0, void 0, function* () {
|
|
663
955
|
const _config = _options || this.configuration;
|
|
664
|
-
// verify required parameter '
|
|
665
|
-
if (
|
|
666
|
-
throw new baseapi_1.RequiredError("
|
|
956
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
957
|
+
if (ruleId === null || ruleId === undefined) {
|
|
958
|
+
throw new baseapi_1.RequiredError("ruleId", "getCustomAllocationRule");
|
|
667
959
|
}
|
|
668
960
|
// Path Params
|
|
669
|
-
const localVarPath = "/api/v2/cost/arbitrary_rule/
|
|
961
|
+
const localVarPath = "/api/v2/cost/arbitrary_rule/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
670
962
|
// Make Request Context
|
|
671
963
|
const requestContext = _config
|
|
672
|
-
.getServer("v2.CloudCostManagementApi.
|
|
673
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
674
|
-
requestContext.setHeaderParam("Accept", "
|
|
964
|
+
.getServer("v2.CloudCostManagementApi.getCustomAllocationRule")
|
|
965
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
966
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
675
967
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
676
|
-
// Body Params
|
|
677
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
678
|
-
"application/json",
|
|
679
|
-
]);
|
|
680
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
681
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ReorderRuleResourceArray", ""), contentType);
|
|
682
|
-
requestContext.setBody(serializedBody);
|
|
683
968
|
// Apply auth methods
|
|
684
969
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
685
970
|
"apiKeyAuth",
|
|
@@ -689,28 +974,21 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
689
974
|
return requestContext;
|
|
690
975
|
});
|
|
691
976
|
}
|
|
692
|
-
|
|
977
|
+
getCustomCostsFile(fileId, _options) {
|
|
693
978
|
return __awaiter(this, void 0, void 0, function* () {
|
|
694
979
|
const _config = _options || this.configuration;
|
|
695
|
-
// verify required parameter '
|
|
696
|
-
if (
|
|
697
|
-
throw new baseapi_1.RequiredError("
|
|
980
|
+
// verify required parameter 'fileId' is not null or undefined
|
|
981
|
+
if (fileId === null || fileId === undefined) {
|
|
982
|
+
throw new baseapi_1.RequiredError("fileId", "getCustomCostsFile");
|
|
698
983
|
}
|
|
699
984
|
// Path Params
|
|
700
|
-
const localVarPath = "/api/v2/
|
|
985
|
+
const localVarPath = "/api/v2/cost/custom_costs/{file_id}".replace("{file_id}", encodeURIComponent(String(fileId)));
|
|
701
986
|
// Make Request Context
|
|
702
987
|
const requestContext = _config
|
|
703
|
-
.getServer("v2.CloudCostManagementApi.
|
|
704
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
705
|
-
requestContext.setHeaderParam("Accept", "
|
|
988
|
+
.getServer("v2.CloudCostManagementApi.getCustomCostsFile")
|
|
989
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
990
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
706
991
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
707
|
-
// Body Params
|
|
708
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
709
|
-
"application/json",
|
|
710
|
-
]);
|
|
711
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
712
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ReorderRulesetResourceArray", ""), contentType);
|
|
713
|
-
requestContext.setBody(serializedBody);
|
|
714
992
|
// Apply auth methods
|
|
715
993
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
716
994
|
"apiKeyAuth",
|
|
@@ -720,32 +998,21 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
720
998
|
return requestContext;
|
|
721
999
|
});
|
|
722
1000
|
}
|
|
723
|
-
|
|
1001
|
+
getTagPipelinesRuleset(rulesetId, _options) {
|
|
724
1002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
725
1003
|
const _config = _options || this.configuration;
|
|
726
|
-
// verify required parameter '
|
|
727
|
-
if (
|
|
728
|
-
throw new baseapi_1.RequiredError("
|
|
729
|
-
}
|
|
730
|
-
// verify required parameter 'body' is not null or undefined
|
|
731
|
-
if (body === null || body === undefined) {
|
|
732
|
-
throw new baseapi_1.RequiredError("body", "updateCostAWSCURConfig");
|
|
1004
|
+
// verify required parameter 'rulesetId' is not null or undefined
|
|
1005
|
+
if (rulesetId === null || rulesetId === undefined) {
|
|
1006
|
+
throw new baseapi_1.RequiredError("rulesetId", "getTagPipelinesRuleset");
|
|
733
1007
|
}
|
|
734
1008
|
// Path Params
|
|
735
|
-
const localVarPath = "/api/v2/
|
|
1009
|
+
const localVarPath = "/api/v2/tags/enrichment/{ruleset_id}".replace("{ruleset_id}", encodeURIComponent(String(rulesetId)));
|
|
736
1010
|
// Make Request Context
|
|
737
1011
|
const requestContext = _config
|
|
738
|
-
.getServer("v2.CloudCostManagementApi.
|
|
739
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1012
|
+
.getServer("v2.CloudCostManagementApi.getTagPipelinesRuleset")
|
|
1013
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
740
1014
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
741
1015
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
742
|
-
// Body Params
|
|
743
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
744
|
-
"application/json",
|
|
745
|
-
]);
|
|
746
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
747
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AwsCURConfigPatchRequest", ""), contentType);
|
|
748
|
-
requestContext.setBody(serializedBody);
|
|
749
1016
|
// Apply auth methods
|
|
750
1017
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
751
1018
|
"apiKeyAuth",
|
|
@@ -755,67 +1022,74 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
755
1022
|
return requestContext;
|
|
756
1023
|
});
|
|
757
1024
|
}
|
|
758
|
-
|
|
1025
|
+
listBudgets(_options) {
|
|
759
1026
|
return __awaiter(this, void 0, void 0, function* () {
|
|
760
1027
|
const _config = _options || this.configuration;
|
|
761
|
-
// verify required parameter 'cloudAccountId' is not null or undefined
|
|
762
|
-
if (cloudAccountId === null || cloudAccountId === undefined) {
|
|
763
|
-
throw new baseapi_1.RequiredError("cloudAccountId", "updateCostAzureUCConfigs");
|
|
764
|
-
}
|
|
765
|
-
// verify required parameter 'body' is not null or undefined
|
|
766
|
-
if (body === null || body === undefined) {
|
|
767
|
-
throw new baseapi_1.RequiredError("body", "updateCostAzureUCConfigs");
|
|
768
|
-
}
|
|
769
1028
|
// Path Params
|
|
770
|
-
const localVarPath = "/api/v2/cost/
|
|
1029
|
+
const localVarPath = "/api/v2/cost/budgets";
|
|
771
1030
|
// Make Request Context
|
|
772
1031
|
const requestContext = _config
|
|
773
|
-
.getServer("v2.CloudCostManagementApi.
|
|
774
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1032
|
+
.getServer("v2.CloudCostManagementApi.listBudgets")
|
|
1033
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
775
1034
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
776
1035
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
777
|
-
// Body Params
|
|
778
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
779
|
-
"application/json",
|
|
780
|
-
]);
|
|
781
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
782
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AzureUCConfigPatchRequest", ""), contentType);
|
|
783
|
-
requestContext.setBody(serializedBody);
|
|
784
1036
|
// Apply auth methods
|
|
785
1037
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
786
1038
|
"apiKeyAuth",
|
|
787
1039
|
"appKeyAuth",
|
|
788
|
-
"AuthZ",
|
|
789
1040
|
]);
|
|
790
1041
|
return requestContext;
|
|
791
1042
|
});
|
|
792
1043
|
}
|
|
793
|
-
|
|
1044
|
+
listCostAnomalies(start, end, filter, minAnomalousThreshold, minCostThreshold, dismissalCause, orderBy, order, limit, offset, providerIds, _options) {
|
|
794
1045
|
return __awaiter(this, void 0, void 0, function* () {
|
|
795
1046
|
const _config = _options || this.configuration;
|
|
796
|
-
|
|
797
|
-
if (
|
|
798
|
-
throw new
|
|
799
|
-
}
|
|
800
|
-
// verify required parameter 'body' is not null or undefined
|
|
801
|
-
if (body === null || body === undefined) {
|
|
802
|
-
throw new baseapi_1.RequiredError("body", "updateCostGCPUsageCostConfig");
|
|
1047
|
+
logger_1.logger.warn("Using unstable operation 'listCostAnomalies'");
|
|
1048
|
+
if (!_config.unstableOperations["v2.listCostAnomalies"]) {
|
|
1049
|
+
throw new Error("Unstable operation 'listCostAnomalies' is disabled");
|
|
803
1050
|
}
|
|
804
1051
|
// Path Params
|
|
805
|
-
const localVarPath = "/api/v2/cost/
|
|
1052
|
+
const localVarPath = "/api/v2/cost/anomalies";
|
|
806
1053
|
// Make Request Context
|
|
807
1054
|
const requestContext = _config
|
|
808
|
-
.getServer("v2.CloudCostManagementApi.
|
|
809
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1055
|
+
.getServer("v2.CloudCostManagementApi.listCostAnomalies")
|
|
1056
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
810
1057
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
811
1058
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
812
|
-
//
|
|
813
|
-
|
|
814
|
-
"
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
1059
|
+
// Query Params
|
|
1060
|
+
if (start !== undefined) {
|
|
1061
|
+
requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64"), "");
|
|
1062
|
+
}
|
|
1063
|
+
if (end !== undefined) {
|
|
1064
|
+
requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64"), "");
|
|
1065
|
+
}
|
|
1066
|
+
if (filter !== undefined) {
|
|
1067
|
+
requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", ""), "");
|
|
1068
|
+
}
|
|
1069
|
+
if (minAnomalousThreshold !== undefined) {
|
|
1070
|
+
requestContext.setQueryParam("min_anomalous_threshold", ObjectSerializer_1.ObjectSerializer.serialize(minAnomalousThreshold, "string", ""), "");
|
|
1071
|
+
}
|
|
1072
|
+
if (minCostThreshold !== undefined) {
|
|
1073
|
+
requestContext.setQueryParam("min_cost_threshold", ObjectSerializer_1.ObjectSerializer.serialize(minCostThreshold, "string", ""), "");
|
|
1074
|
+
}
|
|
1075
|
+
if (dismissalCause !== undefined) {
|
|
1076
|
+
requestContext.setQueryParam("dismissal_cause", ObjectSerializer_1.ObjectSerializer.serialize(dismissalCause, "string", ""), "");
|
|
1077
|
+
}
|
|
1078
|
+
if (orderBy !== undefined) {
|
|
1079
|
+
requestContext.setQueryParam("order_by", ObjectSerializer_1.ObjectSerializer.serialize(orderBy, "string", ""), "");
|
|
1080
|
+
}
|
|
1081
|
+
if (order !== undefined) {
|
|
1082
|
+
requestContext.setQueryParam("order", ObjectSerializer_1.ObjectSerializer.serialize(order, "string", ""), "");
|
|
1083
|
+
}
|
|
1084
|
+
if (limit !== undefined) {
|
|
1085
|
+
requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", ""), "");
|
|
1086
|
+
}
|
|
1087
|
+
if (offset !== undefined) {
|
|
1088
|
+
requestContext.setQueryParam("offset", ObjectSerializer_1.ObjectSerializer.serialize(offset, "number", ""), "");
|
|
1089
|
+
}
|
|
1090
|
+
if (providerIds !== undefined) {
|
|
1091
|
+
requestContext.setQueryParam("provider_ids", ObjectSerializer_1.ObjectSerializer.serialize(providerIds, "Array<string>", ""), "multi");
|
|
1092
|
+
}
|
|
819
1093
|
// Apply auth methods
|
|
820
1094
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
821
1095
|
"apiKeyAuth",
|
|
@@ -825,32 +1099,17 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
825
1099
|
return requestContext;
|
|
826
1100
|
});
|
|
827
1101
|
}
|
|
828
|
-
|
|
1102
|
+
listCostAWSCURConfigs(_options) {
|
|
829
1103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
830
1104
|
const _config = _options || this.configuration;
|
|
831
|
-
// verify required parameter 'ruleId' is not null or undefined
|
|
832
|
-
if (ruleId === null || ruleId === undefined) {
|
|
833
|
-
throw new baseapi_1.RequiredError("ruleId", "updateCustomAllocationRule");
|
|
834
|
-
}
|
|
835
|
-
// verify required parameter 'body' is not null or undefined
|
|
836
|
-
if (body === null || body === undefined) {
|
|
837
|
-
throw new baseapi_1.RequiredError("body", "updateCustomAllocationRule");
|
|
838
|
-
}
|
|
839
1105
|
// Path Params
|
|
840
|
-
const localVarPath = "/api/v2/cost/
|
|
1106
|
+
const localVarPath = "/api/v2/cost/aws_cur_config";
|
|
841
1107
|
// Make Request Context
|
|
842
1108
|
const requestContext = _config
|
|
843
|
-
.getServer("v2.CloudCostManagementApi.
|
|
844
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1109
|
+
.getServer("v2.CloudCostManagementApi.listCostAWSCURConfigs")
|
|
1110
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
845
1111
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
846
1112
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
847
|
-
// Body Params
|
|
848
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
849
|
-
"application/json",
|
|
850
|
-
]);
|
|
851
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
852
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ArbitraryCostUpsertRequest", ""), contentType);
|
|
853
|
-
requestContext.setBody(serializedBody);
|
|
854
1113
|
// Apply auth methods
|
|
855
1114
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
856
1115
|
"apiKeyAuth",
|
|
@@ -860,32 +1119,17 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
860
1119
|
return requestContext;
|
|
861
1120
|
});
|
|
862
1121
|
}
|
|
863
|
-
|
|
1122
|
+
listCostAzureUCConfigs(_options) {
|
|
864
1123
|
return __awaiter(this, void 0, void 0, function* () {
|
|
865
1124
|
const _config = _options || this.configuration;
|
|
866
|
-
// verify required parameter 'rulesetId' is not null or undefined
|
|
867
|
-
if (rulesetId === null || rulesetId === undefined) {
|
|
868
|
-
throw new baseapi_1.RequiredError("rulesetId", "updateTagPipelinesRuleset");
|
|
869
|
-
}
|
|
870
|
-
// verify required parameter 'body' is not null or undefined
|
|
871
|
-
if (body === null || body === undefined) {
|
|
872
|
-
throw new baseapi_1.RequiredError("body", "updateTagPipelinesRuleset");
|
|
873
|
-
}
|
|
874
1125
|
// Path Params
|
|
875
|
-
const localVarPath = "/api/v2/
|
|
1126
|
+
const localVarPath = "/api/v2/cost/azure_uc_config";
|
|
876
1127
|
// Make Request Context
|
|
877
1128
|
const requestContext = _config
|
|
878
|
-
.getServer("v2.CloudCostManagementApi.
|
|
879
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1129
|
+
.getServer("v2.CloudCostManagementApi.listCostAzureUCConfigs")
|
|
1130
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
880
1131
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
881
1132
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
882
|
-
// Body Params
|
|
883
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
884
|
-
"application/json",
|
|
885
|
-
]);
|
|
886
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
887
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "UpdateRulesetRequest", ""), contentType);
|
|
888
|
-
requestContext.setBody(serializedBody);
|
|
889
1133
|
// Apply auth methods
|
|
890
1134
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
891
1135
|
"apiKeyAuth",
|
|
@@ -895,28 +1139,17 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
895
1139
|
return requestContext;
|
|
896
1140
|
});
|
|
897
1141
|
}
|
|
898
|
-
|
|
1142
|
+
listCostGCPUsageCostConfigs(_options) {
|
|
899
1143
|
return __awaiter(this, void 0, void 0, function* () {
|
|
900
1144
|
const _config = _options || this.configuration;
|
|
901
|
-
// verify required parameter 'body' is not null or undefined
|
|
902
|
-
if (body === null || body === undefined) {
|
|
903
|
-
throw new baseapi_1.RequiredError("body", "uploadCustomCostsFile");
|
|
904
|
-
}
|
|
905
1145
|
// Path Params
|
|
906
|
-
const localVarPath = "/api/v2/cost/
|
|
1146
|
+
const localVarPath = "/api/v2/cost/gcp_uc_config";
|
|
907
1147
|
// Make Request Context
|
|
908
1148
|
const requestContext = _config
|
|
909
|
-
.getServer("v2.CloudCostManagementApi.
|
|
910
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1149
|
+
.getServer("v2.CloudCostManagementApi.listCostGCPUsageCostConfigs")
|
|
1150
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
911
1151
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
912
1152
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
913
|
-
// Body Params
|
|
914
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
915
|
-
"application/json",
|
|
916
|
-
]);
|
|
917
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
918
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Array<CustomCostsFileLineItem>", ""), contentType);
|
|
919
|
-
requestContext.setBody(serializedBody);
|
|
920
1153
|
// Apply auth methods
|
|
921
1154
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
922
1155
|
"apiKeyAuth",
|
|
@@ -926,102 +1159,183 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
926
1159
|
return requestContext;
|
|
927
1160
|
});
|
|
928
1161
|
}
|
|
929
|
-
|
|
1162
|
+
listCostOCIConfigs(_options) {
|
|
930
1163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
931
1164
|
const _config = _options || this.configuration;
|
|
932
|
-
// verify required parameter 'body' is not null or undefined
|
|
933
|
-
if (body === null || body === undefined) {
|
|
934
|
-
throw new baseapi_1.RequiredError("body", "upsertBudget");
|
|
935
|
-
}
|
|
936
1165
|
// Path Params
|
|
937
|
-
const localVarPath = "/api/v2/cost/
|
|
1166
|
+
const localVarPath = "/api/v2/cost/oci_config";
|
|
938
1167
|
// Make Request Context
|
|
939
1168
|
const requestContext = _config
|
|
940
|
-
.getServer("v2.CloudCostManagementApi.
|
|
941
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1169
|
+
.getServer("v2.CloudCostManagementApi.listCostOCIConfigs")
|
|
1170
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
942
1171
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
943
1172
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
944
|
-
// Body Params
|
|
945
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
946
|
-
"application/json",
|
|
947
|
-
]);
|
|
948
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
949
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "BudgetWithEntries", ""), contentType);
|
|
950
|
-
requestContext.setBody(serializedBody);
|
|
951
1173
|
// Apply auth methods
|
|
952
1174
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
953
1175
|
"apiKeyAuth",
|
|
954
1176
|
"appKeyAuth",
|
|
1177
|
+
"AuthZ",
|
|
955
1178
|
]);
|
|
956
1179
|
return requestContext;
|
|
957
1180
|
});
|
|
958
1181
|
}
|
|
959
|
-
|
|
1182
|
+
listCostTagDescriptions(filterCloud, _options) {
|
|
960
1183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
961
1184
|
const _config = _options || this.configuration;
|
|
962
|
-
//
|
|
963
|
-
|
|
964
|
-
|
|
1185
|
+
// Path Params
|
|
1186
|
+
const localVarPath = "/api/v2/cost/tag_descriptions";
|
|
1187
|
+
// Make Request Context
|
|
1188
|
+
const requestContext = _config
|
|
1189
|
+
.getServer("v2.CloudCostManagementApi.listCostTagDescriptions")
|
|
1190
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1191
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1192
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1193
|
+
// Query Params
|
|
1194
|
+
if (filterCloud !== undefined) {
|
|
1195
|
+
requestContext.setQueryParam("filter[cloud]", ObjectSerializer_1.ObjectSerializer.serialize(filterCloud, "string", ""), "");
|
|
965
1196
|
}
|
|
1197
|
+
// Apply auth methods
|
|
1198
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1199
|
+
"apiKeyAuth",
|
|
1200
|
+
"appKeyAuth",
|
|
1201
|
+
"AuthZ",
|
|
1202
|
+
]);
|
|
1203
|
+
return requestContext;
|
|
1204
|
+
});
|
|
1205
|
+
}
|
|
1206
|
+
listCostTagKeys(filterMetric, filterTags, _options) {
|
|
1207
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1208
|
+
const _config = _options || this.configuration;
|
|
966
1209
|
// Path Params
|
|
967
|
-
const localVarPath = "/api/v2/cost/
|
|
1210
|
+
const localVarPath = "/api/v2/cost/tag_keys";
|
|
968
1211
|
// Make Request Context
|
|
969
1212
|
const requestContext = _config
|
|
970
|
-
.getServer("v2.CloudCostManagementApi.
|
|
971
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1213
|
+
.getServer("v2.CloudCostManagementApi.listCostTagKeys")
|
|
1214
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
972
1215
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
973
1216
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
974
|
-
//
|
|
975
|
-
|
|
976
|
-
"
|
|
1217
|
+
// Query Params
|
|
1218
|
+
if (filterMetric !== undefined) {
|
|
1219
|
+
requestContext.setQueryParam("filter[metric]", ObjectSerializer_1.ObjectSerializer.serialize(filterMetric, "string", ""), "");
|
|
1220
|
+
}
|
|
1221
|
+
if (filterTags !== undefined) {
|
|
1222
|
+
requestContext.setQueryParam("filter[tags]", ObjectSerializer_1.ObjectSerializer.serialize(filterTags, "Array<string>", ""), "multi");
|
|
1223
|
+
}
|
|
1224
|
+
// Apply auth methods
|
|
1225
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1226
|
+
"apiKeyAuth",
|
|
1227
|
+
"appKeyAuth",
|
|
1228
|
+
"AuthZ",
|
|
977
1229
|
]);
|
|
978
|
-
requestContext
|
|
979
|
-
|
|
980
|
-
|
|
1230
|
+
return requestContext;
|
|
1231
|
+
});
|
|
1232
|
+
}
|
|
1233
|
+
listCostTags(filterMetric, filterMatch, filterTags, filterTagKeys, pageSize, _options) {
|
|
1234
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1235
|
+
const _config = _options || this.configuration;
|
|
1236
|
+
// Path Params
|
|
1237
|
+
const localVarPath = "/api/v2/cost/tags";
|
|
1238
|
+
// Make Request Context
|
|
1239
|
+
const requestContext = _config
|
|
1240
|
+
.getServer("v2.CloudCostManagementApi.listCostTags")
|
|
1241
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1242
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1243
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1244
|
+
// Query Params
|
|
1245
|
+
if (filterMetric !== undefined) {
|
|
1246
|
+
requestContext.setQueryParam("filter[metric]", ObjectSerializer_1.ObjectSerializer.serialize(filterMetric, "string", ""), "");
|
|
1247
|
+
}
|
|
1248
|
+
if (filterMatch !== undefined) {
|
|
1249
|
+
requestContext.setQueryParam("filter[match]", ObjectSerializer_1.ObjectSerializer.serialize(filterMatch, "string", ""), "");
|
|
1250
|
+
}
|
|
1251
|
+
if (filterTags !== undefined) {
|
|
1252
|
+
requestContext.setQueryParam("filter[tags]", ObjectSerializer_1.ObjectSerializer.serialize(filterTags, "Array<string>", ""), "multi");
|
|
1253
|
+
}
|
|
1254
|
+
if (filterTagKeys !== undefined) {
|
|
1255
|
+
requestContext.setQueryParam("filter[tag_keys]", ObjectSerializer_1.ObjectSerializer.serialize(filterTagKeys, "Array<string>", ""), "multi");
|
|
1256
|
+
}
|
|
1257
|
+
if (pageSize !== undefined) {
|
|
1258
|
+
requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int32"), "");
|
|
1259
|
+
}
|
|
981
1260
|
// Apply auth methods
|
|
982
1261
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
983
1262
|
"apiKeyAuth",
|
|
984
1263
|
"appKeyAuth",
|
|
1264
|
+
"AuthZ",
|
|
985
1265
|
]);
|
|
986
1266
|
return requestContext;
|
|
987
1267
|
});
|
|
988
1268
|
}
|
|
989
|
-
|
|
1269
|
+
listCustomAllocationRules(_options) {
|
|
990
1270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
991
1271
|
const _config = _options || this.configuration;
|
|
992
1272
|
// Path Params
|
|
993
|
-
const localVarPath = "/api/v2/cost/
|
|
1273
|
+
const localVarPath = "/api/v2/cost/arbitrary_rule";
|
|
994
1274
|
// Make Request Context
|
|
995
1275
|
const requestContext = _config
|
|
996
|
-
.getServer("v2.CloudCostManagementApi.
|
|
997
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1276
|
+
.getServer("v2.CloudCostManagementApi.listCustomAllocationRules")
|
|
1277
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
998
1278
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
999
1279
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
1280
|
+
// Apply auth methods
|
|
1281
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1282
|
+
"apiKeyAuth",
|
|
1283
|
+
"appKeyAuth",
|
|
1284
|
+
"AuthZ",
|
|
1285
|
+
]);
|
|
1000
1286
|
return requestContext;
|
|
1001
1287
|
});
|
|
1002
1288
|
}
|
|
1003
|
-
|
|
1289
|
+
listCustomAllocationRulesStatus(_options) {
|
|
1004
1290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1005
1291
|
const _config = _options || this.configuration;
|
|
1006
|
-
// verify required parameter 'body' is not null or undefined
|
|
1007
|
-
if (body === null || body === undefined) {
|
|
1008
|
-
throw new baseapi_1.RequiredError("body", "validateQuery");
|
|
1009
|
-
}
|
|
1010
1292
|
// Path Params
|
|
1011
|
-
const localVarPath = "/api/v2/
|
|
1293
|
+
const localVarPath = "/api/v2/cost/arbitrary_rule/status";
|
|
1012
1294
|
// Make Request Context
|
|
1013
1295
|
const requestContext = _config
|
|
1014
|
-
.getServer("v2.CloudCostManagementApi.
|
|
1015
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1296
|
+
.getServer("v2.CloudCostManagementApi.listCustomAllocationRulesStatus")
|
|
1297
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1016
1298
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
1017
1299
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
1018
|
-
//
|
|
1019
|
-
|
|
1020
|
-
"
|
|
1300
|
+
// Apply auth methods
|
|
1301
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1302
|
+
"apiKeyAuth",
|
|
1303
|
+
"appKeyAuth",
|
|
1304
|
+
"AuthZ",
|
|
1021
1305
|
]);
|
|
1022
|
-
requestContext
|
|
1023
|
-
|
|
1024
|
-
|
|
1306
|
+
return requestContext;
|
|
1307
|
+
});
|
|
1308
|
+
}
|
|
1309
|
+
listCustomCostsFiles(pageNumber, pageSize, filterStatus, filterName, filterProvider, sort, _options) {
|
|
1310
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1311
|
+
const _config = _options || this.configuration;
|
|
1312
|
+
// Path Params
|
|
1313
|
+
const localVarPath = "/api/v2/cost/custom_costs";
|
|
1314
|
+
// Make Request Context
|
|
1315
|
+
const requestContext = _config
|
|
1316
|
+
.getServer("v2.CloudCostManagementApi.listCustomCostsFiles")
|
|
1317
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1318
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1319
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1320
|
+
// Query Params
|
|
1321
|
+
if (pageNumber !== undefined) {
|
|
1322
|
+
requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
|
|
1323
|
+
}
|
|
1324
|
+
if (pageSize !== undefined) {
|
|
1325
|
+
requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"), "");
|
|
1326
|
+
}
|
|
1327
|
+
if (filterStatus !== undefined) {
|
|
1328
|
+
requestContext.setQueryParam("filter[status]", ObjectSerializer_1.ObjectSerializer.serialize(filterStatus, "string", ""), "");
|
|
1329
|
+
}
|
|
1330
|
+
if (filterName !== undefined) {
|
|
1331
|
+
requestContext.setQueryParam("filter[name]", ObjectSerializer_1.ObjectSerializer.serialize(filterName, "string", ""), "");
|
|
1332
|
+
}
|
|
1333
|
+
if (filterProvider !== undefined) {
|
|
1334
|
+
requestContext.setQueryParam("filter[provider]", ObjectSerializer_1.ObjectSerializer.serialize(filterProvider, "Array<string>", ""), "multi");
|
|
1335
|
+
}
|
|
1336
|
+
if (sort !== undefined) {
|
|
1337
|
+
requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", ""), "");
|
|
1338
|
+
}
|
|
1025
1339
|
// Apply auth methods
|
|
1026
1340
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1027
1341
|
"apiKeyAuth",
|
|
@@ -1031,26 +1345,1045 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
1031
1345
|
return requestContext;
|
|
1032
1346
|
});
|
|
1033
1347
|
}
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1348
|
+
listTagPipelinesRulesets(_options) {
|
|
1349
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1350
|
+
const _config = _options || this.configuration;
|
|
1351
|
+
// Path Params
|
|
1352
|
+
const localVarPath = "/api/v2/tags/enrichment";
|
|
1353
|
+
// Make Request Context
|
|
1354
|
+
const requestContext = _config
|
|
1355
|
+
.getServer("v2.CloudCostManagementApi.listTagPipelinesRulesets")
|
|
1356
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1357
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1358
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1359
|
+
// Apply auth methods
|
|
1360
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1361
|
+
"apiKeyAuth",
|
|
1362
|
+
"appKeyAuth",
|
|
1363
|
+
"AuthZ",
|
|
1364
|
+
]);
|
|
1365
|
+
return requestContext;
|
|
1366
|
+
});
|
|
1367
|
+
}
|
|
1368
|
+
listTagPipelinesRulesetsStatus(_options) {
|
|
1369
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1370
|
+
const _config = _options || this.configuration;
|
|
1371
|
+
// Path Params
|
|
1372
|
+
const localVarPath = "/api/v2/tags/enrichment/status";
|
|
1373
|
+
// Make Request Context
|
|
1374
|
+
const requestContext = _config
|
|
1375
|
+
.getServer("v2.CloudCostManagementApi.listTagPipelinesRulesetsStatus")
|
|
1376
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1377
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1378
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1379
|
+
// Apply auth methods
|
|
1380
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1381
|
+
"apiKeyAuth",
|
|
1382
|
+
"appKeyAuth",
|
|
1383
|
+
"AuthZ",
|
|
1384
|
+
]);
|
|
1385
|
+
return requestContext;
|
|
1386
|
+
});
|
|
1387
|
+
}
|
|
1388
|
+
reorderCustomAllocationRules(body, _options) {
|
|
1389
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1390
|
+
const _config = _options || this.configuration;
|
|
1391
|
+
// verify required parameter 'body' is not null or undefined
|
|
1392
|
+
if (body === null || body === undefined) {
|
|
1393
|
+
throw new baseapi_1.RequiredError("body", "reorderCustomAllocationRules");
|
|
1394
|
+
}
|
|
1395
|
+
// Path Params
|
|
1396
|
+
const localVarPath = "/api/v2/cost/arbitrary_rule/reorder";
|
|
1397
|
+
// Make Request Context
|
|
1398
|
+
const requestContext = _config
|
|
1399
|
+
.getServer("v2.CloudCostManagementApi.reorderCustomAllocationRules")
|
|
1400
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
1401
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
1402
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1403
|
+
// Body Params
|
|
1404
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1405
|
+
"application/json",
|
|
1406
|
+
]);
|
|
1407
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1408
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ReorderRuleResourceArray", ""), contentType);
|
|
1409
|
+
requestContext.setBody(serializedBody);
|
|
1410
|
+
// Apply auth methods
|
|
1411
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1412
|
+
"apiKeyAuth",
|
|
1413
|
+
"appKeyAuth",
|
|
1414
|
+
"AuthZ",
|
|
1415
|
+
]);
|
|
1416
|
+
return requestContext;
|
|
1417
|
+
});
|
|
1418
|
+
}
|
|
1419
|
+
reorderTagPipelinesRulesets(body, _options) {
|
|
1420
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1421
|
+
const _config = _options || this.configuration;
|
|
1422
|
+
// verify required parameter 'body' is not null or undefined
|
|
1423
|
+
if (body === null || body === undefined) {
|
|
1424
|
+
throw new baseapi_1.RequiredError("body", "reorderTagPipelinesRulesets");
|
|
1425
|
+
}
|
|
1426
|
+
// Path Params
|
|
1427
|
+
const localVarPath = "/api/v2/tags/enrichment/reorder";
|
|
1428
|
+
// Make Request Context
|
|
1429
|
+
const requestContext = _config
|
|
1430
|
+
.getServer("v2.CloudCostManagementApi.reorderTagPipelinesRulesets")
|
|
1431
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
1432
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
1433
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1434
|
+
// Body Params
|
|
1435
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1436
|
+
"application/json",
|
|
1437
|
+
]);
|
|
1438
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1439
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ReorderRulesetResourceArray", ""), contentType);
|
|
1440
|
+
requestContext.setBody(serializedBody);
|
|
1441
|
+
// Apply auth methods
|
|
1442
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1443
|
+
"apiKeyAuth",
|
|
1444
|
+
"appKeyAuth",
|
|
1445
|
+
"AuthZ",
|
|
1446
|
+
]);
|
|
1447
|
+
return requestContext;
|
|
1448
|
+
});
|
|
1449
|
+
}
|
|
1450
|
+
updateCostAWSCURConfig(cloudAccountId, body, _options) {
|
|
1451
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1452
|
+
const _config = _options || this.configuration;
|
|
1453
|
+
// verify required parameter 'cloudAccountId' is not null or undefined
|
|
1454
|
+
if (cloudAccountId === null || cloudAccountId === undefined) {
|
|
1455
|
+
throw new baseapi_1.RequiredError("cloudAccountId", "updateCostAWSCURConfig");
|
|
1456
|
+
}
|
|
1457
|
+
// verify required parameter 'body' is not null or undefined
|
|
1458
|
+
if (body === null || body === undefined) {
|
|
1459
|
+
throw new baseapi_1.RequiredError("body", "updateCostAWSCURConfig");
|
|
1460
|
+
}
|
|
1461
|
+
// Path Params
|
|
1462
|
+
const localVarPath = "/api/v2/cost/aws_cur_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
|
|
1463
|
+
// Make Request Context
|
|
1464
|
+
const requestContext = _config
|
|
1465
|
+
.getServer("v2.CloudCostManagementApi.updateCostAWSCURConfig")
|
|
1466
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
1467
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1468
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1469
|
+
// Body Params
|
|
1470
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1471
|
+
"application/json",
|
|
1472
|
+
]);
|
|
1473
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1474
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AwsCURConfigPatchRequest", ""), contentType);
|
|
1475
|
+
requestContext.setBody(serializedBody);
|
|
1476
|
+
// Apply auth methods
|
|
1477
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1478
|
+
"apiKeyAuth",
|
|
1479
|
+
"appKeyAuth",
|
|
1480
|
+
"AuthZ",
|
|
1481
|
+
]);
|
|
1482
|
+
return requestContext;
|
|
1483
|
+
});
|
|
1484
|
+
}
|
|
1485
|
+
updateCostAzureUCConfigs(cloudAccountId, body, _options) {
|
|
1486
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1487
|
+
const _config = _options || this.configuration;
|
|
1488
|
+
// verify required parameter 'cloudAccountId' is not null or undefined
|
|
1489
|
+
if (cloudAccountId === null || cloudAccountId === undefined) {
|
|
1490
|
+
throw new baseapi_1.RequiredError("cloudAccountId", "updateCostAzureUCConfigs");
|
|
1491
|
+
}
|
|
1492
|
+
// verify required parameter 'body' is not null or undefined
|
|
1493
|
+
if (body === null || body === undefined) {
|
|
1494
|
+
throw new baseapi_1.RequiredError("body", "updateCostAzureUCConfigs");
|
|
1495
|
+
}
|
|
1496
|
+
// Path Params
|
|
1497
|
+
const localVarPath = "/api/v2/cost/azure_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
|
|
1498
|
+
// Make Request Context
|
|
1499
|
+
const requestContext = _config
|
|
1500
|
+
.getServer("v2.CloudCostManagementApi.updateCostAzureUCConfigs")
|
|
1501
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
1502
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1503
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1504
|
+
// Body Params
|
|
1505
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1506
|
+
"application/json",
|
|
1507
|
+
]);
|
|
1508
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1509
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AzureUCConfigPatchRequest", ""), contentType);
|
|
1510
|
+
requestContext.setBody(serializedBody);
|
|
1511
|
+
// Apply auth methods
|
|
1512
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1513
|
+
"apiKeyAuth",
|
|
1514
|
+
"appKeyAuth",
|
|
1515
|
+
"AuthZ",
|
|
1516
|
+
]);
|
|
1517
|
+
return requestContext;
|
|
1518
|
+
});
|
|
1519
|
+
}
|
|
1520
|
+
updateCostGCPUsageCostConfig(cloudAccountId, body, _options) {
|
|
1521
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1522
|
+
const _config = _options || this.configuration;
|
|
1523
|
+
// verify required parameter 'cloudAccountId' is not null or undefined
|
|
1524
|
+
if (cloudAccountId === null || cloudAccountId === undefined) {
|
|
1525
|
+
throw new baseapi_1.RequiredError("cloudAccountId", "updateCostGCPUsageCostConfig");
|
|
1526
|
+
}
|
|
1527
|
+
// verify required parameter 'body' is not null or undefined
|
|
1528
|
+
if (body === null || body === undefined) {
|
|
1529
|
+
throw new baseapi_1.RequiredError("body", "updateCostGCPUsageCostConfig");
|
|
1530
|
+
}
|
|
1531
|
+
// Path Params
|
|
1532
|
+
const localVarPath = "/api/v2/cost/gcp_uc_config/{cloud_account_id}".replace("{cloud_account_id}", encodeURIComponent(String(cloudAccountId)));
|
|
1533
|
+
// Make Request Context
|
|
1534
|
+
const requestContext = _config
|
|
1535
|
+
.getServer("v2.CloudCostManagementApi.updateCostGCPUsageCostConfig")
|
|
1536
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
1537
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1538
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1539
|
+
// Body Params
|
|
1540
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1541
|
+
"application/json",
|
|
1542
|
+
]);
|
|
1543
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1544
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "GCPUsageCostConfigPatchRequest", ""), contentType);
|
|
1545
|
+
requestContext.setBody(serializedBody);
|
|
1546
|
+
// Apply auth methods
|
|
1547
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1548
|
+
"apiKeyAuth",
|
|
1549
|
+
"appKeyAuth",
|
|
1550
|
+
"AuthZ",
|
|
1551
|
+
]);
|
|
1552
|
+
return requestContext;
|
|
1553
|
+
});
|
|
1554
|
+
}
|
|
1555
|
+
updateCustomAllocationRule(ruleId, body, _options) {
|
|
1556
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1557
|
+
const _config = _options || this.configuration;
|
|
1558
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
1559
|
+
if (ruleId === null || ruleId === undefined) {
|
|
1560
|
+
throw new baseapi_1.RequiredError("ruleId", "updateCustomAllocationRule");
|
|
1561
|
+
}
|
|
1562
|
+
// verify required parameter 'body' is not null or undefined
|
|
1563
|
+
if (body === null || body === undefined) {
|
|
1564
|
+
throw new baseapi_1.RequiredError("body", "updateCustomAllocationRule");
|
|
1565
|
+
}
|
|
1566
|
+
// Path Params
|
|
1567
|
+
const localVarPath = "/api/v2/cost/arbitrary_rule/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
1568
|
+
// Make Request Context
|
|
1569
|
+
const requestContext = _config
|
|
1570
|
+
.getServer("v2.CloudCostManagementApi.updateCustomAllocationRule")
|
|
1571
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
1572
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1573
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1574
|
+
// Body Params
|
|
1575
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1576
|
+
"application/json",
|
|
1577
|
+
]);
|
|
1578
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1579
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ArbitraryCostUpsertRequest", ""), contentType);
|
|
1580
|
+
requestContext.setBody(serializedBody);
|
|
1581
|
+
// Apply auth methods
|
|
1582
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1583
|
+
"apiKeyAuth",
|
|
1584
|
+
"appKeyAuth",
|
|
1585
|
+
"AuthZ",
|
|
1586
|
+
]);
|
|
1587
|
+
return requestContext;
|
|
1588
|
+
});
|
|
1589
|
+
}
|
|
1590
|
+
updateTagPipelinesRuleset(rulesetId, body, _options) {
|
|
1591
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1592
|
+
const _config = _options || this.configuration;
|
|
1593
|
+
// verify required parameter 'rulesetId' is not null or undefined
|
|
1594
|
+
if (rulesetId === null || rulesetId === undefined) {
|
|
1595
|
+
throw new baseapi_1.RequiredError("rulesetId", "updateTagPipelinesRuleset");
|
|
1596
|
+
}
|
|
1597
|
+
// verify required parameter 'body' is not null or undefined
|
|
1598
|
+
if (body === null || body === undefined) {
|
|
1599
|
+
throw new baseapi_1.RequiredError("body", "updateTagPipelinesRuleset");
|
|
1600
|
+
}
|
|
1601
|
+
// Path Params
|
|
1602
|
+
const localVarPath = "/api/v2/tags/enrichment/{ruleset_id}".replace("{ruleset_id}", encodeURIComponent(String(rulesetId)));
|
|
1603
|
+
// Make Request Context
|
|
1604
|
+
const requestContext = _config
|
|
1605
|
+
.getServer("v2.CloudCostManagementApi.updateTagPipelinesRuleset")
|
|
1606
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
1607
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1608
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1609
|
+
// Body Params
|
|
1610
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1611
|
+
"application/json",
|
|
1612
|
+
]);
|
|
1613
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1614
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "UpdateRulesetRequest", ""), contentType);
|
|
1615
|
+
requestContext.setBody(serializedBody);
|
|
1616
|
+
// Apply auth methods
|
|
1617
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1618
|
+
"apiKeyAuth",
|
|
1619
|
+
"appKeyAuth",
|
|
1620
|
+
"AuthZ",
|
|
1621
|
+
]);
|
|
1622
|
+
return requestContext;
|
|
1623
|
+
});
|
|
1624
|
+
}
|
|
1625
|
+
uploadCustomCostsFile(body, _options) {
|
|
1626
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1627
|
+
const _config = _options || this.configuration;
|
|
1628
|
+
// verify required parameter 'body' is not null or undefined
|
|
1629
|
+
if (body === null || body === undefined) {
|
|
1630
|
+
throw new baseapi_1.RequiredError("body", "uploadCustomCostsFile");
|
|
1631
|
+
}
|
|
1632
|
+
// Path Params
|
|
1633
|
+
const localVarPath = "/api/v2/cost/custom_costs";
|
|
1634
|
+
// Make Request Context
|
|
1635
|
+
const requestContext = _config
|
|
1636
|
+
.getServer("v2.CloudCostManagementApi.uploadCustomCostsFile")
|
|
1637
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
|
|
1638
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1639
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1640
|
+
// Body Params
|
|
1641
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1642
|
+
"application/json",
|
|
1643
|
+
]);
|
|
1644
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1645
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Array<CustomCostsFileLineItem>", ""), contentType);
|
|
1646
|
+
requestContext.setBody(serializedBody);
|
|
1647
|
+
// Apply auth methods
|
|
1648
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1649
|
+
"apiKeyAuth",
|
|
1650
|
+
"appKeyAuth",
|
|
1651
|
+
"AuthZ",
|
|
1652
|
+
]);
|
|
1653
|
+
return requestContext;
|
|
1654
|
+
});
|
|
1655
|
+
}
|
|
1656
|
+
upsertBudget(body, _options) {
|
|
1657
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1658
|
+
const _config = _options || this.configuration;
|
|
1659
|
+
// verify required parameter 'body' is not null or undefined
|
|
1660
|
+
if (body === null || body === undefined) {
|
|
1661
|
+
throw new baseapi_1.RequiredError("body", "upsertBudget");
|
|
1662
|
+
}
|
|
1663
|
+
// Path Params
|
|
1664
|
+
const localVarPath = "/api/v2/cost/budget";
|
|
1665
|
+
// Make Request Context
|
|
1666
|
+
const requestContext = _config
|
|
1667
|
+
.getServer("v2.CloudCostManagementApi.upsertBudget")
|
|
1668
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
|
|
1669
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1670
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1671
|
+
// Body Params
|
|
1672
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1673
|
+
"application/json",
|
|
1674
|
+
]);
|
|
1675
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1676
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "BudgetWithEntries", ""), contentType);
|
|
1677
|
+
requestContext.setBody(serializedBody);
|
|
1678
|
+
// Apply auth methods
|
|
1679
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1680
|
+
"apiKeyAuth",
|
|
1681
|
+
"appKeyAuth",
|
|
1682
|
+
]);
|
|
1683
|
+
return requestContext;
|
|
1684
|
+
});
|
|
1685
|
+
}
|
|
1686
|
+
validateBudget(body, _options) {
|
|
1687
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1688
|
+
const _config = _options || this.configuration;
|
|
1689
|
+
// verify required parameter 'body' is not null or undefined
|
|
1690
|
+
if (body === null || body === undefined) {
|
|
1691
|
+
throw new baseapi_1.RequiredError("body", "validateBudget");
|
|
1692
|
+
}
|
|
1693
|
+
// Path Params
|
|
1694
|
+
const localVarPath = "/api/v2/cost/budget/validate";
|
|
1695
|
+
// Make Request Context
|
|
1696
|
+
const requestContext = _config
|
|
1697
|
+
.getServer("v2.CloudCostManagementApi.validateBudget")
|
|
1698
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
1699
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1700
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1701
|
+
// Body Params
|
|
1702
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1703
|
+
"application/json",
|
|
1704
|
+
]);
|
|
1705
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1706
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "BudgetValidationRequest", ""), contentType);
|
|
1707
|
+
requestContext.setBody(serializedBody);
|
|
1708
|
+
// Apply auth methods
|
|
1709
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1710
|
+
"apiKeyAuth",
|
|
1711
|
+
"appKeyAuth",
|
|
1712
|
+
]);
|
|
1713
|
+
return requestContext;
|
|
1714
|
+
});
|
|
1715
|
+
}
|
|
1716
|
+
validateCsvBudget(_options) {
|
|
1717
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1718
|
+
const _config = _options || this.configuration;
|
|
1719
|
+
// Path Params
|
|
1720
|
+
const localVarPath = "/api/v2/cost/budget/csv/validate";
|
|
1721
|
+
// Make Request Context
|
|
1722
|
+
const requestContext = _config
|
|
1723
|
+
.getServer("v2.CloudCostManagementApi.validateCsvBudget")
|
|
1724
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
1725
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1726
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1727
|
+
return requestContext;
|
|
1728
|
+
});
|
|
1729
|
+
}
|
|
1730
|
+
validateQuery(body, _options) {
|
|
1731
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1732
|
+
const _config = _options || this.configuration;
|
|
1733
|
+
// verify required parameter 'body' is not null or undefined
|
|
1734
|
+
if (body === null || body === undefined) {
|
|
1735
|
+
throw new baseapi_1.RequiredError("body", "validateQuery");
|
|
1736
|
+
}
|
|
1737
|
+
// Path Params
|
|
1738
|
+
const localVarPath = "/api/v2/tags/enrichment/validate-query";
|
|
1739
|
+
// Make Request Context
|
|
1740
|
+
const requestContext = _config
|
|
1741
|
+
.getServer("v2.CloudCostManagementApi.validateQuery")
|
|
1742
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
1743
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1744
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1745
|
+
// Body Params
|
|
1746
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1747
|
+
"application/json",
|
|
1748
|
+
]);
|
|
1749
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1750
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RulesValidateQueryRequest", ""), contentType);
|
|
1751
|
+
requestContext.setBody(serializedBody);
|
|
1752
|
+
// Apply auth methods
|
|
1753
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1754
|
+
"apiKeyAuth",
|
|
1755
|
+
"appKeyAuth",
|
|
1756
|
+
"AuthZ",
|
|
1757
|
+
]);
|
|
1758
|
+
return requestContext;
|
|
1759
|
+
});
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
exports.CloudCostManagementApiRequestFactory = CloudCostManagementApiRequestFactory;
|
|
1763
|
+
class CloudCostManagementApiResponseProcessor {
|
|
1764
|
+
/**
|
|
1765
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1766
|
+
* to the expected objects
|
|
1767
|
+
*
|
|
1768
|
+
* @params response Response returned by the server for a request to createCostAWSCURConfig
|
|
1769
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1770
|
+
*/
|
|
1771
|
+
createCostAWSCURConfig(response) {
|
|
1772
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1773
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1774
|
+
if (response.httpStatusCode === 200) {
|
|
1775
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse");
|
|
1776
|
+
return body;
|
|
1777
|
+
}
|
|
1778
|
+
if (response.httpStatusCode === 400 ||
|
|
1779
|
+
response.httpStatusCode === 403 ||
|
|
1780
|
+
response.httpStatusCode === 429) {
|
|
1781
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1782
|
+
let body;
|
|
1783
|
+
try {
|
|
1784
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1785
|
+
}
|
|
1786
|
+
catch (error) {
|
|
1787
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1788
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1789
|
+
}
|
|
1790
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1791
|
+
}
|
|
1792
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1793
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1794
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse", "");
|
|
1795
|
+
return body;
|
|
1796
|
+
}
|
|
1797
|
+
const body = (yield response.body.text()) || "";
|
|
1798
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1799
|
+
});
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1803
|
+
* to the expected objects
|
|
1804
|
+
*
|
|
1805
|
+
* @params response Response returned by the server for a request to createCostAzureUCConfigs
|
|
1806
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1807
|
+
*/
|
|
1808
|
+
createCostAzureUCConfigs(response) {
|
|
1809
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1810
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1811
|
+
if (response.httpStatusCode === 200) {
|
|
1812
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigPairsResponse");
|
|
1813
|
+
return body;
|
|
1814
|
+
}
|
|
1815
|
+
if (response.httpStatusCode === 400 ||
|
|
1816
|
+
response.httpStatusCode === 403 ||
|
|
1817
|
+
response.httpStatusCode === 429) {
|
|
1818
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1819
|
+
let body;
|
|
1820
|
+
try {
|
|
1821
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1822
|
+
}
|
|
1823
|
+
catch (error) {
|
|
1824
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1825
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1826
|
+
}
|
|
1827
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1828
|
+
}
|
|
1829
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1830
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1831
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigPairsResponse", "");
|
|
1832
|
+
return body;
|
|
1833
|
+
}
|
|
1834
|
+
const body = (yield response.body.text()) || "";
|
|
1835
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1836
|
+
});
|
|
1837
|
+
}
|
|
1838
|
+
/**
|
|
1839
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1840
|
+
* to the expected objects
|
|
1841
|
+
*
|
|
1842
|
+
* @params response Response returned by the server for a request to createCostGCPUsageCostConfig
|
|
1843
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1844
|
+
*/
|
|
1845
|
+
createCostGCPUsageCostConfig(response) {
|
|
1846
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1847
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1848
|
+
if (response.httpStatusCode === 200) {
|
|
1849
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigResponse");
|
|
1850
|
+
return body;
|
|
1851
|
+
}
|
|
1852
|
+
if (response.httpStatusCode === 400 ||
|
|
1853
|
+
response.httpStatusCode === 403 ||
|
|
1854
|
+
response.httpStatusCode === 429) {
|
|
1855
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1856
|
+
let body;
|
|
1857
|
+
try {
|
|
1858
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1859
|
+
}
|
|
1860
|
+
catch (error) {
|
|
1861
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1862
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1863
|
+
}
|
|
1864
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1865
|
+
}
|
|
1866
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1867
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1868
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigResponse", "");
|
|
1869
|
+
return body;
|
|
1870
|
+
}
|
|
1871
|
+
const body = (yield response.body.text()) || "";
|
|
1872
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1873
|
+
});
|
|
1874
|
+
}
|
|
1875
|
+
/**
|
|
1876
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1877
|
+
* to the expected objects
|
|
1878
|
+
*
|
|
1879
|
+
* @params response Response returned by the server for a request to createCustomAllocationRule
|
|
1880
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1881
|
+
*/
|
|
1882
|
+
createCustomAllocationRule(response) {
|
|
1883
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1884
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1885
|
+
if (response.httpStatusCode === 200) {
|
|
1886
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse");
|
|
1887
|
+
return body;
|
|
1888
|
+
}
|
|
1889
|
+
if (response.httpStatusCode === 429) {
|
|
1890
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1891
|
+
let body;
|
|
1892
|
+
try {
|
|
1893
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1894
|
+
}
|
|
1895
|
+
catch (error) {
|
|
1896
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1897
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1898
|
+
}
|
|
1899
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1900
|
+
}
|
|
1901
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1902
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1903
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse", "");
|
|
1904
|
+
return body;
|
|
1905
|
+
}
|
|
1906
|
+
const body = (yield response.body.text()) || "";
|
|
1907
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1908
|
+
});
|
|
1909
|
+
}
|
|
1910
|
+
/**
|
|
1911
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1912
|
+
* to the expected objects
|
|
1913
|
+
*
|
|
1914
|
+
* @params response Response returned by the server for a request to createTagPipelinesRuleset
|
|
1915
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1916
|
+
*/
|
|
1917
|
+
createTagPipelinesRuleset(response) {
|
|
1918
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1919
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1920
|
+
if (response.httpStatusCode === 200) {
|
|
1921
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp");
|
|
1922
|
+
return body;
|
|
1923
|
+
}
|
|
1924
|
+
if (response.httpStatusCode === 429) {
|
|
1925
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1926
|
+
let body;
|
|
1927
|
+
try {
|
|
1928
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1929
|
+
}
|
|
1930
|
+
catch (error) {
|
|
1931
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1932
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1933
|
+
}
|
|
1934
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1935
|
+
}
|
|
1936
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1937
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1938
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp", "");
|
|
1939
|
+
return body;
|
|
1940
|
+
}
|
|
1941
|
+
const body = (yield response.body.text()) || "";
|
|
1942
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1943
|
+
});
|
|
1944
|
+
}
|
|
1945
|
+
/**
|
|
1946
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1947
|
+
* to the expected objects
|
|
1948
|
+
*
|
|
1949
|
+
* @params response Response returned by the server for a request to deleteBudget
|
|
1950
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1951
|
+
*/
|
|
1952
|
+
deleteBudget(response) {
|
|
1953
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1954
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1955
|
+
if (response.httpStatusCode === 204) {
|
|
1956
|
+
return;
|
|
1957
|
+
}
|
|
1958
|
+
if (response.httpStatusCode === 429) {
|
|
1959
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1960
|
+
let body;
|
|
1961
|
+
try {
|
|
1962
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1963
|
+
}
|
|
1964
|
+
catch (error) {
|
|
1965
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1966
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1967
|
+
}
|
|
1968
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1969
|
+
}
|
|
1970
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1971
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1972
|
+
return;
|
|
1973
|
+
}
|
|
1974
|
+
const body = (yield response.body.text()) || "";
|
|
1975
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1976
|
+
});
|
|
1977
|
+
}
|
|
1978
|
+
/**
|
|
1979
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1980
|
+
* to the expected objects
|
|
1981
|
+
*
|
|
1982
|
+
* @params response Response returned by the server for a request to deleteCostAWSCURConfig
|
|
1983
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1984
|
+
*/
|
|
1985
|
+
deleteCostAWSCURConfig(response) {
|
|
1986
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1987
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1988
|
+
if (response.httpStatusCode === 204) {
|
|
1989
|
+
return;
|
|
1990
|
+
}
|
|
1991
|
+
if (response.httpStatusCode === 400 ||
|
|
1992
|
+
response.httpStatusCode === 404 ||
|
|
1993
|
+
response.httpStatusCode === 429) {
|
|
1994
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1995
|
+
let body;
|
|
1996
|
+
try {
|
|
1997
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1998
|
+
}
|
|
1999
|
+
catch (error) {
|
|
2000
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2001
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2002
|
+
}
|
|
2003
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2004
|
+
}
|
|
2005
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2006
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2007
|
+
return;
|
|
2008
|
+
}
|
|
2009
|
+
const body = (yield response.body.text()) || "";
|
|
2010
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2011
|
+
});
|
|
2012
|
+
}
|
|
2013
|
+
/**
|
|
2014
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2015
|
+
* to the expected objects
|
|
2016
|
+
*
|
|
2017
|
+
* @params response Response returned by the server for a request to deleteCostAzureUCConfig
|
|
2018
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2019
|
+
*/
|
|
2020
|
+
deleteCostAzureUCConfig(response) {
|
|
2021
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2022
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2023
|
+
if (response.httpStatusCode === 204) {
|
|
2024
|
+
return;
|
|
2025
|
+
}
|
|
2026
|
+
if (response.httpStatusCode === 400 ||
|
|
2027
|
+
response.httpStatusCode === 404 ||
|
|
2028
|
+
response.httpStatusCode === 429) {
|
|
2029
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2030
|
+
let body;
|
|
2031
|
+
try {
|
|
2032
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2033
|
+
}
|
|
2034
|
+
catch (error) {
|
|
2035
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2036
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2037
|
+
}
|
|
2038
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2039
|
+
}
|
|
2040
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2041
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2042
|
+
return;
|
|
2043
|
+
}
|
|
2044
|
+
const body = (yield response.body.text()) || "";
|
|
2045
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2046
|
+
});
|
|
2047
|
+
}
|
|
2048
|
+
/**
|
|
2049
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2050
|
+
* to the expected objects
|
|
2051
|
+
*
|
|
2052
|
+
* @params response Response returned by the server for a request to deleteCostGCPUsageCostConfig
|
|
2053
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2054
|
+
*/
|
|
2055
|
+
deleteCostGCPUsageCostConfig(response) {
|
|
2056
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2057
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2058
|
+
if (response.httpStatusCode === 204) {
|
|
2059
|
+
return;
|
|
2060
|
+
}
|
|
2061
|
+
if (response.httpStatusCode === 400 ||
|
|
2062
|
+
response.httpStatusCode === 404 ||
|
|
2063
|
+
response.httpStatusCode === 429) {
|
|
2064
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2065
|
+
let body;
|
|
2066
|
+
try {
|
|
2067
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2068
|
+
}
|
|
2069
|
+
catch (error) {
|
|
2070
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2071
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2072
|
+
}
|
|
2073
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2074
|
+
}
|
|
2075
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2076
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2077
|
+
return;
|
|
2078
|
+
}
|
|
2079
|
+
const body = (yield response.body.text()) || "";
|
|
2080
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2081
|
+
});
|
|
2082
|
+
}
|
|
2083
|
+
/**
|
|
2084
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2085
|
+
* to the expected objects
|
|
2086
|
+
*
|
|
2087
|
+
* @params response Response returned by the server for a request to deleteCustomAllocationRule
|
|
2088
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2089
|
+
*/
|
|
2090
|
+
deleteCustomAllocationRule(response) {
|
|
2091
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2092
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2093
|
+
if (response.httpStatusCode === 204) {
|
|
2094
|
+
return;
|
|
2095
|
+
}
|
|
2096
|
+
if (response.httpStatusCode === 429) {
|
|
2097
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2098
|
+
let body;
|
|
2099
|
+
try {
|
|
2100
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2101
|
+
}
|
|
2102
|
+
catch (error) {
|
|
2103
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2104
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2105
|
+
}
|
|
2106
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2107
|
+
}
|
|
2108
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2109
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2110
|
+
return;
|
|
2111
|
+
}
|
|
2112
|
+
const body = (yield response.body.text()) || "";
|
|
2113
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2114
|
+
});
|
|
2115
|
+
}
|
|
2116
|
+
/**
|
|
2117
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2118
|
+
* to the expected objects
|
|
2119
|
+
*
|
|
2120
|
+
* @params response Response returned by the server for a request to deleteCustomCostsFile
|
|
2121
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2122
|
+
*/
|
|
2123
|
+
deleteCustomCostsFile(response) {
|
|
2124
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2125
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2126
|
+
if (response.httpStatusCode === 204) {
|
|
2127
|
+
return;
|
|
2128
|
+
}
|
|
2129
|
+
if (response.httpStatusCode === 403 ||
|
|
2130
|
+
response.httpStatusCode === 404 ||
|
|
2131
|
+
response.httpStatusCode === 429) {
|
|
2132
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2133
|
+
let body;
|
|
2134
|
+
try {
|
|
2135
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2136
|
+
}
|
|
2137
|
+
catch (error) {
|
|
2138
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2139
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2140
|
+
}
|
|
2141
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2142
|
+
}
|
|
2143
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2144
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2145
|
+
return;
|
|
2146
|
+
}
|
|
2147
|
+
const body = (yield response.body.text()) || "";
|
|
2148
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2149
|
+
});
|
|
2150
|
+
}
|
|
2151
|
+
/**
|
|
2152
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2153
|
+
* to the expected objects
|
|
2154
|
+
*
|
|
2155
|
+
* @params response Response returned by the server for a request to deleteTagPipelinesRuleset
|
|
2156
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2157
|
+
*/
|
|
2158
|
+
deleteTagPipelinesRuleset(response) {
|
|
2159
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2160
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2161
|
+
if (response.httpStatusCode === 204) {
|
|
2162
|
+
return;
|
|
2163
|
+
}
|
|
2164
|
+
if (response.httpStatusCode === 429) {
|
|
2165
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2166
|
+
let body;
|
|
2167
|
+
try {
|
|
2168
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2169
|
+
}
|
|
2170
|
+
catch (error) {
|
|
2171
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2172
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2173
|
+
}
|
|
2174
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2175
|
+
}
|
|
2176
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2177
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2178
|
+
return;
|
|
2179
|
+
}
|
|
2180
|
+
const body = (yield response.body.text()) || "";
|
|
2181
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2182
|
+
});
|
|
2183
|
+
}
|
|
2184
|
+
/**
|
|
2185
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2186
|
+
* to the expected objects
|
|
2187
|
+
*
|
|
2188
|
+
* @params response Response returned by the server for a request to getBudget
|
|
2189
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2190
|
+
*/
|
|
2191
|
+
getBudget(response) {
|
|
2192
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2193
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2194
|
+
if (response.httpStatusCode === 200) {
|
|
2195
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetWithEntries");
|
|
2196
|
+
return body;
|
|
2197
|
+
}
|
|
2198
|
+
if (response.httpStatusCode === 429) {
|
|
2199
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2200
|
+
let body;
|
|
2201
|
+
try {
|
|
2202
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2203
|
+
}
|
|
2204
|
+
catch (error) {
|
|
2205
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2206
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2207
|
+
}
|
|
2208
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2209
|
+
}
|
|
2210
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2211
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2212
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetWithEntries", "");
|
|
2213
|
+
return body;
|
|
2214
|
+
}
|
|
2215
|
+
const body = (yield response.body.text()) || "";
|
|
2216
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2217
|
+
});
|
|
2218
|
+
}
|
|
2219
|
+
/**
|
|
2220
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2221
|
+
* to the expected objects
|
|
2222
|
+
*
|
|
2223
|
+
* @params response Response returned by the server for a request to getCommitmentsCommitmentList
|
|
2224
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2225
|
+
*/
|
|
2226
|
+
getCommitmentsCommitmentList(response) {
|
|
2227
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2228
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2229
|
+
if (response.httpStatusCode === 200) {
|
|
2230
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsListResponse");
|
|
2231
|
+
return body;
|
|
2232
|
+
}
|
|
2233
|
+
if (response.httpStatusCode === 400) {
|
|
2234
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2235
|
+
let body;
|
|
2236
|
+
try {
|
|
2237
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
2238
|
+
}
|
|
2239
|
+
catch (error) {
|
|
2240
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2241
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2242
|
+
}
|
|
2243
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2244
|
+
}
|
|
2245
|
+
if (response.httpStatusCode === 429) {
|
|
2246
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2247
|
+
let body;
|
|
2248
|
+
try {
|
|
2249
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2250
|
+
}
|
|
2251
|
+
catch (error) {
|
|
2252
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2253
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2254
|
+
}
|
|
2255
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2256
|
+
}
|
|
2257
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2258
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2259
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsListResponse", "");
|
|
2260
|
+
return body;
|
|
2261
|
+
}
|
|
2262
|
+
const body = (yield response.body.text()) || "";
|
|
2263
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2264
|
+
});
|
|
2265
|
+
}
|
|
2266
|
+
/**
|
|
2267
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2268
|
+
* to the expected objects
|
|
2269
|
+
*
|
|
2270
|
+
* @params response Response returned by the server for a request to getCommitmentsCoverageScalar
|
|
2271
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2272
|
+
*/
|
|
2273
|
+
getCommitmentsCoverageScalar(response) {
|
|
2274
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2275
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2276
|
+
if (response.httpStatusCode === 200) {
|
|
2277
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsCoverageScalarResponse");
|
|
2278
|
+
return body;
|
|
2279
|
+
}
|
|
2280
|
+
if (response.httpStatusCode === 400) {
|
|
2281
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2282
|
+
let body;
|
|
2283
|
+
try {
|
|
2284
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
2285
|
+
}
|
|
2286
|
+
catch (error) {
|
|
2287
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2288
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2289
|
+
}
|
|
2290
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2291
|
+
}
|
|
2292
|
+
if (response.httpStatusCode === 429) {
|
|
2293
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2294
|
+
let body;
|
|
2295
|
+
try {
|
|
2296
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2297
|
+
}
|
|
2298
|
+
catch (error) {
|
|
2299
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2300
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2301
|
+
}
|
|
2302
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2303
|
+
}
|
|
2304
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2305
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2306
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsCoverageScalarResponse", "");
|
|
2307
|
+
return body;
|
|
2308
|
+
}
|
|
2309
|
+
const body = (yield response.body.text()) || "";
|
|
2310
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2311
|
+
});
|
|
2312
|
+
}
|
|
2313
|
+
/**
|
|
2314
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2315
|
+
* to the expected objects
|
|
2316
|
+
*
|
|
2317
|
+
* @params response Response returned by the server for a request to getCommitmentsCoverageTimeseries
|
|
2318
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2319
|
+
*/
|
|
2320
|
+
getCommitmentsCoverageTimeseries(response) {
|
|
2321
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2322
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2323
|
+
if (response.httpStatusCode === 200) {
|
|
2324
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsCoverageTimeseriesResponse");
|
|
2325
|
+
return body;
|
|
2326
|
+
}
|
|
2327
|
+
if (response.httpStatusCode === 400) {
|
|
2328
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2329
|
+
let body;
|
|
2330
|
+
try {
|
|
2331
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
2332
|
+
}
|
|
2333
|
+
catch (error) {
|
|
2334
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2335
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2336
|
+
}
|
|
2337
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2338
|
+
}
|
|
2339
|
+
if (response.httpStatusCode === 429) {
|
|
2340
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2341
|
+
let body;
|
|
2342
|
+
try {
|
|
2343
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2344
|
+
}
|
|
2345
|
+
catch (error) {
|
|
2346
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2347
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2348
|
+
}
|
|
2349
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2350
|
+
}
|
|
2351
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2352
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2353
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsCoverageTimeseriesResponse", "");
|
|
2354
|
+
return body;
|
|
2355
|
+
}
|
|
2356
|
+
const body = (yield response.body.text()) || "";
|
|
2357
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2358
|
+
});
|
|
2359
|
+
}
|
|
1037
2360
|
/**
|
|
1038
2361
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1039
2362
|
* to the expected objects
|
|
1040
2363
|
*
|
|
1041
|
-
* @params response Response returned by the server for a request to
|
|
2364
|
+
* @params response Response returned by the server for a request to getCommitmentsOnDemandHotspotsScalar
|
|
1042
2365
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1043
2366
|
*/
|
|
1044
|
-
|
|
2367
|
+
getCommitmentsOnDemandHotspotsScalar(response) {
|
|
1045
2368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1046
2369
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1047
2370
|
if (response.httpStatusCode === 200) {
|
|
1048
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2371
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsOnDemandHotspotsScalarResponse");
|
|
1049
2372
|
return body;
|
|
1050
2373
|
}
|
|
1051
|
-
if (response.httpStatusCode === 400
|
|
1052
|
-
response.
|
|
1053
|
-
|
|
2374
|
+
if (response.httpStatusCode === 400) {
|
|
2375
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2376
|
+
let body;
|
|
2377
|
+
try {
|
|
2378
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
2379
|
+
}
|
|
2380
|
+
catch (error) {
|
|
2381
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2382
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2383
|
+
}
|
|
2384
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2385
|
+
}
|
|
2386
|
+
if (response.httpStatusCode === 429) {
|
|
1054
2387
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1055
2388
|
let body;
|
|
1056
2389
|
try {
|
|
@@ -1064,7 +2397,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1064
2397
|
}
|
|
1065
2398
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1066
2399
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1067
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2400
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsOnDemandHotspotsScalarResponse", "");
|
|
1068
2401
|
return body;
|
|
1069
2402
|
}
|
|
1070
2403
|
const body = (yield response.body.text()) || "";
|
|
@@ -1075,19 +2408,29 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1075
2408
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1076
2409
|
* to the expected objects
|
|
1077
2410
|
*
|
|
1078
|
-
* @params response Response returned by the server for a request to
|
|
2411
|
+
* @params response Response returned by the server for a request to getCommitmentsSavingsScalar
|
|
1079
2412
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1080
2413
|
*/
|
|
1081
|
-
|
|
2414
|
+
getCommitmentsSavingsScalar(response) {
|
|
1082
2415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1083
2416
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1084
2417
|
if (response.httpStatusCode === 200) {
|
|
1085
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2418
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsSavingsScalarResponse");
|
|
1086
2419
|
return body;
|
|
1087
2420
|
}
|
|
1088
|
-
if (response.httpStatusCode === 400
|
|
1089
|
-
response.
|
|
1090
|
-
|
|
2421
|
+
if (response.httpStatusCode === 400) {
|
|
2422
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2423
|
+
let body;
|
|
2424
|
+
try {
|
|
2425
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
2426
|
+
}
|
|
2427
|
+
catch (error) {
|
|
2428
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2429
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2430
|
+
}
|
|
2431
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2432
|
+
}
|
|
2433
|
+
if (response.httpStatusCode === 429) {
|
|
1091
2434
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1092
2435
|
let body;
|
|
1093
2436
|
try {
|
|
@@ -1101,7 +2444,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1101
2444
|
}
|
|
1102
2445
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1103
2446
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1104
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2447
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsSavingsScalarResponse", "");
|
|
1105
2448
|
return body;
|
|
1106
2449
|
}
|
|
1107
2450
|
const body = (yield response.body.text()) || "";
|
|
@@ -1112,19 +2455,29 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1112
2455
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1113
2456
|
* to the expected objects
|
|
1114
2457
|
*
|
|
1115
|
-
* @params response Response returned by the server for a request to
|
|
2458
|
+
* @params response Response returned by the server for a request to getCommitmentsSavingsTimeseries
|
|
1116
2459
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1117
2460
|
*/
|
|
1118
|
-
|
|
2461
|
+
getCommitmentsSavingsTimeseries(response) {
|
|
1119
2462
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1120
2463
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1121
2464
|
if (response.httpStatusCode === 200) {
|
|
1122
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2465
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsSavingsTimeseriesResponse");
|
|
1123
2466
|
return body;
|
|
1124
2467
|
}
|
|
1125
|
-
if (response.httpStatusCode === 400
|
|
1126
|
-
response.
|
|
1127
|
-
|
|
2468
|
+
if (response.httpStatusCode === 400) {
|
|
2469
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2470
|
+
let body;
|
|
2471
|
+
try {
|
|
2472
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
2473
|
+
}
|
|
2474
|
+
catch (error) {
|
|
2475
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2476
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2477
|
+
}
|
|
2478
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2479
|
+
}
|
|
2480
|
+
if (response.httpStatusCode === 429) {
|
|
1128
2481
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1129
2482
|
let body;
|
|
1130
2483
|
try {
|
|
@@ -1138,7 +2491,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1138
2491
|
}
|
|
1139
2492
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1140
2493
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1141
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2494
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsSavingsTimeseriesResponse", "");
|
|
1142
2495
|
return body;
|
|
1143
2496
|
}
|
|
1144
2497
|
const body = (yield response.body.text()) || "";
|
|
@@ -1149,16 +2502,28 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1149
2502
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1150
2503
|
* to the expected objects
|
|
1151
2504
|
*
|
|
1152
|
-
* @params response Response returned by the server for a request to
|
|
2505
|
+
* @params response Response returned by the server for a request to getCommitmentsUtilizationScalar
|
|
1153
2506
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1154
2507
|
*/
|
|
1155
|
-
|
|
2508
|
+
getCommitmentsUtilizationScalar(response) {
|
|
1156
2509
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1157
2510
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1158
2511
|
if (response.httpStatusCode === 200) {
|
|
1159
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2512
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsUtilizationScalarResponse");
|
|
1160
2513
|
return body;
|
|
1161
2514
|
}
|
|
2515
|
+
if (response.httpStatusCode === 400) {
|
|
2516
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2517
|
+
let body;
|
|
2518
|
+
try {
|
|
2519
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
2520
|
+
}
|
|
2521
|
+
catch (error) {
|
|
2522
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2523
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2524
|
+
}
|
|
2525
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2526
|
+
}
|
|
1162
2527
|
if (response.httpStatusCode === 429) {
|
|
1163
2528
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1164
2529
|
let body;
|
|
@@ -1173,7 +2538,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1173
2538
|
}
|
|
1174
2539
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1175
2540
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1176
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2541
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsUtilizationScalarResponse", "");
|
|
1177
2542
|
return body;
|
|
1178
2543
|
}
|
|
1179
2544
|
const body = (yield response.body.text()) || "";
|
|
@@ -1184,16 +2549,28 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1184
2549
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1185
2550
|
* to the expected objects
|
|
1186
2551
|
*
|
|
1187
|
-
* @params response Response returned by the server for a request to
|
|
2552
|
+
* @params response Response returned by the server for a request to getCommitmentsUtilizationTimeseries
|
|
1188
2553
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1189
2554
|
*/
|
|
1190
|
-
|
|
2555
|
+
getCommitmentsUtilizationTimeseries(response) {
|
|
1191
2556
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1192
2557
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1193
2558
|
if (response.httpStatusCode === 200) {
|
|
1194
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2559
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsUtilizationTimeseriesResponse");
|
|
1195
2560
|
return body;
|
|
1196
2561
|
}
|
|
2562
|
+
if (response.httpStatusCode === 400) {
|
|
2563
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2564
|
+
let body;
|
|
2565
|
+
try {
|
|
2566
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
2567
|
+
}
|
|
2568
|
+
catch (error) {
|
|
2569
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2570
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2571
|
+
}
|
|
2572
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2573
|
+
}
|
|
1197
2574
|
if (response.httpStatusCode === 429) {
|
|
1198
2575
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1199
2576
|
let body;
|
|
@@ -1208,7 +2585,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1208
2585
|
}
|
|
1209
2586
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1210
2587
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1211
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2588
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CommitmentsUtilizationTimeseriesResponse", "");
|
|
1212
2589
|
return body;
|
|
1213
2590
|
}
|
|
1214
2591
|
const body = (yield response.body.text()) || "";
|
|
@@ -1219,14 +2596,53 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1219
2596
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1220
2597
|
* to the expected objects
|
|
1221
2598
|
*
|
|
1222
|
-
* @params response Response returned by the server for a request to
|
|
2599
|
+
* @params response Response returned by the server for a request to getCostAnomaly
|
|
1223
2600
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1224
2601
|
*/
|
|
1225
|
-
|
|
2602
|
+
getCostAnomaly(response) {
|
|
1226
2603
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1227
2604
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1228
|
-
if (response.httpStatusCode ===
|
|
1229
|
-
|
|
2605
|
+
if (response.httpStatusCode === 200) {
|
|
2606
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostAnomalyResponse");
|
|
2607
|
+
return body;
|
|
2608
|
+
}
|
|
2609
|
+
if (response.httpStatusCode === 400 ||
|
|
2610
|
+
response.httpStatusCode === 403 ||
|
|
2611
|
+
response.httpStatusCode === 404 ||
|
|
2612
|
+
response.httpStatusCode === 429) {
|
|
2613
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2614
|
+
let body;
|
|
2615
|
+
try {
|
|
2616
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2617
|
+
}
|
|
2618
|
+
catch (error) {
|
|
2619
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2620
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2621
|
+
}
|
|
2622
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2623
|
+
}
|
|
2624
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2625
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2626
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostAnomalyResponse", "");
|
|
2627
|
+
return body;
|
|
2628
|
+
}
|
|
2629
|
+
const body = (yield response.body.text()) || "";
|
|
2630
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2631
|
+
});
|
|
2632
|
+
}
|
|
2633
|
+
/**
|
|
2634
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2635
|
+
* to the expected objects
|
|
2636
|
+
*
|
|
2637
|
+
* @params response Response returned by the server for a request to getCostAWSCURConfig
|
|
2638
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2639
|
+
*/
|
|
2640
|
+
getCostAWSCURConfig(response) {
|
|
2641
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2642
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2643
|
+
if (response.httpStatusCode === 200) {
|
|
2644
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse");
|
|
2645
|
+
return body;
|
|
1230
2646
|
}
|
|
1231
2647
|
if (response.httpStatusCode === 429) {
|
|
1232
2648
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
@@ -1242,7 +2658,8 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1242
2658
|
}
|
|
1243
2659
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1244
2660
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1245
|
-
|
|
2661
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCurConfigResponse", "");
|
|
2662
|
+
return body;
|
|
1246
2663
|
}
|
|
1247
2664
|
const body = (yield response.body.text()) || "";
|
|
1248
2665
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
@@ -1252,18 +2669,17 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1252
2669
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1253
2670
|
* to the expected objects
|
|
1254
2671
|
*
|
|
1255
|
-
* @params response Response returned by the server for a request to
|
|
2672
|
+
* @params response Response returned by the server for a request to getCostAzureUCConfig
|
|
1256
2673
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1257
2674
|
*/
|
|
1258
|
-
|
|
2675
|
+
getCostAzureUCConfig(response) {
|
|
1259
2676
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1260
2677
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1261
|
-
if (response.httpStatusCode ===
|
|
1262
|
-
|
|
2678
|
+
if (response.httpStatusCode === 200) {
|
|
2679
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "UCConfigPair");
|
|
2680
|
+
return body;
|
|
1263
2681
|
}
|
|
1264
|
-
if (response.httpStatusCode ===
|
|
1265
|
-
response.httpStatusCode === 404 ||
|
|
1266
|
-
response.httpStatusCode === 429) {
|
|
2682
|
+
if (response.httpStatusCode === 429) {
|
|
1267
2683
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1268
2684
|
let body;
|
|
1269
2685
|
try {
|
|
@@ -1277,7 +2693,8 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1277
2693
|
}
|
|
1278
2694
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1279
2695
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1280
|
-
|
|
2696
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "UCConfigPair", "");
|
|
2697
|
+
return body;
|
|
1281
2698
|
}
|
|
1282
2699
|
const body = (yield response.body.text()) || "";
|
|
1283
2700
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
@@ -1287,18 +2704,17 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1287
2704
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1288
2705
|
* to the expected objects
|
|
1289
2706
|
*
|
|
1290
|
-
* @params response Response returned by the server for a request to
|
|
2707
|
+
* @params response Response returned by the server for a request to getCostGCPUsageCostConfig
|
|
1291
2708
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1292
2709
|
*/
|
|
1293
|
-
|
|
2710
|
+
getCostGCPUsageCostConfig(response) {
|
|
1294
2711
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1295
2712
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1296
|
-
if (response.httpStatusCode ===
|
|
1297
|
-
|
|
2713
|
+
if (response.httpStatusCode === 200) {
|
|
2714
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GcpUcConfigResponse");
|
|
2715
|
+
return body;
|
|
1298
2716
|
}
|
|
1299
|
-
if (response.httpStatusCode ===
|
|
1300
|
-
response.httpStatusCode === 404 ||
|
|
1301
|
-
response.httpStatusCode === 429) {
|
|
2717
|
+
if (response.httpStatusCode === 429) {
|
|
1302
2718
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1303
2719
|
let body;
|
|
1304
2720
|
try {
|
|
@@ -1312,7 +2728,8 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1312
2728
|
}
|
|
1313
2729
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1314
2730
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1315
|
-
|
|
2731
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GcpUcConfigResponse", "");
|
|
2732
|
+
return body;
|
|
1316
2733
|
}
|
|
1317
2734
|
const body = (yield response.body.text()) || "";
|
|
1318
2735
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
@@ -1322,16 +2739,18 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1322
2739
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1323
2740
|
* to the expected objects
|
|
1324
2741
|
*
|
|
1325
|
-
* @params response Response returned by the server for a request to
|
|
2742
|
+
* @params response Response returned by the server for a request to getCostTagKey
|
|
1326
2743
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1327
2744
|
*/
|
|
1328
|
-
|
|
2745
|
+
getCostTagKey(response) {
|
|
1329
2746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1330
2747
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1331
|
-
if (response.httpStatusCode ===
|
|
1332
|
-
|
|
2748
|
+
if (response.httpStatusCode === 200) {
|
|
2749
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagKeyResponse");
|
|
2750
|
+
return body;
|
|
1333
2751
|
}
|
|
1334
2752
|
if (response.httpStatusCode === 400 ||
|
|
2753
|
+
response.httpStatusCode === 403 ||
|
|
1335
2754
|
response.httpStatusCode === 404 ||
|
|
1336
2755
|
response.httpStatusCode === 429) {
|
|
1337
2756
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
@@ -1347,7 +2766,8 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1347
2766
|
}
|
|
1348
2767
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1349
2768
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1350
|
-
|
|
2769
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagKeyResponse", "");
|
|
2770
|
+
return body;
|
|
1351
2771
|
}
|
|
1352
2772
|
const body = (yield response.body.text()) || "";
|
|
1353
2773
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
@@ -1357,14 +2777,15 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1357
2777
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1358
2778
|
* to the expected objects
|
|
1359
2779
|
*
|
|
1360
|
-
* @params response Response returned by the server for a request to
|
|
2780
|
+
* @params response Response returned by the server for a request to getCustomAllocationRule
|
|
1361
2781
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1362
2782
|
*/
|
|
1363
|
-
|
|
2783
|
+
getCustomAllocationRule(response) {
|
|
1364
2784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1365
2785
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1366
|
-
if (response.httpStatusCode ===
|
|
1367
|
-
|
|
2786
|
+
if (response.httpStatusCode === 200) {
|
|
2787
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse");
|
|
2788
|
+
return body;
|
|
1368
2789
|
}
|
|
1369
2790
|
if (response.httpStatusCode === 429) {
|
|
1370
2791
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
@@ -1380,7 +2801,8 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1380
2801
|
}
|
|
1381
2802
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1382
2803
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1383
|
-
|
|
2804
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponse", "");
|
|
2805
|
+
return body;
|
|
1384
2806
|
}
|
|
1385
2807
|
const body = (yield response.body.text()) || "";
|
|
1386
2808
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
@@ -1390,14 +2812,15 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1390
2812
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1391
2813
|
* to the expected objects
|
|
1392
2814
|
*
|
|
1393
|
-
* @params response Response returned by the server for a request to
|
|
2815
|
+
* @params response Response returned by the server for a request to getCustomCostsFile
|
|
1394
2816
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1395
2817
|
*/
|
|
1396
|
-
|
|
2818
|
+
getCustomCostsFile(response) {
|
|
1397
2819
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1398
2820
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1399
|
-
if (response.httpStatusCode ===
|
|
1400
|
-
|
|
2821
|
+
if (response.httpStatusCode === 200) {
|
|
2822
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileGetResponse");
|
|
2823
|
+
return body;
|
|
1401
2824
|
}
|
|
1402
2825
|
if (response.httpStatusCode === 403 ||
|
|
1403
2826
|
response.httpStatusCode === 404 ||
|
|
@@ -1415,7 +2838,8 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1415
2838
|
}
|
|
1416
2839
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1417
2840
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1418
|
-
|
|
2841
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileGetResponse", "");
|
|
2842
|
+
return body;
|
|
1419
2843
|
}
|
|
1420
2844
|
const body = (yield response.body.text()) || "";
|
|
1421
2845
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
@@ -1425,14 +2849,15 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1425
2849
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1426
2850
|
* to the expected objects
|
|
1427
2851
|
*
|
|
1428
|
-
* @params response Response returned by the server for a request to
|
|
2852
|
+
* @params response Response returned by the server for a request to getTagPipelinesRuleset
|
|
1429
2853
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1430
2854
|
*/
|
|
1431
|
-
|
|
2855
|
+
getTagPipelinesRuleset(response) {
|
|
1432
2856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1433
2857
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1434
|
-
if (response.httpStatusCode ===
|
|
1435
|
-
|
|
2858
|
+
if (response.httpStatusCode === 200) {
|
|
2859
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp");
|
|
2860
|
+
return body;
|
|
1436
2861
|
}
|
|
1437
2862
|
if (response.httpStatusCode === 429) {
|
|
1438
2863
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
@@ -1448,7 +2873,8 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1448
2873
|
}
|
|
1449
2874
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1450
2875
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1451
|
-
|
|
2876
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetResp", "");
|
|
2877
|
+
return body;
|
|
1452
2878
|
}
|
|
1453
2879
|
const body = (yield response.body.text()) || "";
|
|
1454
2880
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
@@ -1458,14 +2884,14 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1458
2884
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1459
2885
|
* to the expected objects
|
|
1460
2886
|
*
|
|
1461
|
-
* @params response Response returned by the server for a request to
|
|
2887
|
+
* @params response Response returned by the server for a request to listBudgets
|
|
1462
2888
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1463
2889
|
*/
|
|
1464
|
-
|
|
2890
|
+
listBudgets(response) {
|
|
1465
2891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1466
2892
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1467
2893
|
if (response.httpStatusCode === 200) {
|
|
1468
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2894
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetArray");
|
|
1469
2895
|
return body;
|
|
1470
2896
|
}
|
|
1471
2897
|
if (response.httpStatusCode === 429) {
|
|
@@ -1482,7 +2908,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1482
2908
|
}
|
|
1483
2909
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1484
2910
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1485
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2911
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BudgetArray", "");
|
|
1486
2912
|
return body;
|
|
1487
2913
|
}
|
|
1488
2914
|
const body = (yield response.body.text()) || "";
|
|
@@ -1493,17 +2919,19 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1493
2919
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1494
2920
|
* to the expected objects
|
|
1495
2921
|
*
|
|
1496
|
-
* @params response Response returned by the server for a request to
|
|
2922
|
+
* @params response Response returned by the server for a request to listCostAnomalies
|
|
1497
2923
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1498
2924
|
*/
|
|
1499
|
-
|
|
2925
|
+
listCostAnomalies(response) {
|
|
1500
2926
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1501
2927
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1502
2928
|
if (response.httpStatusCode === 200) {
|
|
1503
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2929
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostAnomaliesResponse");
|
|
1504
2930
|
return body;
|
|
1505
2931
|
}
|
|
1506
|
-
if (response.httpStatusCode ===
|
|
2932
|
+
if (response.httpStatusCode === 400 ||
|
|
2933
|
+
response.httpStatusCode === 403 ||
|
|
2934
|
+
response.httpStatusCode === 429) {
|
|
1507
2935
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1508
2936
|
let body;
|
|
1509
2937
|
try {
|
|
@@ -1517,7 +2945,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1517
2945
|
}
|
|
1518
2946
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1519
2947
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1520
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2948
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostAnomaliesResponse", "");
|
|
1521
2949
|
return body;
|
|
1522
2950
|
}
|
|
1523
2951
|
const body = (yield response.body.text()) || "";
|
|
@@ -1528,17 +2956,17 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1528
2956
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1529
2957
|
* to the expected objects
|
|
1530
2958
|
*
|
|
1531
|
-
* @params response Response returned by the server for a request to
|
|
2959
|
+
* @params response Response returned by the server for a request to listCostAWSCURConfigs
|
|
1532
2960
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1533
2961
|
*/
|
|
1534
|
-
|
|
2962
|
+
listCostAWSCURConfigs(response) {
|
|
1535
2963
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1536
2964
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1537
2965
|
if (response.httpStatusCode === 200) {
|
|
1538
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2966
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCURConfigsResponse");
|
|
1539
2967
|
return body;
|
|
1540
2968
|
}
|
|
1541
|
-
if (response.httpStatusCode === 429) {
|
|
2969
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
1542
2970
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1543
2971
|
let body;
|
|
1544
2972
|
try {
|
|
@@ -1552,7 +2980,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1552
2980
|
}
|
|
1553
2981
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1554
2982
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1555
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2983
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AwsCURConfigsResponse", "");
|
|
1556
2984
|
return body;
|
|
1557
2985
|
}
|
|
1558
2986
|
const body = (yield response.body.text()) || "";
|
|
@@ -1563,17 +2991,17 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1563
2991
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1564
2992
|
* to the expected objects
|
|
1565
2993
|
*
|
|
1566
|
-
* @params response Response returned by the server for a request to
|
|
2994
|
+
* @params response Response returned by the server for a request to listCostAzureUCConfigs
|
|
1567
2995
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1568
2996
|
*/
|
|
1569
|
-
|
|
2997
|
+
listCostAzureUCConfigs(response) {
|
|
1570
2998
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1571
2999
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1572
3000
|
if (response.httpStatusCode === 200) {
|
|
1573
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3001
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigsResponse");
|
|
1574
3002
|
return body;
|
|
1575
3003
|
}
|
|
1576
|
-
if (response.httpStatusCode === 429) {
|
|
3004
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
1577
3005
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1578
3006
|
let body;
|
|
1579
3007
|
try {
|
|
@@ -1587,7 +3015,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1587
3015
|
}
|
|
1588
3016
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1589
3017
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1590
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3018
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AzureUCConfigsResponse", "");
|
|
1591
3019
|
return body;
|
|
1592
3020
|
}
|
|
1593
3021
|
const body = (yield response.body.text()) || "";
|
|
@@ -1598,17 +3026,17 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1598
3026
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1599
3027
|
* to the expected objects
|
|
1600
3028
|
*
|
|
1601
|
-
* @params response Response returned by the server for a request to
|
|
3029
|
+
* @params response Response returned by the server for a request to listCostGCPUsageCostConfigs
|
|
1602
3030
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1603
3031
|
*/
|
|
1604
|
-
|
|
3032
|
+
listCostGCPUsageCostConfigs(response) {
|
|
1605
3033
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1606
3034
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1607
3035
|
if (response.httpStatusCode === 200) {
|
|
1608
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3036
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigsResponse");
|
|
1609
3037
|
return body;
|
|
1610
3038
|
}
|
|
1611
|
-
if (response.httpStatusCode === 429) {
|
|
3039
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
1612
3040
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1613
3041
|
let body;
|
|
1614
3042
|
try {
|
|
@@ -1622,7 +3050,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1622
3050
|
}
|
|
1623
3051
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1624
3052
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1625
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3053
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPUsageCostConfigsResponse", "");
|
|
1626
3054
|
return body;
|
|
1627
3055
|
}
|
|
1628
3056
|
const body = (yield response.body.text()) || "";
|
|
@@ -1633,19 +3061,17 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1633
3061
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1634
3062
|
* to the expected objects
|
|
1635
3063
|
*
|
|
1636
|
-
* @params response Response returned by the server for a request to
|
|
3064
|
+
* @params response Response returned by the server for a request to listCostOCIConfigs
|
|
1637
3065
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1638
3066
|
*/
|
|
1639
|
-
|
|
3067
|
+
listCostOCIConfigs(response) {
|
|
1640
3068
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1641
3069
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1642
3070
|
if (response.httpStatusCode === 200) {
|
|
1643
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3071
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OCIConfigsResponse");
|
|
1644
3072
|
return body;
|
|
1645
3073
|
}
|
|
1646
|
-
if (response.httpStatusCode === 403 ||
|
|
1647
|
-
response.httpStatusCode === 404 ||
|
|
1648
|
-
response.httpStatusCode === 429) {
|
|
3074
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
1649
3075
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1650
3076
|
let body;
|
|
1651
3077
|
try {
|
|
@@ -1659,7 +3085,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1659
3085
|
}
|
|
1660
3086
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1661
3087
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1662
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3088
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OCIConfigsResponse", "");
|
|
1663
3089
|
return body;
|
|
1664
3090
|
}
|
|
1665
3091
|
const body = (yield response.body.text()) || "";
|
|
@@ -1670,17 +3096,17 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1670
3096
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1671
3097
|
* to the expected objects
|
|
1672
3098
|
*
|
|
1673
|
-
* @params response Response returned by the server for a request to
|
|
3099
|
+
* @params response Response returned by the server for a request to listCostTagDescriptions
|
|
1674
3100
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1675
3101
|
*/
|
|
1676
|
-
|
|
3102
|
+
listCostTagDescriptions(response) {
|
|
1677
3103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1678
3104
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1679
3105
|
if (response.httpStatusCode === 200) {
|
|
1680
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3106
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagDescriptionsResponse");
|
|
1681
3107
|
return body;
|
|
1682
3108
|
}
|
|
1683
|
-
if (response.httpStatusCode === 429) {
|
|
3109
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
1684
3110
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1685
3111
|
let body;
|
|
1686
3112
|
try {
|
|
@@ -1694,7 +3120,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1694
3120
|
}
|
|
1695
3121
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1696
3122
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1697
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3123
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagDescriptionsResponse", "");
|
|
1698
3124
|
return body;
|
|
1699
3125
|
}
|
|
1700
3126
|
const body = (yield response.body.text()) || "";
|
|
@@ -1705,17 +3131,19 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1705
3131
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1706
3132
|
* to the expected objects
|
|
1707
3133
|
*
|
|
1708
|
-
* @params response Response returned by the server for a request to
|
|
3134
|
+
* @params response Response returned by the server for a request to listCostTagKeys
|
|
1709
3135
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1710
3136
|
*/
|
|
1711
|
-
|
|
3137
|
+
listCostTagKeys(response) {
|
|
1712
3138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1713
3139
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1714
3140
|
if (response.httpStatusCode === 200) {
|
|
1715
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3141
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagKeysResponse");
|
|
1716
3142
|
return body;
|
|
1717
3143
|
}
|
|
1718
|
-
if (response.httpStatusCode ===
|
|
3144
|
+
if (response.httpStatusCode === 400 ||
|
|
3145
|
+
response.httpStatusCode === 403 ||
|
|
3146
|
+
response.httpStatusCode === 429) {
|
|
1719
3147
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1720
3148
|
let body;
|
|
1721
3149
|
try {
|
|
@@ -1729,7 +3157,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1729
3157
|
}
|
|
1730
3158
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1731
3159
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1732
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3160
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagKeysResponse", "");
|
|
1733
3161
|
return body;
|
|
1734
3162
|
}
|
|
1735
3163
|
const body = (yield response.body.text()) || "";
|
|
@@ -1740,17 +3168,19 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1740
3168
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1741
3169
|
* to the expected objects
|
|
1742
3170
|
*
|
|
1743
|
-
* @params response Response returned by the server for a request to
|
|
3171
|
+
* @params response Response returned by the server for a request to listCostTags
|
|
1744
3172
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1745
3173
|
*/
|
|
1746
|
-
|
|
3174
|
+
listCostTags(response) {
|
|
1747
3175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1748
3176
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1749
3177
|
if (response.httpStatusCode === 200) {
|
|
1750
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3178
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagsResponse");
|
|
1751
3179
|
return body;
|
|
1752
3180
|
}
|
|
1753
|
-
if (response.httpStatusCode ===
|
|
3181
|
+
if (response.httpStatusCode === 400 ||
|
|
3182
|
+
response.httpStatusCode === 403 ||
|
|
3183
|
+
response.httpStatusCode === 429) {
|
|
1754
3184
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1755
3185
|
let body;
|
|
1756
3186
|
try {
|
|
@@ -1764,7 +3194,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1764
3194
|
}
|
|
1765
3195
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1766
3196
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1767
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3197
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CostTagsResponse", "");
|
|
1768
3198
|
return body;
|
|
1769
3199
|
}
|
|
1770
3200
|
const body = (yield response.body.text()) || "";
|
|
@@ -1775,17 +3205,17 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1775
3205
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1776
3206
|
* to the expected objects
|
|
1777
3207
|
*
|
|
1778
|
-
* @params response Response returned by the server for a request to
|
|
3208
|
+
* @params response Response returned by the server for a request to listCustomAllocationRules
|
|
1779
3209
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1780
3210
|
*/
|
|
1781
|
-
|
|
3211
|
+
listCustomAllocationRules(response) {
|
|
1782
3212
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1783
3213
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1784
3214
|
if (response.httpStatusCode === 200) {
|
|
1785
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3215
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponseArray");
|
|
1786
3216
|
return body;
|
|
1787
3217
|
}
|
|
1788
|
-
if (response.httpStatusCode ===
|
|
3218
|
+
if (response.httpStatusCode === 429) {
|
|
1789
3219
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1790
3220
|
let body;
|
|
1791
3221
|
try {
|
|
@@ -1799,7 +3229,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1799
3229
|
}
|
|
1800
3230
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1801
3231
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1802
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3232
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleResponseArray", "");
|
|
1803
3233
|
return body;
|
|
1804
3234
|
}
|
|
1805
3235
|
const body = (yield response.body.text()) || "";
|
|
@@ -1810,17 +3240,17 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1810
3240
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1811
3241
|
* to the expected objects
|
|
1812
3242
|
*
|
|
1813
|
-
* @params response Response returned by the server for a request to
|
|
3243
|
+
* @params response Response returned by the server for a request to listCustomAllocationRulesStatus
|
|
1814
3244
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1815
3245
|
*/
|
|
1816
|
-
|
|
3246
|
+
listCustomAllocationRulesStatus(response) {
|
|
1817
3247
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1818
3248
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1819
3249
|
if (response.httpStatusCode === 200) {
|
|
1820
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3250
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleStatusResponseArray");
|
|
1821
3251
|
return body;
|
|
1822
3252
|
}
|
|
1823
|
-
if (response.httpStatusCode ===
|
|
3253
|
+
if (response.httpStatusCode === 429) {
|
|
1824
3254
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1825
3255
|
let body;
|
|
1826
3256
|
try {
|
|
@@ -1834,7 +3264,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1834
3264
|
}
|
|
1835
3265
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1836
3266
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1837
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3267
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ArbitraryRuleStatusResponseArray", "");
|
|
1838
3268
|
return body;
|
|
1839
3269
|
}
|
|
1840
3270
|
const body = (yield response.body.text()) || "";
|
|
@@ -1845,17 +3275,19 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1845
3275
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1846
3276
|
* to the expected objects
|
|
1847
3277
|
*
|
|
1848
|
-
* @params response Response returned by the server for a request to
|
|
3278
|
+
* @params response Response returned by the server for a request to listCustomCostsFiles
|
|
1849
3279
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1850
3280
|
*/
|
|
1851
|
-
|
|
3281
|
+
listCustomCostsFiles(response) {
|
|
1852
3282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1853
3283
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1854
3284
|
if (response.httpStatusCode === 200) {
|
|
1855
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3285
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileListResponse");
|
|
1856
3286
|
return body;
|
|
1857
3287
|
}
|
|
1858
|
-
if (response.httpStatusCode ===
|
|
3288
|
+
if (response.httpStatusCode === 400 ||
|
|
3289
|
+
response.httpStatusCode === 403 ||
|
|
3290
|
+
response.httpStatusCode === 429) {
|
|
1859
3291
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1860
3292
|
let body;
|
|
1861
3293
|
try {
|
|
@@ -1869,7 +3301,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1869
3301
|
}
|
|
1870
3302
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1871
3303
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1872
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3304
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileListResponse", "");
|
|
1873
3305
|
return body;
|
|
1874
3306
|
}
|
|
1875
3307
|
const body = (yield response.body.text()) || "";
|
|
@@ -1880,19 +3312,17 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1880
3312
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1881
3313
|
* to the expected objects
|
|
1882
3314
|
*
|
|
1883
|
-
* @params response Response returned by the server for a request to
|
|
3315
|
+
* @params response Response returned by the server for a request to listTagPipelinesRulesets
|
|
1884
3316
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1885
3317
|
*/
|
|
1886
|
-
|
|
3318
|
+
listTagPipelinesRulesets(response) {
|
|
1887
3319
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1888
3320
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1889
3321
|
if (response.httpStatusCode === 200) {
|
|
1890
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3322
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetRespArray");
|
|
1891
3323
|
return body;
|
|
1892
3324
|
}
|
|
1893
|
-
if (response.httpStatusCode ===
|
|
1894
|
-
response.httpStatusCode === 403 ||
|
|
1895
|
-
response.httpStatusCode === 429) {
|
|
3325
|
+
if (response.httpStatusCode === 429) {
|
|
1896
3326
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1897
3327
|
let body;
|
|
1898
3328
|
try {
|
|
@@ -1906,7 +3336,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1906
3336
|
}
|
|
1907
3337
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1908
3338
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1909
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3339
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetRespArray", "");
|
|
1910
3340
|
return body;
|
|
1911
3341
|
}
|
|
1912
3342
|
const body = (yield response.body.text()) || "";
|
|
@@ -1917,14 +3347,14 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1917
3347
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1918
3348
|
* to the expected objects
|
|
1919
3349
|
*
|
|
1920
|
-
* @params response Response returned by the server for a request to
|
|
3350
|
+
* @params response Response returned by the server for a request to listTagPipelinesRulesetsStatus
|
|
1921
3351
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1922
3352
|
*/
|
|
1923
|
-
|
|
3353
|
+
listTagPipelinesRulesetsStatus(response) {
|
|
1924
3354
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1925
3355
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1926
3356
|
if (response.httpStatusCode === 200) {
|
|
1927
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3357
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetStatusRespArray");
|
|
1928
3358
|
return body;
|
|
1929
3359
|
}
|
|
1930
3360
|
if (response.httpStatusCode === 429) {
|
|
@@ -1941,7 +3371,7 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
1941
3371
|
}
|
|
1942
3372
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1943
3373
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1944
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3374
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "RulesetStatusRespArray", "");
|
|
1945
3375
|
return body;
|
|
1946
3376
|
}
|
|
1947
3377
|
const body = (yield response.body.text()) || "";
|
|
@@ -2437,11 +3867,11 @@ class CloudCostManagementApi {
|
|
|
2437
3867
|
* - **PERCENT**: Allocates fixed percentages to specific tags. Requires: allocated_by (array of percentage allocations).
|
|
2438
3868
|
*
|
|
2439
3869
|
* **Filter Conditions:**
|
|
2440
|
-
* - Use **value** for single-value conditions: "is", "is not", "contains", "
|
|
3870
|
+
* - Use **value** for single-value conditions: "is", "is not", "contains", "=", "!=", "like", "not like"
|
|
2441
3871
|
* - Use **values** for multi-value conditions: "in", "not in"
|
|
2442
3872
|
* - Cannot use both value and values simultaneously.
|
|
2443
3873
|
*
|
|
2444
|
-
* **Supported operators**: is, is not,
|
|
3874
|
+
* **Supported operators**: is, is not, contains, in, not in, =, !=, like, not like
|
|
2445
3875
|
* @param param The request object
|
|
2446
3876
|
*/
|
|
2447
3877
|
createCustomAllocationRule(param, options) {
|
|
@@ -2580,6 +4010,132 @@ class CloudCostManagementApi {
|
|
|
2580
4010
|
});
|
|
2581
4011
|
});
|
|
2582
4012
|
}
|
|
4013
|
+
/**
|
|
4014
|
+
* Get a list of individual cloud commitments (Reserved Instances or Savings Plans) with their utilization details. The response schema varies based on the provider, product, and commitment type.
|
|
4015
|
+
* @param param The request object
|
|
4016
|
+
*/
|
|
4017
|
+
getCommitmentsCommitmentList(param, options) {
|
|
4018
|
+
const requestContextPromise = this.requestFactory.getCommitmentsCommitmentList(param.provider, param.product, param.start, param.end, param.filterBy, param.commitmentType, options);
|
|
4019
|
+
return requestContextPromise.then((requestContext) => {
|
|
4020
|
+
return this.configuration.httpApi
|
|
4021
|
+
.send(requestContext)
|
|
4022
|
+
.then((responseContext) => {
|
|
4023
|
+
return this.responseProcessor.getCommitmentsCommitmentList(responseContext);
|
|
4024
|
+
});
|
|
4025
|
+
});
|
|
4026
|
+
}
|
|
4027
|
+
/**
|
|
4028
|
+
* Get scalar coverage metrics for cloud commitment programs, including hours and cost coverage percentages.
|
|
4029
|
+
* @param param The request object
|
|
4030
|
+
*/
|
|
4031
|
+
getCommitmentsCoverageScalar(param, options) {
|
|
4032
|
+
const requestContextPromise = this.requestFactory.getCommitmentsCoverageScalar(param.provider, param.product, param.start, param.end, param.filterBy, options);
|
|
4033
|
+
return requestContextPromise.then((requestContext) => {
|
|
4034
|
+
return this.configuration.httpApi
|
|
4035
|
+
.send(requestContext)
|
|
4036
|
+
.then((responseContext) => {
|
|
4037
|
+
return this.responseProcessor.getCommitmentsCoverageScalar(responseContext);
|
|
4038
|
+
});
|
|
4039
|
+
});
|
|
4040
|
+
}
|
|
4041
|
+
/**
|
|
4042
|
+
* Get timeseries coverage metrics for cloud commitment programs, broken down by coverage type (Reserved Instances, Savings Plans, On-Demand, and Spot) for both hours and cost.
|
|
4043
|
+
* @param param The request object
|
|
4044
|
+
*/
|
|
4045
|
+
getCommitmentsCoverageTimeseries(param, options) {
|
|
4046
|
+
const requestContextPromise = this.requestFactory.getCommitmentsCoverageTimeseries(param.provider, param.product, param.start, param.end, param.filterBy, options);
|
|
4047
|
+
return requestContextPromise.then((requestContext) => {
|
|
4048
|
+
return this.configuration.httpApi
|
|
4049
|
+
.send(requestContext)
|
|
4050
|
+
.then((responseContext) => {
|
|
4051
|
+
return this.responseProcessor.getCommitmentsCoverageTimeseries(responseContext);
|
|
4052
|
+
});
|
|
4053
|
+
});
|
|
4054
|
+
}
|
|
4055
|
+
/**
|
|
4056
|
+
* Get scalar on-demand hot-spots data for cloud commitment programs, showing per-dimension breakdowns of on-demand spending with coverage metrics and potential savings.
|
|
4057
|
+
* @param param The request object
|
|
4058
|
+
*/
|
|
4059
|
+
getCommitmentsOnDemandHotspotsScalar(param, options) {
|
|
4060
|
+
const requestContextPromise = this.requestFactory.getCommitmentsOnDemandHotspotsScalar(param.provider, param.product, param.start, param.end, param.filterBy, options);
|
|
4061
|
+
return requestContextPromise.then((requestContext) => {
|
|
4062
|
+
return this.configuration.httpApi
|
|
4063
|
+
.send(requestContext)
|
|
4064
|
+
.then((responseContext) => {
|
|
4065
|
+
return this.responseProcessor.getCommitmentsOnDemandHotspotsScalar(responseContext);
|
|
4066
|
+
});
|
|
4067
|
+
});
|
|
4068
|
+
}
|
|
4069
|
+
/**
|
|
4070
|
+
* Get scalar savings metrics for cloud commitment programs, including realized savings and effective savings rate.
|
|
4071
|
+
* @param param The request object
|
|
4072
|
+
*/
|
|
4073
|
+
getCommitmentsSavingsScalar(param, options) {
|
|
4074
|
+
const requestContextPromise = this.requestFactory.getCommitmentsSavingsScalar(param.provider, param.product, param.start, param.end, param.filterBy, options);
|
|
4075
|
+
return requestContextPromise.then((requestContext) => {
|
|
4076
|
+
return this.configuration.httpApi
|
|
4077
|
+
.send(requestContext)
|
|
4078
|
+
.then((responseContext) => {
|
|
4079
|
+
return this.responseProcessor.getCommitmentsSavingsScalar(responseContext);
|
|
4080
|
+
});
|
|
4081
|
+
});
|
|
4082
|
+
}
|
|
4083
|
+
/**
|
|
4084
|
+
* Get timeseries savings metrics for cloud commitment programs, including actual cost, on-demand equivalent cost, realized savings, and effective savings rate over time.
|
|
4085
|
+
* @param param The request object
|
|
4086
|
+
*/
|
|
4087
|
+
getCommitmentsSavingsTimeseries(param, options) {
|
|
4088
|
+
const requestContextPromise = this.requestFactory.getCommitmentsSavingsTimeseries(param.provider, param.product, param.start, param.end, param.filterBy, options);
|
|
4089
|
+
return requestContextPromise.then((requestContext) => {
|
|
4090
|
+
return this.configuration.httpApi
|
|
4091
|
+
.send(requestContext)
|
|
4092
|
+
.then((responseContext) => {
|
|
4093
|
+
return this.responseProcessor.getCommitmentsSavingsTimeseries(responseContext);
|
|
4094
|
+
});
|
|
4095
|
+
});
|
|
4096
|
+
}
|
|
4097
|
+
/**
|
|
4098
|
+
* Get scalar utilization metrics for cloud commitment programs, including utilization percentage and unused cost.
|
|
4099
|
+
* @param param The request object
|
|
4100
|
+
*/
|
|
4101
|
+
getCommitmentsUtilizationScalar(param, options) {
|
|
4102
|
+
const requestContextPromise = this.requestFactory.getCommitmentsUtilizationScalar(param.provider, param.product, param.start, param.end, param.filterBy, param.commitmentType, options);
|
|
4103
|
+
return requestContextPromise.then((requestContext) => {
|
|
4104
|
+
return this.configuration.httpApi
|
|
4105
|
+
.send(requestContext)
|
|
4106
|
+
.then((responseContext) => {
|
|
4107
|
+
return this.responseProcessor.getCommitmentsUtilizationScalar(responseContext);
|
|
4108
|
+
});
|
|
4109
|
+
});
|
|
4110
|
+
}
|
|
4111
|
+
/**
|
|
4112
|
+
* Get timeseries utilization metrics for cloud commitment programs, including used and unused cost series over time.
|
|
4113
|
+
* @param param The request object
|
|
4114
|
+
*/
|
|
4115
|
+
getCommitmentsUtilizationTimeseries(param, options) {
|
|
4116
|
+
const requestContextPromise = this.requestFactory.getCommitmentsUtilizationTimeseries(param.provider, param.product, param.start, param.end, param.filterBy, param.commitmentType, options);
|
|
4117
|
+
return requestContextPromise.then((requestContext) => {
|
|
4118
|
+
return this.configuration.httpApi
|
|
4119
|
+
.send(requestContext)
|
|
4120
|
+
.then((responseContext) => {
|
|
4121
|
+
return this.responseProcessor.getCommitmentsUtilizationTimeseries(responseContext);
|
|
4122
|
+
});
|
|
4123
|
+
});
|
|
4124
|
+
}
|
|
4125
|
+
/**
|
|
4126
|
+
* Get a detected Cloud Cost Management anomaly by UUID.
|
|
4127
|
+
* @param param The request object
|
|
4128
|
+
*/
|
|
4129
|
+
getCostAnomaly(param, options) {
|
|
4130
|
+
const requestContextPromise = this.requestFactory.getCostAnomaly(param.anomalyId, options);
|
|
4131
|
+
return requestContextPromise.then((requestContext) => {
|
|
4132
|
+
return this.configuration.httpApi
|
|
4133
|
+
.send(requestContext)
|
|
4134
|
+
.then((responseContext) => {
|
|
4135
|
+
return this.responseProcessor.getCostAnomaly(responseContext);
|
|
4136
|
+
});
|
|
4137
|
+
});
|
|
4138
|
+
}
|
|
2583
4139
|
/**
|
|
2584
4140
|
* Get a specific AWS CUR config.
|
|
2585
4141
|
* @param param The request object
|
|
@@ -2622,6 +4178,20 @@ class CloudCostManagementApi {
|
|
|
2622
4178
|
});
|
|
2623
4179
|
});
|
|
2624
4180
|
}
|
|
4181
|
+
/**
|
|
4182
|
+
* Get details for a specific Cloud Cost Management tag key, including example tag values and description.
|
|
4183
|
+
* @param param The request object
|
|
4184
|
+
*/
|
|
4185
|
+
getCostTagKey(param, options) {
|
|
4186
|
+
const requestContextPromise = this.requestFactory.getCostTagKey(param.tagKey, param.filterMetric, param.pageSize, options);
|
|
4187
|
+
return requestContextPromise.then((requestContext) => {
|
|
4188
|
+
return this.configuration.httpApi
|
|
4189
|
+
.send(requestContext)
|
|
4190
|
+
.then((responseContext) => {
|
|
4191
|
+
return this.responseProcessor.getCostTagKey(responseContext);
|
|
4192
|
+
});
|
|
4193
|
+
});
|
|
4194
|
+
}
|
|
2625
4195
|
/**
|
|
2626
4196
|
* Get a specific custom allocation rule - Retrieve a specific custom allocation rule by its ID
|
|
2627
4197
|
* @param param The request object
|
|
@@ -2678,6 +4248,20 @@ class CloudCostManagementApi {
|
|
|
2678
4248
|
});
|
|
2679
4249
|
});
|
|
2680
4250
|
}
|
|
4251
|
+
/**
|
|
4252
|
+
* List detected Cloud Cost Management anomalies for the organization.
|
|
4253
|
+
* @param param The request object
|
|
4254
|
+
*/
|
|
4255
|
+
listCostAnomalies(param = {}, options) {
|
|
4256
|
+
const requestContextPromise = this.requestFactory.listCostAnomalies(param.start, param.end, param.filter, param.minAnomalousThreshold, param.minCostThreshold, param.dismissalCause, param.orderBy, param.order, param.limit, param.offset, param.providerIds, options);
|
|
4257
|
+
return requestContextPromise.then((requestContext) => {
|
|
4258
|
+
return this.configuration.httpApi
|
|
4259
|
+
.send(requestContext)
|
|
4260
|
+
.then((responseContext) => {
|
|
4261
|
+
return this.responseProcessor.listCostAnomalies(responseContext);
|
|
4262
|
+
});
|
|
4263
|
+
});
|
|
4264
|
+
}
|
|
2681
4265
|
/**
|
|
2682
4266
|
* List the AWS CUR configs.
|
|
2683
4267
|
* @param param The request object
|
|
@@ -2720,6 +4304,62 @@ class CloudCostManagementApi {
|
|
|
2720
4304
|
});
|
|
2721
4305
|
});
|
|
2722
4306
|
}
|
|
4307
|
+
/**
|
|
4308
|
+
* List the OCI configs.
|
|
4309
|
+
* @param param The request object
|
|
4310
|
+
*/
|
|
4311
|
+
listCostOCIConfigs(options) {
|
|
4312
|
+
const requestContextPromise = this.requestFactory.listCostOCIConfigs(options);
|
|
4313
|
+
return requestContextPromise.then((requestContext) => {
|
|
4314
|
+
return this.configuration.httpApi
|
|
4315
|
+
.send(requestContext)
|
|
4316
|
+
.then((responseContext) => {
|
|
4317
|
+
return this.responseProcessor.listCostOCIConfigs(responseContext);
|
|
4318
|
+
});
|
|
4319
|
+
});
|
|
4320
|
+
}
|
|
4321
|
+
/**
|
|
4322
|
+
* List Cloud Cost Management tag key descriptions for the organization. Use `filter[cloud]` to scope the result to a single cloud provider; when omitted, both cross-cloud defaults and cloud-specific descriptions are returned.
|
|
4323
|
+
* @param param The request object
|
|
4324
|
+
*/
|
|
4325
|
+
listCostTagDescriptions(param = {}, options) {
|
|
4326
|
+
const requestContextPromise = this.requestFactory.listCostTagDescriptions(param.filterCloud, options);
|
|
4327
|
+
return requestContextPromise.then((requestContext) => {
|
|
4328
|
+
return this.configuration.httpApi
|
|
4329
|
+
.send(requestContext)
|
|
4330
|
+
.then((responseContext) => {
|
|
4331
|
+
return this.responseProcessor.listCostTagDescriptions(responseContext);
|
|
4332
|
+
});
|
|
4333
|
+
});
|
|
4334
|
+
}
|
|
4335
|
+
/**
|
|
4336
|
+
* List Cloud Cost Management tag keys.
|
|
4337
|
+
* @param param The request object
|
|
4338
|
+
*/
|
|
4339
|
+
listCostTagKeys(param = {}, options) {
|
|
4340
|
+
const requestContextPromise = this.requestFactory.listCostTagKeys(param.filterMetric, param.filterTags, options);
|
|
4341
|
+
return requestContextPromise.then((requestContext) => {
|
|
4342
|
+
return this.configuration.httpApi
|
|
4343
|
+
.send(requestContext)
|
|
4344
|
+
.then((responseContext) => {
|
|
4345
|
+
return this.responseProcessor.listCostTagKeys(responseContext);
|
|
4346
|
+
});
|
|
4347
|
+
});
|
|
4348
|
+
}
|
|
4349
|
+
/**
|
|
4350
|
+
* List Cloud Cost Management tags for a given metric.
|
|
4351
|
+
* @param param The request object
|
|
4352
|
+
*/
|
|
4353
|
+
listCostTags(param = {}, options) {
|
|
4354
|
+
const requestContextPromise = this.requestFactory.listCostTags(param.filterMetric, param.filterMatch, param.filterTags, param.filterTagKeys, param.pageSize, options);
|
|
4355
|
+
return requestContextPromise.then((requestContext) => {
|
|
4356
|
+
return this.configuration.httpApi
|
|
4357
|
+
.send(requestContext)
|
|
4358
|
+
.then((responseContext) => {
|
|
4359
|
+
return this.responseProcessor.listCostTags(responseContext);
|
|
4360
|
+
});
|
|
4361
|
+
});
|
|
4362
|
+
}
|
|
2723
4363
|
/**
|
|
2724
4364
|
* List all custom allocation rules - Retrieve a list of all custom allocation rules for the organization
|
|
2725
4365
|
* @param param The request object
|
|
@@ -2734,12 +4374,26 @@ class CloudCostManagementApi {
|
|
|
2734
4374
|
});
|
|
2735
4375
|
});
|
|
2736
4376
|
}
|
|
4377
|
+
/**
|
|
4378
|
+
* List the processing status of all custom allocation rules. Returns only the ID and processing status for each rule.
|
|
4379
|
+
* @param param The request object
|
|
4380
|
+
*/
|
|
4381
|
+
listCustomAllocationRulesStatus(options) {
|
|
4382
|
+
const requestContextPromise = this.requestFactory.listCustomAllocationRulesStatus(options);
|
|
4383
|
+
return requestContextPromise.then((requestContext) => {
|
|
4384
|
+
return this.configuration.httpApi
|
|
4385
|
+
.send(requestContext)
|
|
4386
|
+
.then((responseContext) => {
|
|
4387
|
+
return this.responseProcessor.listCustomAllocationRulesStatus(responseContext);
|
|
4388
|
+
});
|
|
4389
|
+
});
|
|
4390
|
+
}
|
|
2737
4391
|
/**
|
|
2738
4392
|
* List the Custom Costs files.
|
|
2739
4393
|
* @param param The request object
|
|
2740
4394
|
*/
|
|
2741
4395
|
listCustomCostsFiles(param = {}, options) {
|
|
2742
|
-
const requestContextPromise = this.requestFactory.listCustomCostsFiles(param.pageNumber, param.pageSize, param.filterStatus, param.sort, options);
|
|
4396
|
+
const requestContextPromise = this.requestFactory.listCustomCostsFiles(param.pageNumber, param.pageSize, param.filterStatus, param.filterName, param.filterProvider, param.sort, options);
|
|
2743
4397
|
return requestContextPromise.then((requestContext) => {
|
|
2744
4398
|
return this.configuration.httpApi
|
|
2745
4399
|
.send(requestContext)
|
|
@@ -2762,6 +4416,20 @@ class CloudCostManagementApi {
|
|
|
2762
4416
|
});
|
|
2763
4417
|
});
|
|
2764
4418
|
}
|
|
4419
|
+
/**
|
|
4420
|
+
* List the processing status of all tag pipeline rulesets. Returns only the ID and processing status for each ruleset.
|
|
4421
|
+
* @param param The request object
|
|
4422
|
+
*/
|
|
4423
|
+
listTagPipelinesRulesetsStatus(options) {
|
|
4424
|
+
const requestContextPromise = this.requestFactory.listTagPipelinesRulesetsStatus(options);
|
|
4425
|
+
return requestContextPromise.then((requestContext) => {
|
|
4426
|
+
return this.configuration.httpApi
|
|
4427
|
+
.send(requestContext)
|
|
4428
|
+
.then((responseContext) => {
|
|
4429
|
+
return this.responseProcessor.listTagPipelinesRulesetsStatus(responseContext);
|
|
4430
|
+
});
|
|
4431
|
+
});
|
|
4432
|
+
}
|
|
2765
4433
|
/**
|
|
2766
4434
|
* Reorder custom allocation rules - Change the execution order of custom allocation rules.
|
|
2767
4435
|
*
|
|
@@ -2848,11 +4516,11 @@ class CloudCostManagementApi {
|
|
|
2848
4516
|
* - **USAGE_METRIC**: Allocates based on usage metrics (implementation varies).
|
|
2849
4517
|
*
|
|
2850
4518
|
* **Filter Conditions:**
|
|
2851
|
-
* - Use **value** for single-value conditions: "is", "is not", "contains", "
|
|
4519
|
+
* - Use **value** for single-value conditions: "is", "is not", "contains", "=", "!=", "like", "not like"
|
|
2852
4520
|
* - Use **values** for multi-value conditions: "in", "not in"
|
|
2853
4521
|
* - Cannot use both value and values simultaneously.
|
|
2854
4522
|
*
|
|
2855
|
-
* **Supported operators**: is, is not,
|
|
4523
|
+
* **Supported operators**: is, is not, contains, in, not in, =, !=, like, not like
|
|
2856
4524
|
* @param param The request object
|
|
2857
4525
|
*/
|
|
2858
4526
|
updateCustomAllocationRule(param, options) {
|