You are looking at the documentation of a prior release. To read the documentation of the latest release, please visit here.

ComputeResourcePolicy

Field Type Description
apiVersion string google.kubeform.com/v1alpha1
kind string ComputeResourcePolicy
metadata Kubernetes meta/v1.ObjectMeta Refer to the Kubernetes API documentation for the fields of the metadata field.
spec ComputeResourcePolicySpec
status ComputeResourcePolicyStatus

ComputeResourcePolicySpec

Appears on:ComputeResourcePolicy, ComputeResourcePolicyStatus

Field Type Description
providerRef Kubernetes core/v1.LocalObjectReference
id string
name string
project string (Optional)
region string (Optional)
selfLink string (Optional)
snapshotSchedulePolicy []ComputeResourcePolicySpecSnapshotSchedulePolicy (Optional)

ComputeResourcePolicySpecSnapshotSchedulePolicy

Appears on:ComputeResourcePolicySpec

Field Type Description
retentionPolicy []ComputeResourcePolicySpecSnapshotSchedulePolicyRetentionPolicy (Optional)
schedule []ComputeResourcePolicySpecSnapshotSchedulePolicySchedule
snapshotProperties []ComputeResourcePolicySpecSnapshotSchedulePolicySnapshotProperties (Optional)

ComputeResourcePolicySpecSnapshotSchedulePolicyRetentionPolicy

Appears on:ComputeResourcePolicySpecSnapshotSchedulePolicy

Field Type Description
maxRetentionDays int64
onSourceDiskDelete string (Optional)

ComputeResourcePolicySpecSnapshotSchedulePolicySchedule

Appears on:ComputeResourcePolicySpecSnapshotSchedulePolicy

Field Type Description
dailySchedule []ComputeResourcePolicySpecSnapshotSchedulePolicyScheduleDailySchedule (Optional)
hourlySchedule []ComputeResourcePolicySpecSnapshotSchedulePolicyScheduleHourlySchedule (Optional)
weeklySchedule []ComputeResourcePolicySpecSnapshotSchedulePolicyScheduleWeeklySchedule (Optional)

ComputeResourcePolicySpecSnapshotSchedulePolicyScheduleDailySchedule

Appears on:ComputeResourcePolicySpecSnapshotSchedulePolicySchedule

Field Type Description
daysInCycle int64
startTime string

ComputeResourcePolicySpecSnapshotSchedulePolicyScheduleHourlySchedule

Appears on:ComputeResourcePolicySpecSnapshotSchedulePolicySchedule

Field Type Description
hoursInCycle int64
startTime string

ComputeResourcePolicySpecSnapshotSchedulePolicyScheduleWeeklySchedule

Appears on:ComputeResourcePolicySpecSnapshotSchedulePolicySchedule

Field Type Description
dayOfWeeks []ComputeResourcePolicySpecSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks

ComputeResourcePolicySpecSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks

Appears on:ComputeResourcePolicySpecSnapshotSchedulePolicyScheduleWeeklySchedule

Field Type Description
day string
startTime string

ComputeResourcePolicySpecSnapshotSchedulePolicySnapshotProperties

Appears on:ComputeResourcePolicySpecSnapshotSchedulePolicy

Field Type Description
guestFlush bool (Optional)
labels map[string]string (Optional)
storageLocations []string (Optional)

ComputeResourcePolicyStatus

Appears on:ComputeResourcePolicy

Field Type Description
observedGeneration int64 (Optional) Resource generation, which is updated on mutation by the API Server.
output ComputeResourcePolicySpec (Optional)
state kubeform.dev/kubeform/apis/base/v1alpha1.State (Optional)
phase Phase (Optional)

Phase(string alias)

Appears on:ComputeResourcePolicyStatus