Documentation
¶
Index ¶
- Constants
- type AccessGrant
- type AccessGrants
- type AnomalyAlert
- type AnomalyAlerts
- type AnomalyNotification
- type AnomalyNotifications
- type AttachedBusinessMetricForCostReport
- func (m *AttachedBusinessMetricForCostReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AttachedBusinessMetricForCostReport) MarshalBinary() ([]byte, error)
- func (m *AttachedBusinessMetricForCostReport) UnmarshalBinary(b []byte) error
- func (m *AttachedBusinessMetricForCostReport) Validate(formats strfmt.Registry) error
- type AttachedCostReportForBusinessMetric
- func (m *AttachedCostReportForBusinessMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AttachedCostReportForBusinessMetric) MarshalBinary() ([]byte, error)
- func (m *AttachedCostReportForBusinessMetric) UnmarshalBinary(b []byte) error
- func (m *AttachedCostReportForBusinessMetric) Validate(formats strfmt.Registry) error
- type BillingRule
- type BillingRules
- type Budget
- type BudgetAlert
- type BudgetAlerts
- type BudgetPerformance
- type BudgetPeriod
- type Budgets
- type BusinessMetric
- type BusinessMetricValue
- type BusinessMetrics
- type Cost
- type CostReport
- type CostReportSettings
- type CostReports
- type Costs
- type CreateAccessGrant
- type CreateAnomalyNotification
- func (m *CreateAnomalyNotification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateAnomalyNotification) MarshalBinary() ([]byte, error)
- func (m *CreateAnomalyNotification) UnmarshalBinary(b []byte) error
- func (m *CreateAnomalyNotification) Validate(formats strfmt.Registry) error
- type CreateAzureIntegration
- func (m *CreateAzureIntegration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateAzureIntegration) MarshalBinary() ([]byte, error)
- func (m *CreateAzureIntegration) UnmarshalBinary(b []byte) error
- func (m *CreateAzureIntegration) Validate(formats strfmt.Registry) error
- type CreateBillingRule
- type CreateBudget
- type CreateBudgetPeriodsItems0
- func (m *CreateBudgetPeriodsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBudgetPeriodsItems0) MarshalBinary() ([]byte, error)
- func (m *CreateBudgetPeriodsItems0) UnmarshalBinary(b []byte) error
- func (m *CreateBudgetPeriodsItems0) Validate(formats strfmt.Registry) error
- type CreateBusinessMetric
- type CreateBusinessMetricCostReportTokensWithMetadataItems0
- func (m *CreateBusinessMetricCostReportTokensWithMetadataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBusinessMetricCostReportTokensWithMetadataItems0) MarshalBinary() ([]byte, error)
- func (m *CreateBusinessMetricCostReportTokensWithMetadataItems0) UnmarshalBinary(b []byte) error
- func (m *CreateBusinessMetricCostReportTokensWithMetadataItems0) Validate(formats strfmt.Registry) error
- type CreateBusinessMetricValuesItems0
- func (m *CreateBusinessMetricValuesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBusinessMetricValuesItems0) MarshalBinary() ([]byte, error)
- func (m *CreateBusinessMetricValuesItems0) UnmarshalBinary(b []byte) error
- func (m *CreateBusinessMetricValuesItems0) Validate(formats strfmt.Registry) error
- type CreateCostReport
- type CreateCostReportBusinessMetricTokensWithMetadataItems0
- func (m *CreateCostReportBusinessMetricTokensWithMetadataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateCostReportBusinessMetricTokensWithMetadataItems0) MarshalBinary() ([]byte, error)
- func (m *CreateCostReportBusinessMetricTokensWithMetadataItems0) UnmarshalBinary(b []byte) error
- func (m *CreateCostReportBusinessMetricTokensWithMetadataItems0) Validate(formats strfmt.Registry) error
- type CreateCostReportSettings
- func (m *CreateCostReportSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateCostReportSettings) MarshalBinary() ([]byte, error)
- func (m *CreateCostReportSettings) UnmarshalBinary(b []byte) error
- func (m *CreateCostReportSettings) Validate(formats strfmt.Registry) error
- type CreateCustomProviderIntegration
- func (m *CreateCustomProviderIntegration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateCustomProviderIntegration) MarshalBinary() ([]byte, error)
- func (m *CreateCustomProviderIntegration) UnmarshalBinary(b []byte) error
- func (m *CreateCustomProviderIntegration) Validate(formats strfmt.Registry) error
- type CreateDashboard
- type CreateDashboardWidgetsItems0
- func (m *CreateDashboardWidgetsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateDashboardWidgetsItems0) MarshalBinary() ([]byte, error)
- func (m *CreateDashboardWidgetsItems0) UnmarshalBinary(b []byte) error
- func (m *CreateDashboardWidgetsItems0) Validate(formats strfmt.Registry) error
- type CreateDashboardWidgetsItems0Settings
- func (m *CreateDashboardWidgetsItems0Settings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateDashboardWidgetsItems0Settings) MarshalBinary() ([]byte, error)
- func (m *CreateDashboardWidgetsItems0Settings) UnmarshalBinary(b []byte) error
- func (m *CreateDashboardWidgetsItems0Settings) Validate(formats strfmt.Registry) error
- type CreateFinancialCommitmentReport
- func (m *CreateFinancialCommitmentReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateFinancialCommitmentReport) MarshalBinary() ([]byte, error)
- func (m *CreateFinancialCommitmentReport) UnmarshalBinary(b []byte) error
- func (m *CreateFinancialCommitmentReport) Validate(formats strfmt.Registry) error
- type CreateFolder
- type CreateGCPIntegration
- type CreateKubernetesEfficiencyReport
- func (m *CreateKubernetesEfficiencyReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateKubernetesEfficiencyReport) MarshalBinary() ([]byte, error)
- func (m *CreateKubernetesEfficiencyReport) UnmarshalBinary(b []byte) error
- func (m *CreateKubernetesEfficiencyReport) Validate(formats strfmt.Registry) error
- type CreateManagedAccount
- type CreateNetworkFlowReport
- func (m *CreateNetworkFlowReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateNetworkFlowReport) MarshalBinary() ([]byte, error)
- func (m *CreateNetworkFlowReport) UnmarshalBinary(b []byte) error
- func (m *CreateNetworkFlowReport) Validate(formats strfmt.Registry) error
- type CreateReportNotification
- func (m *CreateReportNotification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateReportNotification) MarshalBinary() ([]byte, error)
- func (m *CreateReportNotification) UnmarshalBinary(b []byte) error
- func (m *CreateReportNotification) Validate(formats strfmt.Registry) error
- type CreateResourceReport
- type CreateSavedFilter
- type CreateSegment
- type CreateSegmentReportSettings
- func (m *CreateSegmentReportSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateSegmentReportSettings) MarshalBinary() ([]byte, error)
- func (m *CreateSegmentReportSettings) UnmarshalBinary(b []byte) error
- func (m *CreateSegmentReportSettings) Validate(formats strfmt.Registry) error
- type CreateTeam
- type CreateVirtualTagConfig
- func (m *CreateVirtualTagConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateVirtualTagConfig) MarshalBinary() ([]byte, error)
- func (m *CreateVirtualTagConfig) UnmarshalBinary(b []byte) error
- func (m *CreateVirtualTagConfig) Validate(formats strfmt.Registry) error
- type CreateVirtualTagConfigValuesItems0
- func (m *CreateVirtualTagConfigValuesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateVirtualTagConfigValuesItems0) MarshalBinary() ([]byte, error)
- func (m *CreateVirtualTagConfigValuesItems0) UnmarshalBinary(b []byte) error
- func (m *CreateVirtualTagConfigValuesItems0) Validate(formats strfmt.Registry) error
- type CreateVirtualTagConfigValuesItems0CostMetric
- func (m *CreateVirtualTagConfigValuesItems0CostMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateVirtualTagConfigValuesItems0CostMetric) MarshalBinary() ([]byte, error)
- func (m *CreateVirtualTagConfigValuesItems0CostMetric) UnmarshalBinary(b []byte) error
- func (m *CreateVirtualTagConfigValuesItems0CostMetric) Validate(formats strfmt.Registry) error
- type CreateVirtualTagConfigValuesItems0CostMetricAggregation
- func (m *CreateVirtualTagConfigValuesItems0CostMetricAggregation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateVirtualTagConfigValuesItems0CostMetricAggregation) MarshalBinary() ([]byte, error)
- func (m *CreateVirtualTagConfigValuesItems0CostMetricAggregation) UnmarshalBinary(b []byte) error
- func (m *CreateVirtualTagConfigValuesItems0CostMetricAggregation) Validate(formats strfmt.Registry) error
- type Dashboard
- type DashboardWidget
- type DashboardWidgetSettings
- func (m *DashboardWidgetSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DashboardWidgetSettings) MarshalBinary() ([]byte, error)
- func (m *DashboardWidgetSettings) UnmarshalBinary(b []byte) error
- func (m *DashboardWidgetSettings) Validate(formats strfmt.Registry) error
- type Dashboards
- type Errors
- type FinancialCommitment
- type FinancialCommitmentReport
- func (m *FinancialCommitmentReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *FinancialCommitmentReport) MarshalBinary() ([]byte, error)
- func (m *FinancialCommitmentReport) UnmarshalBinary(b []byte) error
- func (m *FinancialCommitmentReport) Validate(formats strfmt.Registry) error
- type FinancialCommitmentReports
- func (m *FinancialCommitmentReports) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *FinancialCommitmentReports) MarshalBinary() ([]byte, error)
- func (m *FinancialCommitmentReports) UnmarshalBinary(b []byte) error
- func (m *FinancialCommitmentReports) Validate(formats strfmt.Registry) error
- type FinancialCommitments
- type Folder
- type Folders
- type Integration
- type Integrations
- type KubernetesEfficiencyReport
- func (m *KubernetesEfficiencyReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *KubernetesEfficiencyReport) MarshalBinary() ([]byte, error)
- func (m *KubernetesEfficiencyReport) UnmarshalBinary(b []byte) error
- func (m *KubernetesEfficiencyReport) Validate(formats strfmt.Registry) error
- type KubernetesEfficiencyReports
- func (m *KubernetesEfficiencyReports) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *KubernetesEfficiencyReports) MarshalBinary() ([]byte, error)
- func (m *KubernetesEfficiencyReports) UnmarshalBinary(b []byte) error
- func (m *KubernetesEfficiencyReports) Validate(formats strfmt.Registry) error
- type ManagedAccount
- type ManagedAccounts
- type NetworkFlowReport
- type NetworkFlowReports
- type Price
- type Prices
- type Product
- type Products
- type ProviderResource
- type Recommendation
- type RecommendationAction
- type Recommendations
- type ReportNotification
- type ReportNotifications
- type Resource
- type ResourceCost
- type ResourceReport
- type ResourceReports
- type Resources
- type SavedFilter
- type SavedFilters
- type Segment
- type SegmentReportSettings
- type Segments
- type Tag
- type Tags
- type Team
- type Teams
- type UpdateAccessGrant
- type UpdateAnomalyAlert
- type UpdateAnomalyNotification
- func (m *UpdateAnomalyNotification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateAnomalyNotification) MarshalBinary() ([]byte, error)
- func (m *UpdateAnomalyNotification) UnmarshalBinary(b []byte) error
- func (m *UpdateAnomalyNotification) Validate(formats strfmt.Registry) error
- type UpdateBillingRule
- type UpdateBudget
- type UpdateBudgetPeriodsItems0
- func (m *UpdateBudgetPeriodsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBudgetPeriodsItems0) MarshalBinary() ([]byte, error)
- func (m *UpdateBudgetPeriodsItems0) UnmarshalBinary(b []byte) error
- func (m *UpdateBudgetPeriodsItems0) Validate(formats strfmt.Registry) error
- type UpdateBusinessMetric
- type UpdateBusinessMetricCostReportTokensWithMetadataItems0
- func (m *UpdateBusinessMetricCostReportTokensWithMetadataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBusinessMetricCostReportTokensWithMetadataItems0) MarshalBinary() ([]byte, error)
- func (m *UpdateBusinessMetricCostReportTokensWithMetadataItems0) UnmarshalBinary(b []byte) error
- func (m *UpdateBusinessMetricCostReportTokensWithMetadataItems0) Validate(formats strfmt.Registry) error
- type UpdateBusinessMetricValuesItems0
- func (m *UpdateBusinessMetricValuesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBusinessMetricValuesItems0) MarshalBinary() ([]byte, error)
- func (m *UpdateBusinessMetricValuesItems0) UnmarshalBinary(b []byte) error
- func (m *UpdateBusinessMetricValuesItems0) Validate(formats strfmt.Registry) error
- type UpdateCostReport
- type UpdateCostReportBusinessMetricTokensWithMetadataItems0
- func (m *UpdateCostReportBusinessMetricTokensWithMetadataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateCostReportBusinessMetricTokensWithMetadataItems0) MarshalBinary() ([]byte, error)
- func (m *UpdateCostReportBusinessMetricTokensWithMetadataItems0) UnmarshalBinary(b []byte) error
- func (m *UpdateCostReportBusinessMetricTokensWithMetadataItems0) Validate(formats strfmt.Registry) error
- type UpdateCostReportSettings
- func (m *UpdateCostReportSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateCostReportSettings) MarshalBinary() ([]byte, error)
- func (m *UpdateCostReportSettings) UnmarshalBinary(b []byte) error
- func (m *UpdateCostReportSettings) Validate(formats strfmt.Registry) error
- type UpdateDashboard
- type UpdateDashboardWidgetsItems0
- func (m *UpdateDashboardWidgetsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateDashboardWidgetsItems0) MarshalBinary() ([]byte, error)
- func (m *UpdateDashboardWidgetsItems0) UnmarshalBinary(b []byte) error
- func (m *UpdateDashboardWidgetsItems0) Validate(formats strfmt.Registry) error
- type UpdateDashboardWidgetsItems0Settings
- func (m *UpdateDashboardWidgetsItems0Settings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateDashboardWidgetsItems0Settings) MarshalBinary() ([]byte, error)
- func (m *UpdateDashboardWidgetsItems0Settings) UnmarshalBinary(b []byte) error
- func (m *UpdateDashboardWidgetsItems0Settings) Validate(formats strfmt.Registry) error
- type UpdateFinancialCommitmentReport
- func (m *UpdateFinancialCommitmentReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateFinancialCommitmentReport) MarshalBinary() ([]byte, error)
- func (m *UpdateFinancialCommitmentReport) UnmarshalBinary(b []byte) error
- func (m *UpdateFinancialCommitmentReport) Validate(formats strfmt.Registry) error
- type UpdateFolder
- type UpdateKubernetesEfficiencyReport
- func (m *UpdateKubernetesEfficiencyReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateKubernetesEfficiencyReport) MarshalBinary() ([]byte, error)
- func (m *UpdateKubernetesEfficiencyReport) UnmarshalBinary(b []byte) error
- func (m *UpdateKubernetesEfficiencyReport) Validate(formats strfmt.Registry) error
- type UpdateManagedAccount
- type UpdateNetworkFlowReport
- func (m *UpdateNetworkFlowReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateNetworkFlowReport) MarshalBinary() ([]byte, error)
- func (m *UpdateNetworkFlowReport) UnmarshalBinary(b []byte) error
- func (m *UpdateNetworkFlowReport) Validate(formats strfmt.Registry) error
- type UpdateReportNotification
- func (m *UpdateReportNotification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateReportNotification) MarshalBinary() ([]byte, error)
- func (m *UpdateReportNotification) UnmarshalBinary(b []byte) error
- func (m *UpdateReportNotification) Validate(formats strfmt.Registry) error
- type UpdateResourceReport
- type UpdateSavedFilter
- type UpdateSegment
- type UpdateSegmentReportSettings
- func (m *UpdateSegmentReportSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateSegmentReportSettings) MarshalBinary() ([]byte, error)
- func (m *UpdateSegmentReportSettings) UnmarshalBinary(b []byte) error
- func (m *UpdateSegmentReportSettings) Validate(formats strfmt.Registry) error
- type UpdateTag
- type UpdateTeam
- type UpdateVirtualTagConfig
- func (m *UpdateVirtualTagConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateVirtualTagConfig) MarshalBinary() ([]byte, error)
- func (m *UpdateVirtualTagConfig) UnmarshalBinary(b []byte) error
- func (m *UpdateVirtualTagConfig) Validate(formats strfmt.Registry) error
- type UpdateVirtualTagConfigValuesItems0
- func (m *UpdateVirtualTagConfigValuesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateVirtualTagConfigValuesItems0) MarshalBinary() ([]byte, error)
- func (m *UpdateVirtualTagConfigValuesItems0) UnmarshalBinary(b []byte) error
- func (m *UpdateVirtualTagConfigValuesItems0) Validate(formats strfmt.Registry) error
- type UpdateVirtualTagConfigValuesItems0CostMetric
- func (m *UpdateVirtualTagConfigValuesItems0CostMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateVirtualTagConfigValuesItems0CostMetric) MarshalBinary() ([]byte, error)
- func (m *UpdateVirtualTagConfigValuesItems0CostMetric) UnmarshalBinary(b []byte) error
- func (m *UpdateVirtualTagConfigValuesItems0CostMetric) Validate(formats strfmt.Registry) error
- type UpdateVirtualTagConfigValuesItems0CostMetricAggregation
- func (m *UpdateVirtualTagConfigValuesItems0CostMetricAggregation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateVirtualTagConfigValuesItems0CostMetricAggregation) MarshalBinary() ([]byte, error)
- func (m *UpdateVirtualTagConfigValuesItems0CostMetricAggregation) UnmarshalBinary(b []byte) error
- func (m *UpdateVirtualTagConfigValuesItems0CostMetricAggregation) Validate(formats strfmt.Registry) error
- type User
- type UserCostsUpload
- type UserCostsUploads
- type Users
- type VirtualTagConfig
- type VirtualTagConfigValue
- type VirtualTagConfigValueCostMetric
- func (m *VirtualTagConfigValueCostMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VirtualTagConfigValueCostMetric) MarshalBinary() ([]byte, error)
- func (m *VirtualTagConfigValueCostMetric) UnmarshalBinary(b []byte) error
- func (m *VirtualTagConfigValueCostMetric) Validate(formats strfmt.Registry) error
- type VirtualTagConfigValueCostMetricAggregation
- func (m *VirtualTagConfigValueCostMetricAggregation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VirtualTagConfigValueCostMetricAggregation) MarshalBinary() ([]byte, error)
- func (m *VirtualTagConfigValueCostMetricAggregation) UnmarshalBinary(b []byte) error
- func (m *VirtualTagConfigValueCostMetricAggregation) Validate(formats strfmt.Registry) error
- type VirtualTagConfigs
- type Workspace
- type Workspaces
Constants ¶
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" )
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" )
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" )
const ( // CreateAccessGrantAccessDenied captures enum value "denied" CreateAccessGrantAccessDenied string = "denied" // CreateAccessGrantAccessAllowed captures enum value "allowed" CreateAccessGrantAccessAllowed string = "allowed" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
const ( // CreateDashboardWidgetsItems0SettingsDisplayTypeTable captures enum value "table" CreateDashboardWidgetsItems0SettingsDisplayTypeTable string = "table" // CreateDashboardWidgetsItems0SettingsDisplayTypeChart captures enum value "chart" CreateDashboardWidgetsItems0SettingsDisplayTypeChart string = "chart" )
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" )
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" )
const ( // CreateFinancialCommitmentReportOnDemandCostsScopeDiscountable captures enum value "discountable" CreateFinancialCommitmentReportOnDemandCostsScopeDiscountable string = "discountable" // CreateFinancialCommitmentReportOnDemandCostsScopeAll captures enum value "all" CreateFinancialCommitmentReportOnDemandCostsScopeAll string = "all" )
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" )
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" )
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" )
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" )
const ( // CreateNetworkFlowReportFlowDirectionIngress captures enum value "ingress" CreateNetworkFlowReportFlowDirectionIngress string = "ingress" // CreateNetworkFlowReportFlowDirectionEgress captures enum value "egress" CreateNetworkFlowReportFlowDirectionEgress string = "egress" )
const ( // CreateNetworkFlowReportFlowWeightCosts captures enum value "costs" CreateNetworkFlowReportFlowWeightCosts string = "costs" // CreateNetworkFlowReportFlowWeightBytes captures enum value "bytes" CreateNetworkFlowReportFlowWeightBytes string = "bytes" )
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" )
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" )
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" )
const ( // DashboardWidgetSettingsDisplayTypeTable captures enum value "table" DashboardWidgetSettingsDisplayTypeTable string = "table" // DashboardWidgetSettingsDisplayTypeChart captures enum value "chart" DashboardWidgetSettingsDisplayTypeChart string = "chart" )
const ( // IntegrationStatusConnected captures enum value "connected" IntegrationStatusConnected string = "connected" // IntegrationStatusDisconnected captures enum value "disconnected" IntegrationStatusDisconnected string = "disconnected" )
const ( // ReportNotificationChangePercentage captures enum value "percentage" ReportNotificationChangePercentage string = "percentage" // ReportNotificationChangeDollars captures enum value "dollars" ReportNotificationChangeDollars string = "dollars" )
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" )
const ( // UpdateAccessGrantAccessDenied captures enum value "denied" UpdateAccessGrantAccessDenied string = "denied" // UpdateAccessGrantAccessAllowed captures enum value "allowed" UpdateAccessGrantAccessAllowed string = "allowed" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
const ( // UpdateDashboardWidgetsItems0SettingsDisplayTypeTable captures enum value "table" UpdateDashboardWidgetsItems0SettingsDisplayTypeTable string = "table" // UpdateDashboardWidgetsItems0SettingsDisplayTypeChart captures enum value "chart" UpdateDashboardWidgetsItems0SettingsDisplayTypeChart string = "chart" )
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" )
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" )
const ( // UpdateFinancialCommitmentReportOnDemandCostsScopeDiscountable captures enum value "discountable" UpdateFinancialCommitmentReportOnDemandCostsScopeDiscountable string = "discountable" // UpdateFinancialCommitmentReportOnDemandCostsScopeAll captures enum value "all" UpdateFinancialCommitmentReportOnDemandCostsScopeAll string = "all" )
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" )
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" )
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" )
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" )
const ( // UpdateNetworkFlowReportFlowDirectionIngress captures enum value "ingress" UpdateNetworkFlowReportFlowDirectionIngress string = "ingress" // UpdateNetworkFlowReportFlowDirectionEgress captures enum value "egress" UpdateNetworkFlowReportFlowDirectionEgress string = "egress" )
const ( // UpdateNetworkFlowReportFlowWeightCosts captures enum value "costs" UpdateNetworkFlowReportFlowWeightCosts string = "costs" // UpdateNetworkFlowReportFlowWeightBytes captures enum value "bytes" UpdateNetworkFlowReportFlowWeightBytes string = "bytes" )
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 ¶
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
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 ¶
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
ContextValidate validate this budget based on the context it is used
func (*Budget) MarshalBinary ¶ added in v0.0.13
MarshalBinary interface implementation
func (*Budget) UnmarshalBinary ¶ added in v0.0.13
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
ContextValidate validate this budgets based on the context it is used
func (*Budgets) MarshalBinary ¶ added in v0.0.13
MarshalBinary interface implementation
func (*Budgets) UnmarshalBinary ¶ added in v0.0.13
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
ContextValidate validates this cost based on context it is used
func (*Cost) MarshalBinary ¶ added in v0.0.5
MarshalBinary interface implementation
func (*Cost) UnmarshalBinary ¶ added in v0.0.5
UnmarshalBinary interface implementation
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 ¶
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
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
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
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 ¶
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
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 ¶
ContextValidate validate this costs based on the context it is used
func (*Costs) MarshalBinary ¶
MarshalBinary interface implementation
func (*Costs) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
func (m *CreateBusinessMetricCostReportTokensWithMetadataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
func (m *CreateBusinessMetricCostReportTokensWithMetadataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBusinessMetricCostReportTokensWithMetadataItems0) UnmarshalBinary ¶ added in v0.0.14
func (m *CreateBusinessMetricCostReportTokensWithMetadataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
func (m *CreateCostReportBusinessMetricTokensWithMetadataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
func (m *CreateCostReportBusinessMetricTokensWithMetadataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCostReportBusinessMetricTokensWithMetadataItems0) UnmarshalBinary ¶ added in v0.0.14
func (m *CreateCostReportBusinessMetricTokensWithMetadataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
func (m *CreateVirtualTagConfigValuesItems0CostMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
func (m *CreateVirtualTagConfigValuesItems0CostMetric) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateVirtualTagConfigValuesItems0CostMetric) UnmarshalBinary ¶ added in v0.0.31
func (m *CreateVirtualTagConfigValuesItems0CostMetric) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
func (m *CreateVirtualTagConfigValuesItems0CostMetricAggregation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
func (m *CreateVirtualTagConfigValuesItems0CostMetricAggregation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateVirtualTagConfigValuesItems0CostMetricAggregation) UnmarshalBinary ¶ added in v0.0.31
func (m *CreateVirtualTagConfigValuesItems0CostMetricAggregation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this dashboard based on the context it is used
func (*Dashboard) MarshalBinary ¶
MarshalBinary interface implementation
func (*Dashboard) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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 ¶
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
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 ¶
ContextValidate validates this errors based on context it is used
func (*Errors) MarshalBinary ¶
MarshalBinary interface implementation
func (*Errors) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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 ¶
ContextValidate validates this folder based on context it is used
func (*Folder) MarshalBinary ¶
MarshalBinary interface implementation
func (*Folder) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this folders based on the context it is used
func (*Folders) MarshalBinary ¶
MarshalBinary interface implementation
func (*Folders) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ¶
ContextValidate validates this price based on context it is used
func (*Price) MarshalBinary ¶
MarshalBinary interface implementation
func (*Price) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this prices based on the context it is used
func (*Prices) MarshalBinary ¶
MarshalBinary interface implementation
func (*Prices) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this product based on context it is used
func (*Product) MarshalBinary ¶
MarshalBinary interface implementation
func (*Product) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this products based on the context it is used
func (*Products) MarshalBinary ¶
MarshalBinary interface implementation
func (*Products) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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
ContextValidate validate this resource based on the context it is used
func (*Resource) MarshalBinary ¶ added in v0.0.38
MarshalBinary interface implementation
func (*Resource) UnmarshalBinary ¶ added in v0.0.38
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
ContextValidate validate this resources based on the context it is used
func (*Resources) MarshalBinary ¶ added in v0.0.38
MarshalBinary interface implementation
func (*Resources) UnmarshalBinary ¶ added in v0.0.38
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validate this segment based on the context it is used
func (*Segment) MarshalBinary ¶
MarshalBinary interface implementation
func (*Segment) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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 ¶
ContextValidate validate this segments based on the context it is used
func (*Segments) MarshalBinary ¶
MarshalBinary interface implementation
func (*Segments) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
ContextValidate validates this tag based on context it is used
func (*Tag) MarshalBinary ¶ added in v0.0.48
MarshalBinary interface implementation
func (*Tag) UnmarshalBinary ¶ added in v0.0.48
UnmarshalBinary interface implementation
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
ContextValidate validate this tags based on the context it is used
func (*Tags) MarshalBinary ¶ added in v0.0.48
MarshalBinary interface implementation
func (*Tags) UnmarshalBinary ¶ added in v0.0.48
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this team based on context it is used
func (*Team) MarshalBinary ¶
MarshalBinary interface implementation
func (*Team) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this teams based on the context it is used
func (*Teams) MarshalBinary ¶
MarshalBinary interface implementation
func (*Teams) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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
func (m *UpdateBusinessMetricCostReportTokensWithMetadataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
func (m *UpdateBusinessMetricCostReportTokensWithMetadataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBusinessMetricCostReportTokensWithMetadataItems0) UnmarshalBinary ¶ added in v0.0.14
func (m *UpdateBusinessMetricCostReportTokensWithMetadataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
func (m *UpdateCostReportBusinessMetricTokensWithMetadataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
func (m *UpdateCostReportBusinessMetricTokensWithMetadataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCostReportBusinessMetricTokensWithMetadataItems0) UnmarshalBinary ¶ added in v0.0.14
func (m *UpdateCostReportBusinessMetricTokensWithMetadataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
ContextValidate validates this update tag based on context it is used
func (*UpdateTag) MarshalBinary ¶ added in v0.0.48
MarshalBinary interface implementation
func (*UpdateTag) UnmarshalBinary ¶ added in v0.0.48
UnmarshalBinary interface implementation
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
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
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
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
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
func (m *UpdateVirtualTagConfigValuesItems0CostMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
func (m *UpdateVirtualTagConfigValuesItems0CostMetric) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateVirtualTagConfigValuesItems0CostMetric) UnmarshalBinary ¶ added in v0.0.31
func (m *UpdateVirtualTagConfigValuesItems0CostMetric) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
func (m *UpdateVirtualTagConfigValuesItems0CostMetricAggregation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
func (m *UpdateVirtualTagConfigValuesItems0CostMetricAggregation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateVirtualTagConfigValuesItems0CostMetricAggregation) UnmarshalBinary ¶ added in v0.0.31
func (m *UpdateVirtualTagConfigValuesItems0CostMetricAggregation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this user based on context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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 ¶
ContextValidate validate this users based on the context it is used
func (*Users) MarshalBinary ¶
MarshalBinary interface implementation
func (*Users) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
func (m *VirtualTagConfigValueCostMetricAggregation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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
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
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 ¶
ContextValidate validates this workspace based on context it is used
func (*Workspace) MarshalBinary ¶
MarshalBinary interface implementation
func (*Workspace) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
Source Files
¶
- access_grant.go
- access_grants.go
- anomaly_alert.go
- anomaly_alerts.go
- anomaly_notification.go
- anomaly_notifications.go
- attached_business_metric_for_cost_report.go
- attached_cost_report_for_business_metric.go
- billing_rule.go
- billing_rules.go
- budget.go
- budget_alert.go
- budget_alerts.go
- budget_performance.go
- budget_period.go
- budgets.go
- business_metric.go
- business_metric_value.go
- business_metrics.go
- cost.go
- cost_report.go
- cost_reports.go
- costs.go
- create_access_grant.go
- create_anomaly_notification.go
- create_azure_integration.go
- create_billing_rule.go
- create_budget.go
- create_business_metric.go
- create_cost_report.go
- create_custom_provider_integration.go
- create_dashboard.go
- create_financial_commitment_report.go
- create_folder.go
- create_g_c_p_integration.go
- create_kubernetes_efficiency_report.go
- create_managed_account.go
- create_network_flow_report.go
- create_report_notification.go
- create_resource_report.go
- create_saved_filter.go
- create_segment.go
- create_team.go
- create_virtual_tag_config.go
- dashboard.go
- dashboard_widget.go
- dashboard_widget_settings.go
- dashboards.go
- errors.go
- financial_commitment.go
- financial_commitment_report.go
- financial_commitment_reports.go
- financial_commitments.go
- folder.go
- folders.go
- integration.go
- integrations.go
- kubernetes_efficiency_report.go
- kubernetes_efficiency_reports.go
- managed_account.go
- managed_accounts.go
- network_flow_report.go
- network_flow_reports.go
- price.go
- prices.go
- product.go
- products.go
- provider_resource.go
- recommendation.go
- recommendation_action.go
- recommendations.go
- report_notification.go
- report_notifications.go
- resource.go
- resource_cost.go
- resource_report.go
- resource_reports.go
- resources.go
- saved_filter.go
- saved_filters.go
- segment.go
- segments.go
- tag.go
- tags.go
- team.go
- teams.go
- update_access_grant.go
- update_anomaly_alert.go
- update_anomaly_notification.go
- update_billing_rule.go
- update_budget.go
- update_business_metric.go
- update_cost_report.go
- update_dashboard.go
- update_financial_commitment_report.go
- update_folder.go
- update_kubernetes_efficiency_report.go
- update_managed_account.go
- update_network_flow_report.go
- update_report_notification.go
- update_resource_report.go
- update_saved_filter.go
- update_segment.go
- update_tag.go
- update_team.go
- update_virtual_tag_config.go
- user.go
- user_costs_upload.go
- user_costs_uploads.go
- users.go
- virtual_tag_config.go
- virtual_tag_config_value.go
- virtual_tag_config_value_cost_metric.go
- virtual_tag_config_value_cost_metric_aggregation.go
- virtual_tag_configs.go
- workspace.go
- workspaces.go