v1beta1

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 16 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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.displayName) || (has(self.initProvider) && has(self.initProvider.displayName))",message="spec.forProvider.displayName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.emailAddresses) || (has(self.initProvider) && has(self.initProvider.emailAddresses))",message="spec.forProvider.emailAddresses is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.emailSubject) || (has(self.initProvider) && has(self.initProvider.emailSubject))",message="spec.forProvider.emailSubject is a required parameter"
	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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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: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) GetInitParameters added in v0.35.0

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

GetInitParameters of this CostAnomalyAlert

func (*CostAnomalyAlert) GetManagementPolicies added in v0.35.0

func (mg *CostAnomalyAlert) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this CostAnomalyAlert.

func (*CostAnomalyAlert) GetMergedParameters added in v0.40.0

func (tr *CostAnomalyAlert) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters 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) 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) Hub added in v0.42.1

func (tr *CostAnomalyAlert) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies added in v0.35.0

func (mg *CostAnomalyAlert) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies 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) 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 CostAnomalyAlertInitParameters added in v0.35.0

type CostAnomalyAlertInitParameters struct {

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

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

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

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

	// The ID of the Subscription this Cost Anomaly Alert is scoped to. Changing this forces a new resource to be created. When not supplied this defaults to the subscription configured in the provider.
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`
}

func (*CostAnomalyAlertInitParameters) DeepCopy added in v0.35.0

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

func (*CostAnomalyAlertInitParameters) DeepCopyInto added in v0.35.0

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

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 display name which should be used for this Cost Anomaly Alert.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

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

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

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

	// The ID of the Subscription this Cost Anomaly Alert is scoped to. Changing this forces a new resource to be created. When not supplied this defaults to the subscription configured in the provider.
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_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:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

	// The email subject of the Cost Anomaly Alerts. Maximum length of the subject is 70.
	// +kubebuilder:validation:Optional
	EmailSubject *string `json:"emailSubject,omitempty" 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"`

	// The ID of the Subscription this Cost Anomaly Alert is scoped to. Changing this forces a new resource to be created. When not supplied this defaults to the subscription configured in the provider.
	// +kubebuilder:validation:Optional
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider CostAnomalyAlertInitParameters `json:"initProvider,omitempty"`
}

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 ExportDataOptionsInitParameters added in v0.35.0

type ExportDataOptionsInitParameters 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, TheLast7Days, TheLastMonth, TheLastBillingMonth, Custom.
	TimeFrame *string `json:"timeFrame,omitempty" tf:"time_frame,omitempty"`

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

func (*ExportDataOptionsInitParameters) DeepCopy added in v0.35.0

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

func (*ExportDataOptionsInitParameters) DeepCopyInto added in v0.35.0

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

type ExportDataOptionsObservation

type ExportDataOptionsObservation 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, TheLast7Days, TheLastMonth, TheLastBillingMonth, Custom.
	TimeFrame *string `json:"timeFrame,omitempty" tf:"time_frame,omitempty"`

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

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, TheLast7Days, TheLastMonth, TheLastBillingMonth, Custom.
	// +kubebuilder:validation:Optional
	TimeFrame *string `json:"timeFrame" tf:"time_frame,omitempty"`

	// The type of the query. Possible values are ActualCost, AmortizedCost and Usage.
	// +kubebuilder:validation:Optional
	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 ExportDataStorageLocationInitParameters added in v0.35.0

type ExportDataStorageLocationInitParameters 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/crossplane/upjet/pkg/resource.ExtractParamPath("resource_manager_id",true)
	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.
	RootFolderPath *string `json:"rootFolderPath,omitempty" tf:"root_folder_path,omitempty"`
}

func (*ExportDataStorageLocationInitParameters) DeepCopy added in v0.35.0

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

func (*ExportDataStorageLocationInitParameters) DeepCopyInto added in v0.35.0

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

type ExportDataStorageLocationObservation

type ExportDataStorageLocationObservation struct {

	// The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
	ContainerID *string `json:"containerId,omitempty" tf:"container_id,omitempty"`

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

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/crossplane/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:Optional
	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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.exportDataOptions) || (has(self.initProvider) && has(self.initProvider.exportDataOptions))",message="spec.forProvider.exportDataOptions is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.exportDataStorageLocation) || (has(self.initProvider) && has(self.initProvider.exportDataStorageLocation))",message="spec.forProvider.exportDataStorageLocation is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.recurrencePeriodEndDate) || (has(self.initProvider) && has(self.initProvider.recurrencePeriodEndDate))",message="spec.forProvider.recurrencePeriodEndDate is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.recurrencePeriodStartDate) || (has(self.initProvider) && has(self.initProvider.recurrencePeriodStartDate))",message="spec.forProvider.recurrencePeriodStartDate is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.recurrenceType) || (has(self.initProvider) && has(self.initProvider.recurrenceType))",message="spec.forProvider.recurrenceType is a required parameter"
	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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*ResourceGroupCostManagementExport) ConvertFrom added in v1.2.0

