v1beta1

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cbr.flexibleengine.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "cbr.flexibleengine.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Policy_Kind             = "Policy"
	Policy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String()
	Policy_KindAPIVersion   = Policy_Kind + "." + CRDGroupVersion.String()
	Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind)
)

Repository type metadata.

View Source
var (
	Vault_Kind             = "Vault"
	Vault_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Vault_Kind}.String()
	Vault_KindAPIVersion   = Vault_Kind + "." + CRDGroupVersion.String()
	Vault_GroupVersionKind = CRDGroupVersion.WithKind(Vault_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type BackupCycleObservation

type BackupCycleObservation struct {
}

func (*BackupCycleObservation) DeepCopy

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

func (*BackupCycleObservation) DeepCopyInto

func (in *BackupCycleObservation) DeepCopyInto(out *BackupCycleObservation)

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

type BackupCycleParameters

type BackupCycleParameters struct {

	// Specifies the weekly backup day of backup schedule. It supports seven days a week (MO, TU,
	// WE, TH, FR, SA, SU) and this parameter is separated by a comma (,) without spaces, between date and date during the
	// configuration.
	// +kubebuilder:validation:Optional
	Days *string `json:"days,omitempty" tf:"days,omitempty"`

	// Specifies the backup time. Automated backups will be triggered at the backup
	// time. The current time is in the UTC format (HH:MM). The minutes in the list must be set to 00 and the hours
	// cannot be repeated. In the replication policy, you are advised to set one time point for one day.
	// +kubebuilder:validation:Required
	ExecutionTimes []*string `json:"executionTimes" tf:"execution_times,omitempty"`

	// Specifies the interval (in days) of backup schedule. The value range is 1 to 30. This
	// parameter and days are alternative.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`
}

func (*BackupCycleParameters) DeepCopy

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

func (*BackupCycleParameters) DeepCopyInto

func (in *BackupCycleParameters) DeepCopyInto(out *BackupCycleParameters)

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

type LongTermRetentionObservation

type LongTermRetentionObservation struct {
}

func (*LongTermRetentionObservation) DeepCopy

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

func (*LongTermRetentionObservation) DeepCopyInto

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

type LongTermRetentionParameters

type LongTermRetentionParameters struct {

	// - Specifies the latest backup of each day is saved in the long term.
	// +kubebuilder:validation:Optional
	Daily *float64 `json:"daily,omitempty" tf:"daily,omitempty"`

	// - Specifies the latest backup of each month is saved in the long term.
	// +kubebuilder:validation:Optional
	Monthly *float64 `json:"monthly,omitempty" tf:"monthly,omitempty"`

	// - Specifies the latest backup of each week is saved in the long term.
	// +kubebuilder:validation:Optional
	Weekly *float64 `json:"weekly,omitempty" tf:"weekly,omitempty"`

	// - Specifies the latest backup of each year is saved in the long term.
	// +kubebuilder:validation:Optional
	Yearly *float64 `json:"yearly,omitempty" tf:"yearly,omitempty"`
}

func (*LongTermRetentionParameters) DeepCopy

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

func (*LongTermRetentionParameters) DeepCopyInto

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

type Policy

type Policy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicySpec   `json:"spec"`
	Status            PolicyStatus `json:"status,omitempty"`
}

Policy is the Schema for the Policys API. ""page_title: "flexibleengine_cbr_policy" +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,flexibleengine}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) GetCondition

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

GetCondition of this Policy.

