v1beta1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Backup_Kind             = "Backup"
	Backup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Backup_Kind}.String()
	Backup_KindAPIVersion   = Backup_Kind + "." + CRDGroupVersion.String()
	Backup_GroupVersionKind = CRDGroupVersion.WithKind(Backup_Kind)
)

Repository type metadata.

View Source
var (
	BackupPolicy_Kind             = "BackupPolicy"
	BackupPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: BackupPolicy_Kind}.String()
	BackupPolicy_KindAPIVersion   = BackupPolicy_Kind + "." + CRDGroupVersion.String()
	BackupPolicy_GroupVersionKind = CRDGroupVersion.WithKind(BackupPolicy_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 Backup

type Backup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BackupSpec   `json:"spec"`
	Status            BackupStatus `json:"status,omitempty"`
}

Backup is the Schema for the Backups API. ""page_title: "flexibleengine_csbs_backup_v1" +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 (*Backup) DeepCopy

func (in *Backup) DeepCopy() *Backup

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

func (*Backup) DeepCopyInto

func (in *Backup) DeepCopyInto(out *Backup)

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

func (*Backup) DeepCopyObject

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

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

func (*Backup) GetCondition

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

GetCondition of this Backup.

func (*Backup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Backup

func (*Backup) GetDeletionPolicy

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

GetDeletionPolicy of this Backup.

func (*Backup) GetID

func (tr *Backup) GetID() string

GetID returns ID of underlying Terraform resource of this Backup

func (*Backup) GetObservation

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

GetObservation of this Backup

func (*Backup) GetParameters

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

GetParameters of this Backup

func (*Backup) GetProviderConfigReference

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

GetProviderConfigReference of this Backup.

func (*Backup) GetProviderReference

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

GetProviderReference of this Backup. Deprecated: Use GetProviderConfigReference.

func (*Backup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Backup.

func (*Backup) GetTerraformResourceType

func (mg *Backup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Backup

func (*Backup) GetTerraformSchemaVersion

func (tr *Backup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Backup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Backup.

func (*Backup) LateInitialize

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

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

func (*Backup) ResolveReferences

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

ResolveReferences of this Backup.

func (*Backup) SetConditions

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

SetConditions of this Backup.

func (*Backup) SetDeletionPolicy

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

SetDeletionPolicy of this Backup.

func (*Backup) SetObservation

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

SetObservation for this Backup

func (*Backup) SetParameters

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

SetParameters for this Backup

func (*Backup) SetProviderConfigReference

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

SetProviderConfigReference of this Backup.

func (*Backup) SetProviderReference

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

SetProviderReference of this Backup. Deprecated: Use SetProviderConfigReference.

func (*Backup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Backup.

func (*Backup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Backup.

type BackupList

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

BackupList contains a list of Backups

func (*BackupList) DeepCopy

func (in *BackupList) DeepCopy() *BackupList

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

func (*BackupList) DeepCopyInto

func (in *BackupList) DeepCopyInto(out *BackupList)

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

func (*BackupList) DeepCopyObject

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

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

func (*BackupList) GetItems

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

GetItems of this BackupList.

type BackupObservation

type BackupObservation struct {

	// Specifies backup record ID.
	BackupRecordID *string `json:"backupRecordId,omitempty" tf:"backup_record_id,omitempty"`

	// Specifies Cinder backup ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// It specifies the status of backup.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// block supports the following arguments:
	VMMetadata []VMMetadataObservation `json:"vmMetadata,omitempty" tf:"vm_metadata,omitempty"`

	// block supports the following arguments:
	VolumeBackups []VolumeBackupsObservation `json:"volumeBackups,omitempty" tf:"volume_backups,omitempty"`
}

func (*BackupObservation) DeepCopy

func (in *BackupObservation) DeepCopy() *BackupObservation

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

func (*BackupObservation) DeepCopyInto

func (in *BackupObservation) DeepCopyInto(out *BackupObservation)

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

type BackupParameters

type BackupParameters struct {

	// Name for the backup. The value consists of 1 to 255 characters and can contain
	// only letters, digits, underscores (_), and hyphens (-). Changing backup_name creates a new backup.
	// +kubebuilder:validation:Optional
	BackupName *string `json:"backupName,omitempty" tf:"backup_name,omitempty"`

	// Backup description. The value consists of 0 to 255 characters and must not contain
	// a greater-than sign (>) or less-than sign (<). Changing description creates a new backup.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// ID of the target to which the backup is restored. Changing this creates a new backup.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ecs/v1beta1.Instance
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Reference to a Instance in ecs to populate resourceId.
	// +kubebuilder:validation:Optional
	ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"`

	// Selector for a Instance in ecs to populate resourceId.
	// +kubebuilder:validation:Optional
	ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"`

	// Type of the target to which the backup is restored. The default value is
	// OS::Nova::Server for an ECS. Changing this creates a new backup.
	// +kubebuilder:validation:Optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"`
}

func (*BackupParameters) DeepCopy

func (in *BackupParameters) DeepCopy() *BackupParameters

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

func (*BackupParameters) DeepCopyInto

func (in *BackupParameters) DeepCopyInto(out *BackupParameters)

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

type BackupPolicy

type BackupPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BackupPolicySpec   `json:"spec"`
	Status            BackupPolicyStatus `json:"status,omitempty"`
}

BackupPolicy is the Schema for the BackupPolicys API. ""page_title: "flexibleengine_csbs_backup_policy_v1" +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 (*BackupPolicy) DeepCopy

func (in *BackupPolicy) DeepCopy() *BackupPolicy

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

func (*BackupPolicy) DeepCopyInto

func (in *BackupPolicy) DeepCopyInto(out *BackupPolicy)

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

func (*BackupPolicy) DeepCopyObject

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

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

func (*BackupPolicy) GetCondition

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

GetCondition of this BackupPolicy.

func (*BackupPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this BackupPolicy

func (*BackupPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this BackupPolicy.

func (*BackupPolicy) GetID

func (tr *BackupPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this BackupPolicy

func (*BackupPolicy) GetObservation

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

GetObservation of this BackupPolicy

func (*BackupPolicy) GetParameters

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

GetParameters of this BackupPolicy

func (*BackupPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this BackupPolicy.

func (*BackupPolicy) GetProviderReference

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

GetProviderReference of this BackupPolicy. Deprecated: Use GetProviderConfigReference.

func (*BackupPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this BackupPolicy.

func (*BackupPolicy) GetTerraformResourceType

func (mg *BackupPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this BackupPolicy

func (*BackupPolicy) GetTerraformSchemaVersion

func (tr *BackupPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*BackupPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this BackupPolicy.

func (*BackupPolicy) LateInitialize

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

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

func (*BackupPolicy) ResolveReferences

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

ResolveReferences of this BackupPolicy.

func (*BackupPolicy) SetConditions

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

SetConditions of this BackupPolicy.

func (*BackupPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this BackupPolicy.

func (*BackupPolicy) SetObservation

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

SetObservation for this BackupPolicy

func (*BackupPolicy) SetParameters

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

SetParameters for this BackupPolicy

func (*BackupPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this BackupPolicy.

func (*BackupPolicy) SetProviderReference

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

SetProviderReference of this BackupPolicy. Deprecated: Use SetProviderConfigReference.

func (*BackupPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this BackupPolicy.

func (*BackupPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this BackupPolicy.

type BackupPolicyList

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

BackupPolicyList contains a list of BackupPolicys

func (*BackupPolicyList) DeepCopy

func (in *BackupPolicyList) DeepCopy() *BackupPolicyList

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

func (*BackupPolicyList) DeepCopyInto

func (in *BackupPolicyList) DeepCopyInto(out *BackupPolicyList)

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

func (*BackupPolicyList) DeepCopyObject

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

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

func (*BackupPolicyList) GetItems

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

GetItems of this BackupPolicyList.

type BackupPolicyObservation

type BackupPolicyObservation struct {

	// Backup Policy ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// block supports the following arguments:
	// +kubebuilder:validation:Required
	ScheduledOperation []ScheduledOperationObservation `json:"scheduledOperation,omitempty" tf:"scheduled_operation,omitempty"`

	// Status of Backup Policy.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*BackupPolicyObservation) DeepCopy

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

func (*BackupPolicyObservation) DeepCopyInto

func (in *BackupPolicyObservation) DeepCopyInto(out *BackupPolicyObservation)

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

type BackupPolicyParameters

type BackupPolicyParameters struct {

	// General backup policy parameters, which are blank by default.
	// +kubebuilder:validation:Optional
	Common map[string]*string `json:"common,omitempty" tf:"common,omitempty"`

	// Backup policy description. The value consists of 0 to 255 characters and
	// must not contain a greater-than sign (>) or less-than sign (<).
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies the name of backup policy. The value consists of 1 to 255 characters and
	// can contain only letters, digits, underscores (_), and hyphens (-).
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies backup provider ID. Default value is fc4d5750-22e7-4798-8a46-f48f62c4c1da
	// +kubebuilder:validation:Optional
	ProviderID *string `json:"providerId,omitempty" tf:"provider_id,omitempty"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// block supports the following arguments:
	// +kubebuilder:validation:Required
	Resource []ResourceParameters `json:"resource" tf:"resource,omitempty"`

	// block supports the following arguments:
	// +kubebuilder:validation:Required
	ScheduledOperation []ScheduledOperationParameters `json:"scheduledOperation" tf:"scheduled_operation,omitempty"`
}

func (*BackupPolicyParameters) DeepCopy

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

func (*BackupPolicyParameters) DeepCopyInto

func (in *BackupPolicyParameters) DeepCopyInto(out *BackupPolicyParameters)

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

type BackupPolicySpec

type BackupPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BackupPolicyParameters `json:"forProvider"`
}

BackupPolicySpec defines the desired state of BackupPolicy

func (*BackupPolicySpec) DeepCopy

func (in *BackupPolicySpec) DeepCopy() *BackupPolicySpec

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

func (*BackupPolicySpec) DeepCopyInto

func (in *BackupPolicySpec) DeepCopyInto(out *BackupPolicySpec)

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

type BackupPolicyStatus

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

BackupPolicyStatus defines the observed state of BackupPolicy.

func (*BackupPolicyStatus) DeepCopy

func (in *BackupPolicyStatus) DeepCopy() *BackupPolicyStatus

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

func (*BackupPolicyStatus) DeepCopyInto

func (in *BackupPolicyStatus) DeepCopyInto(out *BackupPolicyStatus)

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

type BackupSpec

type BackupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     BackupParameters `json:"forProvider"`
}

BackupSpec defines the desired state of Backup

func (*BackupSpec) DeepCopy

func (in *BackupSpec) DeepCopy() *BackupSpec

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

func (*BackupSpec) DeepCopyInto

func (in *BackupSpec) DeepCopyInto(out *BackupSpec)

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

type BackupStatus

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

BackupStatus defines the observed state of Backup.

func (*BackupStatus) DeepCopy

func (in *BackupStatus) DeepCopy() *BackupStatus

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

func (*BackupStatus) DeepCopyInto

func (in *BackupStatus) DeepCopyInto(out *BackupStatus)

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

type ResourceObservation

type ResourceObservation struct {
}

func (*ResourceObservation) DeepCopy

func (in *ResourceObservation) DeepCopy() *ResourceObservation

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

func (*ResourceObservation) DeepCopyInto

func (in *ResourceObservation) DeepCopyInto(out *ResourceObservation)

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

type ResourceParameters

type ResourceParameters struct {

	// Specifies the ID of the object to be backed up.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ecs/v1beta1.Instance
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Reference to a Instance in ecs to populate id.
	// +kubebuilder:validation:Optional
	IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"`

	// Selector for a Instance in ecs to populate id.
	// +kubebuilder:validation:Optional
	IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"`

	// Specifies backup object name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Entity object type of the backup object. If the type is VMs, the value is OS::Nova::Server.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ResourceParameters) DeepCopy

func (in *ResourceParameters) DeepCopy() *ResourceParameters

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

func (*ResourceParameters) DeepCopyInto

func (in *ResourceParameters) DeepCopyInto(out *ResourceParameters)

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

type ScheduledOperationObservation

type ScheduledOperationObservation struct {

	// Specifies the ID of the object to be backed up.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies Scheduler ID.
	TriggerID *string `json:"triggerId,omitempty" tf:"trigger_id,omitempty"`

	// Specifies Scheduler name.
	TriggerName *string `json:"triggerName,omitempty" tf:"trigger_name,omitempty"`

	// Specifies Scheduler type.
	TriggerType *string `json:"triggerType,omitempty" tf:"trigger_type,omitempty"`
}

func (*ScheduledOperationObservation) DeepCopy

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

func (*ScheduledOperationObservation) DeepCopyInto

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

type ScheduledOperationParameters

type ScheduledOperationParameters struct {

	// Specifies Scheduling period description.The value consists of 0 to 255 characters and
	// must not contain a greater-than sign (>) or less-than sign (<).
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specifies whether the scheduling period is enabled. Default value is true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specifies maximum number of backups that can be automatically created for a backup object.
	// +kubebuilder:validation:Optional
	MaxBackups *float64 `json:"maxBackups,omitempty" tf:"max_backups,omitempty"`

	// Specifies Scheduling period name.The value consists of 1 to 255 characters and
	// can contain only letters, digits, underscores (_), and hyphens (-).
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies Operation type, which can be backup.
	// +kubebuilder:validation:Required
	OperationType *string `json:"operationType" tf:"operation_type,omitempty"`

	// Specifies whether backups are permanently retained.
	// +kubebuilder:validation:Optional
	Permanent *bool `json:"permanent,omitempty" tf:"permanent,omitempty"`

	// Specifies duration of retaining a backup, in days.
	// +kubebuilder:validation:Optional
	RetentionDurationDays *float64 `json:"retentionDurationDays,omitempty" tf:"retention_duration_days,omitempty"`

	// Specifies Scheduling policy of the scheduler.
	// +kubebuilder:validation:Required
	TriggerPattern *string `json:"triggerPattern" tf:"trigger_pattern,omitempty"`
}

func (*ScheduledOperationParameters) DeepCopy

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

func (*ScheduledOperationParameters) DeepCopyInto

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

type VMMetadataObservation

type VMMetadataObservation struct {

	// Specifies ECS type.
	CloudServiceType *string `json:"cloudServiceType,omitempty" tf:"cloud_service_type,omitempty"`

	// Shows system disk size corresponding to the ECS specifications.
	Disk *float64 `json:"disk,omitempty" tf:"disk,omitempty"`

	// Specifies elastic IP address of the ECS.
	EIP *string `json:"eip,omitempty" tf:"eip,omitempty"`

	// Specifies image type.
	ImageType *string `json:"imageType,omitempty" tf:"image_type,omitempty"`

	// Name of backup data.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// It specifies internal IP address of the ECS.
	PrivateIP *string `json:"privateIp,omitempty" tf:"private_ip,omitempty"`

	// Specifies memory size of the ECS, in MB.
	RAM *float64 `json:"ram,omitempty" tf:"ram,omitempty"`

	// Specifies CPU cores corresponding to the ECS.
	Vcpus *float64 `json:"vcpus,omitempty" tf:"vcpus,omitempty"`
}

func (*VMMetadataObservation) DeepCopy

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

func (*VMMetadataObservation) DeepCopyInto

func (in *VMMetadataObservation) DeepCopyInto(out *VMMetadataObservation)

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

type VMMetadataParameters

type VMMetadataParameters struct {
}

func (*VMMetadataParameters) DeepCopy

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

func (*VMMetadataParameters) DeepCopyInto

func (in *VMMetadataParameters) DeepCopyInto(out *VMMetadataParameters)

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

type VolumeBackupsObservation

type VolumeBackupsObservation struct {

	// Specifies the average speed.
	AverageSpeed *float64 `json:"averageSpeed,omitempty" tf:"average_speed,omitempty"`

	// Specifies whether the disk is bootable.
	Bootable *bool `json:"bootable,omitempty" tf:"bootable,omitempty"`

	// Specifies Cinder backup ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// It specifies backup. The default value is backup.
	ImageType *string `json:"imageType,omitempty" tf:"image_type,omitempty"`

	// Shows whether incremental backup is used.
	Incremental *bool `json:"incremental,omitempty" tf:"incremental,omitempty"`

	// It gives EVS disk backup name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies accumulated size (MB) of backups.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// ID of snapshot.
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// It specifies source volume ID.
	SourceVolumeID *string `json:"sourceVolumeId,omitempty" tf:"source_volume_id,omitempty"`

	// Specifies source volume name.
	SourceVolumeName *string `json:"sourceVolumeName,omitempty" tf:"source_volume_name,omitempty"`

	// Shows source volume size in GB.
	SourceVolumeSize *float64 `json:"sourceVolumeSize,omitempty" tf:"source_volume_size,omitempty"`

	// Specifies space saving rate.
	SpaceSavingRatio *float64 `json:"spaceSavingRatio,omitempty" tf:"space_saving_ratio,omitempty"`

	// Status of backup Volume.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*VolumeBackupsObservation) DeepCopy

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

func (*VolumeBackupsObservation) DeepCopyInto

func (in *VolumeBackupsObservation) DeepCopyInto(out *VolumeBackupsObservation)

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

type VolumeBackupsParameters

type VolumeBackupsParameters struct {
}

func (*VolumeBackupsParameters) DeepCopy

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

func (*VolumeBackupsParameters) DeepCopyInto

func (in *VolumeBackupsParameters) DeepCopyInto(out *VolumeBackupsParameters)

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