v1beta1

package
v0.31.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=costmanagement.azure.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "costmanagement.azure.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	CostAnomalyAlert_Kind             = "CostAnomalyAlert"
	CostAnomalyAlert_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CostAnomalyAlert_Kind}.String()
	CostAnomalyAlert_KindAPIVersion   = CostAnomalyAlert_Kind + "." + CRDGroupVersion.String()
	CostAnomalyAlert_GroupVersionKind = CRDGroupVersion.WithKind(CostAnomalyAlert_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	ResourceGroupCostManagementExport_Kind             = "ResourceGroupCostManagementExport"
	ResourceGroupCostManagementExport_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourceGroupCostManagementExport_Kind}.String()
	ResourceGroupCostManagementExport_KindAPIVersion   = ResourceGroupCostManagementExport_Kind + "." + CRDGroupVersion.String()
	ResourceGroupCostManagementExport_GroupVersionKind = CRDGroupVersion.WithKind(ResourceGroupCostManagementExport_Kind)
)

Repository type metadata.

View Source
var (
	SubscriptionCostManagementExport_Kind             = "SubscriptionCostManagementExport"
	SubscriptionCostManagementExport_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SubscriptionCostManagementExport_Kind}.String()
	SubscriptionCostManagementExport_KindAPIVersion   = SubscriptionCostManagementExport_Kind + "." + CRDGroupVersion.String()
	SubscriptionCostManagementExport_GroupVersionKind = CRDGroupVersion.WithKind(SubscriptionCostManagementExport_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type CostAnomalyAlert added in v0.28.0

type CostAnomalyAlert struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CostAnomalyAlertSpec   `json:"spec"`
	Status            CostAnomalyAlertStatus `json:"status,omitempty"`
}

CostAnomalyAlert is the Schema for the CostAnomalyAlerts API. Manages a Cost Anomaly Alert. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*CostAnomalyAlert) DeepCopy added in v0.28.0

func (in *CostAnomalyAlert) DeepCopy() *CostAnomalyAlert

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

func (*CostAnomalyAlert) DeepCopyInto added in v0.28.0

func (in *CostAnomalyAlert) DeepCopyInto(out *CostAnomalyAlert)

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

func (*CostAnomalyAlert) DeepCopyObject added in v0.28.0

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

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

func (*CostAnomalyAlert) GetCondition added in v0.28.0

func (mg *CostAnomalyAlert) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CostAnomalyAlert.

func (*CostAnomalyAlert) GetConnectionDetailsMapping added in v0.28.0

func (tr *CostAnomalyAlert) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this CostAnomalyAlert

func (*CostAnomalyAlert) GetDeletionPolicy added in v0.28.0

func (mg *CostAnomalyAlert) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this CostAnomalyAlert.

func (*CostAnomalyAlert) GetID added in v0.28.0

func (tr *CostAnomalyAlert) GetID() string

GetID returns ID of underlying Terraform resource of this CostAnomalyAlert

func (*CostAnomalyAlert) GetObservation added in v0.28.0

func (tr *CostAnomalyAlert) GetObservation() (map[string]any, error)

GetObservation of this CostAnomalyAlert

func (*CostAnomalyAlert) GetParameters added in v0.28.0

func (tr *CostAnomalyAlert) GetParameters() (map[string]any, error)

GetParameters of this CostAnomalyAlert

func (*CostAnomalyAlert) GetProviderConfigReference added in v0.28.0

func (mg *CostAnomalyAlert) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CostAnomalyAlert.

func (*CostAnomalyAlert) GetProviderReference added in v0.28.0

func (mg *CostAnomalyAlert) GetProviderReference() *xpv1.Reference

GetProviderReference of this CostAnomalyAlert. Deprecated: Use GetProviderConfigReference.

func (*CostAnomalyAlert) GetPublishConnectionDetailsTo added in v0.28.0

func (mg *CostAnomalyAlert) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CostAnomalyAlert.

func (*CostAnomalyAlert) GetTerraformResourceType added in v0.28.0

func (mg *CostAnomalyAlert) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CostAnomalyAlert

func (*CostAnomalyAlert) GetTerraformSchemaVersion added in v0.28.0

func (tr *CostAnomalyAlert) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CostAnomalyAlert) GetWriteConnectionSecretToReference added in v0.28.0

func (mg *CostAnomalyAlert) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CostAnomalyAlert.

func (*CostAnomalyAlert) LateInitialize added in v0.28.0

func (tr *CostAnomalyAlert) LateInitialize(attrs []byte) (bool, error)

LateInitialize this CostAnomalyAlert using its observed tfState. returns True if there are any spec changes for the resource.

func (*CostAnomalyAlert) SetConditions added in v0.28.0

func (mg *CostAnomalyAlert) SetConditions(c ...xpv1.Condition)

SetConditions of this CostAnomalyAlert.

func (*CostAnomalyAlert) SetDeletionPolicy added in v0.28.0

func (mg *CostAnomalyAlert) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CostAnomalyAlert.

func (*CostAnomalyAlert) SetObservation added in v0.28.0

func (tr *CostAnomalyAlert) SetObservation(obs map[string]any) error

SetObservation for this CostAnomalyAlert

func (*CostAnomalyAlert) SetParameters added in v0.28.0

func (tr *CostAnomalyAlert) SetParameters(params map[string]any) error

SetParameters for this CostAnomalyAlert

func (*CostAnomalyAlert) SetProviderConfigReference added in v0.28.0

func (mg *CostAnomalyAlert) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CostAnomalyAlert.

func (*CostAnomalyAlert) SetProviderReference added in v0.28.0

func (mg *CostAnomalyAlert) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this CostAnomalyAlert. Deprecated: Use SetProviderConfigReference.

func (*CostAnomalyAlert) SetPublishConnectionDetailsTo added in v0.28.0

func (mg *CostAnomalyAlert) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CostAnomalyAlert.

func (*CostAnomalyAlert) SetWriteConnectionSecretToReference added in v0.28.0

func (mg *CostAnomalyAlert) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CostAnomalyAlert.

type CostAnomalyAlertList added in v0.28.0

type CostAnomalyAlertList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CostAnomalyAlert `json:"items"`
}

CostAnomalyAlertList contains a list of CostAnomalyAlerts

func (*CostAnomalyAlertList) DeepCopy added in v0.28.0

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

func (*CostAnomalyAlertList) DeepCopyInto added in v0.28.0

func (in *CostAnomalyAlertList) DeepCopyInto(out *CostAnomalyAlertList)

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

func (*CostAnomalyAlertList) DeepCopyObject added in v0.28.0

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

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

func (*CostAnomalyAlertList) GetItems added in v0.28.0

func (l *CostAnomalyAlertList) GetItems() []resource.Managed

GetItems of this CostAnomalyAlertList.

type CostAnomalyAlertObservation added in v0.28.0

type CostAnomalyAlertObservation struct {

	// The ID of the Cost Anomaly Alert.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*CostAnomalyAlertObservation) DeepCopy added in v0.28.0

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

func (*CostAnomalyAlertObservation) DeepCopyInto added in v0.28.0

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

type CostAnomalyAlertParameters added in v0.28.0

type CostAnomalyAlertParameters struct {

	// The display name which should be used for this Cost Anomaly Alert.
	// +kubebuilder:validation:Required
	DisplayName *string `json:"displayName" tf:"display_name,omitempty"`

	// Specifies a list of email addresses which the Anomaly Alerts are send to.
	// +kubebuilder:validation:Required
	EmailAddresses []*string `json:"emailAddresses" tf:"email_addresses,omitempty"`

	// The email subject of the Cost Anomaly Alerts. Maximum length of the subject is 70.
	// +kubebuilder:validation:Required
	EmailSubject *string `json:"emailSubject" tf:"email_subject,omitempty"`

	// The message of the Cost Anomaly Alert. Maximum length of the message is 250.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`
}

func (*CostAnomalyAlertParameters) DeepCopy added in v0.28.0

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

func (*CostAnomalyAlertParameters) DeepCopyInto added in v0.28.0

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

type CostAnomalyAlertSpec added in v0.28.0

type CostAnomalyAlertSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CostAnomalyAlertParameters `json:"forProvider"`
}

CostAnomalyAlertSpec defines the desired state of CostAnomalyAlert

func (*CostAnomalyAlertSpec) DeepCopy added in v0.28.0

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

func (*CostAnomalyAlertSpec) DeepCopyInto added in v0.28.0

func (in *CostAnomalyAlertSpec) DeepCopyInto(out *CostAnomalyAlertSpec)

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

type CostAnomalyAlertStatus added in v0.28.0

type CostAnomalyAlertStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CostAnomalyAlertObservation `json:"atProvider,omitempty"`
}

CostAnomalyAlertStatus defines the observed state of CostAnomalyAlert.

func (*CostAnomalyAlertStatus) DeepCopy added in v0.28.0

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

func (*CostAnomalyAlertStatus) DeepCopyInto added in v0.28.0

func (in *CostAnomalyAlertStatus) DeepCopyInto(out *CostAnomalyAlertStatus)

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

type ExportDataOptionsObservation

type ExportDataOptionsObservation struct {
}

func (*ExportDataOptionsObservation) DeepCopy

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

func (*ExportDataOptionsObservation) DeepCopyInto

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

type ExportDataOptionsParameters

type ExportDataOptionsParameters struct {

	// The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: WeekToDate, MonthToDate, BillingMonthToDate, TheLastWeek, TheLastMonth, TheLastBillingMonth, Custom.
	// +kubebuilder:validation:Required
	TimeFrame *string `json:"timeFrame" tf:"time_frame,omitempty"`

	// The type of the query. Possible values are ActualCost, AmortizedCost and Usage.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ExportDataOptionsParameters) DeepCopy

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

func (*ExportDataOptionsParameters) DeepCopyInto

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

type ExportDataStorageLocationObservation

type ExportDataStorageLocationObservation struct {
}

func (*ExportDataStorageLocationObservation) DeepCopy

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

func (*ExportDataStorageLocationObservation) DeepCopyInto

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

type ExportDataStorageLocationParameters

type ExportDataStorageLocationParameters struct {

	// The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Container
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("resource_manager_id",true)
	// +kubebuilder:validation:Optional
	ContainerID *string `json:"containerId,omitempty" tf:"container_id,omitempty"`

	// Reference to a Container in storage to populate containerId.
	// +kubebuilder:validation:Optional
	ContainerIDRef *v1.Reference `json:"containerIdRef,omitempty" tf:"-"`

	// Selector for a Container in storage to populate containerId.
	// +kubebuilder:validation:Optional
	ContainerIDSelector *v1.Selector `json:"containerIdSelector,omitempty" tf:"-"`

	// The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Required
	RootFolderPath *string `json:"rootFolderPath" tf:"root_folder_path,omitempty"`
}

func (*ExportDataStorageLocationParameters) DeepCopy

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

func (*ExportDataStorageLocationParameters) DeepCopyInto

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

type ResourceGroupCostManagementExport

type ResourceGroupCostManagementExport struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceGroupCostManagementExportSpec   `json:"spec"`
	Status            ResourceGroupCostManagementExportStatus `json:"status,omitempty"`
}

ResourceGroupCostManagementExport is the Schema for the ResourceGroupCostManagementExports API. Manages an Azure Cost Management Export for a Resource Group. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*ResourceGroupCostManagementExport) DeepCopy

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

func (*ResourceGroupCostManagementExport) DeepCopyInto

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

func (*ResourceGroupCostManagementExport) DeepCopyObject

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

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

func (*ResourceGroupCostManagementExport) GetCondition

GetCondition of this ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExport) GetConnectionDetailsMapping

func (tr *ResourceGroupCostManagementExport) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ResourceGroupCostManagementExport

func (*ResourceGroupCostManagementExport) GetDeletionPolicy

func (mg *ResourceGroupCostManagementExport) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExport) GetID

GetID returns ID of underlying Terraform resource of this ResourceGroupCostManagementExport

