models

package
v0.0.51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2025 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (

	// AttachedBusinessMetricForCostReportUnitScalePerUnit captures enum value "per_unit"
	AttachedBusinessMetricForCostReportUnitScalePerUnit string = "per_unit"

	// AttachedBusinessMetricForCostReportUnitScalePerHundred captures enum value "per_hundred"
	AttachedBusinessMetricForCostReportUnitScalePerHundred string = "per_hundred"

	// AttachedBusinessMetricForCostReportUnitScalePerThousand captures enum value "per_thousand"
	AttachedBusinessMetricForCostReportUnitScalePerThousand string = "per_thousand"

	// AttachedBusinessMetricForCostReportUnitScalePerMillion captures enum value "per_million"
	AttachedBusinessMetricForCostReportUnitScalePerMillion string = "per_million"

	// AttachedBusinessMetricForCostReportUnitScalePerBillion captures enum value "per_billion"
	AttachedBusinessMetricForCostReportUnitScalePerBillion string = "per_billion"
)
View Source
const (

	// AttachedCostReportForBusinessMetricUnitScalePerUnit captures enum value "per_unit"
	AttachedCostReportForBusinessMetricUnitScalePerUnit string = "per_unit"

	// AttachedCostReportForBusinessMetricUnitScalePerHundred captures enum value "per_hundred"
	AttachedCostReportForBusinessMetricUnitScalePerHundred string = "per_hundred"

	// AttachedCostReportForBusinessMetricUnitScalePerThousand captures enum value "per_thousand"
	AttachedCostReportForBusinessMetricUnitScalePerThousand string = "per_thousand"

	// AttachedCostReportForBusinessMetricUnitScalePerMillion captures enum value "per_million"
	AttachedCostReportForBusinessMetricUnitScalePerMillion string = "per_million"

	// AttachedCostReportForBusinessMetricUnitScalePerBillion captures enum value "per_billion"
	AttachedCostReportForBusinessMetricUnitScalePerBillion string = "per_billion"
)
View Source
const (

	// CostProviderAws captures enum value "aws"
	CostProviderAws string = "aws"

	// CostProviderAzure captures enum value "azure"
	CostProviderAzure string = "azure"

	// CostProviderGcp captures enum value "gcp"
	CostProviderGcp string = "gcp"

	// CostProviderSnowflake captures enum value "snowflake"
	CostProviderSnowflake string = "snowflake"

	// CostProviderDatabricks captures enum value "databricks"
	CostProviderDatabricks string = "databricks"

	// CostProviderMongo captures enum value "mongo"
	CostProviderMongo string = "mongo"

	// CostProviderDatadog captures enum value "datadog"
	CostProviderDatadog string = "datadog"

	// CostProviderFastly captures enum value "fastly"
	CostProviderFastly string = "fastly"

	// CostProviderNewRelic captures enum value "new_relic"
	CostProviderNewRelic string = "new_relic"

	// CostProviderOpencost captures enum value "opencost"
	CostProviderOpencost string = "opencost"

	// CostProviderOpenAi captures enum value "open_ai"
	CostProviderOpenAi string = "open_ai"

	// CostProviderOracle captures enum value "oracle"
	CostProviderOracle string = "oracle"

	// CostProviderConfluent captures enum value "confluent"
	CostProviderConfluent string = "confluent"

	// CostProviderPlanetscale captures enum value "planetscale"
	CostProviderPlanetscale string = "planetscale"

	// CostProviderCoralogix captures enum value "coralogix"
	CostProviderCoralogix string = "coralogix"

	// CostProviderKubernetes captures enum value "kubernetes"
	CostProviderKubernetes string = "kubernetes"

	// CostProviderCustomProvider captures enum value "custom_provider"
	CostProviderCustomProvider string = "custom_provider"

	// CostProviderGithub captures enum value "github"
	CostProviderGithub string = "github"

	// CostProviderLinode captures enum value "linode"
	CostProviderLinode string = "linode"

	// CostProviderGrafana captures enum value "grafana"
	CostProviderGrafana string = "grafana"

	// CostProviderClickhouse captures enum value "clickhouse"
	CostProviderClickhouse string = "clickhouse"

	// CostProviderTemporal captures enum value "temporal"
	CostProviderTemporal string = "temporal"
)
View Source
const (

	// CreateAccessGrantAccessDenied captures enum value "denied"
	CreateAccessGrantAccessDenied string = "denied"

	// CreateAccessGrantAccessAllowed captures enum value "allowed"
	CreateAccessGrantAccessAllowed string = "allowed"
)
View Source
const (

	// CreateBillingRuleTypeExclusion captures enum value "exclusion"
	CreateBillingRuleTypeExclusion string = "exclusion"

	// CreateBillingRuleTypeAdjustment captures enum value "adjustment"
	CreateBillingRuleTypeAdjustment string = "adjustment"

	// CreateBillingRuleTypeCredit captures enum value "credit"
	CreateBillingRuleTypeCredit string = "credit"

	// CreateBillingRuleTypeCharge captures enum value "charge"
	CreateBillingRuleTypeCharge string = "charge"
)
View Source
const (

	// CreateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerUnit captures enum value "per_unit"
	CreateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerUnit string = "per_unit"

	// CreateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerHundred captures enum value "per_hundred"
	CreateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerHundred string = "per_hundred"

	// CreateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerThousand captures enum value "per_thousand"
	CreateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerThousand string = "per_thousand"

	// CreateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerMillion captures enum value "per_million"
	CreateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerMillion string = "per_million"

	// CreateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerBillion captures enum value "per_billion"
	CreateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerBillion string = "per_billion"
)
View Source
const (

	// CreateCostReportChartTypeArea captures enum value "area"
	CreateCostReportChartTypeArea string = "area"

	// CreateCostReportChartTypeLine captures enum value "line"
	CreateCostReportChartTypeLine string = "line"

	// CreateCostReportChartTypePie captures enum value "pie"
	CreateCostReportChartTypePie string = "pie"

	// CreateCostReportChartTypeBar captures enum value "bar"
	CreateCostReportChartTypeBar string = "bar"
)
View Source
const (

	// CreateCostReportDateBinCumulative captures enum value "cumulative"
	CreateCostReportDateBinCumulative string = "cumulative"

	// CreateCostReportDateBinDay captures enum value "day"
	CreateCostReportDateBinDay string = "day"

	// CreateCostReportDateBinWeek captures enum value "week"
	CreateCostReportDateBinWeek string = "week"

	// CreateCostReportDateBinMonth captures enum value "month"
	CreateCostReportDateBinMonth string = "month"
)
View Source
const (

	// CreateCostReportDateIntervalThisMonth captures enum value "this_month"
	CreateCostReportDateIntervalThisMonth string = "this_month"

	// CreateCostReportDateIntervalLast7Days captures enum value "last_7_days"
	CreateCostReportDateIntervalLast7Days string = "last_7_days"

	// CreateCostReportDateIntervalLast30Days captures enum value "last_30_days"
	CreateCostReportDateIntervalLast30Days string = "last_30_days"

	// CreateCostReportDateIntervalLastMonth captures enum value "last_month"
	CreateCostReportDateIntervalLastMonth string = "last_month"

	// CreateCostReportDateIntervalLast3Months captures enum value "last_3_months"
	CreateCostReportDateIntervalLast3Months string = "last_3_months"

	// CreateCostReportDateIntervalLast6Months captures enum value "last_6_months"
	CreateCostReportDateIntervalLast6Months string = "last_6_months"

	// CreateCostReportDateIntervalCustom captures enum value "custom"
	CreateCostReportDateIntervalCustom string = "custom"

	// CreateCostReportDateIntervalLast12Months captures enum value "last_12_months"
	CreateCostReportDateIntervalLast12Months string = "last_12_months"

	// CreateCostReportDateIntervalLast24Months captures enum value "last_24_months"
	CreateCostReportDateIntervalLast24Months string = "last_24_months"

	// CreateCostReportDateIntervalLast36Months captures enum value "last_36_months"
	CreateCostReportDateIntervalLast36Months string = "last_36_months"

	// CreateCostReportDateIntervalNextMonth captures enum value "next_month"
	CreateCostReportDateIntervalNextMonth string = "next_month"

	// CreateCostReportDateIntervalNext3Months captures enum value "next_3_months"
	CreateCostReportDateIntervalNext3Months string = "next_3_months"

	// CreateCostReportDateIntervalNext6Months captures enum value "next_6_months"
	CreateCostReportDateIntervalNext6Months string = "next_6_months"

	// CreateCostReportDateIntervalNext12Months captures enum value "next_12_months"
	CreateCostReportDateIntervalNext12Months string = "next_12_months"

	// CreateCostReportDateIntervalYearToDate captures enum value "year_to_date"
	CreateCostReportDateIntervalYearToDate string = "year_to_date"

	// CreateCostReportDateIntervalLast3Days captures enum value "last_3_days"
	CreateCostReportDateIntervalLast3Days string = "last_3_days"
)
View Source
const (

	// CreateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerUnit captures enum value "per_unit"
	CreateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerUnit string = "per_unit"

	// CreateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerHundred captures enum value "per_hundred"
	CreateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerHundred string = "per_hundred"

	// CreateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerThousand captures enum value "per_thousand"
	CreateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerThousand string = "per_thousand"

	// CreateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerMillion captures enum value "per_million"
	CreateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerMillion string = "per_million"

	// CreateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerBillion captures enum value "per_billion"
	CreateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerBillion string = "per_billion"
)
View Source
const (

	// CreateDashboardDateBinCumulative captures enum value "cumulative"
	CreateDashboardDateBinCumulative string = "cumulative"

	// CreateDashboardDateBinDay captures enum value "day"
	CreateDashboardDateBinDay string = "day"

	// CreateDashboardDateBinWeek captures enum value "week"
	CreateDashboardDateBinWeek string = "week"

	// CreateDashboardDateBinMonth captures enum value "month"
	CreateDashboardDateBinMonth string = "month"
)
View Source
const (

	// CreateDashboardDateIntervalThisMonth captures enum value "this_month"
	CreateDashboardDateIntervalThisMonth string = "this_month"

	// CreateDashboardDateIntervalLast7Days captures enum value "last_7_days"
	CreateDashboardDateIntervalLast7Days string = "last_7_days"

	// CreateDashboardDateIntervalLast30Days captures enum value "last_30_days"
	CreateDashboardDateIntervalLast30Days string = "last_30_days"

	// CreateDashboardDateIntervalLastMonth captures enum value "last_month"
	CreateDashboardDateIntervalLastMonth string = "last_month"

	// CreateDashboardDateIntervalLast3Months captures enum value "last_3_months"
	CreateDashboardDateIntervalLast3Months string = "last_3_months"

	// CreateDashboardDateIntervalLast6Months captures enum value "last_6_months"
	CreateDashboardDateIntervalLast6Months string = "last_6_months"

	// CreateDashboardDateIntervalCustom captures enum value "custom"
	CreateDashboardDateIntervalCustom string = "custom"

	// CreateDashboardDateIntervalLast12Months captures enum value "last_12_months"
	CreateDashboardDateIntervalLast12Months string = "last_12_months"

	// CreateDashboardDateIntervalLast24Months captures enum value "last_24_months"
	CreateDashboardDateIntervalLast24Months string = "last_24_months"

	// CreateDashboardDateIntervalLast36Months captures enum value "last_36_months"
	CreateDashboardDateIntervalLast36Months string = "last_36_months"

	// CreateDashboardDateIntervalNextMonth captures enum value "next_month"
	CreateDashboardDateIntervalNextMonth string = "next_month"

	// CreateDashboardDateIntervalNext3Months captures enum value "next_3_months"
	CreateDashboardDateIntervalNext3Months string = "next_3_months"

	// CreateDashboardDateIntervalNext6Months captures enum value "next_6_months"
	CreateDashboardDateIntervalNext6Months string = "next_6_months"

	// CreateDashboardDateIntervalNext12Months captures enum value "next_12_months"
	CreateDashboardDateIntervalNext12Months string = "next_12_months"

	// CreateDashboardDateIntervalYearToDate captures enum value "year_to_date"
	CreateDashboardDateIntervalYearToDate string = "year_to_date"

	// CreateDashboardDateIntervalLast3Days captures enum value "last_3_days"
	CreateDashboardDateIntervalLast3Days string = "last_3_days"
)
View Source
const (

	// CreateDashboardWidgetsItems0SettingsDisplayTypeTable captures enum value "table"
	CreateDashboardWidgetsItems0SettingsDisplayTypeTable string = "table"

	// CreateDashboardWidgetsItems0SettingsDisplayTypeChart captures enum value "chart"
	CreateDashboardWidgetsItems0SettingsDisplayTypeChart string = "chart"
)
View Source
const (

	// CreateFinancialCommitmentReportDateBucketDay captures enum value "day"
	CreateFinancialCommitmentReportDateBucketDay string = "day"

	// CreateFinancialCommitmentReportDateBucketWeek captures enum value "week"
	CreateFinancialCommitmentReportDateBucketWeek string = "week"

	// CreateFinancialCommitmentReportDateBucketMonth captures enum value "month"
	CreateFinancialCommitmentReportDateBucketMonth string = "month"
)
View Source
const (

	// CreateFinancialCommitmentReportDateIntervalThisMonth captures enum value "this_month"
	CreateFinancialCommitmentReportDateIntervalThisMonth string = "this_month"

	// CreateFinancialCommitmentReportDateIntervalLast7Days captures enum value "last_7_days"
	CreateFinancialCommitmentReportDateIntervalLast7Days string = "last_7_days"

	// CreateFinancialCommitmentReportDateIntervalLast30Days captures enum value "last_30_days"
	CreateFinancialCommitmentReportDateIntervalLast30Days string = "last_30_days"

	// CreateFinancialCommitmentReportDateIntervalLastMonth captures enum value "last_month"
	CreateFinancialCommitmentReportDateIntervalLastMonth string = "last_month"

	// CreateFinancialCommitmentReportDateIntervalLast3Months captures enum value "last_3_months"
	CreateFinancialCommitmentReportDateIntervalLast3Months string = "last_3_months"

	// CreateFinancialCommitmentReportDateIntervalLast6Months captures enum value "last_6_months"
	CreateFinancialCommitmentReportDateIntervalLast6Months string = "last_6_months"

	// CreateFinancialCommitmentReportDateIntervalCustom captures enum value "custom"
	CreateFinancialCommitmentReportDateIntervalCustom string = "custom"

	// CreateFinancialCommitmentReportDateIntervalLast12Months captures enum value "last_12_months"
	CreateFinancialCommitmentReportDateIntervalLast12Months string = "last_12_months"

	// CreateFinancialCommitmentReportDateIntervalLast24Months captures enum value "last_24_months"
	CreateFinancialCommitmentReportDateIntervalLast24Months string = "last_24_months"

	// CreateFinancialCommitmentReportDateIntervalLast36Months captures enum value "last_36_months"
	CreateFinancialCommitmentReportDateIntervalLast36Months string = "last_36_months"

	// CreateFinancialCommitmentReportDateIntervalYearToDate captures enum value "year_to_date"
	CreateFinancialCommitmentReportDateIntervalYearToDate string = "year_to_date"

	// CreateFinancialCommitmentReportDateIntervalLast3Days captures enum value "last_3_days"
	CreateFinancialCommitmentReportDateIntervalLast3Days string = "last_3_days"
)
View Source
const (

	// CreateFinancialCommitmentReportOnDemandCostsScopeDiscountable captures enum value "discountable"
	CreateFinancialCommitmentReportOnDemandCostsScopeDiscountable string = "discountable"

	// CreateFinancialCommitmentReportOnDemandCostsScopeAll captures enum value "all"
	CreateFinancialCommitmentReportOnDemandCostsScopeAll string = "all"
)
View Source
const (

	// CreateKubernetesEfficiencyReportAggregatedByIdleCost captures enum value "idle_cost"
	CreateKubernetesEfficiencyReportAggregatedByIdleCost string = "idle_cost"

	// CreateKubernetesEfficiencyReportAggregatedByAmount captures enum value "amount"
	CreateKubernetesEfficiencyReportAggregatedByAmount string = "amount"

	// CreateKubernetesEfficiencyReportAggregatedByCostEfficiency captures enum value "cost_efficiency"
	CreateKubernetesEfficiencyReportAggregatedByCostEfficiency string = "cost_efficiency"
)
View Source
const (

	// CreateKubernetesEfficiencyReportDateBucketDay captures enum value "day"
	CreateKubernetesEfficiencyReportDateBucketDay string = "day"

	// CreateKubernetesEfficiencyReportDateBucketWeek captures enum value "week"
	CreateKubernetesEfficiencyReportDateBucketWeek string = "week"

	// CreateKubernetesEfficiencyReportDateBucketMonth captures enum value "month"
	CreateKubernetesEfficiencyReportDateBucketMonth string = "month"
)
View Source
const (

	// CreateKubernetesEfficiencyReportDateIntervalThisMonth captures enum value "this_month"
	CreateKubernetesEfficiencyReportDateIntervalThisMonth string = "this_month"

	// CreateKubernetesEfficiencyReportDateIntervalLast7Days captures enum value "last_7_days"
	CreateKubernetesEfficiencyReportDateIntervalLast7Days string = "last_7_days"

	// CreateKubernetesEfficiencyReportDateIntervalLast30Days captures enum value "last_30_days"
	CreateKubernetesEfficiencyReportDateIntervalLast30Days string = "last_30_days"

	// CreateKubernetesEfficiencyReportDateIntervalLastMonth captures enum value "last_month"
	CreateKubernetesEfficiencyReportDateIntervalLastMonth string = "last_month"

	// CreateKubernetesEfficiencyReportDateIntervalLast3Months captures enum value "last_3_months"
	CreateKubernetesEfficiencyReportDateIntervalLast3Months string = "last_3_months"

	// CreateKubernetesEfficiencyReportDateIntervalLast6Months captures enum value "last_6_months"
	CreateKubernetesEfficiencyReportDateIntervalLast6Months string = "last_6_months"

	// CreateKubernetesEfficiencyReportDateIntervalCustom captures enum value "custom"
	CreateKubernetesEfficiencyReportDateIntervalCustom string = "custom"

	// CreateKubernetesEfficiencyReportDateIntervalLast12Months captures enum value "last_12_months"
	CreateKubernetesEfficiencyReportDateIntervalLast12Months string = "last_12_months"

	// CreateKubernetesEfficiencyReportDateIntervalLast24Months captures enum value "last_24_months"
	CreateKubernetesEfficiencyReportDateIntervalLast24Months string = "last_24_months"

	// CreateKubernetesEfficiencyReportDateIntervalLast36Months captures enum value "last_36_months"
	CreateKubernetesEfficiencyReportDateIntervalLast36Months string = "last_36_months"

	// CreateKubernetesEfficiencyReportDateIntervalNextMonth captures enum value "next_month"
	CreateKubernetesEfficiencyReportDateIntervalNextMonth string = "next_month"

	// CreateKubernetesEfficiencyReportDateIntervalNext3Months captures enum value "next_3_months"
	CreateKubernetesEfficiencyReportDateIntervalNext3Months string = "next_3_months"

	// CreateKubernetesEfficiencyReportDateIntervalNext6Months captures enum value "next_6_months"
	CreateKubernetesEfficiencyReportDateIntervalNext6Months string = "next_6_months"

	// CreateKubernetesEfficiencyReportDateIntervalNext12Months captures enum value "next_12_months"
	CreateKubernetesEfficiencyReportDateIntervalNext12Months string = "next_12_months"

	// CreateKubernetesEfficiencyReportDateIntervalYearToDate captures enum value "year_to_date"
	CreateKubernetesEfficiencyReportDateIntervalYearToDate string = "year_to_date"

	// CreateKubernetesEfficiencyReportDateIntervalLast3Days captures enum value "last_3_days"
	CreateKubernetesEfficiencyReportDateIntervalLast3Days string = "last_3_days"
)
View Source
const (

	// CreateNetworkFlowReportDateIntervalLast3Days captures enum value "last_3_days"
	CreateNetworkFlowReportDateIntervalLast3Days string = "last_3_days"

	// CreateNetworkFlowReportDateIntervalLast7Days captures enum value "last_7_days"
	CreateNetworkFlowReportDateIntervalLast7Days string = "last_7_days"

	// CreateNetworkFlowReportDateIntervalCustom captures enum value "custom"
	CreateNetworkFlowReportDateIntervalCustom string = "custom"
)
View Source
const (

	// CreateNetworkFlowReportFlowDirectionIngress captures enum value "ingress"
	CreateNetworkFlowReportFlowDirectionIngress string = "ingress"

	// CreateNetworkFlowReportFlowDirectionEgress captures enum value "egress"
	CreateNetworkFlowReportFlowDirectionEgress string = "egress"
)
View Source
const (

	// CreateNetworkFlowReportFlowWeightCosts captures enum value "costs"
	CreateNetworkFlowReportFlowWeightCosts string = "costs"

	// CreateNetworkFlowReportFlowWeightBytes captures enum value "bytes"
	CreateNetworkFlowReportFlowWeightBytes string = "bytes"
)
View Source
const (

	// CreateTeamRoleOwner captures enum value "owner"
	CreateTeamRoleOwner string = "owner"

	// CreateTeamRoleEditor captures enum value "editor"
	CreateTeamRoleEditor string = "editor"

	// CreateTeamRoleViewer captures enum value "viewer"
	CreateTeamRoleViewer string = "viewer"
)
View Source
const (

	// DashboardDateBinCumulative captures enum value "cumulative"
	DashboardDateBinCumulative string = "cumulative"

	// DashboardDateBinDay captures enum value "day"
	DashboardDateBinDay string = "day"

	// DashboardDateBinWeek captures enum value "week"
	DashboardDateBinWeek string = "week"

	// DashboardDateBinMonth captures enum value "month"
	DashboardDateBinMonth string = "month"
)
View Source
const (

	// DashboardDateIntervalThisMonth captures enum value "this_month"
	DashboardDateIntervalThisMonth string = "this_month"

	// DashboardDateIntervalLast7Days captures enum value "last_7_days"
	DashboardDateIntervalLast7Days string = "last_7_days"

	// DashboardDateIntervalLast30Days captures enum value "last_30_days"
	DashboardDateIntervalLast30Days string = "last_30_days"

	// DashboardDateIntervalLastMonth captures enum value "last_month"
	DashboardDateIntervalLastMonth string = "last_month"

	// DashboardDateIntervalLast3Months captures enum value "last_3_months"
	DashboardDateIntervalLast3Months string = "last_3_months"

	// DashboardDateIntervalLast6Months captures enum value "last_6_months"
	DashboardDateIntervalLast6Months string = "last_6_months"

	// DashboardDateIntervalCustom captures enum value "custom"
	DashboardDateIntervalCustom string = "custom"

	// DashboardDateIntervalLast12Months captures enum value "last_12_months"
	DashboardDateIntervalLast12Months string = "last_12_months"

	// DashboardDateIntervalLast24Months captures enum value "last_24_months"
	DashboardDateIntervalLast24Months string = "last_24_months"

	// DashboardDateIntervalLast36Months captures enum value "last_36_months"
	DashboardDateIntervalLast36Months string = "last_36_months"

	// DashboardDateIntervalNextMonth captures enum value "next_month"
	DashboardDateIntervalNextMonth string = "next_month"

	// DashboardDateIntervalNext3Months captures enum value "next_3_months"
	DashboardDateIntervalNext3Months string = "next_3_months"

	// DashboardDateIntervalNext6Months captures enum value "next_6_months"
	DashboardDateIntervalNext6Months string = "next_6_months"

	// DashboardDateIntervalNext12Months captures enum value "next_12_months"
	DashboardDateIntervalNext12Months string = "next_12_months"

	// DashboardDateIntervalYearToDate captures enum value "year_to_date"
	DashboardDateIntervalYearToDate string = "year_to_date"

	// DashboardDateIntervalLast3Days captures enum value "last_3_days"
	DashboardDateIntervalLast3Days string = "last_3_days"
)
View Source
const (

	// DashboardWidgetSettingsDisplayTypeTable captures enum value "table"
	DashboardWidgetSettingsDisplayTypeTable string = "table"

	// DashboardWidgetSettingsDisplayTypeChart captures enum value "chart"
	DashboardWidgetSettingsDisplayTypeChart string = "chart"
)
View Source
const (

	// IntegrationStatusConnected captures enum value "connected"
	IntegrationStatusConnected string = "connected"

	// IntegrationStatusDisconnected captures enum value "disconnected"
	IntegrationStatusDisconnected string = "disconnected"
)
View Source
const (

	// ReportNotificationChangePercentage captures enum value "percentage"
	ReportNotificationChangePercentage string = "percentage"

	// ReportNotificationChangeDollars captures enum value "dollars"
	ReportNotificationChangeDollars string = "dollars"
)
View Source
const (

	// ReportNotificationFrequencyDaily captures enum value "daily"
	ReportNotificationFrequencyDaily string = "daily"

	// ReportNotificationFrequencyWeekly captures enum value "weekly"
	ReportNotificationFrequencyWeekly string = "weekly"

	// ReportNotificationFrequencyMonthly captures enum value "monthly"
	ReportNotificationFrequencyMonthly string = "monthly"
)
View Source
const (

	// UpdateAccessGrantAccessDenied captures enum value "denied"
	UpdateAccessGrantAccessDenied string = "denied"

	// UpdateAccessGrantAccessAllowed captures enum value "allowed"
	UpdateAccessGrantAccessAllowed string = "allowed"
)
View Source
const (

	// UpdateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerUnit captures enum value "per_unit"
	UpdateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerUnit string = "per_unit"

	// UpdateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerHundred captures enum value "per_hundred"
	UpdateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerHundred string = "per_hundred"

	// UpdateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerThousand captures enum value "per_thousand"
	UpdateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerThousand string = "per_thousand"

	// UpdateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerMillion captures enum value "per_million"
	UpdateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerMillion string = "per_million"

	// UpdateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerBillion captures enum value "per_billion"
	UpdateBusinessMetricCostReportTokensWithMetadataItems0UnitScalePerBillion string = "per_billion"
)
View Source
const (

	// UpdateCostReportChartTypeArea captures enum value "area"
	UpdateCostReportChartTypeArea string = "area"

	// UpdateCostReportChartTypeLine captures enum value "line"
	UpdateCostReportChartTypeLine string = "line"

	// UpdateCostReportChartTypePie captures enum value "pie"
	UpdateCostReportChartTypePie string = "pie"

	// UpdateCostReportChartTypeBar captures enum value "bar"
	UpdateCostReportChartTypeBar string = "bar"
)
View Source
const (

	// UpdateCostReportDateBinCumulative captures enum value "cumulative"
	UpdateCostReportDateBinCumulative string = "cumulative"

	// UpdateCostReportDateBinDay captures enum value "day"
	UpdateCostReportDateBinDay string = "day"

	// UpdateCostReportDateBinWeek captures enum value "week"
	UpdateCostReportDateBinWeek string = "week"

	// UpdateCostReportDateBinMonth captures enum value "month"
	UpdateCostReportDateBinMonth string = "month"
)
View Source
const (

	// UpdateCostReportDateIntervalThisMonth captures enum value "this_month"
	UpdateCostReportDateIntervalThisMonth string = "this_month"

	// UpdateCostReportDateIntervalLast7Days captures enum value "last_7_days"
	UpdateCostReportDateIntervalLast7Days string = "last_7_days"

	// UpdateCostReportDateIntervalLast30Days captures enum value "last_30_days"
	UpdateCostReportDateIntervalLast30Days string = "last_30_days"

	// UpdateCostReportDateIntervalLastMonth captures enum value "last_month"
	UpdateCostReportDateIntervalLastMonth string = "last_month"

	// UpdateCostReportDateIntervalLast3Months captures enum value "last_3_months"
	UpdateCostReportDateIntervalLast3Months string = "last_3_months"

	// UpdateCostReportDateIntervalLast6Months captures enum value "last_6_months"
	UpdateCostReportDateIntervalLast6Months string = "last_6_months"

	// UpdateCostReportDateIntervalCustom captures enum value "custom"
	UpdateCostReportDateIntervalCustom string = "custom"

	// UpdateCostReportDateIntervalLast12Months captures enum value "last_12_months"
	UpdateCostReportDateIntervalLast12Months string = "last_12_months"

	// UpdateCostReportDateIntervalLast24Months captures enum value "last_24_months"
	UpdateCostReportDateIntervalLast24Months string = "last_24_months"

	// UpdateCostReportDateIntervalLast36Months captures enum value "last_36_months"
	UpdateCostReportDateIntervalLast36Months string = "last_36_months"

	// UpdateCostReportDateIntervalNextMonth captures enum value "next_month"
	UpdateCostReportDateIntervalNextMonth string = "next_month"

	// UpdateCostReportDateIntervalNext3Months captures enum value "next_3_months"
	UpdateCostReportDateIntervalNext3Months string = "next_3_months"

	// UpdateCostReportDateIntervalNext6Months captures enum value "next_6_months"
	UpdateCostReportDateIntervalNext6Months string = "next_6_months"

	// UpdateCostReportDateIntervalNext12Months captures enum value "next_12_months"
	UpdateCostReportDateIntervalNext12Months string = "next_12_months"

	// UpdateCostReportDateIntervalYearToDate captures enum value "year_to_date"
	UpdateCostReportDateIntervalYearToDate string = "year_to_date"

	// UpdateCostReportDateIntervalLast3Days captures enum value "last_3_days"
	UpdateCostReportDateIntervalLast3Days string = "last_3_days"
)
View Source
const (

	// UpdateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerUnit captures enum value "per_unit"
	UpdateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerUnit string = "per_unit"

	// UpdateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerHundred captures enum value "per_hundred"
	UpdateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerHundred string = "per_hundred"

	// UpdateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerThousand captures enum value "per_thousand"
	UpdateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerThousand string = "per_thousand"

	// UpdateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerMillion captures enum value "per_million"
	UpdateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerMillion string = "per_million"

	// UpdateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerBillion captures enum value "per_billion"
	UpdateCostReportBusinessMetricTokensWithMetadataItems0UnitScalePerBillion string = "per_billion"
)
View Source
const (

	// UpdateDashboardDateBinCumulative captures enum value "cumulative"
	UpdateDashboardDateBinCumulative string = "cumulative"

	// UpdateDashboardDateBinDay captures enum value "day"
	UpdateDashboardDateBinDay string = "day"

	// UpdateDashboardDateBinWeek captures enum value "week"
	UpdateDashboardDateBinWeek string = "week"

	// UpdateDashboardDateBinMonth captures enum value "month"
	UpdateDashboardDateBinMonth string = "month"
)
View Source
const (

	// UpdateDashboardDateIntervalThisMonth captures enum value "this_month"
	UpdateDashboardDateIntervalThisMonth string = "this_month"

	// UpdateDashboardDateIntervalLast7Days captures enum value "last_7_days"
	UpdateDashboardDateIntervalLast7Days string = "last_7_days"

	// UpdateDashboardDateIntervalLast30Days captures enum value "last_30_days"
	UpdateDashboardDateIntervalLast30Days string = "last_30_days"

	// UpdateDashboardDateIntervalLastMonth captures enum value "last_month"
	UpdateDashboardDateIntervalLastMonth string = "last_month"

	// UpdateDashboardDateIntervalLast3Months captures enum value "last_3_months"
	UpdateDashboardDateIntervalLast3Months string = "last_3_months"

	// UpdateDashboardDateIntervalLast6Months captures enum value "last_6_months"
	UpdateDashboardDateIntervalLast6Months string = "last_6_months"

	// UpdateDashboardDateIntervalCustom captures enum value "custom"
	UpdateDashboardDateIntervalCustom string = "custom"

	// UpdateDashboardDateIntervalLast12Months captures enum value "last_12_months"
	UpdateDashboardDateIntervalLast12Months string = "last_12_months"

	// UpdateDashboardDateIntervalLast24Months captures enum value "last_24_months"
	UpdateDashboardDateIntervalLast24Months string = "last_24_months"

	// UpdateDashboardDateIntervalLast36Months captures enum value "last_36_months"
	UpdateDashboardDateIntervalLast36Months string = "last_36_months"

	// UpdateDashboardDateIntervalNextMonth captures enum value "next_month"
	UpdateDashboardDateIntervalNextMonth string = "next_month"

	// UpdateDashboardDateIntervalNext3Months captures enum value "next_3_months"
	UpdateDashboardDateIntervalNext3Months string = "next_3_months"

	// UpdateDashboardDateIntervalNext6Months captures enum value "next_6_months"
	UpdateDashboardDateIntervalNext6Months string = "next_6_months"

	// UpdateDashboardDateIntervalNext12Months captures enum value "next_12_months"
	UpdateDashboardDateIntervalNext12Months string = "next_12_months"

	// UpdateDashboardDateIntervalYearToDate captures enum value "year_to_date"
	UpdateDashboardDateIntervalYearToDate string = "year_to_date"

	// UpdateDashboardDateIntervalLast3Days captures enum value "last_3_days"
	UpdateDashboardDateIntervalLast3Days string = "last_3_days"
)
View Source
const (

	// UpdateDashboardWidgetsItems0SettingsDisplayTypeTable captures enum value "table"
	UpdateDashboardWidgetsItems0SettingsDisplayTypeTable string = "table"

	// UpdateDashboardWidgetsItems0SettingsDisplayTypeChart captures enum value "chart"
	UpdateDashboardWidgetsItems0SettingsDisplayTypeChart string = "chart"
)
View Source
const (

	// UpdateFinancialCommitmentReportDateBucketDay captures enum value "day"
	UpdateFinancialCommitmentReportDateBucketDay string = "day"

	// UpdateFinancialCommitmentReportDateBucketWeek captures enum value "week"
	UpdateFinancialCommitmentReportDateBucketWeek string = "week"

	// UpdateFinancialCommitmentReportDateBucketMonth captures enum value "month"
	UpdateFinancialCommitmentReportDateBucketMonth string = "month"
)
View Source
const (

	// UpdateFinancialCommitmentReportDateIntervalThisMonth captures enum value "this_month"
	UpdateFinancialCommitmentReportDateIntervalThisMonth string = "this_month"

	// UpdateFinancialCommitmentReportDateIntervalLast7Days captures enum value "last_7_days"
	UpdateFinancialCommitmentReportDateIntervalLast7Days string = "last_7_days"

	// UpdateFinancialCommitmentReportDateIntervalLast30Days captures enum value "last_30_days"
	UpdateFinancialCommitmentReportDateIntervalLast30Days string = "last_30_days"

	// UpdateFinancialCommitmentReportDateIntervalLastMonth captures enum value "last_month"
	UpdateFinancialCommitmentReportDateIntervalLastMonth string = "last_month"

	// UpdateFinancialCommitmentReportDateIntervalLast3Months captures enum value "last_3_months"
	UpdateFinancialCommitmentReportDateIntervalLast3Months string = "last_3_months"

	// UpdateFinancialCommitmentReportDateIntervalLast6Months captures enum value "last_6_months"
	UpdateFinancialCommitmentReportDateIntervalLast6Months string = "last_6_months"

	// UpdateFinancialCommitmentReportDateIntervalCustom captures enum value "custom"
	UpdateFinancialCommitmentReportDateIntervalCustom string = "custom"

	// UpdateFinancialCommitmentReportDateIntervalLast12Months captures enum value "last_12_months"
	UpdateFinancialCommitmentReportDateIntervalLast12Months string = "last_12_months"

	// UpdateFinancialCommitmentReportDateIntervalLast24Months captures enum value "last_24_months"
	UpdateFinancialCommitmentReportDateIntervalLast24Months string = "last_24_months"

	// UpdateFinancialCommitmentReportDateIntervalLast36Months captures enum value "last_36_months"
	UpdateFinancialCommitmentReportDateIntervalLast36Months string = "last_36_months"

	// UpdateFinancialCommitmentReportDateIntervalYearToDate captures enum value "year_to_date"
	UpdateFinancialCommitmentReportDateIntervalYearToDate string = "year_to_date"

	// UpdateFinancialCommitmentReportDateIntervalLast3Days captures enum value "last_3_days"
	UpdateFinancialCommitmentReportDateIntervalLast3Days string = "last_3_days"
)
View Source
const (

	// UpdateFinancialCommitmentReportOnDemandCostsScopeDiscountable captures enum value "discountable"
	UpdateFinancialCommitmentReportOnDemandCostsScopeDiscountable string = "discountable"

	// UpdateFinancialCommitmentReportOnDemandCostsScopeAll captures enum value "all"
	UpdateFinancialCommitmentReportOnDemandCostsScopeAll string = "all"
)
View Source
const (

	// UpdateKubernetesEfficiencyReportAggregatedByIdleCost captures enum value "idle_cost"
	UpdateKubernetesEfficiencyReportAggregatedByIdleCost string = "idle_cost"

	// UpdateKubernetesEfficiencyReportAggregatedByAmount captures enum value "amount"
	UpdateKubernetesEfficiencyReportAggregatedByAmount string = "amount"

	// UpdateKubernetesEfficiencyReportAggregatedByCostEfficiency captures enum value "cost_efficiency"
	UpdateKubernetesEfficiencyReportAggregatedByCostEfficiency string = "cost_efficiency"
)
View Source
const (

	// UpdateKubernetesEfficiencyReportDateBucketDay captures enum value "day"
	UpdateKubernetesEfficiencyReportDateBucketDay string = "day"

	// UpdateKubernetesEfficiencyReportDateBucketWeek captures enum value "week"
	UpdateKubernetesEfficiencyReportDateBucketWeek string = "week"

	// UpdateKubernetesEfficiencyReportDateBucketMonth captures enum value "month"
	UpdateKubernetesEfficiencyReportDateBucketMonth string = "month"
)
View Source
const (

	// UpdateKubernetesEfficiencyReportDateIntervalThisMonth captures enum value "this_month"
	UpdateKubernetesEfficiencyReportDateIntervalThisMonth string = "this_month"

	// UpdateKubernetesEfficiencyReportDateIntervalLast7Days captures enum value "last_7_days"
	UpdateKubernetesEfficiencyReportDateIntervalLast7Days string = "last_7_days"

	// UpdateKubernetesEfficiencyReportDateIntervalLast30Days captures enum value "last_30_days"
	UpdateKubernetesEfficiencyReportDateIntervalLast30Days string = "last_30_days"

	// UpdateKubernetesEfficiencyReportDateIntervalLastMonth captures enum value "last_month"
	UpdateKubernetesEfficiencyReportDateIntervalLastMonth string = "last_month"

	// UpdateKubernetesEfficiencyReportDateIntervalLast3Months captures enum value "last_3_months"
	UpdateKubernetesEfficiencyReportDateIntervalLast3Months string = "last_3_months"

	// UpdateKubernetesEfficiencyReportDateIntervalLast6Months captures enum value "last_6_months"
	UpdateKubernetesEfficiencyReportDateIntervalLast6Months string = "last_6_months"

	// UpdateKubernetesEfficiencyReportDateIntervalCustom captures enum value "custom"
	UpdateKubernetesEfficiencyReportDateIntervalCustom string = "custom"

	// UpdateKubernetesEfficiencyReportDateIntervalLast12Months captures enum value "last_12_months"
	UpdateKubernetesEfficiencyReportDateIntervalLast12Months string = "last_12_months"

	// UpdateKubernetesEfficiencyReportDateIntervalLast24Months captures enum value "last_24_months"
	UpdateKubernetesEfficiencyReportDateIntervalLast24Months string = "last_24_months"

	// UpdateKubernetesEfficiencyReportDateIntervalLast36Months captures enum value "last_36_months"
	UpdateKubernetesEfficiencyReportDateIntervalLast36Months string = "last_36_months"

	// UpdateKubernetesEfficiencyReportDateIntervalNextMonth captures enum value "next_month"
	UpdateKubernetesEfficiencyReportDateIntervalNextMonth string = "next_month"

	// UpdateKubernetesEfficiencyReportDateIntervalNext3Months captures enum value "next_3_months"
	UpdateKubernetesEfficiencyReportDateIntervalNext3Months string = "next_3_months"

	// UpdateKubernetesEfficiencyReportDateIntervalNext6Months captures enum value "next_6_months"
	UpdateKubernetesEfficiencyReportDateIntervalNext6Months string = "next_6_months"

	// UpdateKubernetesEfficiencyReportDateIntervalNext12Months captures enum value "next_12_months"
	UpdateKubernetesEfficiencyReportDateIntervalNext12Months string = "next_12_months"

	// UpdateKubernetesEfficiencyReportDateIntervalYearToDate captures enum value "year_to_date"
	UpdateKubernetesEfficiencyReportDateIntervalYearToDate string = "year_to_date"

	// UpdateKubernetesEfficiencyReportDateIntervalLast3Days captures enum value "last_3_days"
	UpdateKubernetesEfficiencyReportDateIntervalLast3Days string = "last_3_days"
)
View Source
const (

	// UpdateNetworkFlowReportDateIntervalLast3Days captures enum value "last_3_days"
	UpdateNetworkFlowReportDateIntervalLast3Days string = "last_3_days"

	// UpdateNetworkFlowReportDateIntervalLast7Days captures enum value "last_7_days"
	UpdateNetworkFlowReportDateIntervalLast7Days string = "last_7_days"

	// UpdateNetworkFlowReportDateIntervalCustom captures enum value "custom"
	UpdateNetworkFlowReportDateIntervalCustom string = "custom"
)
View Source
const (

	// UpdateNetworkFlowReportFlowDirectionIngress captures enum value "ingress"
	UpdateNetworkFlowReportFlowDirectionIngress string = "ingress"

	// UpdateNetworkFlowReportFlowDirectionEgress captures enum value "egress"
	UpdateNetworkFlowReportFlowDirectionEgress string = "egress"
)
View Source
const (

	// UpdateNetworkFlowReportFlowWeightCosts captures enum value "costs"
	UpdateNetworkFlowReportFlowWeightCosts string = "costs"

	// UpdateNetworkFlowReportFlowWeightBytes captures enum value "bytes"
	UpdateNetworkFlowReportFlowWeightBytes string = "bytes"
)
View Source
const (

	// UpdateTeamRoleOwner captures enum value "owner"
	UpdateTeamRoleOwner string = "owner"

	// UpdateTeamRoleEditor captures enum value "editor"
	UpdateTeamRoleEditor string = "editor"

	// UpdateTeamRoleViewer captures enum value "viewer"
	UpdateTeamRoleViewer string = "viewer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessGrant

type AccessGrant struct {

	// The access status of the AccessGrant.
	Access string `json:"access,omitempty"`

	// The date and time, in UTC, the AccessGrant was created. ISO 8601 Formatted.
	// Example: 2023-08-04T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The token for the User who created the AccessGrant.
	CreatedBy string `json:"created_by,omitempty"`

	// The token for any resource the AccessGrant is applied to.
	// Example: rprt_abcd1234
	ResourceToken string `json:"resource_token,omitempty"`

	// The Team token for which an AccessGrant is applied to.
	TeamToken string `json:"team_token,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

AccessGrant AccessGrant model

swagger:model AccessGrant

func (*AccessGrant) ContextValidate

func (m *AccessGrant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this access grant based on context it is used

func (*AccessGrant) MarshalBinary

func (m *AccessGrant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccessGrant) UnmarshalBinary

func (m *AccessGrant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccessGrant) Validate

func (m *AccessGrant) Validate(formats strfmt.Registry) error

Validate validates this access grant

type AccessGrants

type AccessGrants struct {

	// access grants
	AccessGrants []*AccessGrant `json:"access_grants"`

	// links
	Links interface{} `json:"links,omitempty"`
}

AccessGrants AccessGrants model

swagger:model AccessGrants

func (*AccessGrants) ContextValidate

func (m *AccessGrants) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this access grants based on the context it is used

func (*AccessGrants) MarshalBinary

func (m *AccessGrants) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccessGrants) UnmarshalBinary

func (m *AccessGrants) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccessGrants) Validate

func (m *AccessGrants) Validate(formats strfmt.Registry) error

Validate validates this access grants

type AnomalyAlert added in v0.0.12

type AnomalyAlert struct {

	// The date and time, in UTC, the AnomalyAlert is sent. ISO 8601 Formatted.
	// Example: 2021-07-09T00:00:00Z
	AlertedAt string `json:"alerted_at,omitempty"`

	// The amount observed.
	Amount string `json:"amount,omitempty"`

	// The category of the AnomalyAlert.
	Category string `json:"category,omitempty"`

	// The token of the Report associated with the AnomalyAlert.
	CostReportToken string `json:"cost_report_token,omitempty"`

	// The date and time, in UTC, the AnomalyAlert was created. ISO 8601 Formatted.
	// Example: 2021-07-09T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The user-provided feedback of why alert was ignored/archived.
	Feedback string `json:"feedback,omitempty"`

	// The previous amount observed.
	PreviousAmount string `json:"previous_amount,omitempty"`

	// The provider of the service causing the AnomalyAlert.
	Provider string `json:"provider,omitempty"`

	// The provider service causing the AnomalyAlert.
	Service string `json:"service,omitempty"`

	// The seven day average of the amount observed.
	SevenDayAverage string `json:"seven_day_average,omitempty"`

	// The status of the AnomalyAlert.
	Status string `json:"status,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

AnomalyAlert AnomalyAlert model

swagger:model AnomalyAlert

func (*AnomalyAlert) ContextValidate added in v0.0.12

func (m *AnomalyAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this anomaly alert based on context it is used

func (*AnomalyAlert) MarshalBinary added in v0.0.12

func (m *AnomalyAlert) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AnomalyAlert) UnmarshalBinary added in v0.0.12

func (m *AnomalyAlert) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AnomalyAlert) Validate added in v0.0.12

func (m *AnomalyAlert) Validate(formats strfmt.Registry) error

Validate validates this anomaly alert

type AnomalyAlerts added in v0.0.12

type AnomalyAlerts struct {

	// anomaly alerts
	AnomalyAlerts []*AnomalyAlert `json:"anomaly_alerts"`

	// links
	Links interface{} `json:"links,omitempty"`
}

AnomalyAlerts AnomalyAlerts model

swagger:model AnomalyAlerts

func (*AnomalyAlerts) ContextValidate added in v0.0.12

func (m *AnomalyAlerts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this anomaly alerts based on the context it is used

func (*AnomalyAlerts) MarshalBinary added in v0.0.12

func (m *AnomalyAlerts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AnomalyAlerts) UnmarshalBinary added in v0.0.12

func (m *AnomalyAlerts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AnomalyAlerts) Validate added in v0.0.12

func (m *AnomalyAlerts) Validate(formats strfmt.Registry) error

Validate validates this anomaly alerts

type AnomalyNotification added in v0.0.15

type AnomalyNotification struct {

	// The token for the CostReport the AnomalyNotification is associated with.
	CostReportToken string `json:"cost_report_token,omitempty"`

	// The date and time, in UTC, the AnomalyNotification was created. ISO 8601 Formatted.
	// Example: 2023-08-04T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The channels that the notification is sent to.
	RecipientChannels []string `json:"recipient_channels"`

	// The threshold amount that must be met for the notification to fire.
	Threshold int32 `json:"threshold,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The date and time, in UTC, the AnomalyNotification was last updated at. ISO 8601 Formatted.
	// Example: 2023-08-04T00:00:00Z
	UpdatedAt string `json:"updated_at,omitempty"`

	// The tokens of the users that receive the notification.
	UserTokens []string `json:"user_tokens"`
}

AnomalyNotification AnomalyNotification model

swagger:model AnomalyNotification

func (*AnomalyNotification) ContextValidate added in v0.0.15

func (m *AnomalyNotification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this anomaly notification based on context it is used

func (*AnomalyNotification) MarshalBinary added in v0.0.15

func (m *AnomalyNotification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AnomalyNotification) UnmarshalBinary added in v0.0.15

func (m *AnomalyNotification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AnomalyNotification) Validate added in v0.0.15

func (m *AnomalyNotification) Validate(formats strfmt.Registry) error

Validate validates this anomaly notification

type AnomalyNotifications added in v0.0.15

type AnomalyNotifications struct {

	// anomaly notifications
	AnomalyNotifications []*AnomalyNotification `json:"anomaly_notifications"`

	// links
	Links interface{} `json:"links,omitempty"`
}

AnomalyNotifications AnomalyNotifications model

swagger:model AnomalyNotifications

func (*AnomalyNotifications) ContextValidate added in v0.0.15

func (m *AnomalyNotifications) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this anomaly notifications based on the context it is used

func (*AnomalyNotifications) MarshalBinary added in v0.0.15

func (m *AnomalyNotifications) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AnomalyNotifications) UnmarshalBinary added in v0.0.15

func (m *AnomalyNotifications) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AnomalyNotifications) Validate added in v0.0.15

func (m *AnomalyNotifications) Validate(formats strfmt.Registry) error

Validate validates this anomaly notifications

type AttachedBusinessMetricForCostReport added in v0.0.18

type AttachedBusinessMetricForCostReport struct {

	// The token of the BusinessMetric that's attached to the CostReport.
	// Example: bsnss_mtrc_1234
	BusinessMetricToken string `json:"business_metric_token,omitempty"`

	// The labels that the BusinessMetric is filtered by within a particular CostReport.
	LabelFilter []string `json:"label_filter,omitempty"`

	// Determines the scale of the BusinessMetric's values within a particular CostReport.
	// Example: per_hundred
	// Enum: ["per_unit","per_hundred","per_thousand","per_million","per_billion"]
	UnitScale string `json:"unit_scale,omitempty"`
}

AttachedBusinessMetricForCostReport attached business metric for cost report

swagger:model AttachedBusinessMetricForCostReport

func (*AttachedBusinessMetricForCostReport) ContextValidate added in v0.0.18

func (m *AttachedBusinessMetricForCostReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this attached business metric for cost report based on context it is used

func (*AttachedBusinessMetricForCostReport) MarshalBinary added in v0.0.18

func (m *AttachedBusinessMetricForCostReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AttachedBusinessMetricForCostReport) UnmarshalBinary added in v0.0.18

func (m *AttachedBusinessMetricForCostReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AttachedBusinessMetricForCostReport) Validate added in v0.0.18

Validate validates this attached business metric for cost report

type AttachedCostReportForBusinessMetric added in v0.0.16

type AttachedCostReportForBusinessMetric struct {

	// The token of the CostReport the BusinessMetric is attached to.
	// Example: rprt_1234
	CostReportToken string `json:"cost_report_token,omitempty"`

	// The labels that the BusinessMetric is filtered by within a particular CostReport.
	LabelFilter []string `json:"label_filter,omitempty"`

	// Determines the scale of the BusinessMetric's values within a particular CostReport.
	// Example: per_hundred
	// Enum: ["per_unit","per_hundred","per_thousand","per_million","per_billion"]
	UnitScale string `json:"unit_scale,omitempty"`
}

AttachedCostReportForBusinessMetric attached cost report for business metric

swagger:model AttachedCostReportForBusinessMetric

func (*AttachedCostReportForBusinessMetric) ContextValidate added in v0.0.16

func (m *AttachedCostReportForBusinessMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this attached cost report for business metric based on context it is used

func (*AttachedCostReportForBusinessMetric) MarshalBinary added in v0.0.16

func (m *AttachedCostReportForBusinessMetric) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AttachedCostReportForBusinessMetric) UnmarshalBinary added in v0.0.16

func (m *AttachedCostReportForBusinessMetric) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AttachedCostReportForBusinessMetric) Validate added in v0.0.16

Validate validates this attached cost report for business metric

type BillingRule added in v0.0.29

type BillingRule struct {

	// The amount for the Billing Rule (Charge).
	// Example: 5000.25
	Amount string `json:"amount,omitempty"`

	// The category for the Billing Rule (Charge).
	// Example: MSP Fee
	Category string `json:"category,omitempty"`

	// The charge type for the Billing Rule.
	// Example: RIFee
	ChargeType string `json:"charge_type,omitempty"`

	// The date and time, in UTC, the Billing Rule was created. ISO 8601 Formatted.
	// Example: 2024-06-28T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The token of the Creator of the Billing Rule.
	// Example: usr_1234
	CreatedByToken string `json:"created_by_token,omitempty"`

	// The percentage of the cost shown for the Billing Rule (Adjustment).
	// Example: 75.0
	Percentage string `json:"percentage,omitempty"`

	// The service for the Billing Rule (Charge).
	// Example: AWS Cloudfront
	Service string `json:"service,omitempty"`

	// The start period for the Billing Rule (Charge).
	// Example: 2024-05-01
	StartPeriod string `json:"start_period,omitempty"`

	// The subcategory for the Billing Rule (Charge).
	// Example: One-time
	SubCategory string `json:"sub_category,omitempty"`

	// The title of the Billing Rule.
	// Example: Credit for Unused EC2 Instances
	Title string `json:"title,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The type of the Billing Rule.
	// Example: credit
	Type string `json:"type,omitempty"`
}

BillingRule BillingRule model

swagger:model BillingRule

func (*BillingRule) ContextValidate added in v0.0.29

func (m *BillingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this billing rule based on context it is used

func (*BillingRule) MarshalBinary added in v0.0.29

func (m *BillingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BillingRule) UnmarshalBinary added in v0.0.29

func (m *BillingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BillingRule) Validate added in v0.0.29

func (m *BillingRule) Validate(formats strfmt.Registry) error

Validate validates this billing rule

type BillingRules added in v0.0.29

type BillingRules struct {

	// billing rules
	BillingRules []*BillingRule `json:"billing_rules"`

	// links
	Links interface{} `json:"links,omitempty"`
}

BillingRules BillingRules model

swagger:model BillingRules

func (*BillingRules) ContextValidate added in v0.0.29

func (m *BillingRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this billing rules based on the context it is used

func (*BillingRules) MarshalBinary added in v0.0.29

func (m *BillingRules) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BillingRules) UnmarshalBinary added in v0.0.29

func (m *BillingRules) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BillingRules) Validate added in v0.0.29

func (m *BillingRules) Validate(formats strfmt.Registry) error

Validate validates this billing rules

type Budget added in v0.0.13

type Budget struct {

	// The tokens of the BudgetAlerts associated with the Budget.
	BudgetAlertTokens []string `json:"budget_alert_tokens"`

	// The tokens of the child Budgets associated with the hierarchical Budget.
	ChildBudgetTokens []string `json:"child_budget_tokens"`

	// The token of the Report associated with the Budget.
	CostReportToken string `json:"cost_report_token,omitempty"`

	// The date and time, in UTC, the Budget was created. ISO 8601 Formatted.
	// Example: 2024-03-19T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The token of the Creator of the Budget.
	CreatedByToken string `json:"created_by_token,omitempty"`

	// The name of the Budget.
	// Example: Acme123 Budget
	Name string `json:"name,omitempty"`

	// The historical performance of the Budget.
	Performance []*BudgetPerformance `json:"performance"`

	// The budget periods associated with the Budget.
	Periods []*BudgetPeriod `json:"periods"`

	// token
	Token string `json:"token,omitempty"`

	// The token for the User who created this Budget.
	UserToken string `json:"user_token,omitempty"`

	// The token for the Workspace the Budget is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

Budget Budget model

swagger:model Budget

func (*Budget) ContextValidate added in v0.0.13

func (m *Budget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this budget based on the context it is used

func (*Budget) MarshalBinary added in v0.0.13

func (m *Budget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Budget) UnmarshalBinary added in v0.0.13

func (m *Budget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Budget) Validate added in v0.0.13

func (m *Budget) Validate(formats strfmt.Registry) error

Validate validates this budget

type BudgetAlert added in v0.0.16

type BudgetAlert struct {

	// The tokens for the Budgets that the Budget Alert is monitoring to trigger alerts on.
	BudgetTokens []string `json:"budget_tokens"`

	// The date and time, in UTC, the Budget Alert was created. ISO 8601 Formatted.
	// Example: 2024-03-19T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The number of days from the start or end of the month to trigger the alert if the threshold is reached.
	DurationInDays string `json:"duration_in_days,omitempty"`

	// The provider used for sending alerts. This must be configured in the console. Possible values are: slack, microsoft_graph.
	// Example: slack
	IntegrationProvider string `json:"integration_provider,omitempty"`

	// The period tracked on the alert. Used with duration_in_days to determine the time window of the alert. Possible values: start_of_the_month, end_of_the_month.
	// Example: start_of_the_month
	PeriodToTrack string `json:"period_to_track,omitempty"`

	// The channels receiving the alerts. Requires an integration provider to be connected.
	// Example: ["#budget-notifications","#finance"]
	RecipientChannels string `json:"recipient_channels,omitempty"`

	// Alerts only send if they reach this number (as a percentage). When threshold is 100, that means alerts are triggered once costs reach 100% of the budget.
	// Example: 75
	Threshold string `json:"threshold,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The token for the User who created this BudgetAlert.
	UserToken string `json:"user_token,omitempty"`

	// The Users that receive the alert.
	UserTokens []string `json:"user_tokens"`

	// The token for the Workspace the ResourceReport is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

BudgetAlert BudgetAlert model

swagger:model BudgetAlert

func (*BudgetAlert) ContextValidate added in v0.0.16

func (m *BudgetAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this budget alert based on context it is used

func (*BudgetAlert) MarshalBinary added in v0.0.16

func (m *BudgetAlert) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BudgetAlert) UnmarshalBinary added in v0.0.16

func (m *BudgetAlert) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BudgetAlert) Validate added in v0.0.16

func (m *BudgetAlert) Validate(formats strfmt.Registry) error

Validate validates this budget alert

type BudgetAlerts added in v0.0.16

type BudgetAlerts struct {

	// budget alerts
	BudgetAlerts []*BudgetAlert `json:"budget_alerts"`

	// links
	Links interface{} `json:"links,omitempty"`
}

BudgetAlerts BudgetAlerts model

swagger:model BudgetAlerts

func (*BudgetAlerts) ContextValidate added in v0.0.16

func (m *BudgetAlerts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this budget alerts based on the context it is used

func (*BudgetAlerts) MarshalBinary added in v0.0.16

func (m *BudgetAlerts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BudgetAlerts) UnmarshalBinary added in v0.0.16

func (m *BudgetAlerts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BudgetAlerts) Validate added in v0.0.16

func (m *BudgetAlerts) Validate(formats strfmt.Registry) error

Validate validates this budget alerts

type BudgetPerformance added in v0.0.21

type BudgetPerformance struct {

	// The date and time, in UTC, the Budget was created. ISO 8601 Formatted.
	// Example: 2024-03-19T00:00:00Z
	Actual string `json:"actual,omitempty"`

	// The amount of the Budget Period as a string to ensure precision.
	// Example: 100.00
	Amount string `json:"amount,omitempty"`

	// The date and time, in UTC, the Budget was created. ISO 8601 Formatted.
	// Example: 2024-03-19T00:00:00Z
	Date string `json:"date,omitempty"`
}

BudgetPerformance budget performance

swagger:model BudgetPerformance

func (*BudgetPerformance) ContextValidate added in v0.0.21

func (m *BudgetPerformance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this budget performance based on context it is used

func (*BudgetPerformance) MarshalBinary added in v0.0.21

func (m *BudgetPerformance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BudgetPerformance) UnmarshalBinary added in v0.0.21

func (m *BudgetPerformance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BudgetPerformance) Validate added in v0.0.21

func (m *BudgetPerformance) Validate(formats strfmt.Registry) error

Validate validates this budget performance

type BudgetPeriod added in v0.0.21

type BudgetPeriod struct {

	// The amount of the Budget Period as a string to ensure precision.
	// Example: 100.00
	Amount string `json:"amount,omitempty"`

	// The date and time, in UTC, the Budget was created. ISO 8601 Formatted.
	// Example: 2024-03-19T00:00:00Z
	EndAt string `json:"end_at,omitempty"`

	// The date and time, in UTC, the Budget was created. ISO 8601 Formatted.
	// Example: 2024-03-19T00:00:00Z
	StartAt string `json:"start_at,omitempty"`
}

BudgetPeriod budget period

swagger:model BudgetPeriod

func (*BudgetPeriod) ContextValidate added in v0.0.21

func (m *BudgetPeriod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this budget period based on context it is used

func (*BudgetPeriod) MarshalBinary added in v0.0.21

func (m *BudgetPeriod) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BudgetPeriod) UnmarshalBinary added in v0.0.21

func (m *BudgetPeriod) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BudgetPeriod) Validate added in v0.0.21

func (m *BudgetPeriod) Validate(formats strfmt.Registry) error

Validate validates this budget period

type Budgets added in v0.0.13

type Budgets struct {

	// budgets
	Budgets []*Budget `json:"budgets"`

	// links
	Links interface{} `json:"links,omitempty"`
}

Budgets Budgets model

swagger:model Budgets

func (*Budgets) ContextValidate added in v0.0.13

func (m *Budgets) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this budgets based on the context it is used

func (*Budgets) MarshalBinary added in v0.0.13

func (m *Budgets) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Budgets) UnmarshalBinary added in v0.0.13

func (m *Budgets) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Budgets) Validate added in v0.0.13

func (m *Budgets) Validate(formats strfmt.Registry) error

Validate validates this budgets

type BusinessMetric added in v0.0.7

type BusinessMetric struct {

	// The tokens for any CostReports that use the BusinessMetric, the unit scale, and label filter.
	CostReportTokensWithMetadata []*AttachedCostReportForBusinessMetric `json:"cost_report_tokens_with_metadata"`

	// The token of the Creator of the BusinessMetric.
	// Example: usr_1234
	CreatedByToken string `json:"created_by_token,omitempty"`

	// The title of the BusinessMetric.
	// Example: Total Revenue
	Title string `json:"title,omitempty"`

	// The token of the BusinessMetric.
	// Example: bsnss_mtrc_1234
	Token string `json:"token,omitempty"`

	// The dates, amounts, and (optional) labels for the BusinessMetric.
	Values []*BusinessMetricValue `json:"values"`
}

BusinessMetric BusinessMetric model

swagger:model BusinessMetric

func (*BusinessMetric) ContextValidate added in v0.0.7

func (m *BusinessMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this business metric based on the context it is used

func (*BusinessMetric) MarshalBinary added in v0.0.7

func (m *BusinessMetric) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BusinessMetric) UnmarshalBinary added in v0.0.7

func (m *BusinessMetric) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BusinessMetric) Validate added in v0.0.7

func (m *BusinessMetric) Validate(formats strfmt.Registry) error

Validate validates this business metric

type BusinessMetricValue added in v0.0.16

type BusinessMetricValue struct {

	// The amount of the Business Metric Value as a string to ensure precision.
	// Example: 100.00
	Amount string `json:"amount,omitempty"`

	// The date of the Business Metric Value. ISO 8601 formatted.
	// Example: 2024-03-01+00:00
	Date string `json:"date,omitempty"`

	// The label of the Business Metric Value.
	// Example: Cost Center A
	Label string `json:"label,omitempty"`
}

BusinessMetricValue business metric value

swagger:model BusinessMetricValue

func (*BusinessMetricValue) ContextValidate added in v0.0.16

func (m *BusinessMetricValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this business metric value based on context it is used

func (*BusinessMetricValue) MarshalBinary added in v0.0.16

func (m *BusinessMetricValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BusinessMetricValue) UnmarshalBinary added in v0.0.16

func (m *BusinessMetricValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BusinessMetricValue) Validate added in v0.0.16

func (m *BusinessMetricValue) Validate(formats strfmt.Registry) error

Validate validates this business metric value

type BusinessMetrics added in v0.0.7

type BusinessMetrics struct {

	// business metrics
	BusinessMetrics []*BusinessMetric `json:"business_metrics"`
}

BusinessMetrics BusinessMetrics model

swagger:model BusinessMetrics

func (*BusinessMetrics) ContextValidate added in v0.0.7

func (m *BusinessMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this business metrics based on the context it is used

func (*BusinessMetrics) MarshalBinary added in v0.0.7

func (m *BusinessMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BusinessMetrics) UnmarshalBinary added in v0.0.7

func (m *BusinessMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BusinessMetrics) Validate added in v0.0.7

func (m *BusinessMetrics) Validate(formats strfmt.Registry) error

Validate validates this business metrics

type Cost added in v0.0.5

type Cost struct {

	// The cost provider's account id that incurred the cost.
	// Example: 9109237192
	AccountID string `json:"account_id,omitempty"`

	// The date the cost was accrued. ISO 8601 Formatted.
	// Example: 2023-09-05+00:00
	AccruedAt string `json:"accrued_at,omitempty"`

	// The amount of the cost.
	// Example: 4.25
	Amount string `json:"amount,omitempty"`

	// The cost provider's billing account id that incurred the cost.
	// Example: 9109237192
	BillingAccountID string `json:"billing_account_id,omitempty"`

	// The category for the cost.
	// Example: Data Transfer
	CostCategory string `json:"cost_category,omitempty"`

	// The subcategory for the cost.
	// Example: DataTransfer-Regional-Bytes
	CostSubcategory string `json:"cost_subcategory,omitempty"`

	// The currency of the cost.
	// Example: USD
	Currency string `json:"currency,omitempty"`

	// links
	Links interface{} `json:"links,omitempty"`

	// The cost provider which incurred the cost.
	// Example: aws
	// Enum: ["aws","azure","gcp","snowflake","databricks","mongo","datadog","fastly","new_relic","opencost","open_ai","oracle","confluent","planetscale","coralogix","kubernetes","custom_provider","github","linode","grafana","clickhouse","temporal"]
	Provider string `json:"provider,omitempty"`

	// The region which incurred the cost.
	// Example: us-east-1
	Region string `json:"region,omitempty"`

	// The resource id which incurred the cost.
	// Example: arn:aws:ec2:us-east-1:123456789012:instance/i-1234567890abcdef0
	ResourceID string `json:"resource_id,omitempty"`

	// The service which incurred the cost.
	// Example: Amazon Elastic Compute Cloud - Compute
	Service string `json:"service,omitempty"`

	// The tag attached to the cost that was incurred.
	// DEPRECATED: does not support multiple tags.
	// Example: production
	Tag string `json:"tag,omitempty"`

	// The tag pairs attached to the cost that was incurred.
	Tags []string `json:"tags"`

	// The usage amount and unit incurred by the cost.
	Usage interface{} `json:"usage,omitempty"`
}

Cost Cost model

swagger:model Cost

func (*Cost) ContextValidate added in v0.0.5

func (m *Cost) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cost based on context it is used

func (*Cost) MarshalBinary added in v0.0.5

func (m *Cost) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Cost) UnmarshalBinary added in v0.0.5

func (m *Cost) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Cost) Validate added in v0.0.5

func (m *Cost) Validate(formats strfmt.Registry) error

Validate validates this cost

type CostReport

type CostReport struct {

	// The tokens for the BusinessMetrics assigned to the CostReport, the unit scale, and label filter.
	BusinessMetricTokensWithMetadata []*AttachedBusinessMetricForCostReport `json:"business_metric_tokens_with_metadata"`

	// The chart type of the CostReport.
	ChartType string `json:"chart_type,omitempty"`

	// The date and time, in UTC, the report was created. ISO 8601 Formatted.
	// Example: 2021-07-09T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The date bin of the CostReport.
	DateBin string `json:"date_bin,omitempty"`

	// The date interval of the CostReport.
	DateInterval string `json:"date_interval,omitempty"`

	// The end date of the CostReports. ISO 8601 Formatted. Overwrites 'date_interval' if set.
	// Example: 2024-07-15
	EndDate string `json:"end_date,omitempty"`

	// The filter applied to the CostReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The token for the Folder the CostReport is a part of.
	FolderToken string `json:"folder_token,omitempty"`

	// The grouping aggregations applied to the filtered data.
	// Example: provider, service
	Groupings string `json:"groupings,omitempty"`

	// The previous period end date of the CostReport. ISO 8601 Formatted.
	// Example: 2024-06-15
	PreviousPeriodEndDate string `json:"previous_period_end_date,omitempty"`

	// The previous period start date of the CostReport. ISO 8601 Formatted.
	// Example: 2024-06-01
	PreviousPeriodStartDate string `json:"previous_period_start_date,omitempty"`

	// The tokens for the SavedFilters assigned to the CostReport.
	SavedFilterTokens []string `json:"saved_filter_tokens"`

	// settings
	Settings *CostReportSettings `json:"settings,omitempty"`

	// The start date of the CostReports. ISO 8601 Formatted. Overwrites 'date_interval' if set.
	// Example: 2024-07-01
	StartDate string `json:"start_date,omitempty"`

	// The title of the CostReport.
	// Example: Production Environment
	Title string `json:"title,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The token for the Workspace the CostReport is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

CostReport CostReport model

swagger:model CostReport

func (*CostReport) ContextValidate

func (m *CostReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cost report based on the context it is used

func (*CostReport) MarshalBinary

func (m *CostReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CostReport) UnmarshalBinary

func (m *CostReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CostReport) Validate

func (m *CostReport) Validate(formats strfmt.Registry) error

Validate validates this cost report

type CostReportSettings added in v0.0.7

type CostReportSettings struct {

	// Report will aggregate by cost or usage.
	AggregateBy *string `json:"aggregate_by,omitempty"`

	// Report will amortize.
	Amortize *bool `json:"amortize,omitempty"`

	// Report will include credits.
	IncludeCredits *bool `json:"include_credits,omitempty"`

	// Report will include discounts.
	IncludeDiscounts *bool `json:"include_discounts,omitempty"`

	// Report will include refunds.
	IncludeRefunds *bool `json:"include_refunds,omitempty"`

	// Report will include tax.
	IncludeTax *bool `json:"include_tax,omitempty"`

	// Report will show unallocated costs.
	Unallocated *bool `json:"unallocated,omitempty"`
}

CostReportSettings Report settings.

swagger:model CostReportSettings

func (*CostReportSettings) ContextValidate added in v0.0.7

func (m *CostReportSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cost report settings based on context it is used

func (*CostReportSettings) MarshalBinary added in v0.0.7

func (m *CostReportSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CostReportSettings) UnmarshalBinary added in v0.0.7

func (m *CostReportSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CostReportSettings) Validate added in v0.0.7

func (m *CostReportSettings) Validate(formats strfmt.Registry) error

Validate validates this cost report settings

type CostReports

type CostReports struct {

	// cost reports
	CostReports []*CostReport `json:"cost_reports"`

	// links
	Links interface{} `json:"links,omitempty"`
}

CostReports CostReports model

swagger:model CostReports

func (*CostReports) ContextValidate

func (m *CostReports) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cost reports based on the context it is used

func (*CostReports) MarshalBinary

func (m *CostReports) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CostReports) UnmarshalBinary

func (m *CostReports) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CostReports) Validate

func (m *CostReports) Validate(formats strfmt.Registry) error

Validate validates this cost reports

type Costs

type Costs struct {

	// costs
	Costs []*Cost `json:"costs"`

	// links
	Links interface{} `json:"links,omitempty"`

	// The sum of all costs for the CostReport for the requested period, rounded to 2 decimal places, alongside the ISO 4217 currency code.
	TotalCost string `json:"total_cost,omitempty"`

	// The sum of all usage for the CostReport for the requested period, rounded to 2 decimal places, grouped by usage unit.
	TotalUsage string `json:"total_usage,omitempty"`
}

Costs Costs model

swagger:model Costs

func (*Costs) ContextValidate

func (m *Costs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this costs based on the context it is used

func (*Costs) MarshalBinary

func (m *Costs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Costs) UnmarshalBinary

func (m *Costs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Costs) Validate

func (m *Costs) Validate(formats strfmt.Registry) error

Validate validates this costs

type CreateAccessGrant added in v0.0.14

type CreateAccessGrant struct {

	// The access level you want to grant. Defaults to 'allowed'.
	// Enum: ["denied","allowed"]
	Access string `json:"access,omitempty"`

	// The token of the resource for which you are granting access.
	// Required: true
	ResourceToken *string `json:"resource_token"`

	// The token of the Team you want to grant access to.
	// Required: true
	TeamToken *string `json:"team_token"`
}

CreateAccessGrant Create an Access Grant.

swagger:model createAccessGrant

func (*CreateAccessGrant) ContextValidate added in v0.0.14

func (m *CreateAccessGrant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create access grant based on context it is used

func (*CreateAccessGrant) MarshalBinary added in v0.0.14

func (m *CreateAccessGrant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAccessGrant) UnmarshalBinary added in v0.0.14

func (m *CreateAccessGrant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAccessGrant) Validate added in v0.0.14

func (m *CreateAccessGrant) Validate(formats strfmt.Registry) error

Validate validates this create access grant

type CreateAnomalyNotification added in v0.0.15

type CreateAnomalyNotification struct {

	// The token of the Cost Report that has the notification.
	// Required: true
	CostReportToken *string `json:"cost_report_token"`

	// The Slack/MS Teams channels that receive the notification.
	RecipientChannels []string `json:"recipient_channels"`

	// The threshold amount that must be met for the notification to fire.
	Threshold int32 `json:"threshold,omitempty"`

	// The tokens of the Users that receive the notification.
	UserTokens []string `json:"user_tokens"`
}

CreateAnomalyNotification Create an Anomaly Notification for a Cost Report.

swagger:model createAnomalyNotification

func (*CreateAnomalyNotification) ContextValidate added in v0.0.15

func (m *CreateAnomalyNotification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create anomaly notification based on context it is used

func (*CreateAnomalyNotification) MarshalBinary added in v0.0.15

func (m *CreateAnomalyNotification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAnomalyNotification) UnmarshalBinary added in v0.0.15

func (m *CreateAnomalyNotification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAnomalyNotification) Validate added in v0.0.15

func (m *CreateAnomalyNotification) Validate(formats strfmt.Registry) error

Validate validates this create anomaly notification

type CreateAzureIntegration added in v0.0.25

type CreateAzureIntegration struct {

	// Service Principal Application ID.
	// Required: true
	AppID *string `json:"app_id"`

	// Service Principal Password.
	// Required: true
	Password *string `json:"password"`

	// Azure AD Tenant ID.
	// Required: true
	Tenant *string `json:"tenant"`
}

CreateAzureIntegration Create an Azure Integration

swagger:model createAzureIntegration

func (*CreateAzureIntegration) ContextValidate added in v0.0.25

func (m *CreateAzureIntegration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create azure integration based on context it is used

func (*CreateAzureIntegration) MarshalBinary added in v0.0.25

func (m *CreateAzureIntegration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAzureIntegration) UnmarshalBinary added in v0.0.25

func (m *CreateAzureIntegration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAzureIntegration) Validate added in v0.0.25

func (m *CreateAzureIntegration) Validate(formats strfmt.Registry) error

Validate validates this create azure integration

type CreateBillingRule added in v0.0.29

type CreateBillingRule struct {

	// The amount for the Billing Rule. Example value: 300
	// Required: true
	Amount *float64 `json:"amount"`

	// The category of the Billing Rule.
	// Required: true
	Category *string `json:"category"`

	// The charge type of the Billing Rule.
	// Required: true
	ChargeType *string `json:"charge_type"`

	// The percentage of the cost shown. Example value: 75.0
	// Required: true
	Percentage *float64 `json:"percentage"`

	// The service of the Billing Rule.
	// Required: true
	Service *string `json:"service"`

	// The start period of the Billing Rule.
	// Required: true
	StartPeriod *string `json:"start_period"`

	// The subcategory of the Billing Rule.
	// Required: true
	SubCategory *string `json:"sub_category"`

	// The title of the Billing Rule.
	// Required: true
	Title *string `json:"title"`

	// The type of the Billing Rule. Note: the values are case insensitive.
	// Required: true
	// Enum: ["exclusion","adjustment","credit","charge"]
	Type *string `json:"type"`
}

CreateBillingRule Create a Billing Rule.

swagger:model createBillingRule

func (*CreateBillingRule) ContextValidate added in v0.0.29

func (m *CreateBillingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create billing rule based on context it is used

func (*CreateBillingRule) MarshalBinary added in v0.0.29

func (m *CreateBillingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBillingRule) UnmarshalBinary added in v0.0.29

func (m *CreateBillingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBillingRule) Validate added in v0.0.29

func (m *CreateBillingRule) Validate(formats strfmt.Registry) error

Validate validates this create billing rule

type CreateBudget added in v0.0.14

type CreateBudget struct {

	// The tokens of any child Budgets when creating a hierarchical Budget.
	ChildBudgetTokens []string `json:"child_budget_tokens"`

	// The CostReport token. Ignored for hierarchical Budgets.
	CostReportToken string `json:"cost_report_token,omitempty"`

	// The name of the Budget.
	// Required: true
	Name *string `json:"name"`

	// The periods for the Budget. The start_at and end_at must be iso8601 formatted e.g. YYYY-MM-DD. Ignored for hierarchical Budgets.
	Periods []*CreateBudgetPeriodsItems0 `json:"periods"`

	// The token of the Workspace to add the Budget to.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

CreateBudget Create a Budget.

swagger:model createBudget

func (*CreateBudget) ContextValidate added in v0.0.14

func (m *CreateBudget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create budget based on the context it is used

func (*CreateBudget) MarshalBinary added in v0.0.14

func (m *CreateBudget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBudget) UnmarshalBinary added in v0.0.14

func (m *CreateBudget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBudget) Validate added in v0.0.14

func (m *CreateBudget) Validate(formats strfmt.Registry) error

Validate validates this create budget

type CreateBudgetPeriodsItems0 added in v0.0.21

type CreateBudgetPeriodsItems0 struct {

	// The amount of the period.
	// Required: true
	Amount *float64 `json:"amount"`

	// The end date of the period.
	// Format: date
	EndAt *strfmt.Date `json:"end_at,omitempty"`

	// The start date of the period.
	// Required: true
	// Format: date
	StartAt *strfmt.Date `json:"start_at"`
}

CreateBudgetPeriodsItems0 create budget periods items0

swagger:model CreateBudgetPeriodsItems0

func (*CreateBudgetPeriodsItems0) ContextValidate added in v0.0.21

func (m *CreateBudgetPeriodsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create budget periods items0 based on context it is used

func (*CreateBudgetPeriodsItems0) MarshalBinary added in v0.0.21

func (m *CreateBudgetPeriodsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBudgetPeriodsItems0) UnmarshalBinary added in v0.0.21

func (m *CreateBudgetPeriodsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBudgetPeriodsItems0) Validate added in v0.0.21

func (m *CreateBudgetPeriodsItems0) Validate(formats strfmt.Registry) error

Validate validates this create budget periods items0

type CreateBusinessMetric added in v0.0.14

type CreateBusinessMetric struct {

	// The tokens for any CostReports that use the BusinessMetric, the unit scale, and label filter.
	CostReportTokensWithMetadata []*CreateBusinessMetricCostReportTokensWithMetadataItems0 `json:"cost_report_tokens_with_metadata"`

	// The title of the BusinessMetrics.
	// Required: true
	Title *string `json:"title"`

	// The dates, amounts, and (optional) labels for the BusinessMetric.
	Values []*CreateBusinessMetricValuesItems0 `json:"values"`
}

CreateBusinessMetric Create a new BusinessMetric.

swagger:model createBusinessMetric

func (*CreateBusinessMetric) ContextValidate added in v0.0.14

func (m *CreateBusinessMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create business metric based on the context it is used

func (*CreateBusinessMetric) MarshalBinary added in v0.0.14

func (m *CreateBusinessMetric) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBusinessMetric) UnmarshalBinary added in v0.0.14

func (m *CreateBusinessMetric) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBusinessMetric) Validate added in v0.0.14

func (m *CreateBusinessMetric) Validate(formats strfmt.Registry) error

Validate validates this create business metric

type CreateBusinessMetricCostReportTokensWithMetadataItems0 added in v0.0.14

type CreateBusinessMetricCostReportTokensWithMetadataItems0 struct {

	// The token of the CostReport the BusinessMetric is attached to.
	// Required: true
	CostReportToken *string `json:"cost_report_token"`

	// Include only values with these labels in the CostReport.
	LabelFilter []string `json:"label_filter"`

	// Determines the scale of the BusinessMetric's values within the CostReport.
	// Enum: ["per_unit","per_hundred","per_thousand","per_million","per_billion"]
	UnitScale *string `json:"unit_scale,omitempty"`
}

CreateBusinessMetricCostReportTokensWithMetadataItems0 create business metric cost report tokens with metadata items0

swagger:model CreateBusinessMetricCostReportTokensWithMetadataItems0

func (*CreateBusinessMetricCostReportTokensWithMetadataItems0) ContextValidate added in v0.0.14

ContextValidate validates this create business metric cost report tokens with metadata items0 based on context it is used

func (*CreateBusinessMetricCostReportTokensWithMetadataItems0) MarshalBinary added in v0.0.14

MarshalBinary interface implementation

func (*CreateBusinessMetricCostReportTokensWithMetadataItems0) UnmarshalBinary added in v0.0.14

UnmarshalBinary interface implementation

func (*CreateBusinessMetricCostReportTokensWithMetadataItems0) Validate added in v0.0.14

Validate validates this create business metric cost report tokens with metadata items0

type CreateBusinessMetricValuesItems0 added in v0.0.14

type CreateBusinessMetricValuesItems0 struct {

	// amount
	// Required: true
	Amount *float64 `json:"amount"`

	// date
	// Required: true
	// Format: date-time
	Date *strfmt.DateTime `json:"date"`

	// label
	Label *string `json:"label,omitempty"`
}

CreateBusinessMetricValuesItems0 create business metric values items0

swagger:model CreateBusinessMetricValuesItems0

func (*CreateBusinessMetricValuesItems0) ContextValidate added in v0.0.14

func (m *CreateBusinessMetricValuesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create business metric values items0 based on context it is used

func (*CreateBusinessMetricValuesItems0) MarshalBinary added in v0.0.14

func (m *CreateBusinessMetricValuesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateBusinessMetricValuesItems0) UnmarshalBinary added in v0.0.14

func (m *CreateBusinessMetricValuesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateBusinessMetricValuesItems0) Validate added in v0.0.14

Validate validates this create business metric values items0

type CreateCostReport added in v0.0.14

type CreateCostReport struct {

	// The tokens for any BusinessMetrics to attach to the CostReport, and the unit scale.
	BusinessMetricTokensWithMetadata []*CreateCostReportBusinessMetricTokensWithMetadataItems0 `json:"business_metric_tokens_with_metadata"`

	// The chart type of the CostReport.
	// Enum: ["area","line","pie","bar"]
	ChartType *string `json:"chart_type,omitempty"`

	// The date bin of the CostReport.
	// Enum: ["cumulative","day","week","month"]
	DateBin *string `json:"date_bin,omitempty"`

	// The date interval of the CostReport. Incompatible with 'start_date' and 'end_date' parameters. Defaults to 'this_month' if start_date and end_date are not provided.
	// Enum: ["this_month","last_7_days","last_30_days","last_month","last_3_months","last_6_months","custom","last_12_months","last_24_months","last_36_months","next_month","next_3_months","next_6_months","next_12_months","year_to_date","last_3_days"]
	DateInterval string `json:"date_interval,omitempty"`

	// The end date of the CostReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	// Required: true
	EndDate *string `json:"end_date"`

	// The filter query language to apply to the CostReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The token of the Folder to add the CostReport to. Determines the Workspace the report is assigned to.
	FolderToken string `json:"folder_token,omitempty"`

	// Grouping values for aggregating costs on the report. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region
	Groupings string `json:"groupings,omitempty"`

	// The previous period end date of the CostReport. ISO 8601 Formatted.
	// Required: true
	PreviousPeriodEndDate *string `json:"previous_period_end_date"`

	// The previous period start date of the CostReport. ISO 8601 Formatted.
	PreviousPeriodStartDate string `json:"previous_period_start_date,omitempty"`

	// The tokens of the SavedFilters to apply to the CostReport.
	SavedFilterTokens []string `json:"saved_filter_tokens"`

	// settings
	Settings *CreateCostReportSettings `json:"settings,omitempty"`

	// The start date of the CostReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	StartDate string `json:"start_date,omitempty"`

	// The title of the CostReport.
	// Required: true
	Title *string `json:"title"`

	// The token of the Workspace to add the Cost Report to. Ignored if 'folder_token' is set. Required if the API token is associated with multiple Workspaces.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

CreateCostReport Create a CostReport.

swagger:model createCostReport

func (*CreateCostReport) ContextValidate added in v0.0.14

func (m *CreateCostReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create cost report based on the context it is used

func (*CreateCostReport) MarshalBinary added in v0.0.14

func (m *CreateCostReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateCostReport) UnmarshalBinary added in v0.0.14

func (m *CreateCostReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateCostReport) Validate added in v0.0.14

func (m *CreateCostReport) Validate(formats strfmt.Registry) error

Validate validates this create cost report

type CreateCostReportBusinessMetricTokensWithMetadataItems0 added in v0.0.14

type CreateCostReportBusinessMetricTokensWithMetadataItems0 struct {

	// The token of the BusinessMetric to attach to the CostReport.
	// Required: true
	BusinessMetricToken *string `json:"business_metric_token"`

	// Include only values with these labels in the CostReport.
	LabelFilter []string `json:"label_filter"`

	// Determines the scale of the BusinessMetric's values within the CostReport.
	// Enum: ["per_unit","per_hundred","per_thousand","per_million","per_billion"]
	UnitScale *string `json:"unit_scale,omitempty"`
}

CreateCostReportBusinessMetricTokensWithMetadataItems0 create cost report business metric tokens with metadata items0

swagger:model CreateCostReportBusinessMetricTokensWithMetadataItems0

func (*CreateCostReportBusinessMetricTokensWithMetadataItems0) ContextValidate added in v0.0.14

ContextValidate validates this create cost report business metric tokens with metadata items0 based on context it is used

func (*CreateCostReportBusinessMetricTokensWithMetadataItems0) MarshalBinary added in v0.0.14

MarshalBinary interface implementation

func (*CreateCostReportBusinessMetricTokensWithMetadataItems0) UnmarshalBinary added in v0.0.14

UnmarshalBinary interface implementation

func (*CreateCostReportBusinessMetricTokensWithMetadataItems0) Validate added in v0.0.14

Validate validates this create cost report business metric tokens with metadata items0

type CreateCostReportSettings added in v0.0.14

type CreateCostReportSettings struct {

	// Report will aggregate by cost or usage.
	AggregateBy *string `json:"aggregate_by,omitempty"`

	// Report will amortize.
	Amortize *bool `json:"amortize,omitempty"`

	// Report will include credits.
	IncludeCredits *bool `json:"include_credits,omitempty"`

	// Report will include discounts.
	IncludeDiscounts *bool `json:"include_discounts,omitempty"`

	// Report will include refunds.
	IncludeRefunds *bool `json:"include_refunds,omitempty"`

	// Report will include tax.
	IncludeTax *bool `json:"include_tax,omitempty"`

	// Report will show unallocated costs.
	Unallocated *bool `json:"unallocated,omitempty"`
}

CreateCostReportSettings Report settings.

swagger:model CreateCostReportSettings

func (*CreateCostReportSettings) ContextValidate added in v0.0.14

func (m *CreateCostReportSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create cost report settings based on context it is used

func (*CreateCostReportSettings) MarshalBinary added in v0.0.14

func (m *CreateCostReportSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateCostReportSettings) UnmarshalBinary added in v0.0.14

func (m *CreateCostReportSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateCostReportSettings) Validate added in v0.0.14

func (m *CreateCostReportSettings) Validate(formats strfmt.Registry) error

Validate validates this create cost report settings

type CreateCustomProviderIntegration added in v0.0.36

type CreateCustomProviderIntegration struct {

	// Description of the Custom Provider Integration.
	Description string `json:"description,omitempty"`

	// Name of the Custom Provider Integration.
	// Required: true
	Name *string `json:"name"`
}

CreateCustomProviderIntegration Create a Custom Provider Integration

swagger:model createCustomProviderIntegration

func (*CreateCustomProviderIntegration) ContextValidate added in v0.0.36

func (m *CreateCustomProviderIntegration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create custom provider integration based on context it is used

func (*CreateCustomProviderIntegration) MarshalBinary added in v0.0.36

func (m *CreateCustomProviderIntegration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateCustomProviderIntegration) UnmarshalBinary added in v0.0.36

func (m *CreateCustomProviderIntegration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateCustomProviderIntegration) Validate added in v0.0.36

Validate validates this create custom provider integration

type CreateDashboard added in v0.0.14

type CreateDashboard struct {

	// Determines how to group costs in the Dashboard.
	// Enum: ["cumulative","day","week","month"]
	DateBin string `json:"date_bin,omitempty"`

	// Determines the date range in the Dashboard. Incompatible with 'start_date' and 'end_date' parameters.
	// Enum: ["this_month","last_7_days","last_30_days","last_month","last_3_months","last_6_months","custom","last_12_months","last_24_months","last_36_months","next_month","next_3_months","next_6_months","next_12_months","year_to_date","last_3_days"]
	DateInterval string `json:"date_interval,omitempty"`

	// The end date for the date range for costs in the Dashboard. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	// Required: true
	EndDate *string `json:"end_date"`

	// The tokens of the Saved Filters used in the Dashboard.
	SavedFilterTokens []string `json:"saved_filter_tokens"`

	// The start date for the date range for costs in the Dashboard. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	StartDate string `json:"start_date,omitempty"`

	// The title of the Dashboard.
	// Required: true
	Title *string `json:"title"`

	// The widgets to add to the Dashboard. Currently supports CostReport, ResourceReport, KubernetesEfficiencyReport, and FinancialCommitmentReport.
	Widgets []*CreateDashboardWidgetsItems0 `json:"widgets"`

	// The token of the Workspace to add the Dashboard to. Required if the API token is associated with multiple Workspaces.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

CreateDashboard Create a Dashboard.

swagger:model createDashboard

func (*CreateDashboard) ContextValidate added in v0.0.14

func (m *CreateDashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create dashboard based on the context it is used

func (*CreateDashboard) MarshalBinary added in v0.0.14

func (m *CreateDashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDashboard) UnmarshalBinary added in v0.0.14

func (m *CreateDashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDashboard) Validate added in v0.0.14

func (m *CreateDashboard) Validate(formats strfmt.Registry) error

Validate validates this create dashboard

type CreateDashboardWidgetsItems0 added in v0.0.46

type CreateDashboardWidgetsItems0 struct {

	// settings
	Settings *CreateDashboardWidgetsItems0Settings `json:"settings,omitempty"`

	// The title of the Widget (defaults to the title of the Resource).
	Title string `json:"title,omitempty"`

	// The token of the represented Resource.
	// Required: true
	WidgetableToken *string `json:"widgetable_token"`
}

CreateDashboardWidgetsItems0 create dashboard widgets items0

swagger:model CreateDashboardWidgetsItems0

func (*CreateDashboardWidgetsItems0) ContextValidate added in v0.0.46

func (m *CreateDashboardWidgetsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create dashboard widgets items0 based on the context it is used

func (*CreateDashboardWidgetsItems0) MarshalBinary added in v0.0.46

func (m *CreateDashboardWidgetsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDashboardWidgetsItems0) UnmarshalBinary added in v0.0.46

func (m *CreateDashboardWidgetsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDashboardWidgetsItems0) Validate added in v0.0.46

func (m *CreateDashboardWidgetsItems0) Validate(formats strfmt.Registry) error

Validate validates this create dashboard widgets items0

type CreateDashboardWidgetsItems0Settings added in v0.0.46

type CreateDashboardWidgetsItems0Settings struct {

	// display type
	// Required: true
	// Enum: ["table","chart"]
	DisplayType *string `json:"display_type"`
}

CreateDashboardWidgetsItems0Settings The settings for the DashboardWidget.

swagger:model CreateDashboardWidgetsItems0Settings

func (*CreateDashboardWidgetsItems0Settings) ContextValidate added in v0.0.46

func (m *CreateDashboardWidgetsItems0Settings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create dashboard widgets items0 settings based on context it is used

func (*CreateDashboardWidgetsItems0Settings) MarshalBinary added in v0.0.46

func (m *CreateDashboardWidgetsItems0Settings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDashboardWidgetsItems0Settings) UnmarshalBinary added in v0.0.46

func (m *CreateDashboardWidgetsItems0Settings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDashboardWidgetsItems0Settings) Validate added in v0.0.46

Validate validates this create dashboard widgets items0 settings

type CreateFinancialCommitmentReport added in v0.0.48

type CreateFinancialCommitmentReport struct {

	// The date bucket of the FinancialCommitmentReport.
	// Enum: ["day","week","month"]
	DateBucket string `json:"date_bucket,omitempty"`

	// The date interval of the FinancialCommitmentReport. Unless 'custom' is used, this is incompatible with 'start_date' and 'end_date' parameters. Defaults to 'last_3_months'.
	// Enum: ["this_month","last_7_days","last_30_days","last_month","last_3_months","last_6_months","custom","last_12_months","last_24_months","last_36_months","year_to_date","last_3_days"]
	DateInterval string `json:"date_interval,omitempty"`

	// The end date of the FinancialCommitmentReport. YYYY-MM-DD formatted. Incompatible with 'date_interval' parameter.
	// Example: 2024-03-01
	// Format: date
	EndDate strfmt.Date `json:"end_date,omitempty"`

	// The filter query language to apply to the FinancialCommitmentReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// Grouping values for aggregating costs on the FinancialCommitmentReport. Valid groupings: cost_type, commitment_type, service, resource_account_id, provider_account_id, region, cost_category, cost_sub_category, instance_type, tag, tag:<label_name>.
	Groupings []string `json:"groupings"`

	// The scope for the costs. Possible values: discountable, all.
	// Enum: ["discountable","all"]
	OnDemandCostsScope string `json:"on_demand_costs_scope,omitempty"`

	// The start date of the FinancialCommitmentReport. YYYY-MM-DD formatted. Incompatible with 'date_interval' parameter.
	// Example: 2024-03-01
	// Format: date
	StartDate strfmt.Date `json:"start_date,omitempty"`

	// The title of the FinancialCommitmentReport.
	// Required: true
	Title *string `json:"title"`

	// The Workspace in which the FinancialCommitmentReport will be created.
	// Required: true
	WorkspaceToken *string `json:"workspace_token"`
}

CreateFinancialCommitmentReport Create a FinancialCommitmentReport.

swagger:model createFinancialCommitmentReport

func (*CreateFinancialCommitmentReport) ContextValidate added in v0.0.48

func (m *CreateFinancialCommitmentReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create financial commitment report based on context it is used

func (*CreateFinancialCommitmentReport) MarshalBinary added in v0.0.48

func (m *CreateFinancialCommitmentReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateFinancialCommitmentReport) UnmarshalBinary added in v0.0.48

func (m *CreateFinancialCommitmentReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateFinancialCommitmentReport) Validate added in v0.0.48

Validate validates this create financial commitment report

type CreateFolder added in v0.0.14

type CreateFolder struct {

	// The token of the parent Folder.
	ParentFolderToken string `json:"parent_folder_token,omitempty"`

	// The tokens of the SavedFilters to apply to any Cost Report contained within the Folder.
	SavedFilterTokens []string `json:"saved_filter_tokens"`

	// The title of the Folder.
	// Required: true
	Title *string `json:"title"`

	// The token of the Workspace to add the Folder to. Ignored if 'parent_folder_token' is set. Required if the API token is associated with multiple Workspaces.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

CreateFolder Create a Folder for CostReports.

swagger:model createFolder

func (*CreateFolder) ContextValidate added in v0.0.14

func (m *CreateFolder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create folder based on context it is used

func (*CreateFolder) MarshalBinary added in v0.0.14

func (m *CreateFolder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateFolder) UnmarshalBinary added in v0.0.14

func (m *CreateFolder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateFolder) Validate added in v0.0.14

func (m *CreateFolder) Validate(formats strfmt.Registry) error

Validate validates this create folder

type CreateGCPIntegration added in v0.0.25

type CreateGCPIntegration struct {

	// GCP billing account ID.
	// Required: true
	BillingAccountID *string `json:"billing_account_id"`

	// BigQuery dataset name.
	// Required: true
	DatasetName *string `json:"dataset_name"`

	// GCP project ID.
	// Required: true
	ProjectID *string `json:"project_id"`
}

CreateGCPIntegration Create a GCP Integration

swagger:model createGCPIntegration

func (*CreateGCPIntegration) ContextValidate added in v0.0.25

func (m *CreateGCPIntegration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create g c p integration based on context it is used

func (*CreateGCPIntegration) MarshalBinary added in v0.0.25

func (m *CreateGCPIntegration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateGCPIntegration) UnmarshalBinary added in v0.0.25

func (m *CreateGCPIntegration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateGCPIntegration) Validate added in v0.0.25

func (m *CreateGCPIntegration) Validate(formats strfmt.Registry) error

Validate validates this create g c p integration

type CreateKubernetesEfficiencyReport added in v0.0.41

type CreateKubernetesEfficiencyReport struct {

	// The column by which the costs are aggregated.
	// Enum: ["idle_cost","amount","cost_efficiency"]
	AggregatedBy string `json:"aggregated_by,omitempty"`

	// The date bucket of the KubernetesEfficiencyReport.
	// Enum: ["day","week","month"]
	DateBucket string `json:"date_bucket,omitempty"`

	// The date interval of the KubernetesEfficiencyReport. Incompatible with 'start_date' and 'end_date' parameters. Defaults to 'this_month' if start_date and end_date are not provided.
	// Enum: ["this_month","last_7_days","last_30_days","last_month","last_3_months","last_6_months","custom","last_12_months","last_24_months","last_36_months","next_month","next_3_months","next_6_months","next_12_months","year_to_date","last_3_days"]
	DateInterval string `json:"date_interval,omitempty"`

	// The end date of the KubernetesEfficiencyReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	// Format: date
	EndDate strfmt.Date `json:"end_date,omitempty"`

	// The filter query language to apply to the KubernetesEfficiencyReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, labeled, category, label, label:<label_name>.
	Groupings []string `json:"groupings"`

	// The start date of the KubernetesEfficiencyReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	// Format: date
	StartDate strfmt.Date `json:"start_date,omitempty"`

	// The title of the KubernetesEfficiencyReport.
	// Required: true
	Title *string `json:"title"`

	// The Workspace in which the KubernetesEfficiencyReport will be created.
	// Required: true
	WorkspaceToken *string `json:"workspace_token"`
}

CreateKubernetesEfficiencyReport Create a KubernetesEfficiencyReport.

swagger:model createKubernetesEfficiencyReport

func (*CreateKubernetesEfficiencyReport) ContextValidate added in v0.0.41

func (m *CreateKubernetesEfficiencyReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create kubernetes efficiency report based on context it is used

func (*CreateKubernetesEfficiencyReport) MarshalBinary added in v0.0.41

func (m *CreateKubernetesEfficiencyReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateKubernetesEfficiencyReport) UnmarshalBinary added in v0.0.41

func (m *CreateKubernetesEfficiencyReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateKubernetesEfficiencyReport) Validate added in v0.0.41

Validate validates this create kubernetes efficiency report

type CreateManagedAccount added in v0.0.25

type CreateManagedAccount struct {

	// Access Credential (aka Integrations) tokens to assign to the Managed Account.
	AccessCredentialTokens []string `json:"access_credential_tokens"`

	// Billing Rule tokens to assign to the Managed Account.
	BillingRuleTokens []string `json:"billing_rule_tokens"`

	// The contact email address for the Managed Account.
	// Required: true
	ContactEmail *string `json:"contact_email"`

	// The name of the Managed Account.
	// Required: true
	Name *string `json:"name"`
}

CreateManagedAccount Create a Managed Account.

swagger:model createManagedAccount

func (*CreateManagedAccount) ContextValidate added in v0.0.25

func (m *CreateManagedAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create managed account based on context it is used

func (*CreateManagedAccount) MarshalBinary added in v0.0.25

func (m *CreateManagedAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateManagedAccount) UnmarshalBinary added in v0.0.25

func (m *CreateManagedAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateManagedAccount) Validate added in v0.0.25

func (m *CreateManagedAccount) Validate(formats strfmt.Registry) error

Validate validates this create managed account

type CreateNetworkFlowReport added in v0.0.51

type CreateNetworkFlowReport struct {

	// The date interval of the NetworkFlowReport. Unless 'custom' is used, this is incompatible with 'start_date' and 'end_date' parameters. Defaults to 'last_7_days'.
	// Enum: ["last_3_days","last_7_days","custom"]
	DateInterval string `json:"date_interval,omitempty"`

	// The end date of the NetworkFlowReport. YYYY-MM-DD formatted. Incompatible with 'date_interval' parameter.
	// Format: date
	EndDate strfmt.Date `json:"end_date,omitempty"`

	// The filter query language to apply to the NetworkFlowReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The flow direction of the NetworkFlowReport.
	// Enum: ["ingress","egress"]
	FlowDirection string `json:"flow_direction,omitempty"`

	// The dimension by which the logs in the report are sorted. Defaults to costs.
	// Enum: ["costs","bytes"]
	FlowWeight string `json:"flow_weight,omitempty"`

	// Grouping values for aggregating data on the NetworkFlowReport. Valid groupings: account_id, az_id, dstaddr, dsthostname, flow_direction, interface_id, instance_id, peer_resource_uuid, peer_account_id, peer_vpc_id, peer_region, peer_az_id, peer_subnet_id, peer_interface_id, peer_instance_id, region, resource_uuid, srcaddr, srchostname, subnet_id, traffic_category, traffic_path, vpc_id.
	Groupings []string `json:"groupings"`

	// The start date of the NetworkFlowReport. YYYY-MM-DD formatted. Incompatible with 'date_interval' parameter.
	// Format: date
	StartDate strfmt.Date `json:"start_date,omitempty"`

	// The title of the NetworkFlowReport.
	// Required: true
	Title *string `json:"title"`

	// The Workspace in which the NetworkFlowReport will be created.
	// Required: true
	WorkspaceToken *string `json:"workspace_token"`
}

CreateNetworkFlowReport Create a NetworkFlowReport.

swagger:model createNetworkFlowReport

func (*CreateNetworkFlowReport) ContextValidate added in v0.0.51

func (m *CreateNetworkFlowReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create network flow report based on context it is used

func (*CreateNetworkFlowReport) MarshalBinary added in v0.0.51

func (m *CreateNetworkFlowReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateNetworkFlowReport) UnmarshalBinary added in v0.0.51

func (m *CreateNetworkFlowReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateNetworkFlowReport) Validate added in v0.0.51

func (m *CreateNetworkFlowReport) Validate(formats strfmt.Registry) error

Validate validates this create network flow report

type CreateReportNotification added in v0.0.14

type CreateReportNotification struct {

	// The type of change the ReportNotification is tracking. Possible values: percentage, dollars.
	// Required: true
	Change *string `json:"change"`

	// The CostReport token.
	// Required: true
	CostReportToken *string `json:"cost_report_token"`

	// The frequency the ReportNotification is sent. Possible values: daily, weekly, monthly.
	// Required: true
	Frequency *string `json:"frequency"`

	// The Slack or Microsoft Teams channels that receive the notification.
	RecipientChannels []string `json:"recipient_channels"`

	// The title of the ReportNotification.
	// Required: true
	Title *string `json:"title"`

	// The Users that receive the notification.
	UserTokens []string `json:"user_tokens"`

	// The token of the Workspace to add the ReportNotification to. Required if the API token is associated with multiple Workspaces.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

CreateReportNotification Create a ReportNotification.

swagger:model createReportNotification

func (*CreateReportNotification) ContextValidate added in v0.0.14

func (m *CreateReportNotification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create report notification based on context it is used

func (*CreateReportNotification) MarshalBinary added in v0.0.14

func (m *CreateReportNotification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateReportNotification) UnmarshalBinary added in v0.0.14

func (m *CreateReportNotification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateReportNotification) Validate added in v0.0.14

func (m *CreateReportNotification) Validate(formats strfmt.Registry) error

Validate validates this create report notification

type CreateResourceReport added in v0.0.37

type CreateResourceReport struct {

	// The filter query language to apply to the ResourceReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The title of the ResourceReport.
	Title string `json:"title,omitempty"`

	// The token of the Workspace to add the ResourceReport to.
	// Required: true
	WorkspaceToken *string `json:"workspace_token"`
}

CreateResourceReport Create a ResourceReport.

swagger:model createResourceReport

func (*CreateResourceReport) ContextValidate added in v0.0.37

func (m *CreateResourceReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create resource report based on context it is used

func (*CreateResourceReport) MarshalBinary added in v0.0.37

func (m *CreateResourceReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateResourceReport) UnmarshalBinary added in v0.0.37

func (m *CreateResourceReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateResourceReport) Validate added in v0.0.37

func (m *CreateResourceReport) Validate(formats strfmt.Registry) error

Validate validates this create resource report

type CreateSavedFilter added in v0.0.14

type CreateSavedFilter struct {

	// The filter query language to apply to the SavedFilter, which subsequently gets applied to a CostReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The title of the SavedFilter.
	// Required: true
	Title *string `json:"title"`

	// The Workspace to associate the SavedFilter with. Required if the API token is associated with multiple Workspaces.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

CreateSavedFilter Create a SavedFilter for CostReports.

swagger:model createSavedFilter

func (*CreateSavedFilter) ContextValidate added in v0.0.14

func (m *CreateSavedFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create saved filter based on context it is used

func (*CreateSavedFilter) MarshalBinary added in v0.0.14

func (m *CreateSavedFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSavedFilter) UnmarshalBinary added in v0.0.14

func (m *CreateSavedFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSavedFilter) Validate added in v0.0.14

func (m *CreateSavedFilter) Validate(formats strfmt.Registry) error

Validate validates this create saved filter

type CreateSegment added in v0.0.14

type CreateSegment struct {

	// The description of the Segment.
	Description string `json:"description,omitempty"`

	// The filter query language to apply to the Segment. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The token of the parent Segment this new Segment belongs to. Determines the Workspace the segment is assigned to.
	ParentSegmentToken string `json:"parent_segment_token,omitempty"`

	// The priority of the Segment.
	Priority int32 `json:"priority,omitempty"`

	// report settings
	ReportSettings *CreateSegmentReportSettings `json:"report_settings,omitempty"`

	// The title of the Segment.
	// Required: true
	Title *string `json:"title"`

	// Track Unallocated Costs which are not assigned to any of the created Segments.
	TrackUnallocated *bool `json:"track_unallocated,omitempty"`

	// The token of the Workspace to add the Segment to. Ignored if 'segment_token' is set. Required if the API token is associated with multiple Workspaces.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

CreateSegment Create a Segment.

swagger:model createSegment

func (*CreateSegment) ContextValidate added in v0.0.14

func (m *CreateSegment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create segment based on the context it is used

func (*CreateSegment) MarshalBinary added in v0.0.14

func (m *CreateSegment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSegment) UnmarshalBinary added in v0.0.14

func (m *CreateSegment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSegment) Validate added in v0.0.14

func (m *CreateSegment) Validate(formats strfmt.Registry) error

Validate validates this create segment

type CreateSegmentReportSettings added in v0.0.14

type CreateSegmentReportSettings struct {

	// Reports created under this Segment will amortize.
	Amortize bool `json:"amortize,omitempty"`

	// Reports created under this Segment will include credits.
	IncludeCredits bool `json:"include_credits,omitempty"`

	// Reports created under this Segment will include discounts.
	IncludeDiscounts bool `json:"include_discounts,omitempty"`

	// Reports created under this Segment will include refunds.
	IncludeRefunds bool `json:"include_refunds,omitempty"`

	// Reports created under this Segment will include tax.
	IncludeTax bool `json:"include_tax,omitempty"`
}

CreateSegmentReportSettings Report settings configurable on top-level Segments.

swagger:model CreateSegmentReportSettings

func (*CreateSegmentReportSettings) ContextValidate added in v0.0.14

func (m *CreateSegmentReportSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create segment report settings based on context it is used

func (*CreateSegmentReportSettings) MarshalBinary added in v0.0.14

func (m *CreateSegmentReportSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSegmentReportSettings) UnmarshalBinary added in v0.0.14

func (m *CreateSegmentReportSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSegmentReportSettings) Validate added in v0.0.14

func (m *CreateSegmentReportSettings) Validate(formats strfmt.Registry) error

Validate validates this create segment report settings

type CreateTeam added in v0.0.14

type CreateTeam struct {

	// The description of the Team.
	Description string `json:"description,omitempty"`

	// The name of the Team.
	// Required: true
	Name *string `json:"name"`

	// The role to assign to the provided Users. Defaults to 'editor' which has editor permissions.
	// Enum: ["owner","editor","viewer"]
	Role string `json:"role,omitempty"`

	// The User emails to associate to the Team.
	UserEmails []string `json:"user_emails"`

	// The User tokens to associate to the Team.
	UserTokens []string `json:"user_tokens"`

	// The Workspace tokens to associate to the Team.
	WorkspaceTokens []string `json:"workspace_tokens"`
}

CreateTeam Create a new Team.

swagger:model createTeam

func (*CreateTeam) ContextValidate added in v0.0.14

func (m *CreateTeam) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create team based on context it is used

func (*CreateTeam) MarshalBinary added in v0.0.14

func (m *CreateTeam) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateTeam) UnmarshalBinary added in v0.0.14

func (m *CreateTeam) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateTeam) Validate added in v0.0.14

func (m *CreateTeam) Validate(formats strfmt.Registry) error

Validate validates this create team

type CreateVirtualTagConfig added in v0.0.14

type CreateVirtualTagConfig struct {

	// The earliest month the VirtualTagConfig should be backfilled to.
	// Format: date
	BackfillUntil strfmt.Date `json:"backfill_until,omitempty"`

	// The key of the VirtualTagConfig.
	// Required: true
	Key *string `json:"key"`

	// Whether the VirtualTagConfig can override a provider-supplied tag on a matching Cost.
	// Required: true
	Overridable *bool `json:"overridable"`

	// Values for the VirtualTagConfig, with match precedence determined by order in the list.
	Values []*CreateVirtualTagConfigValuesItems0 `json:"values"`
}

CreateVirtualTagConfig Create a new VirtualTagConfig.

swagger:model createVirtualTagConfig

func (*CreateVirtualTagConfig) ContextValidate added in v0.0.14

func (m *CreateVirtualTagConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create virtual tag config based on the context it is used

func (*CreateVirtualTagConfig) MarshalBinary added in v0.0.14

func (m *CreateVirtualTagConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateVirtualTagConfig) UnmarshalBinary added in v0.0.14

func (m *CreateVirtualTagConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateVirtualTagConfig) Validate added in v0.0.14

func (m *CreateVirtualTagConfig) Validate(formats strfmt.Registry) error

Validate validates this create virtual tag config

type CreateVirtualTagConfigValuesItems0 added in v0.0.14

type CreateVirtualTagConfigValuesItems0 struct {

	// The token of an associated business metric.
	BusinessMetricToken string `json:"business_metric_token,omitempty"`

	// cost metric
	CostMetric *CreateVirtualTagConfigValuesItems0CostMetric `json:"cost_metric,omitempty"`

	// The filter query language to apply to the value. Additional documentation available at https://docs.vantage.sh/vql.
	// Required: true
	Filter *string `json:"filter"`

	// The name of the value.
	Name string `json:"name,omitempty"`
}

CreateVirtualTagConfigValuesItems0 create virtual tag config values items0

swagger:model CreateVirtualTagConfigValuesItems0

func (*CreateVirtualTagConfigValuesItems0) ContextValidate added in v0.0.14

func (m *CreateVirtualTagConfigValuesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create virtual tag config values items0 based on the context it is used

func (*CreateVirtualTagConfigValuesItems0) MarshalBinary added in v0.0.14

func (m *CreateVirtualTagConfigValuesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateVirtualTagConfigValuesItems0) UnmarshalBinary added in v0.0.14

func (m *CreateVirtualTagConfigValuesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateVirtualTagConfigValuesItems0) Validate added in v0.0.14

Validate validates this create virtual tag config values items0

type CreateVirtualTagConfigValuesItems0CostMetric added in v0.0.31

type CreateVirtualTagConfigValuesItems0CostMetric struct {

	// aggregation
	// Required: true
	Aggregation *CreateVirtualTagConfigValuesItems0CostMetricAggregation `json:"aggregation"`

	// filter
	// Required: true
	Filter *string `json:"filter"`
}

CreateVirtualTagConfigValuesItems0CostMetric create virtual tag config values items0 cost metric

swagger:model CreateVirtualTagConfigValuesItems0CostMetric

func (*CreateVirtualTagConfigValuesItems0CostMetric) ContextValidate added in v0.0.31

ContextValidate validate this create virtual tag config values items0 cost metric based on the context it is used

func (*CreateVirtualTagConfigValuesItems0CostMetric) MarshalBinary added in v0.0.31

MarshalBinary interface implementation

func (*CreateVirtualTagConfigValuesItems0CostMetric) UnmarshalBinary added in v0.0.31

UnmarshalBinary interface implementation

func (*CreateVirtualTagConfigValuesItems0CostMetric) Validate added in v0.0.31

Validate validates this create virtual tag config values items0 cost metric

type CreateVirtualTagConfigValuesItems0CostMetricAggregation added in v0.0.31

type CreateVirtualTagConfigValuesItems0CostMetricAggregation struct {

	// tag
	// Required: true
	Tag *string `json:"tag"`
}

CreateVirtualTagConfigValuesItems0CostMetricAggregation create virtual tag config values items0 cost metric aggregation

swagger:model CreateVirtualTagConfigValuesItems0CostMetricAggregation

func (*CreateVirtualTagConfigValuesItems0CostMetricAggregation) ContextValidate added in v0.0.31

ContextValidate validates this create virtual tag config values items0 cost metric aggregation based on context it is used

func (*CreateVirtualTagConfigValuesItems0CostMetricAggregation) MarshalBinary added in v0.0.31

MarshalBinary interface implementation

func (*CreateVirtualTagConfigValuesItems0CostMetricAggregation) UnmarshalBinary added in v0.0.31

UnmarshalBinary interface implementation

func (*CreateVirtualTagConfigValuesItems0CostMetricAggregation) Validate added in v0.0.31

Validate validates this create virtual tag config values items0 cost metric aggregation

type Dashboard

type Dashboard struct {

	// The date and time, in UTC, the Dashboard was created. ISO 8601 Formatted.
	// Example: 2023-08-04T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// Determines how to group costs in the Dashboard.
	// Enum: ["cumulative","day","week","month"]
	DateBin string `json:"date_bin,omitempty"`

	// Determines the date range for Reports in the Dashboard. Guaranteed to be set to 'custom' if 'start_date' and 'end_date' are set.
	// Enum: ["this_month","last_7_days","last_30_days","last_month","last_3_months","last_6_months","custom","last_12_months","last_24_months","last_36_months","next_month","next_3_months","next_6_months","next_12_months","year_to_date","last_3_days"]
	DateInterval string `json:"date_interval,omitempty"`

	// The end date for the date range for Reports in the Dashboard. ISO 8601 Formatted. Overwrites 'date_interval' if set.
	// Example: 2023-09-04
	EndDate string `json:"end_date,omitempty"`

	// The tokens of the Saved Filters used in the Dashboard.
	SavedFilterTokens []string `json:"saved_filter_tokens"`

	// The start date for the date range for Reports in the Dashboard. ISO 8601 Formatted. Overwrites 'date_interval' if set.
	// Example: 2023-08-04
	StartDate string `json:"start_date,omitempty"`

	// The title of the Dashboard.
	// Example: AWS Dashboard
	Title string `json:"title,omitempty"`

	// token
	// Example: dshbrd_abcd1234567890
	Token string `json:"token,omitempty"`

	// The date and time, in UTC, the Dashboard was created. ISO 8601 Formatted.
	// Example: 2023-08-04T00:00:00Z
	UpdatedAt string `json:"updated_at,omitempty"`

	// widgets
	Widgets []*DashboardWidget `json:"widgets"`

	// The token for the Workspace the Dashboard is a part of.
	// Example: wrkspc_abcd1234567890
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

Dashboard Dashboard model

swagger:model Dashboard

func (*Dashboard) ContextValidate

func (m *Dashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dashboard based on the context it is used

func (*Dashboard) MarshalBinary

func (m *Dashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Dashboard) UnmarshalBinary

func (m *Dashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Dashboard) Validate

func (m *Dashboard) Validate(formats strfmt.Registry) error

Validate validates this dashboard

type DashboardWidget added in v0.0.46

type DashboardWidget struct {

	// The settings for the DashboardWidget
	Settings *DashboardWidgetSettings `json:"settings,omitempty"`

	// The title of the Widget.
	// Example: My Widget
	Title string `json:"title,omitempty"`

	// widgetable token
	// Example: rprt_a12b3c
	WidgetableToken string `json:"widgetable_token,omitempty"`
}

DashboardWidget dashboard widget

swagger:model DashboardWidget

func (*DashboardWidget) ContextValidate added in v0.0.46

func (m *DashboardWidget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dashboard widget based on the context it is used

func (*DashboardWidget) MarshalBinary added in v0.0.46

func (m *DashboardWidget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DashboardWidget) UnmarshalBinary added in v0.0.46

func (m *DashboardWidget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DashboardWidget) Validate added in v0.0.46

func (m *DashboardWidget) Validate(formats strfmt.Registry) error

Validate validates this dashboard widget

type DashboardWidgetSettings added in v0.0.46

type DashboardWidgetSettings struct {

	// display type
	// Enum: ["table","chart"]
	DisplayType string `json:"display_type,omitempty"`
}

DashboardWidgetSettings dashboard widget settings

swagger:model DashboardWidgetSettings

func (*DashboardWidgetSettings) ContextValidate added in v0.0.46

func (m *DashboardWidgetSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dashboard widget settings based on context it is used

func (*DashboardWidgetSettings) MarshalBinary added in v0.0.46

func (m *DashboardWidgetSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DashboardWidgetSettings) UnmarshalBinary added in v0.0.46

func (m *DashboardWidgetSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DashboardWidgetSettings) Validate added in v0.0.46

func (m *DashboardWidgetSettings) Validate(formats strfmt.Registry) error

Validate validates this dashboard widget settings

type Dashboards

type Dashboards struct {

	// dashboards
	Dashboards []*Dashboard `json:"dashboards"`

	// links
	Links interface{} `json:"links,omitempty"`
}

Dashboards Dashboards model

swagger:model Dashboards

func (*Dashboards) ContextValidate

func (m *Dashboards) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dashboards based on the context it is used

func (*Dashboards) MarshalBinary

func (m *Dashboards) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Dashboards) UnmarshalBinary

func (m *Dashboards) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Dashboards) Validate

func (m *Dashboards) Validate(formats strfmt.Registry) error

Validate validates this dashboards

type Errors

type Errors struct {

	// errors
	Errors []string `json:"errors"`

	// links
	Links interface{} `json:"links,omitempty"`
}

Errors Errors model

swagger:model Errors

func (*Errors) ContextValidate

func (m *Errors) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this errors based on context it is used

func (*Errors) MarshalBinary

func (m *Errors) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Errors) UnmarshalBinary

func (m *Errors) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Errors) Validate

func (m *Errors) Validate(formats strfmt.Registry) error

Validate validates this errors

type FinancialCommitment added in v0.0.23

type FinancialCommitment struct {

	// The account for this financial commitment.
	// Example: 113074892135
	Account string `json:"account,omitempty"`

	// The number of instances for the financial commitment.
	// Example: 4
	Amount string `json:"amount,omitempty"`

	// The amount of the financial commitment.
	// Example: $2.18
	Commitment string `json:"commitment,omitempty"`

	// The commitment type (eg Savings Plan or Reserved Instance).
	// Example: Savings Plan
	CommitmentType string `json:"commitment_type,omitempty"`

	// The date and time, in UTC, the Financial Commitment was created. ISO 8601 Formatted.
	// Example: 2024-03-19T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The expiration date of the financial commitment. ISO 8601 Formatted.
	// Example: 2026-08-30
	ExpirationDate string `json:"expiration_date,omitempty"`

	// The type of payment for the financial commitment.
	// Example: No upfront
	PaymentType string `json:"payment_type,omitempty"`

	// The purchase date of the financial commitment. ISO 8601 Formatted.
	// Example: 2023-08-30
	PurchaseDate string `json:"purchase_date,omitempty"`

	// The region for the financial commitment.
	// Example: us-east-1
	Region string `json:"region,omitempty"`

	// The service this commitment applies towards.
	// Example: Compute
	Service string `json:"service,omitempty"`

	// The status of the financial commitment (e.g. active vs expired).
	// Example: active
	Status string `json:"status,omitempty"`

	// The duration in years of the financial commitment.
	// Example: 3 Year
	Term string `json:"term,omitempty"`

	// The type of financial commitment.
	// Example: m5.large
	Type string `json:"type,omitempty"`

	// The token for the Workspace the FinancialCommitment is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

FinancialCommitment financial commitment

swagger:model FinancialCommitment

func (*FinancialCommitment) ContextValidate added in v0.0.23

func (m *FinancialCommitment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this financial commitment based on context it is used

func (*FinancialCommitment) MarshalBinary added in v0.0.23

func (m *FinancialCommitment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FinancialCommitment) UnmarshalBinary added in v0.0.23

func (m *FinancialCommitment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FinancialCommitment) Validate added in v0.0.23

func (m *FinancialCommitment) Validate(formats strfmt.Registry) error

Validate validates this financial commitment

type FinancialCommitmentReport added in v0.0.12

type FinancialCommitmentReport struct {

	// The date and time, in UTC, the report was created. ISO 8601 Formatted.
	// Example: 2024-03-19T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// How costs are grouped and displayed in the FinancialCommitmentReport. Possible values: day, week, month.
	// Example: month
	DateBucket string `json:"date_bucket,omitempty"`

	// The date range for the FinancialCommitmentReport. Only present if a custom date range is not specified.
	// Example: last_month
	DateInterval string `json:"date_interval,omitempty"`

	// Indicates whether the FinancialCommitmentReport is the default report.
	Default bool `json:"default,omitempty"`

	// The end date for the FinancialCommitmentReport. Only set for custom date ranges. ISO 8601 Formatted.
	// Example: 2024-03-20
	EndDate string `json:"end_date,omitempty"`

	// The filter applied to the FinancialCommitmentReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The grouping aggregations applied to the filtered data.
	// Example: cost_type, tag:account
	Groupings string `json:"groupings,omitempty"`

	// The scope for the costs. Possible values: discountable, all.
	// Example: discountable
	OnDemandCostsScope string `json:"on_demand_costs_scope,omitempty"`

	// The start date for the FinancialCommitmentReport. Only set for custom date ranges. ISO 8601 Formatted.
	// Example: 2024-03-01
	StartDate string `json:"start_date,omitempty"`

	// The title of the FinancialCommitmentReport.
	// Example: Acme123 Financial Commitment Report
	Title string `json:"title,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The token for the User who created this FinancialCommitmentReport.
	UserToken string `json:"user_token,omitempty"`

	// The token for the Workspace the FinancialCommitmentReport is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

FinancialCommitmentReport FinancialCommitmentReport model

swagger:model FinancialCommitmentReport

func (*FinancialCommitmentReport) ContextValidate added in v0.0.12

func (m *FinancialCommitmentReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this financial commitment report based on context it is used

func (*FinancialCommitmentReport) MarshalBinary added in v0.0.12

func (m *FinancialCommitmentReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FinancialCommitmentReport) UnmarshalBinary added in v0.0.12

func (m *FinancialCommitmentReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FinancialCommitmentReport) Validate added in v0.0.12

func (m *FinancialCommitmentReport) Validate(formats strfmt.Registry) error

Validate validates this financial commitment report

type FinancialCommitmentReports added in v0.0.12

type FinancialCommitmentReports struct {

	// financial commitment reports
	FinancialCommitmentReports []*FinancialCommitmentReport `json:"financial_commitment_reports"`

	// links
	Links interface{} `json:"links,omitempty"`
}

FinancialCommitmentReports FinancialCommitmentReports model

swagger:model FinancialCommitmentReports

func (*FinancialCommitmentReports) ContextValidate added in v0.0.12

func (m *FinancialCommitmentReports) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this financial commitment reports based on the context it is used

func (*FinancialCommitmentReports) MarshalBinary added in v0.0.12

func (m *FinancialCommitmentReports) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FinancialCommitmentReports) UnmarshalBinary added in v0.0.12

func (m *FinancialCommitmentReports) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FinancialCommitmentReports) Validate added in v0.0.12

func (m *FinancialCommitmentReports) Validate(formats strfmt.Registry) error

Validate validates this financial commitment reports

type FinancialCommitments added in v0.0.23

type FinancialCommitments struct {

	// financial commitments
	FinancialCommitments []*FinancialCommitment `json:"financial_commitments"`

	// links
	Links interface{} `json:"links,omitempty"`
}

FinancialCommitments FinancialCommitments model

swagger:model FinancialCommitments

func (*FinancialCommitments) ContextValidate added in v0.0.23

func (m *FinancialCommitments) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this financial commitments based on the context it is used

func (*FinancialCommitments) MarshalBinary added in v0.0.23

func (m *FinancialCommitments) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FinancialCommitments) UnmarshalBinary added in v0.0.23

func (m *FinancialCommitments) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FinancialCommitments) Validate added in v0.0.23

func (m *FinancialCommitments) Validate(formats strfmt.Registry) error

Validate validates this financial commitments

type Folder

type Folder struct {

	// The date and time, in UTC, the Folder was created. ISO 8601 Formatted.
	// Example: 2023-08-04T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The token for the parent Folder, if any.
	ParentFolderToken string `json:"parent_folder_token,omitempty"`

	// The tokens for the SavedFilters assigned to the Folder.
	SavedFilterTokens []string `json:"saved_filter_tokens"`

	// The title of the Folder.
	// Example: Platform Team Reports
	Title string `json:"title,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The date and time, in UTC, the Folder was last updated at. ISO 8601 Formatted.
	// Example: 2023-08-04T00:00:00Z
	UpdatedAt string `json:"updated_at,omitempty"`

	// The token for the Workspace the Folder is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

Folder Folder model

swagger:model Folder

func (*Folder) ContextValidate

func (m *Folder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this folder based on context it is used

func (*Folder) MarshalBinary

func (m *Folder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Folder) UnmarshalBinary

func (m *Folder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Folder) Validate

func (m *Folder) Validate(formats strfmt.Registry) error

Validate validates this folder

type Folders

type Folders struct {

	// folders
	Folders []*Folder `json:"folders"`

	// links
	Links interface{} `json:"links,omitempty"`
}

Folders Folders model

swagger:model Folders

func (*Folders) ContextValidate

func (m *Folders) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this folders based on the context it is used

func (*Folders) MarshalBinary

func (m *Folders) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Folders) UnmarshalBinary

func (m *Folders) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Folders) Validate

func (m *Folders) Validate(formats strfmt.Registry) error

Validate validates this folders

type Integration added in v0.0.23

type Integration struct {

	// The account identifier. For GCP this is the billing Account ID, for Azure this is the account ID
	// Example: 011389-EF4C3E-3ED7AE
	AccountIdentifier string `json:"account_identifier,omitempty"`

	// The date and time, in UTC, the Integration was created. ISO 8601 Formatted.
	// Example: 2023-08-04T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The name of the Integration.
	// Example: AWS
	Provider string `json:"provider,omitempty"`

	// The status of the Integration. Can be 'connected' or 'disconnected'.
	// Example: connected
	// Enum: ["connected","disconnected"]
	Status string `json:"status,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The tokens for any Workspaces that the account belongs to.
	WorkspaceTokens []string `json:"workspace_tokens"`
}

Integration Integration model

swagger:model Integration

func (*Integration) ContextValidate added in v0.0.23

func (m *Integration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this integration based on context it is used

func (*Integration) MarshalBinary added in v0.0.23

func (m *Integration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Integration) UnmarshalBinary added in v0.0.23

func (m *Integration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Integration) Validate added in v0.0.23

func (m *Integration) Validate(formats strfmt.Registry) error

Validate validates this integration

type Integrations added in v0.0.23

type Integrations struct {

	// integrations
	Integrations []*Integration `json:"integrations"`

	// links
	Links interface{} `json:"links,omitempty"`
}

Integrations Integrations model

swagger:model Integrations

func (*Integrations) ContextValidate added in v0.0.23

func (m *Integrations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integrations based on the context it is used

func (*Integrations) MarshalBinary added in v0.0.23

func (m *Integrations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Integrations) UnmarshalBinary added in v0.0.23

func (m *Integrations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Integrations) Validate added in v0.0.23

func (m *Integrations) Validate(formats strfmt.Registry) error

Validate validates this integrations

type KubernetesEfficiencyReport added in v0.0.12

type KubernetesEfficiencyReport struct {

	// How costs are aggregated by. Possible values: idle_cost, amount, cost_efficiency.
	AggregatedBy string `json:"aggregated_by,omitempty"`

	// The date and time, in UTC, the report was created. ISO 8601 Formatted.
	// Example: 2024-03-19T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// How costs are grouped and displayed in the KubernetesEfficiencyReport. Possible values: day, week, month.
	// Example: month
	DateBucket string `json:"date_bucket,omitempty"`

	// The date range for the KubernetesEfficiencyReport. Only present if a custom date range is not specified.
	// Example: last_month
	DateInterval string `json:"date_interval,omitempty"`

	// Indicates whether the KubernetesEfficiencyReport is the default report.
	Default bool `json:"default,omitempty"`

	// The end date for the KubernetesEfficiencyReport. Only set for custom date ranges. ISO 8601 Formatted.
	// Example: 2024-03-20
	EndDate string `json:"end_date,omitempty"`

	// The filter applied to the KubernetesEfficiencyReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, labeled, category, label, label:<label_name>.
	// Example: cluster_id, namespace
	Groupings string `json:"groupings,omitempty"`

	// The start date for the KubernetesEfficiencyReport. Only set for custom date ranges. ISO 8601 Formatted.
	// Example: 2024-03-01
	StartDate string `json:"start_date,omitempty"`

	// The title of the KubernetesEfficiencyReport.
	// Example: Acme123 Kubernetes Efficiency Metrics
	Title string `json:"title,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The token for the User who created this KubernetesEfficiencyReport.
	UserToken string `json:"user_token,omitempty"`

	// The token for the Workspace the KubernetesEfficiencyReport is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

KubernetesEfficiencyReport KubernetesEfficiencyReport model

swagger:model KubernetesEfficiencyReport

func (*KubernetesEfficiencyReport) ContextValidate added in v0.0.12

func (m *KubernetesEfficiencyReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes efficiency report based on context it is used

func (*KubernetesEfficiencyReport) MarshalBinary added in v0.0.12

func (m *KubernetesEfficiencyReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesEfficiencyReport) UnmarshalBinary added in v0.0.12

func (m *KubernetesEfficiencyReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesEfficiencyReport) Validate added in v0.0.12

func (m *KubernetesEfficiencyReport) Validate(formats strfmt.Registry) error

Validate validates this kubernetes efficiency report

type KubernetesEfficiencyReports added in v0.0.12

type KubernetesEfficiencyReports struct {

	// kubernetes efficiency reports
	KubernetesEfficiencyReports []*KubernetesEfficiencyReport `json:"kubernetes_efficiency_reports"`

	// links
	Links interface{} `json:"links,omitempty"`
}

KubernetesEfficiencyReports KubernetesEfficiencyReports model

swagger:model KubernetesEfficiencyReports

func (*KubernetesEfficiencyReports) ContextValidate added in v0.0.12

func (m *KubernetesEfficiencyReports) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes efficiency reports based on the context it is used

func (*KubernetesEfficiencyReports) MarshalBinary added in v0.0.12

func (m *KubernetesEfficiencyReports) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesEfficiencyReports) UnmarshalBinary added in v0.0.12

func (m *KubernetesEfficiencyReports) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesEfficiencyReports) Validate added in v0.0.12

func (m *KubernetesEfficiencyReports) Validate(formats strfmt.Registry) error

Validate validates this kubernetes efficiency reports

type ManagedAccount added in v0.0.25

type ManagedAccount struct {

	// The tokens for the Access Credentials assigned to the Managed Account.
	AccessCredentialTokens []string `json:"access_credential_tokens"`

	// The tokens for the Billing Rules assigned to the Managed Account.
	BillingRuleTokens []string `json:"billing_rule_tokens"`

	// contact email
	ContactEmail string `json:"contact_email,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// The token for the parent Account.
	ParentAccountToken string `json:"parent_account_token,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

ManagedAccount ManagedAccount model

swagger:model ManagedAccount

func (*ManagedAccount) ContextValidate added in v0.0.25

func (m *ManagedAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this managed account based on context it is used

func (*ManagedAccount) MarshalBinary added in v0.0.25

func (m *ManagedAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ManagedAccount) UnmarshalBinary added in v0.0.25

func (m *ManagedAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ManagedAccount) Validate added in v0.0.25

func (m *ManagedAccount) Validate(formats strfmt.Registry) error

Validate validates this managed account

type ManagedAccounts added in v0.0.25

type ManagedAccounts struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// managed accounts
	ManagedAccounts []*ManagedAccount `json:"managed_accounts"`
}

ManagedAccounts ManagedAccounts model

swagger:model ManagedAccounts

func (*ManagedAccounts) ContextValidate added in v0.0.25

func (m *ManagedAccounts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this managed accounts based on the context it is used

func (*ManagedAccounts) MarshalBinary added in v0.0.25

func (m *ManagedAccounts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ManagedAccounts) UnmarshalBinary added in v0.0.25

func (m *ManagedAccounts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ManagedAccounts) Validate added in v0.0.25

func (m *ManagedAccounts) Validate(formats strfmt.Registry) error

Validate validates this managed accounts

type NetworkFlowReport added in v0.0.51

type NetworkFlowReport struct {

	// The date and time, in UTC, the report was created. ISO 8601 Formatted.
	// Example: 2024-03-19T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The token for the User or Team that created this NetworkFlowReport.
	CreatedByToken string `json:"created_by_token,omitempty"`

	// The date range for the NetworkFlowReport. Only present if a custom date range is not specified.
	// Example: last_month
	DateInterval string `json:"date_interval,omitempty"`

	// Indicates whether the NetworkFlowReport is the default report.
	Default bool `json:"default,omitempty"`

	// The end date for the NetworkFlowReport. Only set for custom date ranges. ISO 8601 Formatted.
	// Example: 2024-03-20
	EndDate string `json:"end_date,omitempty"`

	// The filter applied to the NetworkFlowReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The flow weight of the NetworkFlowReport. Possible values: costs, bytes.
	// Example: ingress
	FlowDirection string `json:"flow_direction,omitempty"`

	// The flow weight of the NetworkFlowReport. Possible values: costs, bytes.
	// Example: costs
	FlowWeight string `json:"flow_weight,omitempty"`

	// The grouping aggregations applied to the filtered data.
	// Example: cost_type, tag:account
	Groupings string `json:"groupings,omitempty"`

	// The start date for the NetworkFlowReport. Only set for custom date ranges. ISO 8601 Formatted.
	// Example: 2024-03-01
	StartDate string `json:"start_date,omitempty"`

	// The title of the NetworkFlowReport.
	// Example: Public Traffic Destinations
	Title string `json:"title,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The token for the Workspace the NetworkFlowReport is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

NetworkFlowReport NetworkFlowReport model

swagger:model NetworkFlowReport

func (*NetworkFlowReport) ContextValidate added in v0.0.51

func (m *NetworkFlowReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network flow report based on context it is used

func (*NetworkFlowReport) MarshalBinary added in v0.0.51

func (m *NetworkFlowReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkFlowReport) UnmarshalBinary added in v0.0.51

func (m *NetworkFlowReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkFlowReport) Validate added in v0.0.51

func (m *NetworkFlowReport) Validate(formats strfmt.Registry) error

Validate validates this network flow report

type NetworkFlowReports added in v0.0.51

type NetworkFlowReports struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// network flow reports
	NetworkFlowReports []*NetworkFlowReport `json:"network_flow_reports"`
}

NetworkFlowReports NetworkFlowReports model

swagger:model NetworkFlowReports

func (*NetworkFlowReports) ContextValidate added in v0.0.51

func (m *NetworkFlowReports) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network flow reports based on the context it is used

func (*NetworkFlowReports) MarshalBinary added in v0.0.51

func (m *NetworkFlowReports) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkFlowReports) UnmarshalBinary added in v0.0.51

func (m *NetworkFlowReports) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkFlowReports) Validate added in v0.0.51

func (m *NetworkFlowReports) Validate(formats strfmt.Registry) error

Validate validates this network flow reports

type Price

type Price struct {

	// The amount of money this specific product price costs.
	// Example: 1.324
	Amount float64 `json:"amount,omitempty"`

	// The currency of the amount.
	// Example: USD
	Currency string `json:"currency,omitempty"`

	// Service specific metadata.
	// Example: {"lifecycle":"on-demand","platform":"linux-enterprise"}
	Details interface{} `json:"details,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// The part of the product the price applies to. (compute, transfer, etc..)
	// Example: compute
	RateType string `json:"rate_type,omitempty"`

	// The region the price is specific to.
	// Example: us-east-1
	Region string `json:"region,omitempty"`

	// The unit in which the amount is billed.
	// Example: hour
	Unit string `json:"unit,omitempty"`
}

Price Price model

swagger:model Price

func (*Price) ContextValidate

func (m *Price) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this price based on context it is used

func (*Price) MarshalBinary

func (m *Price) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Price) UnmarshalBinary

func (m *Price) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Price) Validate

func (m *Price) Validate(formats strfmt.Registry) error

Validate validates this price

type Prices

type Prices struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// prices
	Prices []*Price `json:"prices"`
}

Prices Prices model

swagger:model Prices

func (*Prices) ContextValidate

func (m *Prices) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this prices based on the context it is used

func (*Prices) MarshalBinary

func (m *Prices) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Prices) UnmarshalBinary

func (m *Prices) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Prices) Validate

func (m *Prices) Validate(formats strfmt.Registry) error

Validate validates this prices

type Product

type Product struct {

	// The category of the cloud product
	// Example: compute
	Category string `json:"category,omitempty"`

	// An object of metadata about the product.
	// Example: {"clock_speed_ghz":3.1,"gpu":0,"memory":256,"name":"M5 General Purpose 16xlarge","network_performance_description":"20 Gigabit","physical_processor_description":"Intel Xeon Platinum 8175 (Skylake)","vcpu":64}
	Details interface{} `json:"details,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// The common name of the product.
	// Example: EC2
	Name string `json:"name,omitempty"`

	// A unique slug for the provider the product belongs to.
	// Example: aws
	ProviderID string `json:"provider_id,omitempty"`

	// A unique slug for the service the product belongs to.
	// Example: aws-ec2
	ServiceID string `json:"service_id,omitempty"`
}

Product Product model

swagger:model Product

func (*Product) ContextValidate

func (m *Product) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this product based on context it is used

func (*Product) MarshalBinary

func (m *Product) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Product) UnmarshalBinary

func (m *Product) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Product) Validate

func (m *Product) Validate(formats strfmt.Registry) error

Validate validates this product

type Products

type Products struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// products
	Products []*Product `json:"products"`
}

Products Products model

swagger:model Products

func (*Products) ContextValidate

func (m *Products) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this products based on the context it is used

func (*Products) MarshalBinary

func (m *Products) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Products) UnmarshalBinary

func (m *Products) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Products) Validate

func (m *Products) Validate(formats strfmt.Registry) error

Validate validates this products

type ProviderResource added in v0.0.24

type ProviderResource struct {

	// The actions to take to implement the Recommendation.
	RecommendationActions []*RecommendationAction `json:"recommendation_actions"`

	// The unique identifier of the Active Resource.
	// Example: i-0a1b2c3d4e5f6g7h8
	ResourceID string `json:"resource_id,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

ProviderResource ProviderResource model

swagger:model ProviderResource

func (*ProviderResource) ContextValidate added in v0.0.24

func (m *ProviderResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this provider resource based on the context it is used

func (*ProviderResource) MarshalBinary added in v0.0.24

func (m *ProviderResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProviderResource) UnmarshalBinary added in v0.0.24

func (m *ProviderResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProviderResource) Validate added in v0.0.24

func (m *ProviderResource) Validate(formats strfmt.Registry) error

Validate validates this provider resource

type Recommendation added in v0.0.24

type Recommendation struct {

	// The category of the Recommendation.
	// Example: ec2_rightsizing_recommender
	Category string `json:"category,omitempty"`

	// The date and time, in UTC, the Recommendation was created. ISO 8601 Formatted.
	CreatedAt string `json:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// The monthly potential savings of the Recommendation.
	// Example: 100.00
	PotentialSavings string `json:"potential_savings,omitempty"`

	// The provider the Recommendation is for.
	Provider string `json:"provider,omitempty"`

	// The account ID of the provider. For Azure, this is the subscription ID.
	ProviderAccountID string `json:"provider_account_id,omitempty"`

	// The number of ProviderResources related to the Recommendation. Use the `recommendations/:token/resources` endpoint to get the full list of resources.
	ResourcesAffectedCount string `json:"resources_affected_count,omitempty"`

	// The service the Recommendation is for.
	// Example: Amazon EC2
	Service string `json:"service,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The token for the Workspace the Recommendation is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

Recommendation Recommendation model

swagger:model Recommendation

func (*Recommendation) ContextValidate added in v0.0.24

func (m *Recommendation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this recommendation based on context it is used

func (*Recommendation) MarshalBinary added in v0.0.24

func (m *Recommendation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Recommendation) UnmarshalBinary added in v0.0.24

func (m *Recommendation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Recommendation) Validate added in v0.0.24

func (m *Recommendation) Validate(formats strfmt.Registry) error

Validate validates this recommendation

type RecommendationAction added in v0.0.24

type RecommendationAction struct {

	// action
	Action string `json:"action,omitempty"`

	// containers
	Containers string `json:"containers,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// instance type
	InstanceType string `json:"instance_type,omitempty"`

	// Potential savings in dollars
	// Example: 100.00
	PotentialSavings string `json:"potential_savings,omitempty"`
}

RecommendationAction recommendation action

swagger:model RecommendationAction

func (*RecommendationAction) ContextValidate added in v0.0.24

func (m *RecommendationAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this recommendation action based on context it is used

func (*RecommendationAction) MarshalBinary added in v0.0.24

func (m *RecommendationAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecommendationAction) UnmarshalBinary added in v0.0.24

func (m *RecommendationAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecommendationAction) Validate added in v0.0.24

func (m *RecommendationAction) Validate(formats strfmt.Registry) error

Validate validates this recommendation action

type Recommendations added in v0.0.24

type Recommendations struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// recommendations
	Recommendations []*Recommendation `json:"recommendations"`
}

Recommendations Recommendations model

swagger:model Recommendations

func (*Recommendations) ContextValidate added in v0.0.24

func (m *Recommendations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recommendations based on the context it is used

func (*Recommendations) MarshalBinary added in v0.0.24

func (m *Recommendations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Recommendations) UnmarshalBinary added in v0.0.24

func (m *Recommendations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Recommendations) Validate added in v0.0.24

func (m *Recommendations) Validate(formats strfmt.Registry) error

Validate validates this recommendations

type ReportNotification added in v0.0.3

type ReportNotification struct {

	// The type of change the ReportNotification is tracking.
	// Example: percentage
	// Enum: ["percentage","dollars"]
	Change string `json:"change,omitempty"`

	// The token for a CostReport the ReportNotification is applied to.
	// Example: rprt_abcd1234
	CostReportToken string `json:"cost_report_token,omitempty"`

	// The frequency the ReportNotification is sent.
	// Example: weekly
	// Enum: ["daily","weekly","monthly"]
	Frequency string `json:"frequency,omitempty"`

	// The Slack or Microsoft Teams channels that receive the notification.
	RecipientChannels []string `json:"recipient_channels"`

	// The title of the ReportNotification.
	// Example: Acme Report Notification
	Title string `json:"title,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The Users that receive the notification.
	UserTokens []string `json:"user_tokens"`
}

ReportNotification ReportNotification model

swagger:model ReportNotification

func (*ReportNotification) ContextValidate added in v0.0.3

func (m *ReportNotification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this report notification based on context it is used

func (*ReportNotification) MarshalBinary added in v0.0.3

func (m *ReportNotification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReportNotification) UnmarshalBinary added in v0.0.3

func (m *ReportNotification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReportNotification) Validate added in v0.0.3

func (m *ReportNotification) Validate(formats strfmt.Registry) error

Validate validates this report notification

type ReportNotifications added in v0.0.3

type ReportNotifications struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// report notifications
	ReportNotifications []*ReportNotification `json:"report_notifications"`
}

ReportNotifications ReportNotifications model

swagger:model ReportNotifications

func (*ReportNotifications) ContextValidate added in v0.0.3

func (m *ReportNotifications) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this report notifications based on the context it is used

func (*ReportNotifications) MarshalBinary added in v0.0.3

func (m *ReportNotifications) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReportNotifications) UnmarshalBinary added in v0.0.3

func (m *ReportNotifications) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReportNotifications) Validate added in v0.0.3

func (m *ReportNotifications) Validate(formats strfmt.Registry) error

Validate validates this report notifications

type Resource added in v0.0.38

type Resource struct {

	// The provider account where the resource is located.
	AccountID string `json:"account_id,omitempty"`

	// The provider billing account this resource is charged to.
	BillingAccountID string `json:"billing_account_id,omitempty"`

	// The cost of the resource broken down by category.
	Costs []*ResourceCost `json:"costs"`

	// The date and time when Vantage first observed the resource.
	CreatedAt string `json:"created_at,omitempty"`

	// label
	Label string `json:"label,omitempty"`

	// Type-specific attributes of the resource.
	Metadata string `json:"metadata,omitempty"`

	// The provider of the resource.
	// Example: aws
	Provider string `json:"provider,omitempty"`

	// The region where the resource is located. Region values are specific to each provider.
	// Example: us-west-2
	Region string `json:"region,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The kind of resource.
	// Example: aws_instance
	Type string `json:"type,omitempty"`

	// The unique identifier for the resource.
	// Example: i-0a1b2c3d4e5f6g7h8
	UUID string `json:"uuid,omitempty"`
}

Resource Resource model

swagger:model Resource

func (*Resource) ContextValidate added in v0.0.38

func (m *Resource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource based on the context it is used

func (*Resource) MarshalBinary added in v0.0.38

func (m *Resource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Resource) UnmarshalBinary added in v0.0.38

func (m *Resource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Resource) Validate added in v0.0.38

func (m *Resource) Validate(formats strfmt.Registry) error

Validate validates this resource

type ResourceCost added in v0.0.39

type ResourceCost struct {

	// amount
	Amount string `json:"amount,omitempty"`

	// The category of the cost.
	Category string `json:"category,omitempty"`
}

ResourceCost resource cost

swagger:model ResourceCost

func (*ResourceCost) ContextValidate added in v0.0.39

func (m *ResourceCost) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource cost based on context it is used

func (*ResourceCost) MarshalBinary added in v0.0.39

func (m *ResourceCost) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceCost) UnmarshalBinary added in v0.0.39

func (m *ResourceCost) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceCost) Validate added in v0.0.39

func (m *ResourceCost) Validate(formats strfmt.Registry) error

Validate validates this resource cost

type ResourceReport added in v0.0.11

type ResourceReport struct {

	// The date and time, in UTC, the report was created. ISO 8601 Formatted.
	// Example: 2024-03-19T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The token for the User or Team who created this ResourceReport.
	CreatedByToken string `json:"created_by_token,omitempty"`

	// The filter applied to the ResourceReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The title of the ResourceReport.
	// Example: Acme123 Active Resources
	Title string `json:"title,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The token for the User who created this ResourceReport.
	UserToken string `json:"user_token,omitempty"`

	// The token for the Workspace the ResourceReport is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

ResourceReport ResourceReport model

swagger:model ResourceReport

func (*ResourceReport) ContextValidate added in v0.0.11

func (m *ResourceReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource report based on context it is used

func (*ResourceReport) MarshalBinary added in v0.0.11

func (m *ResourceReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceReport) UnmarshalBinary added in v0.0.11

func (m *ResourceReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceReport) Validate added in v0.0.11

func (m *ResourceReport) Validate(formats strfmt.Registry) error

Validate validates this resource report

type ResourceReports added in v0.0.11

type ResourceReports struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// resource reports
	ResourceReports []*ResourceReport `json:"resource_reports"`
}

ResourceReports ResourceReports model

swagger:model ResourceReports

func (*ResourceReports) ContextValidate added in v0.0.11

func (m *ResourceReports) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource reports based on the context it is used

func (*ResourceReports) MarshalBinary added in v0.0.11

func (m *ResourceReports) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceReports) UnmarshalBinary added in v0.0.11

func (m *ResourceReports) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceReports) Validate added in v0.0.11

func (m *ResourceReports) Validate(formats strfmt.Registry) error

Validate validates this resource reports

type Resources added in v0.0.38

type Resources struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// resources
	Resources []*Resource `json:"resources"`
}

Resources Resources model

swagger:model Resources

func (*Resources) ContextValidate added in v0.0.38

func (m *Resources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resources based on the context it is used

func (*Resources) MarshalBinary added in v0.0.38

func (m *Resources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Resources) UnmarshalBinary added in v0.0.38

func (m *Resources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Resources) Validate added in v0.0.38

func (m *Resources) Validate(formats strfmt.Registry) error

Validate validates this resources

type SavedFilter

type SavedFilter struct {

	// The tokens for any CostReports the SavedFilter is applied to.
	CostReportTokens []string `json:"cost_report_tokens"`

	// The date and time, in UTC, the report was created. ISO 8601 Formatted.
	// Example: 2023-08-04T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The token for the Creator of this SavedFilter.
	CreatedBy string `json:"created_by,omitempty"`

	// The SavedFilter's filter, applied to any relevant CostReports. Additional documentation available at https://docs.vantage.sh/vql.
	// Example: costs.provider = 'azure'
	Filter string `json:"filter,omitempty"`

	// The title of the SavedFilter.
	// Example: Platform Team Reports
	Title string `json:"title,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The token for the Workspace the SavedFilter is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

SavedFilter SavedFilter model

swagger:model SavedFilter

func (*SavedFilter) ContextValidate

func (m *SavedFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this saved filter based on context it is used

func (*SavedFilter) MarshalBinary

func (m *SavedFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SavedFilter) UnmarshalBinary

func (m *SavedFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SavedFilter) Validate

func (m *SavedFilter) Validate(formats strfmt.Registry) error

Validate validates this saved filter

type SavedFilters

type SavedFilters struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// saved filters
	SavedFilters []*SavedFilter `json:"saved_filters"`
}

SavedFilters SavedFilters model

swagger:model SavedFilters

func (*SavedFilters) ContextValidate

func (m *SavedFilters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this saved filters based on the context it is used

func (*SavedFilters) MarshalBinary

func (m *SavedFilters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SavedFilters) UnmarshalBinary

func (m *SavedFilters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SavedFilters) Validate

func (m *SavedFilters) Validate(formats strfmt.Registry) error

Validate validates this saved filters

type Segment

type Segment struct {

	// The date and time, in UTC, the Segment was created. ISO 8601 Formatted.
	// Example: 2021-07-09T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The description of the Segment.
	// Example: Operating expenses
	Description string `json:"description,omitempty"`

	// The filter applied to the Segment. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The token of the parent Segment of this Segment.
	ParentSegmentToken string `json:"parent_segment_token,omitempty"`

	// Costs are assigned in priority order across all Segments with assigned filters.
	// Example: 100
	Priority int32 `json:"priority,omitempty"`

	// report settings
	ReportSettings *SegmentReportSettings `json:"report_settings,omitempty"`

	// The token for the Report the Segment has generated.
	ReportToken string `json:"report_token,omitempty"`

	// The title of the Segment.
	// Example: OPEX
	Title string `json:"title,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// Track Unallocated Costs which are not assigned to any of the created Segments.
	// Example: false
	TrackUnallocated bool `json:"track_unallocated,omitempty"`

	// The token for the Workspace the Segment is a part of.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

Segment Segment model

swagger:model Segment

func (*Segment) ContextValidate

func (m *Segment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this segment based on the context it is used

func (*Segment) MarshalBinary

func (m *Segment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Segment) UnmarshalBinary

func (m *Segment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Segment) Validate

func (m *Segment) Validate(formats strfmt.Registry) error

Validate validates this segment

type SegmentReportSettings added in v0.0.5

type SegmentReportSettings struct {

	// amortize
	Amortize bool `json:"amortize,omitempty"`

	// include credits
	IncludeCredits bool `json:"include_credits,omitempty"`

	// include discounts
	IncludeDiscounts bool `json:"include_discounts,omitempty"`

	// include refunds
	IncludeRefunds bool `json:"include_refunds,omitempty"`

	// include tax
	IncludeTax bool `json:"include_tax,omitempty"`
}

SegmentReportSettings Report settings configurable on top-level Segments.

swagger:model SegmentReportSettings

func (*SegmentReportSettings) ContextValidate added in v0.0.5

func (m *SegmentReportSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this segment report settings based on context it is used

func (*SegmentReportSettings) MarshalBinary added in v0.0.5

func (m *SegmentReportSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SegmentReportSettings) UnmarshalBinary added in v0.0.5

func (m *SegmentReportSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SegmentReportSettings) Validate added in v0.0.5

func (m *SegmentReportSettings) Validate(formats strfmt.Registry) error

Validate validates this segment report settings

type Segments

type Segments struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// segments
	Segments []*Segment `json:"segments"`
}

Segments Segments model

swagger:model Segments

func (*Segments) ContextValidate

func (m *Segments) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this segments based on the context it is used

func (*Segments) MarshalBinary

func (m *Segments) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Segments) UnmarshalBinary

func (m *Segments) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Segments) Validate

func (m *Segments) Validate(formats strfmt.Registry) error

Validate validates this segments

type Tag added in v0.0.48

type Tag struct {

	// Whether the Tag has been hidden from the Vantage UI.
	Hidden bool `json:"hidden,omitempty"`

	// The unique providers that are covered by the Tag key.
	// Example: ["AWS","GCP"]
	Providers string `json:"providers,omitempty"`

	// The Tag key.
	// Example: aws:createdBy
	TagKey string `json:"tag_key,omitempty"`
}

Tag Tag model

swagger:model Tag

func (*Tag) ContextValidate added in v0.0.48

func (m *Tag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tag based on context it is used

func (*Tag) MarshalBinary added in v0.0.48

func (m *Tag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tag) UnmarshalBinary added in v0.0.48

func (m *Tag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tag) Validate added in v0.0.48

func (m *Tag) Validate(formats strfmt.Registry) error

Validate validates this tag

type Tags added in v0.0.48

type Tags struct {

	// tags
	Tags []*Tag `json:"tags"`
}

Tags Tags model

swagger:model Tags

func (*Tags) ContextValidate added in v0.0.48

func (m *Tags) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tags based on the context it is used

func (*Tags) MarshalBinary added in v0.0.48

func (m *Tags) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tags) UnmarshalBinary added in v0.0.48

func (m *Tags) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tags) Validate added in v0.0.48

func (m *Tags) Validate(formats strfmt.Registry) error

Validate validates this tags

type Team

type Team struct {

	// The description of the Team.
	// Example: The Team that saves costs
	Description string `json:"description,omitempty"`

	// The name of the Team.
	// Example: Cost Savers
	Name string `json:"name,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// The email addresses for Users that belong to the Team
	UserEmails []string `json:"user_emails"`

	// The tokens for Users that belong to the Team
	UserTokens []string `json:"user_tokens"`

	// The tokens for any Workspaces that the Team belongs to
	WorkspaceTokens []string `json:"workspace_tokens"`
}

Team Team model

swagger:model Team

func (*Team) ContextValidate

func (m *Team) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this team based on context it is used

func (*Team) MarshalBinary

func (m *Team) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Team) UnmarshalBinary

func (m *Team) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Team) Validate

func (m *Team) Validate(formats strfmt.Registry) error

Validate validates this team

type Teams

type Teams struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// teams
	Teams []*Team `json:"teams"`
}

Teams Teams model

swagger:model Teams

func (*Teams) ContextValidate

func (m *Teams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this teams based on the context it is used

func (*Teams) MarshalBinary

func (m *Teams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Teams) UnmarshalBinary

func (m *Teams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Teams) Validate

func (m *Teams) Validate(formats strfmt.Registry) error

Validate validates this teams

type UpdateAccessGrant added in v0.0.14

type UpdateAccessGrant struct {

	// Allowed or denied access to resource.
	// Required: true
	// Enum: ["denied","allowed"]
	Access *string `json:"access"`
}

UpdateAccessGrant Update an AccessGrant.

swagger:model updateAccessGrant

func (*UpdateAccessGrant) ContextValidate added in v0.0.14

func (m *UpdateAccessGrant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update access grant based on context it is used

func (*UpdateAccessGrant) MarshalBinary added in v0.0.14

func (m *UpdateAccessGrant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateAccessGrant) UnmarshalBinary added in v0.0.14

func (m *UpdateAccessGrant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateAccessGrant) Validate added in v0.0.14

func (m *UpdateAccessGrant) Validate(formats strfmt.Registry) error

Validate validates this update access grant

type UpdateAnomalyAlert added in v0.0.14

type UpdateAnomalyAlert struct {

	// Optional additional comments for why this alert is ignored.
	Feedback string `json:"feedback,omitempty"`

	// The status of the Anomaly Alert.
	// Required: true
	Status *string `json:"status"`
}

UpdateAnomalyAlert Update an AnomalyAlert.

swagger:model updateAnomalyAlert

func (*UpdateAnomalyAlert) ContextValidate added in v0.0.14

func (m *UpdateAnomalyAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update anomaly alert based on context it is used

func (*UpdateAnomalyAlert) MarshalBinary added in v0.0.14

func (m *UpdateAnomalyAlert) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateAnomalyAlert) UnmarshalBinary added in v0.0.14

func (m *UpdateAnomalyAlert) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateAnomalyAlert) Validate added in v0.0.14

func (m *UpdateAnomalyAlert) Validate(formats strfmt.Registry) error

Validate validates this update anomaly alert

type UpdateAnomalyNotification added in v0.0.15

type UpdateAnomalyNotification struct {

	// The Slack/MS Teams channels that receive the notification.
	RecipientChannels []string `json:"recipient_channels"`

	// The threshold amount that must be met for the notification to fire.
	Threshold int32 `json:"threshold,omitempty"`

	// The tokens of the users that receive the notification.
	UserTokens []string `json:"user_tokens"`
}

UpdateAnomalyNotification Update an Anomaly Notification.

swagger:model updateAnomalyNotification

func (*UpdateAnomalyNotification) ContextValidate added in v0.0.15

func (m *UpdateAnomalyNotification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update anomaly notification based on context it is used

func (*UpdateAnomalyNotification) MarshalBinary added in v0.0.15

func (m *UpdateAnomalyNotification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateAnomalyNotification) UnmarshalBinary added in v0.0.15

func (m *UpdateAnomalyNotification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateAnomalyNotification) Validate added in v0.0.15

func (m *UpdateAnomalyNotification) Validate(formats strfmt.Registry) error

Validate validates this update anomaly notification

type UpdateBillingRule added in v0.0.29

type UpdateBillingRule struct {

	// The credit amount for the Billing Rule. Example value: 300
	Amount float64 `json:"amount,omitempty"`

	// The category of the Billing Rule.
	Category string `json:"category,omitempty"`

	// The charge type of the Billing Rule.
	ChargeType string `json:"charge_type,omitempty"`

	// The percentage of the cost shown. Example value: 75.0
	Percentage float64 `json:"percentage,omitempty"`

	// The service of the Billing Rule.
	Service string `json:"service,omitempty"`

	// The start period of the Billing Rule.
	StartPeriod string `json:"start_period,omitempty"`

	// The subcategory of the Billing Rule.
	SubCategory string `json:"sub_category,omitempty"`

	// The title of the Billing Rule.
	Title string `json:"title,omitempty"`
}

UpdateBillingRule Update a Billing Rule.

swagger:model updateBillingRule

func (*UpdateBillingRule) ContextValidate added in v0.0.29

func (m *UpdateBillingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update billing rule based on context it is used

func (*UpdateBillingRule) MarshalBinary added in v0.0.29

func (m *UpdateBillingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateBillingRule) UnmarshalBinary added in v0.0.29

func (m *UpdateBillingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateBillingRule) Validate added in v0.0.29

func (m *UpdateBillingRule) Validate(formats strfmt.Registry) error

Validate validates this update billing rule

type UpdateBudget added in v0.0.14

type UpdateBudget struct {

	// The tokens of any child Budgets when creating a hierarchical Budget.
	ChildBudgetTokens []string `json:"child_budget_tokens"`

	// The CostReport token. Ignored for hierarchical Budgets.
	CostReportToken string `json:"cost_report_token,omitempty"`

	// The name of the Budget.
	Name string `json:"name,omitempty"`

	// The periods for the Budget. The start_at and end_at must be iso8601 formatted e.g. YYYY-MM-DD. Ignored for hierarchical Budgets.
	Periods []*UpdateBudgetPeriodsItems0 `json:"periods"`
}

UpdateBudget Update a Budget.

swagger:model updateBudget

func (*UpdateBudget) ContextValidate added in v0.0.14

func (m *UpdateBudget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update budget based on the context it is used

func (*UpdateBudget) MarshalBinary added in v0.0.14

func (m *UpdateBudget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateBudget) UnmarshalBinary added in v0.0.14

func (m *UpdateBudget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateBudget) Validate added in v0.0.14

func (m *UpdateBudget) Validate(formats strfmt.Registry) error

Validate validates this update budget

type UpdateBudgetPeriodsItems0 added in v0.0.14

type UpdateBudgetPeriodsItems0 struct {

	// The amount of the period.
	// Required: true
	Amount *float64 `json:"amount"`

	// The end date of the period.
	// Format: date
	EndAt *strfmt.Date `json:"end_at,omitempty"`

	// The start date of the period.
	// Required: true
	// Format: date
	StartAt *strfmt.Date `json:"start_at"`
}

UpdateBudgetPeriodsItems0 update budget periods items0

swagger:model UpdateBudgetPeriodsItems0

func (*UpdateBudgetPeriodsItems0) ContextValidate added in v0.0.14

func (m *UpdateBudgetPeriodsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update budget periods items0 based on context it is used

func (*UpdateBudgetPeriodsItems0) MarshalBinary added in v0.0.14

func (m *UpdateBudgetPeriodsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateBudgetPeriodsItems0) UnmarshalBinary added in v0.0.14

func (m *UpdateBudgetPeriodsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateBudgetPeriodsItems0) Validate added in v0.0.14

func (m *UpdateBudgetPeriodsItems0) Validate(formats strfmt.Registry) error

Validate validates this update budget periods items0

type UpdateBusinessMetric added in v0.0.14

type UpdateBusinessMetric struct {

	// The tokens for any CostReports that use the BusinessMetric, and the unit scale.
	CostReportTokensWithMetadata []*UpdateBusinessMetricCostReportTokensWithMetadataItems0 `json:"cost_report_tokens_with_metadata"`

	// The title of the BusinessMetric.
	Title string `json:"title,omitempty"`

	// The dates, amounts, and (optional) labels for the BusinessMetric.
	Values []*UpdateBusinessMetricValuesItems0 `json:"values"`
}

UpdateBusinessMetric Updates an existing BusinessMetric.

swagger:model updateBusinessMetric

func (*UpdateBusinessMetric) ContextValidate added in v0.0.14

func (m *UpdateBusinessMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update business metric based on the context it is used

func (*UpdateBusinessMetric) MarshalBinary added in v0.0.14

func (m *UpdateBusinessMetric) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateBusinessMetric) UnmarshalBinary added in v0.0.14

func (m *UpdateBusinessMetric) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateBusinessMetric) Validate added in v0.0.14

func (m *UpdateBusinessMetric) Validate(formats strfmt.Registry) error

Validate validates this update business metric

type UpdateBusinessMetricCostReportTokensWithMetadataItems0 added in v0.0.14

type UpdateBusinessMetricCostReportTokensWithMetadataItems0 struct {

	// The token of the CostReport the BusinessMetric is attached to.
	// Required: true
	CostReportToken *string `json:"cost_report_token"`

	// Include only values with these labels in the CostReport.
	LabelFilter []string `json:"label_filter"`

	// Determines the scale of the BusinessMetric's values within the CostReport.
	// Enum: ["per_unit","per_hundred","per_thousand","per_million","per_billion"]
	UnitScale *string `json:"unit_scale,omitempty"`
}

UpdateBusinessMetricCostReportTokensWithMetadataItems0 update business metric cost report tokens with metadata items0

swagger:model UpdateBusinessMetricCostReportTokensWithMetadataItems0

func (*UpdateBusinessMetricCostReportTokensWithMetadataItems0) ContextValidate added in v0.0.14

ContextValidate validates this update business metric cost report tokens with metadata items0 based on context it is used

func (*UpdateBusinessMetricCostReportTokensWithMetadataItems0) MarshalBinary added in v0.0.14

MarshalBinary interface implementation

func (*UpdateBusinessMetricCostReportTokensWithMetadataItems0) UnmarshalBinary added in v0.0.14

UnmarshalBinary interface implementation

func (*UpdateBusinessMetricCostReportTokensWithMetadataItems0) Validate added in v0.0.14

Validate validates this update business metric cost report tokens with metadata items0

type UpdateBusinessMetricValuesItems0 added in v0.0.14

type UpdateBusinessMetricValuesItems0 struct {

	// amount
	// Required: true
	Amount *float64 `json:"amount"`

	// date
	// Required: true
	// Format: date-time
	Date *strfmt.DateTime `json:"date"`

	// label
	Label *string `json:"label,omitempty"`
}

UpdateBusinessMetricValuesItems0 update business metric values items0

swagger:model UpdateBusinessMetricValuesItems0

func (*UpdateBusinessMetricValuesItems0) ContextValidate added in v0.0.14

func (m *UpdateBusinessMetricValuesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update business metric values items0 based on context it is used

func (*UpdateBusinessMetricValuesItems0) MarshalBinary added in v0.0.14

func (m *UpdateBusinessMetricValuesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateBusinessMetricValuesItems0) UnmarshalBinary added in v0.0.14

func (m *UpdateBusinessMetricValuesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateBusinessMetricValuesItems0) Validate added in v0.0.14

Validate validates this update business metric values items0

type UpdateCostReport added in v0.0.14

type UpdateCostReport struct {

	// The tokens for any BusinessMetrics to attach to the CostReport, and the unit scale.
	BusinessMetricTokensWithMetadata []*UpdateCostReportBusinessMetricTokensWithMetadataItems0 `json:"business_metric_tokens_with_metadata"`

	// The chart type of the CostReport.
	// Enum: ["area","line","pie","bar"]
	ChartType *string `json:"chart_type,omitempty"`

	// The date bin of the CostReport.
	// Enum: ["cumulative","day","week","month"]
	DateBin *string `json:"date_bin,omitempty"`

	// The date interval of the CostReport. Incompatible with 'start_date' and 'end_date' parameters. Defaults to 'this_month' if start_date and end_date are not provided.
	// Enum: ["this_month","last_7_days","last_30_days","last_month","last_3_months","last_6_months","custom","last_12_months","last_24_months","last_36_months","next_month","next_3_months","next_6_months","next_12_months","year_to_date","last_3_days"]
	DateInterval string `json:"date_interval,omitempty"`

	// The end date of the CostReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	EndDate string `json:"end_date,omitempty"`

	// The filter query language to apply to the CostReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The token of the Folder to add the CostReport to. Determines the Workspace the report is assigned to.
	FolderToken string `json:"folder_token,omitempty"`

	// Grouping values for aggregating costs on the report. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tagged, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region
	Groupings string `json:"groupings,omitempty"`

	// The previous period end date of the CostReport. ISO 8601 Formatted.
	PreviousPeriodEndDate string `json:"previous_period_end_date,omitempty"`

	// The previous period start date of the CostReport. ISO 8601 Formatted.
	PreviousPeriodStartDate string `json:"previous_period_start_date,omitempty"`

	// The tokens of the SavedFilters to apply to the CostReport.
	SavedFilterTokens []string `json:"saved_filter_tokens"`

	// settings
	Settings *UpdateCostReportSettings `json:"settings,omitempty"`

	// The start date of the CostReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	StartDate string `json:"start_date,omitempty"`

	// The title of the CostReport.
	Title string `json:"title,omitempty"`
}

UpdateCostReport Update a CostReport.

swagger:model updateCostReport

func (*UpdateCostReport) ContextValidate added in v0.0.14

func (m *UpdateCostReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cost report based on the context it is used

func (*UpdateCostReport) MarshalBinary added in v0.0.14

func (m *UpdateCostReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCostReport) UnmarshalBinary added in v0.0.14

func (m *UpdateCostReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCostReport) Validate added in v0.0.14

func (m *UpdateCostReport) Validate(formats strfmt.Registry) error

Validate validates this update cost report

type UpdateCostReportBusinessMetricTokensWithMetadataItems0 added in v0.0.14

type UpdateCostReportBusinessMetricTokensWithMetadataItems0 struct {

	// The token of the BusinessMetric to attach to the CostReport.
	// Required: true
	BusinessMetricToken *string `json:"business_metric_token"`

	// Include only values with these labels in the CostReport.
	LabelFilter []string `json:"label_filter"`

	// Determines the scale of the BusinessMetric's values within the CostReport.
	// Enum: ["per_unit","per_hundred","per_thousand","per_million","per_billion"]
	UnitScale *string `json:"unit_scale,omitempty"`
}

UpdateCostReportBusinessMetricTokensWithMetadataItems0 update cost report business metric tokens with metadata items0

swagger:model UpdateCostReportBusinessMetricTokensWithMetadataItems0

func (*UpdateCostReportBusinessMetricTokensWithMetadataItems0) ContextValidate added in v0.0.14

ContextValidate validates this update cost report business metric tokens with metadata items0 based on context it is used

func (*UpdateCostReportBusinessMetricTokensWithMetadataItems0) MarshalBinary added in v0.0.14

MarshalBinary interface implementation

func (*UpdateCostReportBusinessMetricTokensWithMetadataItems0) UnmarshalBinary added in v0.0.14

UnmarshalBinary interface implementation

func (*UpdateCostReportBusinessMetricTokensWithMetadataItems0) Validate added in v0.0.14

Validate validates this update cost report business metric tokens with metadata items0

type UpdateCostReportSettings added in v0.0.14

type UpdateCostReportSettings struct {

	// Report will aggregate by cost or usage.
	AggregateBy string `json:"aggregate_by,omitempty"`

	// Report will amortize.
	Amortize bool `json:"amortize,omitempty"`

	// Report will include credits.
	IncludeCredits bool `json:"include_credits,omitempty"`

	// Report will include discounts.
	IncludeDiscounts bool `json:"include_discounts,omitempty"`

	// Report will include refunds.
	IncludeRefunds bool `json:"include_refunds,omitempty"`

	// Report will include tax.
	IncludeTax bool `json:"include_tax,omitempty"`

	// Report will show unallocated costs.
	Unallocated bool `json:"unallocated,omitempty"`
}

UpdateCostReportSettings Report settings.

swagger:model UpdateCostReportSettings

func (*UpdateCostReportSettings) ContextValidate added in v0.0.14

func (m *UpdateCostReportSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update cost report settings based on context it is used

func (*UpdateCostReportSettings) MarshalBinary added in v0.0.14

func (m *UpdateCostReportSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCostReportSettings) UnmarshalBinary added in v0.0.14

func (m *UpdateCostReportSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCostReportSettings) Validate added in v0.0.14

func (m *UpdateCostReportSettings) Validate(formats strfmt.Registry) error

Validate validates this update cost report settings

type UpdateDashboard added in v0.0.14

type UpdateDashboard struct {

	// Determines how to group costs in the Dashboard.
	// Enum: ["cumulative","day","week","month"]
	DateBin string `json:"date_bin,omitempty"`

	// Determines the date range in the Dashboard. Incompatible with 'start_date' and 'end_date' parameters.
	// Enum: ["this_month","last_7_days","last_30_days","last_month","last_3_months","last_6_months","custom","last_12_months","last_24_months","last_36_months","next_month","next_3_months","next_6_months","next_12_months","year_to_date","last_3_days"]
	DateInterval string `json:"date_interval,omitempty"`

	// The end date for the date range for costs in the Dashboard. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	// Required: true
	EndDate *string `json:"end_date"`

	// The tokens of the Saved Filters used in the Dashboard.
	SavedFilterTokens []string `json:"saved_filter_tokens"`

	// The start date for the date range for costs in the Dashboard. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	StartDate string `json:"start_date,omitempty"`

	// The title of the Dashboard.
	Title string `json:"title,omitempty"`

	// The widgets to add to the Dashboard. Currently supports CostReport, ResourceReport, KubernetesEfficiencyReport, and FinancialCommitmentReport.
	Widgets []*UpdateDashboardWidgetsItems0 `json:"widgets"`

	// The token of the Workspace the Dashboard belongs to. Required if the API token is associated with multiple Workspaces.
	WorkspaceToken string `json:"workspace_token,omitempty"`
}

UpdateDashboard Update a Dashboard.

swagger:model updateDashboard

func (*UpdateDashboard) ContextValidate added in v0.0.14

func (m *UpdateDashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update dashboard based on the context it is used

func (*UpdateDashboard) MarshalBinary added in v0.0.14

func (m *UpdateDashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDashboard) UnmarshalBinary added in v0.0.14

func (m *UpdateDashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDashboard) Validate added in v0.0.14

func (m *UpdateDashboard) Validate(formats strfmt.Registry) error

Validate validates this update dashboard

type UpdateDashboardWidgetsItems0 added in v0.0.46

type UpdateDashboardWidgetsItems0 struct {

	// settings
	Settings *UpdateDashboardWidgetsItems0Settings `json:"settings,omitempty"`

	// The title of the Widget (defaults to the title of the Resource).
	Title string `json:"title,omitempty"`

	// The token of the represented Resource.
	// Required: true
	WidgetableToken *string `json:"widgetable_token"`
}

UpdateDashboardWidgetsItems0 update dashboard widgets items0

swagger:model UpdateDashboardWidgetsItems0

func (*UpdateDashboardWidgetsItems0) ContextValidate added in v0.0.46

func (m *UpdateDashboardWidgetsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update dashboard widgets items0 based on the context it is used

func (*UpdateDashboardWidgetsItems0) MarshalBinary added in v0.0.46

func (m *UpdateDashboardWidgetsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDashboardWidgetsItems0) UnmarshalBinary added in v0.0.46

func (m *UpdateDashboardWidgetsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDashboardWidgetsItems0) Validate added in v0.0.46

func (m *UpdateDashboardWidgetsItems0) Validate(formats strfmt.Registry) error

Validate validates this update dashboard widgets items0

type UpdateDashboardWidgetsItems0Settings added in v0.0.46

type UpdateDashboardWidgetsItems0Settings struct {

	// display type
	// Required: true
	// Enum: ["table","chart"]
	DisplayType *string `json:"display_type"`
}

UpdateDashboardWidgetsItems0Settings The settings for the DashboardWidget.

swagger:model UpdateDashboardWidgetsItems0Settings

func (*UpdateDashboardWidgetsItems0Settings) ContextValidate added in v0.0.46

func (m *UpdateDashboardWidgetsItems0Settings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update dashboard widgets items0 settings based on context it is used

func (*UpdateDashboardWidgetsItems0Settings) MarshalBinary added in v0.0.46

func (m *UpdateDashboardWidgetsItems0Settings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDashboardWidgetsItems0Settings) UnmarshalBinary added in v0.0.46

func (m *UpdateDashboardWidgetsItems0Settings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDashboardWidgetsItems0Settings) Validate added in v0.0.46

Validate validates this update dashboard widgets items0 settings

type UpdateFinancialCommitmentReport added in v0.0.48

type UpdateFinancialCommitmentReport struct {

	// The date bucket of the FinancialCommitmentReport.
	// Enum: ["day","week","month"]
	DateBucket string `json:"date_bucket,omitempty"`

	// The date interval of the FinancialCommitmentReport. Unless 'custom' is used, this is incompatible with 'start_date' and 'end_date' parameters. Defaults to 'last_3_months'.
	// Enum: ["this_month","last_7_days","last_30_days","last_month","last_3_months","last_6_months","custom","last_12_months","last_24_months","last_36_months","year_to_date","last_3_days"]
	DateInterval string `json:"date_interval,omitempty"`

	// The end date of the FinancialCommitmentReport. YYYY-MM-DD formatted. Incompatible with 'date_interval' parameter.
	// Example: 2024-03-01
	// Format: date
	EndDate strfmt.Date `json:"end_date,omitempty"`

	// The filter query language to apply to the FinancialCommitmentReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// Grouping values for aggregating costs on the FinancialCommitmentReport. Valid groupings: cost_type, commitment_type, service, resource_account_id, provider_account_id, region, cost_category, cost_sub_category, instance_type, tag, tag:<label_name>.
	Groupings []string `json:"groupings"`

	// The scope for the costs. Possible values: discountable, all.
	// Enum: ["discountable","all"]
	OnDemandCostsScope string `json:"on_demand_costs_scope,omitempty"`

	// The start date of the FinancialCommitmentReport. YYYY-MM-DD formatted. Incompatible with 'date_interval' parameter.
	// Example: 2024-03-01
	// Format: date
	StartDate strfmt.Date `json:"start_date,omitempty"`

	// The title of the FinancialCommitmentReport.
	Title string `json:"title,omitempty"`
}

UpdateFinancialCommitmentReport Update a FinancialCommitmentReport.

swagger:model updateFinancialCommitmentReport

func (*UpdateFinancialCommitmentReport) ContextValidate added in v0.0.48

func (m *UpdateFinancialCommitmentReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update financial commitment report based on context it is used

func (*UpdateFinancialCommitmentReport) MarshalBinary added in v0.0.48

func (m *UpdateFinancialCommitmentReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateFinancialCommitmentReport) UnmarshalBinary added in v0.0.48

func (m *UpdateFinancialCommitmentReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateFinancialCommitmentReport) Validate added in v0.0.48

Validate validates this update financial commitment report

type UpdateFolder added in v0.0.14

type UpdateFolder struct {

	// The token of the parent Folder.
	ParentFolderToken string `json:"parent_folder_token,omitempty"`

	// The tokens of the SavedFilters to apply to any Cost Report contained within the Folder.
	SavedFilterTokens []string `json:"saved_filter_tokens"`

	// The title of the Folder.
	Title string `json:"title,omitempty"`
}

UpdateFolder Update a Folder for CostReports.

swagger:model updateFolder

func (*UpdateFolder) ContextValidate added in v0.0.14

func (m *UpdateFolder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update folder based on context it is used

func (*UpdateFolder) MarshalBinary added in v0.0.14

func (m *UpdateFolder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateFolder) UnmarshalBinary added in v0.0.14

func (m *UpdateFolder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateFolder) Validate added in v0.0.14

func (m *UpdateFolder) Validate(formats strfmt.Registry) error

Validate validates this update folder

type UpdateKubernetesEfficiencyReport added in v0.0.41

type UpdateKubernetesEfficiencyReport struct {

	// The column by which the costs are aggregated.
	// Enum: ["idle_cost","amount","cost_efficiency"]
	AggregatedBy string `json:"aggregated_by,omitempty"`

	// The date bucket of the KubernetesEfficiencyReport.
	// Enum: ["day","week","month"]
	DateBucket string `json:"date_bucket,omitempty"`

	// The date interval of the KubernetesEfficiencyReport. Incompatible with 'start_date' and 'end_date' parameters. Defaults to 'this_month' if start_date and end_date are not provided.
	// Enum: ["this_month","last_7_days","last_30_days","last_month","last_3_months","last_6_months","custom","last_12_months","last_24_months","last_36_months","next_month","next_3_months","next_6_months","next_12_months","year_to_date","last_3_days"]
	DateInterval string `json:"date_interval,omitempty"`

	// The end date of the KubernetesEfficiencyReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	// Format: date
	EndDate strfmt.Date `json:"end_date,omitempty"`

	// The filter query language to apply to the KubernetesEfficiencyReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// Grouping values for aggregating costs on the KubernetesEfficiencyReport. Valid groupings: cluster_id, namespace, labeled, category, label, label:<label_name>.
	Groupings []string `json:"groupings"`

	// The start date of the KubernetesEfficiencyReport. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
	// Format: date
	StartDate strfmt.Date `json:"start_date,omitempty"`

	// The title of the KubernetesEfficiencyReport.
	Title string `json:"title,omitempty"`
}

UpdateKubernetesEfficiencyReport Update a KubernetesEfficiencyReport.

swagger:model updateKubernetesEfficiencyReport

func (*UpdateKubernetesEfficiencyReport) ContextValidate added in v0.0.41

func (m *UpdateKubernetesEfficiencyReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update kubernetes efficiency report based on context it is used

func (*UpdateKubernetesEfficiencyReport) MarshalBinary added in v0.0.41

func (m *UpdateKubernetesEfficiencyReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateKubernetesEfficiencyReport) UnmarshalBinary added in v0.0.41

func (m *UpdateKubernetesEfficiencyReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateKubernetesEfficiencyReport) Validate added in v0.0.41

Validate validates this update kubernetes efficiency report

type UpdateManagedAccount added in v0.0.25

type UpdateManagedAccount struct {

	// Access Credential (aka Integrations) tokens to assign to the Managed Account.
	AccessCredentialTokens []string `json:"access_credential_tokens"`

	// Billing Rule tokens to assign to the Managed Account.
	BillingRuleTokens []string `json:"billing_rule_tokens"`

	// The contact email address for the Managed Account.
	ContactEmail string `json:"contact_email,omitempty"`

	// The name of the Managed Account.
	Name string `json:"name,omitempty"`
}

UpdateManagedAccount Update a Managed Account.

swagger:model updateManagedAccount

func (*UpdateManagedAccount) ContextValidate added in v0.0.25

func (m *UpdateManagedAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update managed account based on context it is used

func (*UpdateManagedAccount) MarshalBinary added in v0.0.25

func (m *UpdateManagedAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateManagedAccount) UnmarshalBinary added in v0.0.25

func (m *UpdateManagedAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateManagedAccount) Validate added in v0.0.25

func (m *UpdateManagedAccount) Validate(formats strfmt.Registry) error

Validate validates this update managed account

type UpdateNetworkFlowReport added in v0.0.51

type UpdateNetworkFlowReport struct {

	// The date interval of the NetworkFlowReport. Unless 'custom' is used, this is incompatible with 'start_date' and 'end_date' parameters. Defaults to 'last_7_days'.
	// Enum: ["last_3_days","last_7_days","custom"]
	DateInterval string `json:"date_interval,omitempty"`

	// The end date of the NetworkFlowReport. YYYY-MM-DD formatted. Incompatible with 'date_interval' parameter.
	// Format: date
	EndDate strfmt.Date `json:"end_date,omitempty"`

	// The filter query language to apply to the NetworkFlowReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The flow direction of the NetworkFlowReport.
	// Enum: ["ingress","egress"]
	FlowDirection string `json:"flow_direction,omitempty"`

	// The dimension by which the logs in the report are sorted. Defaults to costs.
	// Enum: ["costs","bytes"]
	FlowWeight string `json:"flow_weight,omitempty"`

	// Grouping values for aggregating data on the NetworkFlowReport. Valid groupings: account_id, az_id, dstaddr, dsthostname, flow_direction, interface_id, instance_id, peer_resource_uuid, peer_account_id, peer_vpc_id, peer_region, peer_az_id, peer_subnet_id, peer_interface_id, peer_instance_id, region, resource_uuid, srcaddr, srchostname, subnet_id, traffic_category, traffic_path, vpc_id.
	Groupings []string `json:"groupings"`

	// The start date of the NetworkFlowReport. YYYY-MM-DD formatted. Incompatible with 'date_interval' parameter.
	// Format: date
	StartDate strfmt.Date `json:"start_date,omitempty"`

	// The title of the NetworkFlowReport.
	Title string `json:"title,omitempty"`
}

UpdateNetworkFlowReport Update a NetworkFlowReport.

swagger:model updateNetworkFlowReport

func (*UpdateNetworkFlowReport) ContextValidate added in v0.0.51

func (m *UpdateNetworkFlowReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update network flow report based on context it is used

func (*UpdateNetworkFlowReport) MarshalBinary added in v0.0.51

func (m *UpdateNetworkFlowReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkFlowReport) UnmarshalBinary added in v0.0.51

func (m *UpdateNetworkFlowReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkFlowReport) Validate added in v0.0.51

func (m *UpdateNetworkFlowReport) Validate(formats strfmt.Registry) error

Validate validates this update network flow report

type UpdateReportNotification added in v0.0.14

type UpdateReportNotification struct {

	// The type of change the ReportNotification is tracking. Possible values: percentage, dollars.
	Change string `json:"change,omitempty"`

	// The CostReport token.
	CostReportToken string `json:"cost_report_token,omitempty"`

	// The frequency the ReportNotification is sent. Possible values: daily, weekly, monthly.
	Frequency string `json:"frequency,omitempty"`

	// The Slack or Microsoft Teams channels that receive the notification.
	RecipientChannels []string `json:"recipient_channels"`

	// The title of the ReportNotification.
	Title string `json:"title,omitempty"`

	// The Users that receive the notification.
	UserTokens []string `json:"user_tokens"`
}

UpdateReportNotification Update a ReportNotification.

swagger:model updateReportNotification

func (*UpdateReportNotification) ContextValidate added in v0.0.14

func (m *UpdateReportNotification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update report notification based on context it is used

func (*UpdateReportNotification) MarshalBinary added in v0.0.14

func (m *UpdateReportNotification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateReportNotification) UnmarshalBinary added in v0.0.14

func (m *UpdateReportNotification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateReportNotification) Validate added in v0.0.14

func (m *UpdateReportNotification) Validate(formats strfmt.Registry) error

Validate validates this update report notification

type UpdateResourceReport added in v0.0.38

type UpdateResourceReport struct {

	// The filter query language to apply to the ResourceReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The title of the ResourceReport.
	Title string `json:"title,omitempty"`
}

UpdateResourceReport Update a ResourceReport.

swagger:model updateResourceReport

func (*UpdateResourceReport) ContextValidate added in v0.0.38

func (m *UpdateResourceReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update resource report based on context it is used

func (*UpdateResourceReport) MarshalBinary added in v0.0.38

func (m *UpdateResourceReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateResourceReport) UnmarshalBinary added in v0.0.38

func (m *UpdateResourceReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateResourceReport) Validate added in v0.0.38

func (m *UpdateResourceReport) Validate(formats strfmt.Registry) error

Validate validates this update resource report

type UpdateSavedFilter added in v0.0.14

type UpdateSavedFilter struct {

	// The filter query language to apply to the SavedFilter, which subsequently gets applied to a CostReport. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The title of the SavedFilter.
	Title string `json:"title,omitempty"`
}

UpdateSavedFilter Update a SavedFilter for CostReports.

swagger:model updateSavedFilter

func (*UpdateSavedFilter) ContextValidate added in v0.0.14

func (m *UpdateSavedFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update saved filter based on context it is used

func (*UpdateSavedFilter) MarshalBinary added in v0.0.14

func (m *UpdateSavedFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSavedFilter) UnmarshalBinary added in v0.0.14

func (m *UpdateSavedFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSavedFilter) Validate added in v0.0.14

func (m *UpdateSavedFilter) Validate(formats strfmt.Registry) error

Validate validates this update saved filter

type UpdateSegment added in v0.0.14

type UpdateSegment struct {

	// The description of the Segment.
	Description string `json:"description,omitempty"`

	// The filter query language to apply to the Segment. Additional documentation available at https://docs.vantage.sh/vql.
	Filter string `json:"filter,omitempty"`

	// The token of the parent Segment this new Segment belongs to. Determines the Workspace the segment is assigned to.
	ParentSegmentToken string `json:"parent_segment_token,omitempty"`

	// The priority of the Segment.
	Priority int32 `json:"priority,omitempty"`

	// report settings
	ReportSettings *UpdateSegmentReportSettings `json:"report_settings,omitempty"`

	// The title of the Segment.
	Title string `json:"title,omitempty"`

	// Track Unallocated Costs which are not assigned to any of the created Segments.
	TrackUnallocated *bool `json:"track_unallocated,omitempty"`
}

UpdateSegment Update a Segment.

swagger:model updateSegment

func (*UpdateSegment) ContextValidate added in v0.0.14

func (m *UpdateSegment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update segment based on the context it is used

func (*UpdateSegment) MarshalBinary added in v0.0.14

func (m *UpdateSegment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSegment) UnmarshalBinary added in v0.0.14

func (m *UpdateSegment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSegment) Validate added in v0.0.14

func (m *UpdateSegment) Validate(formats strfmt.Registry) error

Validate validates this update segment

type UpdateSegmentReportSettings added in v0.0.14

type UpdateSegmentReportSettings struct {

	// Reports created under this Segment will amortize.
	Amortize bool `json:"amortize,omitempty"`

	// Reports created under this Segment will include credits.
	IncludeCredits bool `json:"include_credits,omitempty"`

	// Reports created under this Segment will include discounts.
	IncludeDiscounts bool `json:"include_discounts,omitempty"`

	// Reports created under this Segment will include refunds.
	IncludeRefunds bool `json:"include_refunds,omitempty"`

	// Reports created under this Segment will include tax.
	IncludeTax bool `json:"include_tax,omitempty"`
}

UpdateSegmentReportSettings Report settings configurable on top-level Segments.

swagger:model UpdateSegmentReportSettings

func (*UpdateSegmentReportSettings) ContextValidate added in v0.0.14

func (m *UpdateSegmentReportSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update segment report settings based on context it is used

func (*UpdateSegmentReportSettings) MarshalBinary added in v0.0.14

func (m *UpdateSegmentReportSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSegmentReportSettings) UnmarshalBinary added in v0.0.14

func (m *UpdateSegmentReportSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSegmentReportSettings) Validate added in v0.0.14

func (m *UpdateSegmentReportSettings) Validate(formats strfmt.Registry) error

Validate validates this update segment report settings

type UpdateTag added in v0.0.48

type UpdateTag struct {

	// Whether the Tag is hidden from the Vantage UI.
	// Required: true
	Hidden *bool `json:"hidden"`

	// tag key
	TagKey string `json:"tag_key,omitempty"`

	// tag keys
	TagKeys []string `json:"tag_keys"`
}

UpdateTag Updates an existing Tag.

swagger:model updateTag

func (*UpdateTag) ContextValidate added in v0.0.48

func (m *UpdateTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update tag based on context it is used

func (*UpdateTag) MarshalBinary added in v0.0.48

func (m *UpdateTag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateTag) UnmarshalBinary added in v0.0.48

func (m *UpdateTag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateTag) Validate added in v0.0.48

func (m *UpdateTag) Validate(formats strfmt.Registry) error

Validate validates this update tag

type UpdateTeam added in v0.0.14

type UpdateTeam struct {

	// The description of the Team.
	Description string `json:"description,omitempty"`

	// The name of the Team.
	Name string `json:"name,omitempty"`

	// The role to assign to the provided Users. Defaults to 'editor' which has editor permissions.
	// Enum: ["owner","editor","viewer"]
	Role string `json:"role,omitempty"`

	// The User emails to associate to the Team.
	UserEmails []string `json:"user_emails"`

	// The User tokens to associate to the Team.
	UserTokens []string `json:"user_tokens"`

	// The Workspace tokens to associate to the Team.
	WorkspaceTokens []string `json:"workspace_tokens"`
}

UpdateTeam Update a Team.

swagger:model updateTeam

func (*UpdateTeam) ContextValidate added in v0.0.14

func (m *UpdateTeam) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update team based on context it is used

func (*UpdateTeam) MarshalBinary added in v0.0.14

func (m *UpdateTeam) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateTeam) UnmarshalBinary added in v0.0.14

func (m *UpdateTeam) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateTeam) Validate added in v0.0.14

func (m *UpdateTeam) Validate(formats strfmt.Registry) error

Validate validates this update team

type UpdateVirtualTagConfig added in v0.0.14

type UpdateVirtualTagConfig struct {

	// The earliest month the VirtualTagConfig should be backfilled to.
	// Format: date
	BackfillUntil *strfmt.Date `json:"backfill_until,omitempty"`

	// The key of the VirtualTagConfig.
	Key string `json:"key,omitempty"`

	// Whether the VirtualTagConfig can override a provider-supplied tag on a matching Cost.
	Overridable *bool `json:"overridable,omitempty"`

	// Values for the VirtualTagConfig, with match precedence determined by order in the list.
	Values []*UpdateVirtualTagConfigValuesItems0 `json:"values"`
}

UpdateVirtualTagConfig Updates an existing VirtualTagConfig.

swagger:model updateVirtualTagConfig

func (*UpdateVirtualTagConfig) ContextValidate added in v0.0.14

func (m *UpdateVirtualTagConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update virtual tag config based on the context it is used

func (*UpdateVirtualTagConfig) MarshalBinary added in v0.0.14

func (m *UpdateVirtualTagConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVirtualTagConfig) UnmarshalBinary added in v0.0.14

func (m *UpdateVirtualTagConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVirtualTagConfig) Validate added in v0.0.14

func (m *UpdateVirtualTagConfig) Validate(formats strfmt.Registry) error

Validate validates this update virtual tag config

type UpdateVirtualTagConfigValuesItems0 added in v0.0.14

type UpdateVirtualTagConfigValuesItems0 struct {

	// The token of an associated business metric.
	BusinessMetricToken string `json:"business_metric_token,omitempty"`

	// cost metric
	CostMetric *UpdateVirtualTagConfigValuesItems0CostMetric `json:"cost_metric,omitempty"`

	// The filter query language to apply to the value. Additional documentation available at https://docs.vantage.sh/vql.
	// Required: true
	Filter *string `json:"filter"`

	// The name of the value.
	Name string `json:"name,omitempty"`
}

UpdateVirtualTagConfigValuesItems0 update virtual tag config values items0

swagger:model UpdateVirtualTagConfigValuesItems0

func (*UpdateVirtualTagConfigValuesItems0) ContextValidate added in v0.0.14

func (m *UpdateVirtualTagConfigValuesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update virtual tag config values items0 based on the context it is used

func (*UpdateVirtualTagConfigValuesItems0) MarshalBinary added in v0.0.14

func (m *UpdateVirtualTagConfigValuesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVirtualTagConfigValuesItems0) UnmarshalBinary added in v0.0.14

func (m *UpdateVirtualTagConfigValuesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVirtualTagConfigValuesItems0) Validate added in v0.0.14

Validate validates this update virtual tag config values items0

type UpdateVirtualTagConfigValuesItems0CostMetric added in v0.0.31

type UpdateVirtualTagConfigValuesItems0CostMetric struct {

	// aggregation
	// Required: true
	Aggregation *UpdateVirtualTagConfigValuesItems0CostMetricAggregation `json:"aggregation"`

	// filter
	// Required: true
	Filter *string `json:"filter"`
}

UpdateVirtualTagConfigValuesItems0CostMetric update virtual tag config values items0 cost metric

swagger:model UpdateVirtualTagConfigValuesItems0CostMetric

func (*UpdateVirtualTagConfigValuesItems0CostMetric) ContextValidate added in v0.0.31

ContextValidate validate this update virtual tag config values items0 cost metric based on the context it is used

func (*UpdateVirtualTagConfigValuesItems0CostMetric) MarshalBinary added in v0.0.31

MarshalBinary interface implementation

func (*UpdateVirtualTagConfigValuesItems0CostMetric) UnmarshalBinary added in v0.0.31

UnmarshalBinary interface implementation

func (*UpdateVirtualTagConfigValuesItems0CostMetric) Validate added in v0.0.31

Validate validates this update virtual tag config values items0 cost metric

type UpdateVirtualTagConfigValuesItems0CostMetricAggregation added in v0.0.31

type UpdateVirtualTagConfigValuesItems0CostMetricAggregation struct {

	// tag
	// Required: true
	Tag *string `json:"tag"`
}

UpdateVirtualTagConfigValuesItems0CostMetricAggregation update virtual tag config values items0 cost metric aggregation

swagger:model UpdateVirtualTagConfigValuesItems0CostMetricAggregation

func (*UpdateVirtualTagConfigValuesItems0CostMetricAggregation) ContextValidate added in v0.0.31

ContextValidate validates this update virtual tag config values items0 cost metric aggregation based on context it is used

func (*UpdateVirtualTagConfigValuesItems0CostMetricAggregation) MarshalBinary added in v0.0.31

MarshalBinary interface implementation

func (*UpdateVirtualTagConfigValuesItems0CostMetricAggregation) UnmarshalBinary added in v0.0.31

UnmarshalBinary interface implementation

func (*UpdateVirtualTagConfigValuesItems0CostMetricAggregation) Validate added in v0.0.31

Validate validates this update virtual tag config values items0 cost metric aggregation

type User

type User struct {

	// The email of the User.
	// Example: john_doe@acme.com
	Email string `json:"email,omitempty"`

	// The last time the User logged in.
	// Example: 2024-01-01T00:00:00Z
	LastSeenAt string `json:"last_seen_at,omitempty"`

	// The name of the User.
	// Example: John Doe
	Name string `json:"name,omitempty"`

	// The role of the User.
	// Example: Admin
	Role string `json:"role,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

User User model

swagger:model User

func (*User) ContextValidate

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user based on context it is used

func (*User) MarshalBinary

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

type UserCostsUpload added in v0.0.36

type UserCostsUpload struct {

	// The total amount of the costs in the UserCostsUpload.
	// Example: 1234.56
	Amount string `json:"amount,omitempty"`

	// When the UserCostsUpload was uploaded.
	// Example: 2021-01-01T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The token of the Creator of the UserCostsUpload.
	// Example: usr_1234
	CreatedByToken string `json:"created_by_token,omitempty"`

	// The end date of the costs in the UserCostsUpload.
	// Example: 2021-01-31
	EndDate string `json:"end_date,omitempty"`

	// The filename of the uploaded costs UserCostsUpload.
	// Example: usr_csts_upld_1234.parquet
	Filename string `json:"filename,omitempty"`

	// Import status of the UserCostsUpload.
	// Example: processing
	ImportStatus string `json:"import_status,omitempty"`

	// The start date of the costs in the UserCostsUpload.
	// Example: 2021-01-01
	StartDate string `json:"start_date,omitempty"`

	// The token of the UserCostsUpload.
	// Example: usr_csts_upld_1234
	Token string `json:"token,omitempty"`
}

UserCostsUpload UserCostsUpload model

swagger:model UserCostsUpload

func (*UserCostsUpload) ContextValidate added in v0.0.36

func (m *UserCostsUpload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user costs upload based on context it is used

func (*UserCostsUpload) MarshalBinary added in v0.0.36

func (m *UserCostsUpload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserCostsUpload) UnmarshalBinary added in v0.0.36

func (m *UserCostsUpload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserCostsUpload) Validate added in v0.0.36

func (m *UserCostsUpload) Validate(formats strfmt.Registry) error

Validate validates this user costs upload

type UserCostsUploads added in v0.0.36

type UserCostsUploads struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// user costs uploads
	UserCostsUploads []*UserCostsUpload `json:"user_costs_uploads"`
}

UserCostsUploads UserCostsUploads model

swagger:model UserCostsUploads

func (*UserCostsUploads) ContextValidate added in v0.0.36

func (m *UserCostsUploads) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user costs uploads based on the context it is used

func (*UserCostsUploads) MarshalBinary added in v0.0.36

func (m *UserCostsUploads) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserCostsUploads) UnmarshalBinary added in v0.0.36

func (m *UserCostsUploads) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserCostsUploads) Validate added in v0.0.36

func (m *UserCostsUploads) Validate(formats strfmt.Registry) error

Validate validates this user costs uploads

type Users

type Users struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// users
	Users []*User `json:"users"`
}

Users Users model

swagger:model Users

func (*Users) ContextValidate

func (m *Users) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users based on the context it is used

func (*Users) MarshalBinary

func (m *Users) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Users) UnmarshalBinary

func (m *Users) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Users) Validate

func (m *Users) Validate(formats strfmt.Registry) error

Validate validates this users

type VirtualTagConfig added in v0.0.12

type VirtualTagConfig struct {

	// The earliest month VirtualTagConfig should be backfilled to.
	// Example: 2024-08-01
	BackfillUntil string `json:"backfill_until,omitempty"`

	// The token of the Creator of the VirtualTagConfig.
	// Example: usr_1234
	CreatedByToken string `json:"created_by_token,omitempty"`

	// The key of the VirtualTagConfig.
	// Example: Cost Center
	Key string `json:"key,omitempty"`

	// Whether the VirtualTagConfig can override a provider-supplied tag on a matching Cost.
	Overridable bool `json:"overridable,omitempty"`

	// The token of the VirtualTagConfig.
	// Example: vtag_1234
	Token string `json:"token,omitempty"`

	// Values for the VirtualTagConfig, with match precedence determined by their relative order in the list.
	Values []*VirtualTagConfigValue `json:"values"`
}

VirtualTagConfig VirtualTagConfig model

swagger:model VirtualTagConfig

func (*VirtualTagConfig) ContextValidate added in v0.0.12

func (m *VirtualTagConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this virtual tag config based on the context it is used

func (*VirtualTagConfig) MarshalBinary added in v0.0.12

func (m *VirtualTagConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VirtualTagConfig) UnmarshalBinary added in v0.0.12

func (m *VirtualTagConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VirtualTagConfig) Validate added in v0.0.12

func (m *VirtualTagConfig) Validate(formats strfmt.Registry) error

Validate validates this virtual tag config

type VirtualTagConfigValue added in v0.0.13

type VirtualTagConfigValue struct {

	// The token of the associated BusinessMetric.
	// Example: bsnss_mtrc_abc123
	BusinessMetricToken string `json:"business_metric_token,omitempty"`

	// The associated cost metric.
	CostMetric *VirtualTagConfigValueCostMetric `json:"cost_metric,omitempty"`

	// The filter VQL for the Value.
	// Example: costs.provider = 'aws' AND costs.service = 'Amazon Simple Storage Service'
	Filter string `json:"filter,omitempty"`

	// The name of the Value.
	// Example: Informatics
	Name string `json:"name,omitempty"`
}

VirtualTagConfigValue virtual tag config value

swagger:model VirtualTagConfigValue

func (*VirtualTagConfigValue) ContextValidate added in v0.0.13

func (m *VirtualTagConfigValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this virtual tag config value based on the context it is used

func (*VirtualTagConfigValue) MarshalBinary added in v0.0.13

func (m *VirtualTagConfigValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VirtualTagConfigValue) UnmarshalBinary added in v0.0.13

func (m *VirtualTagConfigValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VirtualTagConfigValue) Validate added in v0.0.13

func (m *VirtualTagConfigValue) Validate(formats strfmt.Registry) error

Validate validates this virtual tag config value

type VirtualTagConfigValueCostMetric added in v0.0.31

type VirtualTagConfigValueCostMetric struct {

	// The aggregation type of the CostMetric.
	Aggregation *VirtualTagConfigValueCostMetricAggregation `json:"aggregation,omitempty"`

	// The filter VQL for the cost metric.
	Filter string `json:"filter,omitempty"`
}

VirtualTagConfigValueCostMetric virtual tag config value cost metric

swagger:model VirtualTagConfigValueCostMetric

func (*VirtualTagConfigValueCostMetric) ContextValidate added in v0.0.31

func (m *VirtualTagConfigValueCostMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this virtual tag config value cost metric based on the context it is used

func (*VirtualTagConfigValueCostMetric) MarshalBinary added in v0.0.31

func (m *VirtualTagConfigValueCostMetric) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VirtualTagConfigValueCostMetric) UnmarshalBinary added in v0.0.31

func (m *VirtualTagConfigValueCostMetric) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VirtualTagConfigValueCostMetric) Validate added in v0.0.31

Validate validates this virtual tag config value cost metric

type VirtualTagConfigValueCostMetricAggregation added in v0.0.31

type VirtualTagConfigValueCostMetricAggregation struct {

	// The tag to aggregate on.
	Tag string `json:"tag,omitempty"`
}

VirtualTagConfigValueCostMetricAggregation virtual tag config value cost metric aggregation

swagger:model VirtualTagConfigValueCostMetricAggregation

func (*VirtualTagConfigValueCostMetricAggregation) ContextValidate added in v0.0.31

ContextValidate validates this virtual tag config value cost metric aggregation based on context it is used

func (*VirtualTagConfigValueCostMetricAggregation) MarshalBinary added in v0.0.31

func (m *VirtualTagConfigValueCostMetricAggregation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VirtualTagConfigValueCostMetricAggregation) UnmarshalBinary added in v0.0.31

func (m *VirtualTagConfigValueCostMetricAggregation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VirtualTagConfigValueCostMetricAggregation) Validate added in v0.0.31

Validate validates this virtual tag config value cost metric aggregation

type VirtualTagConfigs added in v0.0.12

type VirtualTagConfigs struct {

	// virtual tag configs
	VirtualTagConfigs []*VirtualTagConfig `json:"virtual_tag_configs"`
}

VirtualTagConfigs VirtualTagConfigs model

swagger:model VirtualTagConfigs

func (*VirtualTagConfigs) ContextValidate added in v0.0.12

func (m *VirtualTagConfigs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this virtual tag configs based on the context it is used

func (*VirtualTagConfigs) MarshalBinary added in v0.0.12

func (m *VirtualTagConfigs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VirtualTagConfigs) UnmarshalBinary added in v0.0.12

func (m *VirtualTagConfigs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VirtualTagConfigs) Validate added in v0.0.12

func (m *VirtualTagConfigs) Validate(formats strfmt.Registry) error

Validate validates this virtual tag configs

type Workspace

type Workspace struct {

	// The date and time, in UTC, the Workspace was created. ISO 8601 Formatted.
	// Example: 2023-08-04T00:00:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// The currency code for the Workspace that will be used for currency conversion.
	// Example: USD
	Currency string `json:"currency,omitempty"`

	// Whether or not currency conversion is enabled for the Workspace.
	EnableCurrencyConversion bool `json:"enable_currency_conversion,omitempty"`

	// The exchange rate date that will be used to convert currency for your cost data.
	ExchangeRateDate string `json:"exchange_rate_date,omitempty"`

	// The name of the Workspace.
	// Example: Acme Corp.
	Name string `json:"name,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

Workspace Workspace model

swagger:model Workspace

func (*Workspace) ContextValidate

func (m *Workspace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this workspace based on context it is used

func (*Workspace) MarshalBinary

func (m *Workspace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Workspace) UnmarshalBinary

func (m *Workspace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Workspace) Validate

func (m *Workspace) Validate(formats strfmt.Registry) error

Validate validates this workspace

type Workspaces

type Workspaces struct {

	// links
	Links interface{} `json:"links,omitempty"`

	// workspaces
	Workspaces []*Workspace `json:"workspaces"`
}

Workspaces Workspaces model

swagger:model Workspaces

func (*Workspaces) ContextValidate

func (m *Workspaces) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this workspaces based on the context it is used

func (*Workspaces) MarshalBinary

func (m *Workspaces) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Workspaces) UnmarshalBinary

func (m *Workspaces) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Workspaces) Validate

func (m *Workspaces) Validate(formats strfmt.Registry) error

Validate validates this workspaces

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL