v1beta2

package
v1.7.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dataprotection.azure.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "dataprotection.azure.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

View Source
var (
	BackupPolicyDisk_Kind             = "BackupPolicyDisk"
	BackupPolicyDisk_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BackupPolicyDisk_Kind}.String()
	BackupPolicyDisk_KindAPIVersion   = BackupPolicyDisk_Kind + "." + CRDGroupVersion.String()
	BackupPolicyDisk_GroupVersionKind = CRDGroupVersion.WithKind(BackupPolicyDisk_Kind)
)

Repository type metadata.

View Source
var (
	BackupPolicyPostgreSQL_Kind             = "BackupPolicyPostgreSQL"
	BackupPolicyPostgreSQL_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BackupPolicyPostgreSQL_Kind}.String()
	BackupPolicyPostgreSQL_KindAPIVersion   = BackupPolicyPostgreSQL_Kind + "." + CRDGroupVersion.String()
	BackupPolicyPostgreSQL_GroupVersionKind = CRDGroupVersion.WithKind(BackupPolicyPostgreSQL_Kind)
)

Repository type metadata.

View Source
var (
	BackupVault_Kind             = "BackupVault"
	BackupVault_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BackupVault_Kind}.String()
	BackupVault_KindAPIVersion   = BackupVault_Kind + "." + CRDGroupVersion.String()
	BackupVault_GroupVersionKind = CRDGroupVersion.WithKind(BackupVault_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
)

Functions

This section is empty.

Types

type BackupPolicyDisk

type BackupPolicyDisk 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.backupRepeatingTimeIntervals) || (has(self.initProvider) && has(self.initProvider.backupRepeatingTimeIntervals))",message="spec.forProvider.backupRepeatingTimeIntervals is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultRetentionDuration) || (has(self.initProvider) && has(self.initProvider.defaultRetentionDuration))",message="spec.forProvider.defaultRetentionDuration is a required parameter"
	Spec   BackupPolicyDiskSpec   `json:"spec"`
	Status BackupPolicyDiskStatus `json:"status,omitempty"`
}

BackupPolicyDisk is the Schema for the BackupPolicyDisks API. Manages a Backup Policy Disk. +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 (*BackupPolicyDisk) DeepCopy

func (in *BackupPolicyDisk) DeepCopy() *BackupPolicyDisk

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

func (*BackupPolicyDisk) DeepCopyInto

func (in *BackupPolicyDisk) DeepCopyInto(out *BackupPolicyDisk)

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

func (*BackupPolicyDisk) DeepCopyObject

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

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

func (*BackupPolicyDisk) GetCondition

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

GetCondition of this BackupPolicyDisk.

func (*BackupPolicyDisk) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BackupPolicyDisk

func (*BackupPolicyDisk) GetDeletionPolicy

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

GetDeletionPolicy of this BackupPolicyDisk.

func (*BackupPolicyDisk) GetID

func (tr *BackupPolicyDisk) GetID() string

GetID returns ID of underlying Terraform resource of this BackupPolicyDisk

func (*BackupPolicyDisk) GetInitParameters

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

GetInitParameters of this BackupPolicyDisk

func (*BackupPolicyDisk) GetManagementPolicies

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

GetManagementPolicies of this BackupPolicyDisk.

func (*BackupPolicyDisk) GetMergedParameters

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

GetInitParameters of this BackupPolicyDisk

func (*BackupPolicyDisk) GetObservation

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

GetObservation of this BackupPolicyDisk

func (*BackupPolicyDisk) GetParameters

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

GetParameters of this BackupPolicyDisk

func (*BackupPolicyDisk) GetProviderConfigReference

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

GetProviderConfigReference of this BackupPolicyDisk.

func (*BackupPolicyDisk) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BackupPolicyDisk.

func (*BackupPolicyDisk) GetTerraformResourceType

func (mg *BackupPolicyDisk) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BackupPolicyDisk

func (*BackupPolicyDisk) GetTerraformSchemaVersion

func (tr *BackupPolicyDisk) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BackupPolicyDisk) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BackupPolicyDisk.

func (*BackupPolicyDisk) Hub

func (tr *BackupPolicyDisk) Hub()

Hub marks this type as a conversion hub.

func (*BackupPolicyDisk) LateInitialize

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

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

func (*BackupPolicyDisk) ResolveReferences

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

func (*BackupPolicyDisk) SetConditions

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

SetConditions of this BackupPolicyDisk.

func (*BackupPolicyDisk) SetDeletionPolicy

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

SetDeletionPolicy of this BackupPolicyDisk.

func (*BackupPolicyDisk) SetManagementPolicies

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

SetManagementPolicies of this BackupPolicyDisk.

func (*BackupPolicyDisk) SetObservation

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

SetObservation for this BackupPolicyDisk

func (*BackupPolicyDisk) SetParameters

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

SetParameters for this BackupPolicyDisk

func (*BackupPolicyDisk) SetProviderConfigReference

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

SetProviderConfigReference of this BackupPolicyDisk.

func (*BackupPolicyDisk) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BackupPolicyDisk.

func (*BackupPolicyDisk) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BackupPolicyDisk.

type BackupPolicyDiskInitParameters

type BackupPolicyDiskInitParameters struct {

	// Specifies a list of repeating time interval. It should follow ISO 8601 repeating time interval . Changing this forces a new Backup Policy Disk to be created.
	BackupRepeatingTimeIntervals []*string `json:"backupRepeatingTimeIntervals,omitempty" tf:"backup_repeating_time_intervals,omitempty"`

	// The duration of default retention rule. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy Disk to be created.
	DefaultRetentionDuration *string `json:"defaultRetentionDuration,omitempty" tf:"default_retention_duration,omitempty"`

	// One or more retention_rule blocks as defined below. Changing this forces a new Backup Policy Disk to be created.
	RetentionRule []RetentionRuleInitParameters `json:"retentionRule,omitempty" tf:"retention_rule,omitempty"`

	// Specifies the Time Zone which should be used by the backup schedule. Changing this forces a new Backup Policy Disk to be created.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`
}

func (*BackupPolicyDiskInitParameters) DeepCopy

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

func (*BackupPolicyDiskInitParameters) DeepCopyInto

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

type BackupPolicyDiskList

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

BackupPolicyDiskList contains a list of BackupPolicyDisks

func (*BackupPolicyDiskList) DeepCopy

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

func (*BackupPolicyDiskList) DeepCopyInto

func (in *BackupPolicyDiskList) DeepCopyInto(out *BackupPolicyDiskList)

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

func (*BackupPolicyDiskList) DeepCopyObject

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

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

func (*BackupPolicyDiskList) GetItems

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

GetItems of this BackupPolicyDiskList.

type BackupPolicyDiskObservation

type BackupPolicyDiskObservation struct {

	// Specifies a list of repeating time interval. It should follow ISO 8601 repeating time interval . Changing this forces a new Backup Policy Disk to be created.
	BackupRepeatingTimeIntervals []*string `json:"backupRepeatingTimeIntervals,omitempty" tf:"backup_repeating_time_intervals,omitempty"`

	// The duration of default retention rule. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy Disk to be created.
	DefaultRetentionDuration *string `json:"defaultRetentionDuration,omitempty" tf:"default_retention_duration,omitempty"`

	// The ID of the Backup Policy Disk.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// One or more retention_rule blocks as defined below. Changing this forces a new Backup Policy Disk to be created.
	RetentionRule []RetentionRuleObservation `json:"retentionRule,omitempty" tf:"retention_rule,omitempty"`

	// Specifies the Time Zone which should be used by the backup schedule. Changing this forces a new Backup Policy Disk to be created.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// The ID of the Backup Vault within which the Backup Policy Disk should exist. Changing this forces a new Backup Policy Disk to be created.
	VaultID *string `json:"vaultId,omitempty" tf:"vault_id,omitempty"`
}

func (*BackupPolicyDiskObservation) DeepCopy

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

func (*BackupPolicyDiskObservation) DeepCopyInto

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

type BackupPolicyDiskParameters

type BackupPolicyDiskParameters struct {

	// Specifies a list of repeating time interval. It should follow ISO 8601 repeating time interval . Changing this forces a new Backup Policy Disk to be created.
	// +kubebuilder:validation:Optional
	BackupRepeatingTimeIntervals []*string `json:"backupRepeatingTimeIntervals,omitempty" tf:"backup_repeating_time_intervals,omitempty"`

	// The duration of default retention rule. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy Disk to be created.
	// +kubebuilder:validation:Optional
	DefaultRetentionDuration *string `json:"defaultRetentionDuration,omitempty" tf:"default_retention_duration,omitempty"`

	// One or more retention_rule blocks as defined below. Changing this forces a new Backup Policy Disk to be created.
	// +kubebuilder:validation:Optional
	RetentionRule []RetentionRuleParameters `json:"retentionRule,omitempty" tf:"retention_rule,omitempty"`

	// Specifies the Time Zone which should be used by the backup schedule. Changing this forces a new Backup Policy Disk to be created.
	// +kubebuilder:validation:Optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// The ID of the Backup Vault within which the Backup Policy Disk should exist. Changing this forces a new Backup Policy Disk to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dataprotection/v1beta2.BackupVault
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	VaultID *string `json:"vaultId,omitempty" tf:"vault_id,omitempty"`

	// Reference to a BackupVault in dataprotection to populate vaultId.
	// +kubebuilder:validation:Optional
	VaultIDRef *v1.Reference `json:"vaultIdRef,omitempty" tf:"-"`

	// Selector for a BackupVault in dataprotection to populate vaultId.
	// +kubebuilder:validation:Optional
	VaultIDSelector *v1.Selector `json:"vaultIdSelector,omitempty" tf:"-"`
}

func (*BackupPolicyDiskParameters) DeepCopy

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

func (*BackupPolicyDiskParameters) DeepCopyInto

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

type BackupPolicyDiskSpec

type BackupPolicyDiskSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BackupPolicyDiskParameters `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 BackupPolicyDiskInitParameters `json:"initProvider,omitempty"`
}

BackupPolicyDiskSpec defines the desired state of BackupPolicyDisk

func (*BackupPolicyDiskSpec) DeepCopy

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

func (*BackupPolicyDiskSpec) DeepCopyInto

func (in *BackupPolicyDiskSpec) DeepCopyInto(out *BackupPolicyDiskSpec)

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

type BackupPolicyDiskStatus

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

BackupPolicyDiskStatus defines the observed state of BackupPolicyDisk.

func (*BackupPolicyDiskStatus) DeepCopy

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

func (*BackupPolicyDiskStatus) DeepCopyInto

func (in *BackupPolicyDiskStatus) DeepCopyInto(out *BackupPolicyDiskStatus)

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

type BackupPolicyPostgreSQL

type BackupPolicyPostgreSQL 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.backupRepeatingTimeIntervals) || (has(self.initProvider) && has(self.initProvider.backupRepeatingTimeIntervals))",message="spec.forProvider.backupRepeatingTimeIntervals is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultRetentionDuration) || (has(self.initProvider) && has(self.initProvider.defaultRetentionDuration))",message="spec.forProvider.defaultRetentionDuration is a required parameter"
	Spec   BackupPolicyPostgreSQLSpec   `json:"spec"`
	Status BackupPolicyPostgreSQLStatus `json:"status,omitempty"`
}

BackupPolicyPostgreSQL is the Schema for the BackupPolicyPostgreSQLs API. Manages a Backup Policy to back up PostgreSQL. +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 (*BackupPolicyPostgreSQL) DeepCopy

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

func (*BackupPolicyPostgreSQL) DeepCopyInto

func (in *BackupPolicyPostgreSQL) DeepCopyInto(out *BackupPolicyPostgreSQL)

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

func (*BackupPolicyPostgreSQL) DeepCopyObject

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

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

func (*BackupPolicyPostgreSQL) GetCondition

GetCondition of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BackupPolicyPostgreSQL

func (*BackupPolicyPostgreSQL) GetDeletionPolicy

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

GetDeletionPolicy of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) GetID

func (tr *BackupPolicyPostgreSQL) GetID() string

GetID returns ID of underlying Terraform resource of this BackupPolicyPostgreSQL

func (*BackupPolicyPostgreSQL) GetInitParameters

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

GetInitParameters of this BackupPolicyPostgreSQL

func (*BackupPolicyPostgreSQL) GetManagementPolicies

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

GetManagementPolicies of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) GetMergedParameters

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

GetInitParameters of this BackupPolicyPostgreSQL

func (*BackupPolicyPostgreSQL) GetObservation

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

GetObservation of this BackupPolicyPostgreSQL

func (*BackupPolicyPostgreSQL) GetParameters

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

GetParameters of this BackupPolicyPostgreSQL

func (*BackupPolicyPostgreSQL) GetProviderConfigReference

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

GetProviderConfigReference of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) GetTerraformResourceType

func (mg *BackupPolicyPostgreSQL) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BackupPolicyPostgreSQL

func (*BackupPolicyPostgreSQL) GetTerraformSchemaVersion

func (tr *BackupPolicyPostgreSQL) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BackupPolicyPostgreSQL) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) Hub

func (tr *BackupPolicyPostgreSQL) Hub()

Hub marks this type as a conversion hub.

func (*BackupPolicyPostgreSQL) LateInitialize

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

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

func (*BackupPolicyPostgreSQL) ResolveReferences

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

ResolveReferences of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) SetConditions

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

SetConditions of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) SetDeletionPolicy

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

SetDeletionPolicy of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) SetManagementPolicies

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

SetManagementPolicies of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) SetObservation

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

SetObservation for this BackupPolicyPostgreSQL

func (*BackupPolicyPostgreSQL) SetParameters

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

SetParameters for this BackupPolicyPostgreSQL

func (*BackupPolicyPostgreSQL) SetProviderConfigReference

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

SetProviderConfigReference of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQL) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BackupPolicyPostgreSQL.

type BackupPolicyPostgreSQLInitParameters

type BackupPolicyPostgreSQLInitParameters struct {

	// Specifies a list of repeating time interval. It supports weekly back. It should follow ISO 8601 repeating time interval. Changing this forces a new Backup Policy PostgreSQL to be created.
	BackupRepeatingTimeIntervals []*string `json:"backupRepeatingTimeIntervals,omitempty" tf:"backup_repeating_time_intervals,omitempty"`

	// The duration of default retention rule. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy PostgreSQL to be created.
	DefaultRetentionDuration *string `json:"defaultRetentionDuration,omitempty" tf:"default_retention_duration,omitempty"`

	// One or more retention_rule blocks as defined below. Changing this forces a new Backup Policy PostgreSQL to be created.
	RetentionRule []BackupPolicyPostgreSQLRetentionRuleInitParameters `json:"retentionRule,omitempty" tf:"retention_rule,omitempty"`

	// Specifies the Time Zone which should be used by the backup schedule. Changing this forces a new Backup Policy PostgreSQL to be created.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`
}

func (*BackupPolicyPostgreSQLInitParameters) DeepCopy

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

func (*BackupPolicyPostgreSQLInitParameters) DeepCopyInto

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

