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 AuditLog
- type AuditLogs
- type BankingInformation
- type BankingInformationSecureData
- func (m *BankingInformationSecureData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BankingInformationSecureData) MarshalBinary() ([]byte, error)
- func (m *BankingInformationSecureData) UnmarshalBinary(b []byte) error
- func (m *BankingInformationSecureData) Validate(formats strfmt.Registry) error
- type BearerToken
- type BillingInformation
- type BillingProfile
- type BillingProfiles
- type BillingRule
- type BillingRules
- type Budget
- type BudgetAlert
- type BudgetAlerts
- type BudgetPerformance
- type BudgetPeriod
- type Budgets
- type BusinessInformation
- type BusinessInformationCustomField
- func (m *BusinessInformationCustomField) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BusinessInformationCustomField) MarshalBinary() ([]byte, error)
- func (m *BusinessInformationCustomField) UnmarshalBinary(b []byte) error
- func (m *BusinessInformationCustomField) Validate(formats strfmt.Registry) error
- type BusinessInformationMetadata
- func (m *BusinessInformationMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BusinessInformationMetadata) MarshalBinary() ([]byte, error)
- func (m *BusinessInformationMetadata) UnmarshalBinary(b []byte) error
- func (m *BusinessInformationMetadata) Validate(formats strfmt.Registry) error
- type BusinessMetric
- type BusinessMetricValue
- type BusinessMetricValues
- type BusinessMetrics
- type CloudwatchDimension
- type CloudwatchFields
- type Cost
- type CostAlert
- type CostAlertEvent
- type CostAlertEvents
- type CostAlerts
- type CostProvider
- type CostProviders
- type CostReport
- type CostReportSettings
- type CostReports
- type CostService
- type CostServices
- 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 CreateBillingProfile
- type CreateBillingProfileBankingInformationAttributes
- func (m *CreateBillingProfileBankingInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBillingProfileBankingInformationAttributes) MarshalBinary() ([]byte, error)
- func (m *CreateBillingProfileBankingInformationAttributes) UnmarshalBinary(b []byte) error
- func (m *CreateBillingProfileBankingInformationAttributes) Validate(formats strfmt.Registry) error
- type CreateBillingProfileBankingInformationAttributesSecureData
- func (m *CreateBillingProfileBankingInformationAttributesSecureData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBillingProfileBankingInformationAttributesSecureData) MarshalBinary() ([]byte, error)
- func (m *CreateBillingProfileBankingInformationAttributesSecureData) UnmarshalBinary(b []byte) error
- func (m *CreateBillingProfileBankingInformationAttributesSecureData) Validate(formats strfmt.Registry) error
- type CreateBillingProfileBillingInformationAttributes
- func (m *CreateBillingProfileBillingInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBillingProfileBillingInformationAttributes) MarshalBinary() ([]byte, error)
- func (m *CreateBillingProfileBillingInformationAttributes) UnmarshalBinary(b []byte) error
- func (m *CreateBillingProfileBillingInformationAttributes) Validate(formats strfmt.Registry) error
- type CreateBillingProfileBusinessInformationAttributes
- func (m *CreateBillingProfileBusinessInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBillingProfileBusinessInformationAttributes) MarshalBinary() ([]byte, error)
- func (m *CreateBillingProfileBusinessInformationAttributes) UnmarshalBinary(b []byte) error
- func (m *CreateBillingProfileBusinessInformationAttributes) Validate(formats strfmt.Registry) error
- type CreateBillingProfileBusinessInformationAttributesMetadata
- func (m *CreateBillingProfileBusinessInformationAttributesMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBillingProfileBusinessInformationAttributesMetadata) MarshalBinary() ([]byte, error)
- func (m *CreateBillingProfileBusinessInformationAttributesMetadata) UnmarshalBinary(b []byte) error
- func (m *CreateBillingProfileBusinessInformationAttributesMetadata) Validate(formats strfmt.Registry) error
- type CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0
- func (m *CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) MarshalBinary() ([]byte, error)
- func (m *CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) UnmarshalBinary(b []byte) error
- func (m *CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) 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 CreateBusinessMetricCloudwatchFields
- func (m *CreateBusinessMetricCloudwatchFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBusinessMetricCloudwatchFields) MarshalBinary() ([]byte, error)
- func (m *CreateBusinessMetricCloudwatchFields) UnmarshalBinary(b []byte) error
- func (m *CreateBusinessMetricCloudwatchFields) Validate(formats strfmt.Registry) error
- type CreateBusinessMetricCloudwatchFieldsDimensionsItems0
- func (m *CreateBusinessMetricCloudwatchFieldsDimensionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBusinessMetricCloudwatchFieldsDimensionsItems0) MarshalBinary() ([]byte, error)
- func (m *CreateBusinessMetricCloudwatchFieldsDimensionsItems0) UnmarshalBinary(b []byte) error
- func (m *CreateBusinessMetricCloudwatchFieldsDimensionsItems0) Validate(formats strfmt.Registry) error
- 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 CreateBusinessMetricDatadogMetricFields
- func (m *CreateBusinessMetricDatadogMetricFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateBusinessMetricDatadogMetricFields) MarshalBinary() ([]byte, error)
- func (m *CreateBusinessMetricDatadogMetricFields) UnmarshalBinary(b []byte) error
- func (m *CreateBusinessMetricDatadogMetricFields) 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 CreateCostAlert
- 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 CreateInvoice
- 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 CreateUserFeedback
- 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 CreateWorkspace
- 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 DataExport
- type DataExportManifest
- type DatadogMetricFields
- type DownloadInvoice
- type Errors
- type ExchangeRate
- type ExchangeRates
- 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 ForecastedCost
- type ForecastedCosts
- type Integration
- type Integrations
- type Invoice
- type Invoices
- 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 Me
- 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 ResourceReportColumns
- type ResourceReports
- type Resources
- type SavedFilter
- type SavedFilters
- type Segment
- type SegmentReportSettings
- type Segments
- type Tag
- type TagValue
- type TagValues
- type Tags
- type Team
- type Teams
- type UnitCost
- type UnitCosts
- 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 UpdateBillingProfile
- type UpdateBillingProfileBankingInformationAttributes
- func (m *UpdateBillingProfileBankingInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBillingProfileBankingInformationAttributes) MarshalBinary() ([]byte, error)
- func (m *UpdateBillingProfileBankingInformationAttributes) UnmarshalBinary(b []byte) error
- func (m *UpdateBillingProfileBankingInformationAttributes) Validate(formats strfmt.Registry) error
- type UpdateBillingProfileBankingInformationAttributesSecureData
- func (m *UpdateBillingProfileBankingInformationAttributesSecureData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBillingProfileBankingInformationAttributesSecureData) MarshalBinary() ([]byte, error)
- func (m *UpdateBillingProfileBankingInformationAttributesSecureData) UnmarshalBinary(b []byte) error
- func (m *UpdateBillingProfileBankingInformationAttributesSecureData) Validate(formats strfmt.Registry) error
- type UpdateBillingProfileBillingInformationAttributes
- func (m *UpdateBillingProfileBillingInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBillingProfileBillingInformationAttributes) MarshalBinary() ([]byte, error)
- func (m *UpdateBillingProfileBillingInformationAttributes) UnmarshalBinary(b []byte) error
- func (m *UpdateBillingProfileBillingInformationAttributes) Validate(formats strfmt.Registry) error
- type UpdateBillingProfileBusinessInformationAttributes
- func (m *UpdateBillingProfileBusinessInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBillingProfileBusinessInformationAttributes) MarshalBinary() ([]byte, error)
- func (m *UpdateBillingProfileBusinessInformationAttributes) UnmarshalBinary(b []byte) error
- func (m *UpdateBillingProfileBusinessInformationAttributes) Validate(formats strfmt.Registry) error
- type UpdateBillingProfileBusinessInformationAttributesMetadata
- func (m *UpdateBillingProfileBusinessInformationAttributesMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBillingProfileBusinessInformationAttributesMetadata) MarshalBinary() ([]byte, error)
- func (m *UpdateBillingProfileBusinessInformationAttributesMetadata) UnmarshalBinary(b []byte) error
- func (m *UpdateBillingProfileBusinessInformationAttributesMetadata) Validate(formats strfmt.Registry) error
- type UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0
- func (m *UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) MarshalBinary() ([]byte, error)
- func (m *UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) UnmarshalBinary(b []byte) error
- func (m *UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) 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 UpdateBusinessMetricCloudwatchFields
- func (m *UpdateBusinessMetricCloudwatchFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBusinessMetricCloudwatchFields) MarshalBinary() ([]byte, error)
- func (m *UpdateBusinessMetricCloudwatchFields) UnmarshalBinary(b []byte) error
- func (m *UpdateBusinessMetricCloudwatchFields) Validate(formats strfmt.Registry) error
- type UpdateBusinessMetricCloudwatchFieldsDimensionsItems0
- func (m *UpdateBusinessMetricCloudwatchFieldsDimensionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBusinessMetricCloudwatchFieldsDimensionsItems0) MarshalBinary() ([]byte, error)
- func (m *UpdateBusinessMetricCloudwatchFieldsDimensionsItems0) UnmarshalBinary(b []byte) error
- func (m *UpdateBusinessMetricCloudwatchFieldsDimensionsItems0) Validate(formats strfmt.Registry) error
- 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 UpdateBusinessMetricDatadogMetricFields
- func (m *UpdateBusinessMetricDatadogMetricFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateBusinessMetricDatadogMetricFields) MarshalBinary() ([]byte, error)
- func (m *UpdateBusinessMetricDatadogMetricFields) UnmarshalBinary(b []byte) error
- func (m *UpdateBusinessMetricDatadogMetricFields) 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 UpdateCostAlert
- 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 UpdateManagedAccountBillingInformationAttributes
- func (m *UpdateManagedAccountBillingInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateManagedAccountBillingInformationAttributes) MarshalBinary() ([]byte, error)
- func (m *UpdateManagedAccountBillingInformationAttributes) UnmarshalBinary(b []byte) error
- func (m *UpdateManagedAccountBillingInformationAttributes) Validate(formats strfmt.Registry) error
- type UpdateManagedAccountBusinessInformationAttributes
- func (m *UpdateManagedAccountBusinessInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateManagedAccountBusinessInformationAttributes) MarshalBinary() ([]byte, error)
- func (m *UpdateManagedAccountBusinessInformationAttributes) UnmarshalBinary(b []byte) error
- func (m *UpdateManagedAccountBusinessInformationAttributes) Validate(formats strfmt.Registry) error
- type UpdateManagedAccountBusinessInformationAttributesMetadata
- func (m *UpdateManagedAccountBusinessInformationAttributesMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateManagedAccountBusinessInformationAttributesMetadata) MarshalBinary() ([]byte, error)
- func (m *UpdateManagedAccountBusinessInformationAttributesMetadata) UnmarshalBinary(b []byte) error
- func (m *UpdateManagedAccountBusinessInformationAttributesMetadata) Validate(formats strfmt.Registry) error
- type UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0
- func (m *UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) MarshalBinary() ([]byte, error)
- func (m *UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) UnmarshalBinary(b []byte) error
- func (m *UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) Validate(formats strfmt.Registry) error
- 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 UserFeedback
- 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 ( // BusinessMetricImportTypeDatadogMetrics captures enum value "datadog_metrics" BusinessMetricImportTypeDatadogMetrics string = "datadog_metrics" // BusinessMetricImportTypeCloudwatch captures enum value "cloudwatch" BusinessMetricImportTypeCloudwatch string = "cloudwatch" // BusinessMetricImportTypeCsv captures enum value "csv" BusinessMetricImportTypeCsv string = "csv" )
const ( // CloudwatchFieldsStatSum captures enum value "Sum" CloudwatchFieldsStatSum string = "Sum" // CloudwatchFieldsStatAverage captures enum value "Average" CloudwatchFieldsStatAverage string = "Average" // CloudwatchFieldsStatMinimum captures enum value "Minimum" CloudwatchFieldsStatMinimum string = "Minimum" // CloudwatchFieldsStatMaximum captures enum value "Maximum" CloudwatchFieldsStatMaximum string = "Maximum" )
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" // CostProviderTwilio captures enum value "twilio" CostProviderTwilio string = "twilio" // CostProviderAzureCsp captures enum value "azure_csp" CostProviderAzureCsp string = "azure_csp" // CostProviderKubernetesAgent captures enum value "kubernetes_agent" CostProviderKubernetesAgent string = "kubernetes_agent" // CostProviderAnthropic captures enum value "anthropic" CostProviderAnthropic string = "anthropic" // CostProviderAnyscale captures enum value "anyscale" CostProviderAnyscale string = "anyscale" )
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" // CreateBillingRuleTypeCustom captures enum value "custom" CreateBillingRuleTypeCustom string = "custom" )
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" // CreateCostReportChartTypeMultiBar captures enum value "multi_bar" CreateCostReportChartTypeMultiBar string = "multi_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" // CreateCostReportDateBinQuarter captures enum value "quarter" CreateCostReportDateBinQuarter string = "quarter" )
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" // CreateCostReportDateIntervalLast14Days captures enum value "last_14_days" CreateCostReportDateIntervalLast14Days string = "last_14_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" // CreateDashboardDateIntervalLast14Days captures enum value "last_14_days" CreateDashboardDateIntervalLast14Days string = "last_14_days" )
const ( // CreateDashboardWidgetsItems0SettingsDisplayTypeTable captures enum value "table" CreateDashboardWidgetsItems0SettingsDisplayTypeTable string = "table" // CreateDashboardWidgetsItems0SettingsDisplayTypeChart captures enum value "chart" CreateDashboardWidgetsItems0SettingsDisplayTypeChart string = "chart" )
const ( // CreateFinancialCommitmentReportDateBucketHour captures enum value "hour" CreateFinancialCommitmentReportDateBucketHour string = "hour" // 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" // CreateFinancialCommitmentReportDateIntervalLast14Days captures enum value "last_14_days" CreateFinancialCommitmentReportDateIntervalLast14Days string = "last_14_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" // CreateKubernetesEfficiencyReportDateIntervalLast14Days captures enum value "last_14_days" CreateKubernetesEfficiencyReportDateIntervalLast14Days string = "last_14_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 ( // CreateWorkspaceExchangeRateDateDailyRate captures enum value "daily_rate" CreateWorkspaceExchangeRateDateDailyRate string = "daily_rate" // CreateWorkspaceExchangeRateDateEndOfBillingPeriodRate captures enum value "end_of_billing_period_rate" CreateWorkspaceExchangeRateDateEndOfBillingPeriodRate string = "end_of_billing_period_rate" )
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" // DashboardDateIntervalLast14Days captures enum value "last_14_days" DashboardDateIntervalLast14Days string = "last_14_days" )
const ( // DashboardWidgetSettingsDisplayTypeTable captures enum value "table" DashboardWidgetSettingsDisplayTypeTable string = "table" // DashboardWidgetSettingsDisplayTypeChart captures enum value "chart" DashboardWidgetSettingsDisplayTypeChart string = "chart" )
const ( // DownloadInvoiceFileTypePdf captures enum value "pdf" DownloadInvoiceFileTypePdf string = "pdf" // DownloadInvoiceFileTypeCsv captures enum value "csv" DownloadInvoiceFileTypeCsv string = "csv" )
const ( // ForecastedCostProviderAws captures enum value "aws" ForecastedCostProviderAws string = "aws" // ForecastedCostProviderAzure captures enum value "azure" ForecastedCostProviderAzure string = "azure" // ForecastedCostProviderGcp captures enum value "gcp" ForecastedCostProviderGcp string = "gcp" // ForecastedCostProviderSnowflake captures enum value "snowflake" ForecastedCostProviderSnowflake string = "snowflake" // ForecastedCostProviderDatabricks captures enum value "databricks" ForecastedCostProviderDatabricks string = "databricks" // ForecastedCostProviderMongo captures enum value "mongo" ForecastedCostProviderMongo string = "mongo" // ForecastedCostProviderDatadog captures enum value "datadog" ForecastedCostProviderDatadog string = "datadog" // ForecastedCostProviderFastly captures enum value "fastly" ForecastedCostProviderFastly string = "fastly" // ForecastedCostProviderNewRelic captures enum value "new_relic" ForecastedCostProviderNewRelic string = "new_relic" // ForecastedCostProviderOpencost captures enum value "opencost" ForecastedCostProviderOpencost string = "opencost" // ForecastedCostProviderOpenAi captures enum value "open_ai" ForecastedCostProviderOpenAi string = "open_ai" // ForecastedCostProviderOracle captures enum value "oracle" ForecastedCostProviderOracle string = "oracle" // ForecastedCostProviderConfluent captures enum value "confluent" ForecastedCostProviderConfluent string = "confluent" // ForecastedCostProviderPlanetscale captures enum value "planetscale" ForecastedCostProviderPlanetscale string = "planetscale" // ForecastedCostProviderCoralogix captures enum value "coralogix" ForecastedCostProviderCoralogix string = "coralogix" // ForecastedCostProviderKubernetes captures enum value "kubernetes" ForecastedCostProviderKubernetes string = "kubernetes" // ForecastedCostProviderCustomProvider captures enum value "custom_provider" ForecastedCostProviderCustomProvider string = "custom_provider" // ForecastedCostProviderGithub captures enum value "github" ForecastedCostProviderGithub string = "github" // ForecastedCostProviderLinode captures enum value "linode" ForecastedCostProviderLinode string = "linode" // ForecastedCostProviderGrafana captures enum value "grafana" ForecastedCostProviderGrafana string = "grafana" // ForecastedCostProviderClickhouse captures enum value "clickhouse" ForecastedCostProviderClickhouse string = "clickhouse" // ForecastedCostProviderTemporal captures enum value "temporal" ForecastedCostProviderTemporal string = "temporal" // ForecastedCostProviderTwilio captures enum value "twilio" ForecastedCostProviderTwilio string = "twilio" // ForecastedCostProviderAzureCsp captures enum value "azure_csp" ForecastedCostProviderAzureCsp string = "azure_csp" // ForecastedCostProviderKubernetesAgent captures enum value "kubernetes_agent" ForecastedCostProviderKubernetesAgent string = "kubernetes_agent" // ForecastedCostProviderAnthropic captures enum value "anthropic" ForecastedCostProviderAnthropic string = "anthropic" // ForecastedCostProviderAnyscale captures enum value "anyscale" ForecastedCostProviderAnyscale string = "anyscale" )
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" // UpdateCostReportChartTypeMultiBar captures enum value "multi_bar" UpdateCostReportChartTypeMultiBar string = "multi_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" // UpdateCostReportDateBinQuarter captures enum value "quarter" UpdateCostReportDateBinQuarter string = "quarter" )
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" // UpdateCostReportDateIntervalLast14Days captures enum value "last_14_days" UpdateCostReportDateIntervalLast14Days string = "last_14_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" // UpdateDashboardDateIntervalLast14Days captures enum value "last_14_days" UpdateDashboardDateIntervalLast14Days string = "last_14_days" // UpdateDashboardDateIntervalEmpty captures enum value "" UpdateDashboardDateIntervalEmpty string = "" )
const ( // UpdateDashboardWidgetsItems0SettingsDisplayTypeTable captures enum value "table" UpdateDashboardWidgetsItems0SettingsDisplayTypeTable string = "table" // UpdateDashboardWidgetsItems0SettingsDisplayTypeChart captures enum value "chart" UpdateDashboardWidgetsItems0SettingsDisplayTypeChart string = "chart" )
const ( // UpdateFinancialCommitmentReportDateBucketHour captures enum value "hour" UpdateFinancialCommitmentReportDateBucketHour string = "hour" // 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" // UpdateFinancialCommitmentReportDateIntervalLast14Days captures enum value "last_14_days" UpdateFinancialCommitmentReportDateIntervalLast14Days string = "last_14_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" // UpdateKubernetesEfficiencyReportDateIntervalLast14Days captures enum value "last_14_days" UpdateKubernetesEfficiencyReportDateIntervalLast14Days string = "last_14_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 names of the resources the AnomalyAlert was attributed to.
Resources []string `json:"resources"`
// 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 AuditLog ¶ added in v0.0.75
type AuditLog struct {
// The changed values of the object.
ChangedValues interface{} `json:"changed_values,omitempty"`
// The date and time, in UTC, the audit log was created. ISO 8601 Formatted.
// Example: 2021-07-09T00:00:00Z
CreatedAt string `json:"created_at,omitempty"`
// The event type of the audit log.
// Example: record_created
Event string `json:"event,omitempty"`
// The title of the audited object.
// Example: Production Cost Report
ObjectTitle string `json:"object_title,omitempty"`
// The token of the audited object.
// Example: rpt_1234567890abcdef
ObjectToken string `json:"object_token,omitempty"`
// The type of the audited object.
// Example: Report
ObjectType string `json:"object_type,omitempty"`
// The source of the action (console, api, developer).
// Example: console
Source string `json:"source,omitempty"`
// The unique token identifying the audit log.
// Example: adt_lg_1234567890abcdef
Token string `json:"token,omitempty"`
// The unchanged values of the object.
UnchangedValues interface{} `json:"unchanged_values,omitempty"`
// The name of the user who performed the action.
User string `json:"user,omitempty"`
// The name of the workspace associated with the audit log.
WorkspaceTitle string `json:"workspace_title,omitempty"`
// The token of the workspace associated with the audit log.
// Example: wrkspc_1234567890abcdef
WorkspaceToken string `json:"workspace_token,omitempty"`
}
AuditLog AuditLog model
swagger:model AuditLog
func (*AuditLog) ContextValidate ¶ added in v0.0.75
ContextValidate validates this audit log based on context it is used
func (*AuditLog) MarshalBinary ¶ added in v0.0.75
MarshalBinary interface implementation
func (*AuditLog) UnmarshalBinary ¶ added in v0.0.75
UnmarshalBinary interface implementation
type AuditLogs ¶ added in v0.0.75
type AuditLogs struct {
// audit logs
AuditLogs []*AuditLog `json:"audit_logs"`
// links
Links interface{} `json:"links,omitempty"`
}
AuditLogs AuditLogs model
swagger:model AuditLogs
func (*AuditLogs) ContextValidate ¶ added in v0.0.75
ContextValidate validate this audit logs based on the context it is used
func (*AuditLogs) MarshalBinary ¶ added in v0.0.75
MarshalBinary interface implementation
func (*AuditLogs) UnmarshalBinary ¶ added in v0.0.75
UnmarshalBinary interface implementation
type BankingInformation ¶ added in v0.0.76
type BankingInformation struct {
// Name of the bank
BankName string `json:"bank_name,omitempty"`
// Name of the account beneficiary
BeneficiaryName string `json:"beneficiary_name,omitempty"`
// Encrypted banking details (account numbers, routing info)
SecureData *BankingInformationSecureData `json:"secure_data,omitempty"`
// Tax identification number
TaxID string `json:"tax_id,omitempty"`
// token
Token string `json:"token,omitempty"`
}
BankingInformation banking information
swagger:model BankingInformation
func (*BankingInformation) ContextValidate ¶ added in v0.0.76
ContextValidate validate this banking information based on the context it is used
func (*BankingInformation) MarshalBinary ¶ added in v0.0.76
func (m *BankingInformation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BankingInformation) UnmarshalBinary ¶ added in v0.0.76
func (m *BankingInformation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BankingInformationSecureData ¶ added in v0.0.77
type BankingInformationSecureData struct {
// Bank account number (US)
AccountNumber string `json:"account_number,omitempty"`
// International Bank Account Number (EU)
Iban string `json:"iban,omitempty"`
// Bank routing number (US)
RoutingNumber string `json:"routing_number,omitempty"`
// SWIFT/BIC code (EU)
SwiftBic string `json:"swift_bic,omitempty"`
}
BankingInformationSecureData banking information secure data
swagger:model BankingInformationSecureData
func (*BankingInformationSecureData) ContextValidate ¶ added in v0.0.77
func (m *BankingInformationSecureData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this banking information secure data based on context it is used
func (*BankingInformationSecureData) MarshalBinary ¶ added in v0.0.77
func (m *BankingInformationSecureData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BankingInformationSecureData) UnmarshalBinary ¶ added in v0.0.77
func (m *BankingInformationSecureData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BearerToken ¶ added in v0.0.59
type BearerToken struct {
// The date and time, in UTC, the BearerToken was created. ISO 8601 Formatted.
// Example: 2023-08-04T00:00:00Z
CreatedAt string `json:"created_at,omitempty"`
// The user supplied description of this BearerToken
Description string `json:"description,omitempty"`
// The scopes applied to the BearerToken used to authenticate this request.
Scope []string `json:"scope"`
}
BearerToken bearer token
swagger:model BearerToken
func (*BearerToken) ContextValidate ¶ added in v0.0.59
ContextValidate validates this bearer token based on context it is used
func (*BearerToken) MarshalBinary ¶ added in v0.0.59
func (m *BearerToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BearerToken) UnmarshalBinary ¶ added in v0.0.59
func (m *BearerToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingInformation ¶ added in v0.0.76
type BillingInformation struct {
// First line of billing address
AddressLine1 string `json:"address_line_1,omitempty"`
// Second line of billing address
AddressLine2 string `json:"address_line_2,omitempty"`
// Array of billing email addresses
BillingEmail []string `json:"billing_email"`
// City for billing address
City string `json:"city,omitempty"`
// Company name for billing
CompanyName string `json:"company_name,omitempty"`
// ISO country code
CountryCode string `json:"country_code,omitempty"`
// Postal or ZIP code
PostalCode string `json:"postal_code,omitempty"`
// State or province for billing address
State string `json:"state,omitempty"`
// token
Token string `json:"token,omitempty"`
}
BillingInformation billing information
swagger:model BillingInformation
func (*BillingInformation) ContextValidate ¶ added in v0.0.76
ContextValidate validates this billing information based on context it is used
func (*BillingInformation) MarshalBinary ¶ added in v0.0.76
func (m *BillingInformation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingInformation) UnmarshalBinary ¶ added in v0.0.76
func (m *BillingInformation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingProfile ¶ added in v0.0.76
type BillingProfile struct {
// Banking details for payments (MSP accounts only)
BankingInformationAttributes *BankingInformation `json:"banking_information_attributes,omitempty"`
// Billing address and contact information
BillingInformationAttributes *BillingInformation `json:"billing_information_attributes,omitempty"`
// Business-specific information and custom fields
BusinessInformationAttributes *BusinessInformation `json:"business_information_attributes,omitempty"`
// The date and time, in UTC, the billing profile was created. ISO 8601 formatted.
// Example: 2023-08-04T00:00:00Z
CreatedAt string `json:"created_at,omitempty"`
// Number of managed accounts using this billing profile
ManagedAccountsCount string `json:"managed_accounts_count,omitempty"`
// Display name for the billing profile
Nickname string `json:"nickname,omitempty"`
// token
Token string `json:"token,omitempty"`
// The date and time, in UTC, the billing profile was last updated. ISO 8601 formatted.
// Example: 2023-08-04T00:00:00Z
UpdatedAt string `json:"updated_at,omitempty"`
}
BillingProfile BillingProfile model
swagger:model BillingProfile
func (*BillingProfile) ContextValidate ¶ added in v0.0.76
ContextValidate validate this billing profile based on the context it is used
func (*BillingProfile) MarshalBinary ¶ added in v0.0.76
func (m *BillingProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingProfile) UnmarshalBinary ¶ added in v0.0.76
func (m *BillingProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingProfiles ¶ added in v0.0.76
type BillingProfiles struct {
// billing profiles
BillingProfiles []*BillingProfile `json:"billing_profiles"`
// links
Links interface{} `json:"links,omitempty"`
}
BillingProfiles BillingProfiles model
swagger:model BillingProfiles
func (*BillingProfiles) ContextValidate ¶ added in v0.0.76
ContextValidate validate this billing profiles based on the context it is used
func (*BillingProfiles) MarshalBinary ¶ added in v0.0.76
func (m *BillingProfiles) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingProfiles) UnmarshalBinary ¶ added in v0.0.76
func (m *BillingProfiles) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingRule ¶ added in v0.0.29
type BillingRule struct {
// The amount for the BillingRule (Charge).
// Example: 5000.25
Amount string `json:"amount,omitempty"`
// Whether the BillingRule applies to all future managed accounts.
// Example: true
ApplyToAll bool `json:"apply_to_all,omitempty"`
// The category for the BillingRule (Charge).
// Example: MSP Fee
Category string `json:"category,omitempty"`
// The charge type for the BillingRule.
// Example: RIFee
ChargeType string `json:"charge_type,omitempty"`
// The date and time, in UTC, the BillingRule was created. ISO 8601 Formatted.
// Example: 2024-06-28T00:00:00Z
CreatedAt string `json:"created_at,omitempty"`
// The token of the Creator of the BillingRule.
// Example: usr_1234
CreatedByToken string `json:"created_by_token,omitempty"`
// The end date of the BillingRule.
// Example: 2024-06-28T00:00:00Z
EndDate string `json:"end_date,omitempty"`
// The percentage of the cost shown for the BillingRule (Adjustment).
// Example: 75.0
Percentage string `json:"percentage,omitempty"`
// The service for the BillingRule (Charge).
// Example: AWS Cloudfront
Service string `json:"service,omitempty"`
// The SQL query for the BillingRule (Custom).
// Example: UPDATE costs SET costs.amount = costs.amount * 0.95
SQLQuery string `json:"sql_query,omitempty"`
// The start date of the BillingRule.
// Example: 2024-06-28T00:00:00Z
StartDate string `json:"start_date,omitempty"`
// The start period for the BillingRule (Charge).
// Example: 2024-05-01
StartPeriod string `json:"start_period,omitempty"`
// The subcategory for the BillingRule (Charge).
// Example: One-time
SubCategory string `json:"sub_category,omitempty"`
// The title of the BillingRule.
// Example: Credit for Unused EC2 Instances
Title string `json:"title,omitempty"`
// token
Token string `json:"token,omitempty"`
// The type of the BillingRule.
// 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 BusinessInformation ¶ added in v0.0.76
type BusinessInformation struct {
// Business information metadata including custom fields
Metadata *BusinessInformationMetadata `json:"metadata,omitempty"`
// token
Token string `json:"token,omitempty"`
}
BusinessInformation business information
swagger:model BusinessInformation
func (*BusinessInformation) ContextValidate ¶ added in v0.0.76
ContextValidate validate this business information based on the context it is used
func (*BusinessInformation) MarshalBinary ¶ added in v0.0.76
func (m *BusinessInformation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BusinessInformation) UnmarshalBinary ¶ added in v0.0.76
func (m *BusinessInformation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BusinessInformationCustomField ¶ added in v0.0.77
type BusinessInformationCustomField struct {
// Custom field name
Name string `json:"name,omitempty"`
// Custom field value
Value string `json:"value,omitempty"`
}
BusinessInformationCustomField business information custom field
swagger:model BusinessInformationCustomField
func (*BusinessInformationCustomField) ContextValidate ¶ added in v0.0.77
func (m *BusinessInformationCustomField) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this business information custom field based on context it is used
func (*BusinessInformationCustomField) MarshalBinary ¶ added in v0.0.77
func (m *BusinessInformationCustomField) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BusinessInformationCustomField) UnmarshalBinary ¶ added in v0.0.77
func (m *BusinessInformationCustomField) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BusinessInformationMetadata ¶ added in v0.0.77
type BusinessInformationMetadata struct {
// Array of custom field objects
CustomFields []*BusinessInformationCustomField `json:"custom_fields"`
}
BusinessInformationMetadata business information metadata
swagger:model BusinessInformationMetadata
func (*BusinessInformationMetadata) ContextValidate ¶ added in v0.0.77
func (m *BusinessInformationMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this business information metadata based on the context it is used
func (*BusinessInformationMetadata) MarshalBinary ¶ added in v0.0.77
func (m *BusinessInformationMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BusinessInformationMetadata) UnmarshalBinary ¶ added in v0.0.77
func (m *BusinessInformationMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BusinessMetric ¶ added in v0.0.7
type BusinessMetric struct {
// The fields used to generate the cloudwatch metrics BusinessMetric.
CloudwatchFields *CloudwatchFields `json:"cloudwatch_fields,omitempty"`
// 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 fields used to generate the Datadog metrics for BusinessMetric.
DatadogMetricFields *DatadogMetricFields `json:"datadog_metric_fields,omitempty"`
// The type of import for the BusinessMetric.
// Example: datadog_metrics
// Enum: ["datadog_metrics","cloudwatch","csv"]
ImportType string `json:"import_type,omitempty"`
// The Integration token used to import the BusinessMetric.
IntegrationToken string `json:"integration_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"`
}
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 BusinessMetricValues ¶ added in v0.0.52
type BusinessMetricValues struct {
// values
Values []*BusinessMetricValue `json:"values"`
}
BusinessMetricValues BusinessMetricValues model
swagger:model BusinessMetricValues
func (*BusinessMetricValues) ContextValidate ¶ added in v0.0.52
ContextValidate validate this business metric values based on the context it is used
func (*BusinessMetricValues) MarshalBinary ¶ added in v0.0.52
func (m *BusinessMetricValues) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BusinessMetricValues) UnmarshalBinary ¶ added in v0.0.52
func (m *BusinessMetricValues) 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 CloudwatchDimension ¶ added in v0.0.69
type CloudwatchDimension struct {
// name
Name string `json:"name,omitempty"`
// value
Value string `json:"value,omitempty"`
}
CloudwatchDimension cloudwatch dimension
swagger:model CloudwatchDimension
func (*CloudwatchDimension) ContextValidate ¶ added in v0.0.69
ContextValidate validates this cloudwatch dimension based on context it is used
func (*CloudwatchDimension) MarshalBinary ¶ added in v0.0.69
func (m *CloudwatchDimension) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudwatchDimension) UnmarshalBinary ¶ added in v0.0.69
func (m *CloudwatchDimension) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudwatchFields ¶ added in v0.0.69
type CloudwatchFields struct {
// The dimensions used to pull specific statistical data for Cloudwatch metrics.
Dimensions []*CloudwatchDimension `json:"dimensions"`
// The dimension used to aggregate the Cloudwatch metrics.
LabelDimension string `json:"label_dimension,omitempty"`
// The metric name used to import Cloudwatch metrics.
// Example: CPUUtilization
MetricName string `json:"metric_name,omitempty"`
// The namespace used to import Cloudwatch metrics.
// Example: AWS/EC2
Namespace string `json:"namespace,omitempty"`
// The region used to import Cloudwatch metrics.
// Example: us-east-1
Region string `json:"region,omitempty"`
// The time aggregation function used to import Cloudwatch metrics.
// Example: Average
// Enum: ["Sum","Average","Minimum","Maximum"]
Stat string `json:"stat,omitempty"`
}
CloudwatchFields cloudwatch fields
swagger:model CloudwatchFields
func (*CloudwatchFields) ContextValidate ¶ added in v0.0.69
ContextValidate validate this cloudwatch fields based on the context it is used
func (*CloudwatchFields) MarshalBinary ¶ added in v0.0.69
func (m *CloudwatchFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudwatchFields) UnmarshalBinary ¶ added in v0.0.69
func (m *CloudwatchFields) 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","twilio","azure_csp","kubernetes_agent","anthropic","anyscale"]
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 CostAlert ¶ added in v0.0.61
type CostAlert struct {
// The date and time, in UTC, for when the alert was created. ISO 8601 Formatted.
// Example: 2023-10-01T12:00:00Z
CreatedAt string `json:"created_at,omitempty"`
// The email addresses that will receive the alert.
EmailRecipients []string `json:"email_recipients"`
// The period of time used to compare costs. Options are 'day', 'week', 'month', 'quarter'.
Interval string `json:"interval,omitempty"`
// The tokens of the reports to alert on.
ReportTokens []string `json:"report_tokens"`
// The Slack channels that will receive the alert. Make sure your slack integration is connected at https://console.vantage.sh/settings/slack.
SlackChannels []string `json:"slack_channels"`
// The Microsoft Teams channels that will receive the alert. Make sure your teams integration is connected at https://console.vantage.sh/settings/microsoft_teams.
TeamsChannels []string `json:"teams_channels"`
// The cost change threshold to alert on.
Threshold float64 `json:"threshold,omitempty"`
// title
Title string `json:"title,omitempty"`
// token
Token string `json:"token,omitempty"`
// The unit type used to compare costs. Options are 'currency' or 'percentage'.
UnitType string `json:"unit_type,omitempty"`
// The date and time, in UTC, for when the alert was last updated. ISO 8601 Formatted.
// Example: 2023-10-01T12:00:00Z
UpdatedAt string `json:"updated_at,omitempty"`
// The ID of the organization that owns the CostAlert.
WorkspaceToken string `json:"workspace_token,omitempty"`
}
CostAlert CostAlert model
swagger:model CostAlert
func (*CostAlert) ContextValidate ¶ added in v0.0.61
ContextValidate validates this cost alert based on context it is used
func (*CostAlert) MarshalBinary ¶ added in v0.0.61
MarshalBinary interface implementation
func (*CostAlert) UnmarshalBinary ¶ added in v0.0.61
UnmarshalBinary interface implementation
type CostAlertEvent ¶ added in v0.0.59
type CostAlertEvent struct {
// The token of the alert associated with the CostAlertEvent.
AlertToken string `json:"alert_token,omitempty"`
// The type of the CostAlertEvent.
AlertType string `json:"alert_type,omitempty"`
// The date and time, in UTC, the CostAlertEvent was created. ISO 8601 Formatted.
// Example: 2021-07-09T00:00:00Z
CreatedAt string `json:"created_at,omitempty"`
// The description of the CostAlertEvent.
Description string `json:"description,omitempty"`
// The metadata of the CostAlertEvent.
Metadata interface{} `json:"metadata,omitempty"`
// The token of the report associated with the CostAlertEvent.
ReportToken string `json:"report_token,omitempty"`
// token
Token string `json:"token,omitempty"`
// The date and time, in UTC, the CostAlertEvent is sent. ISO 8601 Formatted.
// Example: 2021-07-09T00:00:00Z
TriggeredAt string `json:"triggered_at,omitempty"`
}
CostAlertEvent CostAlertEvent model
swagger:model CostAlertEvent
func (*CostAlertEvent) ContextValidate ¶ added in v0.0.59
ContextValidate validates this cost alert event based on context it is used
func (*CostAlertEvent) MarshalBinary ¶ added in v0.0.59
func (m *CostAlertEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostAlertEvent) UnmarshalBinary ¶ added in v0.0.59
func (m *CostAlertEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostAlertEvents ¶ added in v0.0.59
type CostAlertEvents struct {
// cost alert events
CostAlertEvents []*CostAlertEvent `json:"cost_alert_events"`
// links
Links interface{} `json:"links,omitempty"`
}
CostAlertEvents CostAlertEvents model
swagger:model CostAlertEvents
func (*CostAlertEvents) ContextValidate ¶ added in v0.0.59
ContextValidate validate this cost alert events based on the context it is used
func (*CostAlertEvents) MarshalBinary ¶ added in v0.0.59
func (m *CostAlertEvents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostAlertEvents) UnmarshalBinary ¶ added in v0.0.59
func (m *CostAlertEvents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostAlerts ¶ added in v0.0.61
type CostAlerts struct {
// cost alerts
CostAlerts []*CostAlert `json:"cost_alerts"`
// links
Links interface{} `json:"links,omitempty"`
}
CostAlerts CostAlerts model
swagger:model CostAlerts
func (*CostAlerts) ContextValidate ¶ added in v0.0.61
ContextValidate validate this cost alerts based on the context it is used
func (*CostAlerts) MarshalBinary ¶ added in v0.0.61
func (m *CostAlerts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostAlerts) UnmarshalBinary ¶ added in v0.0.61
func (m *CostAlerts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostProvider ¶ added in v0.0.58
type CostProvider struct {
// The key of the CostProvider, useful for filtering Costs.
// Example: aws
Key string `json:"key,omitempty"`
// The name of the CostProvider.
// Example: AWS
Name string `json:"name,omitempty"`
}
CostProvider cost provider
swagger:model CostProvider
func (*CostProvider) ContextValidate ¶ added in v0.0.58
ContextValidate validates this cost provider based on context it is used
func (*CostProvider) MarshalBinary ¶ added in v0.0.58
func (m *CostProvider) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostProvider) UnmarshalBinary ¶ added in v0.0.58
func (m *CostProvider) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostProviders ¶ added in v0.0.59
type CostProviders struct {
// cost providers
CostProviders []*CostProvider `json:"cost_providers"`
// links
Links interface{} `json:"links,omitempty"`
}
CostProviders CostProviders model
swagger:model CostProviders
func (*CostProviders) ContextValidate ¶ added in v0.0.59
ContextValidate validate this cost providers based on the context it is used
func (*CostProviders) MarshalBinary ¶ added in v0.0.59
func (m *CostProviders) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostProviders) UnmarshalBinary ¶ added in v0.0.59
func (m *CostProviders) UnmarshalBinary(b []byte) error
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 previous period costs or usage comparison.
ShowPreviousPeriod *bool `json:"show_previous_period,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 CostService ¶ added in v0.0.59
type CostService struct {
// The name of the CostService.
// Example: Amazon Simple Storage Service
Name string `json:"name,omitempty"`
// The key value of the CostProvider.
// Example: aws
Provider string `json:"provider,omitempty"`
}
CostService cost service
swagger:model CostService
func (*CostService) ContextValidate ¶ added in v0.0.59
ContextValidate validates this cost service based on context it is used
func (*CostService) MarshalBinary ¶ added in v0.0.59
func (m *CostService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostService) UnmarshalBinary ¶ added in v0.0.59
func (m *CostService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostServices ¶ added in v0.0.59
type CostServices struct {
// cost services
CostServices []*CostService `json:"cost_services"`
// links
Links interface{} `json:"links,omitempty"`
}
CostServices CostServices model
swagger:model CostServices
func (*CostServices) ContextValidate ¶ added in v0.0.59
ContextValidate validate this cost services based on the context it is used
func (*CostServices) MarshalBinary ¶ added in v0.0.59
func (m *CostServices) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostServices) UnmarshalBinary ¶ added in v0.0.59
func (m *CostServices) 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 interface{} `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 interface{} `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 CreateBillingProfile ¶ added in v0.0.77
type CreateBillingProfile struct {
// banking information attributes
BankingInformationAttributes *CreateBillingProfileBankingInformationAttributes `json:"banking_information_attributes,omitempty"`
// billing information attributes
BillingInformationAttributes *CreateBillingProfileBillingInformationAttributes `json:"billing_information_attributes,omitempty"`
// business information attributes
BusinessInformationAttributes *CreateBillingProfileBusinessInformationAttributes `json:"business_information_attributes,omitempty"`
// Display name for the billing profile
// Required: true
Nickname *string `json:"nickname"`
}
CreateBillingProfile Create a billing profile (MSP invoicing required).
swagger:model createBillingProfile
func (*CreateBillingProfile) ContextValidate ¶ added in v0.0.77
ContextValidate validate this create billing profile based on the context it is used
func (*CreateBillingProfile) MarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBillingProfile) UnmarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBillingProfileBankingInformationAttributes ¶ added in v0.0.77
type CreateBillingProfileBankingInformationAttributes struct {
// Name of the bank
BankName string `json:"bank_name,omitempty"`
// Name of the account beneficiary
BeneficiaryName string `json:"beneficiary_name,omitempty"`
// secure data
SecureData *CreateBillingProfileBankingInformationAttributesSecureData `json:"secure_data,omitempty"`
// Tax identification number
TaxID string `json:"tax_id,omitempty"`
// token
Token string `json:"token,omitempty"`
}
CreateBillingProfileBankingInformationAttributes Banking details (MSP accounts only)
swagger:model CreateBillingProfileBankingInformationAttributes
func (*CreateBillingProfileBankingInformationAttributes) ContextValidate ¶ added in v0.0.77
func (m *CreateBillingProfileBankingInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create billing profile banking information attributes based on the context it is used
func (*CreateBillingProfileBankingInformationAttributes) MarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBankingInformationAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBillingProfileBankingInformationAttributes) UnmarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBankingInformationAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBillingProfileBankingInformationAttributesSecureData ¶ added in v0.0.77
type CreateBillingProfileBankingInformationAttributesSecureData struct {
// Bank account number (US)
AccountNumber string `json:"account_number,omitempty"`
// International Bank Account Number (EU)
Iban string `json:"iban,omitempty"`
// Bank routing number (US)
RoutingNumber string `json:"routing_number,omitempty"`
// SWIFT/BIC code (EU)
SwiftBic string `json:"swift_bic,omitempty"`
}
CreateBillingProfileBankingInformationAttributesSecureData Encrypted banking details
swagger:model CreateBillingProfileBankingInformationAttributesSecureData
func (*CreateBillingProfileBankingInformationAttributesSecureData) ContextValidate ¶ added in v0.0.77
func (m *CreateBillingProfileBankingInformationAttributesSecureData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create billing profile banking information attributes secure data based on context it is used
func (*CreateBillingProfileBankingInformationAttributesSecureData) MarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBankingInformationAttributesSecureData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBillingProfileBankingInformationAttributesSecureData) UnmarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBankingInformationAttributesSecureData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBillingProfileBillingInformationAttributes ¶ added in v0.0.77
type CreateBillingProfileBillingInformationAttributes struct {
// First line of billing address
AddressLine1 string `json:"address_line_1,omitempty"`
// Second line of billing address
AddressLine2 string `json:"address_line_2,omitempty"`
// Array of billing email addresses
BillingEmail []string `json:"billing_email"`
// City for billing address
City string `json:"city,omitempty"`
// Company name for billing
CompanyName string `json:"company_name,omitempty"`
// ISO country code
CountryCode string `json:"country_code,omitempty"`
// Postal or ZIP code
PostalCode string `json:"postal_code,omitempty"`
// State or province for billing address
State string `json:"state,omitempty"`
// token
Token string `json:"token,omitempty"`
}
CreateBillingProfileBillingInformationAttributes Billing address and contact information
swagger:model CreateBillingProfileBillingInformationAttributes
func (*CreateBillingProfileBillingInformationAttributes) ContextValidate ¶ added in v0.0.77
func (m *CreateBillingProfileBillingInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create billing profile billing information attributes based on context it is used
func (*CreateBillingProfileBillingInformationAttributes) MarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBillingInformationAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBillingProfileBillingInformationAttributes) UnmarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBillingInformationAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBillingProfileBusinessInformationAttributes ¶ added in v0.0.77
type CreateBillingProfileBusinessInformationAttributes struct {
// metadata
Metadata *CreateBillingProfileBusinessInformationAttributesMetadata `json:"metadata,omitempty"`
// token
Token string `json:"token,omitempty"`
}
CreateBillingProfileBusinessInformationAttributes Business information and custom fields
swagger:model CreateBillingProfileBusinessInformationAttributes
func (*CreateBillingProfileBusinessInformationAttributes) ContextValidate ¶ added in v0.0.77
func (m *CreateBillingProfileBusinessInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create billing profile business information attributes based on the context it is used
func (*CreateBillingProfileBusinessInformationAttributes) MarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBusinessInformationAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBillingProfileBusinessInformationAttributes) UnmarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBusinessInformationAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBillingProfileBusinessInformationAttributesMetadata ¶ added in v0.0.77
type CreateBillingProfileBusinessInformationAttributesMetadata struct {
// Array of custom field objects
CustomFields []*CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0 `json:"custom_fields"`
}
CreateBillingProfileBusinessInformationAttributesMetadata Business metadata including custom fields
swagger:model CreateBillingProfileBusinessInformationAttributesMetadata
func (*CreateBillingProfileBusinessInformationAttributesMetadata) ContextValidate ¶ added in v0.0.77
func (m *CreateBillingProfileBusinessInformationAttributesMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create billing profile business information attributes metadata based on the context it is used
func (*CreateBillingProfileBusinessInformationAttributesMetadata) MarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBusinessInformationAttributesMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBillingProfileBusinessInformationAttributesMetadata) UnmarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBusinessInformationAttributesMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0 ¶ added in v0.0.77
type CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0 struct {
// Custom field name
Name string `json:"name,omitempty"`
// Custom field value
Value string `json:"value,omitempty"`
}
CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0 create billing profile business information attributes metadata custom fields items0
swagger:model CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0
func (*CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) ContextValidate ¶ added in v0.0.77
func (m *CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create billing profile business information attributes metadata custom fields items0 based on context it is used
func (*CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) MarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) UnmarshalBinary ¶ added in v0.0.77
func (m *CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) Validate ¶ added in v0.0.77
func (m *CreateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) Validate(formats strfmt.Registry) error
Validate validates this create billing profile business information attributes metadata custom fields items0
type CreateBillingRule ¶ added in v0.0.29
type CreateBillingRule struct {
// The amount for the BillingRule. Required for Charge and Credit rules. Example value: 300
Amount float64 `json:"amount,omitempty"`
// Determines if the BillingRule applies to all current and future managed accounts.
ApplyToAll bool `json:"apply_to_all,omitempty"`
// The category of the BillingRule. Required for Charge and Credit rules.
Category string `json:"category,omitempty"`
// The charge type of the BillingRule. Required for Exclusion rules.
ChargeType string `json:"charge_type,omitempty"`
// The end date of the BillingRule. ISO 8601 formatted.
EndDate string `json:"end_date,omitempty"`
// The percentage of the cost shown. Required for Adjustment rules. Example value: 75.0
Percentage float64 `json:"percentage,omitempty"`
// The service of the BillingRule. Required for Charge and Credit rules.
Service string `json:"service,omitempty"`
// The SQL query for the BillingRule. Required for Custom rules. Example value: UPDATE costs SET costs.amount = costs.amount * 0.95
SQLQuery string `json:"sql_query,omitempty"`
// The start date of the BillingRule. ISO 8601 formatted.
StartDate string `json:"start_date,omitempty"`
// The start period of the BillingRule. DEPRECATED: use start_date instead.
StartPeriod string `json:"start_period,omitempty"`
// The subcategory of the BillingRule. Required for Charge and Credit rules.
SubCategory string `json:"sub_category,omitempty"`
// The title of the BillingRule.
// Required: true
Title *string `json:"title"`
// The type of the BillingRule. Note: the values are case insensitive.
// Required: true
// Enum: ["exclusion","adjustment","credit","charge","custom"]
Type *string `json:"type"`
}
CreateBillingRule Create a BillingRule.
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 {
// cloudwatch fields
CloudwatchFields *CreateBusinessMetricCloudwatchFields `json:"cloudwatch_fields,omitempty"`
// The tokens for any CostReports that use the BusinessMetric, the unit scale, and label filter.
CostReportTokensWithMetadata []*CreateBusinessMetricCostReportTokensWithMetadataItems0 `json:"cost_report_tokens_with_metadata"`
// datadog metric fields
DatadogMetricFields *CreateBusinessMetricDatadogMetricFields `json:"datadog_metric_fields,omitempty"`
// The title of the BusinessMetrics.
// Required: true
Title *string `json:"title"`
// The dates, amounts, and (optional) labels for the BusinessMetric.
Values []*CreateBusinessMetricValuesItems0 `json:"values,omitempty"`
}
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 CreateBusinessMetricCloudwatchFields ¶ added in v0.0.67
type CreateBusinessMetricCloudwatchFields struct {
// dimensions
Dimensions []*CreateBusinessMetricCloudwatchFieldsDimensionsItems0 `json:"dimensions"`
// Integration token for the account from which you would like to fetch metrics.
IntegrationToken string `json:"integration_token,omitempty"`
// label dimension
LabelDimension string `json:"label_dimension,omitempty"`
// metric name
MetricName string `json:"metric_name,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// region
Region string `json:"region,omitempty"`
// stat
Stat string `json:"stat,omitempty"`
}
CreateBusinessMetricCloudwatchFields Cloudwatch configuration fields.
swagger:model CreateBusinessMetricCloudwatchFields
func (*CreateBusinessMetricCloudwatchFields) ContextValidate ¶ added in v0.0.67
func (m *CreateBusinessMetricCloudwatchFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create business metric cloudwatch fields based on the context it is used
func (*CreateBusinessMetricCloudwatchFields) MarshalBinary ¶ added in v0.0.67
func (m *CreateBusinessMetricCloudwatchFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBusinessMetricCloudwatchFields) UnmarshalBinary ¶ added in v0.0.67
func (m *CreateBusinessMetricCloudwatchFields) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateBusinessMetricCloudwatchFieldsDimensionsItems0 ¶ added in v0.0.67
type CreateBusinessMetricCloudwatchFieldsDimensionsItems0 struct {
// name
Name string `json:"name,omitempty"`
// value
Value string `json:"value,omitempty"`
}
CreateBusinessMetricCloudwatchFieldsDimensionsItems0 create business metric cloudwatch fields dimensions items0
swagger:model CreateBusinessMetricCloudwatchFieldsDimensionsItems0
func (*CreateBusinessMetricCloudwatchFieldsDimensionsItems0) ContextValidate ¶ added in v0.0.67
func (m *CreateBusinessMetricCloudwatchFieldsDimensionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create business metric cloudwatch fields dimensions items0 based on context it is used
func (*CreateBusinessMetricCloudwatchFieldsDimensionsItems0) MarshalBinary ¶ added in v0.0.67
func (m *CreateBusinessMetricCloudwatchFieldsDimensionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBusinessMetricCloudwatchFieldsDimensionsItems0) UnmarshalBinary ¶ added in v0.0.67
func (m *CreateBusinessMetricCloudwatchFieldsDimensionsItems0) 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 CreateBusinessMetricDatadogMetricFields ¶ added in v0.0.67
type CreateBusinessMetricDatadogMetricFields struct {
// Integration token for the account from which you would like to fetch metrics.
IntegrationToken string `json:"integration_token,omitempty"`
// Datadog metrics query string. e.g. sum:aws.applicationelb.request_count{region:us-east-1}.rollup(avg,daily)
Query string `json:"query,omitempty"`
}
CreateBusinessMetricDatadogMetricFields Datadog metric configuration fields
swagger:model CreateBusinessMetricDatadogMetricFields
func (*CreateBusinessMetricDatadogMetricFields) ContextValidate ¶ added in v0.0.67
func (m *CreateBusinessMetricDatadogMetricFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create business metric datadog metric fields based on context it is used
func (*CreateBusinessMetricDatadogMetricFields) MarshalBinary ¶ added in v0.0.67
func (m *CreateBusinessMetricDatadogMetricFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateBusinessMetricDatadogMetricFields) UnmarshalBinary ¶ added in v0.0.67
func (m *CreateBusinessMetricDatadogMetricFields) 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 CreateCostAlert ¶ added in v0.0.64
type CreateCostAlert struct {
// The email recipients for the Cost Alert.
EmailRecipients []string `json:"email_recipients"`
// The period of time used to compare costs. Options are 'day', 'week', 'month', 'quarter'.
// Required: true
Interval *string `json:"interval"`
// The tokens of the reports to alert on.
ReportTokens []string `json:"report_tokens"`
// The Slack channels that will receive the alert.
SlackChannels []string `json:"slack_channels"`
// The Microsoft Teams channels that will receive the alert.
TeamsChannels []string `json:"teams_channels"`
// The threshold value for the Cost Alert.
// Required: true
Threshold *float32 `json:"threshold"`
// The title of the Cost Alert.
// Required: true
Title *string `json:"title"`
// The unit type used to compare costs. Options are 'currency' or 'percentage'.
// Required: true
UnitType *string `json:"unit_type"`
// The token of the Workspace to add the Cost Alert to.
// Required: true
WorkspaceToken *string `json:"workspace_token"`
}
CreateCostAlert Create a new Cost Alert
swagger:model createCostAlert
func (*CreateCostAlert) ContextValidate ¶ added in v0.0.64
ContextValidate validates this create cost alert based on context it is used
func (*CreateCostAlert) MarshalBinary ¶ added in v0.0.64
func (m *CreateCostAlert) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCostAlert) UnmarshalBinary ¶ added in v0.0.64
func (m *CreateCostAlert) 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","multi_bar"]
ChartType *string `json:"chart_type,omitempty"`
// The date bin of the CostReport.
// Enum: ["cumulative","day","week","month","quarter"]
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","last_14_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 previous period costs or usage comparison.
ShowPreviousPeriod *bool `json:"show_previous_period,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","last_14_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.
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 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: ["hour","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","last_14_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 CreateInvoice ¶ added in v0.0.77
type CreateInvoice struct {
// Token of the managed account to invoice
// Required: true
AccountToken *string `json:"account_token"`
// End date of billing period (YYYY-MM-DD)
// Required: true
BillingPeriodEnd *string `json:"billing_period_end"`
// Start date of billing period (YYYY-MM-DD)
// Required: true
BillingPeriodStart *string `json:"billing_period_start"`
}
CreateInvoice Create an invoice (MSP accounts only).
swagger:model createInvoice
func (*CreateInvoice) ContextValidate ¶ added in v0.0.77
ContextValidate validates this create invoice based on context it is used
func (*CreateInvoice) MarshalBinary ¶ added in v0.0.77
func (m *CreateInvoice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateInvoice) UnmarshalBinary ¶ added in v0.0.77
func (m *CreateInvoice) 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","last_14_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, pod, 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 {
// Array of column names to display in the table. Column names should match those returned by the /resource_reports/columns endpoint. The order determines the display order. Only available for reports with a single resource type filter.
Columns []string `json:"columns"`
// 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 CreateUserFeedback ¶ added in v0.0.63
type CreateUserFeedback struct {
// UserFeedback message
// Required: true
Message *string `json:"message"`
}
CreateUserFeedback Provide UserFeedback for our product and features.
swagger:model createUserFeedback
func (*CreateUserFeedback) ContextValidate ¶ added in v0.0.63
ContextValidate validates this create user feedback based on context it is used
func (*CreateUserFeedback) MarshalBinary ¶ added in v0.0.63
func (m *CreateUserFeedback) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateUserFeedback) UnmarshalBinary ¶ added in v0.0.63
func (m *CreateUserFeedback) 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 CreateWorkspace ¶ added in v0.0.78
type CreateWorkspace struct {
// Currency code for the workspace.
Currency string `json:"currency,omitempty"`
// Enable currency conversion for the workspace.
EnableCurrencyConversion *bool `json:"enable_currency_conversion,omitempty"`
// The date to use for currency conversion.
// Enum: ["daily_rate","end_of_billing_period_rate"]
ExchangeRateDate *string `json:"exchange_rate_date,omitempty"`
// Name of the workspace.
// Required: true
Name *string `json:"name"`
}
CreateWorkspace Create a workspace
swagger:model createWorkspace
func (*CreateWorkspace) ContextValidate ¶ added in v0.0.78
ContextValidate validates this create workspace based on context it is used
func (*CreateWorkspace) MarshalBinary ¶ added in v0.0.78
func (m *CreateWorkspace) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateWorkspace) UnmarshalBinary ¶ added in v0.0.78
func (m *CreateWorkspace) 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","last_14_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 DataExport ¶ added in v0.0.55
type DataExport struct {
// attributes
Attributes string `json:"attributes,omitempty"`
// created at
// Example: 2025-03-20T12:00:00Z
CreatedAt string `json:"created_at,omitempty"`
// export type
// Example: cost_report
ExportType string `json:"export_type,omitempty"`
// manifest
Manifest *DataExportManifest `json:"manifest,omitempty"`
// status
// Example: pending
Status string `json:"status,omitempty"`
// token
// Example: dta_xprt_abcd1234567890
Token string `json:"token,omitempty"`
}
DataExport DataExport model
swagger:model DataExport
func (*DataExport) ContextValidate ¶ added in v0.0.55
ContextValidate validate this data export based on the context it is used
func (*DataExport) MarshalBinary ¶ added in v0.0.55
func (m *DataExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataExport) UnmarshalBinary ¶ added in v0.0.55
func (m *DataExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataExportManifest ¶ added in v0.0.55
type DataExportManifest struct {
// completed at
// Example: 2025-03-20T12:00:00Z
CompletedAt string `json:"completed_at,omitempty"`
// files
// Example: ["https://example.com/file1.csv"]
Files string `json:"files,omitempty"`
// valid until
// Example: 2025-03-20T12:00:00Z
ValidUntil string `json:"valid_until,omitempty"`
}
DataExportManifest data export manifest
swagger:model DataExportManifest
func (*DataExportManifest) ContextValidate ¶ added in v0.0.55
ContextValidate validates this data export manifest based on context it is used
func (*DataExportManifest) MarshalBinary ¶ added in v0.0.55
func (m *DataExportManifest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataExportManifest) UnmarshalBinary ¶ added in v0.0.55
func (m *DataExportManifest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatadogMetricFields ¶ added in v0.0.69
type DatadogMetricFields struct {
// The query used to import Datadog metrics.
// Example: sum:aws.applicationelb.request_count{region:us-east-1}.rollup(avg,daily)
Query string `json:"query,omitempty"`
}
DatadogMetricFields datadog metric fields
swagger:model DatadogMetricFields
func (*DatadogMetricFields) ContextValidate ¶ added in v0.0.69
ContextValidate validates this datadog metric fields based on context it is used
func (*DatadogMetricFields) MarshalBinary ¶ added in v0.0.69
func (m *DatadogMetricFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatadogMetricFields) UnmarshalBinary ¶ added in v0.0.69
func (m *DatadogMetricFields) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DownloadInvoice ¶ added in v0.0.77
type DownloadInvoice struct {
// Type of file to download (pdf or csv)
// Required: true
// Enum: ["pdf","csv"]
FileType *string `json:"file_type"`
}
DownloadInvoice Download invoice file (PDF or CSV).
swagger:model downloadInvoice
func (*DownloadInvoice) ContextValidate ¶ added in v0.0.77
ContextValidate validates this download invoice based on context it is used
func (*DownloadInvoice) MarshalBinary ¶ added in v0.0.77
func (m *DownloadInvoice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DownloadInvoice) UnmarshalBinary ¶ added in v0.0.77
func (m *DownloadInvoice) 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 ExchangeRate ¶ added in v0.0.78
type ExchangeRate struct {
// base currency code
BaseCurrencyCode string `json:"base_currency_code,omitempty"`
// currency code
CurrencyCode string `json:"currency_code,omitempty"`
// effective date
EffectiveDate string `json:"effective_date,omitempty"`
// rate
Rate string `json:"rate,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
ExchangeRate exchange rate
swagger:model exchange_rate
func (*ExchangeRate) ContextValidate ¶ added in v0.0.78
ContextValidate validates this exchange rate based on context it is used
func (*ExchangeRate) MarshalBinary ¶ added in v0.0.78
func (m *ExchangeRate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExchangeRate) UnmarshalBinary ¶ added in v0.0.78
func (m *ExchangeRate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExchangeRates ¶ added in v0.0.78
type ExchangeRates struct {
// exchange rates
ExchangeRates []*ExchangeRate `json:"exchange_rates"`
// links
Links interface{} `json:"links,omitempty"`
}
ExchangeRates ExchangeRates model
swagger:model ExchangeRates
func (*ExchangeRates) ContextValidate ¶ added in v0.0.78
ContextValidate validate this exchange rates based on the context it is used
func (*ExchangeRates) MarshalBinary ¶ added in v0.0.78
func (m *ExchangeRates) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExchangeRates) UnmarshalBinary ¶ added in v0.0.78
func (m *ExchangeRates) UnmarshalBinary(b []byte) error
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 ForecastedCost ¶ added in v0.0.64
type ForecastedCost struct {
// The amount of the forecasted cost.
// Example: 4.25
Amount string `json:"amount,omitempty"`
// The date the forecasted cost is projected to accrue. ISO 8601 Formatted.
// Example: 2035-09-05+00:00
Date string `json:"date,omitempty"`
// links
Links interface{} `json:"links,omitempty"`
// The cost provider which incurred the cost. Will be 'all' for all combined providers.
// 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","twilio","azure_csp","kubernetes_agent","anthropic","anyscale"]
Provider string `json:"provider,omitempty"`
// The service for the forecasted cost. Will be 'all' for all combined services
// Example: Amazon Elastic Compute Cloud - Compute
Service string `json:"service,omitempty"`
}
ForecastedCost forecasted cost
swagger:model ForecastedCost
func (*ForecastedCost) ContextValidate ¶ added in v0.0.64
ContextValidate validates this forecasted cost based on context it is used
func (*ForecastedCost) MarshalBinary ¶ added in v0.0.64
func (m *ForecastedCost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ForecastedCost) UnmarshalBinary ¶ added in v0.0.64
func (m *ForecastedCost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ForecastedCosts ¶ added in v0.0.64
type ForecastedCosts struct {
// The currency of the forecasted costs.
// Example: USD
Currency string `json:"currency,omitempty"`
// forecasted costs
ForecastedCosts []*ForecastedCost `json:"forecasted_costs"`
// links
Links interface{} `json:"links,omitempty"`
}
ForecastedCosts ForecastedCosts model
swagger:model ForecastedCosts
func (*ForecastedCosts) ContextValidate ¶ added in v0.0.64
ContextValidate validate this forecasted costs based on the context it is used
func (*ForecastedCosts) MarshalBinary ¶ added in v0.0.64
func (m *ForecastedCosts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ForecastedCosts) UnmarshalBinary ¶ added in v0.0.64
func (m *ForecastedCosts) UnmarshalBinary(b []byte) error
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 Invoice ¶ added in v0.0.76
type Invoice struct {
// Name of the managed account this invoice belongs to
AccountName string `json:"account_name,omitempty"`
// Token of the managed account this invoice belongs to
AccountToken string `json:"account_token,omitempty"`
// End date of the billing period. ISO 8601 formatted.
BillingPeriodEnd string `json:"billing_period_end,omitempty"`
// Start date of the billing period. ISO 8601 formatted.
BillingPeriodStart string `json:"billing_period_start,omitempty"`
// The date and time, in UTC, the invoice was created. ISO 8601 formatted.
CreatedAt string `json:"created_at,omitempty"`
// Sequential invoice number for the MSP account
InvoiceNumber string `json:"invoice_number,omitempty"`
// Token of the MSP account that owns this invoice
MspAccountToken string `json:"msp_account_token,omitempty"`
// Current status of the invoice
Status string `json:"status,omitempty"`
// token
Token string `json:"token,omitempty"`
// Total amount for the invoice period
Total string `json:"total,omitempty"`
// The date and time, in UTC, the invoice was last updated. ISO 8601 formatted.
UpdatedAt string `json:"updated_at,omitempty"`
}
Invoice Invoice model
swagger:model Invoice
func (*Invoice) ContextValidate ¶ added in v0.0.76
ContextValidate validates this invoice based on context it is used
func (*Invoice) MarshalBinary ¶ added in v0.0.76
MarshalBinary interface implementation
func (*Invoice) UnmarshalBinary ¶ added in v0.0.76
UnmarshalBinary interface implementation
type Invoices ¶ added in v0.0.76
type Invoices struct {
// invoices
Invoices []*Invoice `json:"invoices"`
// links
Links interface{} `json:"links,omitempty"`
}
Invoices Invoices model
swagger:model Invoices
func (*Invoices) ContextValidate ¶ added in v0.0.76
ContextValidate validate this invoices based on the context it is used
func (*Invoices) MarshalBinary ¶ added in v0.0.76
MarshalBinary interface implementation
func (*Invoices) UnmarshalBinary ¶ added in v0.0.76
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, pod, 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"`
// Billing address and contact information (MSP invoicing accounts only)
BillingInformationAttributes *BillingInformation `json:"billing_information_attributes,omitempty"`
// The tokens for the Billing Rules assigned to the Managed Account.
BillingRuleTokens []string `json:"billing_rule_tokens"`
// Business-specific information and custom fields (MSP invoicing accounts only)
BusinessInformationAttributes *BusinessInformation `json:"business_information_attributes,omitempty"`
// contact email
ContactEmail string `json:"contact_email,omitempty"`
// Token of the MSP billing profile used for this managed account (MSP invoicing accounts only)
MspBillingProfileToken string `json:"msp_billing_profile_token,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 validate this managed account based on the 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 Me ¶ added in v0.0.57
type Me struct {
// bearer token
BearerToken *BearerToken `json:"bearer_token,omitempty"`
// default workspace token
DefaultWorkspaceToken string `json:"default_workspace_token,omitempty"`
// workspaces
Workspaces []*Workspace `json:"workspaces"`
}
Me Me model
swagger:model Me
func (*Me) ContextValidate ¶ added in v0.0.57
ContextValidate validate this me based on the context it is used
func (*Me) MarshalBinary ¶ added in v0.0.57
MarshalBinary interface implementation
func (*Me) UnmarshalBinary ¶ added in v0.0.57
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_compute_optimizer_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"`
// CLI command to remediate this recommendation
// Example: aws ec2 stop-instances --instance-ids i-1234567890abcdef0
RemediationCliCommand string `json:"remediation_cli_command,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 {
// Array of column names configured for the ResourceReport table display.
Columns []string `json:"columns"`
// 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 ResourceReportColumns ¶ added in v0.0.74
type ResourceReportColumns struct {
// Array of available column names for the specified resource type.
Columns []string `json:"columns"`
}
ResourceReportColumns ResourceReportColumns model
swagger:model ResourceReportColumns
func (*ResourceReportColumns) ContextValidate ¶ added in v0.0.74
ContextValidate validates this resource report columns based on context it is used
func (*ResourceReportColumns) MarshalBinary ¶ added in v0.0.74
func (m *ResourceReportColumns) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceReportColumns) UnmarshalBinary ¶ added in v0.0.74
func (m *ResourceReportColumns) 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.
Providers []string `json:"providers"`
// 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 TagValue ¶ added in v0.0.52
type TagValue struct {
// The unique providers that are covered by the TagValue.
Providers []string `json:"providers"`
// The TagValue.
// Example: vantage
TagValue string `json:"tag_value,omitempty"`
}
TagValue tag value
swagger:model TagValue
func (*TagValue) ContextValidate ¶ added in v0.0.52
ContextValidate validates this tag value based on context it is used
func (*TagValue) MarshalBinary ¶ added in v0.0.52
MarshalBinary interface implementation
func (*TagValue) UnmarshalBinary ¶ added in v0.0.52
UnmarshalBinary interface implementation
type TagValues ¶ added in v0.0.52
type TagValues struct {
// tag values
TagValues []*TagValue `json:"tag_values"`
}
TagValues TagValues model
swagger:model TagValues
func (*TagValues) ContextValidate ¶ added in v0.0.52
ContextValidate validate this tag values based on the context it is used
func (*TagValues) MarshalBinary ¶ added in v0.0.52
MarshalBinary interface implementation
func (*TagValues) UnmarshalBinary ¶ added in v0.0.52
UnmarshalBinary interface implementation
type Tags ¶ added in v0.0.48
type Tags struct {
// links
Links interface{} `json:"links,omitempty"`
// 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 UnitCost ¶ added in v0.0.63
type UnitCost struct {
// The amount of the business metric.
// Example: 0.371
BusinessMetricAmount string `json:"business_metric_amount,omitempty"`
// The title of the BusinessMetric for which the unit cost was calculated.
// Example: Total Revenue
BusinessMetricTitle string `json:"business_metric_title,omitempty"`
// The token of the BusinessMetric for which the unit cost was calculated.
// Example: bsnss_mtrc_1234
BusinessMetricToken string `json:"business_metric_token,omitempty"`
// The date for which the unit cost was calculated. ISO 8601 Formatted.
// Example: 2023-09-05+00:00
Date string `json:"date,omitempty"`
// links
Links interface{} `json:"links,omitempty"`
// The scale of the BusinessMetric's values within a particular CostReport.
// Example: 1
Scale float32 `json:"scale,omitempty"`
// The amount of the unit cost.
// Example: 4.25
UnitCostAmount string `json:"unit_cost_amount,omitempty"`
}
UnitCost unit cost
swagger:model UnitCost
func (*UnitCost) ContextValidate ¶ added in v0.0.63
ContextValidate validates this unit cost based on context it is used
func (*UnitCost) MarshalBinary ¶ added in v0.0.63
MarshalBinary interface implementation
func (*UnitCost) UnmarshalBinary ¶ added in v0.0.63
UnmarshalBinary interface implementation
type UnitCosts ¶ added in v0.0.63
type UnitCosts struct {
// links
Links interface{} `json:"links,omitempty"`
// unit costs
UnitCosts []*UnitCost `json:"unit_costs"`
}
UnitCosts UnitCosts model
swagger:model UnitCosts
func (*UnitCosts) ContextValidate ¶ added in v0.0.63
ContextValidate validate this unit costs based on the context it is used
func (*UnitCosts) MarshalBinary ¶ added in v0.0.63
MarshalBinary interface implementation
func (*UnitCosts) UnmarshalBinary ¶ added in v0.0.63
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 UpdateBillingProfile ¶ added in v0.0.77
type UpdateBillingProfile struct {
// banking information attributes
BankingInformationAttributes *UpdateBillingProfileBankingInformationAttributes `json:"banking_information_attributes,omitempty"`
// billing information attributes
BillingInformationAttributes *UpdateBillingProfileBillingInformationAttributes `json:"billing_information_attributes,omitempty"`
// business information attributes
BusinessInformationAttributes *UpdateBillingProfileBusinessInformationAttributes `json:"business_information_attributes,omitempty"`
// Display name for the billing profile
Nickname string `json:"nickname,omitempty"`
}
UpdateBillingProfile Update a billing profile (MSP invoicing required).
swagger:model updateBillingProfile
func (*UpdateBillingProfile) ContextValidate ¶ added in v0.0.77
ContextValidate validate this update billing profile based on the context it is used
func (*UpdateBillingProfile) MarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBillingProfile) UnmarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBillingProfileBankingInformationAttributes ¶ added in v0.0.77
type UpdateBillingProfileBankingInformationAttributes struct {
// Name of the bank
BankName string `json:"bank_name,omitempty"`
// Name of the account beneficiary
BeneficiaryName string `json:"beneficiary_name,omitempty"`
// secure data
SecureData *UpdateBillingProfileBankingInformationAttributesSecureData `json:"secure_data,omitempty"`
// Tax identification number
TaxID string `json:"tax_id,omitempty"`
// token
Token string `json:"token,omitempty"`
}
UpdateBillingProfileBankingInformationAttributes Banking details (MSP accounts only)
swagger:model UpdateBillingProfileBankingInformationAttributes
func (*UpdateBillingProfileBankingInformationAttributes) ContextValidate ¶ added in v0.0.77
func (m *UpdateBillingProfileBankingInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update billing profile banking information attributes based on the context it is used
func (*UpdateBillingProfileBankingInformationAttributes) MarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBankingInformationAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBillingProfileBankingInformationAttributes) UnmarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBankingInformationAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBillingProfileBankingInformationAttributesSecureData ¶ added in v0.0.77
type UpdateBillingProfileBankingInformationAttributesSecureData struct {
// Bank account number (US)
AccountNumber string `json:"account_number,omitempty"`
// International Bank Account Number (EU)
Iban string `json:"iban,omitempty"`
// Bank routing number (US)
RoutingNumber string `json:"routing_number,omitempty"`
// SWIFT/BIC code (EU)
SwiftBic string `json:"swift_bic,omitempty"`
}
UpdateBillingProfileBankingInformationAttributesSecureData Encrypted banking details
swagger:model UpdateBillingProfileBankingInformationAttributesSecureData
func (*UpdateBillingProfileBankingInformationAttributesSecureData) ContextValidate ¶ added in v0.0.77
func (m *UpdateBillingProfileBankingInformationAttributesSecureData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update billing profile banking information attributes secure data based on context it is used
func (*UpdateBillingProfileBankingInformationAttributesSecureData) MarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBankingInformationAttributesSecureData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBillingProfileBankingInformationAttributesSecureData) UnmarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBankingInformationAttributesSecureData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBillingProfileBillingInformationAttributes ¶ added in v0.0.77
type UpdateBillingProfileBillingInformationAttributes struct {
// First line of billing address
AddressLine1 string `json:"address_line_1,omitempty"`
// Second line of billing address
AddressLine2 string `json:"address_line_2,omitempty"`
// Array of billing email addresses
BillingEmail []string `json:"billing_email"`
// City for billing address
City string `json:"city,omitempty"`
// Company name for billing
CompanyName string `json:"company_name,omitempty"`
// ISO country code
CountryCode string `json:"country_code,omitempty"`
// Postal or ZIP code
PostalCode string `json:"postal_code,omitempty"`
// State or province for billing address
State string `json:"state,omitempty"`
// token
Token string `json:"token,omitempty"`
}
UpdateBillingProfileBillingInformationAttributes Billing address and contact information
swagger:model UpdateBillingProfileBillingInformationAttributes
func (*UpdateBillingProfileBillingInformationAttributes) ContextValidate ¶ added in v0.0.77
func (m *UpdateBillingProfileBillingInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update billing profile billing information attributes based on context it is used
func (*UpdateBillingProfileBillingInformationAttributes) MarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBillingInformationAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBillingProfileBillingInformationAttributes) UnmarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBillingInformationAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBillingProfileBusinessInformationAttributes ¶ added in v0.0.77
type UpdateBillingProfileBusinessInformationAttributes struct {
// metadata
Metadata *UpdateBillingProfileBusinessInformationAttributesMetadata `json:"metadata,omitempty"`
// token
Token string `json:"token,omitempty"`
}
UpdateBillingProfileBusinessInformationAttributes Business information and custom fields
swagger:model UpdateBillingProfileBusinessInformationAttributes
func (*UpdateBillingProfileBusinessInformationAttributes) ContextValidate ¶ added in v0.0.77
func (m *UpdateBillingProfileBusinessInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update billing profile business information attributes based on the context it is used
func (*UpdateBillingProfileBusinessInformationAttributes) MarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBusinessInformationAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBillingProfileBusinessInformationAttributes) UnmarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBusinessInformationAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBillingProfileBusinessInformationAttributesMetadata ¶ added in v0.0.77
type UpdateBillingProfileBusinessInformationAttributesMetadata struct {
// Array of custom field objects
CustomFields []*UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0 `json:"custom_fields"`
}
UpdateBillingProfileBusinessInformationAttributesMetadata Business metadata including custom fields
swagger:model UpdateBillingProfileBusinessInformationAttributesMetadata
func (*UpdateBillingProfileBusinessInformationAttributesMetadata) ContextValidate ¶ added in v0.0.77
func (m *UpdateBillingProfileBusinessInformationAttributesMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update billing profile business information attributes metadata based on the context it is used
func (*UpdateBillingProfileBusinessInformationAttributesMetadata) MarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBusinessInformationAttributesMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBillingProfileBusinessInformationAttributesMetadata) UnmarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBusinessInformationAttributesMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0 ¶ added in v0.0.77
type UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0 struct {
// Custom field name
Name string `json:"name,omitempty"`
// Custom field value
Value string `json:"value,omitempty"`
}
UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0 update billing profile business information attributes metadata custom fields items0
swagger:model UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0
func (*UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) ContextValidate ¶ added in v0.0.77
func (m *UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update billing profile business information attributes metadata custom fields items0 based on context it is used
func (*UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) MarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) UnmarshalBinary ¶ added in v0.0.77
func (m *UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) Validate ¶ added in v0.0.77
func (m *UpdateBillingProfileBusinessInformationAttributesMetadataCustomFieldsItems0) Validate(formats strfmt.Registry) error
Validate validates this update billing profile business information attributes metadata custom fields items0
type UpdateBillingRule ¶ added in v0.0.29
type UpdateBillingRule struct {
// The credit amount for the BillingRule. Example value: 300
Amount float64 `json:"amount,omitempty"`
// Determines if the BillingRule applies to all current and future managed accounts.
ApplyToAll bool `json:"apply_to_all"`
// The category of the BillingRule.
Category string `json:"category,omitempty"`
// The charge type of the BillingRule.
ChargeType string `json:"charge_type,omitempty"`
// The end date of the BillingRule. ISO 8601 formatted.
EndDate string `json:"end_date,omitempty"`
// The percentage of the cost shown. Example value: 75.0
Percentage float64 `json:"percentage,omitempty"`
// The service of the BillingRule.
Service string `json:"service,omitempty"`
// The SQL query of the BillingRule.
SQLQuery string `json:"sql_query,omitempty"`
// The start date of the BillingRule. ISO 8601 formatted.
StartDate string `json:"start_date,omitempty"`
// The start period of the BillingRule.
StartPeriod string `json:"start_period,omitempty"`
// The subcategory of the BillingRule.
SubCategory string `json:"sub_category,omitempty"`
// The title of the BillingRule.
Title string `json:"title,omitempty"`
}
UpdateBillingRule Update a BillingRule.
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 {
// cloudwatch fields
CloudwatchFields *UpdateBusinessMetricCloudwatchFields `json:"cloudwatch_fields,omitempty"`
// The tokens for any CostReports that use the BusinessMetric, and the unit scale.
CostReportTokensWithMetadata []*UpdateBusinessMetricCostReportTokensWithMetadataItems0 `json:"cost_report_tokens_with_metadata"`
// datadog metric fields
DatadogMetricFields *UpdateBusinessMetricDatadogMetricFields `json:"datadog_metric_fields,omitempty"`
// The title of the BusinessMetric.
Title string `json:"title,omitempty"`
// The dates, amounts, and (optional) labels for the BusinessMetric.
Values []*UpdateBusinessMetricValuesItems0 `json:"values,omitempty"`
}
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 UpdateBusinessMetricCloudwatchFields ¶ added in v0.0.67
type UpdateBusinessMetricCloudwatchFields struct {
// dimensions
Dimensions []*UpdateBusinessMetricCloudwatchFieldsDimensionsItems0 `json:"dimensions"`
// Integration token for the account from which you would like to fetch metrics.
IntegrationToken string `json:"integration_token,omitempty"`
// label dimension
LabelDimension string `json:"label_dimension"`
// metric name
MetricName string `json:"metric_name,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// region
Region string `json:"region,omitempty"`
// stat
Stat string `json:"stat,omitempty"`
}
UpdateBusinessMetricCloudwatchFields Cloudwatch configuration fields.
swagger:model UpdateBusinessMetricCloudwatchFields
func (*UpdateBusinessMetricCloudwatchFields) ContextValidate ¶ added in v0.0.67
func (m *UpdateBusinessMetricCloudwatchFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update business metric cloudwatch fields based on the context it is used
func (*UpdateBusinessMetricCloudwatchFields) MarshalBinary ¶ added in v0.0.67
func (m *UpdateBusinessMetricCloudwatchFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBusinessMetricCloudwatchFields) UnmarshalBinary ¶ added in v0.0.67
func (m *UpdateBusinessMetricCloudwatchFields) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBusinessMetricCloudwatchFieldsDimensionsItems0 ¶ added in v0.0.67
type UpdateBusinessMetricCloudwatchFieldsDimensionsItems0 struct {
// name
Name string `json:"name,omitempty"`
// value
Value string `json:"value,omitempty"`
}
UpdateBusinessMetricCloudwatchFieldsDimensionsItems0 update business metric cloudwatch fields dimensions items0
swagger:model UpdateBusinessMetricCloudwatchFieldsDimensionsItems0
func (*UpdateBusinessMetricCloudwatchFieldsDimensionsItems0) ContextValidate ¶ added in v0.0.67
func (m *UpdateBusinessMetricCloudwatchFieldsDimensionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update business metric cloudwatch fields dimensions items0 based on context it is used
func (*UpdateBusinessMetricCloudwatchFieldsDimensionsItems0) MarshalBinary ¶ added in v0.0.67
func (m *UpdateBusinessMetricCloudwatchFieldsDimensionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBusinessMetricCloudwatchFieldsDimensionsItems0) UnmarshalBinary ¶ added in v0.0.67
func (m *UpdateBusinessMetricCloudwatchFieldsDimensionsItems0) 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 UpdateBusinessMetricDatadogMetricFields ¶ added in v0.0.67
type UpdateBusinessMetricDatadogMetricFields struct {
// Integration token for the account from which you would like to fetch metrics.
IntegrationToken string `json:"integration_token,omitempty"`
// Datadog metrics query string. e.g. sum:aws.applicationelb.request_count{region:us-east-1}.rollup(avg,daily)
Query string `json:"query,omitempty"`
}
UpdateBusinessMetricDatadogMetricFields Datadog metric configuration fields
swagger:model UpdateBusinessMetricDatadogMetricFields
func (*UpdateBusinessMetricDatadogMetricFields) ContextValidate ¶ added in v0.0.67
func (m *UpdateBusinessMetricDatadogMetricFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update business metric datadog metric fields based on context it is used
func (*UpdateBusinessMetricDatadogMetricFields) MarshalBinary ¶ added in v0.0.67
func (m *UpdateBusinessMetricDatadogMetricFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateBusinessMetricDatadogMetricFields) UnmarshalBinary ¶ added in v0.0.67
func (m *UpdateBusinessMetricDatadogMetricFields) 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 UpdateCostAlert ¶ added in v0.0.64
type UpdateCostAlert struct {
// The email recipients for the Cost Alert.
EmailRecipients []string `json:"email_recipients"`
// The period of time used to compare costs. Options are 'day', 'week', 'month', 'quarter'.
Interval string `json:"interval,omitempty"`
// The tokens of the reports to alert on.
ReportTokens []string `json:"report_tokens"`
// The Slack channels that will receive the alert. Make sure your slack integration is connected at https://console.vantage.sh/settings/slack.
SlackChannels []string `json:"slack_channels"`
// The Microsoft Teams channels that will receive the alert. Make sure your teams integration is connected at https://console.vantage.sh/settings/microsoft_teams.
TeamsChannels []string `json:"teams_channels"`
// The threshold value for the Cost Alert.
Threshold float32 `json:"threshold,omitempty"`
// The title of the Cost Alert.
Title string `json:"title,omitempty"`
// The unit type used to compare costs. Options are 'currency' or 'percentage'.
UnitType string `json:"unit_type,omitempty"`
}
UpdateCostAlert Update a Cost Alert
swagger:model updateCostAlert
func (*UpdateCostAlert) ContextValidate ¶ added in v0.0.64
ContextValidate validates this update cost alert based on context it is used
func (*UpdateCostAlert) MarshalBinary ¶ added in v0.0.64
func (m *UpdateCostAlert) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCostAlert) UnmarshalBinary ¶ added in v0.0.64
func (m *UpdateCostAlert) 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","multi_bar"]
ChartType *string `json:"chart_type,omitempty"`
// The date bin of the CostReport.
// Enum: ["cumulative","day","week","month","quarter"]
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","last_14_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"`
// 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 previous period costs or usage comparison.
ShowPreviousPeriod bool `json:"show_previous_period,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","last_14_days",""]
DateInterval string `json:"date_interval"`
// The end date for the date range for costs in the Dashboard. ISO 8601 Formatted. Incompatible with 'date_interval' parameter.
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 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: ["hour","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","last_14_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","last_14_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, pod, 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 information attributes
BillingInformationAttributes *UpdateManagedAccountBillingInformationAttributes `json:"billing_information_attributes,omitempty"`
// Billing Rule tokens to assign to the Managed Account.
BillingRuleTokens []string `json:"billing_rule_tokens"`
// business information attributes
BusinessInformationAttributes *UpdateManagedAccountBusinessInformationAttributes `json:"business_information_attributes,omitempty"`
// The contact email address for the Managed Account.
ContactEmail string `json:"contact_email,omitempty"`
// Token of the MSP billing profile to use for this managed account (MSP invoicing accounts only).
MspBillingProfileToken string `json:"msp_billing_profile_token,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 validate this update managed account based on the 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 UpdateManagedAccountBillingInformationAttributes ¶ added in v0.0.76
type UpdateManagedAccountBillingInformationAttributes struct {
// First line of billing address
AddressLine1 string `json:"address_line_1,omitempty"`
// Second line of billing address
AddressLine2 string `json:"address_line_2,omitempty"`
// Array of billing email addresses
BillingEmail []string `json:"billing_email"`
// City for billing address
City string `json:"city,omitempty"`
// Company name for billing
CompanyName string `json:"company_name,omitempty"`
// ISO country code
CountryCode string `json:"country_code,omitempty"`
// id
ID int32 `json:"id,omitempty"`
// Postal or ZIP code
PostalCode string `json:"postal_code,omitempty"`
// State or province for billing address
State string `json:"state,omitempty"`
// token
Token string `json:"token,omitempty"`
}
UpdateManagedAccountBillingInformationAttributes Billing address and contact information (MSP invoicing accounts only)
swagger:model UpdateManagedAccountBillingInformationAttributes
func (*UpdateManagedAccountBillingInformationAttributes) ContextValidate ¶ added in v0.0.76
func (m *UpdateManagedAccountBillingInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update managed account billing information attributes based on context it is used
func (*UpdateManagedAccountBillingInformationAttributes) MarshalBinary ¶ added in v0.0.76
func (m *UpdateManagedAccountBillingInformationAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateManagedAccountBillingInformationAttributes) UnmarshalBinary ¶ added in v0.0.76
func (m *UpdateManagedAccountBillingInformationAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateManagedAccountBusinessInformationAttributes ¶ added in v0.0.76
type UpdateManagedAccountBusinessInformationAttributes struct {
// id
ID int32 `json:"id,omitempty"`
// metadata
Metadata *UpdateManagedAccountBusinessInformationAttributesMetadata `json:"metadata,omitempty"`
// token
Token string `json:"token,omitempty"`
}
UpdateManagedAccountBusinessInformationAttributes Business information and custom fields (MSP invoicing accounts only)
swagger:model UpdateManagedAccountBusinessInformationAttributes
func (*UpdateManagedAccountBusinessInformationAttributes) ContextValidate ¶ added in v0.0.76
func (m *UpdateManagedAccountBusinessInformationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update managed account business information attributes based on the context it is used
func (*UpdateManagedAccountBusinessInformationAttributes) MarshalBinary ¶ added in v0.0.76
func (m *UpdateManagedAccountBusinessInformationAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateManagedAccountBusinessInformationAttributes) UnmarshalBinary ¶ added in v0.0.76
func (m *UpdateManagedAccountBusinessInformationAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateManagedAccountBusinessInformationAttributesMetadata ¶ added in v0.0.76
type UpdateManagedAccountBusinessInformationAttributesMetadata struct {
// Array of custom field objects
CustomFields []*UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0 `json:"custom_fields"`
}
UpdateManagedAccountBusinessInformationAttributesMetadata Business metadata including custom fields
swagger:model UpdateManagedAccountBusinessInformationAttributesMetadata
func (*UpdateManagedAccountBusinessInformationAttributesMetadata) ContextValidate ¶ added in v0.0.76
func (m *UpdateManagedAccountBusinessInformationAttributesMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update managed account business information attributes metadata based on the context it is used
func (*UpdateManagedAccountBusinessInformationAttributesMetadata) MarshalBinary ¶ added in v0.0.76
func (m *UpdateManagedAccountBusinessInformationAttributesMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateManagedAccountBusinessInformationAttributesMetadata) UnmarshalBinary ¶ added in v0.0.76
func (m *UpdateManagedAccountBusinessInformationAttributesMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0 ¶ added in v0.0.76
type UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0 struct {
// Custom field name
Name string `json:"name,omitempty"`
// Custom field value
Value string `json:"value,omitempty"`
}
UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0 update managed account business information attributes metadata custom fields items0
swagger:model UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0
func (*UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) ContextValidate ¶ added in v0.0.76
func (m *UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update managed account business information attributes metadata custom fields items0 based on context it is used
func (*UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) MarshalBinary ¶ added in v0.0.76
func (m *UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) UnmarshalBinary ¶ added in v0.0.76
func (m *UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) Validate ¶ added in v0.0.76
func (m *UpdateManagedAccountBusinessInformationAttributesMetadataCustomFieldsItems0) Validate(formats strfmt.Registry) error
Validate validates this update managed account business information attributes metadata custom fields items0
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 {
// Array of column names to display in the table. Column names should match those returned by the /resource_reports/columns endpoint. The order determines the display order. Only available for reports with a single resource type filter.
Columns []string `json:"columns"`
// 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 UserFeedback ¶ added in v0.0.63
type UserFeedback struct {
// Feedback creation timestamp
// Example: 2023-01-01T00:00:00Z
CreatedAt string `json:"created_at,omitempty"`
// Token of the creator of the feedback
CreatedByToken string `json:"created_by_token,omitempty"`
// User feedback message
Message string `json:"message,omitempty"`
// Token of the feedback
Token string `json:"token,omitempty"`
}
UserFeedback UserFeedback model
swagger:model UserFeedback
func (*UserFeedback) ContextValidate ¶ added in v0.0.63
ContextValidate validates this user feedback based on context it is used
func (*UserFeedback) MarshalBinary ¶ added in v0.0.63
func (m *UserFeedback) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserFeedback) UnmarshalBinary ¶ added in v0.0.63
func (m *UserFeedback) 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: 2025-03-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
- audit_log.go
- audit_logs.go
- banking_information.go
- banking_information_secure_data.go
- bearer_token.go
- billing_information.go
- billing_profile.go
- billing_profiles.go
- billing_rule.go
- billing_rules.go
- budget.go
- budget_alert.go
- budget_alerts.go
- budget_performance.go
- budget_period.go
- budgets.go
- business_information.go
- business_information_custom_field.go
- business_information_metadata.go
- business_metric.go
- business_metric_value.go
- business_metric_values.go
- business_metrics.go
- cloudwatch_dimension.go
- cloudwatch_fields.go
- cost.go
- cost_alert.go
- cost_alert_event.go
- cost_alert_events.go
- cost_alerts.go
- cost_provider.go
- cost_providers.go
- cost_report.go
- cost_reports.go
- cost_service.go
- cost_services.go
- costs.go
- create_access_grant.go
- create_anomaly_notification.go
- create_azure_integration.go
- create_billing_profile.go
- create_billing_rule.go
- create_budget.go
- create_business_metric.go
- create_cost_alert.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_invoice.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_user_feedback.go
- create_virtual_tag_config.go
- create_workspace.go
- dashboard.go
- dashboard_widget.go
- dashboard_widget_settings.go
- dashboards.go
- data_export.go
- data_export_manifest.go
- datadog_metric_fields.go
- download_invoice.go
- errors.go
- exchange_rate.go
- exchange_rates.go
- financial_commitment.go
- financial_commitment_report.go
- financial_commitment_reports.go
- financial_commitments.go
- folder.go
- folders.go
- forecasted_cost.go
- forecasted_costs.go
- integration.go
- integrations.go
- invoice.go
- invoices.go
- kubernetes_efficiency_report.go
- kubernetes_efficiency_reports.go
- managed_account.go
- managed_accounts.go
- me.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_report_columns.go
- resource_reports.go
- resources.go
- saved_filter.go
- saved_filters.go
- segment.go
- segments.go
- tag.go
- tag_value.go
- tag_values.go
- tags.go
- team.go
- teams.go
- unit_cost.go
- unit_costs.go
- update_access_grant.go
- update_anomaly_alert.go
- update_anomaly_notification.go
- update_billing_profile.go
- update_billing_rule.go
- update_budget.go
- update_business_metric.go
- update_cost_alert.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
- user_feedback.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