Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=costmanagement.azure.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type ExportDataOptionsObservation
- type ExportDataOptionsParameters
- type ExportDataStorageLocationObservation
- type ExportDataStorageLocationParameters
- type ResourceGroupCostManagementExport
- func (in *ResourceGroupCostManagementExport) DeepCopy() *ResourceGroupCostManagementExport
- func (in *ResourceGroupCostManagementExport) DeepCopyInto(out *ResourceGroupCostManagementExport)
- func (in *ResourceGroupCostManagementExport) DeepCopyObject() runtime.Object
- func (mg *ResourceGroupCostManagementExport) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ResourceGroupCostManagementExport) GetConnectionDetailsMapping() map[string]string
- func (mg *ResourceGroupCostManagementExport) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ResourceGroupCostManagementExport) GetID() string
- func (tr *ResourceGroupCostManagementExport) GetObservation() (map[string]any, error)
- func (tr *ResourceGroupCostManagementExport) GetParameters() (map[string]any, error)
- func (mg *ResourceGroupCostManagementExport) GetProviderConfigReference() *xpv1.Reference
- func (mg *ResourceGroupCostManagementExport) GetProviderReference() *xpv1.Reference
- func (mg *ResourceGroupCostManagementExport) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ResourceGroupCostManagementExport) GetTerraformResourceType() string
- func (tr *ResourceGroupCostManagementExport) GetTerraformSchemaVersion() int
- func (mg *ResourceGroupCostManagementExport) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ResourceGroupCostManagementExport) LateInitialize(attrs []byte) (bool, error)
- func (mg *ResourceGroupCostManagementExport) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ResourceGroupCostManagementExport) SetConditions(c ...xpv1.Condition)
- func (mg *ResourceGroupCostManagementExport) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *ResourceGroupCostManagementExport) SetObservation(obs map[string]any) error
- func (tr *ResourceGroupCostManagementExport) SetParameters(params map[string]any) error
- func (mg *ResourceGroupCostManagementExport) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ResourceGroupCostManagementExport) SetProviderReference(r *xpv1.Reference)
- func (mg *ResourceGroupCostManagementExport) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ResourceGroupCostManagementExport) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ResourceGroupCostManagementExportList
- func (in *ResourceGroupCostManagementExportList) DeepCopy() *ResourceGroupCostManagementExportList
- func (in *ResourceGroupCostManagementExportList) DeepCopyInto(out *ResourceGroupCostManagementExportList)
- func (in *ResourceGroupCostManagementExportList) DeepCopyObject() runtime.Object
- func (l *ResourceGroupCostManagementExportList) GetItems() []resource.Managed
- type ResourceGroupCostManagementExportObservation
- type ResourceGroupCostManagementExportParameters
- type ResourceGroupCostManagementExportSpec
- type ResourceGroupCostManagementExportStatus
- type SubscriptionCostManagementExport
- func (in *SubscriptionCostManagementExport) DeepCopy() *SubscriptionCostManagementExport
- func (in *SubscriptionCostManagementExport) DeepCopyInto(out *SubscriptionCostManagementExport)
- func (in *SubscriptionCostManagementExport) DeepCopyObject() runtime.Object
- func (mg *SubscriptionCostManagementExport) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SubscriptionCostManagementExport) GetConnectionDetailsMapping() map[string]string
- func (mg *SubscriptionCostManagementExport) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SubscriptionCostManagementExport) GetID() string
- func (tr *SubscriptionCostManagementExport) GetObservation() (map[string]any, error)
- func (tr *SubscriptionCostManagementExport) GetParameters() (map[string]any, error)
- func (mg *SubscriptionCostManagementExport) GetProviderConfigReference() *xpv1.Reference
- func (mg *SubscriptionCostManagementExport) GetProviderReference() *xpv1.Reference
- func (mg *SubscriptionCostManagementExport) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SubscriptionCostManagementExport) GetTerraformResourceType() string
- func (tr *SubscriptionCostManagementExport) GetTerraformSchemaVersion() int
- func (mg *SubscriptionCostManagementExport) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SubscriptionCostManagementExport) LateInitialize(attrs []byte) (bool, error)
- func (mg *SubscriptionCostManagementExport) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *SubscriptionCostManagementExport) SetConditions(c ...xpv1.Condition)
- func (mg *SubscriptionCostManagementExport) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *SubscriptionCostManagementExport) SetObservation(obs map[string]any) error
- func (tr *SubscriptionCostManagementExport) SetParameters(params map[string]any) error
- func (mg *SubscriptionCostManagementExport) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SubscriptionCostManagementExport) SetProviderReference(r *xpv1.Reference)
- func (mg *SubscriptionCostManagementExport) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SubscriptionCostManagementExport) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SubscriptionCostManagementExportExportDataOptionsObservation
- type SubscriptionCostManagementExportExportDataOptionsParameters
- type SubscriptionCostManagementExportExportDataStorageLocationObservation
- func (in *SubscriptionCostManagementExportExportDataStorageLocationObservation) DeepCopy() *SubscriptionCostManagementExportExportDataStorageLocationObservation
- func (in *SubscriptionCostManagementExportExportDataStorageLocationObservation) DeepCopyInto(out *SubscriptionCostManagementExportExportDataStorageLocationObservation)
- type SubscriptionCostManagementExportExportDataStorageLocationParameters
- func (in *SubscriptionCostManagementExportExportDataStorageLocationParameters) DeepCopy() *SubscriptionCostManagementExportExportDataStorageLocationParameters
- func (in *SubscriptionCostManagementExportExportDataStorageLocationParameters) DeepCopyInto(out *SubscriptionCostManagementExportExportDataStorageLocationParameters)
- type SubscriptionCostManagementExportList
- func (in *SubscriptionCostManagementExportList) DeepCopy() *SubscriptionCostManagementExportList
- func (in *SubscriptionCostManagementExportList) DeepCopyInto(out *SubscriptionCostManagementExportList)
- func (in *SubscriptionCostManagementExportList) DeepCopyObject() runtime.Object
- func (l *SubscriptionCostManagementExportList) GetItems() []resource.Managed
- type SubscriptionCostManagementExportObservation
- type SubscriptionCostManagementExportParameters
- type SubscriptionCostManagementExportSpec
- type SubscriptionCostManagementExportStatus
Constants ¶
const ( CRDGroup = "costmanagement.azure.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
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 )
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.
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 ExportDataOptionsObservation ¶
type ExportDataOptionsObservation struct { }
func (*ExportDataOptionsObservation) DeepCopy ¶
func (in *ExportDataOptionsObservation) DeepCopy() *ExportDataOptionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportDataOptionsObservation.
func (*ExportDataOptionsObservation) DeepCopyInto ¶
func (in *ExportDataOptionsObservation) DeepCopyInto(out *ExportDataOptionsObservation)
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 ¶
func (in *ExportDataOptionsParameters) DeepCopy() *ExportDataOptionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportDataOptionsParameters.
func (*ExportDataOptionsParameters) DeepCopyInto ¶
func (in *ExportDataOptionsParameters) DeepCopyInto(out *ExportDataOptionsParameters)
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 ¶
func (in *ExportDataStorageLocationObservation) DeepCopy() *ExportDataStorageLocationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportDataStorageLocationObservation.
func (*ExportDataStorageLocationObservation) DeepCopyInto ¶
func (in *ExportDataStorageLocationObservation) DeepCopyInto(out *ExportDataStorageLocationObservation)
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 ¶
func (in *ExportDataStorageLocationParameters) DeepCopy() *ExportDataStorageLocationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportDataStorageLocationParameters.
func (*ExportDataStorageLocationParameters) DeepCopyInto ¶
func (in *ExportDataStorageLocationParameters) DeepCopyInto(out *ExportDataStorageLocationParameters)
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 ¶
func (in *ResourceGroupCostManagementExport) DeepCopy() *ResourceGroupCostManagementExport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupCostManagementExport.
func (*ResourceGroupCostManagementExport) DeepCopyInto ¶
func (in *ResourceGroupCostManagementExport) DeepCopyInto(out *ResourceGroupCostManagementExport)
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 ¶
func (mg *ResourceGroupCostManagementExport) GetCondition(ct xpv1.ConditionType) xpv1.Condition
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 ¶
func (tr *ResourceGroupCostManagementExport) GetID() string
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 ¶
func (in *ResourceGroupCostManagementExportList) DeepCopy() *ResourceGroupCostManagementExportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupCostManagementExportList.
func (*ResourceGroupCostManagementExportList) DeepCopyInto ¶
func (in *ResourceGroupCostManagementExportList) DeepCopyInto(out *ResourceGroupCostManagementExportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceGroupCostManagementExportList) DeepCopyObject ¶
func (in *ResourceGroupCostManagementExportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourceGroupCostManagementExportList) GetItems ¶
func (l *ResourceGroupCostManagementExportList) GetItems() []resource.Managed
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 ¶
func (in *ResourceGroupCostManagementExportObservation) DeepCopy() *ResourceGroupCostManagementExportObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupCostManagementExportObservation.
func (*ResourceGroupCostManagementExportObservation) DeepCopyInto ¶
func (in *ResourceGroupCostManagementExportObservation) DeepCopyInto(out *ResourceGroupCostManagementExportObservation)
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 ¶
func (in *ResourceGroupCostManagementExportParameters) DeepCopy() *ResourceGroupCostManagementExportParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupCostManagementExportParameters.
func (*ResourceGroupCostManagementExportParameters) DeepCopyInto ¶
func (in *ResourceGroupCostManagementExportParameters) DeepCopyInto(out *ResourceGroupCostManagementExportParameters)
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 ¶
func (in *ResourceGroupCostManagementExportSpec) DeepCopy() *ResourceGroupCostManagementExportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupCostManagementExportSpec.
func (*ResourceGroupCostManagementExportSpec) DeepCopyInto ¶
func (in *ResourceGroupCostManagementExportSpec) DeepCopyInto(out *ResourceGroupCostManagementExportSpec)
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 ¶
func (in *ResourceGroupCostManagementExportStatus) DeepCopy() *ResourceGroupCostManagementExportStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupCostManagementExportStatus.
func (*ResourceGroupCostManagementExportStatus) DeepCopyInto ¶
func (in *ResourceGroupCostManagementExportStatus) DeepCopyInto(out *ResourceGroupCostManagementExportStatus)
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 ¶
func (in *SubscriptionCostManagementExport) DeepCopy() *SubscriptionCostManagementExport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCostManagementExport.
func (*SubscriptionCostManagementExport) DeepCopyInto ¶
func (in *SubscriptionCostManagementExport) DeepCopyInto(out *SubscriptionCostManagementExport)
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 ¶
func (mg *SubscriptionCostManagementExport) GetCondition(ct xpv1.ConditionType) xpv1.Condition
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 ¶
func (tr *SubscriptionCostManagementExport) GetID() string
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 ¶
func (in *SubscriptionCostManagementExportExportDataOptionsObservation) DeepCopy() *SubscriptionCostManagementExportExportDataOptionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCostManagementExportExportDataOptionsObservation.
func (*SubscriptionCostManagementExportExportDataOptionsObservation) DeepCopyInto ¶
func (in *SubscriptionCostManagementExportExportDataOptionsObservation) DeepCopyInto(out *SubscriptionCostManagementExportExportDataOptionsObservation)
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 ¶
func (in *SubscriptionCostManagementExportExportDataOptionsParameters) DeepCopy() *SubscriptionCostManagementExportExportDataOptionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCostManagementExportExportDataOptionsParameters.
func (*SubscriptionCostManagementExportExportDataOptionsParameters) DeepCopyInto ¶
func (in *SubscriptionCostManagementExportExportDataOptionsParameters) DeepCopyInto(out *SubscriptionCostManagementExportExportDataOptionsParameters)
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 ¶
func (in *SubscriptionCostManagementExportExportDataStorageLocationObservation) DeepCopy() *SubscriptionCostManagementExportExportDataStorageLocationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCostManagementExportExportDataStorageLocationObservation.
func (*SubscriptionCostManagementExportExportDataStorageLocationObservation) DeepCopyInto ¶
func (in *SubscriptionCostManagementExportExportDataStorageLocationObservation) DeepCopyInto(out *SubscriptionCostManagementExportExportDataStorageLocationObservation)
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 ¶
func (in *SubscriptionCostManagementExportExportDataStorageLocationParameters) DeepCopy() *SubscriptionCostManagementExportExportDataStorageLocationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCostManagementExportExportDataStorageLocationParameters.
func (*SubscriptionCostManagementExportExportDataStorageLocationParameters) DeepCopyInto ¶
func (in *SubscriptionCostManagementExportExportDataStorageLocationParameters) DeepCopyInto(out *SubscriptionCostManagementExportExportDataStorageLocationParameters)
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 ¶
func (in *SubscriptionCostManagementExportList) DeepCopy() *SubscriptionCostManagementExportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCostManagementExportList.
func (*SubscriptionCostManagementExportList) DeepCopyInto ¶
func (in *SubscriptionCostManagementExportList) DeepCopyInto(out *SubscriptionCostManagementExportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionCostManagementExportList) DeepCopyObject ¶
func (in *SubscriptionCostManagementExportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SubscriptionCostManagementExportList) GetItems ¶
func (l *SubscriptionCostManagementExportList) GetItems() []resource.Managed
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 ¶
func (in *SubscriptionCostManagementExportObservation) DeepCopy() *SubscriptionCostManagementExportObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCostManagementExportObservation.
func (*SubscriptionCostManagementExportObservation) DeepCopyInto ¶
func (in *SubscriptionCostManagementExportObservation) DeepCopyInto(out *SubscriptionCostManagementExportObservation)
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 ¶
func (in *SubscriptionCostManagementExportParameters) DeepCopy() *SubscriptionCostManagementExportParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCostManagementExportParameters.
func (*SubscriptionCostManagementExportParameters) DeepCopyInto ¶
func (in *SubscriptionCostManagementExportParameters) DeepCopyInto(out *SubscriptionCostManagementExportParameters)
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 ¶
func (in *SubscriptionCostManagementExportSpec) DeepCopy() *SubscriptionCostManagementExportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCostManagementExportSpec.
func (*SubscriptionCostManagementExportSpec) DeepCopyInto ¶
func (in *SubscriptionCostManagementExportSpec) DeepCopyInto(out *SubscriptionCostManagementExportSpec)
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 ¶
func (in *SubscriptionCostManagementExportStatus) DeepCopy() *SubscriptionCostManagementExportStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCostManagementExportStatus.
func (*SubscriptionCostManagementExportStatus) DeepCopyInto ¶
func (in *SubscriptionCostManagementExportStatus) DeepCopyInto(out *SubscriptionCostManagementExportStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.