func (*Policy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Policy

func (*Policy) GetDeletionPolicy

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

GetDeletionPolicy of this Policy.

func (*Policy) GetID

func (tr *Policy) GetID() string

GetID returns ID of underlying Terraform resource of this Policy

func (*Policy) GetObservation

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

GetObservation of this Policy

func (*Policy) GetParameters

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

GetParameters of this Policy

func (*Policy) GetProviderConfigReference

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

GetProviderConfigReference of this Policy.

func (*Policy) GetProviderReference

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

GetProviderReference of this Policy. Deprecated: Use GetProviderConfigReference.

func (*Policy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Policy.

func (*Policy) GetTerraformResourceType

func (mg *Policy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Policy

func (*Policy) GetTerraformSchemaVersion

func (tr *Policy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Policy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Policy.

func (*Policy) LateInitialize

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

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

func (*Policy) SetConditions

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

SetConditions of this Policy.

func (*Policy) SetDeletionPolicy

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

SetDeletionPolicy of this Policy.

func (*Policy) SetObservation

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

SetObservation for this Policy

func (*Policy) SetParameters

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

SetParameters for this Policy

func (*Policy) SetProviderConfigReference

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

SetProviderConfigReference of this Policy.

func (*Policy) SetProviderReference

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

SetProviderReference of this Policy. Deprecated: Use SetProviderConfigReference.

func (*Policy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Policy.

func (*Policy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Policy.

type PolicyList

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

PolicyList contains a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

func (*PolicyList) GetItems

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

GetItems of this PolicyList.

type PolicyObservation

type PolicyObservation struct {

	// A resource ID in UUID format.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*PolicyObservation) DeepCopy

func (in *PolicyObservation) DeepCopy() *PolicyObservation

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

func (*PolicyObservation) DeepCopyInto

func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)

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

type PolicyParameters

type PolicyParameters struct {

	// Specifies the scheduling rule for the CBR policy backup execution.
	// The object structure is documented below.
	// +kubebuilder:validation:Required
	BackupCycle []BackupCycleParameters `json:"backupCycle" tf:"backup_cycle,omitempty"`

	// Specifies the maximum number of retained backups. The value ranges from 2 to
	// 99,999. This parameter and time_period are alternative.
	// +kubebuilder:validation:Optional
	BackupQuantity *float64 `json:"backupQuantity,omitempty" tf:"backup_quantity,omitempty"`

	// Specifies the ID of the replication destination project, which is
	// mandatory for cross-region replication. Required if protection_type is replication.
	// +kubebuilder:validation:Optional
	DestinationProjectID *string `json:"destinationProjectId,omitempty" tf:"destination_project_id,omitempty"`

	// Specifies the name of the replication destination region, which is mandatory
	// for cross-region replication. Required if protection_type is replication.
	// +kubebuilder:validation:Optional
	DestinationRegion *string `json:"destinationRegion,omitempty" tf:"destination_region,omitempty"`

	// Specifies whether to enable the CBR policy. Default to true.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specifies the long-term retention rules, which is an advanced options of
	// the backup_quantity. The object structure is documented below.
	// +kubebuilder:validation:Optional
	LongTermRetention []LongTermRetentionParameters `json:"longTermRetention,omitempty" tf:"long_term_retention,omitempty"`

	// Specifies a unique name of the CBR policy. This parameter can contain a maximum of 64
	// characters, which may consist of chinese charactors, letters, digits, underscores(_) and hyphens (-).
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies the region in which to create the CBR policy. If omitted, the
	// provider-level region will be used. Changing this will create a new policy.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the duration (in days) for retained backups. The value ranges from 2 to
	// 99,999.
	// +kubebuilder:validation:Optional
	TimePeriod *float64 `json:"timePeriod,omitempty" tf:"time_period,omitempty"`

	// Specifies the UTC time zone, e.g.: UTC+08:00.
	// Required if long_term_retention is set.
	// +kubebuilder:validation:Optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"`

	// Specifies the protection type of the CBR policy.
	// Valid values are backup and replication.
	// Changing this will create a new policy.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*PolicyParameters) DeepCopy

func (in *PolicyParameters) DeepCopy() *PolicyParameters

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

func (*PolicyParameters) DeepCopyInto

func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)

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

type PolicySpec

type PolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyParameters `json:"forProvider"`
}

PolicySpec defines the desired state of Policy

func (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

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

type PolicyStatus

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

PolicyStatus defines the observed state of Policy.

func (*PolicyStatus) DeepCopy

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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

type ResourcesObservation

type ResourcesObservation struct {
}

func (*ResourcesObservation) DeepCopy

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

func (*ResourcesObservation) DeepCopyInto

func (in *ResourcesObservation) DeepCopyInto(out *ResourcesObservation)

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

type ResourcesParameters

type ResourcesParameters struct {

	// +kubebuilder:validation:Optional
	Excludes []*string `json:"excludes,omitempty" tf:"excludes,omitempty"`

	// Specifies the array of disk or SFS file system IDs which will be included in the backup.
	// Only disk and turbo vault support this parameter.
	// +kubebuilder:validation:Optional
	Includes []*string `json:"includes,omitempty" tf:"includes,omitempty"`

	// Specifies the ID of the ECS instance to be backed up.
	// +kubebuilder:validation:Optional
	ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`
}

func (*ResourcesParameters) DeepCopy

func (in *ResourcesParameters) DeepCopy() *ResourcesParameters

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

func (*ResourcesParameters) DeepCopyInto

func (in *ResourcesParameters) DeepCopyInto(out *ResourcesParameters)

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

type Vault

type Vault struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VaultSpec   `json:"spec"`
	Status            VaultStatus `json:"status,omitempty"`
}

Vault is the Schema for the Vaults API. ""page_title: "flexibleengine_cbr_vault" +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,flexibleengine}

func (*Vault) DeepCopy

func (in *Vault) DeepCopy() *Vault

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

func (*Vault) DeepCopyInto

func (in *Vault) DeepCopyInto(out *Vault)

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

func (*Vault) DeepCopyObject

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

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

func (*Vault) GetCondition

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

GetCondition of this Vault.

func (*Vault) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Vault

func (*Vault) GetDeletionPolicy

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

GetDeletionPolicy of this Vault.

func (*Vault) GetID

func (tr *Vault) GetID() string

GetID returns ID of underlying Terraform resource of this Vault

func (*Vault) GetObservation

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

GetObservation of this Vault

func (*Vault) GetParameters

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

GetParameters of this Vault

func (*Vault) GetProviderConfigReference

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

GetProviderConfigReference of this Vault.

func (*Vault) GetProviderReference

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

GetProviderReference of this Vault. Deprecated: Use GetProviderConfigReference.

func (*Vault) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Vault.

func (*Vault) GetTerraformResourceType

func (mg *Vault) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Vault

func (*Vault) GetTerraformSchemaVersion

func (tr *Vault) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Vault) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Vault.

func (*Vault) LateInitialize

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

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

func (*Vault) SetConditions

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

SetConditions of this Vault.

func (*Vault) SetDeletionPolicy

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

SetDeletionPolicy of this Vault.

func (*Vault) SetObservation

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

SetObservation for this Vault

func (*Vault) SetParameters

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

SetParameters for this Vault

func (*Vault) SetProviderConfigReference

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

SetProviderConfigReference of this Vault.

func (*Vault) SetProviderReference

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

SetProviderReference of this Vault. Deprecated: Use SetProviderConfigReference.

func (*Vault) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Vault.

func (*Vault) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Vault.

type VaultList

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

VaultList contains a list of Vaults

func (*VaultList) DeepCopy

func (in *VaultList) DeepCopy() *VaultList

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

func (*VaultList) DeepCopyInto

func (in *VaultList) DeepCopyInto(out *VaultList)

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

func (*VaultList) DeepCopyObject

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

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

func (*VaultList) GetItems

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

GetItems of this VaultList.

type VaultObservation

type VaultObservation struct {

	// The allocated capacity of the vault, in GB.
	Allocated *float64 `json:"allocated,omitempty" tf:"allocated,omitempty"`

	// A resource ID in UUID format.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The specification code.
	SpecCode *string `json:"specCode,omitempty" tf:"spec_code,omitempty"`

	// The vault status.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The name of the bucket for the vault.
	Storage *string `json:"storage,omitempty" tf:"storage,omitempty"`

	// The used capacity, in GB.
	Used *float64 `json:"used,omitempty" tf:"used,omitempty"`
}

func (*VaultObservation) DeepCopy

func (in *VaultObservation) DeepCopy() *VaultObservation

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

func (*VaultObservation) DeepCopyInto

func (in *VaultObservation) DeepCopyInto(out *VaultObservation)

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

type VaultParameters

type VaultParameters struct {

	// +kubebuilder:validation:Optional
	AutoBind *bool `json:"autoBind,omitempty" tf:"auto_bind,omitempty"`

	// Specifies to enable auto capacity expansion for the backup protection type vault.
	// Defaults to false.
	// +kubebuilder:validation:Optional
	AutoExpand *bool `json:"autoExpand,omitempty" tf:"auto_expand,omitempty"`

	// +kubebuilder:validation:Optional
	AutoPay *string `json:"autoPay,omitempty" tf:"auto_pay,omitempty"`

	// +kubebuilder:validation:Optional
	AutoRenew *string `json:"autoRenew,omitempty" tf:"auto_renew,omitempty"`

	// +kubebuilder:validation:Optional
	BindRules map[string]*string `json:"bindRules,omitempty" tf:"bind_rules,omitempty"`

	// +kubebuilder:validation:Optional
	ChargingMode *string `json:"chargingMode,omitempty" tf:"charging_mode,omitempty"`

	// Specifies the backup specifications.
	// Currently, Only server type vaults support application consistent and only crash_consistent is valid.
	// Changing this will create a new vault.
	// +kubebuilder:validation:Optional
	ConsistentLevel *string `json:"consistentLevel,omitempty" tf:"consistent_level,omitempty"`

	// A resource ID in UUID format.
	// +kubebuilder:validation:Optional
	EnterpriseProjectID *string `json:"enterpriseProjectId,omitempty" tf:"enterprise_project_id,omitempty"`

	// Specifies a unique name of the CBR vault. This parameter can contain a maximum of 64
	// characters, which may consist of letters, digits, underscores(_) and hyphens (-).
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	Period *float64 `json:"period,omitempty" tf:"period,omitempty"`

	// +kubebuilder:validation:Optional
	PeriodUnit *string `json:"periodUnit,omitempty" tf:"period_unit,omitempty"`

	// Specifies a policy to associate with the CBR vault.
	// policy_id cannot be used with the vault of replicate protection type.
	// +kubebuilder:validation:Optional
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// Specifies the protection type of the CBR vault.
	// The valid values are backup and replication. Vaults of type disk don't support replication.
	// Changing this will create a new vault.
	// +kubebuilder:validation:Required
	ProtectionType *string `json:"protectionType" tf:"protection_type,omitempty"`

	// Specifies the region in which to create the CBR vault. If omitted, the
	// provider-level region will be used. Changing this will create a new vault.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies an array of one or more resources to attach to the CBR vault.
	// The object structure is documented below.
	// +kubebuilder:validation:Optional
	Resources []ResourcesParameters `json:"resources,omitempty" tf:"resources,omitempty"`

	// Specifies the vault sapacity, in GB. The valid value range is 1 to 10,485,760.
	// +kubebuilder:validation:Required
	Size *float64 `json:"size" tf:"size,omitempty"`

	// Specifies the key/value pairs to associate with the CBR vault.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the object type of the CBR vault.
	// Changing this will create a new vault. Vaild values are as follows:
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*VaultParameters) DeepCopy

func (in *VaultParameters) DeepCopy() *VaultParameters

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

func (*VaultParameters) DeepCopyInto

func (in *VaultParameters) DeepCopyInto(out *VaultParameters)

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

type VaultSpec

type VaultSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VaultParameters `json:"forProvider"`
}

VaultSpec defines the desired state of Vault

func (*VaultSpec) DeepCopy

func (in *VaultSpec) DeepCopy() *VaultSpec

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

func (*VaultSpec) DeepCopyInto

func (in *VaultSpec) DeepCopyInto(out *VaultSpec)

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

type VaultStatus

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

VaultStatus defines the observed state of Vault.

func (*VaultStatus) DeepCopy

func (in *VaultStatus) DeepCopy() *VaultStatus

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

func (*VaultStatus) DeepCopyInto

func (in *VaultStatus) DeepCopyInto(out *VaultStatus)

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