type BackupPolicyPostgreSQLList

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

BackupPolicyPostgreSQLList contains a list of BackupPolicyPostgreSQLs

func (*BackupPolicyPostgreSQLList) DeepCopy

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

func (*BackupPolicyPostgreSQLList) DeepCopyInto

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

func (*BackupPolicyPostgreSQLList) DeepCopyObject

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

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

func (*BackupPolicyPostgreSQLList) GetItems

GetItems of this BackupPolicyPostgreSQLList.

type BackupPolicyPostgreSQLObservation

type BackupPolicyPostgreSQLObservation struct {

	// Specifies a list of repeating time interval. It supports weekly back. It should follow ISO 8601 repeating time interval. Changing this forces a new Backup Policy PostgreSQL to be created.
	BackupRepeatingTimeIntervals []*string `json:"backupRepeatingTimeIntervals,omitempty" tf:"backup_repeating_time_intervals,omitempty"`

	// The duration of default retention rule. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy PostgreSQL to be created.
	DefaultRetentionDuration *string `json:"defaultRetentionDuration,omitempty" tf:"default_retention_duration,omitempty"`

	// The ID of the Backup Policy PostgreSQL.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the Resource Group where the Backup Policy PostgreSQL should exist. Changing this forces a new Backup Policy PostgreSQL to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// One or more retention_rule blocks as defined below. Changing this forces a new Backup Policy PostgreSQL to be created.
	RetentionRule []BackupPolicyPostgreSQLRetentionRuleObservation `json:"retentionRule,omitempty" tf:"retention_rule,omitempty"`

	// Specifies the Time Zone which should be used by the backup schedule. Changing this forces a new Backup Policy PostgreSQL to be created.
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// The name of the Backup Vault where the Backup Policy PostgreSQL should exist. Changing this forces a new Backup Policy PostgreSQL to be created.
	VaultName *string `json:"vaultName,omitempty" tf:"vault_name,omitempty"`
}

func (*BackupPolicyPostgreSQLObservation) DeepCopy

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

func (*BackupPolicyPostgreSQLObservation) DeepCopyInto

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

type BackupPolicyPostgreSQLParameters

type BackupPolicyPostgreSQLParameters struct {

	// Specifies a list of repeating time interval. It supports weekly back. It should follow ISO 8601 repeating time interval. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	BackupRepeatingTimeIntervals []*string `json:"backupRepeatingTimeIntervals,omitempty" tf:"backup_repeating_time_intervals,omitempty"`

	// The duration of default retention rule. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	DefaultRetentionDuration *string `json:"defaultRetentionDuration,omitempty" tf:"default_retention_duration,omitempty"`

	// The name of the Resource Group where the Backup Policy PostgreSQL should exist. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// One or more retention_rule blocks as defined below. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	RetentionRule []BackupPolicyPostgreSQLRetentionRuleParameters `json:"retentionRule,omitempty" tf:"retention_rule,omitempty"`

	// Specifies the Time Zone which should be used by the backup schedule. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// The name of the Backup Vault where the Backup Policy PostgreSQL should exist. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dataprotection/v1beta2.BackupVault
	// +kubebuilder:validation:Optional
	VaultName *string `json:"vaultName,omitempty" tf:"vault_name,omitempty"`

	// Reference to a BackupVault in dataprotection to populate vaultName.
	// +kubebuilder:validation:Optional
	VaultNameRef *v1.Reference `json:"vaultNameRef,omitempty" tf:"-"`

	// Selector for a BackupVault in dataprotection to populate vaultName.
	// +kubebuilder:validation:Optional
	VaultNameSelector *v1.Selector `json:"vaultNameSelector,omitempty" tf:"-"`
}

func (*BackupPolicyPostgreSQLParameters) DeepCopy

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

func (*BackupPolicyPostgreSQLParameters) DeepCopyInto

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

type BackupPolicyPostgreSQLRetentionRuleInitParameters

type BackupPolicyPostgreSQLRetentionRuleInitParameters struct {

	// A criteria block as defined below. Changing this forces a new Backup Policy PostgreSQL to be created.
	Criteria *RetentionRuleCriteriaInitParameters `json:"criteria,omitempty" tf:"criteria,omitempty"`

	// Duration after which the backup is deleted. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy PostgreSQL to be created.
	Duration *string `json:"duration,omitempty" tf:"duration,omitempty"`

	// The name which should be used for this retention rule. Changing this forces a new Backup Policy PostgreSQL to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the priority of the rule. The priority number must be unique for each rule. The lower the priority number, the higher the priority of the rule. Changing this forces a new Backup Policy PostgreSQL to be created.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
}

func (*BackupPolicyPostgreSQLRetentionRuleInitParameters) DeepCopy

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

func (*BackupPolicyPostgreSQLRetentionRuleInitParameters) DeepCopyInto

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

type BackupPolicyPostgreSQLRetentionRuleObservation

