v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=metering.oci.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: metering.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ComputationCustomTable

type ComputationCustomTable struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ComputationCustomTableSpec   `json:"spec,omitempty"`
	Status            ComputationCustomTableStatus `json:"status,omitempty"`
}

func (*ComputationCustomTable) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationCustomTable.

func (*ComputationCustomTable) DeepCopyInto

func (in *ComputationCustomTable) DeepCopyInto(out *ComputationCustomTable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputationCustomTable) DeepCopyObject

func (in *ComputationCustomTable) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ComputationCustomTable) SetupWebhookWithManager

func (r *ComputationCustomTable) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ComputationCustomTable) ValidateCreate

func (r *ComputationCustomTable) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ComputationCustomTable) ValidateDelete

func (r *ComputationCustomTable) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ComputationCustomTable) ValidateUpdate

func (r *ComputationCustomTable) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ComputationCustomTableList

type ComputationCustomTableList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ComputationCustomTable CRD objects
	Items []ComputationCustomTable `json:"items,omitempty"`
}

ComputationCustomTableList is a list of ComputationCustomTables

func (*ComputationCustomTableList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationCustomTableList.

func (*ComputationCustomTableList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputationCustomTableList) DeepCopyObject

func (in *ComputationCustomTableList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ComputationCustomTableSpec

type ComputationCustomTableSpec struct {
	State *ComputationCustomTableSpecResource `json:"state,omitempty" tf:"-"`

	Resource ComputationCustomTableSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ComputationCustomTableSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationCustomTableSpec.

func (*ComputationCustomTableSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationCustomTableSpecResource

type ComputationCustomTableSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	CompartmentID    *string                                     `json:"compartmentID" tf:"compartment_id"`
	SavedCustomTable *ComputationCustomTableSpecSavedCustomTable `json:"savedCustomTable" tf:"saved_custom_table"`
	SavedReportID    *string                                     `json:"savedReportID" tf:"saved_report_id"`
}

func (*ComputationCustomTableSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationCustomTableSpecResource.

func (*ComputationCustomTableSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationCustomTableSpecSavedCustomTable

type ComputationCustomTableSpecSavedCustomTable struct {
	// +optional
	ColumnGroupBy []string `json:"columnGroupBy,omitempty" tf:"column_group_by"`
	// +optional
	CompartmentDepth *float64 `json:"compartmentDepth,omitempty" tf:"compartment_depth"`
	DisplayName      *string  `json:"displayName" tf:"display_name"`
	// +optional
	GroupByTag []ComputationCustomTableSpecSavedCustomTableGroupByTag `json:"groupByTag,omitempty" tf:"group_by_tag"`
	// +optional
	RowGroupBy []string `json:"rowGroupBy,omitempty" tf:"row_group_by"`
	// +optional
	Version *float64 `json:"version,omitempty" tf:"version"`
}

func (*ComputationCustomTableSpecSavedCustomTable) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationCustomTableSpecSavedCustomTable.

func (*ComputationCustomTableSpecSavedCustomTable) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationCustomTableSpecSavedCustomTableCodec

type ComputationCustomTableSpecSavedCustomTableCodec struct {
}

+k8s:deepcopy-gen=false

func (ComputationCustomTableSpecSavedCustomTableCodec) Decode

func (ComputationCustomTableSpecSavedCustomTableCodec) Encode

func (ComputationCustomTableSpecSavedCustomTableCodec) IsEmpty

type ComputationCustomTableSpecSavedCustomTableGroupByTag

type ComputationCustomTableSpecSavedCustomTableGroupByTag struct {
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ComputationCustomTableSpecSavedCustomTableGroupByTag) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationCustomTableSpecSavedCustomTableGroupByTag.

func (*ComputationCustomTableSpecSavedCustomTableGroupByTag) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationCustomTableStatus

type ComputationCustomTableStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ComputationCustomTableStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationCustomTableStatus.

func (*ComputationCustomTableStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationQuery

type ComputationQuery struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ComputationQuerySpec   `json:"spec,omitempty"`
	Status            ComputationQueryStatus `json:"status,omitempty"`
}

func (*ComputationQuery) DeepCopy

func (in *ComputationQuery) DeepCopy() *ComputationQuery

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationQuery.

func (*ComputationQuery) DeepCopyInto

func (in *ComputationQuery) DeepCopyInto(out *ComputationQuery)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputationQuery) DeepCopyObject

func (in *ComputationQuery) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ComputationQuery) SetupWebhookWithManager

func (r *ComputationQuery) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ComputationQuery) ValidateCreate

func (r *ComputationQuery) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ComputationQuery) ValidateDelete

func (r *ComputationQuery) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ComputationQuery) ValidateUpdate

func (r *ComputationQuery) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ComputationQueryList

type ComputationQueryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ComputationQuery CRD objects
	Items []ComputationQuery `json:"items,omitempty"`
}

ComputationQueryList is a list of ComputationQuerys

func (*ComputationQueryList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationQueryList.

func (*ComputationQueryList) DeepCopyInto

func (in *ComputationQueryList) DeepCopyInto(out *ComputationQueryList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputationQueryList) DeepCopyObject

func (in *ComputationQueryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ComputationQuerySpec

type ComputationQuerySpec struct {
	State *ComputationQuerySpecResource `json:"state,omitempty" tf:"-"`

	Resource ComputationQuerySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ComputationQuerySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationQuerySpec.

func (*ComputationQuerySpec) DeepCopyInto

func (in *ComputationQuerySpec) DeepCopyInto(out *ComputationQuerySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationQuerySpecQueryDefinition

type ComputationQuerySpecQueryDefinition struct {
	CostAnalysisUi *ComputationQuerySpecQueryDefinitionCostAnalysisUi `json:"costAnalysisUi" tf:"cost_analysis_ui"`
	DisplayName    *string                                            `json:"displayName" tf:"display_name"`
	ReportQuery    *ComputationQuerySpecQueryDefinitionReportQuery    `json:"reportQuery" tf:"report_query"`
	Version        *float64                                           `json:"version" tf:"version"`
}

func (*ComputationQuerySpecQueryDefinition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationQuerySpecQueryDefinition.

func (*ComputationQuerySpecQueryDefinition) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationQuerySpecQueryDefinitionCodec

type ComputationQuerySpecQueryDefinitionCodec struct {
}

+k8s:deepcopy-gen=false

func (ComputationQuerySpecQueryDefinitionCodec) Decode

func (ComputationQuerySpecQueryDefinitionCodec) Encode

func (ComputationQuerySpecQueryDefinitionCodec) IsEmpty

type ComputationQuerySpecQueryDefinitionCostAnalysisUi

type ComputationQuerySpecQueryDefinitionCostAnalysisUi struct {
	// +optional
	Graph *string `json:"graph,omitempty" tf:"graph"`
	// +optional
	IsCumulativeGraph *bool `json:"isCumulativeGraph,omitempty" tf:"is_cumulative_graph"`
}

func (*ComputationQuerySpecQueryDefinitionCostAnalysisUi) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationQuerySpecQueryDefinitionCostAnalysisUi.

func (*ComputationQuerySpecQueryDefinitionCostAnalysisUi) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationQuerySpecQueryDefinitionCostAnalysisUiCodec

type ComputationQuerySpecQueryDefinitionCostAnalysisUiCodec struct {
}

+k8s:deepcopy-gen=false

func (ComputationQuerySpecQueryDefinitionCostAnalysisUiCodec) Decode

func (ComputationQuerySpecQueryDefinitionCostAnalysisUiCodec) Encode

func (ComputationQuerySpecQueryDefinitionCostAnalysisUiCodec) IsEmpty

type ComputationQuerySpecQueryDefinitionReportQuery

type ComputationQuerySpecQueryDefinitionReportQuery struct {
	// +optional
	CompartmentDepth *float64 `json:"compartmentDepth,omitempty" tf:"compartment_depth"`
	// +optional
	DateRangeName *string `json:"dateRangeName,omitempty" tf:"date_range_name"`
	// +optional
	Filter *string `json:"filter,omitempty" tf:"filter"`
	// +optional
	Forecast    *ComputationQuerySpecQueryDefinitionReportQueryForecast `json:"forecast,omitempty" tf:"forecast"`
	Granularity *string                                                 `json:"granularity" tf:"granularity"`
	// +optional
	GroupBy []string `json:"groupBy,omitempty" tf:"group_by"`
	// +optional
	GroupByTag []ComputationQuerySpecQueryDefinitionReportQueryGroupByTag `json:"groupByTag,omitempty" tf:"group_by_tag"`
	// +optional
	IsAggregateByTime *bool `json:"isAggregateByTime,omitempty" tf:"is_aggregate_by_time"`
	// +optional
	QueryType *string `json:"queryType,omitempty" tf:"query_type"`
	TenantID  *string `json:"tenantID" tf:"tenant_id"`
	// +optional
	TimeUsageEnded *string `json:"timeUsageEnded,omitempty" tf:"time_usage_ended"`
	// +optional
	TimeUsageStarted *string `json:"timeUsageStarted,omitempty" tf:"time_usage_started"`
}

func (*ComputationQuerySpecQueryDefinitionReportQuery) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationQuerySpecQueryDefinitionReportQuery.

func (*ComputationQuerySpecQueryDefinitionReportQuery) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationQuerySpecQueryDefinitionReportQueryCodec

type ComputationQuerySpecQueryDefinitionReportQueryCodec struct {
}

+k8s:deepcopy-gen=false

func (ComputationQuerySpecQueryDefinitionReportQueryCodec) Decode

func (ComputationQuerySpecQueryDefinitionReportQueryCodec) Encode

func (ComputationQuerySpecQueryDefinitionReportQueryCodec) IsEmpty

type ComputationQuerySpecQueryDefinitionReportQueryForecast

type ComputationQuerySpecQueryDefinitionReportQueryForecast struct {
	// +optional
	ForecastType      *string `json:"forecastType,omitempty" tf:"forecast_type"`
	TimeForecastEnded *string `json:"timeForecastEnded" tf:"time_forecast_ended"`
	// +optional
	TimeForecastStarted *string `json:"timeForecastStarted,omitempty" tf:"time_forecast_started"`
}

func (*ComputationQuerySpecQueryDefinitionReportQueryForecast) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationQuerySpecQueryDefinitionReportQueryForecast.

func (*ComputationQuerySpecQueryDefinitionReportQueryForecast) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationQuerySpecQueryDefinitionReportQueryForecastCodec

type ComputationQuerySpecQueryDefinitionReportQueryForecastCodec struct {
}

+k8s:deepcopy-gen=false

func (ComputationQuerySpecQueryDefinitionReportQueryForecastCodec) Decode

func (ComputationQuerySpecQueryDefinitionReportQueryForecastCodec) Encode

func (ComputationQuerySpecQueryDefinitionReportQueryForecastCodec) IsEmpty

type ComputationQuerySpecQueryDefinitionReportQueryGroupByTag

type ComputationQuerySpecQueryDefinitionReportQueryGroupByTag struct {
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ComputationQuerySpecQueryDefinitionReportQueryGroupByTag) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationQuerySpecQueryDefinitionReportQueryGroupByTag.

func (*ComputationQuerySpecQueryDefinitionReportQueryGroupByTag) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationQuerySpecResource

type ComputationQuerySpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	CompartmentID   *string                              `json:"compartmentID" tf:"compartment_id"`
	QueryDefinition *ComputationQuerySpecQueryDefinition `json:"queryDefinition" tf:"query_definition"`
}

func (*ComputationQuerySpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationQuerySpecResource.

func (*ComputationQuerySpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationQueryStatus

type ComputationQueryStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ComputationQueryStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationQueryStatus.

func (*ComputationQueryStatus) DeepCopyInto

func (in *ComputationQueryStatus) DeepCopyInto(out *ComputationQueryStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationUsage

type ComputationUsage struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ComputationUsageSpec   `json:"spec,omitempty"`
	Status            ComputationUsageStatus `json:"status,omitempty"`
}

func (*ComputationUsage) DeepCopy

func (in *ComputationUsage) DeepCopy() *ComputationUsage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationUsage.

func (*ComputationUsage) DeepCopyInto

func (in *ComputationUsage) DeepCopyInto(out *ComputationUsage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputationUsage) DeepCopyObject

func (in *ComputationUsage) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ComputationUsage) SetupWebhookWithManager

func (r *ComputationUsage) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ComputationUsage) ValidateCreate

func (r *ComputationUsage) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ComputationUsage) ValidateDelete

func (r *ComputationUsage) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ComputationUsage) ValidateUpdate

func (r *ComputationUsage) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ComputationUsageList

type ComputationUsageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ComputationUsage CRD objects
	Items []ComputationUsage `json:"items,omitempty"`
}

ComputationUsageList is a list of ComputationUsages

func (*ComputationUsageList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationUsageList.

func (*ComputationUsageList) DeepCopyInto

func (in *ComputationUsageList) DeepCopyInto(out *ComputationUsageList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputationUsageList) DeepCopyObject

func (in *ComputationUsageList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ComputationUsageSpec

type ComputationUsageSpec struct {
	State *ComputationUsageSpecResource `json:"state,omitempty" tf:"-"`

	Resource ComputationUsageSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ComputationUsageSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationUsageSpec.

func (*ComputationUsageSpec) DeepCopyInto

func (in *ComputationUsageSpec) DeepCopyInto(out *ComputationUsageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationUsageSpecForecast

type ComputationUsageSpecForecast struct {
	// +optional
	ForecastType      *string `json:"forecastType,omitempty" tf:"forecast_type"`
	TimeForecastEnded *string `json:"timeForecastEnded" tf:"time_forecast_ended"`
	// +optional
	TimeForecastStarted *string `json:"timeForecastStarted,omitempty" tf:"time_forecast_started"`
}

func (*ComputationUsageSpecForecast) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationUsageSpecForecast.

func (*ComputationUsageSpecForecast) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationUsageSpecForecastCodec

type ComputationUsageSpecForecastCodec struct {
}

+k8s:deepcopy-gen=false

func (ComputationUsageSpecForecastCodec) Decode

func (ComputationUsageSpecForecastCodec) Encode

func (ComputationUsageSpecForecastCodec) IsEmpty

type ComputationUsageSpecGroupByTag

type ComputationUsageSpecGroupByTag struct {
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ComputationUsageSpecGroupByTag) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationUsageSpecGroupByTag.

func (*ComputationUsageSpecGroupByTag) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationUsageSpecItems

type ComputationUsageSpecItems struct {
	// +optional
	Ad *string `json:"ad,omitempty" tf:"ad"`
	// +optional
	CompartmentID *string `json:"compartmentID,omitempty" tf:"compartment_id"`
	// +optional
	CompartmentName *string `json:"compartmentName,omitempty" tf:"compartment_name"`
	// +optional
	CompartmentPath *string `json:"compartmentPath,omitempty" tf:"compartment_path"`
	// +optional
	ComputedAmount *float64 `json:"computedAmount,omitempty" tf:"computed_amount"`
	// +optional
	ComputedQuantity *float64 `json:"computedQuantity,omitempty" tf:"computed_quantity"`
	// +optional
	Currency *string `json:"currency,omitempty" tf:"currency"`
	// +optional
	Discount *float64 `json:"discount,omitempty" tf:"discount"`
	// +optional
	IsForecast *bool `json:"isForecast,omitempty" tf:"is_forecast"`
	// +optional
	ListRate *float64 `json:"listRate,omitempty" tf:"list_rate"`
	// +optional
	Overage *string `json:"overage,omitempty" tf:"overage"`
	// +optional
	OveragesFlag *string `json:"overagesFlag,omitempty" tf:"overages_flag"`
	// +optional
	Platform *string `json:"platform,omitempty" tf:"platform"`
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	// +optional
	ResourceID *string `json:"resourceID,omitempty" tf:"resource_id"`
	// +optional
	ResourceName *string `json:"resourceName,omitempty" tf:"resource_name"`
	// +optional
	Service *string `json:"service,omitempty" tf:"service"`
	// +optional
	Shape *string `json:"shape,omitempty" tf:"shape"`
	// +optional
	SkuName *string `json:"skuName,omitempty" tf:"sku_name"`
	// +optional
	SkuPartNumber *string `json:"skuPartNumber,omitempty" tf:"sku_part_number"`
	// +optional
	SubscriptionID *string `json:"subscriptionID,omitempty" tf:"subscription_id"`
	// +optional
	Tags []ComputationUsageSpecItemsTags `json:"tags,omitempty" tf:"tags"`
	// +optional
	TenantID *string `json:"tenantID,omitempty" tf:"tenant_id"`
	// +optional
	TenantName *string `json:"tenantName,omitempty" tf:"tenant_name"`
	// +optional
	TimeUsageEnded *string `json:"timeUsageEnded,omitempty" tf:"time_usage_ended"`
	// +optional
	TimeUsageStarted *string `json:"timeUsageStarted,omitempty" tf:"time_usage_started"`
	// +optional
	Unit *string `json:"unit,omitempty" tf:"unit"`
	// +optional
	UnitPrice *float64 `json:"unitPrice,omitempty" tf:"unit_price"`
	// +optional
	Weight *float64 `json:"weight,omitempty" tf:"weight"`
}

func (*ComputationUsageSpecItems) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationUsageSpecItems.

func (*ComputationUsageSpecItems) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationUsageSpecItemsTags

type ComputationUsageSpecItemsTags struct {
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ComputationUsageSpecItemsTags) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationUsageSpecItemsTags.

func (*ComputationUsageSpecItemsTags) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationUsageSpecResource

type ComputationUsageSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	CompartmentDepth *float64 `json:"compartmentDepth,omitempty" tf:"compartment_depth"`
	// +optional
	Filter *string `json:"filter,omitempty" tf:"filter"`
	// +optional
	Forecast    *ComputationUsageSpecForecast `json:"forecast,omitempty" tf:"forecast"`
	Granularity *string                       `json:"granularity" tf:"granularity"`
	// +optional
	GroupBy []string `json:"groupBy,omitempty" tf:"group_by"`
	// +optional
	GroupByTag []ComputationUsageSpecGroupByTag `json:"groupByTag,omitempty" tf:"group_by_tag"`
	// +optional
	IsAggregateByTime *bool `json:"isAggregateByTime,omitempty" tf:"is_aggregate_by_time"`
	// +optional
	Items []ComputationUsageSpecItems `json:"items,omitempty" tf:"items"`
	// +optional
	QueryType        *string `json:"queryType,omitempty" tf:"query_type"`
	TenantID         *string `json:"tenantID" tf:"tenant_id"`
	TimeUsageEnded   *string `json:"timeUsageEnded" tf:"time_usage_ended"`
	TimeUsageStarted *string `json:"timeUsageStarted" tf:"time_usage_started"`
}

func (*ComputationUsageSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationUsageSpecResource.

func (*ComputationUsageSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputationUsageStatus

type ComputationUsageStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ComputationUsageStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputationUsageStatus.

func (*ComputationUsageStatus) DeepCopyInto

func (in *ComputationUsageStatus) DeepCopyInto(out *ComputationUsageStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL