Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=backup.yandex-cloud.upjet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ExecuteByTimeInitParameters
- type ExecuteByTimeObservation
- type ExecuteByTimeParameters
- type Policy
- func (in *Policy) DeepCopy() *Policy
- func (in *Policy) DeepCopyInto(out *Policy)
- func (in *Policy) DeepCopyObject() runtime.Object
- func (mg *Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Policy) GetConnectionDetailsMapping() map[string]string
- func (mg *Policy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Policy) GetID() string
- func (tr *Policy) GetInitParameters() (map[string]any, error)
- func (mg *Policy) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Policy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Policy) GetObservation() (map[string]any, error)
- func (tr *Policy) GetParameters() (map[string]any, error)
- func (mg *Policy) GetProviderConfigReference() *xpv1.Reference
- func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Policy) GetTerraformResourceType() string
- func (tr *Policy) GetTerraformSchemaVersion() int
- func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Policy) Hub()
- func (tr *Policy) LateInitialize(attrs []byte) (bool, error)
- func (mg *Policy) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Policy) SetConditions(c ...xpv1.Condition)
- func (mg *Policy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Policy) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Policy) SetObservation(obs map[string]any) error
- func (tr *Policy) SetParameters(params map[string]any) error
- func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PolicyInitParameters
- type PolicyList
- type PolicyObservation
- type PolicyParameters
- type PolicySpec
- type PolicyStatus
- type ReattemptsInitParameters
- type ReattemptsObservation
- type ReattemptsParameters
- type RetentionInitParameters
- type RetentionObservation
- type RetentionParameters
- type RulesInitParameters
- type RulesObservation
- type RulesParameters
- type SchedulingInitParameters
- type SchedulingObservation
- type SchedulingParameters
- type VMSnapshotReattemptsInitParameters
- type VMSnapshotReattemptsObservation
- type VMSnapshotReattemptsParameters
Constants ¶
const ( CRDGroup = "backup.yandex-cloud.upjet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( 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.
Functions ¶
This section is empty.
Types ¶
type ExecuteByTimeInitParameters ¶
type ExecuteByTimeInitParameters struct { // — If true, schedule will be applied on the last day of month. // See day_type for available values. IncludeLastDayOfMonth *bool `json:"includeLastDayOfMonth,omitempty" tf:"include_last_day_of_month,omitempty"` // — List of days when schedule applies. Used in "MONTHLY" type. Monthdays []*float64 `json:"monthdays,omitempty" tf:"monthdays,omitempty"` // — seconds Months []*float64 `json:"months,omitempty" tf:"months,omitempty"` // hours format), when the schedule applies. RepeatAt []*string `json:"repeatAt,omitempty" tf:"repeat_at,omitempty"` // — Frequency of backup repetition. See interval_type for available values. RepeatEvery *string `json:"repeatEvery,omitempty" tf:"repeat_every,omitempty"` // — Type of the scheduling. Available values are: "HOURLY", "DAILY", "WEEKLY", "MONTHLY". Type *string `json:"type,omitempty" tf:"type,omitempty"` // — List of weekdays when the backup will be applied. Used in "WEEKLY" type. Weekdays []*string `json:"weekdays,omitempty" tf:"weekdays,omitempty"` }
func (*ExecuteByTimeInitParameters) DeepCopy ¶
func (in *ExecuteByTimeInitParameters) DeepCopy() *ExecuteByTimeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecuteByTimeInitParameters.
func (*ExecuteByTimeInitParameters) DeepCopyInto ¶
func (in *ExecuteByTimeInitParameters) DeepCopyInto(out *ExecuteByTimeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecuteByTimeObservation ¶
type ExecuteByTimeObservation struct { // — If true, schedule will be applied on the last day of month. // See day_type for available values. IncludeLastDayOfMonth *bool `json:"includeLastDayOfMonth,omitempty" tf:"include_last_day_of_month,omitempty"` // — List of days when schedule applies. Used in "MONTHLY" type. Monthdays []*float64 `json:"monthdays,omitempty" tf:"monthdays,omitempty"` // — seconds Months []*float64 `json:"months,omitempty" tf:"months,omitempty"` // hours format), when the schedule applies. RepeatAt []*string `json:"repeatAt,omitempty" tf:"repeat_at,omitempty"` // — Frequency of backup repetition. See interval_type for available values. RepeatEvery *string `json:"repeatEvery,omitempty" tf:"repeat_every,omitempty"` // — Type of the scheduling. Available values are: "HOURLY", "DAILY", "WEEKLY", "MONTHLY". Type *string `json:"type,omitempty" tf:"type,omitempty"` // — List of weekdays when the backup will be applied. Used in "WEEKLY" type. Weekdays []*string `json:"weekdays,omitempty" tf:"weekdays,omitempty"` }
func (*ExecuteByTimeObservation) DeepCopy ¶
func (in *ExecuteByTimeObservation) DeepCopy() *ExecuteByTimeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecuteByTimeObservation.
func (*ExecuteByTimeObservation) DeepCopyInto ¶
func (in *ExecuteByTimeObservation) DeepCopyInto(out *ExecuteByTimeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecuteByTimeParameters ¶
type ExecuteByTimeParameters struct { // — If true, schedule will be applied on the last day of month. // See day_type for available values. // +kubebuilder:validation:Optional IncludeLastDayOfMonth *bool `json:"includeLastDayOfMonth,omitempty" tf:"include_last_day_of_month,omitempty"` // — List of days when schedule applies. Used in "MONTHLY" type. // +kubebuilder:validation:Optional Monthdays []*float64 `json:"monthdays,omitempty" tf:"monthdays,omitempty"` // — seconds // +kubebuilder:validation:Optional Months []*float64 `json:"months,omitempty" tf:"months,omitempty"` // hours format), when the schedule applies. // +kubebuilder:validation:Optional RepeatAt []*string `json:"repeatAt,omitempty" tf:"repeat_at,omitempty"` // — Frequency of backup repetition. See interval_type for available values. // +kubebuilder:validation:Optional RepeatEvery *string `json:"repeatEvery,omitempty" tf:"repeat_every,omitempty"` // — Type of the scheduling. Available values are: "HOURLY", "DAILY", "WEEKLY", "MONTHLY". // +kubebuilder:validation:Optional Type *string `json:"type" tf:"type,omitempty"` // — List of weekdays when the backup will be applied. Used in "WEEKLY" type. // +kubebuilder:validation:Optional Weekdays []*string `json:"weekdays,omitempty" tf:"weekdays,omitempty"` }
func (*ExecuteByTimeParameters) DeepCopy ¶
func (in *ExecuteByTimeParameters) DeepCopy() *ExecuteByTimeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecuteByTimeParameters.
func (*ExecuteByTimeParameters) DeepCopyInto ¶
func (in *ExecuteByTimeParameters) DeepCopyInto(out *ExecuteByTimeParameters)
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.reattempts) || (has(self.initProvider) && has(self.initProvider.reattempts))",message="spec.forProvider.reattempts is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.retention) || (has(self.initProvider) && has(self.initProvider.retention))",message="spec.forProvider.retention is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scheduling) || (has(self.initProvider) && has(self.initProvider.scheduling))",message="spec.forProvider.scheduling is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vmSnapshotReattempts) || (has(self.initProvider) && has(self.initProvider.vmSnapshotReattempts))",message="spec.forProvider.vmSnapshotReattempts is a required parameter" Spec PolicySpec `json:"spec"` Status PolicyStatus `json:"status,omitempty"` }
Policy is the Schema for the Policys API. Allows management of Yandex.Cloud Backup Policy. +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,yandex-cloud}
func (*Policy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (*Policy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Policy) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Policy
func (*Policy) GetDeletionPolicy ¶
func (mg *Policy) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Policy.
func (*Policy) GetInitParameters ¶
GetInitParameters of this Policy
func (*Policy) GetManagementPolicies ¶
func (mg *Policy) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Policy.
func (*Policy) GetMergedParameters ¶
GetInitParameters of this Policy
func (*Policy) GetObservation ¶
GetObservation of this Policy
func (*Policy) GetParameters ¶
GetParameters of this Policy
func (*Policy) GetProviderConfigReference ¶
GetProviderConfigReference of this Policy.
func (*Policy) GetPublishConnectionDetailsTo ¶
func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Policy.
func (*Policy) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Policy
func (*Policy) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Policy) GetWriteConnectionSecretToReference ¶
func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Policy.
func (*Policy) LateInitialize ¶
LateInitialize this Policy using its observed tfState. returns True if there are any spec changes for the resource.
func (*Policy) ResolveReferences ¶
ResolveReferences of this Policy.
func (*Policy) SetConditions ¶
SetConditions of this Policy.
func (*Policy) SetDeletionPolicy ¶
func (mg *Policy) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Policy.
func (*Policy) SetManagementPolicies ¶
func (mg *Policy) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Policy.
func (*Policy) SetObservation ¶
SetObservation for this Policy
func (*Policy) SetParameters ¶
SetParameters for this Policy
func (*Policy) SetProviderConfigReference ¶
SetProviderConfigReference of this Policy.
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 PolicyInitParameters ¶
type PolicyInitParameters struct { // [Plan ID]-[Unique ID]a) — The name of generated archives. ArchiveName *string `json:"archiveName,omitempty" tf:"archive_name,omitempty"` // — Configuration of Changed Block Tracking. // Available values are: "USE_IF_ENABLED", "ENABLED_AND_USE", "DO_NOT_USE". Cbt *string `json:"cbt,omitempty" tf:"cbt,omitempty"` // — Archive compression level. Affects CPU. // Available values: "NORMAL", "HIGH", "MAX", "OFF". Compression *string `json:"compression,omitempty" tf:"compression,omitempty"` // — Enable flag FastBackupEnabled *bool `json:"fastBackupEnabled,omitempty" tf:"fast_backup_enabled,omitempty"` // — days // +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"` // Reference to a Folder in resourcemanager to populate folderId. // +kubebuilder:validation:Optional FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"` // Selector for a Folder in resourcemanager to populate folderId. // +kubebuilder:validation:Optional FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"` // — Format of the backup. It's strongly recommend to leave this option empty or "AUTO". // Available values: "AUTO", "VERSION_11", "VERSION_12". Format *string `json:"format,omitempty" tf:"format,omitempty"` // — If true, snapshots of multiple volumes will be taken simultaneously. MultiVolumeSnapshottingEnabled *bool `json:"multiVolumeSnapshottingEnabled,omitempty" tf:"multi_volume_snapshotting_enabled,omitempty"` // — Name of the policy Name *string `json:"name,omitempty" tf:"name,omitempty"` // — Time windows for performance limitations of backup. PerformanceWindowEnabled *bool `json:"performanceWindowEnabled,omitempty" tf:"performance_window_enabled,omitempty"` // — Preserves file security settings. It's better to set this option to true. PreserveFileSecuritySettings *bool `json:"preserveFileSecuritySettings,omitempty" tf:"preserve_file_security_settings,omitempty"` // — If true, a quiesced snapshot of the virtual machine will be taken. QuiesceSnapshottingEnabled *bool `json:"quiesceSnapshottingEnabled,omitempty" tf:"quiesce_snapshotting_enabled,omitempty"` // — Amount of reattempts that should be performed while trying to make backup at the host. // This attribute consists of the following parameters: Reattempts []ReattemptsInitParameters `json:"reattempts,omitempty" tf:"reattempts,omitempty"` // — Retention policy for backups. Allows to setup backups lifecycle. // This attribute consists of the following parameters: Retention []RetentionInitParameters `json:"retention,omitempty" tf:"retention,omitempty"` // — Schedule settings for creating backups on the host. Scheduling []SchedulingInitParameters `json:"scheduling,omitempty" tf:"scheduling,omitempty"` // — if true, a user interaction will be avoided when possible. SilentModeEnabled *bool `json:"silentModeEnabled,omitempty" tf:"silent_mode_enabled,omitempty"` // — determines the size to split backups. It's better to leave this option unchanged. SplittingBytes *string `json:"splittingBytes,omitempty" tf:"splitting_bytes,omitempty"` // (Requied) — Amount of reattempts that should be performed while trying to make snapshot. // This attribute consists of the following parameters: VMSnapshotReattempts []VMSnapshotReattemptsInitParameters `json:"vmSnapshotReattempts,omitempty" tf:"vm_snapshot_reattempts,omitempty"` // — Settings for the volume shadow copy service. // Available values are: "NATIVE", "TARGET_SYSTEM_DEFINED" VssProvider *string `json:"vssProvider,omitempty" tf:"vss_provider,omitempty"` }
func (*PolicyInitParameters) DeepCopy ¶
func (in *PolicyInitParameters) DeepCopy() *PolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyInitParameters.
func (*PolicyInitParameters) DeepCopyInto ¶
func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // [Plan ID]-[Unique ID]a) — The name of generated archives. ArchiveName *string `json:"archiveName,omitempty" tf:"archive_name,omitempty"` // — Configuration of Changed Block Tracking. // Available values are: "USE_IF_ENABLED", "ENABLED_AND_USE", "DO_NOT_USE". Cbt *string `json:"cbt,omitempty" tf:"cbt,omitempty"` // — Archive compression level. Affects CPU. // Available values: "NORMAL", "HIGH", "MAX", "OFF". Compression *string `json:"compression,omitempty" tf:"compression,omitempty"` CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"` // — Enable flag Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // — Enable flag FastBackupEnabled *bool `json:"fastBackupEnabled,omitempty" tf:"fast_backup_enabled,omitempty"` // — days FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"` // — Format of the backup. It's strongly recommend to leave this option empty or "AUTO". // Available values: "AUTO", "VERSION_11", "VERSION_12". Format *string `json:"format,omitempty" tf:"format,omitempty"` // — days ID *string `json:"id,omitempty" tf:"id,omitempty"` // — If true, snapshots of multiple volumes will be taken simultaneously. MultiVolumeSnapshottingEnabled *bool `json:"multiVolumeSnapshottingEnabled,omitempty" tf:"multi_volume_snapshotting_enabled,omitempty"` // — Name of the policy Name *string `json:"name,omitempty" tf:"name,omitempty"` // — Time windows for performance limitations of backup. PerformanceWindowEnabled *bool `json:"performanceWindowEnabled,omitempty" tf:"performance_window_enabled,omitempty"` // — Preserves file security settings. It's better to set this option to true. PreserveFileSecuritySettings *bool `json:"preserveFileSecuritySettings,omitempty" tf:"preserve_file_security_settings,omitempty"` // — If true, a quiesced snapshot of the virtual machine will be taken. QuiesceSnapshottingEnabled *bool `json:"quiesceSnapshottingEnabled,omitempty" tf:"quiesce_snapshotting_enabled,omitempty"` // — Amount of reattempts that should be performed while trying to make backup at the host. // This attribute consists of the following parameters: Reattempts []ReattemptsObservation `json:"reattempts,omitempty" tf:"reattempts,omitempty"` // — Retention policy for backups. Allows to setup backups lifecycle. // This attribute consists of the following parameters: Retention []RetentionObservation `json:"retention,omitempty" tf:"retention,omitempty"` // — Schedule settings for creating backups on the host. Scheduling []SchedulingObservation `json:"scheduling,omitempty" tf:"scheduling,omitempty"` // — if true, a user interaction will be avoided when possible. SilentModeEnabled *bool `json:"silentModeEnabled,omitempty" tf:"silent_mode_enabled,omitempty"` // — determines the size to split backups. It's better to leave this option unchanged. SplittingBytes *string `json:"splittingBytes,omitempty" tf:"splitting_bytes,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"` // (Requied) — Amount of reattempts that should be performed while trying to make snapshot. // This attribute consists of the following parameters: VMSnapshotReattempts []VMSnapshotReattemptsObservation `json:"vmSnapshotReattempts,omitempty" tf:"vm_snapshot_reattempts,omitempty"` // — Settings for the volume shadow copy service. // Available values are: "NATIVE", "TARGET_SYSTEM_DEFINED" VssProvider *string `json:"vssProvider,omitempty" tf:"vss_provider,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 { // [Plan ID]-[Unique ID]a) — The name of generated archives. // +kubebuilder:validation:Optional ArchiveName *string `json:"archiveName,omitempty" tf:"archive_name,omitempty"` // — Configuration of Changed Block Tracking. // Available values are: "USE_IF_ENABLED", "ENABLED_AND_USE", "DO_NOT_USE". // +kubebuilder:validation:Optional Cbt *string `json:"cbt,omitempty" tf:"cbt,omitempty"` // — Archive compression level. Affects CPU. // Available values: "NORMAL", "HIGH", "MAX", "OFF". // +kubebuilder:validation:Optional Compression *string `json:"compression,omitempty" tf:"compression,omitempty"` // — Enable flag // +kubebuilder:validation:Optional FastBackupEnabled *bool `json:"fastBackupEnabled,omitempty" tf:"fast_backup_enabled,omitempty"` // — days // +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder // +kubebuilder:validation:Optional FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"` // Reference to a Folder in resourcemanager to populate folderId. // +kubebuilder:validation:Optional FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"` // Selector for a Folder in resourcemanager to populate folderId. // +kubebuilder:validation:Optional FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"` // — Format of the backup. It's strongly recommend to leave this option empty or "AUTO". // Available values: "AUTO", "VERSION_11", "VERSION_12". // +kubebuilder:validation:Optional Format *string `json:"format,omitempty" tf:"format,omitempty"` // — If true, snapshots of multiple volumes will be taken simultaneously. // +kubebuilder:validation:Optional MultiVolumeSnapshottingEnabled *bool `json:"multiVolumeSnapshottingEnabled,omitempty" tf:"multi_volume_snapshotting_enabled,omitempty"` // — Name of the policy // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // — Time windows for performance limitations of backup. // +kubebuilder:validation:Optional PerformanceWindowEnabled *bool `json:"performanceWindowEnabled,omitempty" tf:"performance_window_enabled,omitempty"` // — Preserves file security settings. It's better to set this option to true. // +kubebuilder:validation:Optional PreserveFileSecuritySettings *bool `json:"preserveFileSecuritySettings,omitempty" tf:"preserve_file_security_settings,omitempty"` // — If true, a quiesced snapshot of the virtual machine will be taken. // +kubebuilder:validation:Optional QuiesceSnapshottingEnabled *bool `json:"quiesceSnapshottingEnabled,omitempty" tf:"quiesce_snapshotting_enabled,omitempty"` // — Amount of reattempts that should be performed while trying to make backup at the host. // This attribute consists of the following parameters: // +kubebuilder:validation:Optional Reattempts []ReattemptsParameters `json:"reattempts,omitempty" tf:"reattempts,omitempty"` // — Retention policy for backups. Allows to setup backups lifecycle. // This attribute consists of the following parameters: // +kubebuilder:validation:Optional Retention []RetentionParameters `json:"retention,omitempty" tf:"retention,omitempty"` // — Schedule settings for creating backups on the host. // +kubebuilder:validation:Optional Scheduling []SchedulingParameters `json:"scheduling,omitempty" tf:"scheduling,omitempty"` // — if true, a user interaction will be avoided when possible. // +kubebuilder:validation:Optional SilentModeEnabled *bool `json:"silentModeEnabled,omitempty" tf:"silent_mode_enabled,omitempty"` // — determines the size to split backups. It's better to leave this option unchanged. // +kubebuilder:validation:Optional SplittingBytes *string `json:"splittingBytes,omitempty" tf:"splitting_bytes,omitempty"` // (Requied) — Amount of reattempts that should be performed while trying to make snapshot. // This attribute consists of the following parameters: // +kubebuilder:validation:Optional VMSnapshotReattempts []VMSnapshotReattemptsParameters `json:"vmSnapshotReattempts,omitempty" tf:"vm_snapshot_reattempts,omitempty"` // — Settings for the volume shadow copy service. // Available values are: "NATIVE", "TARGET_SYSTEM_DEFINED" // +kubebuilder:validation:Optional VssProvider *string `json:"vssProvider,omitempty" tf:"vss_provider,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"` // 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 PolicyInitParameters `json:"initProvider,omitempty"` }
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 ReattemptsInitParameters ¶
type ReattemptsInitParameters struct { // — Enable flag Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // — Retry interval. See interval_type for available values Interval *string `json:"interval,omitempty" tf:"interval,omitempty"` // — Maximum number of attempts before throwing an error MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"` }
func (*ReattemptsInitParameters) DeepCopy ¶
func (in *ReattemptsInitParameters) DeepCopy() *ReattemptsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReattemptsInitParameters.
func (*ReattemptsInitParameters) DeepCopyInto ¶
func (in *ReattemptsInitParameters) DeepCopyInto(out *ReattemptsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReattemptsObservation ¶
type ReattemptsObservation struct { // — Enable flag Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // — Retry interval. See interval_type for available values Interval *string `json:"interval,omitempty" tf:"interval,omitempty"` // — Maximum number of attempts before throwing an error MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"` }
func (*ReattemptsObservation) DeepCopy ¶
func (in *ReattemptsObservation) DeepCopy() *ReattemptsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReattemptsObservation.
func (*ReattemptsObservation) DeepCopyInto ¶
func (in *ReattemptsObservation) DeepCopyInto(out *ReattemptsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReattemptsParameters ¶
type ReattemptsParameters struct { // — Enable flag // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // — Retry interval. See interval_type for available values // +kubebuilder:validation:Optional Interval *string `json:"interval,omitempty" tf:"interval,omitempty"` // — Maximum number of attempts before throwing an error // +kubebuilder:validation:Optional MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"` }
func (*ReattemptsParameters) DeepCopy ¶
func (in *ReattemptsParameters) DeepCopy() *ReattemptsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReattemptsParameters.
func (*ReattemptsParameters) DeepCopyInto ¶
func (in *ReattemptsParameters) DeepCopyInto(out *ReattemptsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetentionInitParameters ¶
type RetentionInitParameters struct { // — Defines whether retention rule applies after creating backup or before. AfterBackup *bool `json:"afterBackup,omitempty" tf:"after_backup,omitempty"` // — seconds Rules []RulesInitParameters `json:"rules,omitempty" tf:"rules,omitempty"` }
func (*RetentionInitParameters) DeepCopy ¶
func (in *RetentionInitParameters) DeepCopy() *RetentionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionInitParameters.
func (*RetentionInitParameters) DeepCopyInto ¶
func (in *RetentionInitParameters) DeepCopyInto(out *RetentionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetentionObservation ¶
type RetentionObservation struct { // — Defines whether retention rule applies after creating backup or before. AfterBackup *bool `json:"afterBackup,omitempty" tf:"after_backup,omitempty"` // — seconds Rules []RulesObservation `json:"rules,omitempty" tf:"rules,omitempty"` }
func (*RetentionObservation) DeepCopy ¶
func (in *RetentionObservation) DeepCopy() *RetentionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionObservation.
func (*RetentionObservation) DeepCopyInto ¶
func (in *RetentionObservation) DeepCopyInto(out *RetentionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetentionParameters ¶
type RetentionParameters struct { // — Defines whether retention rule applies after creating backup or before. // +kubebuilder:validation:Optional AfterBackup *bool `json:"afterBackup,omitempty" tf:"after_backup,omitempty"` // — seconds // +kubebuilder:validation:Optional Rules []RulesParameters `json:"rules,omitempty" tf:"rules,omitempty"` }
func (*RetentionParameters) DeepCopy ¶
func (in *RetentionParameters) DeepCopy() *RetentionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionParameters.
func (*RetentionParameters) DeepCopyInto ¶
func (in *RetentionParameters) DeepCopyInto(out *RetentionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesInitParameters ¶
type RulesInitParameters struct { // (Conflicts with max_count) — Deletes backups that older than max_age. Exactly one of max_count or max_age should be set. MaxAge *string `json:"maxAge,omitempty" tf:"max_age,omitempty"` // (Conflicts with max_age) — Deletes backups if it's count exceeds max_count. Exactly one of max_count or max_age should be set. MaxCount *float64 `json:"maxCount,omitempty" tf:"max_count,omitempty"` // — days RepeatPeriod []*string `json:"repeatPeriod,omitempty" tf:"repeat_period,omitempty"` }
func (*RulesInitParameters) DeepCopy ¶
func (in *RulesInitParameters) DeepCopy() *RulesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesInitParameters.
func (*RulesInitParameters) DeepCopyInto ¶
func (in *RulesInitParameters) DeepCopyInto(out *RulesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesObservation ¶
type RulesObservation struct { // (Conflicts with max_count) — Deletes backups that older than max_age. Exactly one of max_count or max_age should be set. MaxAge *string `json:"maxAge,omitempty" tf:"max_age,omitempty"` // (Conflicts with max_age) — Deletes backups if it's count exceeds max_count. Exactly one of max_count or max_age should be set. MaxCount *float64 `json:"maxCount,omitempty" tf:"max_count,omitempty"` // — days RepeatPeriod []*string `json:"repeatPeriod,omitempty" tf:"repeat_period,omitempty"` }
func (*RulesObservation) DeepCopy ¶
func (in *RulesObservation) DeepCopy() *RulesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesObservation.
func (*RulesObservation) DeepCopyInto ¶
func (in *RulesObservation) DeepCopyInto(out *RulesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesParameters ¶
type RulesParameters struct { // (Conflicts with max_count) — Deletes backups that older than max_age. Exactly one of max_count or max_age should be set. // +kubebuilder:validation:Optional MaxAge *string `json:"maxAge,omitempty" tf:"max_age,omitempty"` // (Conflicts with max_age) — Deletes backups if it's count exceeds max_count. Exactly one of max_count or max_age should be set. // +kubebuilder:validation:Optional MaxCount *float64 `json:"maxCount,omitempty" tf:"max_count,omitempty"` // — days // +kubebuilder:validation:Optional RepeatPeriod []*string `json:"repeatPeriod,omitempty" tf:"repeat_period,omitempty"` }
func (*RulesParameters) DeepCopy ¶
func (in *RulesParameters) DeepCopy() *RulesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesParameters.
func (*RulesParameters) DeepCopyInto ¶
func (in *RulesParameters) DeepCopyInto(out *RulesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingInitParameters ¶
type SchedulingInitParameters struct { // — Enable flag Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // — Perform backup by interval, since last backup of the host. Maximum value is: 9999 days. // See interval_type for available values. Exactly on of options should be set: execute_by_interval or execute_by_time. ExecuteByInterval *float64 `json:"executeByInterval,omitempty" tf:"execute_by_interval,omitempty"` // — Perform backup periodically at specific time. Exactly on of options should be set: execute_by_interval or execute_by_time. ExecuteByTime []ExecuteByTimeInitParameters `json:"executeByTime,omitempty" tf:"execute_by_time,omitempty"` // — Maximum number of backup processes allowed to run in parallel. 0 for unlimited. MaxParallelBackups *float64 `json:"maxParallelBackups,omitempty" tf:"max_parallel_backups,omitempty"` // — Configuration of the random delay between the execution of parallel tasks. // See interval_type for available values. RandomMaxDelay *string `json:"randomMaxDelay,omitempty" tf:"random_max_delay,omitempty"` // — Scheme of the backups. // Available values are: "ALWAYS_INCREMENTAL", "ALWAYS_FULL", "WEEKLY_FULL_DAILY_INCREMENTAL", 'WEEKLY_INCREMENTAL". Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"` // — A day of week to start weekly backups. // See day_type for available values. WeeklyBackupDay *string `json:"weeklyBackupDay,omitempty" tf:"weekly_backup_day,omitempty"` }
func (*SchedulingInitParameters) DeepCopy ¶
func (in *SchedulingInitParameters) DeepCopy() *SchedulingInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingInitParameters.
func (*SchedulingInitParameters) DeepCopyInto ¶
func (in *SchedulingInitParameters) DeepCopyInto(out *SchedulingInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingObservation ¶
type SchedulingObservation struct { // — Enable flag Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // — Perform backup by interval, since last backup of the host. Maximum value is: 9999 days. // See interval_type for available values. Exactly on of options should be set: execute_by_interval or execute_by_time. ExecuteByInterval *float64 `json:"executeByInterval,omitempty" tf:"execute_by_interval,omitempty"` // — Perform backup periodically at specific time. Exactly on of options should be set: execute_by_interval or execute_by_time. ExecuteByTime []ExecuteByTimeObservation `json:"executeByTime,omitempty" tf:"execute_by_time,omitempty"` // — Maximum number of backup processes allowed to run in parallel. 0 for unlimited. MaxParallelBackups *float64 `json:"maxParallelBackups,omitempty" tf:"max_parallel_backups,omitempty"` // — Configuration of the random delay between the execution of parallel tasks. // See interval_type for available values. RandomMaxDelay *string `json:"randomMaxDelay,omitempty" tf:"random_max_delay,omitempty"` // — Scheme of the backups. // Available values are: "ALWAYS_INCREMENTAL", "ALWAYS_FULL", "WEEKLY_FULL_DAILY_INCREMENTAL", 'WEEKLY_INCREMENTAL". Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"` // — A day of week to start weekly backups. // See day_type for available values. WeeklyBackupDay *string `json:"weeklyBackupDay,omitempty" tf:"weekly_backup_day,omitempty"` }
func (*SchedulingObservation) DeepCopy ¶
func (in *SchedulingObservation) DeepCopy() *SchedulingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingObservation.
func (*SchedulingObservation) DeepCopyInto ¶
func (in *SchedulingObservation) DeepCopyInto(out *SchedulingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingParameters ¶
type SchedulingParameters struct { // — Enable flag // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // — Perform backup by interval, since last backup of the host. Maximum value is: 9999 days. // See interval_type for available values. Exactly on of options should be set: execute_by_interval or execute_by_time. // +kubebuilder:validation:Optional ExecuteByInterval *float64 `json:"executeByInterval,omitempty" tf:"execute_by_interval,omitempty"` // — Perform backup periodically at specific time. Exactly on of options should be set: execute_by_interval or execute_by_time. // +kubebuilder:validation:Optional ExecuteByTime []ExecuteByTimeParameters `json:"executeByTime,omitempty" tf:"execute_by_time,omitempty"` // — Maximum number of backup processes allowed to run in parallel. 0 for unlimited. // +kubebuilder:validation:Optional MaxParallelBackups *float64 `json:"maxParallelBackups,omitempty" tf:"max_parallel_backups,omitempty"` // — Configuration of the random delay between the execution of parallel tasks. // See interval_type for available values. // +kubebuilder:validation:Optional RandomMaxDelay *string `json:"randomMaxDelay,omitempty" tf:"random_max_delay,omitempty"` // — Scheme of the backups. // Available values are: "ALWAYS_INCREMENTAL", "ALWAYS_FULL", "WEEKLY_FULL_DAILY_INCREMENTAL", 'WEEKLY_INCREMENTAL". // +kubebuilder:validation:Optional Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"` // — A day of week to start weekly backups. // See day_type for available values. // +kubebuilder:validation:Optional WeeklyBackupDay *string `json:"weeklyBackupDay,omitempty" tf:"weekly_backup_day,omitempty"` }
func (*SchedulingParameters) DeepCopy ¶
func (in *SchedulingParameters) DeepCopy() *SchedulingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingParameters.
func (*SchedulingParameters) DeepCopyInto ¶
func (in *SchedulingParameters) DeepCopyInto(out *SchedulingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMSnapshotReattemptsInitParameters ¶
type VMSnapshotReattemptsInitParameters struct { // — Enable flag Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // — Retry interval. See interval_type for available values Interval *string `json:"interval,omitempty" tf:"interval,omitempty"` // — Maximum number of attempts before throwing an error MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"` }
func (*VMSnapshotReattemptsInitParameters) DeepCopy ¶
func (in *VMSnapshotReattemptsInitParameters) DeepCopy() *VMSnapshotReattemptsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMSnapshotReattemptsInitParameters.
func (*VMSnapshotReattemptsInitParameters) DeepCopyInto ¶
func (in *VMSnapshotReattemptsInitParameters) DeepCopyInto(out *VMSnapshotReattemptsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMSnapshotReattemptsObservation ¶
type VMSnapshotReattemptsObservation struct { // — Enable flag Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // — Retry interval. See interval_type for available values Interval *string `json:"interval,omitempty" tf:"interval,omitempty"` // — Maximum number of attempts before throwing an error MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"` }
func (*VMSnapshotReattemptsObservation) DeepCopy ¶
func (in *VMSnapshotReattemptsObservation) DeepCopy() *VMSnapshotReattemptsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMSnapshotReattemptsObservation.
func (*VMSnapshotReattemptsObservation) DeepCopyInto ¶
func (in *VMSnapshotReattemptsObservation) DeepCopyInto(out *VMSnapshotReattemptsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMSnapshotReattemptsParameters ¶
type VMSnapshotReattemptsParameters struct { // — Enable flag // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // — Retry interval. See interval_type for available values // +kubebuilder:validation:Optional Interval *string `json:"interval,omitempty" tf:"interval,omitempty"` // — Maximum number of attempts before throwing an error // +kubebuilder:validation:Optional MaxAttempts *float64 `json:"maxAttempts,omitempty" tf:"max_attempts,omitempty"` }
func (*VMSnapshotReattemptsParameters) DeepCopy ¶
func (in *VMSnapshotReattemptsParameters) DeepCopy() *VMSnapshotReattemptsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMSnapshotReattemptsParameters.
func (*VMSnapshotReattemptsParameters) DeepCopyInto ¶
func (in *VMSnapshotReattemptsParameters) DeepCopyInto(out *VMSnapshotReattemptsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.