type BackupPolicyPostgreSQLRetentionRuleObservation struct {

	// A criteria block as defined below. Changing this forces a new Backup Policy PostgreSQL to be created.
	Criteria *RetentionRuleCriteriaObservation `json:"criteria,omitempty" tf:"criteria,omitempty"`

	// Duration after which the backup is deleted. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy PostgreSQL to be created.
	Duration *string `json:"duration,omitempty" tf:"duration,omitempty"`

	// The name which should be used for this retention rule. Changing this forces a new Backup Policy PostgreSQL to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the priority of the rule. The priority number must be unique for each rule. The lower the priority number, the higher the priority of the rule. Changing this forces a new Backup Policy PostgreSQL to be created.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
}

func (*BackupPolicyPostgreSQLRetentionRuleObservation) DeepCopy

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

func (*BackupPolicyPostgreSQLRetentionRuleObservation) DeepCopyInto

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

type BackupPolicyPostgreSQLRetentionRuleParameters

type BackupPolicyPostgreSQLRetentionRuleParameters struct {

	// A criteria block as defined below. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	Criteria *RetentionRuleCriteriaParameters `json:"criteria" tf:"criteria,omitempty"`

	// Duration after which the backup is deleted. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	Duration *string `json:"duration" tf:"duration,omitempty"`

	// The name which should be used for this retention rule. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies the priority of the rule. The priority number must be unique for each rule. The lower the priority number, the higher the priority of the rule. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority" tf:"priority,omitempty"`
}

func (*BackupPolicyPostgreSQLRetentionRuleParameters) DeepCopy

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

func (*BackupPolicyPostgreSQLRetentionRuleParameters) DeepCopyInto

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

type BackupPolicyPostgreSQLSpec

type BackupPolicyPostgreSQLSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BackupPolicyPostgreSQLParameters `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 BackupPolicyPostgreSQLInitParameters `json:"initProvider,omitempty"`
}

BackupPolicyPostgreSQLSpec defines the desired state of BackupPolicyPostgreSQL

func (*BackupPolicyPostgreSQLSpec) DeepCopy

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

func (*BackupPolicyPostgreSQLSpec) DeepCopyInto

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

type BackupPolicyPostgreSQLStatus

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

BackupPolicyPostgreSQLStatus defines the observed state of BackupPolicyPostgreSQL.

func (*BackupPolicyPostgreSQLStatus) DeepCopy

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

func (*BackupPolicyPostgreSQLStatus) DeepCopyInto

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

type BackupVault

type BackupVault 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.datastoreType) || (has(self.initProvider) && has(self.initProvider.datastoreType))",message="spec.forProvider.datastoreType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.redundancy) || (has(self.initProvider) && has(self.initProvider.redundancy))",message="spec.forProvider.redundancy is a required parameter"
	Spec   BackupVaultSpec   `json:"spec"`
	Status BackupVaultStatus `json:"status,omitempty"`
}

BackupVault is the Schema for the BackupVaults API. Manages a Backup Vault. +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 (*BackupVault) DeepCopy

func (in *BackupVault) DeepCopy() *BackupVault

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

func (*BackupVault) DeepCopyInto

func (in *BackupVault) DeepCopyInto(out *BackupVault)

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

func (*BackupVault) DeepCopyObject

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

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

func (*BackupVault) GetCondition

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

GetCondition of this BackupVault.

func (*BackupVault) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BackupVault

func (*BackupVault) GetDeletionPolicy

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

GetDeletionPolicy of this BackupVault.

func (*BackupVault) GetID

func (tr *BackupVault) GetID() string

GetID returns ID of underlying Terraform resource of this BackupVault

func (*BackupVault) GetInitParameters

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

GetInitParameters of this BackupVault

func (*BackupVault) GetManagementPolicies

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

GetManagementPolicies of this BackupVault.

func (*BackupVault) GetMergedParameters

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

GetInitParameters of this BackupVault

func (*BackupVault) GetObservation

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

GetObservation of this BackupVault

func (*BackupVault) GetParameters

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

GetParameters of this BackupVault

func (*BackupVault) GetProviderConfigReference

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

GetProviderConfigReference of this BackupVault.

func (*BackupVault) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BackupVault.

func (*BackupVault) GetTerraformResourceType

func (mg *BackupVault) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BackupVault

func (*BackupVault) GetTerraformSchemaVersion

func (tr *BackupVault) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BackupVault) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BackupVault.

func (*BackupVault) Hub

func (tr *BackupVault) Hub()

Hub marks this type as a conversion hub.

func (*BackupVault) LateInitialize

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

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

func (*BackupVault) ResolveReferences

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

ResolveReferences of this BackupVault.

func (*BackupVault) SetConditions

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

SetConditions of this BackupVault.

func (*BackupVault) SetDeletionPolicy

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

SetDeletionPolicy of this BackupVault.

func (*BackupVault) SetManagementPolicies

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

SetManagementPolicies of this BackupVault.

func (*BackupVault) SetObservation

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

SetObservation for this BackupVault

func (*BackupVault) SetParameters

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

SetParameters for this BackupVault

func (*BackupVault) SetProviderConfigReference

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

SetProviderConfigReference of this BackupVault.

func (*BackupVault) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BackupVault.

func (*BackupVault) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BackupVault.

type BackupVaultInitParameters

type BackupVaultInitParameters struct {

	// Specifies the type of the data store. Possible values are ArchiveStore, OperationalStore, SnapshotStore and VaultStore. Changing this forces a new resource to be created.
	DatastoreType *string `json:"datastoreType,omitempty" tf:"datastore_type,omitempty"`

	// An identity block as defined below.
	Identity *IdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Backup Vault should exist. Changing this forces a new Backup Vault to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specifies the backup storage redundancy. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Changing this forces a new Backup Vault to be created.
	Redundancy *string `json:"redundancy,omitempty" tf:"redundancy,omitempty"`

	// The soft delete retention duration for this Backup Vault. Possible values are between 14 and 180. Defaults to 14.
	RetentionDurationInDays *float64 `json:"retentionDurationInDays,omitempty" tf:"retention_duration_in_days,omitempty"`

	// The state of soft delete for this Backup Vault. Possible values are AlwaysOn, Off and On. Defaults to On.
	SoftDelete *string `json:"softDelete,omitempty" tf:"soft_delete,omitempty"`

	// A mapping of tags which should be assigned to the Backup Vault.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*BackupVaultInitParameters) DeepCopy

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

func (*BackupVaultInitParameters) DeepCopyInto

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

type BackupVaultList

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

BackupVaultList contains a list of BackupVaults

func (*BackupVaultList) DeepCopy

func (in *BackupVaultList) DeepCopy() *BackupVaultList

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

func (*BackupVaultList) DeepCopyInto

func (in *BackupVaultList) DeepCopyInto(out *BackupVaultList)

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

func (*BackupVaultList) DeepCopyObject

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

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

func (*BackupVaultList) GetItems

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

GetItems of this BackupVaultList.

type BackupVaultObservation

type BackupVaultObservation struct {

	// Specifies the type of the data store. Possible values are ArchiveStore, OperationalStore, SnapshotStore and VaultStore. Changing this forces a new resource to be created.
	DatastoreType *string `json:"datastoreType,omitempty" tf:"datastore_type,omitempty"`

	// The ID of the Backup Vault.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity block as defined below.
	Identity *IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Backup Vault should exist. Changing this forces a new Backup Vault to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specifies the backup storage redundancy. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Changing this forces a new Backup Vault to be created.
	Redundancy *string `json:"redundancy,omitempty" tf:"redundancy,omitempty"`

	// The name of the Resource Group where the Backup Vault should exist. Changing this forces a new Backup Vault to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// The soft delete retention duration for this Backup Vault. Possible values are between 14 and 180. Defaults to 14.
	RetentionDurationInDays *float64 `json:"retentionDurationInDays,omitempty" tf:"retention_duration_in_days,omitempty"`

	// The state of soft delete for this Backup Vault. Possible values are AlwaysOn, Off and On. Defaults to On.
	SoftDelete *string `json:"softDelete,omitempty" tf:"soft_delete,omitempty"`

	// A mapping of tags which should be assigned to the Backup Vault.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*BackupVaultObservation) DeepCopy

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

func (*BackupVaultObservation) DeepCopyInto

func (in *BackupVaultObservation) DeepCopyInto(out *BackupVaultObservation)

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

type BackupVaultParameters

type BackupVaultParameters struct {

	// Specifies the type of the data store. Possible values are ArchiveStore, OperationalStore, SnapshotStore and VaultStore. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	DatastoreType *string `json:"datastoreType,omitempty" tf:"datastore_type,omitempty"`

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity *IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Backup Vault should exist. Changing this forces a new Backup Vault to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specifies the backup storage redundancy. Possible values are GeoRedundant, LocallyRedundant and ZoneRedundant. Changing this forces a new Backup Vault to be created.
	// +kubebuilder:validation:Optional
	Redundancy *string `json:"redundancy,omitempty" tf:"redundancy,omitempty"`

	// The name of the Resource Group where the Backup Vault should exist. Changing this forces a new Backup Vault to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// The soft delete retention duration for this Backup Vault. Possible values are between 14 and 180. Defaults to 14.
	// +kubebuilder:validation:Optional
	RetentionDurationInDays *float64 `json:"retentionDurationInDays,omitempty" tf:"retention_duration_in_days,omitempty"`

	// The state of soft delete for this Backup Vault. Possible values are AlwaysOn, Off and On. Defaults to On.
	// +kubebuilder:validation:Optional
	SoftDelete *string `json:"softDelete,omitempty" tf:"soft_delete,omitempty"`

	// A mapping of tags which should be assigned to the Backup Vault.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*BackupVaultParameters) DeepCopy

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

func (*BackupVaultParameters) DeepCopyInto

func (in *BackupVaultParameters) DeepCopyInto(out *BackupVaultParameters)

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

type BackupVaultSpec

type BackupVaultSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BackupVaultParameters `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 BackupVaultInitParameters `json:"initProvider,omitempty"`
}

BackupVaultSpec defines the desired state of BackupVault

func (*BackupVaultSpec) DeepCopy

func (in *BackupVaultSpec) DeepCopy() *BackupVaultSpec

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

func (*BackupVaultSpec) DeepCopyInto