func (*ResourceGroupCostManagementExport) GetObservation

func (tr *ResourceGroupCostManagementExport) GetObservation() (map[string]any, error)

GetObservation of this ResourceGroupCostManagementExport

func (*ResourceGroupCostManagementExport) GetParameters

func (tr *ResourceGroupCostManagementExport) GetParameters() (map[string]any, error)

GetParameters of this ResourceGroupCostManagementExport

func (*ResourceGroupCostManagementExport) GetProviderConfigReference

func (mg *ResourceGroupCostManagementExport) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExport) GetProviderReference

func (mg *ResourceGroupCostManagementExport) GetProviderReference() *xpv1.Reference

GetProviderReference of this ResourceGroupCostManagementExport. Deprecated: Use GetProviderConfigReference.

func (*ResourceGroupCostManagementExport) GetPublishConnectionDetailsTo

func (mg *ResourceGroupCostManagementExport) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExport) GetTerraformResourceType

func (mg *ResourceGroupCostManagementExport) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourceGroupCostManagementExport

func (*ResourceGroupCostManagementExport) GetTerraformSchemaVersion

func (tr *ResourceGroupCostManagementExport) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourceGroupCostManagementExport) GetWriteConnectionSecretToReference

func (mg *ResourceGroupCostManagementExport) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExport) LateInitialize

func (tr *ResourceGroupCostManagementExport) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ResourceGroupCostManagementExport using its observed tfState. returns True if there are any spec changes for the resource.

func (*ResourceGroupCostManagementExport) ResolveReferences

func (mg *ResourceGroupCostManagementExport) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExport) SetConditions

func (mg *ResourceGroupCostManagementExport) SetConditions(c ...xpv1.Condition)

SetConditions of this ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExport) SetDeletionPolicy

func (mg *ResourceGroupCostManagementExport) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExport) SetObservation

func (tr *ResourceGroupCostManagementExport) SetObservation(obs map[string]any) error

SetObservation for this ResourceGroupCostManagementExport

func (*ResourceGroupCostManagementExport) SetParameters

func (tr *ResourceGroupCostManagementExport) SetParameters(params map[string]any) error

SetParameters for this ResourceGroupCostManagementExport

func (*ResourceGroupCostManagementExport) SetProviderConfigReference

func (mg *ResourceGroupCostManagementExport) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExport) SetProviderReference

func (mg *ResourceGroupCostManagementExport) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ResourceGroupCostManagementExport. Deprecated: Use SetProviderConfigReference.

func (*ResourceGroupCostManagementExport) SetPublishConnectionDetailsTo

func (mg *ResourceGroupCostManagementExport) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExport) SetWriteConnectionSecretToReference

func (mg *ResourceGroupCostManagementExport) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ResourceGroupCostManagementExport.

type ResourceGroupCostManagementExportList

type ResourceGroupCostManagementExportList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ResourceGroupCostManagementExport `json:"items"`
}

ResourceGroupCostManagementExportList contains a list of ResourceGroupCostManagementExports

func (*ResourceGroupCostManagementExportList) DeepCopy

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

func (*ResourceGroupCostManagementExportList) DeepCopyInto

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

func (*ResourceGroupCostManagementExportList) DeepCopyObject

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

func (*ResourceGroupCostManagementExportList) GetItems

GetItems of this ResourceGroupCostManagementExportList.

type ResourceGroupCostManagementExportObservation

