Documentation ¶
Index ¶
- type Args
- type Dataset
- type DatasetAggregation
- type DatasetAggregationAttributes
- func (a DatasetAggregationAttributes) ColumnName() terra.StringValue
- func (a DatasetAggregationAttributes) InternalRef() (terra.Reference, error)
- func (a DatasetAggregationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DatasetAggregationAttributes) InternalWithRef(ref terra.Reference) DatasetAggregationAttributes
- func (a DatasetAggregationAttributes) Name() terra.StringValue
- type DatasetAggregationState
- type DatasetAttributes
- func (d DatasetAttributes) Aggregation() terra.SetValue[DatasetAggregationAttributes]
- func (d DatasetAttributes) Granularity() terra.StringValue
- func (d DatasetAttributes) Grouping() terra.ListValue[DatasetGroupingAttributes]
- func (d DatasetAttributes) InternalRef() (terra.Reference, error)
- func (d DatasetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DatasetAttributes) InternalWithRef(ref terra.Reference) DatasetAttributes
- func (d DatasetAttributes) Sorting() terra.ListValue[DatasetSortingAttributes]
- type DatasetGrouping
- type DatasetGroupingAttributes
- func (g DatasetGroupingAttributes) InternalRef() (terra.Reference, error)
- func (g DatasetGroupingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g DatasetGroupingAttributes) InternalWithRef(ref terra.Reference) DatasetGroupingAttributes
- func (g DatasetGroupingAttributes) Name() terra.StringValue
- func (g DatasetGroupingAttributes) Type() terra.StringValue
- type DatasetGroupingState
- type DatasetSorting
- type DatasetSortingAttributes
- func (s DatasetSortingAttributes) Direction() terra.StringValue
- func (s DatasetSortingAttributes) InternalRef() (terra.Reference, error)
- func (s DatasetSortingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DatasetSortingAttributes) InternalWithRef(ref terra.Reference) DatasetSortingAttributes
- func (s DatasetSortingAttributes) Name() terra.StringValue
- type DatasetSortingState
- type DatasetState
- type Kpi
- type KpiAttributes
- type KpiState
- type Pivot
- type PivotAttributes
- func (p PivotAttributes) InternalRef() (terra.Reference, error)
- func (p PivotAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PivotAttributes) InternalWithRef(ref terra.Reference) PivotAttributes
- func (p PivotAttributes) Name() terra.StringValue
- func (p PivotAttributes) Type() terra.StringValue
- type PivotState
- type Resource
- func (ascmv *Resource) Attributes() azurermSubscriptionCostManagementViewAttributes
- func (ascmv *Resource) Configuration() interface{}
- func (ascmv *Resource) DependOn() terra.Reference
- func (ascmv *Resource) Dependencies() terra.Dependencies
- func (ascmv *Resource) ImportState(state io.Reader) error
- func (ascmv *Resource) LifecycleManagement() *terra.Lifecycle
- func (ascmv *Resource) LocalName() string
- func (ascmv *Resource) State() (*azurermSubscriptionCostManagementViewState, bool)
- func (ascmv *Resource) StateMust() *azurermSubscriptionCostManagementViewState
- func (ascmv *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Accumulated: bool, required Accumulated terra.BoolValue `hcl:"accumulated,attr" validate:"required"` // ChartType: string, required ChartType terra.StringValue `hcl:"chart_type,attr" validate:"required"` // DisplayName: string, required DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ReportType: string, required ReportType terra.StringValue `hcl:"report_type,attr" validate:"required"` // SubscriptionId: string, required SubscriptionId terra.StringValue `hcl:"subscription_id,attr" validate:"required"` // Timeframe: string, required Timeframe terra.StringValue `hcl:"timeframe,attr" validate:"required"` // Dataset: required Dataset *Dataset `hcl:"dataset,block" validate:"required"` // Kpi: min=0 Kpi []Kpi `hcl:"kpi,block" validate:"min=0"` // Pivot: min=0 Pivot []Pivot `hcl:"pivot,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_subscription_cost_management_view.
type Dataset ¶
type Dataset struct { // Granularity: string, required Granularity terra.StringValue `hcl:"granularity,attr" validate:"required"` // DatasetAggregation: min=1 Aggregation []DatasetAggregation `hcl:"aggregation,block" validate:"min=1"` // DatasetGrouping: min=0 Grouping []DatasetGrouping `hcl:"grouping,block" validate:"min=0"` // DatasetSorting: min=0 Sorting []DatasetSorting `hcl:"sorting,block" validate:"min=0"` }
type DatasetAggregation ¶
type DatasetAggregation struct { // ColumnName: string, required ColumnName terra.StringValue `hcl:"column_name,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type DatasetAggregationAttributes ¶
type DatasetAggregationAttributes struct {
// contains filtered or unexported fields
}
func (DatasetAggregationAttributes) ColumnName ¶
func (a DatasetAggregationAttributes) ColumnName() terra.StringValue
func (DatasetAggregationAttributes) InternalRef ¶
func (a DatasetAggregationAttributes) InternalRef() (terra.Reference, error)
func (DatasetAggregationAttributes) InternalTokens ¶
func (a DatasetAggregationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DatasetAggregationAttributes) InternalWithRef ¶
func (a DatasetAggregationAttributes) InternalWithRef(ref terra.Reference) DatasetAggregationAttributes
func (DatasetAggregationAttributes) Name ¶
func (a DatasetAggregationAttributes) Name() terra.StringValue
type DatasetAggregationState ¶
type DatasetAttributes ¶
type DatasetAttributes struct {
// contains filtered or unexported fields
}
func (DatasetAttributes) Aggregation ¶
func (d DatasetAttributes) Aggregation() terra.SetValue[DatasetAggregationAttributes]
func (DatasetAttributes) Granularity ¶
func (d DatasetAttributes) Granularity() terra.StringValue
func (DatasetAttributes) Grouping ¶
func (d DatasetAttributes) Grouping() terra.ListValue[DatasetGroupingAttributes]
func (DatasetAttributes) InternalRef ¶
func (d DatasetAttributes) InternalRef() (terra.Reference, error)
func (DatasetAttributes) InternalTokens ¶
func (d DatasetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DatasetAttributes) InternalWithRef ¶
func (d DatasetAttributes) InternalWithRef(ref terra.Reference) DatasetAttributes
func (DatasetAttributes) Sorting ¶
func (d DatasetAttributes) Sorting() terra.ListValue[DatasetSortingAttributes]
type DatasetGrouping ¶
type DatasetGrouping struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type DatasetGroupingAttributes ¶
type DatasetGroupingAttributes struct {
// contains filtered or unexported fields
}
func (DatasetGroupingAttributes) InternalRef ¶
func (g DatasetGroupingAttributes) InternalRef() (terra.Reference, error)
func (DatasetGroupingAttributes) InternalTokens ¶
func (g DatasetGroupingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DatasetGroupingAttributes) InternalWithRef ¶
func (g DatasetGroupingAttributes) InternalWithRef(ref terra.Reference) DatasetGroupingAttributes
func (DatasetGroupingAttributes) Name ¶
func (g DatasetGroupingAttributes) Name() terra.StringValue
func (DatasetGroupingAttributes) Type ¶
func (g DatasetGroupingAttributes) Type() terra.StringValue
type DatasetGroupingState ¶
type DatasetSorting ¶
type DatasetSorting struct { // Direction: string, required Direction terra.StringValue `hcl:"direction,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type DatasetSortingAttributes ¶
type DatasetSortingAttributes struct {
// contains filtered or unexported fields
}
func (DatasetSortingAttributes) Direction ¶
func (s DatasetSortingAttributes) Direction() terra.StringValue
func (DatasetSortingAttributes) InternalRef ¶
func (s DatasetSortingAttributes) InternalRef() (terra.Reference, error)
func (DatasetSortingAttributes) InternalTokens ¶
func (s DatasetSortingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DatasetSortingAttributes) InternalWithRef ¶
func (s DatasetSortingAttributes) InternalWithRef(ref terra.Reference) DatasetSortingAttributes
func (DatasetSortingAttributes) Name ¶
func (s DatasetSortingAttributes) Name() terra.StringValue
type DatasetSortingState ¶
type DatasetState ¶
type DatasetState struct { Granularity string `json:"granularity"` Aggregation []DatasetAggregationState `json:"aggregation"` Grouping []DatasetGroupingState `json:"grouping"` Sorting []DatasetSortingState `json:"sorting"` }
type Kpi ¶
type Kpi struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type KpiAttributes ¶
type KpiAttributes struct {
// contains filtered or unexported fields
}
func (KpiAttributes) InternalRef ¶
func (k KpiAttributes) InternalRef() (terra.Reference, error)
func (KpiAttributes) InternalTokens ¶
func (k KpiAttributes) InternalTokens() (hclwrite.Tokens, error)
func (KpiAttributes) InternalWithRef ¶
func (k KpiAttributes) InternalWithRef(ref terra.Reference) KpiAttributes
func (KpiAttributes) Type ¶
func (k KpiAttributes) Type() terra.StringValue
type Pivot ¶
type Pivot struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type PivotAttributes ¶
type PivotAttributes struct {
// contains filtered or unexported fields
}
func (PivotAttributes) InternalRef ¶
func (p PivotAttributes) InternalRef() (terra.Reference, error)
func (PivotAttributes) InternalTokens ¶
func (p PivotAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PivotAttributes) InternalWithRef ¶
func (p PivotAttributes) InternalWithRef(ref terra.Reference) PivotAttributes
func (PivotAttributes) Name ¶
func (p PivotAttributes) Name() terra.StringValue
func (PivotAttributes) Type ¶
func (p PivotAttributes) Type() terra.StringValue
type PivotState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource azurerm_subscription_cost_management_view.
func (*Resource) Attributes ¶
func (ascmv *Resource) Attributes() azurermSubscriptionCostManagementViewAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ascmv *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ascmv *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.