func (in *BackupVaultSpec) DeepCopyInto(out *BackupVaultSpec)

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

type BackupVaultStatus

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

BackupVaultStatus defines the observed state of BackupVault.

func (*BackupVaultStatus) DeepCopy

func (in *BackupVaultStatus) DeepCopy() *BackupVaultStatus

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

func (*BackupVaultStatus) DeepCopyInto

func (in *BackupVaultStatus) DeepCopyInto(out *BackupVaultStatus)

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

type CriteriaInitParameters

type CriteriaInitParameters struct {

	// Possible values are FirstOfDay and FirstOfWeek. Changing this forces a new Backup Policy Disk to be created.
	AbsoluteCriteria *string `json:"absoluteCriteria,omitempty" tf:"absolute_criteria,omitempty"`
}

func (*CriteriaInitParameters) DeepCopy

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

func (*CriteriaInitParameters) DeepCopyInto

func (in *CriteriaInitParameters) DeepCopyInto(out *CriteriaInitParameters)

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

type CriteriaObservation

type CriteriaObservation struct {

	// Possible values are FirstOfDay and FirstOfWeek. Changing this forces a new Backup Policy Disk to be created.
	AbsoluteCriteria *string `json:"absoluteCriteria,omitempty" tf:"absolute_criteria,omitempty"`
}

func (*CriteriaObservation) DeepCopy

func (in *CriteriaObservation) DeepCopy() *CriteriaObservation

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

func (*CriteriaObservation) DeepCopyInto

func (in *CriteriaObservation) DeepCopyInto(out *CriteriaObservation)

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

type CriteriaParameters

type CriteriaParameters struct {

	// Possible values are FirstOfDay and FirstOfWeek. Changing this forces a new Backup Policy Disk to be created.
	// +kubebuilder:validation:Optional
	AbsoluteCriteria *string `json:"absoluteCriteria,omitempty" tf:"absolute_criteria,omitempty"`
}

func (*CriteriaParameters) DeepCopy

func (in *CriteriaParameters) DeepCopy() *CriteriaParameters

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

func (*CriteriaParameters) DeepCopyInto

func (in *CriteriaParameters) DeepCopyInto(out *CriteriaParameters)

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

type IdentityInitParameters