func (tr *ResourceGroupCostManagementExport) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the ResourceGroupCostManagementExport type.

func (*ResourceGroupCostManagementExport) ConvertTo added in v1.2.0

func (tr *ResourceGroupCostManagementExport) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this ResourceGroupCostManagementExport to the hub type.

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) GetInitParameters added in v0.35.0

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

GetInitParameters of this ResourceGroupCostManagementExport

func (*ResourceGroupCostManagementExport) GetManagementPolicies added in v0.35.0

func (mg *ResourceGroupCostManagementExport) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ResourceGroupCostManagementExport.

func (*ResourceGroupCostManagementExport) GetMergedParameters added in v0.40.0

func (tr *ResourceGroupCostManagementExport) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters 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) 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

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) SetManagementPolicies added in v0.35.0

func (mg *ResourceGroupCostManagementExport) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies 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) 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 ResourceGroupCostManagementExportInitParameters added in v0.35.0

type ResourceGroupCostManagementExportInitParameters struct {

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

	// A export_data_options block as defined below.
	ExportDataOptions []ExportDataOptionsInitParameters `json:"exportDataOptions,omitempty" tf:"export_data_options,omitempty"`

	// A export_data_storage_location block as defined below.
	ExportDataStorageLocation []ExportDataStorageLocationInitParameters `json:"exportDataStorageLocation,omitempty" tf:"export_data_storage_location,omitempty"`

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

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

	// How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.
	RecurrenceType *string `json:"recurrenceType,omitempty" 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/crossplane/upjet/pkg/resource.ExtractResourceID()
	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 (*ResourceGroupCostManagementExportInitParameters) DeepCopy added in v0.35.0

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

func (*ResourceGroupCostManagementExportInitParameters) DeepCopyInto added in v0.35.0

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

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 {

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

	// A export_data_options block as defined below.
	ExportDataOptions []ExportDataOptionsObservation `json:"exportDataOptions,omitempty" tf:"export_data_options,omitempty"`

	// A export_data_storage_location block as defined below.
	ExportDataStorageLocation []ExportDataStorageLocationObservation `json:"exportDataStorageLocation,omitempty" tf:"export_data_storage_location,omitempty"`

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

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

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

	// How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.
	RecurrenceType *string `json:"recurrenceType,omitempty" 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.
	ResourceGroupID *string `json:"resourceGroupId,omitempty" tf:"resource_group_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:Optional
	ExportDataOptions []ExportDataOptionsParameters `json:"exportDataOptions,omitempty" tf:"export_data_options,omitempty"`

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

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

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

	// How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.
	// +kubebuilder:validation:Optional
	RecurrenceType *string `json:"recurrenceType,omitempty" 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/crossplane/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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ResourceGroupCostManagementExportInitParameters `json:"initProvider,omitempty"`
}

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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.exportDataOptions) || (has(self.initProvider) && has(self.initProvider.exportDataOptions))",message="spec.forProvider.exportDataOptions is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.exportDataStorageLocation) || (has(self.initProvider) && has(self.initProvider.exportDataStorageLocation))",message="spec.forProvider.exportDataStorageLocation is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.recurrencePeriodEndDate) || (has(self.initProvider) && has(self.initProvider.recurrencePeriodEndDate))",message="spec.forProvider.recurrencePeriodEndDate is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.recurrencePeriodStartDate) || (has(self.initProvider) && has(self.initProvider.recurrencePeriodStartDate))",message="spec.forProvider.recurrencePeriodStartDate is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.recurrenceType) || (has(self.initProvider) && has(self.initProvider.recurrenceType))",message="spec.forProvider.recurrenceType is a required parameter"
	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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*SubscriptionCostManagementExport) ConvertFrom added in v1.2.0

func (tr *SubscriptionCostManagementExport) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the SubscriptionCostManagementExport type.

func (*SubscriptionCostManagementExport) ConvertTo added in v1.2.0

func (tr *SubscriptionCostManagementExport) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this SubscriptionCostManagementExport to the hub type.

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) GetInitParameters added in v0.35.0

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

GetInitParameters of this SubscriptionCostManagementExport

func (*SubscriptionCostManagementExport) GetManagementPolicies added in v0.35.0

func (mg *SubscriptionCostManagementExport) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SubscriptionCostManagementExport.

func (*SubscriptionCostManagementExport) GetMergedParameters added in v0.40.0

