Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-gcp.Go to Latest
upbound/provider-gcp@v1.0.2
ResourcePolicy
compute.gcp.upbound.io
ResourcePolicy
upbound/provider-gcp@v1.0.2compute.gcp.upbound.io

ResourcePolicy is the Schema for the ResourcePolicys API. A policy that can be attached to a resource to specify or schedule actions on that resource.

Type

CRD

Group

compute.gcp.upbound.io

Version

v1beta1

apiVersion: compute.gcp.upbound.io/v1beta1

kind: ResourcePolicy

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

ResourcePolicySpec defines the desired state of ResourcePolicy

forProvider
requiredobject
requiredobject

No description provided.

array

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

enabled
boolean
array

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

array

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

startTime
string
timeZone
string
array

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

schedule
string
array

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

schedule
string
project
string
region
requiredstring
array

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

array

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

array

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

array

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

array

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

array

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
array

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

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.

array

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

enabled
boolean
array

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

array

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

startTime
string
timeZone
string
array

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

schedule
string
array

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

schedule
string
project
string
array

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

array

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

array

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

array

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

array

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

array

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
array

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)

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. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. 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.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config 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.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
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. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

ResourcePolicyStatus defines the observed state of ResourcePolicy.

object

No description provided.

array

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

enabled
boolean
array

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

id
string
array

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

startTime
string
timeZone
string
array

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

schedule
string
array

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

schedule
string
project
string
region
string
selfLink
string
array

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

array

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

array

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

array

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

array

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

array

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
array

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)

array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.