type IdentityInitParameters struct {

	// Specifies the type of Managed Service Identity that should be configured on this Backup Vault. The only possible value is SystemAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityInitParameters) DeepCopy

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

func (*IdentityInitParameters) DeepCopyInto

func (in *IdentityInitParameters) DeepCopyInto(out *IdentityInitParameters)

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

type IdentityObservation

type IdentityObservation struct {

	// The Principal ID for the Service Principal associated with the Identity of this Backup Vault.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Tenant ID for the Service Principal associated with the Identity of this Backup Vault.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this Backup Vault. The only possible value is SystemAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityObservation) DeepCopy

func (in *IdentityObservation) DeepCopy() *IdentityObservation

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

func (*IdentityObservation) DeepCopyInto

func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation)

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

type IdentityParameters

type IdentityParameters struct {

	// Specifies the type of Managed Service Identity that should be configured on this Backup Vault. The only possible value is SystemAssigned.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*IdentityParameters) DeepCopy

func (in *IdentityParameters) DeepCopy() *IdentityParameters

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

func (*IdentityParameters) DeepCopyInto

func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters)

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

type RetentionRuleCriteriaInitParameters

type RetentionRuleCriteriaInitParameters struct {

	// Possible values are AllBackup, FirstOfDay, FirstOfWeek, FirstOfMonth and FirstOfYear. These values mean the first successful backup of the day/week/month/year. Changing this forces a new Backup Policy PostgreSQL to be created.
	AbsoluteCriteria *string `json:"absoluteCriteria,omitempty" tf:"absolute_criteria,omitempty"`

	// Possible values are Monday, Tuesday, Thursday, Friday, Saturday and Sunday. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +listType=set
	DaysOfWeek []*string `json:"daysOfWeek,omitempty" tf:"days_of_week,omitempty"`

	// Possible values are January, February, March, April, May, June, July, August, September, October, November and December. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +listType=set
	MonthsOfYear []*string `json:"monthsOfYear,omitempty" tf:"months_of_year,omitempty"`

	// Specifies a list of backup times for backup in the RFC3339 format. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +listType=set
	ScheduledBackupTimes []*string `json:"scheduledBackupTimes,omitempty" tf:"scheduled_backup_times,omitempty"`

	// Possible values are First, Second, Third, Fourth and Last. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +listType=set
	WeeksOfMonth []*string `json:"weeksOfMonth,omitempty" tf:"weeks_of_month,omitempty"`
}

func (*RetentionRuleCriteriaInitParameters) DeepCopy

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

func (*RetentionRuleCriteriaInitParameters) DeepCopyInto

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

type RetentionRuleCriteriaObservation

type RetentionRuleCriteriaObservation struct {

	// Possible values are AllBackup, FirstOfDay, FirstOfWeek, FirstOfMonth and FirstOfYear. These values mean the first successful backup of the day/week/month/year. Changing this forces a new Backup Policy PostgreSQL to be created.
	AbsoluteCriteria *string `json:"absoluteCriteria,omitempty" tf:"absolute_criteria,omitempty"`

	// Possible values are Monday, Tuesday, Thursday, Friday, Saturday and Sunday. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +listType=set
	DaysOfWeek []*string `json:"daysOfWeek,omitempty" tf:"days_of_week,omitempty"`

	// Possible values are January, February, March, April, May, June, July, August, September, October, November and December. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +listType=set
	MonthsOfYear []*string `json:"monthsOfYear,omitempty" tf:"months_of_year,omitempty"`

	// Specifies a list of backup times for backup in the RFC3339 format. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +listType=set
	ScheduledBackupTimes []*string `json:"scheduledBackupTimes,omitempty" tf:"scheduled_backup_times,omitempty"`

	// Possible values are First, Second, Third, Fourth and Last. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +listType=set
	WeeksOfMonth []*string `json:"weeksOfMonth,omitempty" tf:"weeks_of_month,omitempty"`
}

func (*RetentionRuleCriteriaObservation) DeepCopy

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

func (*RetentionRuleCriteriaObservation) DeepCopyInto

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

type RetentionRuleCriteriaParameters

type RetentionRuleCriteriaParameters struct {

	// Possible values are AllBackup, FirstOfDay, FirstOfWeek, FirstOfMonth and FirstOfYear. These values mean the first successful backup of the day/week/month/year. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	AbsoluteCriteria *string `json:"absoluteCriteria,omitempty" tf:"absolute_criteria,omitempty"`

	// Possible values are Monday, Tuesday, Thursday, Friday, Saturday and Sunday. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	// +listType=set
	DaysOfWeek []*string `json:"daysOfWeek,omitempty" tf:"days_of_week,omitempty"`

	// Possible values are January, February, March, April, May, June, July, August, September, October, November and December. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	// +listType=set
	MonthsOfYear []*string `json:"monthsOfYear,omitempty" tf:"months_of_year,omitempty"`

	// Specifies a list of backup times for backup in the RFC3339 format. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	// +listType=set
	ScheduledBackupTimes []*string `json:"scheduledBackupTimes,omitempty" tf:"scheduled_backup_times,omitempty"`

	// Possible values are First, Second, Third, Fourth and Last. Changing this forces a new Backup Policy PostgreSQL to be created.
	// +kubebuilder:validation:Optional
	// +listType=set
	WeeksOfMonth []*string `json:"weeksOfMonth,omitempty" tf:"weeks_of_month,omitempty"`
}

func (*RetentionRuleCriteriaParameters) DeepCopy

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

func (*RetentionRuleCriteriaParameters) DeepCopyInto

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

type RetentionRuleInitParameters

type RetentionRuleInitParameters struct {

	// A criteria block as defined below. Changing this forces a new Backup Policy Disk to be created.
	Criteria *CriteriaInitParameters `json:"criteria,omitempty" tf:"criteria,omitempty"`

	// Duration of deletion after given timespan. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy Disk to be created.
	Duration *string `json:"duration,omitempty" tf:"duration,omitempty"`

	// The name which should be used for this retention rule. Changing this forces a new Backup Policy Disk to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Retention Tag priority. Changing this forces a new Backup Policy Disk to be created.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
}

func (*RetentionRuleInitParameters) DeepCopy

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

func (*RetentionRuleInitParameters) DeepCopyInto

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

type RetentionRuleObservation

type RetentionRuleObservation struct {

	// A criteria block as defined below. Changing this forces a new Backup Policy Disk to be created.
	Criteria *CriteriaObservation `json:"criteria,omitempty" tf:"criteria,omitempty"`

	// Duration of deletion after given timespan. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy Disk to be created.
	Duration *string `json:"duration,omitempty" tf:"duration,omitempty"`

	// The name which should be used for this retention rule. Changing this forces a new Backup Policy Disk to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Retention Tag priority. Changing this forces a new Backup Policy Disk to be created.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`
}

func (*RetentionRuleObservation) DeepCopy

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

func (*RetentionRuleObservation) DeepCopyInto

func (in *RetentionRuleObservation) DeepCopyInto(out *RetentionRuleObservation)

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

type RetentionRuleParameters

type RetentionRuleParameters struct {

	// A criteria block as defined below. Changing this forces a new Backup Policy Disk to be created.
	// +kubebuilder:validation:Optional
	Criteria *CriteriaParameters `json:"criteria" tf:"criteria,omitempty"`

	// Duration of deletion after given timespan. It should follow ISO 8601 duration format. Changing this forces a new Backup Policy Disk to be created.
	// +kubebuilder:validation:Optional
	Duration *string `json:"duration" tf:"duration,omitempty"`

	// The name which should be used for this retention rule. Changing this forces a new Backup Policy Disk to be created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// Retention Tag priority. Changing this forces a new Backup Policy Disk to be created.
	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority" tf:"priority,omitempty"`
}

func (*RetentionRuleParameters) DeepCopy

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

func (*RetentionRuleParameters) DeepCopyInto

func (in *RetentionRuleParameters) DeepCopyInto(out *RetentionRuleParameters)

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