func (tr *SubscriptionCostManagementExport) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters 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) 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) SetManagementPolicies added in v0.35.0

func (mg *SubscriptionCostManagementExport) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies 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) 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 SubscriptionCostManagementExportExportDataOptionsInitParameters added in v0.35.0

type SubscriptionCostManagementExportExportDataOptionsInitParameters 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, TheLast7Days, TheLastMonth, TheLastBillingMonth, Custom.
	TimeFrame *string `json:"timeFrame,omitempty" tf:"time_frame,omitempty"`

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

func (*SubscriptionCostManagementExportExportDataOptionsInitParameters) DeepCopy added in v0.35.0

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

func (*SubscriptionCostManagementExportExportDataOptionsInitParameters) DeepCopyInto added in v0.35.0

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

type SubscriptionCostManagementExportExportDataOptionsObservation

type SubscriptionCostManagementExportExportDataOptionsObservation 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, TheLast7Days, TheLastMonth, TheLastBillingMonth, Custom.
	TimeFrame *string `json:"timeFrame,omitempty" tf:"time_frame,omitempty"`

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

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, TheLast7Days, TheLastMonth, TheLastBillingMonth, Custom.
	// +kubebuilder:validation:Optional
	TimeFrame *string `json:"timeFrame" tf:"time_frame,omitempty"`

	// The type of the query. Possible values are ActualCost, AmortizedCost and Usage.
	// +kubebuilder:validation:Optional
	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 SubscriptionCostManagementExportExportDataStorageLocationInitParameters added in v0.35.0

type SubscriptionCostManagementExportExportDataStorageLocationInitParameters 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/crossplane/upjet/pkg/resource.ExtractParamPath("resource_manager_id",true)
	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.
	RootFolderPath *string `json:"rootFolderPath,omitempty" tf:"root_folder_path,omitempty"`
}

func (*SubscriptionCostManagementExportExportDataStorageLocationInitParameters) DeepCopy added in v0.35.0

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

func (*SubscriptionCostManagementExportExportDataStorageLocationInitParameters) DeepCopyInto added in v0.35.0

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

type SubscriptionCostManagementExportExportDataStorageLocationObservation

type SubscriptionCostManagementExportExportDataStorageLocationObservation struct {

	// The Resource Manager ID of the container where exports will be uploaded. Changing this forces a new resource to be created.
	ContainerID *string `json:"containerId,omitempty" tf:"container_id,omitempty"`

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

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/crossplane/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:Optional
	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 SubscriptionCostManagementExportInitParameters added in v0.35.0

type SubscriptionCostManagementExportInitParameters struct {

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

	// A export_data_options block as defined below.
	ExportDataOptions []SubscriptionCostManagementExportExportDataOptionsInitParameters `json:"exportDataOptions,omitempty" tf:"export_data_options,omitempty"`

	// A export_data_storage_location block as defined below.
	ExportDataStorageLocation []SubscriptionCostManagementExportExportDataStorageLocationInitParameters `json:"exportDataStorageLocation,omitempty" tf:"export_data_storage_location,omitempty"`

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

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

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

	// How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.
	RecurrenceType *string `json:"recurrenceType,omitempty" 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/crossplane/upjet/pkg/resource.ExtractResourceID()
	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 (*SubscriptionCostManagementExportInitParameters) DeepCopy added in v0.35.0

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

func (*SubscriptionCostManagementExportInitParameters) DeepCopyInto added in v0.35.0

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 {

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

	// A export_data_options block as defined below.
	ExportDataOptions []SubscriptionCostManagementExportExportDataOptionsObservation `json:"exportDataOptions,omitempty" tf:"export_data_options,omitempty"`

	// A export_data_storage_location block as defined below.
	ExportDataStorageLocation []SubscriptionCostManagementExportExportDataStorageLocationObservation `json:"exportDataStorageLocation,omitempty" tf:"export_data_storage_location,omitempty"`

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

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

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

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

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

	// The id of the subscription on which to create an export. Changing this forces a new resource to be created.
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_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:Optional
	ExportDataOptions []SubscriptionCostManagementExportExportDataOptionsParameters `json:"exportDataOptions,omitempty" tf:"export_data_options,omitempty"`

	// A export_data_storage_location block as defined below.
	// +kubebuilder:validation:Optional
	ExportDataStorageLocation []SubscriptionCostManagementExportExportDataStorageLocationParameters `json:"exportDataStorageLocation,omitempty" 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:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

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

	// How often the requested information will be exported. Valid values include Annually, Daily, Monthly, Weekly.
	// +kubebuilder:validation:Optional
	RecurrenceType *string `json:"recurrenceType,omitempty" 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/crossplane/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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SubscriptionCostManagementExportInitParameters `json:"initProvider,omitempty"`
}

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