ResourcePolicyResourcePolicy is the Schema for the ResourcePolicys API. A policy that can be attached to a resource to specify or schedule actions on that resource.
TypeMR
Providerprovider-gcp-compute
Groupcompute.gcp.m.upbound.io
Scopenamespaced
Versionv1beta1

1apiVersion: compute.gcp.m.upbound.io/v1beta1

2kind: ResourcePolicy

kind
string
metadata
object
spec
object

ResourcePolicySpec defines the desired state of ResourcePolicy

forProvider
required
object

(No description available)

object

Replication consistency group for asynchronous disk replication. Structure is documented below.

enabled
boolean
object

Resource policy for instances used for placement configuration. Structure is documented below.

object

Resource policy for scheduling instance operations. Structure is documented below.

startTime
string
timeZone
string
object

Specifies the schedule for starting instances. Structure is documented below.

schedule
string
object

Specifies the schedule for stopping instances. Structure is documented below.

schedule
string
project
string
region
required
string
object

Policy for creating snapshots of persistent disks. Structure is documented below.

object

Retention policy applied to snapshots created by this resource policy. Structure is documented below.

schedule
object

Contains one of an hourlySchedule, dailySchedule, or weeklySchedule. Structure is documented below.

object

The policy will execute every nth day at the specified time. Structure is documented below.

object

The policy will execute every nth hour starting at the specified time. Structure is documented below.

object

Allows specifying a snapshot time for each day of the week. Structure is documented below.

array

May contain up to seven (one for each day of the week) snapshot times. Structure is documented below.

day
string
startTime
string
object

Properties with which the snapshots are created, such as labels. Structure is documented below.

chainName
string
guestFlush
boolean
labels
object
array

Cloud Storage bucket location to store the auto snapshot (regional or multi-regional)

object

Represents the workload policy. Structure is documented below.

object

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.

object

Replication consistency group for asynchronous disk replication. Structure is documented below.

enabled
boolean
object

Resource policy for instances used for placement configuration. Structure is documented below.

object

Resource policy for scheduling instance operations. Structure is documented below.

startTime
string
timeZone
string
object

Specifies the schedule for starting instances. Structure is documented below.

schedule
string
object

Specifies the schedule for stopping instances. Structure is documented below.

schedule
string
project
string
object

Policy for creating snapshots of persistent disks. Structure is documented below.

object

Retention policy applied to snapshots created by this resource policy. Structure is documented below.

schedule
object

Contains one of an hourlySchedule, dailySchedule, or weeklySchedule. Structure is documented below.

object

The policy will execute every nth day at the specified time. Structure is documented below.

object

The policy will execute every nth hour starting at the specified time. Structure is documented below.

object

Allows specifying a snapshot time for each day of the week. Structure is documented below.

array

May contain up to seven (one for each day of the week) snapshot times. Structure is documented below.

day
string
startTime
string
object

Properties with which the snapshots are created, such as labels. Structure is documented below.

chainName
string
guestFlush
boolean
labels
object
array

Cloud Storage bucket location to store the auto snapshot (regional or multi-regional)

object

Represents the workload policy. Structure is documented below.

array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

ResourcePolicyStatus defines the observed state of ResourcePolicy.

object

(No description available)

object

Replication consistency group for asynchronous disk replication. Structure is documented below.

enabled
boolean
object

Resource policy for instances used for placement configuration. Structure is documented below.

id
string
object

Resource policy for scheduling instance operations. Structure is documented below.

startTime
string
timeZone
string
object

Specifies the schedule for starting instances. Structure is documented below.

schedule
string
object

Specifies the schedule for stopping instances. Structure is documented below.

schedule
string
project
string
region
string
selfLink
string
object

Policy for creating snapshots of persistent disks. Structure is documented below.

object

Retention policy applied to snapshots created by this resource policy. Structure is documented below.

schedule
object

Contains one of an hourlySchedule, dailySchedule, or weeklySchedule. Structure is documented below.

object

The policy will execute every nth day at the specified time. Structure is documented below.

object

The policy will execute every nth hour starting at the specified time. Structure is documented below.

object

Allows specifying a snapshot time for each day of the week. Structure is documented below.

array

May contain up to seven (one for each day of the week) snapshot times. Structure is documented below.

day
string
startTime
string
object

Properties with which the snapshots are created, such as labels. Structure is documented below.

chainName
string
guestFlush
boolean
labels
object
array

Cloud Storage bucket location to store the auto snapshot (regional or multi-regional)

object

Represents the workload policy. Structure is documented below.

array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string