type ResourceGroupCostManagementExportObservation struct {

	// The ID of the Cost Management Export for this Resource Group.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ResourceGroupCostManagementExportObservation) DeepCopy

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

func (*ResourceGroupCostManagementExportObservation) DeepCopyInto

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

type ResourceGroupCostManagementExportParameters

type ResourceGroupCostManagementExportParameters struct {

	// Is the cost management export active? Default is true.
	// +kubebuilder:validation:Optional
	Active *bool `json:"active,omitempty" tf:"active,omitempty"`

	// A export_data_options block as defined below.
	// +kubebuilder:validation:Required
	ExportDataOptions []ExportDataOptionsParameters `json:"exportDataOptions" tf:"export_data_options,omitempty"`

	// A export_data_storage_location block as defined below.
	// +kubebuilder:validation:Required
	ExportDataStorageLocation []ExportDataStorageLocationParameters `json:"exportDataStorageLocation" tf:"export_data_storage_location,omitempty"`

	// The date the export will stop capturing information.
	// +kubebuilder:validation:Required
	RecurrencePeriodEndDate *string `json:"recurrencePeriodEndDate" tf:"recurrence_period_end_date,omitempty"`

	// The date the export will start capturing information.
	// +kubebuilder:validation:Required
	RecurrencePeriodStartDate *string `json:"recurrencePeriodStartDate" tf:"recurrence_period_start_date,omitempty"`

	// How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.
	// +kubebuilder:validation:Required
	RecurrenceType *string `json:"recurrenceType" tf:"recurrence_type,omitempty"`

	// The id of the resource group on which to create an export. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ResourceGroupID *string `json:"resourceGroupId,omitempty" tf:"resource_group_id,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupId.
	// +kubebuilder:validation:Optional
	ResourceGroupIDRef *v1.Reference `json:"resourceGroupIdRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupId.
	// +kubebuilder:validation:Optional
	ResourceGroupIDSelector *v1.Selector `json:"resourceGroupIdSelector,omitempty" tf:"-"`
}

func (*ResourceGroupCostManagementExportParameters) DeepCopy

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

func (*ResourceGroupCostManagementExportParameters) DeepCopyInto

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

type ResourceGroupCostManagementExportSpec

type ResourceGroupCostManagementExportSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResourceGroupCostManagementExportParameters `json:"forProvider"`
}

ResourceGroupCostManagementExportSpec defines the desired state of ResourceGroupCostManagementExport

func (*ResourceGroupCostManagementExportSpec) DeepCopy

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

func (*ResourceGroupCostManagementExportSpec) DeepCopyInto

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

type ResourceGroupCostManagementExportStatus

type ResourceGroupCostManagementExportStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ResourceGroupCostManagementExportObservation `json:"atProvider,omitempty"`
}

ResourceGroupCostManagementExportStatus defines the observed state of ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExportStatus) DeepCopy

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

func (*ResourceGroupCostManagementExportStatus) DeepCopyInto

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

type SubscriptionCostManagementExport

type SubscriptionCostManagementExport struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SubscriptionCostManagementExportSpec   `json:"spec"`
	Status            SubscriptionCostManagementExportStatus `json:"status,omitempty"`
}

SubscriptionCostManagementExport is the Schema for the SubscriptionCostManagementExports API. Manages an Azure Cost Management Export for a Subscription. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*SubscriptionCostManagementExport) DeepCopy

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

func (*SubscriptionCostManagementExport) DeepCopyInto

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

func (*SubscriptionCostManagementExport) DeepCopyObject

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

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

func (*SubscriptionCostManagementExport) GetCondition

GetCondition of this SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExport) GetConnectionDetailsMapping

func (tr *SubscriptionCostManagementExport) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SubscriptionCostManagementExport

func (*SubscriptionCostManagementExport) GetDeletionPolicy

func (mg *SubscriptionCostManagementExport) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExport) GetID

GetID returns ID of underlying Terraform resource of this SubscriptionCostManagementExport

func (*SubscriptionCostManagementExport) GetObservation

func (tr *SubscriptionCostManagementExport) GetObservation() (map[string]any, error)

GetObservation of this SubscriptionCostManagementExport

func (*SubscriptionCostManagementExport) GetParameters

func (tr *SubscriptionCostManagementExport) GetParameters() (map[string]any, error)

GetParameters of this SubscriptionCostManagementExport

func (*SubscriptionCostManagementExport) GetProviderConfigReference

func (mg *SubscriptionCostManagementExport) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExport) GetProviderReference

func (mg *SubscriptionCostManagementExport) GetProviderReference() *xpv1.Reference

GetProviderReference of this SubscriptionCostManagementExport. Deprecated: Use GetProviderConfigReference.

func (*SubscriptionCostManagementExport) GetPublishConnectionDetailsTo

func (mg *SubscriptionCostManagementExport) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExport) GetTerraformResourceType

func (mg *SubscriptionCostManagementExport) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SubscriptionCostManagementExport

func (*SubscriptionCostManagementExport) GetTerraformSchemaVersion

func (tr *SubscriptionCostManagementExport) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SubscriptionCostManagementExport) GetWriteConnectionSecretToReference

func (mg *SubscriptionCostManagementExport) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExport) LateInitialize

func (tr *SubscriptionCostManagementExport) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SubscriptionCostManagementExport using its observed tfState. returns True if there are any spec changes for the resource.

func (*SubscriptionCostManagementExport) ResolveReferences

func (mg *SubscriptionCostManagementExport) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExport) SetConditions

func (mg *SubscriptionCostManagementExport) SetConditions(c ...xpv1.Condition)

SetConditions of this SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExport) SetDeletionPolicy

func (mg *SubscriptionCostManagementExport) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExport) SetObservation

func (tr *SubscriptionCostManagementExport) SetObservation(obs map[string]any) error

SetObservation for this SubscriptionCostManagementExport

func (*SubscriptionCostManagementExport) SetParameters

func (tr *SubscriptionCostManagementExport) SetParameters(params map[string]any) error

SetParameters for this SubscriptionCostManagementExport

func (*SubscriptionCostManagementExport) SetProviderConfigReference

func (mg *SubscriptionCostManagementExport) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExport) SetProviderReference

func (mg *SubscriptionCostManagementExport) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this SubscriptionCostManagementExport. Deprecated: Use SetProviderConfigReference.

func (*SubscriptionCostManagementExport) SetPublishConnectionDetailsTo

func (mg *SubscriptionCostManagementExport) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExport) SetWriteConnectionSecretToReference

func (mg *SubscriptionCostManagementExport) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SubscriptionCostManagementExport.

type SubscriptionCostManagementExportExportDataOptionsObservation

type SubscriptionCostManagementExportExportDataOptionsObservation struct {
}

func (*SubscriptionCostManagementExportExportDataOptionsObservation) DeepCopy

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

func (*SubscriptionCostManagementExportExportDataOptionsObservation) DeepCopyInto

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

type SubscriptionCostManagementExportExportDataOptionsParameters

type SubscriptionCostManagementExportExportDataOptionsParameters struct {

	// The time frame for pulling data for the query. If custom, then a specific time period must be provided. Possible values include: WeekToDate, MonthToDate, BillingMonthToDate, TheLastWeek, TheLastMonth, TheLastBillingMonth, Custom.
	// +kubebuilder:validation:Required
	TimeFrame *string `json:"timeFrame" tf:"time_frame,omitempty"`

	// The type of the query. Possible values are ActualCost, AmortizedCost and Usage.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*SubscriptionCostManagementExportExportDataOptionsParameters) DeepCopy

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

func (*SubscriptionCostManagementExportExportDataOptionsParameters) DeepCopyInto

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

type SubscriptionCostManagementExportExportDataStorageLocationObservation

type SubscriptionCostManagementExportExportDataStorageLocationObservation struct {
}

func (*SubscriptionCostManagementExportExportDataStorageLocationObservation) DeepCopy

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

func (*SubscriptionCostManagementExportExportDataStorageLocationObservation) DeepCopyInto

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

type SubscriptionCostManagementExportExportDataStorageLocationParameters

type SubscriptionCostManagementExportExportDataStorageLocationParameters struct {

	// The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Container
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("resource_manager_id",true)
	// +kubebuilder:validation:Optional
	ContainerID *string `json:"containerId,omitempty" tf:"container_id,omitempty"`

	// Reference to a Container in storage to populate containerId.
	// +kubebuilder:validation:Optional
	ContainerIDRef *v1.Reference `json:"containerIdRef,omitempty" tf:"-"`

	// Selector for a Container in storage to populate containerId.
	// +kubebuilder:validation:Optional
	ContainerIDSelector *v1.Selector `json:"containerIdSelector,omitempty" tf:"-"`

	// The path of the directory where exports will be uploaded. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Required
	RootFolderPath *string `json:"rootFolderPath" tf:"root_folder_path,omitempty"`
}

func (*SubscriptionCostManagementExportExportDataStorageLocationParameters) DeepCopy

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

func (*SubscriptionCostManagementExportExportDataStorageLocationParameters) DeepCopyInto

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

type SubscriptionCostManagementExportList

type SubscriptionCostManagementExportList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SubscriptionCostManagementExport `json:"items"`
}

SubscriptionCostManagementExportList contains a list of SubscriptionCostManagementExports

func (*SubscriptionCostManagementExportList) DeepCopy

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

func (*SubscriptionCostManagementExportList) DeepCopyInto

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

func (*SubscriptionCostManagementExportList) DeepCopyObject

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

func (*SubscriptionCostManagementExportList) GetItems

GetItems of this SubscriptionCostManagementExportList.

type SubscriptionCostManagementExportObservation

type SubscriptionCostManagementExportObservation struct {

	// The ID of the Cost Management Export for this Subscription.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*SubscriptionCostManagementExportObservation) DeepCopy

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

func (*SubscriptionCostManagementExportObservation) DeepCopyInto

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

type SubscriptionCostManagementExportParameters

type SubscriptionCostManagementExportParameters struct {

	// Is the cost management export active? Default is true.
	// +kubebuilder:validation:Optional
	Active *bool `json:"active,omitempty" tf:"active,omitempty"`

	// A export_data_options block as defined below.
	// +kubebuilder:validation:Required
	ExportDataOptions []SubscriptionCostManagementExportExportDataOptionsParameters `json:"exportDataOptions" tf:"export_data_options,omitempty"`

	// A export_data_storage_location block as defined below.
	// +kubebuilder:validation:Required
	ExportDataStorageLocation []SubscriptionCostManagementExportExportDataStorageLocationParameters `json:"exportDataStorageLocation" tf:"export_data_storage_location,omitempty"`

	// Specifies the name of the Cost Management Export. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The date the export will stop capturing information.
	// +kubebuilder:validation:Required
	RecurrencePeriodEndDate *string `json:"recurrencePeriodEndDate" tf:"recurrence_period_end_date,omitempty"`

	// The date the export will start capturing information.
	// +kubebuilder:validation:Required
	RecurrencePeriodStartDate *string `json:"recurrencePeriodStartDate" tf:"recurrence_period_start_date,omitempty"`

	// How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.
	// +kubebuilder:validation:Required
	RecurrenceType *string `json:"recurrenceType" tf:"recurrence_type,omitempty"`

	// The id of the subscription on which to create an export. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.Subscription
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`

	// Reference to a Subscription in azure to populate subscriptionId.
	// +kubebuilder:validation:Optional
	SubscriptionIDRef *v1.Reference `json:"subscriptionIdRef,omitempty" tf:"-"`

	// Selector for a Subscription in azure to populate subscriptionId.
	// +kubebuilder:validation:Optional
	SubscriptionIDSelector *v1.Selector `json:"subscriptionIdSelector,omitempty" tf:"-"`
}

func (*SubscriptionCostManagementExportParameters) DeepCopy

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

func (*SubscriptionCostManagementExportParameters) DeepCopyInto

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

type SubscriptionCostManagementExportSpec

type SubscriptionCostManagementExportSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SubscriptionCostManagementExportParameters `json:"forProvider"`
}

SubscriptionCostManagementExportSpec defines the desired state of SubscriptionCostManagementExport

func (*SubscriptionCostManagementExportSpec) DeepCopy

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

func (*SubscriptionCostManagementExportSpec) DeepCopyInto

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

type SubscriptionCostManagementExportStatus

type SubscriptionCostManagementExportStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SubscriptionCostManagementExportObservation `json:"atProvider,omitempty"`
}

SubscriptionCostManagementExportStatus defines the observed state of SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExportStatus) DeepCopy

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

func (*SubscriptionCostManagementExportStatus) DeepCopyInto

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